system locking up on boot with rt61

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

seamus_android

29-07-2008 12:55:27

I have a Sitecom WL-171 wireless network card, which I believe uses the rt61 chipset. lspci calls it

0502.0 Network controller RaLink RT2561/RT61 802.11g PCI

I am running Debian Etch on an AMD64 system with kernel version 2.6.18. I compiled the following driver 'http//prdownloads.sourceforge.net/rt2400/rt61-1.1.0-b2.tar.gz?download' against the correct kernel headers without any problems, but the machine freezes on startup with a black screen and no responsiveness to the keyboard caps lock does nothing and Ctrl-SysRq-RSEIUB doesn't work. If I boot into single user mode, I can rmmod the rt61 module and then boot normally with no problems; attempting to 'modprobe rt61' later causes the machine to lock up. It did once keep running for long enough for me to catch an error message; although I wasn't able to copy it. It was complaining something like

BUG soft lockup on CPU#3

followed by what looked like a stack trace.

dmesg reveals this when the system starts up

rt61 1.1.0 Beta 2 CVS http//rt2x00.serialmonkey.com
RT61 Vendor = 0x1814, Product = 0x0301

I have the following firmware files in /lib/firmware

-rw-r--r-- 1 root root 8192 2008-07-29 0446 rt2561.bin
-rw-r--r-- 1 root root 8192 2008-07-29 0446 rt2561s.bin
-rw-r--r-- 1 root root 8192 2008-07-29 0446 rt2661.bin

I had the card running when I was using Ubuntu 8.04, although I got intermittent kernel panics, which I believe was due to a bug in the version of the kernel they ship. It worked perfectly with ndiswrapper, but I really would like to run the open source drivers if possible.

Anyone got any ideas on how I can get this working?

IvD

29-07-2008 13:02:42

Could you try to attach the stacktrace in some way?
(Either by copying it from a log, or otherwise taking a picture of the screen?)

That would help in determining where exactly this soft lockup is occuring.

seamus_android

29-07-2008 13:18:00

Got a copy

Jul 29 140956 spike kernel rt61 1.1.0 Beta 2 CVS http//rt2x00.serialmonkey.com
Jul 29 140956 spike kernel RT61 Vendor = 0x1814, Product = 0x0301
Jul 29 141010 spike kernel BUG soft lockup detected on CPU#3!
Jul 29 141010 spike kernel
Jul 29 141010 spike kernel Call Trace
Jul 29 141010 spike kernel <IRQ> [<ffffffff802a36d0>] softlockup_tick+0xdb/0xed
Jul 29 141010 spike kernel [<ffffffff80287915>] update_process_times+0x42/0x68
Jul 29 141010 spike kernel [<ffffffff8026c2f5>] smp_local_timer_interrupt+0x23/0x47
Jul 29 141010 spike kernel [<ffffffff8026c9e9>] smp_apic_timer_interrupt+0x41/0x47
Jul 29 141010 spike kernel [<ffffffff8025878a>] apic_timer_interrupt+0x66/0x6c
Jul 29 141010 spike kernel <EOI> [<ffffffff8022104a>] flush_tlb_others+0x65/0x8b
Jul 29 141010 spike kernel [<ffffffff80221046>] flush_tlb_others+0x61/0x8b
Jul 29 141010 spike kernel [<ffffffff8022966f>] flush_tlb_page+0xb7/0xbc
Jul 29 141010 spike kernel [<ffffffff8020f383>] do_wp_page+0x169/0x3ec
Jul 29 141010 spike kernel [<ffffffff80208c54>] __handle_mm_fault+0x8b1/0x91a
Jul 29 141010 spike kernel [<ffffffff8020a69c>] do_page_fault+0x39d/0x706
Jul 29 141010 spike kernel [<ffffffff8025c37e>] thread_return+0x0/0xe7
Jul 29 141010 spike kernel [<ffffffff8027b81d>] task_rq_lock+0x3d/0x6f
Jul 29 141010 spike kernel [<ffffffff802588e5>] error_exit+0x0/0x84
Jul 29 141010 spike kernel [<ffffffff8022d73c>] do_sys_poll+0x2c3/0x36d
Jul 29 141010 spike kernel [<ffffffff8022d667>] do_sys_poll+0x1ee/0x36d
Jul 29 141010 spike kernel [<ffffffff8021c72d>] __pollwait+0x0/0xe0
Jul 29 141010 spike kernel [<ffffffff8027c9b3>] default_wake_function+0x0/0xe
Jul 29 141010 spike kernel [<ffffffff8020c490>] do_lookup+0x63/0x173
Jul 29 141010 spike kernel [<ffffffff8020c8b5>] dput+0x23/0x153
Jul 29 141010 spike kernel [<ffffffff80209bae>] __link_path_walk+0xdf2/0xf3c
Jul 29 141010 spike kernel [<ffffffff8022aed4>] mntput_no_expire+0x19/0x8b
Jul 29 141010 spike kernel [<ffffffff8020dd5f>] link_path_walk+0xd3/0xe5
Jul 29 141010 spike kernel [<ffffffff8021854b>] vsnprintf+0x55e/0x5a3
Jul 29 141010 spike kernel [<ffffffff80243655>] sprintf+0x51/0x59
Jul 29 141010 spike kernel [<ffffffff8020de4a>] __alloc_pages+0x5c/0x2a9
Jul 29 141010 spike kernel [<ffffffff8020bce8>] _atomic_dec_and_lock+0x39/0x57
Jul 29 141010 spike kernel [<ffffffff8020c8c6>] dput+0x34/0x153
Jul 29 141010 spike kernel [<ffffffff80247f0b>] sys_poll+0x38/0x3f
Jul 29 141010 spike kernel [<ffffffff80257c16>] system_call+0x7e/0x83

Spy84464

29-07-2008 17:27:39

Hello,
I compiled the following driver 'http//prdownloads.sourceforge.net/rt2400/rt61-1.1.0-b2.tar.gz?download'[/quotehqxulhah]
Sounds like you tried the beta package, which is rather old, you'll likely have more luck with the latest CVS tarball.

Regards,
Romain

seamus_android

31-07-2008 21:27:06

I've changed kernels to 2.6.18 and am using the driver module from the that, and that seems to have fixed everything. Thanks for the help; I'll try not to get my downloads mixed up in future.