|
code: bronchitis
|
写真立てルーター LivingGate i のページです。
ここに記述されていることを行って、
何らかの損害・被害が発生しても、龍義は責任とれません。
自己責任が取れる方のみこのページをご覧になってください。
戻る
/proc/cpuinfo
bash-2.04# cat /proc/cpuinfo
cpu family : SH-3
cache size : 8K-byte
bogomips : 88.68
/proc/meminfo
bash-2.04# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 15257600 15032320 225280 0 417792 7802880
Swap: 0 0 0
MemTotal: 14900 kB
MemFree: 220 kB
MemShared: 0 kB
Buffers: 408 kB
Cached: 7620 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 14900 kB
LowFree: 220 kB
SwapTotal: 0 kB
SwapFree: 0 kB
16MB のメモリのようです。これですと、遊ぶには少々辛いですね。
web + mail + samba サーバとかは実用的ではなさそうな気がします。
遊ぶのでしたら、用途を限定するべきかと思います。
df
bash-2.04# ./df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 28752 16698 10570 61% /
/dev/hda2 31726 907 29175 3% /home/waw-users
CF の中は2つのパーティションに分かれているようです。1つは、システム領域、
もう1つは、ユーザの使用領域です。この結果は少々ユーザ領域を使用しているときの
結果です。驚いたことに、 log 記録や /tmp は CF です。
CF は書き込み制限があるので、がしがし使うのは少し怖いですね。
/proc/version
bash-2.04# cat /proc/version
Linux version 2.4.0-test1 (root@kat2) (gcc version 2.97 20001120 (experimental)) #871 Tue Apr 16 17:33:58 JST 2002
とても古いので、さくっと入れ替えたいですね。
ps
bash-2.04$ ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 21:07 ? 00:00:00 init
root 2 1 0 21:07 ? 00:00:00 [kswapd]
root 3 1 0 21:07 ? 00:00:00 [kflushd]
root 4 1 0 21:07 ? 00:00:00 [kupdate]
root 31 1 0 21:07 ? 00:00:00 /bin/sh
root 33 1 0 21:07 ? 00:00:00 /usr/local/sh_apache/bin/httpd -F
root 35 1 0 21:07 ? 00:00:00 /usr/local/process/server
root 38 1 0 21:07 ? 00:00:00 /sbin/syslogd -n
root 39 1 0 21:07 ? 00:00:00 /sbin/klogd -n
root 40 1 0 21:07 ? 00:00:00 /usr/sbin/inetd
root 46 1 0 21:07 ? 00:00:00 /usr/local/bin/waw_cron
root 49 1 0 21:07 ? 00:00:00 cardmgr
nobody 192 1 0 21:08 ? 00:00:00 /usr/local/dnscache/bin/dnscache
nobody 194 1 0 21:08 ? 00:00:00 /usr/local/walldns/bin/walldns
nobody 197 33 0 21:08 ? 00:00:00 /usr/local/sh_apache/bin/httpd -
root 207 1 0 21:08 ? 00:00:00 dhcpd wlan0
nobody 255 1 0 21:08 ? 00:00:00 proftpd
root 262 1 0 21:08 ? 00:00:00 /usr/local/sched/scheduler
root 264 1 0 21:08 ? 00:00:00 /usr/local/sched/sensor
root 276 40 0 21:18 ? 00:00:01 in.telnetd
test 277 276 0 21:18 ttyp0 00:00:00 -bash
test 314 277 0 21:26 ttyp0 00:00:00 ps -ef
inet, in.telnetd, bash, ps -ef は通常ではありません。この結果は、
cgi などから引っ張った方が良かったかもしれません。
telnet 接続表示
Linux 2.4.0-test1+sh-patch+w
Kernel 2.4.0-test1 on a sh
livinggate. login: test
Password:
bash-2.04$
host 名は livinggate. のようです。
dmesg
bash-2.04$ ./dmesg
Linux version 2.4.0-test1 (root@kat2) (gcc version 2.97 20001120 (experimental)) #871 Tue Apr 16 17:33:58 JST 2002
console->write 0 90009
***** [setup_arch] start!!! *****
***** ORIG_ROOT_DEV = 00000301(HEX) *****
***** ROOT_DEV = 00000301(HEX) *****
***** empty_zero_page + 0x008(ORIG_ROOT_DEV) = 00000301(HEX) *****On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
***** [setup_arch] end!!! *****Kernel command line: mem=16m sh_mv=WAW
CPU clock: 133.33MHz
Bus clock: 33.33MHz
Module clock: 33.33MHz
Interval = 83333
Calibrating delay loop... 88.68 BogoMIPS
Memory: 14860k/16384k available (959k kernel code, 1524k reserved, 53k data, 40k init)
fork.c:max_threads:1024
Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
kmem_create: Poisoning requested, but con given - bdev_cache
Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
kmem_create: Poisoning requested, but con given - inode_cache
CPU: SH7709A/SH7729
POSIX conformance testing by UNIFIX
PCI: Using configuration type 1
PCI: Probing PCI hardware
pci_conf1_read_config_byte where: e addr:8000000c
pci_conf1_read_config_byte where: 3d addr:8000003c
pci_conf1_read_config_byte where: e addr:8000080c
pci_conf1_read_config_byte where: 3d addr:8000083c
pci_conf1_read_config_byte where: 3c addr:8000083c
pci_conf1_read_config_byte where: e addr:8000100c
pci_conf1_read_config_byte where: e addr:8000180c
pci_conf1_read_config_byte where: e addr:8000200c
pci_conf1_read_config_byte where: e addr:8000280c
pci_conf1_read_config_byte where: e addr:8000300c
pci_conf1_read_config_byte where: e addr:8000380c
pci_conf1_read_config_byte where: e addr:8000400c
pci_conf1_read_config_byte where: e addr:8000480c
pci_conf1_read_config_byte where: e addr:8000500c
pci_conf1_read_config_byte where: e addr:8000580c
pci_conf1_read_config_byte where: e addr:8000600c
pci_conf1_read_config_byte where: e addr:8000680c
pci_conf1_read_config_byte where: e addr:8000700c
pci_conf1_read_config_byte where: e addr:8000780c
pci_conf1_read_config_byte where: e addr:8000800c
pci_conf1_read_config_byte where: e addr:8000880c
pci_conf1_read_config_byte where: e addr:8000900c
pci_conf1_read_config_byte where: e addr:8000980c
pci_conf1_read_config_byte where: e addr:8000a00c
pci_conf1_read_config_byte where: e addr:8000a80c
pci_conf1_read_config_byte where: e addr:8000b00c
pci_conf1_read_config_byte where: e addr:8000b80c
pci_conf1_read_config_byte where: e addr:8000c00c
pci_conf1_read_config_byte where: e addr:8000c80c
pci_conf1_read_config_byte where: e addr:8000d00c
pci_conf1_read_config_byte where: e addr:8000d80c
pci_conf1_read_config_byte where: e addr:8000e00c
pci_conf1_read_config_byte where: e addr:8000e80c
pci_conf1_read_config_byte where: e addr:8000f00c
pci_conf1_read_config_byte where: e addr:8000f80c
Linux NET4.0 for Linux 2.3
Based upon Swansea University Computer Society NET3.039
kmem_create: Poisoning requested, but con given - skbuff_head_cache
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 1024)
Initializing RT netlink socket
WAW Setup...done
Starting kswapd v1.6
pty: 256 Unix98 ptys configured
Uniform Multi-Platform E-IDE driver Revision: 6.30
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: TOSHIBA THNCF064MBA, ATA DISK drive
ide0 at 0xb60001f0-0xb60001f7,0xb60003f6 on irq 33
hda: 125184 sectors (64 MB) w/2KiB Cache, CHS=978/4/32
Partition check:
hda: hda1 hda2
Non-volatile memory driver v1.0
PPP generic driver version 2.4.1
PPP Deflate Compression module registered
PPP BSD Compression module registered
8139too Fast Ethernet driver 0.9.5 loaded
PCI: Enabling device 00:01.0 (0000 -> 0003)
pci_conf1_read_config_byte where: 34 addr:80000834
pci_conf1_read_config_byte where: 50 addr:80000850
eth0: RealTek RTL8139 Fast Ethernet board found at 0xa9000000, IRQ 32
eth0: Chip is 'RTL-8139C'
eth0: MAC address 00:e0:c3:03:05:3e.
WAW RTC driver ver.1.0.1
regist succed @ init_module
scif_init: ENTER
install : SH3 SCIF driver for WAW by K.Usami 2001/01/23
scif_init: request_irq 56 (ERI)
scif_init: request_irq 57 (RXI)
scif_init: request_irq 58 (BRI)
scif_init: request_irq 59 (TXI)
scif_init: request_irq 33 (MODEM)
scif_init: EXIT
install : WAW LED driver by K.Usami 2001/07/19
ip_conntrack (128 buckets, 1024 max)
ip_tables: (c)2000 Netfilter core team
NET4: Ethernet Bridge 008 for NET4.0
filesystem_setup
VFS: Disk change detected on device ide0(3,1)
hda: hda1 hda2
VFS: Disk change detected on device ide0(3,1)
hda: hda1 hda2
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 40k freed
->sys_reboot 0
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
[EXT II FS 0.5b, 95/08/09, bs=1024, fs=1024, gc=4, bpg=8192, ipg=1856, mo=fffffffb]
VFS: Disk change detected on device ide0(3,2)
hda: hda1 hda2
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
Linux PCMCIA Card Services 3.1.17 for WAW
kernel build: 2.4.0-test1 #865 2002年 3月 7日 (木) 15:31:57 JST
options:
PC-card Ctrl Driver U2 for WAW
pcic_set_socket: .....set.....state->Vcc 0,0
pcic_set_socket: Card Exist in socket 0
pcic_set_socket: Power Off socket 0
pcic_set_socket: .....set.....state->Vcc 33,0
pcic_set_socket: Card Exist in socket 0
pcic_set_socket: Vcc 3.3V
pcic_set_socket: my my my ...
pcic_set_socket: .....set.....state->Vcc 33,576
pcic_set_socket: Card Exist in socket 0
pcic_set_socket: Vcc 3.3V
pcic_set_socket: Power On socket 0
pcic_set_socket: getw(CPWCR) = 0x4
pcic_set_socket: SS_RESET
pcic_set_socket: getw(CPWCR) = 0x74
pcic_set_socket: wait for ready ...
pcic_set_socket: ready
pcic_set_socket: .....set.....CDCR 0
pcic_set_socket: .....set.....CPWCR 274
pcic_set_socket: .....set.....state->Vcc 33,512
pcic_set_socket: Card Exist in socket 0
pcic_set_socket: Vcc 3.3V
pcic_set_socket: Power On socket 0
pcic_set_socket: getw(CPWCR) = 0x274
pcic_set_socket: .....set.....CDCR 0
pcic_set_socket: .....set.....CPWCR 274
cs: IO port probe 0xb6000000-0xb600ffff: excluding 0xb60005f0-0xb60005f7 0xb60007f0-0xb60007f7
〜長いので省略〜
find_io_region: ENTER (in rsrc_mgr.c)
find_io_region: *base:(0xba000000)
find_io_region: num:(0x40)
find_io_region: align:(0x0)
find_io_region: name:(prism2_cs)
find_io_region: Trying check_region(ba000000,40)
find_io_region: OK, check_region success!
pcic_set_socket: .....set.....state->Vcc 33,512
pcic_set_socket: Card Exist in socket 0
pcic_set_socket: Vcc 3.3V
pcic_set_socket: Power On socket 0
pcic_set_socket: getw(CPWCR) = 0x274
pcic_set_socket: .....set.....CDCR 0
pcic_set_socket: .....set.....CPWCR 274
pcic_set_socket: .....set.....state->Vcc 33,544
pcic_set_socket: Card Exist in socket 0
pcic_set_socket: Vcc 3.3V
pcic_set_socket: Power On socket 0
pcic_set_socket: getw(CPWCR) = 0x274
pcic_set_socket: SS_IOCARD
pcic_set_socket: .....set.....CDCR 8
pcic_set_socket: .....set.....CPWCR 274
, irq 33, io 0xba000000-0xba00003f
->mibset_mibget
dot11PrivacyOptionImple: 1
->mibset_mibget
->mibset_mibget
->mibset_mibget
->mibset_mibget
cs の結果が長いので、省略しています。それでも、長いですね。普通に
使うぶんには全く関係のないことなので、長くても問題はないですけど。
Copyright (C) 2004 Tatsuyoshi Networks