On Thu, May 21, 2009 at 2:58 AM, Jiri Kosina<jkosina@xxxxxxx> wrote: > On Thu, 14 May 2009, Matt Kowalczyk wrote: > >> Hello, >> >> I posted the below message to the apcupsd developers and they responded that >> this is a kernel problem. Specifically, the response was: >> >> Matt Kowalczyk wrote: >> > The below taken from dmesg occurs very often. I'm not sure what >> > exactly causes it to occur by apcupsd defuncts very quickly and I'm >> > left with an unprotected system, >> >> This is a kernel panic. It is caused by a kernel bug or bad hardware, bad >> RAM, bad power supply, etc. >> >> --Adam >> >> Below is my initial message, perhaps, this is the right group to report this >> issue. >> >> The below taken from dmesg occurs very often. I'm not sure what exactly causes >> it to occur by apcupsd defuncts very quickly and I'm left with an unprotected >> system, > > From the logs you have provided this seems to happen with 2.6.24 kernel, > right? > > Are you able to reproduce the problem with newer kernels? There were quite > a lot of fixes since 2.6.24. > > Thanks, > > -- > Jiri Kosina > SUSE Labs > > Finally updated my system and had a chance to reproduce this bug: Linux lexus 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 22:12:12 UTC 2009 x86_64 GNU/Linux [86053.665058] hub 2-0:1.0: port 10 disabled by hub (EMI?), re-enabling... [86053.665069] usb 2-10: USB disconnect, address 36 [86053.666049] /build/buildd/linux-2.6.28/drivers/hid/usbhid/hid-core.c: usb_submit_urb(ctrl) failed [86053.727114] BUG: unable to handle kernel paging request at 0000362e6f732f4b [86053.727126] IP: [<ffffffffa006f0ab>] hiddev_ioctl+0x4b/0x660 [usbhid] [86053.727149] PGD 0 [86053.727154] Oops: 0000 [#1] SMP [86053.727159] last sysfs file: /sys/devices/pci0000:00/0000:00:02.0/usb2/2-10/2-10:1.0/usb_endpoint/usbdev2.36_ep81/dev [86053.727167] Dumping ftrace buffer: [86053.727171] (ftrace buffer empty) [86053.727174] CPU 1 [86053.727177] Modules linked in: vmnet parport_pc vmci vmmon nfs lockd nfs_acl sunrpc binfmt_misc nvidia(P) ppdev bridge stp bnep input_polldev video output lp parport snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device cfi_cmdset_0002 snd jedec_probe soundcore cfi_probe gen_probe cfi_util snd_page_alloc serio_raw k8temp pcspkr ck804xrom mtd chipreg map_funcs i2c_nforce2 usbhid ohci1394 forcedeth ieee1394 fbcon tileblit font bitblit softcursor [last unloaded: vmnet] [86053.727243] Pid: 3792, comm: apcupsd Tainted: P W 2.6.28-13-generic #45-Ubuntu [86053.727247] RIP: 0010:[<ffffffffa006f0ab>] [<ffffffffa006f0ab>] hiddev_ioctl+0x4b/0x660 [usbhid] [86053.727261] RSP: 0018:ffff88011e59be18 EFLAGS: 00010246 [86053.727266] RAX: 0000362e6f732e63 RBX: 00000000400c4807 RCX: ffffffffa006f060 [86053.727270] RDX: fffffffffffffffb RSI: ffff880090d63800 RDI: ffff880103938ec0 [86053.727274] RBP: ffff88011e59beb8 R08: 00007fd3271c3de0 R09: 0000000000000000 [86053.727279] R10: 0000000000000000 R11: 0000000000000246 R12: ffff880107550000 [86053.727283] R13: 00007fff5dce7240 R14: 0000000000000004 R15: 00000000400c4807 [86053.727288] FS: 00007fb555cc86f0(0000) GS:ffff88011f806a00(0000) knlGS:00000000f726a750 [86053.727292] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [86053.727296] CR2: 0000362e6f732f4b CR3: 000000011d564000 CR4: 00000000000006a0 [86053.727300] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [86053.727305] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [86053.727309] Process apcupsd (pid: 3792, threadinfo ffff88011e59a000, task ffff88011dc42cc0) [86053.727313] Stack: [86053.727315] ffff88011e59be48 ffffffff8026c4df 000000001e59be68 0000000000000286 [86053.727323] ffff88011e59be98 0000000000000001 ffff88011e59be68 ffffffff8026c54a [86053.727330] ffff88011e59be98 ffff88011e59be98 ffff88011e59be88 ffffffff80699070 [86053.727338] Call Trace: [86053.727342] [<ffffffff8026c4df>] ? hrtimer_try_to_cancel+0x3f/0x90 [86053.727353] [<ffffffff8026c54a>] ? hrtimer_cancel+0x1a/0x30 [86053.727359] [<ffffffff80699070>] ? do_nanosleep+0x40/0xc0 [86053.727369] [<ffffffff8026cb89>] ? hrtimer_nanosleep+0xa9/0x130 [86053.727375] [<ffffffff802f62a1>] vfs_ioctl+0x31/0xa0 [86053.727384] [<ffffffff802f6655>] do_vfs_ioctl+0x75/0x230 [86053.727390] [<ffffffff802f68a9>] sys_ioctl+0x99/0xa0 [86053.727397] [<ffffffff8025624b>] ? sys_gettimeofday+0x3b/0x80 [86053.727404] [<ffffffff8021253a>] system_call_fastpath+0x16/0x1b [86053.727411] Code: 49 89 d5 48 c7 c2 fb ff ff ff 48 8b be 18 06 00 00 4c 8b 67 20 44 8b 0f 49 8b 84 24 70 19 00 00 45 85 c9 4d 8b 84 24 40 1c 00 00 <48> 8b 88 e8 00 00 00 74 64 81 fb 01 48 04 80 0f 84 98 01 00 00 [86053.727461] RIP [<ffffffffa006f0ab>] hiddev_ioctl+0x4b/0x660 [usbhid] [86053.727472] RSP <ffff88011e59be18> [86053.727475] CR2: 0000362e6f732f4b [86053.727480] ---[ end trace 811ff15a2dd32e35 ]--- -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html