Ubuntu Kernel Panic on Inserting Network Cable

1

I've been having a recurring kernel panic with my Ubuntu 9.04 installation (see other posts by me).

Today, I was fiddling around trying to get some cable attached when the system panicked. Looking at the layout, the only cable in the vicinity was the network cable. Upon further investigation, it seems that the system reliably panics whenever I insert a network cable. Removing the cable does not cause the panic.

How do I stop the system panicking when I insert the network cable?

If more information is needed, please add comments/answers and I'll post the required data.

Edit

Using the TTY view (Ctrl-Alt-F1), inserting the cable generates the same output as before, however, as it's only 40 lines it's not much help and I've not found a way to capture the output to a file. rlogin obviously won't work.

My next step will be to try a different cable and then, if the problem persists, a new network card.

Skizz

Posted 2010-03-08T23:22:47.957

Reputation: 992

Answers

1

Chances are that there is a problem with the network hardware or possibly the driver running it. By inserting the cable, it activates the link, which will trigger several software processes.

To be doubly sure, check the console output when you insert the cable to see if anything borks out before the kernel panic.

You can try using a different network card to see if the problem goes away. If it turns out to be a driver problem, using a different version of the kernel or building your own stock kernel might solve the problem.

sybreon

Posted 2010-03-08T23:22:47.957

Reputation: 1 048

Definitely check the console output to see what happens. – emgee – 2010-03-09T02:52:49.447

By console, do you mean the Ctrl-Alt-F1 (I think that's the key-combo) terminal? Can you get this output elsewhere as 40 lines probably won't be enough. – Skizz – 2010-03-09T11:27:00.680

40 lines will be enough because you are only interested in the last few lines where you inserted the cable. Otherwise, you can find a copy of the information in a number of files such as /var/log/dmesg and others in there. – sybreon – 2010-03-16T01:14:19.597

0

It is most likely hardware problem. Either your network card or your motherboard is dying. It might be also possible that cable is damaged or equipment on the other side of a cable is faulty.

I've seen similar problem in real life and it turned out to be motherboard problem, capacitors there have started to give up.

vava

Posted 2010-03-08T23:22:47.957

Reputation: 5 238

0

You could try a live CD for an OS that uses a different network stack. Like OpenSolaris or a BSD variant. Obviously this won't solve your problem but it would help narrow down whether it's hardware or software.

emgee

Posted 2010-03-08T23:22:47.957

Reputation: 4 487