物好き者

物好き者が行ったことを載せています。

スポンサーサイト

上記の広告は1ヶ月以上更新のないブログに表示されています。
新しい記事を書く事で広告が消せます。

PageTop

OpenWRT15534コンパイルしたものを起動してみました

OpenWRT15534をコンパイルして、WZR-AMPG!44NHで起動してみました。
コンパイルはMarvell Orionに変更した後に、Kernel modules>Wireless Driversで下記をを組み込むようにしました。
kmod-ath5k・kmod-ath9k・kmod-b43・kmod-b43legacy・kmod-ieee80211・kmod-mac80211-hwsim・kmod-madwifi

WZR-G144Nの無線NICと元の無線NICを1枚接続した状態で起動しました。

root@OpenWrt:/# dmesg
Linux version 2.6.28.9 (root@vm-Fedora10.localdomain) (gcc version 4.1.2) #1 Fri May 1 23:05:50 JST 2009
CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a0053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Linksys WRT350N v2
Clearing invalid memory bank 0KB@0xffffffff
Clearing invalid memory bank 0KB@0xffffffff
Clearing invalid memory bank 0KB@0xffffffff
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat c03ffe00, node_mem_map c0414000
Normal zone: 64 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 8128 pages, LIFO batch:0
Movable zone: 0 pages used for memmap
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: root=/dev/mtdblock1 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200 init=/etc/preinit
PID hash table entries: 128 (order: 7, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 28312KB available (1808K code, 136K data, 2188K init)
Calibrating delay loop... 332.59 BogoMIPS (lpj=1662976)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 476 bytes
NET: Registered protocol family 16
Orion ID: MV88F5181-Rev-B1. TCLK=166666667.
Applying Orion-1/Orion-NAS PCIe config read transaction workaround
pci 0000:00:00.0: reg 10 64bit mmio: [0xf1000000-0xf10fffff]
pci 0000:00:00.0: reg 18 32bit mmio: [0x000000-0x1ffffff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:01:00.0: reg 10 64bit mmio: [0x000000-0x1ffffff]
pci 0000:01:00.0: reg 18 64bit mmio: [0x10000000-0x1fffffff]
pci 0000:01:00.0: reg 20 64bit mmio: [0xf1000000-0xf10fffff]
pci 0000:01:00.0: reg 30 32bit mmio: [0xe0000000-0xe7ffffff]
pci 0000:01:00.0: supports D1 D2
pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
pci 0000:01:00.0: PME# disabled
pci 0000:01:07.0: reg 10 32bit mmio: [0x40000000-0x40003fff]
pci 0000:01:08.0: reg 10 32bit mmio: [0xd0000000-0xd000ffff]
pci 0000:01:08.0: reg 14 32bit mmio: [0xc0000000-0xc000ffff]
PCI: bus1: Fast back to back transfers disabled
NET: Registered protocol family 2
Switched to high resolution mode on CPU 0
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY) c 2001-2006 Red Hat, Inc.
msgmni has been set to 55
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A
console [ttyS0] enabled
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:16:01:9b:c0:92
physmap platform flash device: 00800000 at f4000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-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.
cmdlinepart partition parsing not available
Searching for RedBoot partition table in physmap-flash.0 at offset 0x7f0000
No RedBoot partition table detected in physmap-flash.0
Using physmap partition information
Creating 3 MTD partitions on "physmap-flash.0":
0x00000000-0x00100000 : "kernel"
0x00100000-0x00750000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
split_squashfs: no squashfs found in "physmap-flash.0"
0x007c0000-0x00800000 : "u-boot"
i2c /dev entries driver
TCP westwood registered
NET: Registered protocol family 17
Distributed Switch Architecture driver version 0.1
eth0: detected a Marvell 88E6131 switch
dsa slave smi: probed
802.1Q VLAN Support v1.8 Ben Greear
All bugs added by David S. Miller
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Freeing init memory: 2188K
eth0: link up, 1000 Mb/s, full duplex, flow control disabled
eth0: link up, 1000 Mb/s, full duplex, flow control disabled
device lan2 entered promiscuous mode
device eth0 entered promiscuous mode
device lan1 entered promiscuous mode
device lan3 entered promiscuous mode
device lan4 entered promiscuous mode
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation
ieee80211_crypt: registered algorithm 'WEP'
ieee80211_crypt: registered algorithm 'TKIP'
ieee80211_crypt: registered algorithm 'CCMP'
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
b43-phy0: Broadcom 4321 WLAN found (core revision 11)
b43-phy0 ERROR: FOUND UNSUPPORTED PHY (Analog 5, Type 4, Revision 1)
b43: probe of ssb0:0 failed with error -95
Broadcom 43xx driver loaded [ Features: PL, Firmware-ID: FW13 ]
Broadcom 43xx-legacy driver loaded [ Features: LD, Firmware-ID: FW10 ]
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (512 buckets, 2048 max)
wlan: trunk
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 2008-10-02 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, DFS, XR)
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registered
ath_pci: trunk
mac80211_hwsim: Initializing radio 0
phy1: Selected rate control algorithm 'minstrel'
phy1: hwaddr c1c78060 registered
mac80211_hwsim: Initializing radio 1
phy2: Selected rate control algorithm 'minstrel'
phy2: hwaddr c1c6e060 registered
wan: link up, 100 Mb/s, full duplex, flow control disabled

dmesgの中に下記のエラーがあることから、WZR-G144Nの無線NICであるbroadcomが使用できないようです。
b43-phy0 ERROR: FOUND UNSUPPORTED PHY (Analog 5, Type 4, Revision 1)
b43: probe of ssb0:0 failed with error -95


ifconfig wlan0 up・ifconfig wlan1 upを実行すると、dmesgに下記が追加されます。
phy1:mac80211_hwsim_start
phy1:mac80211_hwsim_add_interface (type=2 mac_addr=c1091940)
phy1:mac80211_hwsim_bss_info_changed(changed=0xe)
phy1: ERP_CTS_PROT: 0
phy1: ERP_PREAMBLE: 0
phy1: ERP_SLOT: 0
phy1:mac80211_hwsim_configure_filter
phy1:mac80211_hwsim_config (freq=2412 radio_enabled=1 beacon_int=100)
phy1:mac80211_hwsim_conf_tx (queue=0 txop=0 cw_min=31 cw_max=1023 aifs=2)
phy1:mac80211_hwsim_conf_tx (queue=1 txop=0 cw_min=31 cw_max=1023 aifs=2)
phy1:mac80211_hwsim_conf_tx (queue=2 txop=0 cw_min=31 cw_max=1023 aifs=2)
phy1:mac80211_hwsim_conf_tx (queue=3 txop=0 cw_min=31 cw_max=1023 aifs=2)
phy1:mac80211_hwsim_configure_filter
phy1:mac80211_hwsim_configure_filter
phy1:mac80211_hwsim_configure_filter
phy2:mac80211_hwsim_start
phy2:mac80211_hwsim_add_interface (type=2 mac_addr=c1091140)
phy2:mac80211_hwsim_bss_info_changed(changed=0xe)
phy2: ERP_CTS_PROT: 0
phy2: ERP_PREAMBLE: 0
phy2: ERP_SLOT: 0
phy2:mac80211_hwsim_configure_filter
phy2:mac80211_hwsim_config (freq=2412 radio_enabled=1 beacon_int=100)
phy2:mac80211_hwsim_conf_tx (queue=0 txop=0 cw_min=31 cw_max=1023 aifs=2)
phy2:mac80211_hwsim_conf_tx (queue=1 txop=0 cw_min=31 cw_max=1023 aifs=2)
phy2:mac80211_hwsim_conf_tx (queue=2 txop=0 cw_min=31 cw_max=1023 aifs=2)
phy2:mac80211_hwsim_conf_tx (queue=3 txop=0 cw_min=31 cw_max=1023 aifs=2)
phy2:mac80211_hwsim_configure_filter
phy2:mac80211_hwsim_configure_filter
phy2:mac80211_hwsim_configure_filter

ifconfigで見ると、下記情報が追加されipアドレスの付与やping応答がありますが、無線APとして電波が出ている様子はありません。
wlan0 Link encap:Ethernet HWaddr 02:00:00:00:00:00
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
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)

wlan1 Link encap:Ethernet HWaddr 02:00:00:00:01:00
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
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)

wmaster0 Link encap:UNSPEC HWaddr 02-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING MTU:0 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)

wmaster1 Link encap:UNSPEC HWaddr 02-00-00-00-01-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING MTU:0 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)

/etc/config/wirelessで、onfig wifi-device wlan0・onfig wifi-device wlan1にある option disabled 1 をコメントアウトや0に変更しても現象は変わりませんでした。
openwrt - cuspy memo その2 を参考に、onfig wifi-device wlan0・onfig wifi-device wlan1 の option type をbroadcomに変更してから、ifconfig wlan0 up・ifconfig wlan1 upをしたところ、シリアルコンソールがおかしくなり作業できなくなりました。

WZR-G144Nの無線NICだけ接続してから上記までの作業をしたところ、やはりシリアルコンソールがおかしくなりました。
再起動後に/etc/config/wirelessの変更後に、/etc/rc.d/network restart を実行したところ、シリアルコンソールがおかしくなりましたが、dmesgを確認したところ下記が表示されました。
interface not found.
br-lan: port 2(lan1) entering disabled state
device eth0 left promiscuous mode
device lan4 left promiscuous mode
br-lan: port 4(lan4) entering disabled state
device lan3 left promiscuous mode
br-lan: port 3(lan3) entering disabled state
device lan1 left promiscuous mode
br-lan: port 2(lan1) entering disabled state
device lan2 left promiscuous mode
br-lan: port 1(lan2) entering disabled state
lan1: link down
interface not found.
eth0: link up, 1000 Mb/s, full duplex, flow control disabled
Interface type not supported.
udhcpc (v1.11.3) started
Sending discover...
device lan1 entered promiscuous mode
device eth0 entered promiscuous mode
lan1: link up, 100 Mb/s, full duplex, flow control disabled
br-lan: topology change detected, propagating
br-lan: port 1(lan1) entering forwarding state
device lan2 entered promiscuous mode
device lan3 entered promiscuous mode
device lan4 entered promiscuous mode
wlan0(broadcom): Interface type not supported
'wlan1' is disabled
wlan0(broadcom): Interface type not supported
'wlan1' is disabled
root@OpenWrt:/etc/config# br-lan: port 1(lan1) entering disabled state
br-lan: topology change detected, propagating
br-lan: port 1(lan1) entering forwarding state
Sending discover...
Sending discover...

wlan0(broadcom): Interface type not supported というメッセージからすると、WZR-G144Nの無線NICが使えないようです。


WZR-AMPG144NHの無線NIC2枚でも電波が出ていないようなので、無線NICの制御がうまく行われていないようです。
OpenWRTのコンパイルで、無線NICドライバを追加で組み込まないでテストしてみることにします。

スポンサーサイト

PageTop

コメント


管理者にだけ表示を許可する
 

承認待ちコメント

このコメントは管理者の承認待ちです

| | 2014年05月17日(Sat)04:46 [EDIT]


承認待ちコメント

このコメントは管理者の承認待ちです

| | 2014年07月25日(Fri)04:26 [EDIT]


承認待ちコメント

このコメントは管理者の承認待ちです

| | 2014年08月26日(Tue)05:07 [EDIT]


承認待ちコメント

このコメントは管理者の承認待ちです

| | 2014年09月01日(Mon)00:20 [EDIT]


上記広告は1ヶ月以上更新のないブログに表示されています。新しい記事を書くことで広告を消せます。