You have SMP enabled in your kernel, (yes Hyperthreading is SMP)
which does not work with rt2400.

Ivo

On Thursday 16 November 2006 16:59, Adrian 'Dagurashibanipal' von Bidder wrote:
> Package: rt2400-source
> Version: 1.2.2+cvs20060620-4
> Severity: normal
> Tags: upstream
> 
> Yodel!
> 
> For me, rt2400 doesn't work at all.  Trying to do anything results in a
> kernel oops and the application hanging in the syscall.  The attached
> oops was when I tried to enable radio from the RaConfig2400 utility.
> 
> Kernel happily goes on, but networking is mostly dead (*mostly*: ping
> works, issueing a HTTP request per telnet (on the other network
> interface) works, but Konqueror can't load webpages anymore, so
> something somewhere seems to kill network traffic.
> 
> Environment:
>  . Debian, all versions are Debian package versions
>  . linux-image-2.6.18-2-686 (2.6.18-5)
>    (tried 2.6.17-9, made no difference)
>  . gcc "4.1.2 20061028 (prerelease) (Debian 4.1.1-19"
>    (same compiler the Debian kernel was compiled with was used to build
>    the module. with Debian's module-assistant 0.10.7)
>  . Hardware: the device is the Asus WiFi addon card that came with
>    the motherboard.  Hardware defect unlikely, it worked once and I
>    didn't open the computer case or move the computer or anything since.
>  . single CPU system, but Hyperthreading switched on.
> 
> More detail below.
> 
> I'll try to help; will be away whole next week though, and I'm not much
> at home, so turnover time is kinda slow.
> 
> +++
> Nov 16 16:29:45 localhost kernel: BUG: unable to handle kernel NULL pointer 
> dereference at virtual address 00000000
> Nov 16 16:29:45 localhost kernel:  printing eip:
> Nov 16 16:29:45 localhost kernel: f9143228
> Nov 16 16:29:45 localhost kernel: *pde = 00000000
> Nov 16 16:29:45 localhost kernel: Oops: 0002 [#1]
> Nov 16 16:29:45 localhost kernel: SMP
> Nov 16 16:29:45 localhost kernel: Modules linked in: rt2400 ipv6 ppdev 
> parport_pc lp parport dm_snapshot dm_mirror dm_mod w83627hf hwmon_vid eeprom 
> i2c_isa mga drm ide_generic snd_bt87x snd_emu10k1_synth snd_emux_synth 
> snd_seq_virmidi snd_seq_midi_emul snd_seq_dummy snd_seq_oss snd_seq_midi 
> snd_seq_midi_event snd_seq bt878 snd_intel8x0 tuner snd_emu10k1 tvaudio 
> snd_rawmidi snd_ac97_codec snd_ac97_bus msp3400 snd_pcm_oss snd_mixer_oss 
> shpchp snd_pcm snd_seq_device snd_timer snd_util_mem snd_hwdep bttv video_buf 
> firmware_class i2c_i801 ir_common compat_ioctl32 i2c_algo_bit pci_hotplug 
> btcx_risc intel_agp snd tveeprom i2c_core agpgart videodev v4l1_compat 
> sk98lin skge tsdev emu10k1_gp gameport rtc soundcore psmouse serio_raw pcspkr 
> snd_page_alloc v4l2_common ide_cd cdrom reiserfs raid1 md_mod ide_disk 
> generic piix ide_core evdev usbmouse usbhid usbkbd ehci_hcd uhci_hcd usbcore
> Nov 16 16:29:45 localhost kernel: CPU:    1
> Nov 16 16:29:45 localhost kernel: EIP:    0060:[<f9143228>]    Not tainted VLI
> Nov 16 16:29:45 localhost kernel: EFLAGS: 00010202   (2.6.18-2-686 #1)
> Nov 16 16:29:45 localhost kernel: EIP is at RTMPRingCleanUp+0x2d/0x18a 
> [rt2400]
> Nov 16 16:29:45 localhost kernel: eax: 00000000   ebx: f17b02c0   ecx: 
> 00000000   edx: 00000001
> Nov 16 16:29:45 localhost kernel: esi: f35c3f38   edi: f9144ab1   ebp: 
> f17b02c0   esp: f35c3d30
> Nov 16 16:29:45 localhost kernel: ds: 007b   es: 007b   ss: 0068
> Nov 16 16:29:45 localhost kernel: Process RaConfig2400 (pid: 3740, 
> ti=f35c2000 task=f6c91550 task.ti=f35c2000)
> Nov 16 16:29:45 localhost kernel: Stack: f17b02c0 f35c3f38 f913ceb3 f17b0000 
> f91463fc f6546af0 00000000 c0247472
> Nov 16 16:29:45 localhost kernel:        00000000 f6033680 000089f0 f17b0000 
> f5a2e45c 00001f6c 00000000 f5a2e42c
> Nov 16 16:29:45 localhost kernel:        00000002 00000286 f6546a01 f7692980 
> f6546a01 f7692980 c0253ac1 00000001
> Nov 16 16:29:45 localhost kernel: Call Trace:
> Nov 16 16:29:45 localhost kernel:  [<f913ceb3>] MlmeRadioOn+0x30/0x70 [rt2400]
> Nov 16 16:29:45 localhost kernel:  [<f91463fc>] RT2400_ioctl+0x194b/0x19fb 
> [rt2400]
> Nov 16 16:29:45 localhost kernel:  [<c0247472>] ip_queue_xmit+0x371/0x3b3
> Nov 16 16:29:45 localhost kernel:  [<c0253ac1>] tcp_rcv_established+0xf8/0x7b7
> Nov 16 16:29:45 localhost kernel:  [<c025991b>] tcp_v4_send_check+0x72/0xb8
> Nov 16 16:29:45 localhost kernel:  [<c0254e28>] tcp_transmit_skb+0x604/0x632
> Nov 16 16:29:45 localhost kernel:  [<c02250e5>] __alloc_skb+0x49/0xf2
> Nov 16 16:29:45 localhost kernel:  [<c028102f>] _spin_lock_bh+0x8/0x18
> Nov 16 16:29:45 localhost kernel:  [<c0221cff>] release_sock+0xc/0x91
> Nov 16 16:29:45 localhost kernel:  [<c024dd6a>] tcp_recvmsg+0x8e3/0x9e9
> Nov 16 16:29:45 localhost kernel:  [<c02217d6>] sock_common_recvmsg+0x2f/0x45
> Nov 16 16:29:45 localhost kernel:  [<c021f758>] do_sock_read+0xae/0xb7
> Nov 16 16:29:45 localhost kernel:  [<c021fdc1>] sock_aio_read+0x53/0x61
> Nov 16 16:29:45 localhost kernel:  [<f9144ab1>] RT2400_ioctl+0x0/0x19fb 
> [rt2400]
> Nov 16 16:29:45 localhost kernel:  [<c02298de>] dev_ifsioc+0x362/0x37c
> Nov 16 16:29:45 localhost kernel:  [<c021fdcf>] sock_ioctl+0x0/0x1b5
> Nov 16 16:29:45 localhost kernel:  [<c0229e75>] dev_ioctl+0x3d1/0x462
> Nov 16 16:29:45 localhost kernel:  [<c0221cff>] release_sock+0xc/0x91
> Nov 16 16:29:45 localhost kernel:  [<c021fdcf>] sock_ioctl+0x0/0x1b5
> Nov 16 16:29:45 localhost kernel:  [<c016934c>] do_ioctl+0x1c/0x5d
> Nov 16 16:29:45 localhost kernel:  [<c01695d7>] vfs_ioctl+0x24a/0x25c
> Nov 16 16:29:45 localhost kernel:  [<c0169631>] sys_ioctl+0x48/0x5f
> Nov 16 16:29:45 localhost kernel:  [<c0102c11>] sysenter_past_esp+0x56/0x79
> Nov 16 16:29:45 localhost kernel: Code: fa 0c 53 89 c3 0f 84 9c 00 00 00 80 
> fa 0d 0f 84 3c 01 00 00 80 fa 0a 0f 85 68 01 00 00 31 d2 6b 83 08 0b 00 00 1c 
> 42 8b 44 18 28 <80> 20 fc 8b 83 08 0b 00 00 40 83 f8 1f 89 83 08 0b 00 00 76 
> 0a
> Nov 16 16:29:45 localhost kernel: EIP: [<f9143228>] 
> RTMPRingCleanUp+0x2d/0x18a [rt2400] SS:ESP 0068:f35c3d30
> ++
> 
> +++
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 15
> model           : 4
> model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
> stepping        : 1
> cpu MHz         : 2998.722
> cache size      : 1024 KB
> physical id     : 0
> siblings        : 2
> core id         : 0
> cpu cores       : 1
> fdiv_bug        : no
> hlt_bug         : no
> f00f_bug        : no
> coma_bug        : no
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 5
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc 
> pni monitor ds_cpl cid xtpr
> bogomips        : 6001.59
> 
> processor       : 1
> vendor_id       : GenuineIntel
> cpu family      : 15
> model           : 4
> model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
> stepping        : 1
> cpu MHz         : 2998.722
> cache size      : 1024 KB
> physical id     : 0
> siblings        : 2
> core id         : 0
> cpu cores       : 1
> fdiv_bug        : no
> hlt_bug         : no
> f00f_bug        : no
> coma_bug        : no
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 5
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc 
> pni monitor ds_cpl cid xtpr
> bogomips        : 5997.57
> +++
> 
> (the rt2400 is at the bottom!)
> +++
> 00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub 
> Interface (rev 02)
>         Subsystem: ASUSTeK Computer Inc. P5P800-MX Mainboard
>         Flags: bus master, fast devsel, latency 0
>         Memory at fe000000 (32-bit, prefetchable) [size=8M]
>         Capabilities: [e4] Vendor Specific Information
>         Capabilities: [a0] AGP version 3.0
> 
> 00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 
> 02) (prog-if 00 [Normal decode])
>         Flags: bus master, 66MHz, fast devsel, latency 64
>         Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
>         Memory behind bridge: fcd00000-fddfffff
>         Prefetchable memory behind bridge: f8b00000-fcafffff
> 
> 00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI 
> Controller #1 (rev 02) (prog-if 00 [UHCI])
>         Subsystem: ASUSTeK Computer Inc. P5P800-MX Mainboard
>         Flags: bus master, medium devsel, latency 0, IRQ 169
>         I/O ports at eec0 [size=32]
> 
> 00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI 
> Controller #2 (rev 02) (prog-if 00 [UHCI])
>         Subsystem: ASUSTeK Computer Inc. P5P800-MX Mainboard
>         Flags: bus master, medium devsel, latency 0, IRQ 177
>         I/O ports at ef00 [size=32]
> 
> 00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI 
> Controller #3 (rev 02) (prog-if 00 [UHCI])
>         Subsystem: ASUSTeK Computer Inc. P5P800-MX Mainboard
>         Flags: bus master, medium devsel, latency 0, IRQ 185
>         I/O ports at ef20 [size=32]
> 
> 00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI 
> Controller #4 (rev 02) (prog-if 00 [UHCI])
>         Subsystem: ASUSTeK Computer Inc. P5P800-MX Mainboard
>         Flags: bus master, medium devsel, latency 0, IRQ 169
>         I/O ports at ef40 [size=32]
> 
> 00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI 
> Controller (rev 02) (prog-if 20 [EHCI])
>         Subsystem: ASUSTeK Computer Inc. P5P800-MX Mainboard
>         Flags: bus master, medium devsel, latency 0, IRQ 193
>         Memory at fdfff800 (32-bit, non-prefetchable) [size=1K]
>         Capabilities: [50] Power Management version 2
>         Capabilities: [58] Debug port
> 
> 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) (prog-if 00 
> [Normal decode])
>         Flags: bus master, fast devsel, latency 0
>         Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
>         I/O behind bridge: 0000d000-0000dfff
>         Memory behind bridge: fde00000-fdefffff
>         Prefetchable memory behind bridge: fcb00000-fcbfffff
> 
> 00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface 
> Bridge (rev 02)
>         Flags: bus master, medium devsel, latency 0
> 
> 00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE 
> Controller (rev 02) (prog-if 8a [Master SecP PriP])
>         Subsystem: ASUSTeK Computer Inc. P5P800-MX Mainboard
>         Flags: bus master, medium devsel, latency 0, IRQ 185
>         I/O ports at <unassigned>
>         I/O ports at <unassigned>
>         I/O ports at <unassigned>
>         I/O ports at <unassigned>
>         I/O ports at fc00 [size=16]
>         Memory at 50000000 (32-bit, non-prefetchable) [size=1K]
> 
> 00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller 
> (rev 02)
>         Subsystem: ASUSTeK Computer Inc. P4P800 Mainboard
>         Flags: medium devsel, IRQ 217
>         I/O ports at 0400 [size=32]
> 
> 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER 
> (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
>         Subsystem: ASUSTeK Computer Inc. P4P800 Mainboard
>         Flags: bus master, medium devsel, latency 0, IRQ 217
>         I/O ports at e800 [size=256]
>         I/O ports at ee80 [size=64]
>         Memory at fdfff400 (32-bit, non-prefetchable) [size=512]
>         Memory at fdfff000 (32-bit, non-prefetchable) [size=256]
>         Capabilities: [50] Power Management version 2
> 
> 01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G550 AGP (rev 
> 01) (prog-if 00 [VGA])
>         Subsystem: Matrox Graphics, Inc. Millennium G550 Dual Head DDR 32Mb
>         Flags: bus master, medium devsel, latency 64, IRQ 169
>         Memory at fa000000 (32-bit, prefetchable) [size=32M]
>         Memory at fddfc000 (32-bit, non-prefetchable) [size=16K]
>         Memory at fd000000 (32-bit, non-prefetchable) [size=8M]
>         Expansion ROM at fddc0000 [disabled] [size=128K]
>         Capabilities: [dc] Power Management version 2
>         Capabilities: [f0] AGP version 2.0
> 
> 02:05.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit 
> Ethernet Controller (rev 13)
>         Subsystem: ASUSTeK Computer Inc. Marvell 88E8001 Gigabit Ethernet 
> Controller (Asus)
>         Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 201
>         Memory at fdefc000 (32-bit, non-prefetchable) [size=16K]
>         I/O ports at d800 [size=256]
>         Expansion ROM at fcb00000 [disabled] [size=128K]
>         Capabilities: [48] Power Management version 2
>         Capabilities: [50] Vital Product Data
> 
> 02:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 04)
>         Subsystem: Creative Labs CT4620 SBLive!
>         Flags: bus master, medium devsel, latency 64, IRQ 209
>         I/O ports at df80 [size=32]
>         Capabilities: [dc] Power Management version 1
> 
> 02:09.1 Input device controller: Creative Labs SB Live! Game Port (rev 01)
>         Subsystem: Creative Labs Gameport Joystick
>         Flags: bus master, medium devsel, latency 64
>         I/O ports at dff0 [size=8]
>         Capabilities: [dc] Power Management version 1
> 
> 02:0c.0 Multimedia video controller: Brooktree Corporation Bt878 Video 
> Capture (rev 02)
>         Subsystem: Hauppauge computer works Inc. WinTV Series
>         Flags: bus master, medium devsel, latency 64, IRQ 225
>         Memory at fcbfe000 (32-bit, prefetchable) [size=4K]
> 
> 02:0c.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 
> 02)
>         Subsystem: Hauppauge computer works Inc. WinTV Series
>         Flags: bus master, medium devsel, latency 64, IRQ 225
>         Memory at fcbff000 (32-bit, prefetchable) [size=4K]
> 
> 02:0d.0 Network controller [0280]: RaLink Wireless PCI Adapter RT2400 / 
> RT2460 [1814:0101]
>         Subsystem: ASUSTeK Computer Inc. WiFi-b add-on Card [1043:0127]
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
> Stepping- SERR+ FastB2B-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- 
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64, Cache Line Size: 16 bytes
>         Interrupt: pin A routed to IRQ 209
>         Region 0: Memory at fdefa000 (32-bit, non-prefetchable) [size=8K]
>         Capabilities: [40] Power Management version 2
>                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> 00: 14 18 01 01 17 01 10 04 00 00 80 02 04 40 00 00
> 10: 00 a0 ef fd 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 01 06 00 00 43 10 27 01
> 30: 00 00 00 00 40 00 00 00 00 00 00 00 0a 01 00 00
> 40: 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
> 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> +++
> 
> Before it crashed, reading status works:
> +++
> [EMAIL PROTECTED]:/boot# ifconfig eth1
> eth1      Link encap:Ethernet  HWaddr 00:11:2F:D1:E0:1B
>           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:209
> 
> [EMAIL PROTECTED]:/boot# iwconfig eth1
> eth1      RT2400PCI  ESSID:off/any
>           Mode:Managed  Channel=1  Bit Rate:11 Mb/s
>           RTS thr:off   Fragment thr:off
>           Encryption key:off
>           Link Quality:0  Signal level:0  Noise level:0
>           Rx invalid nwid:0  invalid crypt:0  invalid misc:0
> +++
> 
> I think that's the most important stuff.  Let me know.
> 
> cheers
> -- vbi
> 
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Rt2400-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/rt2400-devel
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to