Vern wrote:
Hi andrewtw,
Looks like you may have stumbled into the hosed recovery logic. The attached patch is *not* a fix, but may head off the panic long enough to allow a reasonably good debug log to be generated. Could you apply it, build with debug enabled, run with "debug=15" as a modprobe parameter, and attach a gzipped copy of /var/log/debug to a posting here?
Thanks,
Hi Vern :
Sorry for my poor English, I don't know the meaning of "hosed recovery logic".
And, don't know why my debugfs seems not work, even if I check the rt73 debug module in 'make menuconfig' .
So I paste the dmesg log below.
BOOT UP LOG
[busybox] # dmesg
Code:
Linux version 2.6.24.3 (fyodor@ee504-desktop) (gcc version 3.4.1) #249 Thu Apr 2
4 11:33:59 CST 2008
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=00007177
Machine: SMDK2440
Converting old-style param struct to taglist
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 16384
DMA zone: 128 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 16256 pages, LIFO batch:3
Normal zone: 0 pages used for memmap
Movable zone: 0 pages used for memmap
CPU S3C2440A (id 0x32440001)
S3C244X: core 296.352 MHz, memory 98.784 MHz, peripheral 49.392 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
clock : register usb bus clock ok
CLOCK: Slow mode (2.116 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: noinitrd root=/dev/mtdblock3 rootfstype=jffs2 rw console=ttySAC1 init=/linuxrc mem=64M
irq: clearing pending ext status 00000100
irq: clearing subpending status 00000018
irq: clearing subpending status 00000010
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00000000, tcnt a0c7, tcfg 00000200,00000000, usec 00001f19
Console: colour dummy device 80x30
selected clock c03dbcb0 (pclk) quot 26, calc 114333
console [ttySAC1] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60684KB available (3692K code, 324K data, 144K init)
Calibrating delay loop... 49.04 BogoMIPS (lpj=122624)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 152 bytes
NET: Registered protocol family 16
smdk2440 machine init
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
S3C244X: Clock Support, DVS off
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
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
NetWinder Floating Point Emulator V0.97 (double precision)
NTFS driver 2.1.29 [Flags: R/O].
JFFS2 version 2.2. (NAND) ▒© 2001-2006 Red Hat, Inc.
fuse init (API version 7.9)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
s3c2410fb: devinit
s3c2410fb: got and enabled clock
s3c2410fb: map_video_memory(fbi=c3c7a260) map_size 155648
s3c2410fb: map_video_memory: clear ffc00000:00026000
s3c2410fb: map_video_memory: dma=33d00000 cpu=ffc00000 size=00026000
s3c2410fb: got video memory
s3c2410fb: LPCSEL = 0x00000c0c
s3c2410fb: replacing TPAL 00000000
s3c2410fb: check_var(var=c3c7a008, info=c3c7a000)
s3c2410fb: pixclk 166667, divisor is 16
s3c2410fb: s3c2410fb_activate_var: var->xres = 240
s3c2410fb: s3c2410fb_activate_var: var->yres = 320
s3c2410fb: s3c2410fb_activate_var: var->bpp = 16
s3c2410fb: setting vert: up=6, low=8, sync=2
s3c2410fb: setting horz: lft=8, rt=4, sync=4
__DEBUG: clkdiv: 7
s3c2410fb: new register set:
s3c2410fb: lcdcon[1] = 0x00000778
s3c2410fb: lcdcon[2] = 0x054fc1c1
s3c2410fb: lcdcon[3] = 0x0018ef07
s3c2410fb: lcdcon[4] = 0x00000d03
s3c2410fb: lcdcon[5] = 0x00000f49
s3c2410fb: LCDSADDR1 = 0x19e80000
s3c2410fb: LCDSADDR2 = 0x19e92c00
s3c2410fb: LCDSADDR3 = 0x000000f0
Console: switching to colour frame buffer device 30x40
fb0: s3c2410fb frame buffer device
uvesafb: failed to execute /sbin/v86d
uvesafb: make sure that the v86d helper is installed and executable
uvesafb: Getting VBE info block failed (eax=0x4f00, err=-2)
uvesafb: vbe_init() failed with -22
uvesafb: probe of uvesafb.0 failed with error -22
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
dm9000 Ethernet Driver, V1.30
drivers/net/usb/rtl8150.c: rtl8150 based usb-ethernet driver v0.6.2 (2004/08/27)
usbcore: registered new interface driver rtl8150
Uniform Multi-Platform E-IDE driver
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Loading iSCSI transport class v2.0-869.
iscsi: registered transport (tcp)
Driver 'sd' needs updating - please use bus_type methods
scsi0 : scsi_debug, version 1.81 [20070104], dev_size_mb=8, opts=0x0
scsi 0:0:0:0: Direct-Access Linux scsi_debug 0004 PQ: 0 ANSI: 5
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
sd 0:0:0:0: [sda] 16384 512-byte hardware sectors (8 MB)
s3c2440-nand s3c2440-nand: Tacls=1, 10ns Twrph0=3 30ns, Twrph1=1 10ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Bad eraseblock 379 at 0x02f60000
Bad eraseblock 891 at 0x06f60000
Bad eraseblock 931 at 0x07460000
Bad eraseblock 1231 at 0x099e0000
Bad eraseblock 1398 at 0x0aec0000
Bad eraseblock 1399 at 0x0aee0000
Bad eraseblock 1409 at 0x0b020000
Creating 5 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x00000000-0x00040000 : "vivi"
ftl_cs: FTL header not found.
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 73 00 10 08
0x00040000-0x00060000 : "param"
ftl_cs: FTL header not found.
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
0x00060000-0x00460000 : "kernel"
ftl_cs: FTL header not found.
sd 0:0:0:0: [sda] 16384 512-byte hardware sectors (8 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 73 00 10 08
0x00460000-0x04460000 : "root"
ftl_cs: FTL header not found.
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
sda: unknown partition table
0x04460000-0x0c460000 : "flash"
ftl_cs: FTL header not found.
sd 0:0:0:0: [sda] Attached SCSI disk
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd: block sizes: ed 64 td 64
ohci-s3c2410 : usb_hcd_s3c2410_probe
usb : set power gpio for USB
s3c2410-ohci : usb_set_power error, s3c2410_hcd_info = NULL
s3c2410-ohci : usb_set_power error, s3c2410_hcd_info = NULL
s3c2410-ohci s3c2410-ohci: s3c2410_start_hc:
usb : s3c2410_start_hc
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
drivers/usb/core/inode.c: creating file 'devices'
drivers/usb/core/inode.c: creating file '001'
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
s3c2410-ohci s3c2410-ohci: created debug files
s3c2410-ohci s3c2410-ohci: OHCI controller state
s3c2410-ohci s3c2410-ohci: OHCI 1.0, NO legacy support registers
s3c2410-ohci s3c2410-ohci: control 0x083 HCFS=operational CBSR=3
s3c2410-ohci s3c2410-ohci: cmdstatus 0x00000 SOC=0
s3c2410-ohci s3c2410-ohci: intrstatus 0x00000004 SF
s3c2410-ohci s3c2410-ohci: intrenable 0x8000005a MIE RHSC UE RD WDH
s3c2410-ohci s3c2410-ohci: hcca frame #0005
s3c2410-ohci s3c2410-ohci: roothub.a 02001202 POTPGT=2 NOCP NPS NDP=2(2)
s3c2410-ohci s3c2410-ohci: roothub.b 00000000 PPCM=0000 DR=0000
s3c2410-ohci s3c2410-ohci: roothub.status 00008000 DRWE
s3c2410-ohci s3c2410-ohci: roothub.portstatus [0] 0x00000100 PPS
s3c2410-ohci s3c2410-ohci: roothub.portstatus [1] 0x00000100 PPS
usb usb1: default language 0x0409
usb usb1: uevent
usb usb1: usb_probe_device
usb usb1: configuration #1 chosen from 1 choice
usb usb1: adding 1-0:1.0 (config #1, interface 0)
usb 1-0:1.0: uevent
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0xa006,0x2900,0x0000,c3c
17a50,000f)
hub 1-0:1.0: 2 ports detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: no power switching (usb 1.0)
hub 1-0:1.0: no over-current protection
hub 1-0:1.0: power on to power good time: 4ms
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0xa000,0x0000,0x0000,c3c
17a10,0004)
hub 1-0:1.0: local power source is good
hub 1-0:1.0: trying to enable port power on non-switchable hub
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0x2303,0x0008,0x0001,c3c
17a0c,0000)
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0x2303,0x0008,0x0002,c3c
17a0c,0000)
hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
drivers/usb/core/inode.c: creating file '001'
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: S3C24XX OHCI
usb usb1: Manufacturer: Linux 2.6.24.3 ohci_hcd
usb usb1: SerialNumber: s3c24xx
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0xa300,0x0000,0x0001,c3c
43e24,0004)
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0xa300,0x0000,0x0002,c3c
43e24,0004)
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 385 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
s3c2410-ohci s3c2410-ohci: auto-stop root hub
jffs2_scan_inode_node(): CRC failed on node at 0x036d8fc4: Read 0xffffffff, calc
ulated 0xa484e0f4
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 144K
selected clock c03dbcb0 (pclk) quot 26, calc 114333
selected clock c03dbcb0 (pclk) quot 26, calc 114333
selected clock c03dbcb0 (pclk) quot 26, calc 114333
selected clock c03dbcb0 (pclk) quot 26, calc 114333
jffs2_scan_inode_node(): CRC failed on node at 0x044697c8: Read 0xffffffff, calc
ulated 0xbaba64ff
PLUG THE ADAPTERCode:
s3c2410-ohci s3c2410-ohci: auto-wakeup root hub
hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0002
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0xa300,0x0000,0x0001,c3c43e24,0004)
s3c2410-ohci s3c2410-ohci: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0x2301,0x0010,0x0001,c3c43e40,0000)
hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0xa300,0x0000,0x0001,c3c43e24,0004)
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0xa300,0x0000,0x0001,c3c43e24,0004)
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0xa300,0x0000,0x0001,c3c43e24,0004)
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0xa300,0x0000,0x0001,c3c43e24,0004)
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0xa300,0x0000,0x0001,c3c43e24,0004)
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0x2303,0x0004,0x0001,c3c43dbc,0000)
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0xa300,0x0000,0x0001,c3c43da0,0004)
s3c2410-ohci s3c2410-ohci: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0x2301,0x0014,0x0001,c3c43dbc,0000)
usb 1-1: new full speed USB device using s3c2410-ohci and address 2
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0x2303,0x0004,0x0001,c3c43dbc,0000)
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0xa300,0x0000,0x0001,c3c43da0,0004)
s3c2410-ohci s3c2410-ohci: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
s3c2410-ohci s3c2410-ohci: s3c2410_hub_control(c31ee400,0x2301,0x0014,0x0001,c3c43dbc,0000)
usb 1-1: default language 0x0409
usb 1-1: uevent
usb 1-1: usb_probe_device
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
usb 1-1:1.0: uevent
usbserial_generic 1-1:1.0: usb_probe_interface
usbserial_generic 1-1:1.0: usb_probe_interface - got id
drivers/usb/core/inode.c: creating file '002'
usb 1-1: New USB device found, idVendor=0b05, idProduct=1723
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: 802.11 bg WLAN
usb 1-1: Manufacturer: Ralink
[busybox] # modprobe rt73 debug=15
Code:
rt73: init
rt73 1-1:1.0: usb_probe_interface
rt73 1-1:1.0: usb_probe_interface - got id
rt73: --> usb_rtusb_probe (2.6)
rt73: idVendor = 0xb05, idProduct = 0x1723
rt73: usb device name wlan0
rt73: BulkOutMaxPacketSize 64
rt73: rt73_get_ether_stats --->
rt73: --> LoadFirmware
rt73: 2048 bytes written to device.
rt73: <-- LoadFirmware (status: 0, loaded: 2048)
rt73: --> PortCfgInit
rt73: <-- PortCfgInit
rt73: --> RTMPInitAdapterBlock
rt73: <-- RTMPInitAdapterBlock
rt73: --> NICInitTransmit
rt73: --> NICInitRecv
rt73: <-- NICInitRecv status=0
rt73: --> MlmeInit
rt73: ==> MlmeInitMemoryHandler
rt73: <== MlmeInitMemoryHandler Status=0
rt73: <-- MlmeInit
rt73: --> NICInitializeAsic
rt73: BBP version = 22
rt73: <-- NICInitializeAsic
rt73: --> NICReadEEPROMParameters
rt73: - Local MAC = 00:18:f3:5a:80:c2
rt73: E2PROM: Version = 1, FAE release #3
rt73: Tx power for channel 1 : 0x0c
rt73: Tx power for channel 2 : 0x0c
rt73: Tx power for channel 3 : 0x0d
rt73: Tx power for channel 4 : 0x0d
rt73: Tx power for channel 5 : 0x0e
rt73: Tx power for channel 6 : 0x0f
rt73: Tx power for channel 7 : 0x0f
rt73: Tx power for channel 8 : 0x10
rt73: Tx power for channel 9 : 0x10
rt73: Tx power for channel 10 : 0x11
rt73: Tx power for channel 11 : 0x12
rt73: Tx power for channel 12 : 0x12
rt73: Tx power for channel 13 : 0x12
rt73: Tx power for channel 14 : 0x12
rt73: Tx power for channel 36 : 0xff
rt73: Tx power for channel 40 : 0xff
rt73: Tx power for channel 44 : 0xff
rt73: Tx power for channel 48 : 0xff
rt73: Tx power for channel 52 : 0xff
rt73: Tx power for channel 56 : 0xff
rt73: Tx power for channel 60 : 0xff
rt73: Tx power for channel 64 : 0xff
rt73: Tx power for channel 100 : 0xff
rt73: Tx power for channel 104 : 0xff
rt73: Tx power for channel 108 : 0xff
rt73: Tx power for channel 112 : 0xff
rt73: Tx power for channel 116 : 0xff
rt73: Tx power for channel 120 : 0xff
rt73: Tx power for channel 124 : 0xff
rt73: Tx power for channel 128 : 0xff
rt73: Tx power for channel 132 : 0xff
rt73: Tx power for channel 136 : 0xff
rt73: Tx power for channel 140 : 0xff
rt73: Tx power for channel 149 : 0xff
rt73: Tx power for channel 153 : 0xff
rt73: Tx power for channel 157 : 0xff
rt73: Tx power for channel 161 : 0xff
rt73: Tx power for channel 165 : 0xff
rt73: Tx power for channel 34 : ffffffff
rt73: Tx power for channel 38 : ffffffff
rt73: Tx power for channel 42 : ffffffff
rt73: Tx power for channel 46 : ffffffff
rt73: E2PROM: G Tssi[-4 .. +4] = 255 255 255 255 - 255 -255 255 255 255, step=255, tuning=0
rt73: E2PROM: A Tssi[-4 .. +4] = 255 255 255 255 - 255 -255 255 255 255, step=255, tuning=0
rt73: E2PROM: RF freq offset=0x19
rt73: <-- NICReadEEPROMParameters
rt73: --> NICInitAsicFromEEPROM
rt73: pAd->RfIcType = 2
rt73: Use Hw Radio Control Pin=0; if used Pin=0;
rt73: RFIC=2, LED mode=0
rt73: <-- NICInitAsicFromEEPROM
rt73: using permanent MAC addr
rt73: - using permanent MAC addr
rt73: Active MAC addr: 00:18:f3:5a:80:c2
rt73: Local MAC = 00:18:f3:5a:80:c2
rt73: - RTUSBWriteHWMACAddress: Local MAC = 00:18:f3:5a:80:c2
rt73: RTMPSetPhyMode(=0)
rt73: country code=128/128, RFIC=2, PHY mode=0, support 11 channels
rt73: channel # 1 2 3 4 5 6 7 8 9 10 11
rt73: Exptected ACK rate[1] = 1 Mbps
rt73: Exptected ACK rate[2] = 2 Mbps
rt73: Exptected ACK rate[5] = 5 Mbps
rt73: Exptected ACK rate[11] = 11 Mbps
rt73: Exptected ACK rate[6] = 6 Mbps
rt73: Exptected ACK rate[9] = 6 Mbps
rt73: Exptected ACK rate[12] = 12 Mbps
rt73: Exptected ACK rate[18] = 12 Mbps
rt73: Exptected ACK rate[24] = 24 Mbps
rt73: Exptected ACK rate[36] = 24 Mbps
rt73: Exptected ACK rate[48] = 24 Mbps
rt73: Exptected ACK rate[54] = 24 Mbps
rt73: MlmeUpdateTxRates (MaxDesire=54, MaxSupport=54, MaxTxRate=54, Rate Switch
ing =1)
rt73: MlmeUpdateTxRates (TxRate=54, RtsRate=2, BasicRateBitmap=0x015f)
rt73: AsicSetSlotTime(=9 us)
rt73: - (CreateThreads) Mlme pid=863, Cmd pid=864
rt73: <-- common_probe: Status = 0
rt73: <-- usb_rtusb_probe: res=0
rt73: --> MlmeThread (2.6)
rt73: --> RTUSBCmdThread (2.6)
usbcore: registered new interface driver rt73
[busybox] # iwconfig
Code:
lo no wireless extensions.
wlan0 RT73 WLAN ESSID:""
Mode:Managed Frequency=2.412 GHz Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=0/100 Signal level:-121 dBm Noise level:-111 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[busybox] # cat /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
[busybox] # ifdown wlan0
Code:
ifdown: interface wlan0 not configured
tail of dmesg
Code:
...
...
rt73: --> RTUSBCmdThread (2.6)
usbcore: registered new interface driver rt73
rt73: rt73_get_ether_stats --->
rt73: ==>rt_ioctl_giwfreq 1
rt73: ===>rt_ioctl_giwencode 0
rt73: ===>rt_ioctl_giwessid:: (Len=0, ssid=...)
rt73: ==>rt_ioctl_giwmode
rt73: ===>rt_ioctl_giwrange
rt73: IOCTL::SIOCGIWAP(=EMPTY)
rt73: rt73_get_wireless_stats --->
[busybox] # udhcpc -i wlan0
udhcpc (v1.9.2) started
rt73: driver version - 1.0.3.6 CVS
rt73: using net dev supplied MAC addr
rt73: Active MAC addr: 00:18:f3:5a:80:c2
rt73: Local MAC = 00:18:f3:5a:80:c2
(adapter dead...)Sending discover...
Sending discover...
Sending discover...
Sending discover...
(Ctrl-z, bg)
[busybox] # dmesg
Code:
704ec0 path 1 ep0in 5ec20000 cc 5 --> status -62
s3c2410-ohci s3c2410-ohci: urb c2704ec0 path 1 ep0in 5ec20000 cc 5 --> status -62
s3c2410-ohci s3c2410-ohci: urb c2704ec0 path 1 ep0in 5ec20000 cc 5 --> status -62
s3c2410-ohci s3c2410-ohci: urb c2704ec0 path 1 ep0in 5ec20000 cc 5 --> status -62
s3c2410-ohci s3c2410-ohci: urb c2704ec0 path 1 ep0in 5ec20000 cc 5 --> status -62
...(loop)
rt73: USBVendorRequest failed ret=-62
rt73: Retry count exhausted or device removed!!!
s3c2410-ohci s3c2410-ohci: urb c0850c40 path 1 ep0in 5ec20000 cc 5 --> status -62
And I found the adapter die because of setting ip by 'ifconfig wlan0 xxx.xxx.xxx.xxx'
Any action related with ifconfig ifconfig will cause my adapter die.
Kernel panic again
Code:
rt73Cmd invoked oom-killer: gfp_mask=0xd0, order=0, oomkilladj=0
[<c00309e4>] (dump_stack+0x0/0x14) from [<c0070620>] (oom_kill_process+0x58/0x1a8)
[<c00705c8>] (oom_kill_process+0x0/0x1a8) from [<c0070a30>] (out_of_memory+0x1d0/0x21c)
[<c0070860>] (out_of_memory+0x0/0x21c) from [<c0072c48>] (__alloc_pages+0x284/0x310)
[<c00729c4>] (__alloc_pages+0x0/0x310) from [<c008aba8>] (cache_alloc_refill+0x2d0/0x594)
[<c008a8d8>] (cache_alloc_refill+0x0/0x594) from [<c008a8a8>] (kmem_cache_alloc+0x4c/0x7c)
[<c008a85c>] (kmem_cache_alloc+0x0/0x7c) from [<bf01ac88>] (NICInitTransmit+0x128/0x62c [rt73])
r7:c2580000 r6:00000000 r5:00000001 r4:c259d618
[<bf01ab60>] (NICInitTransmit+0x0/0x62c [rt73]) from [<bf000a9c>] (CMDHandler+0x738/0x158c [rt73])
[<bf000364>] (CMDHandler+0x0/0x158c [rt73]) from [<bf001e64>] (RTUSBCmdThread+0xc8/0x124 [rt73])
[<bf001d9c>] (RTUSBCmdThread+0x0/0x124 [rt73]) from [<c0048f28>] (do_exit+0x0/0x600)
r7:00000000 r6:00000000 r5:00000000 r4:00000000
Mem-info:
DMA per-cpu:
CPU 0: hi: 18, btch: 3 usd: 16
Active:32 inactive:1 dirty:0 writeback:0 unstable:0
free:254 slab:12532 mapped:0 pagetables:8 bounce:0
DMA free:1016kB min:1016kB low:1268kB high:1524kB active:128kB inactive:4kB pres
ent:65024kB pages_scanned:229 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0
DMA: 0*4kB 1*8kB 1*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB
0*4096kB = 1016kB
1 total pagecache pages
Swap cache: add 0, delete 0, find 0/0
Free swap = 0kB
Total swap = 0kB
Free swap: 0kB
16384 pages of RAM
303 free pages
1204 reserved pages
12532 slab pages
0 pages shared
0 pages swap cached
Out of memory: kill process 846 (sh) score 45 or a child
Killed process 846 (sh)
Kernel panic - not syncing: Out of memory and no killable processes...