2002-09-28 12:17:41

by Nick Sanders

[permalink] [raw]
Subject: Kernel Panic 2.5.39 when starting hotplug

Hi,

I get a kernel panic when starting the hotplug daemon when running 2.5.39, the
config and boot log are attached.

I can get the oops if someone could tell me how.

Nick


Attachments:
(No filename) (176.00 B)
config-2.5 (24.69 kB)
2.5.39-boot (12.18 kB)
Download all attachments

2002-09-28 12:22:51

by jbradford

[permalink] [raw]
Subject: Re: Kernel Panic 2.5.39 when starting hotplug

> I can get the oops if someone could tell me how.

See the FAQ:

http://www.tux.org/lkml/#s4-2

John

2002-09-28 18:52:27

by Greg KH

[permalink] [raw]
Subject: Re: Kernel Panic 2.5.39 when starting hotplug

On Sat, Sep 28, 2002 at 01:24:47PM +0100, Nick Sanders wrote:
> Hi,
>
> I get a kernel panic when starting the hotplug daemon when running 2.5.39, the
> config and boot log are attached.

What hotplug daemon? What is that? Do you mean a call to
/sbin/hotplug?

thanks,

greg k-h

2002-10-02 01:15:23

by Nick Sanders

[permalink] [raw]
Subject: Re: Kernel Panic 2.5.39 when starting hotplug

On Saturday 28 September 2002 7:55 pm, Greg KH wrote:
> On Sat, Sep 28, 2002 at 01:24:47PM +0100, Nick Sanders wrote:
> > Hi,
> >
> > I get a kernel panic when starting the hotplug daemon when running
> > 2.5.39, the config and boot log are attached.
>
> What hotplug daemon? What is that? Do you mean a call to
> /sbin/hotplug?
>
> thanks,
>
> greg k-h

Hi,

Sorry about the last report not the most informative, I'm still getting a
kernel panic with 2.5.40. I think it's my Alcatel USB Speedtouch Modem as it
only panics when I plug it in.

I set up a serial console but I could get the oops I could log in but as soon
as I plugged in the modem it hung.

So I wrote what I could see by hand

CPU: 0
EIP: 0060
EFLAGS: 00010006
EIP is at uhci_result_control+0x17/0x220[uhci-hcd]
eax: 00000000 ebx: cf1b6dc0 ecx: 00000086 edx: 00000002
ds: 0068 es: 0068 ss: 0068
Process usb.agent (pid:351, threadinfo=cc666000 task=cebb2d00)
Stack: ef5efa40 .....
Call Trace
[<d08f9f97>]uhci_transfer_result+0x57/0x130 [uhct-hcd]
[<d08fa73c>]uhci_irq+0xbc/0xe0 [uhci-hcd]
[<d08e5309>]uhci_hcd_irg+0x19/0x40 [usbcore]
[<c01082dd>]handle_IRQ_event+0x2d/0x50
[<c010843e>]do_IRQ+0x7e/0xe0
[<c0107010>]common_interupt+0x18/0x20
Code: 8b 40 14 39 f0 75 0a b8 ea ff ff fe9 eb 01 00 8b 54 24
<0> Kernel panic: Aiee, killing interupt handler!
In interupt handler - not syncing

With 2.5.39 the call trace was same plus the following

kmem_cach_free
do_exit
sys_exit
syscall_call

and the process was usbmodules

attached is config, lspci and lsmod from 2.5.36 with same config



Attachments:
(No filename) (1.52 kB)
lsmod (1.04 kB)
lspci (6.69 kB)
config-2.5 (24.90 kB)
Download all attachments

2002-10-02 01:56:03

by Greg KH

[permalink] [raw]
Subject: Re: Kernel Panic 2.5.39 when starting hotplug

On Wed, Oct 02, 2002 at 02:22:40AM +0100, Nick Sanders wrote:
> Sorry about the last report not the most informative, I'm still getting a
> kernel panic with 2.5.40. I think it's my Alcatel USB Speedtouch Modem as it
> only panics when I plug it in.

Are you using the new "in-kernel" driver for this device? Or the
userspace driver? Hm, in looking at your .config, you're not using the
kernel driver, any reason you aren't?

And if you move usbmodules to something else (like usbmodules.orig), it
will not be run by the hotplug code. Does that prevent the oops?

thanks,

greg k-h

2002-10-02 10:10:41

by Nick Sanders

[permalink] [raw]
Subject: Re: Kernel Panic 2.5.39 when starting hotplug

On Wednesday 02 October 2002 2:59 am, Greg KH wrote:
> On Wed, Oct 02, 2002 at 02:22:40AM +0100, Nick Sanders wrote:
> > Sorry about the last report not the most informative, I'm still getting a
> > kernel panic with 2.5.40. I think it's my Alcatel USB Speedtouch Modem as
> > it only panics when I plug it in.
>
> Are you using the new "in-kernel" driver for this device? Or the
> userspace driver? Hm, in looking at your .config, you're not using the
> kernel driver, any reason you aren't?
>
> And if you move usbmodules to something else (like usbmodules.orig), it
> will not be run by the hotplug code. Does that prevent the oops?
>
I used the kernel driver about 9 months ago but it wasn't reliable, the
userspace driver is brilliantly reliable and also I don't have to patch the
kernel, just looked at 2.5.40 and see it's in the kernel but I have been
using 2.4 till recently but there is still the speedmgmt application which
used to hang the machine on shutdown and also when the link was dropped and
you also need a ATM aware PPP daemon so the userpace driver is IMHO simpler
use.

Moving /usr/sbin/usbmodules to /usr/sbin/usbmodules.orig stops the kernel
panic, I get the following on boot

Starting hotplug subsystem: usb** can't synthesize root hub events.

Thanks

Nick