Modify

Opened 7 years ago

Last modified 4 years ago

#9510 new defect

WRTU54g-TM problem with connection in AP Client mode

Reported by: bertj@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: Cc:

Description

Hi all,
I try connect in STA (station) mode to AP and there is a problem with mac80211 driver on ADM8668.

I flash this firmware: http://wrt.scottn.us/wrtu54g-tm-r26444.bin

root@OpenWrt:/# wifi
ADDRCONF(NETDEV_UP): wlan0: link is not ready
Segmentation fault
enable_mac80211(radio0): Failed to set up wpa_supplicant for interface wlan0
root@OpenWrt:/# wifi
ADDRCONF(NETDEV_UP): wlan0: link is not ready
Segmentation fault
enable_mac80211(radio0): Failed to set up wpa_supplicant for interface wlan0

Again, again and again ...
And sudenly:

root@OpenWrt:/# wifi
ADDRCONF(NETDEV_UP): wlan0: link is not ready
udhcpc (v1.17.3) started
root@OpenWrt:/# ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sending discover...
Sending discover...
Sending select for 192.168.1.101...
Lease of 192.168.1.101 obtained, lease time 604800
udhcpc: ifconfig wlan0 192.168.1.101 netmask 255.255.255.0 broadcast +
udhcpc: setting default routers: 192.168.1.1
udhcpc: setting dns servers: 192.168.1.1 0.0.0.0 0.0.0.0
root@OpenWrt:/# wifi
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: Calling CRDA for country: PL
ADDRCONF(NETDEV_UP): wlan0: link is not ready
cfg80211: Regulatory domain changed to country: PL
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
udhcpc (v1.17.3) started
root@OpenWrt:/# Sending discover...
Sending discover...
Sending select for 192.168.1.101...
Lease of 192.168.1.101 obtained, lease time 604800
udhcpc: ifconfig wlan0 192.168.1.101 netmask 255.255.255.0 broadcast +
udhcpc: setting default routers: 192.168.1.1
udhcpc: setting default routers: 192.168.1.1

After reboot it's the same.
The config files was correct and according to forum users I should open new ticket here.

There is a log at started device:

(v1.00.02) U-Boot 2.1.4 (Jan 28 2008 - 14:56:42)

DRAM:  64 MB
Flash:  8 MB
In:    serial
Out:   serial
Err:   serial
Net:   adm8668_net
Hit any key to stop autoboot:  0
## Booting image at b0040000 ...
Check vendor string...    Image Name:   ADM8668 Linux Kernel(2.4.31)
   Created:      2011-04-03  21:49:46 UTC
   Image Type:   MIPS Linux Kernel Image (uncompressed)
   Data Size:    917440 Bytes = 895.9 kB
   Load Address: 80400000
   Entry Point:  80400000
   Verifying Checksum ... OK
OK

Starting kernel ...


LZMA kernel loader
lzma data @ 0x804001e0 - 0x804d6e76
load addr @ 0x80002000

jump table @ 0x83ff5340

Decompressing kernel...success!
bootconsole [early0] enabled
Board info:
  RAM size: 64 MB
  NOR start: 0xb0000000
  NOR size: 0x800000
CPU revision is: 0001800b (MIPS 4Kc)
Determined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
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: rootfstype=squashfs root=/dev/mtdblock1 console=ttyS0
PID hash table entries: 256 (order: -2, 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 8kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
Memory: 62220k/65536k available (2190k kernel code, 3316k reserved, 308k data, 1
40k init, 0k highmem)
NR_IRQS:32
ADM8668 CPU clock: 200 MHz
Calibrating delay loop... 199.47 BogoMIPS (lpj=997376)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
adm8668_pci_init()
bio: create slab <bio-0> at 0
pci 0000:00:01.0: BAR 0: assigned [mem 0x16000000-0x16007fff]
pci 0000:00:01.0: BAR 0: set to [mem 0x16000000-0x16007fff] (PCI address [0x1600
0000-0x16007fff]
Switching to clocksource MIPS
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
adm8668_uart.0: ttyS0 at MMIO 0x1e400000 (irq = 6) is a adm8668_uart
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
ADM8668net driver version 1.1.15-NAPI (Feb 27, 2007)
net eth0: ADM8668net at MMIO 0x11a00000 00:1e:e5:b8:84:26, IRQ 7
net eth1: ADM8668net at MMIO 0x11600000 00:1e:e5:b8:84:27, IRQ 8
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006
 Red Hat, Inc.
msgmni has been set to 121
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
adm8668-nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2
 Chip ID 0x0022cb
Amd/Fujitsu Extended Query Table at 0x0040
  Amd/Fujitsu Extended Query version 1.1.
number of CFI chips: 1
adm8668-nor: Filesystem type: squashfs, size=1831kB
Creating 3 MTD partitions on "adm8668-nor":
0x000000040000-0x000000800000 : "linux"
0x000000120000-0x000000800000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2F0000, len=510000
0x0000002f0000-0x000000800000 : "rootfs_data"
0x000000020000-0x000000040000 : "uboot_env"
TCP westwood 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>
VFS: Mounted root (squashfs filesystem) readonly on device 31:1.
Freeing unused kernel memory: 140k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
switching to jffs2
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
- init -

Please press Enter to activate this console. NET: Registered protocol family 10
lo: Disabled Privacy Extensions
Compat-wireless backport release: compat-wireless-2011-01-31-26-gf7606f5
Backport based on wireless-testing.git master-2011-03-24
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (974 buckets, 3896 max)
ip6_tables: (C) 2000-2006 Netfilter Core Team
cfg80211: Calling CRDA for country: PL
ADDRCONF(NETDEV_UP): wlan0: link is not ready
cfg80211: Regulatory domain changed to country: PL
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
switching to jffs2
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
- init -

Please press Enter to activate this console. NET: Registered protocol family 10
lo: Disabled Privacy Extensions
Compat-wireless backport release: compat-wireless-2011-01-31-26-gf7606f5
Backport based on wireless-testing.git master-2011-03-24
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (974 buckets, 3896 max)
ip6_tables: (C) 2000-2006 Netfilter Core Team
cfg80211: Calling CRDA for country: PL
ADDRCONF(NETDEV_UP): wlan0: link is not ready
cfg80211: Regulatory domain changed to country: PL
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)



BusyBox v1.17.3 (2011-04-03 22:05:11 BST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Thanks for replay.

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.