BHR-4GRVのブートログ

OpenWrt導入前にBHR-4GRVにシリアル接続して、電源オン直後からのログを取った。

長いので全ログはエントリ末尾に掲載するが、下記部分が興味深いと感じた。

SPI flash size total:32 Mbytes
WZR-HP-G450H_part partition parsing not available
WZR-HP-G302NH_V2_part partition parsing not available
WHR-AG300N_part partition parsing not available
WHR-HP-G300N_part partition parsing not available
7 cmdlinepart partitions found on MTD device ar7240-nor0
Creating 7 MTD partitions on "ar7240-nor0":
0x000000000000-0x000000040000 : "uboot"
0x000000040000-0x000000050000 : "uboot_environ"
0x000000050000-0x000000060000 : "ART"
0x000000060000-0x000000160000 : "linux"
0x000000160000-0x000001fe0000 : "rootfs"
0x000001fe0000-0x000002000000 : "user_property"
0x000000060000-0x000001fe0000 : "firmware"

MTDのパーティション決定のために機種判定コードが動いているようだ。機種ごとに別ファームウェアを配っているのにわざわざ判定を行っているのはファームビルドの手間を省くためなのか、この方がテストがやりやすいのか、色々謎である。

以下がログ全体。

BUFFALO U-BOOT Ver 1.00
  == CPU:400MHz, DDR:400MHz, AHB:200MHz ==
AP111 (ar7241 - Virian) U-boot
DRAM:  64 MB
WAN port disabling: done
Top of RAM usable for U-Boot at: 84000000
Reserving 257k for U-Boot at: 83fbc000
Reserving 192k for malloc() at: 83f8c000
Reserving 44 Bytes for Board Info at: 83f8bfd4
Reserving 36 Bytes for Global Data at: 83f8bfb0
Reserving 128k for boot params() at: 83f6bfb0
Stack Pointer at: 83f6bf98
Now running in RAM - U-Boot at: 83fbc000
flash bank #0 found 16 MB flash [W25Q128BV, blk:0x10000, sectors:256]
flash bank #1 found 16 MB flash [W25Q128BV, blk:0x10000, sectors:256]
Flash: 32 MB
*** Warning *** : PCIe WLAN Module not found !!!
In:    serial
Out:   serial
Err:   serial
Memory Test (address line)
uboot use  83F6BFB0 - 84000000
Memory Test start(0x80000000) end(0x83F00000) size(67108864)
Data line test start:0x80000000 pattern 0x00000001 0x00000003 0x00000007 0x0000000F 0x00000005 0x00000015 0x00000055 0xAAAAAAAA 
Address line test start:0x80000000 len:0x3f00000 pattern 0xAAAAAAAA 0x55555555  
Fill test patnum:5 
fill Pattern 5555AAAA  Writing...             Reading...
fill Pattern AAAA5555  Writing...             Reading...
fill Pattern 0000FFFF  Writing...             Reading...
fill Pattern FFFF0000  Writing...             Reading...
fill Pattern AAAAAAAA  Writing...             Reading...
Memory Test OK
### buf_ver=[1.00] U-Boot Ver.=[1.00]
### build_date(env)=[Apr  6 2011 - 08:52:25] build_date(bin)=[Apr  6 2011 - 08:52:25]
ag7240_enet_initialize...
Reading MAC Address from ENV(0x83f8c322)
No valid address in Flash. Using fixed address
Virian MDC CFG Value ==> 4
: cfg1 0x7 cfg2 0x7114
eth0: 02:aa:bb:cc:dd:22
athrs16_reg_init: complete
eth0 up
Virian MDC CFG Value ==> 4
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
eth1 up
eth0  02:AA:BB:CC:DD:22
, eth1  00:03:7F:09:0B:AD

eth0 link down

tftp server(receive) go, waiting:4[sec]
eth0 link down
Load address: 0x81f00000

TftpServer Timeout;
no file was loaded.
LAN port disabling: done
skip FW-CRC checking!!!
change bootargs
console=ttyS0,115200 root=31:03 rootfstype=jffs2 init=/sbin/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1152k@384k(uImage),6592k@1536k(rootfs),64k@320k(ART),64k@8128k(properties),8192k@8192k(flash1),16384k@16384k(flash2) mem=64M
## Booting image at bf060000 ...
   Image Name:   Linux Rootfs Combined Image
   Created:      2012-12-19  18:30:33 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    21454784 Bytes = 20.5 MB
   Load Address: 80002000
   Entry Point:  80201320
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80201320) ...
## Giving linux memsize in bytes, 67108864

Starting kernel ...

Booting AR7240(Python)...
Linux version 2.6.31--LSDK-9.2.0.106 (snapshot@snapshot-03) (gcc version 4.3.3 (GCC) ) #1 Thu Dec 20 03:16:13 JST 2012
flash_size passed from bootloader = 32
arg 1: console=ttyS0,115200
arg 2: root=31:03
arg 3: rootfstype=jffs2
arg 4: init=/sbin/init
arg 5: mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1152k@384k(uImage),6592k@1536k(rootfs),64k@320k(ART),64k@8128k(properties),8192k@8192k(flash1),16384k@16384k(flash2)
arg 6: mem=64M
use [CONFIG_CMDLINE] = console=ttyS0,115200 root=/dev/mtdblock4 rootfstype=squashfs init=/sbin/init mtdparts=ar7240-nor0:256k(uboot),64k(uboot_environ),64k(ART),1024k(linux),31232k(rootfs),128k(user_property),32256k@384k(firmware) mem=64M 
CPU revision is: 00019374 (MIPS 24Kc)
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock4 rootfstype=squashfs init=/sbin/init mtdparts=ar7240-nor0:256k(uboot),64k(uboot_environ),64k(ART),1024k(linux),31232k(rootfs),128k(user_property),32256k@384k(firmware) mem=64M
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 61900k/65536k available (2067k kernel code, 3564k reserved, 569k data, 128k init, 0k highmem)
NR_IRQS:128
plat_time_init: plat time init done
Calibrating delay loop... 266.24 BogoMIPS (lpj=532480)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
===== ar7240_platform_init: 0
***** Warning *****: PCIe WLAN H/W not found !!!
bio: create slab <bio-0> at 0
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
AR7240 GPIOC major 0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Slow work thread pool: Starting up
Slow work thread pool: Ready
GFS2 (built Dec 20 2012 03:12:53) installed
msgmni has been set to 121
alg: No test for lzma (lzma-generic)
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered (default)
HDLC line discipline maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
console [ttyS0] enabled
brd: module loaded
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE compression module registered
NET: Registered protocol family 24
drivers/mtd/mtdchar.c(1053): alloc reserved-buffer addr=83940000 size=131072
check spi banks 2
0000 : EF 40 18
found W25Q128BV device on bank#0
0000 : EF 40 18
found W25Q128BV device on bank#1
SPI flash size total:32 Mbytes
WZR-HP-G450H_part partition parsing not available
WZR-HP-G302NH_V2_part partition parsing not available
WHR-AG300N_part partition parsing not available
WHR-HP-G300N_part partition parsing not available
7 cmdlinepart partitions found on MTD device ar7240-nor0
Creating 7 MTD partitions on "ar7240-nor0":
0x000000000000-0x000000040000 : "uboot"
0x000000040000-0x000000050000 : "uboot_environ"
0x000000050000-0x000000060000 : "ART"
0x000000060000-0x000000160000 : "linux"
0x000000160000-0x000001fe0000 : "rootfs"
0x000001fe0000-0x000002000000 : "user_property"
0x000000060000-0x000001fe0000 : "firmware"
u32 classifier
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
ar7240wdt_init: Registering WDT success
VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
Freeing unused kernel memory: 128k freed
Warning: unable to open an initial console.
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/drivers/char/mel_initsw.ko

Please press Enter to activate this console. mel_initsw_ar7240_bhr_4grv: module license 'unspecified' taints kernel.
Disabling lock debugging due to kernel taint
mel_initsw initialized. 
watchdogd.c(33) watchdogd_main :watchdog refresh 00000000
WD:Start Watchdog Daemon
rc.c(354) VerifyParamsOfInit :x:create status sections
rc.c(896) SetUbootParam :====:pUbootProduct=BHR-4GRV
rc.c(906) SetUbootParam :====:pProductHex=00000001(str:00000001)
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/2.6.31/net/athrs_gmac.ko
ATHR_GMAC: Length per segment 1536
ATHR_GMAC: fifo cfg 3 01f00140
ATHR_GMAC: [eth%d] netdev_priv is 839fcac0
ATHR_GMAC: [eth%d] netdev_priv is 839fc6c0
ATHR_GMAC: Mac address for unit 0: 4c:e6:76:**:**:47
ATHR_GMAC: Mac address for unit 0: 4c:e6:76:**:**:47
ATHR_GMAC: Max segments per packet :   1
ATHR_GMAC: Max tx descriptor count :   40
ATHR_GMAC: Max rx descriptor count :   252
ATHR_GMAC: Mac capability flags    :   4B81
ATHR_GMAC: [eth%d] netdev_priv is 83a6d2c0
ATHR_GMAC: [eth%d] netdev_priv is 83a08ec0
ATHR_GMAC: Mac address for unit 1: 4c:e6:76:**:**:48
ATHR_GMAC: Mac address for unit 1: 4c:e6:76:**:**:48
------------[ cut here ]------------
WARNING: at fs/proc/generic.c:590 proc_register+0x18c/0x1d8()
proc_dir_entry '/proc/eth' already registered
Modules linked in: athrs_gmac(+) mel_initsw_ar7240_bhr_4grv(P)
Call Trace:
[<8020423c>] dump_stack+0x8/0x34
[<80022f9c>] warn_slowpath_common+0x70/0xb0
[<8002301c>] warn_slowpath_fmt+0x24/0x30
[<800ad7c8>] proc_register+0x18c/0x1d8
[<800ada0c>] proc_mkdir_mode+0x3c/0x64
[<c004193c>] athr_gmac_init+0x93c/0xc84 [athrs_gmac]
[<80002468>] _stext+0x68/0x1ec

---[ end trace 12a4c3bd7d5329b8 ]---
ATHR_GMAC: Max segments per packet :   1
ATHR_GMAC: Max tx descriptor count :   40
ATHR_GMAC: Max rx descriptor count :   252
ATHR_GMAC: Mac capability flags    :   4981
athr_gmac_ring_alloc Allocated 640 at 0x83a74800
athr_gmac_ring_alloc Allocated 4032 at 0x83a67000
Virian MDC CFG Value ==> 4
Setting Drop CRC Errors, Pause Frames and Length Error frames 
Modified reg init
ATHRS16: resetting...
ATHRS16: reset done.
CFG Board need PortVLAN 
Enable Broadcast forward
port vlan initialize...
AbBUFFALO athrs16_reg_init complete.
Setting PHY...
Phy setup Complete
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/2.6.31/net/athrs_gmac.ko
insmod: cannot insert `/lib/modules/2.6.31/net/athrs_gmac.ko': Invalid parameters (17): Invalid argument
MidLayerFlashNvram.c(1910) MLF_GetUbootParam :ERROR:cmderr="ubootenv get dummy_ethaddr "
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/net/ipv4/netfilter/nf_conntrack_proto_gre.ko
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/net/ipv4/netfilter/nf_nat_proto_gre.ko
rc.c(896) SetUbootParam :====:pUbootProduct=BHR-4GRV
rc.c(906) SetUbootParam :====:pProductHex=00000001(str:00000001)
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/2.6.31/net/athrs_gmac.ko
insmod: cannot insert `/lib/modules/2.6.31/net/athrs_gmac.ko': Invalid parameters (17): Invalid argument
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/2.6.31/net/athrs_gmac.ko
insmod: cannot insert `/lib/modules/2.6.31/net/athrs_gmac.ko': Invalid parameters (17): Invalid argument
MidLayerFlashNvram.c(1910) MLF_GetUbootParam :ERROR:cmderr="ubootenv get dummy_ethaddr "
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/net/ipv4/netfilter/nf_conntrack_proto_gre.ko
insmod: cannot insert `/lib/modules/kernel/net/ipv4/netfilter/nf_conntrack_proto_gre.ko': Invalid parameters (17): Invalid argument
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/net/ipv4/netfilter/nf_nat_proto_gre.ko
insmod: cannot insert `/lib/modules/kernel/net/ipv4/netfilter/nf_nat_proto_gre.ko': Invalid parameters (17): Invalid argument
MidLayerModDep.c(807) startModules :INFO:Starting module init
Algorithmics/MIPS FPU Emulator v1.5
mknod: /dev/ppp: File exists
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
insmod: slhc.ko: no module by that name found
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
insmod: ppp_generic.ko: no module by that name found
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
insmod: ppp_mppe.ko: no module by that name found
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
insmod: ppp_async.ko: no module by that name found
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
insmod: ppp_synctty.ko: no module by that name found
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
insmod: pppox.ko: no module by that name found
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
insmod: pppoe.ko: no module by that name found
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
insmod: zlib_deflate.ko: no module by that name found
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
insmod: ppp_deflate.ko: no module by that name found
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/fs/nls/nls_base.ko
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/drivers/usb/core/usbcore.ko
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/drivers/usb/host/ehci-hcd.ko
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Port Status c000004 
ar7240-ehci ar7240-ehci.0: ATH EHCI
ar7240-ehci ar7240-ehci.0: new USB bus registered, assigned bus number 1
ehci_reset Intialize USB CONTROLLER in host mode: 3
ehci_reset Port Status c000000 
ar7240-ehci ar7240-ehci.0: irq 3, io mem 0x1b000000
ehci_reset Intialize USB CONTROLLER in host mode: 3
ehci_reset Port Status c000000 
ar7240-ehci ar7240-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: ATH EHCI
usb usb1: Manufacturer: Linux 2.6.31--LSDK-9.2.0.106 ehci_hcd
usb usb1: SerialNumber: platform
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/drivers/usb/host/ohci-hcd.ko
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
MidLayerModDep.c(819) startModules :INFO:Started  module init 1575[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_tz
MidLayerModDep.c(819) startModules :INFO:Started  module rc_tz 1[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_syslogd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_syslogd 417[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_klogd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_klogd 13[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_loif
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/2.6.31/net/athrs_gmac.ko
insmod: cannot insert `/lib/modules/2.6.31/net/athrs_gmac.ko': Invalid parameters (17): Invalid argument
MidLayerFlashNvram.c(1910) MLF_GetUbootParam :ERROR:cmderr="ubootenv get dummy_ethaddr "
MidLayerModDep.c(819) startModules :INFO:Started  module rc_loif 87[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_router_behavior
MidLayerModDep.c(819) startModules :INFO:Started  module rc_router_behavior 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module init
MidLayerModDep.c(819) startModules :INFO:Started  module init 4[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_user_passwd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_user_passwd 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_usbmod
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/drivers/usb/storage/usb-storage.ko
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/fs/exportfs/exportfs.ko
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/fs/xfs/xfs.ko
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/fs/fat/fat.ko
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/fs/fat/vfat.ko
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/fs/nls/nls_cp932.ko
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/fs/nls/nls_utf8.ko
MidLayerModDep.cathr_gmac_do_ioctl: dev:eth1 ifr:838c1e18 cmd:0x89FF
(819) startModulathrs16_ioctl_buffalo: dev:eth1 ethUnit:0 cmd:0x89FF
es :INFO:Started+  module rc_usbm-od 1718[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wiredlan
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wiredlan 137[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module id
MidLayerModDep.c(819) startModules :INFO:Started  module id 3[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module lang
MidLayerModDep.c(819) startModules :INFO:Started  module lang 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_lanif

rc_lanif.c(475) StartOfrc_lanif :x:PPPoE Path throw?


unable to set ip mcast flag
unable to set ip mcast policy
MidLayerModDep.c(819) startModules :INFO:Started  module rc_lanif 145[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_udhcpd
udhcpd (v0.9.9-pre) started
max_leases value (256) not sane, setting to 16 instead
MidLayerModDep.c(819) startModules :INFO:Started  module rc_udhcpd 27[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ap_serv
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ap_serv 31[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_usb_device_server
MidLayerModDep.c(819) startModules :INFO:Started  module rc_usb_device_server 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_httpd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_httpd 25[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanif
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanif 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pre
athr_gmac_do_ioctl: dev:eth1 ifr:83033e18 cmd:0x89FB
athrs16_ioctl_buffalo: dev:eth1 ethUnit:0 cmd:0x89FB
MidLayer.c(1591) ML_Signal_QueueRemove :x:SIGNAL-QUEUE NOT-FOUND (tree=NORM mod=rc_wanctl_dhcpcd)
MidLayer.c(1591) ML_Signal_QueueRemove :x:SIGNAL-QUEUE NOT-FOUND (tree=NORM mod=rc_wanctl_pppoecd_0)
MidLayer.c(1591) ML_Signal_QueueRemove :x:SIGNAL-QUEUE NOT-FOUND (tree=NORM mod=rc_wanctl_pppoecd_1)
MidLayer.c(1591) ML_Signal_QueueRemove :x:SIGNAL-QUEUE NOT-FOUND (tree=NORM mod=rc_wanctl_pppoecd_2)
MidLayer.c(1591) ML_Signal_QueueRemove :x:SIGNAL-QUEUE NOT-FOUND (tree=NORM mod=rc_wanctl_pppoecd_3)
MidLayer.c(1591) ML_Signal_QueueRemove :x:SIGNAL-QUEUE NOT-FOUND (tree=NORM mod=rc_wanctl_pppoecd_4)
MidLayer.c(1591) ML_Signal_QueueRemove :x:SIGNAL-QUEUE NOT-FOUND (tree=NORM mod=rc_wanctl_auto_detect)
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pre 3068[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect_dummy
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect_dummy 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect_dhcpcd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect_dhcpcd 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect_pppoecd_0
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect_pppoecd_0 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect_pppoecd_1
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect_pppoecd_1 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect_pppoecd_2
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect_pppoecd_2 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect_pppoecd_3
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect_pppoecd_3 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect_pppoecd_4
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect_pppoecd_4 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect_pppoecd_check
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect_pppoecd_check 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_manual
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_manual 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_dhcpcd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_dhcpcd 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pppoecd_0
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pppoecd_0 2[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pppoecd_1
rc_wanctl_pppoecd.c(490) Common_StartOfrc_wanctl_pppoecd :DEBUG:ConnectMethod is PPPoE
rc_wanctl_pppoecd.c(493) Common_StartOfrc_wanctl_pppoecd :DEBUG:Index=1 eth1 Down
rc_wanctl_pppoecd.c(496) Common_StartOfrc_wanctl_pppoecd :DEBUG:Index=1 eth1 Up
--- PPPoE ---
pppoe_srv_name=B-F pppoe_ac_name=(null) hostuniq=(null)
retries=4 pppoe_server=1 ifunit=1
--- Auth ---
user=(BZAWNYUHW@plala.or.jp)  pass=(WEE-RING-TILL)  refuse_chap=0 refuse_pap=0
--- General Opt ---
holdoff=5 idle_time_limit=0 maxconnect=0 persist=1
demand=0 maxfail=9 connect_delay=1000 continuous=1

>>persist=1 maxfail=9 unsuccess=1 need_holdoff=1 
continuous=1 demand=0 demand_at_once=0 doing_callback=0
--- PPPoE ---
pppoe_srv_name=B-F pppoe_ac_name=(null) hostuniq=(null)
retries=4 pppoe_server=1 ifunit=1
--- Auth ---
user=(BZAWNYUHW@plala.or.jp)  pass=(WEE-RING-TILL)  refuse_chap=0 refuse_pap=0
--- General Opt ---
holdoff=5 idle_time_limit=0 maxconnect=0 persist=1
demand=0 maxfail=9 connect_delay=1000 continuous=1

MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pppoecd_1 16252[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pppoecd_2
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pppoecd_2 1[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pppoecd_3
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pppoecd_3 1[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pppoecd_4
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pppoecd_4 1[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pppoecd_check
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pppoecd_check 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_post
route: SIOC[ADD|DEL]RT: No such process
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_post 94[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pppoeroute
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pppoeroute 2[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_dnrd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_dnrd 116[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_netwatchd
wanctl-wanstate_check.c(910) wanstate_check_main :wanctl:Start wanstate_check Daemon
wanctl-lib.c(5019) NtpFunctionControle :x:ntp-client disable
MidLayerModDep.c(819) startModules :INFO:Started  module rc_netwatchd 168[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ipfilter
iptables: Bad rule (does a matching rule exist in that chain?)
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ipfilter 516[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ipfilter_simple
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ipfilter_simple 44[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ipfilter_user
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ipfilter_user 1[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ipfilter_pptp
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ipfilter_pptp 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_nat
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/net/ipv4/netfilter/nf_conntrack_pptp.ko
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/net/ipv4/netfilter/nf_nat_pptp.ko
insmod: /lib/modules/2.6.31--LSDK-9.2.0.106: No such file or directory
Using /lib/modules/kernel/net/ipv4/buff_fastpath.ko

Loding buf_fastpath_module
--> FastNAT poor_spi Enable 9
rcUtil.c(5375) SetFastNat :fastn--> FastNAT Started AC105A0A/FFFFFF00 -> 0A404041/FFFFFFFF 
at-debug:write "poor_spi:9
" ==> "/proc/net/fastnat"
rcUtil.c(5390) SetFastNat :fastnat-debug:write "start:ppp1:br0
" ==> "/proc/net/fastnat"
MidLayerModDep.c(819) startModules :INFO:Started  module rc_nat 485[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_routectl
MidLayerModDep.c(819) startModules :INFO:Started  module rc_routectl 35[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_zebra
MidLayerModDep.c(819) startModules :INFO:Started  module rc_zebra 801[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_lltd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_lltd 154[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_upnp
iptables v1.4.2: Couldn't find target `UPNP-PREROUTING-CHAIN'

Try `iptables -h' or 'iptables --help' for more information.
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables v1.4.2: Couldn't find target `UPNP-POSTROUTING-CHAIN'

Try `iptables -h' or 'iptables --help' for more information.
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
MidLayerModDep.c(819) startModules :INFO:Started  module rc_upnp 306[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ntpclient
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ntpclient 110[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_eco
MidLayerModDep.c(819) startModules :INFO:Started  module rc_eco 78[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wan_qos
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wan_qos 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_pptp_client
MidLayerModDep.c(819) startModules :INFO:Started  module rc_pptp_client 69[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_pptp_client_route
MidLayerModDep.c(819) startModules :INFO:Started  module rc_pptp_client_route 245[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_pptp_server
MidLayerModDep.c(819) startModules :INFO:Started  module rc_pptp_server 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_pptp_server_route
MidLayerModDep.c(819) startModules :INFO:Started  module rc_pptp_server_route 93[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_nastorage
MidLayerModDep.c(819) startModules :INFO:Started  module rc_nastorage 21[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ifilter
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ifilter 38[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_auto_fwup
/dev/set_clock: cannot create
led_mask_11g_chip:0
MidLayerModDep.c(819) startModules :INFO:Started  module rc_auto_fwup 163[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_end_signal
wanctl_fwupdate.c(93) IsConnectionStatusGood :DEBUG:PPPOECD_STAT : 2
MidLayerModDep.c(819) startModules :INFO:Started  module rc_end_signal 36[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_timer_reboot
MidLayerModDep.c(819) startModules :INFO:Started  module rc_timer_reboot 0[msec]
main.c(280) main :x:PMLIST RESTORE START
main.c(283) main :x:PMLIST RESTORE END
>>persist=1 maxfail=9 unsuccess=2 need_holdoff=1 
continuous=1 demand=0 demand_at_once=0 doing_callback=0
--- PPPoE ---
pppoe_srv_name=B-F pppoe_ac_name=(null) hostuniq=(null)
retries=4 pppoe_server=1 ifunit=1
--- Auth ---
user=(****@plala.or.jp)  pass=(WEE-RING-TILL)  refuse_chap=0 refuse_pap=0
--- General Opt ---
holdoff=5 idle_time_limit=0 maxconnect=0 persist=1
demand=0 maxfail=9 connect_delay=1000 continuous=1

ARPING to 172.16.90.10 from 172.16.90.10 via br0
Sent 1 probes (1 broadcast(s))
Received 0 reply

WZR-HP-AG300HでのVLAN設定について

WZR-HP-AG300Hではスイッチチップセット(Atheros AR8316)の制約により、1つのポートでtagged VLANとuntagged VLANと混在して使うことができないようです(参考:「Mikrotik RouterBoard RB450G [OpenWrt Wiki]」)。言い換えると、WZR-HP-AG300H+OpenWrt環境で特定ポートをuntaggedで使いたい場合、そのポートでは1つのVLANにしか参加できません。

OpenWrtのWeb GUI上ではこのようなハードウェア制約があることは示されておらず、同一ポートについてtaggedとuntaggedが混在するような設定が可能です。しかし、このような設定を行うとuntaggedにしたつもりの設定が勝手にtagged扱いになってしまいます。

実際にどのような設定になっているかはswconfigコマンドで確認できますので、設定がうまくいっていない気がしたら確認すべきでしょう。以下、筆者が実際に行った設定例を紹介します。

# swconfig dev switch0 show
(snip)
VLAN 1:
    vid: 1
    ports: 0t 1 2t
VLAN 2:
    vid: 2
    ports: 0t 2t 3 4

参考URL

WZR-HP-AG300Hにログインして現状把握したときのメモ

表題の通り。シリアルコンソール経由で色々なコマンドを叩いてみたときの記録。

下記のように、シリアルコンソールを叩くと既にシェルが起動していた。

BusyBox v1.00 (2010.09.06-00:18+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.

# pwd
/

ディレクトリ構成・ファイル構成

ルートディレクトリ以下は下記のような構成で、Linux的にも割と普通。

# ls -la
drwxr-xr-x   14 root     root          167 Sep  6  2010 .
drwxr-xr-x   14 root     root          167 Sep  6  2010 ..
drwxr-xr-x    2 root     root         1932 Sep  6  2010 bin
drwxr-xr-x    4 root     root            0 Jan  1  2000 dev
drwxrwxr-x    5 root     root           97 Sep  6  2010 dlna
drwxr-xr-x    5 root     root          575 Sep  6  2010 etc
drwxr-xr-x    8 root     root          948 Sep  6  2010 lib
drwxr-xr-x   19 root     root          197 Sep  6  2010 mnt
drwxrwxr-x    3 root     root           23 Sep  6  2010 modules
dr-xr-xr-x   67 root     root            0 Jan  1  2000 proc
lrwxrwxrwx    1 root     root            3 Sep  6  2010 sbin -> bin
drwxr-xr-x    9 root     root            0 Jan  1  2000 sys
drwxr-xr-x   13 root     root            0 Dec 31 15:26 tmp
drwxrwxr-x    2 root     root           36 Sep  6  2010 usr
lrwxrwxrwx    1 root     root            3 Sep  6  2010 var -> tmp
drwxr-xr-x    5 root     root           68 Sep  6  2010 www

以下のように/bin以下はファイル数は案外多いが、当然ながら/bin/busyboxへのシンボリックリンクが多い。

もう一つシンボリックリンクが多いのが/bin/rc。これはどうもバッファロー謹製のルーター向けツールのようで、busyboxのように多数のコマンドを1バイナリにマージする形式のようだ。大半の処理がCで書かれていると思われる。

また、下記のバイナリ群の中で異彩を放っているのが/bin/perlだろう。この頃のBuffaloルータの一部処理はPerlで書かれているようで、startup.plとかcron.plなどの文字列が/bin/rc中に見られる。

# ls -la /bin
drwxr-xr-x    2 root     root         1932 Sep  6  2010 .
drwxr-xr-x   14 root     root          167 Sep  6  2010 ..
lrwxrwxrwx    1 root     root            7 Sep  6  2010 [ -> busybox
-rwxr-xr-x    1 root     root       428624 Sep  6  2010 afpd
lrwxrwxrwx    1 root     root            7 Sep  6  2010 alarm_notify -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 aoss -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 ap_servd -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 arping -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 auto_detect -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 auto_detect_retry -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 basename -> busybox
lrwxrwxrwx    1 root     root            3 Sep  6  2010 bin -> bin
-rwxr-xr-x    1 root     root        42948 Sep  6  2010 brctl
-rwxr-xr-x    1 root     root        97928 Sep  6  2010 btcli
lrwxrwxrwx    1 root     root           10 Sep  6  2010 btcli-list -> /bin/btcli
lrwxrwxrwx    1 root     root           10 Sep  6  2010 btcli-stat -> /bin/btcli
-rwxr-xr-x    1 root     root        53868 Sep  6  2010 btinfo
-rwxr-xr-x    1 root     root       274100 Sep  6  2010 btpd
lrwxrwxrwx    1 root     root            7 Sep  6  2010 btpdwatch -> /bin/rc
-rwxrwxrwx    1 root     root       560420 Sep  6  2010 busybox
-rwxr-xr-x    1 root     root         3642 Sep  6  2010 c_rehash
lrwxrwxrwx    1 root     root            7 Sep  6  2010 cat -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 chmod -> busybox
-rwxr-xr-x    1 root     root         1050 Sep  6  2010 client.cert
-rwxr-xr-x    1 root     root          887 Sep  6  2010 client.priv
lrwxrwxrwx    1 root     root            7 Sep  6  2010 cp -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 date -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 dd -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 ddnsc -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 ddnscd -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 df -> busybox
-rwxr-xr-x    1 root     root        86240 Sep  6  2010 dhcpcd
lrwxrwxrwx    1 root     root            7 Sep  6  2010 dirname -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 dmesg -> busybox
-rwxr-xr-x    1 root     root        60308 Sep  6  2010 dnrd
lrwxrwxrwx    1 root     root            7 Sep  6  2010 echo -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 egrep -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 env -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 factoryenv -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 false -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 fdisk -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 fletsroute -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 free -> busybox
-rwxr-xr-x    1 root     root        74332 Sep  6  2010 fsck.vfat
lrwxrwxrwx    1 root     root            7 Sep  6  2010 fwupdate -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 getty -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 grep -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 gunzip -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 gzip -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 host_check -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 host_check_ex -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 host_check_ifilter -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 host_check_syslogcached -> /bin/rc
-rwxr-xr-x    1 root     root       294588 Sep  6  2010 hostapd
lrwxrwxrwx    1 root     root            7 Sep  6  2010 hostname -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 hotplug -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 httpd -> busybox
-rwxr-xr-x    1 root     root         9662 Sep  6  2010 icon.ico
lrwxrwxrwx    1 root     root            7 Sep  6  2010 ifconfig -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 ifilter -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 inetd -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 init -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 insmod -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 inspection_cmd -> /bin/rc
-rwxr-xr-x    1 root     root       163076 Sep  6  2010 iptables
-rwxr-xr-x    1 root     root        56700 Sep  6  2010 iwconfig
-rwxr-xr-x    1 root     root        44636 Sep  6  2010 iwevent
-rwxr-xr-x    1 root     root        44444 Sep  6  2010 iwpriv
lrwxrwxrwx    1 root     root            7 Sep  6  2010 kill -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 killall -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 klogd -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 lanctl -> /bin/rc
-rwxr-xr-x    1 root     root       392320 Sep  6  2010 lighttpd
-rwxr-xr-x    1 root     root       114636 Sep  6  2010 lld2d
lrwxrwxrwx    1 root     root            7 Sep  6  2010 ln -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 logger -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 losetup -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 ls -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 lsmod -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 makedevs -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 mkdir -> busybox
-rwxr-xr-x    1 root     root        39648 Sep  6  2010 mkfs.vfat
-rwxr-xr-x    1 root     root       670848 Sep  6  2010 mkfs.xfs
lrwxrwxrwx    1 root     root            7 Sep  6  2010 mknod -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 mkswap -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 mlc -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 mount -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 msh -> busybox
-rwxr-xr-x    1 root     root       309688 Sep  6  2010 mt-daapd
lrwxrwxrwx    1 root     root            7 Sep  6  2010 mv -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 netwatchd -> /bin/rc
-rwxr-xr-x    1 root     root      1965984 Sep  6  2010 nmbd
-rwxr-xr-x    1 root     root        27148 Sep  6  2010 ntpclient
-rwxr-xr-x    1 root     root       505356 Sep  6  2010 openssl
-rwxr-xr-x    1 root     root      1476880 Sep  6  2010 perl
lrwxrwxrwx    1 root     root            7 Sep  6  2010 ping -> busybox
-rwxr-xr-x    1 root     root       325672 Sep  6  2010 pppd
lrwxrwxrwx    1 root     root            7 Sep  6  2010 pppdstate -> /bin/rc
-rwxr-xr-x    1 root     root       177860 Sep  6  2010 pppoecd
lrwxrwxrwx    1 root     root            7 Sep  6  2010 pptpctl -> /bin/rc
-rwxr-xr-x    1 root     root        40420 Sep  6  2010 pptpctrl
-rwxr-xr-x    1 root     root        23128 Sep  6  2010 pptpd
-rwxr-xr-x    1 root     root          517 Sep  6  2010 pptpd-init.sh
lrwxrwxrwx    1 root     root            7 Sep  6  2010 ps -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 pwd -> busybox
-rwxr-xr-x    1 root     root        47192 Sep  6  2010 radartool
-rwxr-xr-x    1 root     root      1898700 Sep  6  2010 rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 reboot -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 rm -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 rmdir -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 rmmod -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 route -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 routectl -> /bin/rc
-rwxr-xr-x    1 root     root       216448 Sep  6  2010 sdparm
lrwxrwxrwx    1 root     root            7 Sep  6  2010 sed -> busybox
-rwxr-xr-x    1 root     root         1050 Sep  6  2010 server_buf.cert
lrwxrwxrwx    1 root     root            7 Sep  6  2010 sh -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 sleep -> busybox
-rwxr-xr-x    1 root     root      6064432 Sep  6  2010 smbd
-rwxr-xr-x    1 root     root      3178864 Sep  6  2010 smbpasswd
-rwxr-xr-x    1 root     root        68948 Sep  6  2010 speedy
-rwxr-xr-x    1 root     root      1548308 Sep  6  2010 speedy_backend
lrwxrwxrwx    1 root     root            7 Sep  6  2010 stty -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 swapoff -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 swapon -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 sync -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 sysctl -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 syslogcached -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 syslogd -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 tar -> busybox
-rwxr-xr-x    1 root     root       115020 Sep  6  2010 tc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 telnetd -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 test -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 tftp -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 timerd -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 touch -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 true -> busybox
-rwxr-xr-x    1 root     root        14516 Sep  6  2010 tst_uuid
lrwxrwxrwx    1 root     root            7 Sep  6  2010 tty -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 ubootenv -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 udhcpd -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 umount -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 uname -> busybox
-rwxr-xr-x    1 root     root       267816 Sep  6  2010 upnpd
lrwxrwxrwx    1 root     root            7 Sep  6  2010 uptime -> busybox
-rwxr-xr-x    1 root     root        40192 Sep  6  2010 usb_modeswitch
lrwxrwxrwx    1 root     root            7 Sep  6  2010 usleep -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 vconfig -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 wakeonlan -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 wanctl -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 wanstate_check -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 watchdaemon.sh -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 watchdogd -> /bin/rc
lrwxrwxrwx    1 root     root           19 Sep  6  2010 wd_btcli-list.sh -> /bin/watchdaemon.sh
lrwxrwxrwx    1 root     root           19 Sep  6  2010 wd_btcli-stat.sh -> /bin/watchdaemon.sh
lrwxrwxrwx    1 root     root           19 Sep  6  2010 wd_btpd.sh -> /bin/watchdaemon.sh
lrwxrwxrwx    1 root     root           19 Sep  6  2010 wd_ntpclient.sh -> /bin/watchdaemon.sh
lrwxrwxrwx    1 root     root            7 Sep  6  2010 wf -> /bin/rc
lrwxrwxrwx    1 root     root            7 Sep  6  2010 wget -> busybox
lrwxrwxrwx    1 root     root            7 Sep  6  2010 wiredlanctl -> /bin/rc
-rwxr-xr-x    1 root     root        56168 Sep  6  2010 wlanconfig
-rwxr-xr-x    1 root     root       756164 Sep  6  2010 wsccmd
lrwxrwxrwx    1 root     root            7 Sep  6  2010 wscconfig -> /bin/rc
-rwxr-xr-x    1 root     root      1061880 Sep  6  2010 xfs_repair
lrwxrwxrwx    1 root     root            7 Sep  6  2010 zcat -> busybox

/www以下も見てみる。

/www/cgi-bin/*.cgiの実体がすべて先ほども見た/bin/rcになっている。このバイナリ、なかなか仕事が多い。

# ls -la /www
drwxr-xr-x    5 root     root           68 Sep  6  2010 .
drwxr-xr-x   14 root     root          167 Sep  6  2010 ..
drwxr-xr-x    2 root     root          101 Sep  6  2010 cgi-bin
drwxr-xr-x    5 root     root         7825 Sep  6  2010 html
drwxr-xr-x    2 root     root          745 Sep  6  2010 images
-rw-r--r--    1 root     root          174 Sep  6  2010 index.html
# ls -la /www/cgi-bin
drwxr-xr-x    2 root     root          101 Sep  6  2010 .
drwxr-xr-x    5 root     root           68 Sep  6  2010 ..
lrwxrwxrwx    1 root     root           16 Sep  6  2010 apply.cgi -> /www/cgi-bin/cgi
lrwxrwxrwx    1 root     root            7 Sep  6  2010 cgi -> /bin/rc
-rw-r--r--    1 root     root          588 Sep  6  2010 http_unauth_EUC_JP.txt
lrwxrwxrwx    1 root     root           16 Sep  6  2010 index.cgi -> /www/cgi-bin/cgi
lrwxrwxrwx    1 root     root           16 Sep  6  2010 upfile.cgi -> /www/cgi-bin/cgi
lrwxrwxrwx    1 root     root           16 Sep  6  2010 upload -> /www/cgi-bin/cgi

ところで/lib/perl5/5.8.8なんていうディレクトリを見つけたぞ…。

# cd /lib/perl5/5.8.8
# ls -la
drwxr-xr-x   43 root     root         1837 Sep  6  2010 .
drwxr-xr-x    4 root     root           36 Sep  6  2010 ..
-rwxr-xr-x    1 root     root         2594 Sep  6  2010 AnyDBM_File.pm
drwxr-xr-x    2 root     root           28 Sep  6  2010 Attribute
-rwxr-xr-x    1 root     root        11093 Sep  6  2010 AutoLoader.pm
-rwxr-xr-x    1 root     root        15658 Sep  6  2010 AutoSplit.pm
drwxr-xr-x    2 root     root           82 Sep  6  2010 B
-rwxr-xr-x    1 root     root        27581 Sep  6  2010 Benchmark.pm
drwxr-xr-x    3 root     root          123 Sep  6  2010 CGI
-rwxr-xr-x    1 root     root       242248 Sep  6  2010 CGI.pm
drwxr-xr-x    2 root     root           72 Sep  6  2010 CPAN
-rwxr-xr-x    1 root     root       223755 Sep  6  2010 CPAN.pm
drwxr-xr-x    2 root     root           25 Sep  6  2010 Carp
-rwxr-xr-x    1 root     root         8840 Sep  6  2010 Carp.pm
drwxr-xr-x    2 root     root           37 Sep  6  2010 Class
-rwxr-xr-x    1 root     root        19229 Sep  6  2010 DB.pm
drwxr-xr-x    2 root     root           79 Sep  6  2010 DBM_Filter
-rwxr-xr-x    1 root     root        14415 Sep  6  2010 DBM_Filter.pm
drwxr-xr-x    2 root     root           31 Sep  6  2010 Devel
drwxr-xr-x    2 root     root           36 Sep  6  2010 Digest
-rwxr-xr-x    1 root     root         9207 Sep  6  2010 Digest.pm
-rwxr-xr-x    1 root     root         1758 Sep  6  2010 DirHandle.pm
-rwxr-xr-x    1 root     root        16897 Sep  6  2010 Dumpvalue.pm
drwxr-xr-x    7 root     root          197 Sep  6  2010 Encode
-rwxr-xr-x    1 root     root         4516 Sep  6  2010 English.pm
-rwxr-xr-x    1 root     root         5170 Sep  6  2010 Env.pm
drwxr-xr-x    2 root     root           25 Sep  6  2010 Exporter
-rwxr-xr-x    1 root     root        14419 Sep  6  2010 Exporter.pm
drwxr-xr-x    6 root     root          577 Sep  6  2010 ExtUtils
-rwxr-xr-x    1 root     root         4969 Sep  6  2010 Fatal.pm
drwxr-xr-x    3 root     root          156 Sep  6  2010 File
-rwxr-xr-x    1 root     root         5409 Sep  6  2010 FileCache.pm
-rwxr-xr-x    1 root     root         6771 Sep  6  2010 FileHandle.pm
drwxr-xr-x    2 root     root           26 Sep  6  2010 Filter
-rwxr-xr-x    1 root     root         5410 Sep  6  2010 FindBin.pm
drwxr-xr-x    2 root     root           35 Sep  6  2010 Getopt
drwxr-xr-x    2 root     root           24 Sep  6  2010 Hash
drwxr-xr-x    3 root     root           56 Sep  6  2010 I18N
drwxr-xr-x    3 root     root           23 Sep  6  2010 IO
drwxr-xr-x    2 root     root           38 Sep  6  2010 IPC
drwxr-xr-x    2 root     root           24 Sep  6  2010 List
drwxr-xr-x    3 root     root          219 Sep  6  2010 Locale
drwxr-xr-x    4 root     root          107 Sep  6  2010 Math
drwxr-xr-x    2 root     root          131 Sep  6  2010 Memoize
-rwxr-xr-x    1 root     root        35275 Sep  6  2010 Memoize.pm
-rwxr-xr-x    1 root     root        16122 Sep  6  2010 NEXT.pm
drwxr-xr-x    3 root     root          251 Sep  6  2010 Net
drwxr-xr-x    3 root     root           20 Sep  6  2010 PerlIO
-rwxr-xr-x    1 root     root        10925 Sep  6  2010 PerlIO.pm
drwxr-xr-x    4 root     root          277 Sep  6  2010 Pod
drwxr-xr-x    2 root     root           24 Sep  6  2010 Scalar
drwxr-xr-x    2 root     root           24 Sep  6  2010 Search
-rwxr-xr-x    1 root     root         1070 Sep  6  2010 SelectSaver.pm
-rwxr-xr-x    1 root     root        12634 Sep  6  2010 SelfLoader.pm
-rwxr-xr-x    1 root     root         6917 Sep  6  2010 Shell.pm
-rwxr-xr-x    1 root     root        27976 Sep  6  2010 Switch.pm
-rwxr-xr-x    1 root     root         4794 Sep  6  2010 Symbol.pm
drwxr-xr-x    2 root     root           72 Sep  6  2010 Term
drwxr-xr-x    4 root     root          109 Sep  6  2010 Test
-rwxr-xr-x    1 root     root        28863 Sep  6  2010 Test.pm
drwxr-xr-x    2 root     root           99 Sep  6  2010 Text
drwxr-xr-x    2 root     root           42 Sep  6  2010 Thread
-rwxr-xr-x    1 root     root        10152 Sep  6  2010 Thread.pm
drwxr-xr-x    2 root     root          125 Sep  6  2010 Tie
drwxr-xr-x    2 root     root           66 Sep  6  2010 Time
-rwxr-xr-x    1 root     root         4052 Sep  6  2010 UNIVERSAL.pm
drwxr-xr-x    3 root     root           50 Sep  6  2010 Unicode
drwxr-xr-x    2 root     root           38 Sep  6  2010 User
-rwxr-xr-x    1 root     root          838 Sep  6  2010 abbrev.pl
-rwxr-xr-x    1 root     root         1298 Sep  6  2010 assert.pl
-rwxr-xr-x    1 root     root        12796 Sep  6  2010 attributes.pm
drwxr-xr-x    3 root     root           22 Sep  6  2010 auto
-rwxr-xr-x    1 root     root         4183 Sep  6  2010 autouse.pm
-rwxr-xr-x    1 root     root         5488 Sep  6  2010 base.pm
-rwxr-xr-x    1 root     root         7368 Sep  6  2010 bigfloat.pl
-rwxr-xr-x    1 root     root         8959 Sep  6  2010 bigint.pl
-rwxr-xr-x    1 root     root        10691 Sep  6  2010 bigint.pm
-rwxr-xr-x    1 root     root        14138 Sep  6  2010 bignum.pm
-rwxr-xr-x    1 root     root         4476 Sep  6  2010 bigrat.pl
-rwxr-xr-x    1 root     root         9443 Sep  6  2010 bigrat.pm
-rwxr-xr-x    1 root     root         1675 Sep  6  2010 blib.pm
-rwxr-xr-x    1 root     root         2384 Sep  6  2010 bytes.pm
-rwxr-xr-x    1 root     root          758 Sep  6  2010 bytes_heavy.pl
-rwxr-xr-x    1 root     root         1122 Sep  6  2010 cacheout.pl
-rwxr-xr-x    1 root     root        15513 Sep  6  2010 charnames.pm
-rwxr-xr-x    1 root     root         3191 Sep  6  2010 complete.pl
-rwxr-xr-x    1 root     root        11279 Sep  6  2010 constant.pm
-rwxr-xr-x    1 root     root         1993 Sep  6  2010 ctime.pl
-rwxr-xr-x    1 root     root         1676 Sep  6  2010 dbm_filter_util.pl
-rwxr-xr-x    1 root     root        17294 Sep  6  2010 diagnostics.pm
-rwxr-xr-x    1 root     root         2175 Sep  6  2010 dotsh.pl
-rwxr-xr-x    1 root     root        14809 Sep  6  2010 dumpvar.pl
-rwxr-xr-x    1 root     root         1736 Sep  6  2010 exceptions.pl
-rwxr-xr-x    1 root     root         1019 Sep  6  2010 fastcwd.pl
-rwxr-xr-x    1 root     root         8807 Sep  6  2010 fields.pm
-rwxr-xr-x    1 root     root         2156 Sep  6  2010 filetest.pm
-rwxr-xr-x    1 root     root         1185 Sep  6  2010 find.pl
-rwxr-xr-x    1 root     root         1130 Sep  6  2010 finddepth.pl
-rwxr-xr-x    1 root     root          642 Sep  6  2010 flush.pl
-rwxr-xr-x    1 root     root         1427 Sep  6  2010 getcwd.pl
-rwxr-xr-x    1 root     root         1322 Sep  6  2010 getopt.pl
-rwxr-xr-x    1 root     root         1406 Sep  6  2010 getopts.pl
-rwxr-xr-x    1 root     root          727 Sep  6  2010 hostname.pl
-rwxr-xr-x    1 root     root         1166 Sep  6  2010 if.pm
-rwxr-xr-x    1 root     root          356 Sep  6  2010 importenv.pl
-rwxr-xr-x    1 root     root         3266 Sep  6  2010 integer.pm
-rwxr-xr-x    1 root     root          373 Sep  6  2010 less.pm
-rwxr-xr-x    1 root     root          820 Sep  6  2010 locale.pm
-rwxr-xr-x    1 root     root         1255 Sep  6  2010 look.pl
drwxr-xr-x   21 root     root          577 Sep  6  2010 mips-linux
-rwxr-xr-x    1 root     root         2216 Sep  6  2010 newgetopt.pl
-rwxr-xr-x    1 root     root         7971 Sep  6  2010 open.pm
-rwxr-xr-x    1 root     root          185 Sep  6  2010 open2.pl
-rwxr-xr-x    1 root     root          185 Sep  6  2010 open3.pl
-rwxr-xr-x    1 root     root        46026 Sep  6  2010 overload.pm
-rwxr-xr-x    1 root     root       313786 Sep  6  2010 perl5db.pl
drwxr-xr-x    2 root     root         2567 Sep  6  2010 pod
-rwxr-xr-x    1 root     root         1478 Sep  6  2010 pwd.pl
-rwxr-xr-x    1 root     root          276 Sep  6  2010 shellwords.pl
-rwxr-xr-x    1 root     root         7584 Sep  6  2010 sigtrap.pm
-rwxr-xr-x    1 root     root         6139 Sep  6  2010 sort.pm
-rwxr-xr-x    1 root     root          658 Sep  6  2010 stat.pl
-rwxr-xr-x    1 root     root         3292 Sep  6  2010 strict.pm
-rwxr-xr-x    1 root     root          842 Sep  6  2010 subs.pm
-rwxr-xr-x    1 root     root         4806 Sep  6  2010 syslog.pl
-rwxr-xr-x    1 root     root          164 Sep  6  2010 tainted.pl
-rwxr-xr-x    1 root     root         4114 Sep  6  2010 termcap.pl
-rwxr-xr-x    1 root     root          690 Sep  6  2010 timelocal.pl
drwxr-xr-x    2 root     root          500 Sep  6  2010 unicore
-rwxr-xr-x    1 root     root         7604 Sep  6  2010 utf8.pm
-rwxr-xr-x    1 root     root        10515 Sep  6  2010 utf8_heavy.pl
-rwxr-xr-x    1 root     root         3803 Sep  6  2010 validate.pl
-rwxr-xr-x    1 root     root         2358 Sep  6  2010 vars.pm
-rwxr-xr-x    1 root     root         4328 Sep  6  2010 vmsish.pm
drwxr-xr-x    2 root     root           28 Sep  6  2010 warnings
-rwxr-xr-x    1 root     root        15879 Sep  6  2010 warnings.pm

ストレージ容量カツカツのはずのルーター内にこれほど多数の*.pmファイルがあるとは誰が予想できるだろうか。これはかなり面白いと感じる。

その他情報

unameしてみる。2.6系カーネルMIPS Linuxのようだ。

# uname -a
Linux AP0024A5F1541A 2.6.15 #1 Mon Sep 6 09:15:51 JST 2010 mips unknown

ルートディレクトリ以下は組み込み系Linuxでは定番のSquashFS。リードオンリーなので自分好みのバイナリをインストールするなどのイタズラはできない。ぐぬぬ

# mount
/dev/root on / type squashfs (ro)
proc on /proc type proc (rw,nodiratime)
udev on /dev type tmpfs (rw)
ramfs on /tmp type ramfs (rw)
none on /sys type sysfs (rw)

psの結果。それほど驚きはない。

Webサーバを実現している/bin/httpdの実体は/bin/busyboxlsの結果参照)。それとは別に/bin/lighttpdも存在するのだが、何か使い分けがあるのだろうか?

# ps
  PID  Uid     VmSize Stat Command
    1 root        408 S   init       
    2 root            SWN [ksoftirqd/0]
    3 root            SW< [events/0]
    4 root            SW< [khelper]
    5 root            SW< [kthread]
    9 root            SW< [kblockd/0]
   41 root            SW  [pdflush]
   42 root            SW  [pdflush]
   44 root            SW< [aio/0]
   43 root            SW  [kswapd0]
  636 root            SW  [mtdblockd]
  663 root       1396 S   /bin/rc 
  666 root        404 R   /bin/sh 
  670 root            SW< [khubd]
  681 root        552 S   watchdogd 
  869 root        688 S   /bin/syslogcached 
  872 root        292 S   /bin/syslogd -s 64 -b 2 
  875 root        252 S   /bin/klogd -c 5 -p WZR-HP-AG300H 
  902 root            SW< [xfslogd/0]
  903 root            SW< [xfsdatad/0]
  904 root            SW< [xfsbufd]
  917 root        480 S   timerd usb_oc 1 
  986 root        316 S   /bin/udhcpd /tmp/udhcpd.conf 
  991 root        156 S   /bin/httpd -h /www -c /tmp/etc/httpd.conf -p 80 -r Ai
 1038 root        276 S   iwevent 
 1249 root        432 S   hostapd /tmp/hostapd.conf_ath00 
 1252 root        428 S   hostapd /tmp/hostapd.conf_ath01 
 1256 root        516 S   /bin/ap_servd -i br0 
 1257 root        516 S   /bin/ap_servd -i br0 
 1273 root        380 S   dnrd -n --cache=off 
 1276 root        620 S   netwatchd 
 1315 root        268 S   lld2d br0 ath00 
 1322 root       1660 S   /bin/wsccmd -d -c /tmp/wsc_config.txt 
 1335 root       1660 S   /bin/wsccmd -d -c /tmp/wsc_config.txt 
 1336 root       1660 S   /bin/wsccmd -d -c /tmp/wsc_config.txt 
 1342 root        512 S   wanstate_check 
 1343 root       1660 S   /bin/wsccmd -d -c /tmp/wsc_config.txt 
 1344 root       1660 S   /bin/wsccmd -d -c /tmp/wsc_config.txt 
 1345 root       1660 S   /bin/wsccmd -d -c /tmp/wsc_config.txt 
 1356 root       1660 S   /bin/wsccmd -d -c /tmp/wsc_config.txt 
 1357 root       1660 S   /bin/wsccmd -d -c /tmp/wsc_config.txt 
 1358 root       1660 S   /bin/wsccmd -d -c /tmp/wsc_config.txt 
 1359 root       1660 S   /bin/wsccmd -d -c /tmp/wsc_config.txt 
 1361 root        672 S   upnpd eth1 br0 
 1362 root        672 S   upnpd eth1 br0 
 1363 root        672 S   upnpd eth1 br0 
 1369 root        672 S   upnpd eth1 br0 
 1370 root        672 S   upnpd eth1 br0 
 1381 root        672 S   upnpd eth1 br0 
 1383 root        672 S   upnpd eth1 br0 
 1412 root        728 S   wd_ntpclient.sh ntpclient -s -c 0 -i 86400 -h ntp.jst
 1414 root        312 S   ntpclient -s -c 0 -i 86400 -h ntp.jst.mfeed.ad.jp 
 1574 root        672 S   upnpd eth1 br0 
 1651 root        848 S   auto_detect_retry 30 
 1653 root        348 R   ps 

カーネルモジュールの様子を確認。無難なものが多い印象。

mcsnoopだけ見慣れないような気がする。Buffalo内製のカーネルモジュールだろうか?

ath_*はAtherosのドライバだと思われる。

# lsmod
Module                  Size  Used by    Tainted: P  
ip_nat_pptp 5456 0 - Live 0xc0091000
ip_conntrack_pptp 9040 1 ip_nat_pptp, Live 0xc00c5000
mcsnoop 12496 0 - Live 0xc0035000
nls_utf8 1728 0 - Live 0xc0033000
nls_cp932 81120 0 - Live 0xc00d3000
vfat 12224 0 - Live 0xc002c000
fat 57616 1 vfat, Live 0xc0081000
nls_base 6336 4 nls_utf8,nls_cp932,vfat,fat, Live 0xc0030000
xfs 556192 0 - Live 0xc030a000
usb_storage 34992 0 - Live 0xc0077000
umac 625136 0 - Live 0xc0270000
ath_pktlog 18352 0 - Live 0xc0007000
ath_dev 199232 2 umac,ath_pktlog, Live 0xc0168000
ath_dfs 45280 1 ath_dev, Live 0xc006a000
ath_rate_atheros 39664 2 ath_pktlog,ath_dev, Live 0xc005f000
ath_hal 313104 4 umac,ath_pktlog,ath_dev,ath_dfs, Live 0xc011a000
asf 9872 4 umac,ath_dev,ath_dfs,ath_hal, Live 0xc0013000
adf 15360 3 umac,ath_dev,ath_hal, Live 0xc000e000
ag7100_mod 159984 0 - Live 0xc0094000
ehci_hcd 51024 0 [permanent], Live 0xc0019000
usbcore 144256 3 usb_storage,ehci_hcd, Live 0xc003a000

ifconfigの結果。OpenWrtベースだろうという思い込みがあったが、現行のOpenWrtとはインターフェースの命名ルールが違う印象。

# ifconfig
ath00     Link encap:Ethernet  HWaddr 00:24:A5:F1:54:1A  
          UP BROADCAST RUNNING MULTICAST  MTU:2290  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:481 errors:0 dropped:717 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ath01     Link encap:Ethernet  HWaddr 06:24:A5:F1:54:1A  
          UP BROADCAST RUNNING MULTICAST  MTU:2290  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:447 errors:0 dropped:717 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

br0       Link encap:Ethernet  HWaddr 00:24:A5:F1:54:1A  
          inet addr:192.168.11.1  Bcast:192.168.11.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:717 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:252848 (246.9 KiB)

eth0      Link encap:Ethernet  HWaddr 00:24:A5:F1:54:1A  
          inet addr:169.254.49.98  Bcast:1.1.1.255  Mask:255.255.0.0
          UP BROADCAST NOTRAILERS  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth1      Link encap:Ethernet  HWaddr 00:24:A5:F1:54:1A  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:28 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:9850 (9.6 KiB)  TX bytes:9850 (9.6 KiB)

wifi0     Link encap:UNSPEC  HWaddr 00-24-A5-F1-54-1A-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:2685 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:511 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:48 Memory:b0000000-b0010000 

WZR-HP-AG300H 起動時コンソールログ

表題の通り。WZR-HP-AG300Hのシリアルコンソールを引き出したので、標準ファームのブート時のコンソールログを記録しておく。個人的には眺めているだけで結構面白いと感じた。

ただし、見やすさのため一部コントロールコードを削除した。まだ多少ゴミが残っているかもしれない。

下記ログ中にMACアドレスなど機体固有の情報も出ているが、普段使いするつもりがない機器なので問題はないつもり。

  == CPU:680MHz, DDR:340MHz, AHB:170MHz ==
AP96 (ar7100) U-boot 0.0.1
DRAM:  128 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 265k for U-Boot at: 83fbc000
Reserving 192k for malloc() at: 83f8c000
Reserving 44 Bytes for Board Info at: 83f8bfd4
Reserving 36 Bytes for Global Data at: 83f8bfb0
Reserving 128k for boot params() at: 83f6bfb0
Stack Pointer at: 83f6bf98
Now running in RAM - U-Boot at: 83fbc000
flash bank #0 found 16 MB flash [MX25L128-45E, blk:0x10000, sectors:256]
flash bank #1 found 16 MB flash [MX25L128-45E, blk:0x10000, sectors:256]
Flash: 32 MB
In:    serial
Out:   serial
Err:   serial
Memory Test
uboot use  83F6BFB0 - 84000000
Memory Test start(80000000) end(83F00000) size(03F00000)

Pattern 55555555  Writing...            Reading...
Pattern AAAAAAAA  Writing...            Reading...
Pattern 00000000  Writing...            Reading...
Memory Test start(84000000) end(88000000) size(04000000)

Pattern 55555555  Writing...            Reading...
Pattern AAAAAAAA  Writing...            Reading...
Pattern 00000000  Writing...            Reading...
Memory Test OK
### buf_ver=[1.00] U-Boot Ver.=[1.00]
### build_date(env)=[Jun  1 2010 - 13:48:44] build_date(bin)=[Jun  1 2010 - 13:48:44]
ag7100_enet_initialize...
Reading MAC Address from ENV(0x83f8c2fd)
Port 0, Neg Success
Port 1, Neg Success
Port 2, Neg Success
Port 3, Neg Success
eth0: Phy Specific Status=0010
eth0: Phy Specific Status=0010
eth0: Phy Specific Status=0010
eth0: Phy Specific Status=0010r
eth0: 02:aa:bb:cc:dd:20
eth0 up
Reading MAC Address from ENV(0x83f8c2fd)
Port 4, Neg Success
eth1: Phy Specific Status=0010
eth1: 02:aa:bb:cc:dd:21
eth1 up
eth0  02:AA:BB:CC:DD:20
, eth1  02:AA:BB:CC:DD:21

eth0 link down

tftp server(receive) go, waiting:4[sec]
eth0 link down
Load address: 0x84000000

TftpServer Timeout;
no file was loaded.
change bootargs
console=ttyS0,115200 root=31:03 rootfstype=jffs2 init=/sbin/init mtdparts=ar7100-nor0:256k(u-boot),64k(u-boot-env),1152k@384k(uImage),6592k@1536k(rootfs),64k@320k(ART),64k@8128k(properties),8192k@8192k(flash1),16384k@16384k(flash2) mem=128M
## Booting image at bf060000 ...
   Image Name:   Linux Rootfs Combined Image
   Created:      2010-09-06   0:31:37 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    20611008 Bytes = 19.7 MB
   Load Address: 80002000
   Entry Point:  80225000
   Verifying Checksum ... crc32_fw: bf060040 - c0407fff (len:013a7fc0) calc...
crc32_fw: range1 bf060040 - bfffffff, range2 be000000 - be407fff
OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80225000) ...
## Giving linux memsize in bytes, 134217728

Starting kernel ...

Linux version 2.6.15 (vc03021@mkitec-7375) (gcc version 3.4.4) #1 Mon Sep 6 09:15:51 JST 2010

flash_size passed from bootloader = 32

arg 1: console=ttyS0,115200

arg 2: root=31:03

arg 3: rootfstype=jffs2

arg 4: init=/sbin/init

arg 5: mtdparts=ar7100-nor0:256k(u-boot),64k(u-boot-env),1152k@384k(uImage),6592k@1536k(rootfs),64k@320k(ART),64k@8128k(properties),8192k@8192k(flash1),16384k@16384k(flash2)

arg 6: mem=128M

use [CONFIG_CMDLINE] = console=ttyS0,115200 root=31:03 rootfstype=squashfs init=/sbin/init mtdparts=ar7100-nor0:256k(uboot),64k(uboot_environ),1024k@384k(linux),31296k@1408k(rootfs),64k@32704k(user_property),64k@320k(ART),32320k@384k(firmware) mem=128M 

CPU revision is: 00019374

Determined physical RAM map:

 memory: 02000000 @ 00000000 (usable)

User-defined physical RAM map:

 memory: 08000000 @ 00000000 (usable)

Built 1 zonelists

Kernel command line: console=ttyS0,115200 root=31:03 rootfstype=squashfs init=/sbin/init mtdparts=ar7100-nor0:256k(uboot),64k(uboot_environ),1024k@384k(linux),31296k@1408k(rootfs),64k@32704k(user_property),64k@320k(ART),32320k@384k(firmware) mem=128M

Primary instruction cache 64kB, physically tagged, 4-way, linesize 32 bytes.

Primary data cache 32kB, 4-way, linesize 32 bytes.

Synthesized TLB refill handler (20 instructions).

Synthesized TLB load handler fastpath (32 instructions).

Synthesized TLB store handler fastpath (32 instructions).

Synthesized TLB modify handler fastpath (31 instructions).

Cache parity protection disabled

PID hash table entries: 1024 (order: 10, 16384 bytes)

Using 340.000 MHz high precision timer.

Console: colour dummy device 80x25

Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

Memory: 127232k/131072k available (1815k kernel code, 3740k reserved, 368k data, 128k init, 0k highmem)

Mount-cache hash table entries: 512

Checking for 'wait' instruction...  available.

NET: Registered protocol family 16

SCSI subsystem initialized

AR7100 GPIOC major 0

squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher

squashfs: LZMA suppport for slax.org by jro

Initializing Cryptographic API

io scheduler noop registered

io scheduler deadline registered

mel_initsw initialized. 

Serial: 8250/16550 driver $Revision: #1 $ 1 ports, IRQ sharing disabled

serial8250.0: ttyS0 at MMIO 0x0 (irq = 19) is a 16550A

RAMDISK driver initialized: 1 RAM disks of 1024K size 1024 blocksize

PPP generic driver version 2.4.2

PPP Deflate Compression module registered

PPP BSD Compression module registered

PPP MPPE compression module registered

NET: Registered protocol family 24

check spi banks 2

0000 : C2 20 18

found MX25L128-45E device on bank#0

0000 : C2 20 18

found MX25L128-45E device on bank#1

SPI flash size total:32 Mbytes

7 cmdlinepart partitions found on MTD device ar7100-nor0

Creating 7 MTD partitions on "ar7100-nor0":

0x00000000-0x00040000 : "uboot"

0x00040000-0x00050000 : "uboot_environ"

0x00060000-0x00160000 : "linux"

0x00160000-0x01ff0000 : "rootfs"

0x01ff0000-0x02000000 : "user_property"

0x00050000-0x00060000 : "ART"

0x00060000-0x01ff0000 : "firmware"

u32 classifier

    OLD policer on 

NET: Registered protocol family 2

IP route cache hash table entries: 2048 (order: 1, 8192 bytes)

TCP established hash table entries: 8192 (order: 3, 32768 bytes)

TCP bind hash table entries: 8192 (order: 3, 32768 bytes)

TCP: Hash tables configured (established 8192 bind 8192)

TCP reno registered

ip_conntrack version 2.4 (1024 buckets, 8192 max) - 212 bytes per conntrack

ip_tables: (C) 2000-2002 Netfilter core team

ipt_time loading

TCP bic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>

All bugs added by David S. Miller <davem@redhat.com>

VFS: Mounted root (squashfs filesystem) readonly.

Freeing unused kernel memory: 128k freed

Warning: unable to open an initial console.


Please press Enter to activate this console. Using /lib/modules/kernel/drivers/usb/core/usbcore.ko
usbcore: registered new driver usbfs

usbcore: registered new driver hub

Using /lib/modules/kernel/drivers/usb/host/ehci-hcd.ko
10 Dec 2004 USB 2.0 'Enhanced' Host Controller (EHCI) Driver (AR7100_EHCI)

In ar7100_ehci_drv_probe

probing ehci...

hcd->regs is 0xbb000000

ehci->caps is 0xbb000000

ehci->caps->hc_base is 0x1000010

ar7100-ehci ar7100-ehci.0: AR7100 EHCI

ar7100-ehci ar7100-ehci.0: new USB bus registered, assigned bus number 1

ar7100-ehci ar7100-ehci.0: irq 3, io mem 0x1b000000

hcc_params addr 0xbb000008 val 0xa020 hcs_params addr 0xbb000004 val 0x1212

ar7100-ehci ar7100-ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004

usb usb1: Product: AR7100 EHCI

usb usb1: Manufacturer: Linux 2.6.15 ehci_hcd

usb usb1: SerialNumber: AR7100_usb

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 2 ports detected

...probing done

watchdogd.c(33) watchdogd_main :WD:Start Watchdog Daemon
rc.c(333) VerifyParamsOfInit :x:create status sections
Using /lib/modules/2.6.15/net/ag7100_mod.ko
ag7100_mod: module license 'unspecified' taints kernel.

AG7100: Length per segment 512

AG7100: Max segments per packet 4

AG7100: Max tx descriptor count    400

AG7100: Max rx descriptor count    252

AG7100: fifo cfg 3 018001ff

Enter buf_ag7100_dev_fptable(87daf000, 0)

AG7100CHH: Mac address for unit 0 base=19000000

AG7100CHH: d8:0f:1b:01:8e:01 

Enter buf_ag7100_dev_fptable(87935c00, 1)

AG7100CHH: Mac address for unit 1 base=1a000000

AG7100CHH: f5:d8:21:20:ea:5d 

ag7100_ring_alloc Allocated 4800 at 0x87efc000

ag7100_ring_alloc Allocated 3024 at 0x8787e000

AG7100: cfg1 0x7 cfg2 0x7014

phy_mode_setup

AG7100: unit 0: phy not up carrier 1

et0: unit 0: phy not up carrier 1

Writing 4

ag7100_ring_alloc Allocated 4800 at 0x813b4000

ag7100_ring_alloc Allocated 3024 at 0x878c6000

AG7100: cfg1 0x7 cfg2 0x7014

ATHRS16: athrs16_reg_init complete.

phy_mode_setup

AG7100: unit 1: phy not up carrier 1

et1: unit 1: phy not up carrier 1

Writing 6

wlctl-ath.c(5762) Wireless_Insmod :ERR:####### Wireless_Insmod #########
Using /lib/modules/2.6.15/net/adf.ko
Using /lib/modules/2.6.15/net/asf.ko
Using /lib/modules/2.6.15/net/ath_hal.ko
ath_hal: 0.9.17.1 (AR5416, REGOPS_FUNC, WRITE_EEPROM, 11D)

Using /lib/modules/2.6.15/net/ath_rate_atheros.ko
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved

Using /lib/modules/2.6.15/net/ath_dfs.ko
ath_dfs: Version 2.0.0

Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved

Using /lib/modules/2.6.15/net/ath_dev.ko
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved

Using /lib/modules/2.6.15/net/ath_pktlog.ko
Using /lib/modules/2.6.15/net/umac.ko
ath_pci: 0.9.4.5 (Atheros/multi-bss)

DFS min filter rssiThresh = 18

DFS max pulse dur = 131 ticks

ath_get_caps[3965] rx chainmask mismatch actual 3 sc_chainmak 0

ath_get_caps[3940] tx chainmask mismatch actual 3 sc_chainmak 0

Netlink socket created for rptgput

!!!!! SC Callback Registration for wifi0

wifi0: Atheros 9280: mem=0x10000000, irq=48 hw_base=0xb0000000

DFS min filter rssiThresh = 18

DFS max pulse dur = 131 ticks

ath_get_caps[3965] rx chainmask mismatch actual 3 sc_chainmak 0

ath_get_caps[3940] tx chainmask mismatch actual 3 sc_chainmak 0

Netlink socket created for rptgput

!!!!! SC Callback Registration for wifi1

wifi1: Atheros 9280: mem=0x10010000, irq=49 hw_base=0xb0010000

wlctl-ath.c(1058) wlconf_country_set :DEBUG:region=JP iCountryCode=4015
DFS min filter rssiThresh = 18

DFS max pulse dur = 131 ticks

wlan_vap_create : enter. devhandle=0x87184260, opmode=IEEE80211_M_HOSTAP, flags=0x1

wlan_vap_create : exit. devhandle=0x87184260, opmode=IEEE80211_M_HOSTAP, flags=0x1.

VAP device ath10 created 

[call extcmd]

ath10: set channel mask 0030

wlan_vap_create : enter. devhandle=0x87184260, opmode=IEEE80211_M_HOSTAP, flags=0x1

wlan_vap_create : exit. devhandle=0x87184260, opmode=IEEE80211_M_HOSTAP, flags=0x1.

VAP device ath11 created 

[call extcmd]

ath11: set channel mask 0030

wlan_vap_create : enter. devhandle=0x87184260, opmode=IEEE80211_M_HOSTAP, flags=0x1

wlan_vap_create : exit. devhandle=0x87184260, opmode=IEEE80211_M_HOSTAP, flags=0x1.

VAP device ath12 created 

[call extcmd]

ath12: set channel mask 0030

wlan_vap_create : enter. devhandle=0x87184260, opmode=IEEE80211_M_HOSTAP, flags=0x1

wlan_vap_create : exit. devhandle=0x87184260, opmode=IEEE80211_M_HOSTAP, flags=0x1.

VAP device ath13 created 

[call extcmd]

ath13: set channel mask 0030

wlctl-ath.c(1058) wlconf_country_set :DEBUG:region=JP iCountryCode=4015
DFS min filter rssiThresh = 18

DFS max pulse dur = 131 ticks

wlan_vap_create : enter. devhandle=0x87ae0260, opmode=IEEE80211_M_HOSTAP, flags=0x1

wlan_vap_create : exit. devhandle=0x87ae0260, opmode=IEEE80211_M_HOSTAP, flags=0x1.

VAP device ath00 created 

[call extcmd]

ath00: set channel mask 0038

wlan_vap_create : enter. devhandle=0x87ae0260, opmode=IEEE80211_M_HOSTAP, flags=0x1

wlan_vap_create : exit. devhandle=0x87ae0260, opmode=IEEE80211_M_HOSTAP, flags=0x1.

VAP device ath01 created 

[call extcmd]

ath01: set channel mask 0038

wlan_vap_create : enter. devhandle=0x87ae0260, opmode=IEEE80211_M_HOSTAP, flags=0x1

wlan_vap_create : exit. devhandle=0x87ae0260, opmode=IEEE80211_M_HOSTAP, flags=0x1.

VAP device ath02 created 

[call extcmd]

ath02: set channel mask 0038

wlan_vap_create : enter. devhandle=0x87ae0260, opmode=IEEE80211_M_HOSTAP, flags=0x1

wlan_vap_create : exit. devhandle=0x87ae0260, opmode=IEEE80211_M_HOSTAP, flags=0x1.

VAP device ath03 created 

[call extcmd]

ath03: set channel mask 0038

Using /lib/modules/2.6.15/net/ag7100_mod.ko
insmod: cannot insert `/lib/modules/2.6.15/net/ag7100_mod.ko': Invalid parameters (17): Invalid argument
ag7100_ring_free Freeing at 0x87efc000

ag7100_ring_free Freeing at 0x8787e000

ag7100_ring_alloc Allocated 4800 at 0x87efc000

ag7100_ring_alloc Allocated 3024 at 0x8787e000

AG7100: cfg1 0xf cfg2 0x7014

phy_mode_setup

Writing 4

ag7100_ring_free Freeing at 0x813b4000

ag7100_ring_free Freeing at 0x878c6000

ag7100_ring_alloc Allocated 4800 at 0x813b4000

ag7100_ring_alloc Allocated 3024 at 0x878c6000

AG7100: cfg1 0x7 cfg2 0x7014

phy_mode_setup

Writing 6

Using /lib/modules/2.6.15/net/ag7100_mod.ko
insmod: cannot insert `/lib/modules/2.6.15/net/ag7100_mod.ko': Invalid parameters (17): Invalid argument
wlctl-ath.c(5762) Wireless_Insmod :ERR:####### Wireless_Insmod #########
Using /lib/modules/2.6.15/net/adf.ko
insmod: cannot insert `/lib/modules/2.6.15/net/adf.ko': Invalid parameters (17): Invalid argument
wlctl-ath.c(5697) AtherosWirelessBaseModules_Insmod :####:insmod adf : FAILED (Perhaps, [adf] has already been added.)
Using /lib/modules/2.6.15/net/umac.ko
insmod: cannot insert `/lib/modules/2.6.15/net/umac.ko': Invalid parameters (17): Invalid argument
wlctl-ath.c(5793) Wireless_Insmod :####:insmod umac : FAILED
wlctl-ath.c(1058) wlconf_country_set :DEBUG:region=JP iCountryCode=4015
wlanconfig: ioctl: Invalid argument
[call extcmd]

ath10: set channel mask 0030

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath11: set channel mask 0030

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath12: set channel mask 0030

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath13: set channel mask 0030

wlctl-ath.c(1058) wlconf_country_set :DEBUG:region=JP iCountryCode=4015
wlanconfig: ioctl: Invalid argument
[call extcmd]

ath00: set channel mask 0038

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath01: set channel mask 0038

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath02: set channel mask 0038

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath03: set channel mask 0038

Using /lib/modules/2.6.15/net/ag7100_mod.ko
insmod: cannot insert `/lib/modules/2.6.15/net/ag7100_mod.ko': Invalid parameters (17): Invalid argument
ag7100_ring_free Freeing at 0x87efc000

ag7100_ring_free Freeing at 0x8787e000

ag7100_ring_alloc Allocated 4800 at 0x87efc000

ag7100_ring_alloc Allocated 3024 at 0x8787e000

AG7100: cfg1 0xf cfg2 0x7014

phy_mode_setup

Writing 4

ag7100_ring_free Freeing at 0x813b4000

ag7100_ring_free Freeing at 0x878c6000

ag7100_ring_alloc Allocated 4800 at 0x813b4000

ag7100_ring_alloc Allocated 3024 at 0x878c6000

AG7100: cfg1 0x7 cfg2 0x7014

phy_mode_setup

Writing 6

MidLayerModDep.c(807) startModules :INFO:Starting module init
Algorithmics/MIPS FPU Emulator v1.5

mknod: /dev/ppp: File exists
insmod: slhc.ko: no module by that name found
insmod: ppp_generic.ko: no module by that name found
insmod: ppp_mppe.ko: no module by that name found
insmod: ppp_async.ko: no module by that name found
insmod: ppp_synctty.ko: no module by that name found
insmod: pppox.ko: no module by that name found
insmod: pppoe.ko: no module by that name found
insmod: zlib_deflate.ko: no module by that name found
insmod: ppp_deflate.ko: no module by that name found
MidLayerModDep.c(819) startModules :INFO:Started  module init 235[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_tz
MidLayerModDep.c(819) startModules :INFO:Started  module rc_tz 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_syslogd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_syslogd 50[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_klogd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_klogd 521[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_mode_check
Using /lib/modules/2.6.15/net/ag7100_mod.ko
insmod: cannot insert `/lib/modules/2.6.15/net/ag7100_mod.ko': Invalid parameters (17): Invaliag7100_ring_free Freeing at 0x87efc000

ag7100_ring_free Freeing at 0x8787e000

d argument
ag7100_ring_alloc Allocated 4800 at 0x87efc000

ag7100_ring_alloc Allocated 3024 at 0x8787e000

AG7100: cfg1 0xf cfg2 0x7014

phy_mode_setup

Writing 4

ag7100_ring_free Freeing at 0x813b4000

ag7100_ring_free Freeing at 0x878c6000

ag7100_ring_alloc Allocated 4800 at 0x813b4000

ag7100_ring_alloc Allocated 3024 at 0x878c6000

AG7100: cfg1 0x7 cfg2 0x7014

phy_mode_setup

Writing 6

Cannot assign requested address
Cannot assign requested address
No such device
client.c(2563) SetAutoIP :eth0 set by AutoIP. ipaddr(169.254.49.98) netmask(255.255.0.0)
ag7100_ring_free Freeing at 0x813b4000

ag7100_ring_free Freeing at 0x878c6000

ag7100_ring_free Freeing at 0x87efc000

ag7100_ring_free Freeing at 0x8787e000

ag7100_ring_alloc Allocated 4800 at 0x87efc000

ag7100_ring_alloc Allocated 3024 at 0x8787e000

AG7100: cfg1 0xf cfg2 0x7014

phy_mode_setup

Writing 4

MidLayerModDep.c(819) startModules :INFO:Started  module rc_mode_check 10200[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_loif
MidLayerModDep.c(819) startModules :INFO:Started  module rc_loif 9[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_router_behavior
MidLayerModDep.c(819) startModules :INFO:Started  module rc_router_behavior 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module init
MidLayerModDep.c(819) startModules :INFO:Started  module init 3[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_user_passwd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_user_passwd 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_usbmod
Using /lib/modules/kernel/drivers/usb/storage/usb-storage.ko
Using /lib/modules/kernel/fs/xfs/xfs.ko
Using /lib/modules/kernel/fs/nls/nls_base.ko
Using /lib/modules/kernel/fs/fat/fat.ko
Using /lib/modules/kernel/fs/vfat/vfat.ko
Using /lib/modules/kernel/fs/nls/nls_cp932.ko
Using /lib/modules/kernel/fs/nls/nls_utf8.ko
change fat_tz_minuteswest = -540

MidLayerModDep.c(819) startModules :INFO:Started  module rc_usbmod 1039[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wiredlan
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wiredlan 10[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module id
client.c(2563) SetAutoIP :eth0 set by AutoIP. ipaddr(169.254.49.98) netmask(255.255.0.0)
No such device
MidLayerModDep.c(819) startModules :INFO:Started  module id 1002[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_lanif
wlctl-ath.c(5762) Wireless_Insmod :ERR:####### Wireless_Insmod #########
Using /lib/modules/2.6.15/net/adf.ko
insmod: cannot insert `/lib/modules/2.6.15/net/adf.ko': Invalid parameters (17): Invalid argument
wlctl-ath.c(5697) AtherosWirelessBaseModules_Insmod :####:insmod adf : FAILED (Perhaps, [adf] has already been added.)
Using /lib/modules/2.6.15/net/umac.ko
insmod: cannot insert `/lib/modules/2.6.15/net/umac.ko': Invalid parameters (17): Invalid argument
wlctl-ath.c(5793) Wireless_Insmod :####:insmod umac : FAILED
wlctl-ath.c(1058) wlconf_country_set :DEBUG:region=JP iCountryCode=4015
wlanconfig: ioctl: Invalid argument
[call extcmd]

ath10: set channel mask 0030

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath11: set channel mask 0030

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath12: set channel mask 0030

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath13: set channel mask 0030

wlctl-ath.c(1058) wlconf_country_set :DEBUG:region=JP iCountryCode=4015
wlanconfig: ioctl: Invalid argument
[call extcmd]

ath00: set channel mask 0038

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath01: set channel mask 0038

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath02: set channel mask 0038

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath03: set channel mask 0038

Using /lib/modules/kernel/drivers/buffalo/mcsnoop.ko
mcsnoop: flush all snoop entry

debug : Enter [BRCTL_ADD_RULE_IF] 

add_if 00000200 ***************************

rc_lanif.c(401) StartOfrc_lanif :x:PPPoE Path throw?


mcsnoop_br_ioctl_device:241: mcast_maxage 300000 / 1000

rc_lanif.c(422) StartOfrc_lanif :x:

 Cmd = brctl addrif br0 eth1 1026  


debug : Enter [BRCTL_ADD_RULE_IF] 

add_if 00000402 ***************************

client.c(2563) SetAutoIP :eth0 set by AutoIP. ipaddr(169.254.49.98) netmask(255.255.0.0)
Cannot assign requested address
MidLayerModDep.c(819) startModules :INFO:Started  module rc_lanif 1689[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_udhcpd
udhcpd (v0.9.9-pre) started
max_leases value (256) not sane, setting to 64 instead
MidLayerModDep.c(819) startModules :INFO:Started  module rc_udhcpd 15[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_httpd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_httpd 1011[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wireless_pre
wlctl-ath.c(5762) Wireless_Insmod :ERR:####### Wireless_Insmod #########
Using /lib/modules/2.6.15/net/adf.ko
insmod: cannot insert `/lib/modules/2.6.15/net/adf.ko': Invalid parameters (17): Invalid argument
wlctl-ath.c(5697) AtherosWirelessBaseModules_Insmod :####:insmod adf : FAILED (Perhaps, [adf] has already been added.)
Using /lib/modules/2.6.15/net/umac.ko
insmod: cannot insert `/lib/modules/2.6.15/net/umac.ko': Invalid parameters (17): Invalid argument
wlctl-ath.c(5793) Wireless_Insmod :####:insmod umac : FAILED
wlctl-ath.c(1058) wlconf_country_set :DEBUG:region=JP iCountryCode=4015
wlanconfig: ioctl: Invalid argument
[call extcmd]

ath10: set channel mask 0030

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath11: set channel mask 0030

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath12: set channel mask 0030

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath13: set channel mask 0030

wlctl-ath.c(1058) wlconf_country_set :DEBUG:region=JP iCountryCode=4015
wlanconfig: ioctl: Invalid argument
[call extcmd]

ath00: set channel mask 0038

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath01: set channel mask 0038

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath02: set channel mask 0038

wlanconfig: ioctl: Invalid argument
[call extcmd]

ath03: set channel mask 0038

MidLayerModDep.c(819) startModules :INFO:Started  module rc_wireless_pre 467[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wireless11a
Waiting for Wireless Events from interfaces...
15:00:20.396768   ath10    Set Channel:0
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wireless11a 74[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wireless11a_mac_limit
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wireless11a_mac_limit 400[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wireless11bg
ieee80211_ioctl_setparam parameter 0x2d is not supported 

Interface doesn't accept private ioctl...
countryie (8BE0): Operation not supported
ieee80211_ioctl_setparam parameter 0x28 is not supported 

Interface doesn't accept private ioctl...
bgscan (8BE0): Operation not supported
set SIOC80211NWID, 17 characters

15:00:20.916110   ath00    Set ESSID:"0024A5F1541A_G_1"
15:00:20.926097   ath00    Set Channel:0
15:00:20.956471   ath00    Set Mode:Master
ieee80211_ioctl_setparam parameter 0x24 is not supported 

Interface doesn't accept private ioctl...
burst (8BE0): Operation not supported
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
ieee80211_ioctl_setwmmparams: param 1 ac 0 bss 0 val 4

ieee80211_ioctl_setwmmparams: param 1 ac 1 bss 0 val 4

ieee80211_ioctl_setwmmparams: param 1 ac 2 bss 0 val 3

ieee80211_ioctl_setwmmparams: param 1 ac 3 bss 0 val 2

ieee80211_ioctl_setwmmparams: param 2 ac 0 bss 0 val 6

ieee80211_ioctl_setwmmparams: param 2 ac 1 bss 0 val 10

ieee80211_ioctl_setwmmparams: param 2 ac 2 bss 0 val 4

ieee80211_ioctl_setwmmparams: param 2 ac 3 bss 0 val 3

ieee80211_ioctl_setwmmparams: param 3 ac 0 bss 0 val 3

ieee80211_ioctl_setwmmparams: param 3 ac 1 bss 0 val 7

ieee80211_ioctl_setwmmparams: param 3 ac 2 bss 0 val 1

ieee80211_ioctl_setwmmparams: param 3 ac 3 bss 0 val 1

ieee80211_ioctl_setwmmparams: param 4 ac 0 bss 0 val 0

ieee80211_ioctl_setwmmparams: param 4 ac 1 bss 0 val 0

ieee80211_ioctl_setwmmparams: param 4 ac 2 bss 0 val 3008

ieee80211_ioctl_setwmmparams: param 4 ac 3 bss 0 val 1504

ieee80211_ioctl_setwmmparams: param 5 ac 0 bss 0 val 0

Interface doesn't accept private ioctl...
acm (8BE3): Invalid argument
ieee80211_ioctl_setwmmparams: param 5 ac 1 bss 0 val 0

Interface doesn't accept private ioctl...
acm (8BE3): Invalid argument
ieee80211_ioctl_setwmmparams: param 5 ac 2 bss 0 val 0

Interface doesn't accept private ioctl...
acm (8BE3): Invalid argument
ieee80211_ioctl_setwmmparams: param 5 ac 3 bss 0 val 0

Interface doesn't accept private ioctl...
acm (8BE3): Invalid argument
ieee80211_ioctl_setwmmparams: param 1 ac 0 bss 1 val 4

ieee80211_ioctl_setwmmparams: param 1 ac 1 bss 1 val 4

ieee80211_ioctl_setwmmparams: param 1 ac 2 bss 1 val 3

ieee80211_ioctl_setwmmparams: param 1 ac 3 bss 1 val 2

ieee80211_ioctl_setwmmparams: param 2 ac 0 bss 1 val 10

ieee80211_ioctl_setwmmparams: param 2 ac 1 bss 1 val 10

ieee80211_ioctl_setwmmparams: param 2 ac 2 bss 1 val 4

ieee80211_ioctl_setwmmparams: param 2 ac 3 bss 1 val 3

ieee80211_ioctl_setwmmparams: param 3 ac 0 bss 1 val 3

ieee80211_ioctl_setwmmparams: param 3 ac 1 bss 1 val 7

ieee80211_ioctl_setwmmparams: param 3 ac 2 bss 1 val 2

ieee80211_ioctl_setwmmparams: param 3 ac 3 bss 1 val 2

ieee80211_ioctl_setwmmparams: param 4 ac 0 bss 1 val 0

ieee80211_ioctl_setwmmparams: param 4 ac 1 bss 1 val 0

ieee80211_ioctl_setwmmparams: param 4 ac 2 bss 1 val 3008

ieee80211_ioctl_setwmmparams: param 4 ac 3 bss 1 val 1504

ieee80211_ioctl_setwmmparams: param 5 ac 0 bss 1 val 0

ieee80211_ioctl_setwmmparams: param 5 ac 1 bss 1 val 0

ieee80211_ioctl_setwmmparams: param 5 ac 2 bss 1 val 0

ieee80211_ioctl_setwmmparams: param 5 ac 3 bss 1 val 0

set Buffalo Capability = 00000009

MidLayerModDep.c(819) startModules :INFO:Started  module rc_wireless11bg 657[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wireless11bg_mac_limit
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wireless11bg_mac_limit 433[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wireless_post
start running

debug : Enter [BRCTL_ADD_RULE_IF] 

add_if 00000100 ***************************

debug : Enter [BRCTL_ADD_RULE_IF] 

add_if 00000100 ***************************

rcUtil.c(1441) AddMbssidInterface_core :ERR:--------------wlconf_mbssid_up() call------------------
ieee80211_ioctl_setparam parameter 0x2d is not supported 

Interface doesn't accept private ioctl...
countryie (8BE0): Operation not supported
set SIOC80211NWID, 17 characters

15:00:22.023124   ath01    Set ESSID:"0024A5F1541A_G_2"
15:00:22.032957   ath01    Set Mode:Master
ieee80211_ioctl_setparam parameter 0x24 is not supported 

Interface doesn't accept private ioctl...
burst (8BE0): Operation not supported
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
AutoChannel Selected Ch40

ieee80211_ioctl_setwmmparams: param 1 ac 0 bss 0 val 4

ieee80211_ioctl_setwmmparams: param 1 ac 1 bss 0 val 4

ieee80211_ioctl_setwmmparams: param 1 ac 2 bss 0 val 3

ieee80211_ioctl_setwmmparams: param 1 ac 3 bss 0 val 2

ieee80211_ioctl_setwmmparams: param 2 ac 0 bss 0 val 6

ieee80211_ioctl_setwmmparams: param 2 ac 1 bss 0 val 10

ieee80211_ioctl_setwmmparams: param 2 ac 2 bss 0 val 4

ieee80211_ioctl_setwmmparams: param 2 ac 3 bss 0 val 3

ieee80211_ioctl_setwmmparams: param 3 ac 0 bss 0 val 3

ieee80211_ioctl_setwmmparams: param 3 ac 1 bss 0 val 7

ieee80211_ioctl_setwmmparams: param 3 ac 2 bss 0 val 1

ieee80211_ioctl_setwmmparams: param 3 ac 3 bss 0 val 1

ieee80211_ioctl_setwmmparams: param 4 ac 0 bss 0 val 0

ieee80211_ioctl_setwmmparams: param 4 ac 1 bss 0 val 0

ieee80211_ioctl_setwmmparams: param 4 ac 2 bss 0 val 3008

ieee80211_ioctl_setwmmparams: param 4 ac 3 bss 0 val 1504

ieee80211_ioctl_setwmmparams: param 5 ac 0 bss 0 val 0

Interface doesn't accept private ioctl...
acm (8BE3): Invalid argument
ieee80211_ioctl_setwmmparams: param 5 ac 1 bss 0 val 0

Interface doesn't accept private ioctl...
acm (8BE3): Invalid argument
ieee80211_ioctl_setwmmparams: param 5 ac 2 bss 0 val 0

Interface doesn't accept private ioctl...
acm (8BE3): Invalid argument
ieee80211_ioctl_setwmmparams: param 5 ac 3 bss 0 val 0

Interface doesn't accept private ioctl...
acm (8BE3): Invalid argument
ieee80211_ioctl_setwmmparams: param 1 ac 0 bss 1 val 4

ieee80211_ioctl_setwmmparams: param 1 ac 1 bss 1 val 4

ieee80211_ioctl_setwmmparams: param 1 ac 2 bss 1 val 3

ieee80211_ioctl_setwmmparams: param 1 ac 3 bss 1 val 2

ieee80211_ioctl_setwmmparams: param 2 ac 0 bss 1 val 10

ieee80211_ioctl_setwmmparams: param 2 ac 1 bss 1 val 10

ieee80211_ioctl_setwmmparams: param 2 ac 2 bss 1 val 4

ieee80211_ioctl_setwmmparams: param 2 ac 3 bss 1 val 3

ieee80211_ioctl_setwmmparams: param 3 ac 0 bss 1 val 3

ieee80211_ioctl_setwmmparams: param 3 ac 1 bss 1 val 7

ieee80211_ioctl_setwmmparams: param 3 ac 2 bss 1 val 2

ieee80211_ioctl_setwmmparams: param 3 ac 3 bss 1 val 2

ieee80211_ioctl_setwmmparams: param 4 ac 0 bss 1 val 0

ieee80211_ioctl_setwmmparams: param 4 ac 1 bss 1 val 0

ieee80211_ioctl_setwmmparams: param 4 ac 2 bss 1 val 3008

ieee80211_ioctl_setwmmparams: param 4 ac 3 bss 1 val 1504

ieee80211_ioctl_setwmmparams: param 5 ac 0 bss 1 val 0

ieee80211_ioctl_setwmmparams: param 5 ac 1 bss 1 val 0

ieee80211_ioctl_setwmmparams: param 5 ac 2 bss 1 val 0

ieee80211_ioctl_setwmmparams: param 5 ac 3 bss 1 val 0

set Buffalo Capability = 00000009

start running

debug : Enter [BRCTL_ADD_RULE_IF] 

add_if 00000100 ***************************

MidLayerModDep.c(819) startModules :INFO:Started  module rc_wireless_post 745[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_nas
killall: hostapd: no process killed
MidLayerModDep.c(819) startModules :INFO:Started  module rc_nas 73[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_aoss_mssid
MidLayerModDep.c(819) startModules :INFO:Started  module rc_aoss_mssid 58[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ap_serv
Configuration file: /tmp/hostapd.conf_ath01
->setpid 0x10001080
pid: /var/run/hostapd.ath01.pid
Configuration file: /tmp/hostapdCHH:osif_vap_stop Stopping OSIF VAP

.conf_ath00
->sosif_vap_stop : stopping AP vap 

etpid 0x10001080osif_vap_down : sending MLME Event 


pid: /var/run/hostapd.ath00.pid
15:00:22.956009   ath01    Set Mode:Master
Using interface ath01 with hwaddr 06:24:a5:f1:54:1a and ssid '0024A5F1541A_G_2'
server.c(258)start_ap_serv_server:INFO:---- Start !! ap_servd child process (port=22359[5757]).
server.c(110)standalone_ap_serv_server:INFO:listen device name = br0
server.c(263)start_ap_serv_server:INFO:---- Start !! ap_servd child process (port=22616[5858]).
server.c(110)standalone_ap_serv_server:INFO:listen device name = br0
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ap_serv 249[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanif
15:00:23.140979 CHH:osif_vap_stop Stopping OSIF VAP

  ath00    Set Mosif_vap_stop : stopping AP vap 

ode:Master
osif_vap_down : sending MLME Event 

Using interface ath00 with hwaddr 00:24:a5:f1:54:1a and ssid '0024A5F1541A_G_1'
ieee80211_ioctl_setparam Warning: wlan_set_mcast_cipher failed. cache the mcast cipher 

set IEEE80211_IOC_UCASTCIPHERS (0x8)    AES-CCMP  

ieee80211_ioctl_setparam Warning: wlan_set_ucast_cipher failed. cache the ucast cipher

set IEEE80211_IOC_KEYMGTALGS (0x2)  802.1x PSK

set IEEE80211_IOC_RSNCAPS to 0x0

set IEEE80211_IOC_WPA to WPA

set IEEE80211_IOC_AUTHMODE to WPA

start running

Flushing old station entries
Deauthenticate all stations
l2_packet_receive - recvfrom: Network is down
l2_packet_receive - recvfrom: Network is down
ieee80211_ioctl_setparam Warning: wlan_set_mcast_cipher failed. cache the mcast cipher 

set IEEE80211_IOC_UCASTCIPHERS (0xa)  TKIP  AES-CCMP  

ieee80211_ioctl_setparam Warning: wlan_set_ucast_cipher failed. cache the ucast cipher

set IEEE80211_IOC_KEYMGTALGS (0x2)  802.1x PSK

set IEEE80211_IOC_RSNCAPS to 0x0

set IEEE80211_IOC_WPA to WPA and RSN

set IEEE80211_IOC_AUTHMODE to WPA

start running

Flushing old station entries
Deauthenticate all stations
l2_packet_receive - recvfrom: Network is down
l2_packet_receive - recvfrom: Network is down
AutoChannel Selected Ch6

osif_acs_start_bss :vap up 

osif_acs_start_bss :vap up 

Cannot assign reag7100_ring_alloc Allocated 4800 at 0x86cf6000

quested address
ag7100_ring_alloc Allocated 3024 at 0x8693d000

AG7100: cfg1 0x7 cfg2 0x7014

phy_mode_setup

Writing 6

MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanif 2036[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pre
Operation not supported
Operation not supported
ag7100_ring_free Freeing at 0x86cf6000

ag7100_ring_free Freeing at 0x8693d000

ag7100_ring_alloc Allocated 4800 at 0x86cf6000

ag7100_ring_alloc Allocated 3024 at 0x8693d000

AG7100: cfg1 0x7 cfg2 0x7014

phy_mode_setup

Writing 6

MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pre 6086[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect 3082[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect_dummy
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect_dummy 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect_dhcpcd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect_dhcpcd 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect_pppoecd_0
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect_pppoecd_0 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect_pppoecd_1
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect_pppoecd_1 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect_pppoecd_2
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect_pppoecd_2 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect_pppoecd_3
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect_pppoecd_3 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect_pppoecd_4
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect_pppoecd_4 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_auto_detect_pppoecd_check
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_auto_detect_pppoecd_check 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_manual
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_manual 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_dhcpcd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_dhcpcd 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pppoecd_0
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pppoecd_0 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pppoecd_1
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pppoecd_1 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pppoecd_2
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pppoecd_2 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pppoecd_3
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pppoecd_3 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pppoecd_4
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pppoecd_4 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pppoecd_check
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pppoecd_check 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_post
route: SIOC[ADD|DEL]RT: No such process
Cannot assign requested address
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_post 1085[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wanctl_pppoeroute
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wanctl_pppoeroute 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_dnrd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_dnrd 14[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_netwatchd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_netwatchd 39[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ipfilter
iptables: Bad rule (does a matching rule exist in that chain?)
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ipfilter 484[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ipfilter_simple
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ipfilter_simple 56[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ipfilter_user
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ipfilter_user 1[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ipfilter_pptp
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ipfilter_pptp 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_nat
Using /lib/modules/kernel/net/ipv4/netfilter/ip_conntrack_pptp.ko
ip_conntrack_pptp version 3.1 loaded

Using /lib/modules/kernel/net/ipv4/netfilter/ip_nat_pptp.ko
ip_nat_pptp version 3.0 loaded

MidLayerModDep.c(819) startModules :INFO:Started  module rc_nat 143[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_routectl
MidLayerModDep.c(819) startModules :INFO:Started  module rc_routectl 31[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_lltd
MidLayerModDep.c(819) startModules :INFO:Started  module rc_lltd 78[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wsc
killall: wsccmd: no process killed
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wsc 230[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_upnp
*********************************************
Wi-Fi Simple Config Application - Intel Corp.
Version: Build 0.3.1d, April 24 2006
*********************************************
iptables v1.3.5: Couldn't find target `UPNP-PREROUTING-CHAIN'

Try `iptables -h' or 'iptables --help' for more information.
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
wanctl-wanstate_check.c(51) wanstate_check_main :wanctl:Start wanstate_check Daemon
Initializing stack... OK
Now starting stack
MidLayerModDep.c(819) startModules :INFO:Started  module rc_upnp 2628[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_movie_engine
wlctl-ath.c(3270) wlconf_chg_movie_engine_profile :x:MOVIE_ENGINE_MODE_OFF
mcsnoop_br_ioctl_device:241: mcast_maxage 300000 / 1000

Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]

ath00     extcmd:
DEVICE PIN: 31157582

******* MODE: AP with built-in Registrar and UPnP Proxy *******

checking for PUSH BUTTON
devpwd is not setted, but start InitiateRegistrarion.
Waiting for Client to connect(using IEs)...
[call extcmd]

ath00     extcmd:
set Buffalo Capability = 00000009

[call extcmd]

ath00     extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]

ath01     extcmd:
[call extcmd]

ath01     extcmd:
set Buffalo Capability = 00000009

[call extcmd]

ath01     extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]

ath02     extcmd:
[call extcmd]

ath02     extcmd:
set Buffalo Capability = 00000009

[call extcmd]

ath02     extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]

ath03     extcmd:
[call extcmd]

ath03     extcmd:
set Buffalo Capability = 00000009

[call extcmd]

ath03     extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]

ath10     extcmd:
[call extcmd]

ath10     extcmd:
set Buffalo Capability = 00000009

[call extcmd]

ath10     extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]

ath11     extcmd:
[call extcmd]

ath11     extcmd:
set Buffalo Capability = 00000009

[call extcmd]

ath11     extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]

ath12     extcmd:
[call extcmd]

ath12     extcmd:
set Buffalo Capability = 00000009

[call extcmd]

ath12     extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]

ath13     extcmd:
[call extcmd]

ath13     extcmd:
set Buffalo Capability = 00000009

[call extcmd]

ath13     extcmd:
wlctl-ath.c(3118) wlconf_modified_reset_paththrow :x:(IPv6) AS_BEHAVIOR_MODE_ROUTER
wlctl-ath.c(3143) wlconf_modebug : Enter [BRCTL_ADD_RULE_IF] 

dified_reset_patadd_if 00000402 ***************************

hthrow :x:Cmd = brctl addrif br0 eth1 1026  


MidLayerModDep.c(819) startModules :INFO:Started  module rc_movie_engine 1213[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ntpclient
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ntpclient 27[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_eco
MidLayerModDep.c(819) startModules :INFO:Started  module rc_eco 63[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_wan_qos
MidLayerModDep.c(819) startModules :INFO:Started  module rc_wan_qos 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_pptp_server
MidLayerModDep.c(819) startModules :INFO:Started  module rc_pptp_server 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_pptp_server_route
ntp.jst.mfeed.ad.jp: Unknown host
MidLayerModDep.c(819) startModules :INFO:Started  module rc_pptp_server_route 44[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_nastorage
MidLayerModDep.c(819) startModules :INFO:Started  module rc_nastorage 3[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_ifilter
MidLayerModDep.c(819) startModules :INFO:Started  module rc_ifilter 0[msec]
MidLayerModDep.c(807) startModules :INFO:Starting module rc_end_signal
MidLayerModDep.c(819) startModules :INFO:Started  module rc_end_signal 19[msec]
cannot open connection to btpd in //.btpd (No such file or directory).
killall: twonkymedia: no process killed
killall: twonkymediaserver: no process killed
rc_nastorage.c(1910) NastorageStop_BitTorrent2 :x:btpd STOP-SUCCESS (0 sec)
rcUtil_usb.c(1316) UsbStorageInfo_Update :x:UsbStorageInfo_Update
MidLayerLEDSW.c(1646) MLLE_WaitSwitch :x:Modified Movie Engine Switch
wlctl-ath.c(3270) wlconf_chg_movie_engine_profile :x:MOVIE_ENGINE_MODE_OFF
mcsnoop_br_ioctl_device:241: mcast_maxage 300000 / 1000

Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]

ath00     extcmd:
[call extcmd]

ath00     extcmd:
set Buffalo Capability = 00000009

[call extcmd]

ath00     extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]

ath01     extcmd:
[call extcmd]

ath01     extcmd:
set Buffalo Capability = 00000009

[call extcmd]

ath01     extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]

ath02     extcmd:
[call extcmd]

ath02     extcmd:
set Buffalo Capability = 00000009

[call extcmd]

ath02     extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]

ath03     extcmd:
[call extcmd]

ath03     extcmd:
set Buffalo Capability = 00000009

[call extcmd]

ath03     extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]

ath10     extcmd:
[call extcmd]

ath10     extcmd:
set Buffalo Capability = 00000009

[call extcmd]

ath10     extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]

ath11     extcmd:
[call extcmd]

ath11     extcmd:
set Buffalo Capability = 00000009

[call extcmd]

ath11     extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]

ath12     extcmd:
[call extcmd]

ath12     extcmd:
set Buffalo Capability = 00000009

[call extcmd]

ath12     extcmd:
Interface doesn't accept private ioctl...
mcast_rate (8BE0): Invalid argument
[call extcmd]

ath13     extcmd:
[call extcmd]

ath13     extcmd:
set Buffalo Capability = 00000009

[call extcmd]

ath13     extcmd:
wlctl-ath.c(3118) wlconf_modified_reset_paththrow :x:(IPv6) AS_BEHAVIOR_MODE_ROUTER
wlctl-ath.cdebug : Enter [BRCTL_ADD_RULE_IF] 

(3143) wlconf_moadd_if 00000402 ***************************

dified_reset_paththrow :x:Cmd = brctl addrif br0 eth1 1026  


ARPING to 192.168.11.1 from 192.168.11.1 via br0
Sent 1 probes (1 broadcast(s))
Received 0 reply
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
15:02:36.583386   ath00    Association Request IEs:4D616E6167652E70726F625F72657120323336000000000000000000000040000000FFFFFFFFFFFF446D570856ABFFFFFFFFFFFF502D0000010882848B96122
15:02:36.584696   ath01    Association Request IEs:4D616E6167652E70726F625F72657120323336000000000000000000000040000000FFFFFFFFFFFF446D570856ABFFFFFFFFFFFF502D0000010882848B96122
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
15:03:36.588430   ath00    Association Request IEs:4D616E6167652E70726F625F72657120323336000000000000000000000040000000FFFFFFFFFFFF446D570856ABFFFFFFFFFFFF502E0000010882848B96122
15:03:36.589739   ath01    Association Request IEs:4D616E6167652E70726F625F72657120323336000000000000000000000040000000FFFFFFFFFFFF446D570856ABFFFFFFFFFFFF502E0000010882848B96122
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
15:10:02.595240   ath00    Association Request IEs:4D616E6167652E70726F625F72657120323335000000000000000000000040000000FFFFFFFFFFFFD8B12AF6EFB2FFFFFFFFFFFF4034000A30303030646F636
15:10:02.596543   ath01    Association Request IEs:4D616E6167652E70726F625F72657120323335000000000000000000000040000000FFFFFFFFFFFFD8B12AF6EFB2FFFFFFFFFFFF4034000A30303030646F636
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
15:10:02.627629   ath00    Association Request IEs:4D616E6167652E70726F625F72657120323335000000000000000000000040000000FFFFFFFFFFFFD8B12AF6EFB2FFFFFFFFFFFFA034000A30303030646F636
15:10:02.628933   ath01    Association Request IEs:4D616E6167652E70726F625F72657120323335000000000000000000000040000000FFFFFFFFFFFFD8B12AF6EFB2FFFFFFFFFFFFA034000A30303030646F636
Malformed netlink message: len=300 left=256 plen=284
256 extra bytes in the end of netlink message
Malformed netlink message: len=300 left=256 plen=284
256 extra bytes in the end of netlink message
Malformed netlink message: len=300 left=256 plen=284
256 extra bytes in the end of netlink message
Malformed netlink message: len=300 left=256 plen=284
256 extra bytes in the end of netlink message
15:10:02.668994   ath00    Association Request IEs:4D616E6167652E70726F625F72657120323235000000000000000000000040000000FFFFFFFFFFFFD8B12AF6EFB2FFFFFFFFFFFF10350000010402040B16320
15:10:02.670254   ath01    Association Request IEs:4D616E6167652E70726F625F72657120323235000000000000000000000040000000FFFFFFFFFFFFD8B12AF6EFB2FFFFFFFFFFFF10350000010402040B16320
Malformed netlink message: len=308 left=256 plen=292
256 extra bytes in the end of netlink message
Malformed netlink message: len=308 left=256 plen=292
256 extra bytes in the end of netlink message
Malformed netlink message: len=308 left=256 plen=292
256 extra bytes in the end of netlink message
Malformed netlink message: len=308 left=256 plen=292
256 extra bytes in the end of netlink message
15:10:05.699239   ath00    Association Request IEs:4D616E6167652E70726F625F72657120323331000000000000000000000040000000FFFFFFFFFFFFD8B12AF6EFB2FFFFFFFFFFFFC03C0006646F636F6D6F010
15:10:05.700614   ath01    Association Request IEs:4D616E6167652E70726F625F72657120323331000000000000000000000040000000FFFFFFFFFFFFD8B12AF6EFB2FFFFFFFFFFFFC03C0006646F636F6D6F010
Malformed netlink message: len=308 left=256 plen=292
256 extra bytes in the end of netlink message
Malformed netlink message: len=308 left=256 plen=292
256 extra bytes in the end of netlink message
Malformed netlink message: len=308 left=256 plen=292
256 extra bytes in the end of netlink message
Malformed netlink message: len=308 left=256 plen=292
256 extra bytes in the end of netlink message
15:10:05.723329   ath00    Association Request IEs:4D616E6167652E70726F625F72657120323331000000000000000000000040000000FFFFFFFFFFFFD8B12AF6EFB2FFFFFFFFFFFF003D0006646F636F6D6F010
15:10:05.724611   ath01    Association Request IEs:4D616E6167652E70726F625F72657120323331000000000000000000000040000000FFFFFFFFFFFFD8B12AF6EFB2FFFFFFFFFFFF003D0006646F636F6D6F010
15:10:05.726509   ath00    Association Request IEs:4D616E6167652E70726F625F72657120323335000000000000000000000040000000FFFFFFFFFFFFD8B12AF6EFB2FFFFFFFFFFFF103D000A30303030646F636
15:10:05.727876   ath01    Association Request IEs:4D616E6167652E70726F625F72657120323335000000000000000000000040000000FFFFFFFFFFFFD8B12AF6EFB2FFFFFFFFFFFF103D000A30303030646F636
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
Malformed netlink message: len=312 left=256 plen=296
256 extra bytes in the end of netlink message
ntp.jst.mfeed.ad.jp: Unknown host