Doing ifdown then ifup on ra0 produces: kernel BUG at include/linux/timer.h:82!

Bug #119426 reported by Shaun Crampton
6
Affects Status Importance Assigned to Milestone
linux-source-2.6.20 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

uname -a: Linux shauns-box 2.6.20-16-generic #2 SMP Wed May 23 01:46:23 UTC 2007 i686 GNU/Linux
I'm using an rt61 chipset wireless card from Edimax, it wasn't working so I did an ifdown then ifup and this crashed my box (had to use SysRq-S,U,B as sudo wouldn't work to shutdown). The following was produced on screen:

Jun 8 23:13:32 localhost kernel: [ 344.584933] ------------[ cut here ]------------
Jun 8 23:13:32 localhost kernel: [ 344.584987] kernel BUG at include/linux/timer.h:82!
Jun 8 23:13:32 localhost kernel: [ 344.585028] invalid opcode: 0000 [#1]
Jun 8 23:13:32 localhost kernel: [ 344.585067] SMP
Jun 8 23:13:32 localhost kernel: [ 344.585156] Modules linked in: binfmt_misc rfcomm l2cap bluetooth nfs nfsd exportfs lockd sunrpc ipv6 ppdev radeon drm cpufreq_userspace cpufreq_stats cpufreq_powersave cpufreq_ondemand freq_table cpufreq_conservative tc1100_wmi sony_acpi pcc_acpi dev_acpi video sbs i2c_ec dock container button battery asus_acpi backlight ac nls_cp437 ntfs dm_crypt fuse parport_pc lp parport snd_emu10k1_synth snd_emux_synth snd_seq_virmidi snd_seq_midi_emul snd_emu10k1 snd_ac97_codec ac97_bus snd_util_mem snd_hwdep snd_pcm_oss snd_pcm snd_page_alloc snd_mixer_oss snd_seq_dummy snd_seq_oss dvb_usb_dibusb_mb dvb_usb_dibusb_common dvb_usb dvb_core dvb_pll dib3000mc dibx000_common dib3000mb snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device psmouse pcspkr serio_raw snd sis_agp emu10k1_gp gameport rt61 agpgart soundcore shpchp pci_hotplug i2c_sis96x i2c_core af_packet evdev tsdev xfs ide_cd cdrom ide_disk pata_sis ata_generic libata scsi_mod floppy sis900 3c59x mii ehci_hcd
Jun 8 23:13:32 localhost kernel: ohci_hcd usbcore sis5513 generic raid10 raid456 xor raid1 raid0 multipath linear md_mod thermal processor fan dm_mod fbcon tileblit font bitblit softcursor vesafb capability commoncap
Jun 8 23:13:32 localhost kernel: [ 344.588704] CPU: 0
Jun 8 23:13:32 localhost kernel: [ 344.588706] EIP: 0060:[<f8ae1243>] Not tainted VLI
Jun 8 23:13:32 localhost kernel: [ 344.588707] EFLAGS: 00010286 (2.6.20-16-generic #2)
Jun 8 23:13:32 localhost kernel: [ 344.588850] EIP is at LinkDown+0x2e3/0x2f0 [rt61]
Jun 8 23:13:32 localhost kernel: [ 344.588892] eax: f5849144 ebx: f5840000 ecx: c045e49c edx: 00000068
Jun 8 23:13:32 localhost kernel: [ 344.588937] esi: f5849447 edi: f5849469 ebp: 00000000 esp: ed6cfea4
Jun 8 23:13:32 localhost kernel: [ 344.588981] ds: 007b es: 007b ss: 0068
Jun 8 23:13:32 localhost kernel: [ 344.589022] Process ifconfig (pid: 6691, ti=ed6ce000 task=e6b9fa90 task.ti=ed6ce000)
Jun 8 23:13:32 localhost kernel: [ 344.589067] Stack: f5840000 f6fd1800 00001003 00000000 f8ad7a13 f6fd1800 00001042 c0283854
Jun 8 23:13:32 localhost kernel: [ 344.589358] f6fd1800 c0282b83 dc5126e0 00000001 dc51270b ed6cff10 c02c92a1 ed6cff30
Jun 8 23:13:32 localhost kernel: [ 344.589648] c0283fbb ed6cff30 c01f20a9 ed6cff20 00000000 bf9d4df8 00008914 ed17a8c0
Jun 8 23:13:32 localhost kernel: [ 344.589937] Call Trace:
Jun 8 23:13:32 localhost kernel: [ 344.590013] [<f8ad7a13>] RT61_close+0x13/0x80 [rt61]
Jun 8 23:13:32 localhost kernel: [ 344.590092] [dev_close+84/112] dev_close+0x54/0x70
Jun 8 23:13:32 localhost kernel: [ 344.590166] [dev_change_flags+83/304] dev_change_flags+0x53/0x130
Jun 8 23:13:32 localhost kernel: [ 344.590240] [devinet_ioctl+1361/1728] devinet_ioctl+0x551/0x6c0
Jun 8 23:13:32 localhost kernel: [ 344.590317] [dev_ifsioc+235/864] dev_ifsioc+0xeb/0x360
Jun 8 23:13:32 localhost kernel: [ 344.590386] [copy_to_user+41/80] copy_to_user+0x29/0x50
Jun 8 23:13:32 localhost kernel: [ 344.590482] [sock_ioctl+191/528] sock_ioctl+0xbf/0x210
Jun 8 23:13:32 localhost kernel: [ 344.590553] [sock_ioctl+0/528] sock_ioctl+0x0/0x210
Jun 8 23:13:32 localhost kernel: [ 344.590624] [do_ioctl+43/144] do_ioctl+0x2b/0x90
Jun 8 23:13:32 localhost kernel: [ 344.590698] [vfs_ioctl+92/672] vfs_ioctl+0x5c/0x2a0
Jun 8 23:13:32 localhost kernel: [ 344.590772] [sys_ioctl+114/144] sys_ioctl+0x72/0x90
Jun 8 23:13:32 localhost kernel: [ 344.590844] [sysenter_past_esp+105/169] sysenter_past_esp+0x69/0xa9
Jun 8 23:13:32 localhost kernel: [ 344.590934] =======================
Jun 8 23:13:32 localhost kernel: [ 344.590972] Code: 39 01 00 89 fa e8 3e b2 ff ff 83 a3 2c 96 00 00 fb e9 74 fd ff ff 89 d8 e8 4b 89 01 00 e9 f3 fd ff ff c6 83 44 39 01 00 00 eb c5 <0f> 0b eb fe 89 f6 8d bc 27 00 00 00 00 83 ec 34 89 74 24 30 89
Jun 8 23:13:32 localhost kernel: [ 344.592755] EIP: [<f8ae1243>] LinkDown+0x2e3/0x2f0 [rt61] SS:ESP 0068:ed6cfea4
Jun 8 23:13:33 localhost avahi-autoipd(ra0)[6658]: Successfully claimed IP address 169.254.8.45
Jun 8 23:13:33 localhost avahi-autoipd(ra0)[6658]: fopen() failed: Permission denied
Jun 8 23:13:49 localhost kernel: [ 344.592869] <6>agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
Jun 8 23:13:49 localhost kernel: [ 361.325490] agpgart: Putting AGP V3 device at 0000:00:00.0 into 4x mode
Jun 8 23:13:49 localhost kernel: [ 361.325497] agpgart: SiS delay workaround: giving bridge time to recover.
Jun 8 23:13:49 localhost kernel: [ 361.341323] agpgart: Putting AGP V3 device at 0000:01:00.0 into 4x mode
Jun 8 23:13:49 localhost kernel: [ 361.341339] [drm] Loading R200 Microcode
Jun 8 23:13:54 localhost kernel: [ 366.019661] 9a:95:2d:d9:33:9c:27:29:
Jun 8 23:13:54 localhost kernel: [ 366.019677] 2d:7f:cd:de:e7:5e:be:b1:
Jun 8 23:13:54 localhost kernel: [ 366.026887] 2b:37:af:5f:c7:29:42:bc:
Jun 8 23:13:54 localhost kernel: [ 366.026899] 87:08:5b:a5:83:d8:99:27:

Revision history for this message
Shaun Crampton (fasaxc) wrote :
Revision history for this message
cschmit (cschmit) wrote :

My wlan always works for a short time after an "ifconfig ra0 up" command, but then it stoped to work, a try to restart the Interface with an Ifconfig down/up command results in an kernel bug/crash after "ifconfig ra0 down" ,so I neaded to restart the system.
As my debug code is slightly different from the code befor I include it in this message in the hope that it will help you to correct the bug

Revision history for this message
Andrew Ash (ash211) wrote :

Thanks for the bug report, Shaun. Do you know if this is still an issue in Hardy or later? Please test there and let us know if this is still an issue. Thanks!

Changed in linux-source-2.6.20:
status: Confirmed → Incomplete
Revision history for this message
Shaun Crampton (fasaxc) wrote :

I haven't explicitly tested ifup/down on hardy, but my wireless just seems to work out of the box in hardy and the driver there is a much newer. I think it's even from a different fork or something? I'd be happy for this bug to be closed and reopen if I see it when I install Hardy fully.

Revision history for this message
Andrew Ash (ash211) wrote :

Great! I'll close the bug then. Let us know if it becomes an issue again.

Changed in linux-source-2.6.20:
assignee: ubuntu-kernel-team → nobody
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.