1

Temat: Openwrt on USR9108

Hi,

I decided to change the native firmware on my USR9108.
At forum.openwrt.org I found that the openwrt-96348GW-A-squashfs-bc300-cfe.bin works on US Robotics USR9108
I downloaded and installed the firmware via the web
After rebooting wifi does not work
bootlog below

root@OpenWrt:~# dmesg
Linux version 2.6.27.30 (buildbot@localhost.localdomain) (gcc version 4.1.2) #1 Wed Aug 26 15:14:11 CDT 2009
Detected Broadcom 0x6348 CPU revision b0
CPU frequency is 256000000 Hz
16MB of RAM installed
registering 37 GPIOs
board_bcm963xx: CFE version: 1.0.37-1.5
console [early0] enabled
CPU revision is: 00029107 (Broadcom BCM6348)
board_bcm963xx: board name: 96348GW-A
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00001000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00001000
On node 0 totalpages: 4096
free_area_init_node: node 0, pgdat 8025b2c0, node_mem_map 802a3000
  Normal zone: 4064 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
PID hash table entries: 64 (order: 6, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 13540k/16384k available (1935k kernel code, 2844k reserved, 417k data, 128k init, 0k highmem)
Calibrating delay loop... 255.48 BogoMIPS (lpj=510976)
Mount-cache hash table entries: 512
net_namespace: 776 bytes
NET: Registered protocol family 16
registering PCI controller with io_map_base unset
registering PCI controller with io_map_base unset
PCI: 0000:00:01.0 reg 10 32bit mmio: [0, 1fff]
pci 0000:01:1e.0: CardBus bridge, secondary bus 0000:02
pci 0000:01:1e.0:   IO window: 0x8008000-0x80080ff
pci 0000:01:1e.0:   IO window: 0x8008400-0x80084ff
pci 0000:01:1e.0:   MEM window: 0x38000000-0x3fffffff
PCI: Enabling device 0000:01:1e.0 (0000 -> 0003)
PCI: Setting latency timer of device 0000:01:1e.0 to 64
bus: 00 index 0 io port: [8000000, 8007fff]
bus: 00 index 1 mmio: [30000000, 37ffffff]
bus: 01 index 0 io port: [8008000, 800ffff]
bus: 01 index 1 mmio: [38000000, 3fffffff]
bus: 02 index 0 io port: [8008000, 80080ff]
bus: 02 index 1 io port: [8008400, 80084ff]
bus: 02 index 2 mmio: [0, 0]
bus: 02 index 3 mmio: [38000000, 3fffffff]
Switched to high resolution mode on CPU 0
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:00:01.0 to 64
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
NET: Registered protocol family 1
detected lzma initramfs
initramfs: LZMA lc=1,lp=2,pb=2,origSize=512
audit: initializing netlink socket (disabled)
type=2000 audit(0.400:1): initialized
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  б╘ 2001-2006 Red Hat, Inc.
msgmni has been set to 26
io scheduler noop registered
io scheduler deadline registered (default)
gpiodev: gpio device registered with major 254
gpiodev: gpio platform device registered with access mask FFFFFFFF
bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0300 (irq = 10) is a bcm63xx_uart
console handover: boot [early0] -> real [ttyS0]
bcm63xx_enet MII bus: probed
bcm963xx_flash: 0x00400000 at 0x1fc00000
bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
bcm963xx: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
bcm963xx_flash: Read Signature value of CFE1CFE1
bcm963xx_flash: CFE bootloader detected
bcm963xx_flash: CFE boot tag found with version 6, board type 96348GW-A, and tagid bc300.
bcm963xx_flash: Partition 0 is CFE offset 10000802e1de8 and length c0066100800ccf1c
bcm963xx_flash: Partition 1 is kernel offset cff00802e1de8 and length c0066100800ccf1c
bcm963xx_flash: Partition 2 is rootfs offset 310000802e1de8 and length c0066100800ccf1c
bcm963xx_flash: Partition 3 is nvram offset 10000802e1de8 and length c0066100800ccf1c
bcm963xx_flash: Partition 4 is linux offset 3e0000802e1de8 and length c0066100800ccf1c
bcm963xx_flash: Spare partition is 290000 offset and length 160000
Creating 5 MTD partitions on "bcm963xx":
0x00000000-0x00010000 : "CFE"
0x00010100-0x000e0000 : "kernel"
mtd: partition "kernel" doesn't start on an erase block boundary -- force read-only
0x000e0000-0x003f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=290000, len=160000
0x00290000-0x003f0000 : "rootfs_data"
0x003f0000-0x00400000 : "nvram"
0x00010000-0x003f0000 : "linux"
bcm63xx_wdt started, timer margin: 30 sec
Registered led device: <NULL>
leds-gpio: probe of leds-gpio.0 failed with error -16
TCP westwood registered
NET: Registered protocol family 17
Bridge firewalling registered
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
Please be patient, while OpenWrt loads ...
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Broadcom BCM63XX (1)]
eth1: link forced UP - 100/full - flow control off/off
device eth1 entered promiscuous mode
br-lan: topology change detected, propagating
br-lan: port 1(eth1) entering forwarding state
cfg80211: Unknown symbol usb_free_urb
cfg80211: Unknown symbol usb_unanchor_urb
cfg80211: Unknown symbol usb_get_urb
mac80211: Unknown symbol cfg80211_send_assoc_timeout
mac80211: Unknown symbol cfg80211_scan_done
mac80211: Unknown symbol __dev_addr_unsync
mac80211: Unknown symbol cfg80211_send_auth_timeout
mac80211: Unknown symbol cfg80211_send_deauth
mac80211: Unknown symbol round_jiffies_up
mac80211: Unknown symbol cfg80211_classify8021d
mac80211: Unknown symbol wiphy_register
mac80211: Unknown symbol wiphy_new
mac80211: Unknown symbol cfg80211_put_bss
mac80211: Unknown symbol ieee80211_bss_get_ie
mac80211: Unknown symbol cfg80211_ibss_joined
mac80211: Unknown symbol cfg80211_michael_mic_failure
mac80211: Unknown symbol cfg80211_send_rx_auth
mac80211: Unknown symbol wiphy_unregister
mac80211: Unknown symbol cfg80211_send_disassoc
mac80211: Unknown symbol ieee80211_radiotap_iterator_init
mac80211: Unknown symbol cfg80211_get_bss
mac80211: Unknown symbol __ieee80211_get_channel
mac80211: Unknown symbol rfc1042_header
mac80211: Unknown symbol ieee80211_data_to_8023
mac80211: Unknown symbol cfg80211_send_rx_assoc
mac80211: Unknown symbol ieee80211_radiotap_iterator_next
mac80211: Unknown symbol ieee80211_channel_to_frequency
mac80211: Unknown symbol ieee80211_hdrlen
mac80211: Unknown symbol cfg80211_inform_bss_frame
mac80211: Unknown symbol __dev_addr_sync
mac80211: Unknown symbol ieee80211_frequency_to_channel
mac80211: Unknown symbol bridge_tunnel_header
mac80211: Unknown symbol cfg80211_unlink_bss
mac80211: Unknown symbol wiphy_free
roboswitch: Probing device eth0: Failed to enable switch
roboswitch: Probing device eth1: found!
b43: Unknown symbol ieee80211_get_response_rate
b43: Unknown symbol ieee80211_free_hw
b43: Unknown symbol ieee80211_alloc_hw
b43: Unknown symbol ieee80211_register_hw
b43: Unknown symbol __ieee80211_get_radio_led_name
b43: Unknown symbol ieee80211_generic_frame_duration
b43: Unknown symbol ieee80211_wake_queue
b43: Unknown symbol __ieee80211_get_tx_led_name
b43: Unknown symbol ieee80211_tx_status_irqsafe
b43: Unknown symbol wiphy_rfkill_set_hw_state
b43: Unknown symbol __ieee80211_get_rx_led_name
b43: Unknown symbol ieee80211_queue_delayed_work
b43: Unknown symbol ieee80211_ctstoself_get
b43: Unknown symbol ieee80211_stop_queue
b43: Unknown symbol __ieee80211_get_assoc_led_name
b43: Unknown symbol wiphy_rfkill_start_polling
b43: Unknown symbol ieee80211_unregister_hw
b43: Unknown symbol ieee80211_hdrlen
b43: Unknown symbol ieee80211_rts_get
b43: Unknown symbol ieee80211_beacon_get
b43: Unknown symbol ieee80211_queue_work
b43: Unknown symbol ieee80211_rx_irqsafe
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Plase use
nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.

lsmod

root@OpenWrt:~# lsmod
Module                  Size  Used by    Not tainted
nf_nat_tftp              448  0
nf_conntrack_tftp       2448  1 nf_nat_tftp
nf_nat_irc               864  0
nf_conntrack_irc        2784  1 nf_nat_irc
nf_nat_ftp              1440  0
nf_conntrack_ftp        4928  1 nf_nat_ftp
ipt_MASQUERADE          1152  1
iptable_nat             3376  1
nf_nat                 11040  5 nf_nat_tftp,nf_nat_irc,nf_nat_ftp,ipt_MASQUERADE,iptable_nat
xt_NOTRACK               640  0
iptable_raw              800  1
xt_state                 832  3
nf_conntrack_ipv4       8512  6 iptable_nat,nf_nat
nf_conntrack           38944 12 nf_nat_tftp,nf_conntrack_tftp,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat,xt_NOTRACK,xt_state,nf_conntrack_ipv4
ipt_REJECT              1856  2
xt_TCPMSS               2688  1
ipt_LOG                 4672  0
xt_multiport            1824  0
xt_mac                   704  0
xt_limit                1152  1
iptable_mangle          1152  0
iptable_filter           960  1
ip_tables               8368  4 iptable_nat,iptable_raw,iptable_mangle,iptable_filter
xt_tcpudp               1856  4
x_tables                8592 12 ipt_MASQUERADE,iptable_nat,xt_NOTRACK,xt_state,ipt_REJECT,xt_TCPMSS,ipt_LOG,xt_multiport,xt_mac,xt_limit,ip_tables,xt_tcpudp
ppp_async               7008  0
ppp_generic            20480  1 ppp_async
slhc                    4480  1 ppp_generic
switch_adm              4000  0
switch_robo             4256  0
switch_core             5248  2 switch_adm,switch_robo
crc_ccitt                992  1 ppp_async
arc4                     832  0
aes_generic            29488  0
deflate                 1568  0
ecb                     1408  0
cbc                     2176  0
cryptomgr               1568  0
crypto_hash             2656  0
crypto_blkcipher       11280  2 ecb,cbc
aead                    3808  0
crypto_algapi           8096  8 arc4,aes_generic,deflate,ecb,cbc,cryptomgr,crypto_blkcipher,aead

ifconfig

root@OpenWrt:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:14:C1:19:64:A2
          inet addr:172.16.16.201  Bcast:172.16.16.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6044 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4571 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:408904 (399.3 KiB)  TX bytes:470000 (458.9 KiB)

eth0      Link encap:Ethernet  HWaddr 00:14:C1:19:64:A1
          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)
          Interrupt:16

eth1      Link encap:Ethernet  HWaddr 00:14:C1:19:64:A2
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6044 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4571 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:500102 (488.3 KiB)  TX bytes:470000 (458.9 KiB)
          Interrupt:15

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

I hope for your help

2

Odp: Openwrt on USR9108

Add usb module, cfg80211 not loaded.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Openwrt on USR9108

Thanks for reply. I'm newbie in Linux systems smile
I tried to install kmod-usb-core package but the installation terminated by error:

root@OpenWrt:/# opkg install http://downloads.openwrt.org/snapshots
/trunk/brcm63xx/packages/kmod-usb-core_2.6.27.26-brcm63xx-1_mips.ipk
Downloading http://downloads.openwrt.org/snapshots/trunk/brcm63xx/packages/kmod-usb-core_2.6.27.26-brcm63xx-1_mips.ipk
Collected errors:
 * Packages were found, but none compatible with the architectures configured

I think that the version of package does not match the firmware version.
Correct me if I'm doing wrong.

4

Odp: Openwrt on USR9108

Build yourself. Currently, snapshots contains non-upgraded packages for some architecture.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.