LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Linux kernel remote debug (https://www.linuxquestions.org/questions/linux-server-73/linux-kernel-remote-debug-754792/)

axelgenus 09-13-2009 05:28 AM

Linux kernel remote debug
 
Hi guys,

I'm getting crazy trying to make to work the default CentOS 5.2 kernel on my server. My ISP provides some custom monolitic kernels which work good but they didn't compile in alot of useful stuff and, moreover, I think the EL5 kernels are more secure.

I guess the CentOS kernel panics during the boot but I can't figure out what's is missing (maybe a driver?). Is there a way to make some remote debugging on the kernel so that I can compile a custom one? I guess it would be enough just to get a log of what is happening.

Thanks,
Alessandro.

ramram29 09-14-2009 02:02 PM

what errors are you getting. Most kernel panic errors are due to a missing initrd file. Did you create one?

axelgenus 09-16-2009 07:41 AM

Quote:

Originally Posted by ramram29 (Post 3682553)
what errors are you getting. Most kernel panic errors are due to a missing initrd file. Did you create one?

I don't know what errors I get and this is exactly the problem. I've already had a initrd file from the distro's default kernel.

I paste my server's info below:

Quote:

00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 10)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)


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