Skip to contentSkip to conversation

kernel panic when usbnet loads a second time

DISCUSSION Antonio-Blasco Bonito 3 participants 4 messages Sep 1, 2003 – Sep 2, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I have my Zaurus PDA connected via usb with my debian box (kernel 2.4.21)
When I connect the PDA the first time hotplug loads the driver and calls my script /etc/hotplug.usb/usbnet to configure the usb link. Everything is OK.
If I detach the PDA, when I reconnect it hotplug starts and suddenly I get a kernel panic and I have to reboot.

Any ideas?

Signature · 20 lines
Antonio-Blasco Bonito
Phone:	+39 050 315-2958
E-mail:	[email protected]                                                                       
Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo"
CNR Area della Ricerca di Pisa
Via G. Moruzzi 1
56124 Pisa
Italy
_____________________________________________________________



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#1 lore raw
Quoted 6 lines · begin Antonio-Blasco Bonito

Hi,

I have my Zaurus PDA connected via usb with my debian box (kernel 2.4.21)
When I connect the PDA the first time hotplug loads the driver and calls my script /etc/hotplug.usb/usbnet to configure the usb link.

Why not configure the network interface usb0 in /etc/network/interfaces?

Jörg.
end.

Signature · 14 lines
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe trying
to produce bigger and better idiots. So far, the Universe is winning."
(Rich Cook)


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#2 lore raw
In reply to Antonio-Blasco Bonito
Quoted 11 lines · Antonio-Blasco Bonito

Hi,

I have my Zaurus PDA connected via usb with my debian box (kernel 2.4.21)
When I connect the PDA the first time hotplug loads the driver and calls my script /etc/hotplug.usb/usbnet to configure the usb link. Everything is OK.
If I detach the PDA, when I reconnect it hotplug starts and suddenly I get a kernel panic and I have to reboot.

Any ideas?

Joerg Sommer wrote on 2003-09-01 17:10 :

Quoted 6 lines
Quoted 5 lines · Antonio-Blasco Bonito

Hi,

I have my Zaurus PDA connected via usb with my debian box (kernel 2.4.21)
When I connect the PDA the first time hotplug loads the driver and

calls

Quoted 3 lines
Quoted 1 line

my script /etc/hotplug.usb/usbnet to configure the usb link.

Why not configure the network interface usb0 in

/etc/network/interfaces?

I do that, but I also need a script to setup iptables rules... But that's not the point.

Kernel panics everytime the PDA is hotplugged a second time.

I would like to get some help on this issue.

Signature · 20 lines
Antonio-Blasco Bonito
Phone:	+39 050 315-2958
E-mail:	[email protected]                                                                       
Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo"
CNR Area della Ricerca di Pisa
Via G. Moruzzi 1
56124 Pisa
Italy
_____________________________________________________________



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#3 lore raw
In reply to Antonio-Blasco Bonito
Quoted 3 lines · Antonio-Blasco Bonito
Kernel panics everytime the PDA is hotplugged a second time.

I would like to get some help on this issue.

Try the latest kernel version. If that still has problems, please post the decoded oops (run it through ksymoops) to the linux-usb-devel mailing list which is the proper place for stuff like this.

thanks,

greg k-h

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel