LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel Panic (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-panic-848791/)

divyashree 12-07-2010 12:42 AM

Kernel Panic
 
I have 2 Wan interface and one lan interface. One of the wan interface is SC92031 in eth2, which was not supported by the kernel 2.6.18-194.8.1.v5 and I insert the module manually in the kernel.

But whenever I am attaching this interface(eth2) to internet and successfully ifup the interface , it leads to kernel panic. So I have remove the cable and restart to function normally.

What may be the reason ?

er.surendersharma 12-07-2010 01:03 AM

Quote:

Originally Posted by divyashree (Post 4183141)
I have 2 Wan interface and one lan interface. One of the wan interface is SC92031 in eth2, which was not supported by the kernel 2.6.18-194.8.1.v5 and I insert the module manually in the kernel.

But whenever I am attaching this interface(eth2) to internet and successfully ifup the interface , it leads to kernel panic. So I have remove the cable and restart to function normally.

What may be the reason ?

Dear , your query is in half,so please write the query full and if possible then write down some coding portion also. may be that system call are you using kernel that is already used by eth1. and then eth2 is having problem its logical error.and you are also losing any NUL pointer error type.when there is NULL pointer is defined by any driver or system call the kernel will be panic. if you are changing anything in kernel or attaching your module with the kernel then keep in your mind there should not be any NULL pointer defined.

Thanks.

Surender Sharma

prodev05 12-07-2010 01:07 AM

The inserted module might be improper (not in a proper format for kernel to read it). if possible please share the output/more info for the kernel panic.

reg

markush 12-07-2010 03:00 AM

Hello,

the kernel 2.6.18 is pretty old!

@divyashree: in this thread http://www.linuxquestions.org/questi...-cards-848595/ you did not tell us that you're using such an antique kernel in your machine.

I'd strongly recommend to build a recent kernel.

Markus


All times are GMT -5. The time now is 05:05 PM.