Planex MZK-WNHのdmesg

HP MicroServerを買う時に、Planex MZK-WNHというWiFiルーターを付けてくれるという所があって、それを選んで買ってみた。後で調べてみると、投げ売りされているものらしい。

Android phoneのWiFi接続のために使えないかと思っていたのだが、実際に試してみると、DHCPでIPアドレス等を設定できない。MacBook Air mid2012をOS Xで動かして接続しようとしても、電波は検出するが、DHCPがだめだった。
このOS Xの方はまあ使ってないので良いとしても、Android phoneで駄目なのは致命的なので、使えない。
Kindle Fireでも、
http://www.amazon.co.jp/forum/kindle?cdForum=Fx1QMZAIPKWB6YF&cdPage=4&cdThread=TxV961QLAB4FCF
にあるようにつなげないらしいので、相性が悪いのだろう。と言うか、MZK-WNHがおかしいのだろう。

使い道がないかと考えてふと、DD-WRT/OpenWrtのことを思い出して検索したら、

http://ranosgrant.cocolog-nifty.com/blog/2013/03/planex-mzk-wnh-.html

にあるようにイメージを公開してくださっている人がいる。
/proc/cpuinfoの情報を見ると、MIPSらしい。
自分でdmesgを見てみたくて、シリアルコンソールはないかと検索してみた。

http://www.srchack.org/article.php?story=20120902005931516

写真付きで解説してくださっている方がいた。
そこで、自分もやってみた。

U-Boot 1.1.3 (Nov 7 2008 - 13:35:55)

Board: Ralink APSoC DRAM: 16 MB
relocate_code Pointer at: 80fa8000
****************************
Init GPIO Pin****************************
flash_protect ON: from 0xBFC00000 to 0xBFC26213
protect on 0
protect on 1
protect on 2
protect on 3
protect on 4
protect on 5
protect on 6
protect on 7
protect on 8
protect on 9
flash_protect ON: from 0xBFC30000 to 0xBFC3FFFF
protect on 10
*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 3.1
--------------------------------------------
ASIC 3052_MP1 (MAC to GigaMAC Mode)
DRAM COMPONENT: 256Mbits
DRAM BUS: 16BIT
Total memory: 32 MBytes
Flash: 4 MBytes
Date:Nov 7 2008 Time:13:35:55
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

##### The CPU freq = 320 MHZ ####

SDRAM bus set to 16 bit
SDRAM size =16 Mbytes

Please choose the operation:
0: Load ucos code to SDRAM via TFTP Client.
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
9: Load Boot Loader code then write to Flash via TFTP. 0

3: System Boot system code via Flash.
## Booting image at bfc50000 ...
Bad Magic Number,43535953
Image Name: Linux Kernel Image
Created: 2010-03-05 9:20:27 UTC

System Control Status = 0x21000000
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 2903980 Bytes = 2.8 MB
Load Address: 80000000
Entry Point: 802b6000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 802b6000) ...
## Giving linux memsize in MB, 16

Starting kernel ...


LINUX started...

THIS IS ASIC
Linux version 2.6.21 (root@localhost.localdomain) (gcc version 3.4.2) #3 Fri Mar 5 11:22:34 CST 2010

The CPU feqenuce set to 320 MHz
CPU revision is: 0001964c
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
Built 1 zonelists. Total pages: 4064
Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock4
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 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
cause = 10800060, status = 1100ff00
PID hash table entries: 64 (order: 6, 256 bytes)
calculating r4koff... 00138800(1280000)
CPU frequency 320.00 MHz
Using 160.000 MHz high precision timer.
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 13248k/16384k available (2254k kernel code, 3136k reserved, 517k data, 116k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
io scheduler noop registered (default)
FLASH_API: MAN_ID=C2 DEV_ID=22A8 SIZE=4MB
***********Init LED Driver*****************
Init GPIO Pin
Init GPIO Direction
Init GPIO Interrupt
***********Init LED Driver Finishing*****************
Ralink_gpio_init_irq
LED & GPIO & LAN Status Driver LED_VERSION
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.3 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
loop: loaded (max 8 devices)
rdm_major = 254
GDMA1_MAC_ADRH -- : 0x00000000
GDMA1_MAC_ADRL -- : 0x00000000
Ralink APSoC Ethernet Driver Initilization. v1.60 256 rx/tx descriptors allocated, mtu = 1500!
GDMA1_MAC_ADRH -- : 0x0000000c
GDMA1_MAC_ADRL -- : 0x43305277
PROC INIT OK!
PPP generic driver version 2.4.2
PPP BSD Compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V0.17
PPTP driver version 0.8.2
ralink flash device: 0x1000000 at 0xbf000000
Ralink SoC physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Creating 7 MTD partitions on "Ralink SoC physically mapped flash":
0x00000000-0x00030000 : "Bootloader"
mtd: Giving out device 0 to Bootloader
0x00030000-0x00040000 : "Config "
mtd: Giving out device 1 to Config
0x00040000-0x00050000 : "Factory"
mtd: Giving out device 2 to Factory
0x00050000-0x00160000 : "Kernel"
mtd: Giving out device 3 to Kernel
0x00160000-0x003e0000 : "RootFS"
mtd: Giving out device 4 to RootFS
0x003e0000-0x00400000 : "Cimage"
mtd: Giving out device 5 to Cimage
0x00050000-0x003e0000 : "Uimage"
mtd: Giving out device 6 to Uimage
block2mtd: version $Revision: 1.1.1.1 $
usbmon: debugfs is not available
u32 classifier
Performance counters on
nf_conntrack version 0.5.0 (128 buckets, 1024 max)
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Fully Cone
ClusterIP Version 0.8 loaded successfully
arp_tables: (C) 2002 David S. Miller
ipt_time loading
TCP cubic 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: 116k freed
init started: BusyBox v1.15.2 (2010-02-11 17:55:09 CST)
starting pid 596, tty '': '/etc/rc.sh'
cannot run '/etc/rc.sh': No such file or directory

starting pid 597, tty '': '-/bin/sh'console.
Algorithmics/MIPS FPU Emulator v1.5


BusyBox v1.15.2 (2010-02-11 17:55:09 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Sat Jan 1 00:00:00 UTC 2000
ralink_gpio:ioctl GPIO REG
ralink_gpio:ioctl GPIO REG
insmod: can't insert '/bin/alg/nf_nat_': No such file or directory
killall: pptp.sh: no process killed
killall: pppoe.sh: no process killed
Close Wan(eth2.2) Interface!!
No dnrd daemon found. Exiting.
No dnrd daemon found. Exiting.
cat: can't open '/etc/resolv.conf': No such file or directory

phy_tx_ring = 0x009f0000, tx_ring = 0xa09f0000, size: 16 bytes

phy_rx_ring = 0x009f1000, rx_ring = 0xa09f1000, size: 16 bytes
RT305x_ESW: Link Status Changed
GDMA1_FWD_CFG = 710000
ra2880stop()...Done
Free TX/RX Ring Memory!
GDMA1_MAC_ADRH -- : 0x00000022
GDMA1_MAC_ADRL -- : 0xcf0a72d4

phy_tx_ring = 0x0092a000, tx_ring = 0xa092a000, size: 16 bytes

phy_rx_ring = 0x0092b000, rx_ring = 0xa092b000, size: 16 bytes
GDMA1_FWD_CFG = 710000
eth2.1: Setting MAC address to 00 22 cf 0a 72 d4.
VLAN (eth2.1): Underlying device (eth2) has same MAC, not checking promiscious mode.
eth2.2: Setting MAC address to 00 90 cc e8 16 af.
device eth2 entered promiscuous mode
VLAN (eth2.2): Setting underlying device (eth2) to promiscious mode.
Initialize WLAN interface
****************Use External RADIUS******************
rt2860v2_ap: module license 'unspecified' taints kernel.
2860 version : 1.9.0.0 (Mar 5 2010)


=== pAd = c100f000, size = 485040 ===

<-- RTMPAllocAdapterBlock, Status=0
RX DESC a0bb2000 size = 2048
<-- RTMPAllocTxRxRingMemory, Status=0
1. Phy Mode = 9
2. Phy Mode = 9
3. Phy Mode = 9
MCS Set = ff 00 00 00 00
Main bssid = 00:22:cf:0a:72:d4
The UUID Hex string is:2880288028801880a8800022cf0a72d4
The UUID ASCII string is:28802880-2880-1880-a880-0022cf0a72d4!
<==== RTMPInitialize, Status=0
0x1300 = 00064380
Setup BRIDGE interface
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
bridge br0 doesn't exist; can't delete it
Setup bridge...
device eth2.1 entered promiscuous mode
eth2.1: dev_set_promiscuity(master, 1)
route: ioctl 0x890c failed: No such process
device ra0 entered promiscuous mode
route: ioctl 0x890c failed: No such process
br0: port 2(ra0) entering learning state
br0: port 1(eth2.1) entering learning state
br0: topology change detected, propagating
br0: port 2(ra0) entering forwarding state
br0: topology change detected, propagating
br0: port 1(eth2.1) entering forwarding state
route: ioctl 0x890c failed: No such process
route: ioctl 0x890c failed: No such process
------> 802.1x--------->Enter
------> 802.1x------>Exit
****************** Router Mode ******************
Static DHCP Leases disable!
route: ioctl 0x890c failed: No such process
Setup WAN interface
Close Wan(eth2.2) Interface!!
ERROR: Couldn't kill dnrd: No such process
No dnrd daemon found. Exiting.
cat: can't open '/etc/resolv.conf': No such file or directory
device eth2 is not a slave of br0
device eth2.1 is already a member of a bridge; can't enslave it to bridge br0.
switch reg write offset=14, value=405555
switch reg write offset=50, value=2001
switch reg write offset=98, value=7f3f
switch reg write offset=e4, value=3f
switch reg write offset=40, value=1001
switch reg write offset=44, value=1001
switch reg write offset=48, value=1002
switch reg write offset=70, value=ffff506f
Set: phy[0].reg[0] = b100
Set: phy[1].reg[0] = b100
Set: phy[2].reg[0] = b100
Set: phy[3].reg[0] = b100
Set: phy[4].reg[0] = b100
**********************************************************************
* Running Diagd *
**********************************************************************
**********************************************************************
* Enable WSC_UPnP *
**********************************************************************
killall: snmpd: no process killed
udhcpc (v1.15.2) started
into eth2.2.deconfig
**********************************************************************
* Enable LLTD *
**********************************************************************
killall: lld2d: no process killed
libupnp: using UDP SSDP_PORT = 1900
**********************************************************************
* Enable GPIO Interrupt *
**********************************************************************
killall: watchdog.sh: no process killed
ip_table: set wan_name=eth2.2
killall: radiusd: no process killed
RADIUS server disable !!
device ra1 entered promiscuous mode
br0: port 3(ra1) entering learning state
br0: topology change detected, propagating
br0: port 3(ra1) entering forwarding state
interface ra-1 does not exist!
interface ra-1 does not exist!
interface ra-1 does not exist!
interface ra-1 does not exist!
interface ra-1 does not exist!
ReInit APMIB
**********************************************************************
* FREE Page,Dentries and Inodes Cache *
**********************************************************************
MemFree: 3980 kB
Cached: 1612 kB
ReInit APMIB

Comments

Popular posts from this blog

#5000へCメールを送れないau端末でezweb.ne.jpの電子メールアドレスをIMAP4/SMTPで扱う方法

Vaio Pro 11/13用のサードパーティーのACアダプター

Windows 7 Professional用のNFSクライアントを使う (NFS 4.1のみ)