rt73usb: Oops after plugging device

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=5223

a-slack

03-03-2009 06:01:50

kernel 2.6.28 + compat-wireless-2009-03-03.tar.bz2

After plugging the device in dmesg appears this trace
[code2h7a1xb3]usb 5-7: new high speed USB device using ehci_hcd and address 2
usb 5-7: configuration #1 chosen from 1 choice
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: EU
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2482000 KHz @ 40000 KHz), (600 mBi, 2000 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, 2000 mBm)
(5490000 KHz - 5710000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
BUG: unable to handle kernel NULL pointer dereference at 00000004
IP: [<fb56c77b>] wiphy_update_regulatory+0x20b/0x430 [cfg80211]
*pde = 00000000
Oops: 0000 [#1] PREEMPT
last sysfs file: /sys/module/rt2x00usb/initstate
Modules linked in: rt73usb(+) rt2x00usb rt2x00lib led_class input_polldev mac80211 cfg80211 ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack xt_limit xt_tcpudp iptable_filter ip_tables x_tables loop ehci_hcd uhci_hcd usbcore nls_iso8859_15 nls_cp850 vfat fat ppdev lp parport_pc parport radeon drm via_agp agpgart eeprom it87 hwmon_vid hwmon i2c_viapro tuner_simple tuner_types tuner tvaudio bttv cx88_alsa cx8800 compat_ioctl32 v4l2_common dvb_pll cx22702 cx88_dvb cx88_vp3054_i2c cx8802 cx88xx videodev v4l1_compat ir_common i2c_algo_bit tveeprom i2c_core btcx_risc videobuf_dvb videobuf_dma_sg videobuf_core dvb_core snd_bt87x snd_via82xx_modem snd_mpu401 snd_seq_virmidi snd_seq_dummy snd_seq_oss snd_pcm_oss snd_mixer_oss snd_via82xx snd_ac97_codec ac97_bus snd_pcm snd_page_alloc snd_mpu401_uart snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_timer snd_seq_device snd soundcore via_rhine 8139too mii

Pid: 19557, comm: modprobe Not tainted (2.6.28-1-k7 #1) System Name
EIP: 0060:[<fb56c77b>] EFLAGS: 00010246 CPU: 0
EIP is at wiphy_update_regulatory+0x20b/0x430 [cfg80211]
EAX: 00000000 EBX: 00000230 ECX: d6dbd060 EDX: 00000001
ESI: d6dbd000 EDI: d6dbd060 EBP: 00000002 ESP: dbdb7c50
DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
Process modprobe (pid: 19557, ti=dbdb6000 task=c88176d0 task.ti=dbdb6000)
Stack:
00000000 d6ed8960 d6dbd060 000001f4 00000004 07003000 00000004 d6dbd060
0000000c 000000c0 00000230 d6dbd000 d6dbd060 00000002 fb56b4cb 00000002
fffffff4 00000000 d6dbd1c0 0000000e fb5bb359 f6997c00 fb614e0a dbdb7cbc
Call Trace:
[<fb56b4cb>] wiphy_register+0x14b/0x1c0 [cfg80211]
[<fb5bb359>] ieee80211_register_hw+0xa9/0x400 [mac80211]
[<fb614e0a>] rt2x00queue_allocate+0x4a/0x1c0 [rt2x00lib]
[<fb613bf2>] rt2x00lib_probe_dev+0x332/0x390 [rt2x00lib]
[<fb6252a7>] rt2x00usb_probe+0x97/0xe0 [rt2x00usb]
[<f985bc77>] usb_match_one_id+0x27/0xb0 [usbcore]
[<f985c939>] usb_probe_interface+0xa9/0x150 [usbcore]
[<c02ad8f5>] driver_probe_device+0x85/0x1b0
[<f985bd41>] usb_match_id+0x41/0x60 [usbcore]
[<c02adaa9>] __driver_attach+0x89/0x90
[<c02ad214>] bus_for_each_dev+0x44/0x70
[<c02ad786>] driver_attach+0x16/0x20
[<c02ada20>] __driver_attach+0x0/0x90
[<c02acbc7>] bus_add_driver+0x197/0x210
[<c02adc3c>] driver_register+0x5c/0x130
[<c0242426>] idr_get_empty_slot+0xe6/0x280
[<f985cc0a>] usb_register_driver+0x7a/0xf0 [usbcore]
[<fb63e000>] rt73usb_init+0x0/0x14 [rt73usb]
[<c0101036>] _stext+0x36/0x1b0
[<c0150000>] free_pages_bulk+0x2f0/0x350
[<c01638e8>] __vunmap+0xa8/0xe0
[<c01447f4>] load_module+0x1204/0x1510
[<fb613e50>] rt2x00mac_bss_info_changed+0x0/0x110 [rt2x00lib]
[<c0144b8b>] sys_init_module+0x8b/0x1b0
[<c01032da>] syscall_call+0x7/0xb
Code: 83 f8 fc 74 0c 80 78 04 30 75 06 80 78 05 30 74 32 8b 4c 24 08 8b 41 28 85 c0 74 0a 80 78 04 30 0f 84 eb 01 00 00 a1 0c 8d 57 fb <83> 78 04 04 0f 84 c9 00 00 00 8b 44 24 08 80 78 08 00 0f 84 bb
EIP: [<fb56c77b>] wiphy_update_regulatory+0x20b/0x430 [cfg80211] SS:ESP 0068:dbdb7c50
---[ end trace febaf9a6e37d468f ]---[/code2h7a1xb3]