LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-29-2008, 04:06 PM   #1
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Rep: Reputation: 31
Kernel Panic At Boot-up


I've been working on 2.6.27.7 custom kernel since this morning. I started with my current kernel configuration (2.6.24) by running 'make oldconfig'

However, when I boot up, I get the following http://tinyurl.com/6fyhhf

I've enabled the chipset driver and the SCSI support for disk and cd-rom. I even tried making an initrd file even though my current kernel doesn't need it, but that didn't help either.

My lspci output: http://turing.cs.niu.edu/~z147107/lspci.out

lilo.conf and the kernel config and fstab files:

http://turing.cs.niu.edu/~z147107/lilo.conf
http://turing.cs.niu.edu/~z147107/config-2.6.27.7
http://turing.cs.niu.edu/~z147107/fstab

This is a ThinkPad T60 E7U-1953


Yes, the filesystem support (reiserfs) is built in.

This doesn't make any sense quite frankly because it's based on my previous kernel config, which works very smoothly. I'd appreciate any suggestions.

Last edited by alkos333; 11-29-2008 at 05:55 PM.
 
Old 11-29-2008, 04:20 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Originally Posted by kernel config
# CONFIG_IDE is not set
I believe you need CONFIG_IDE enabled for:
Quote:
Originally Posted by lspci output
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
[edit] I think you need this enabled too:
Quote:
Originally Posted by kernel config
# CONFIG_SATA_AHCI is not set
[edit2]
Quote:
Originally Posted by alkos333
I started with my current kernel configuration (2.6.24) by running 'make oldconfig'
Correct procedure is copy the old config in the kernel source dir before run make oldconfig (sorry if you already knew that)
cd <kernel dir>
zcat /proc/config.gz > .config
make oldconfig

Last edited by keefaz; 11-29-2008 at 04:30 PM.
 
Old 11-29-2008, 05:34 PM   #3
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Original Poster
Rep: Reputation: 31
Setting those two to 'y' didn't help either. I updated the config file.
 
Old 11-30-2008, 03:17 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
From I what I can tell you have a SATA HDD runnning in PATA or IDE mode, is this true ? Check your BIOS and see if there's an option to put the HDD in SATA or AHCI mode.
 
Old 11-30-2008, 04:22 AM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Originally Posted by alkos333 View Post
Setting those two to 'y' didn't help either. I updated the config file.
Posting this kind of reply won't help to visualize what you have done.
Sorry, but if you want help with kernel compilation, try to be more precise about the exact step you did
When I read your post, I think you edited the config file with a text editor, put 2 "y" into it and rebooted without recompiling the kernel...
(I think you know that it is not advised to edit the kernel config file directly)
 
Old 11-30-2008, 11:09 AM   #6
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Original Poster
Rep: Reputation: 31
Yes, I know it's not advised to edit the config file directly, but that's what I did.

I recompiled the kernel, copied the bzImage to /boot and re-ran lilo, so the changes did take effect.
 
Old 11-30-2008, 11:23 AM   #7
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Rep: Reputation: 31
That might be the problem then, you really need to be using make menuconfig or something similar when you need to edit a couple options on the file, because it might have needed to enable some other options based on those two lines.
I have seen this error before, and this might not be of help, but try passing hda=noprobe to the kernel at lilo, or add it to the append line in your lilo.conf. I got this error once when upgrading my kernel, and this is what fixed it.
 
Old 12-01-2008, 02:20 PM   #8
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Original Poster
Rep: Reputation: 31
Switching from Compatibility mode to AHCI mode in BIOS resolved the problem given the current config file. I also tried passing hda=noprobe, but that didn't help.
 
Old 12-01-2008, 02:40 PM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Then probably you left out the IDE and SATA drivers. But if AHCI works, I would stay with that, it has the most features.
 
Old 12-01-2008, 07:49 PM   #10
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Original Poster
Rep: Reputation: 31
Yes, I haven't had much time to mess around with this, but I still haven't straightened out what Compatibility mode is and what SATA, SCSI, and AHCI are exactly and how they are interconnected/related.
 
Old 12-02-2008, 01:46 AM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Things to read:

Quote:
SATA offers advantages over the older parallel ATA interface: primarily faster data transfer, the ability to remove or add devices while operating (hot swapping) (only when the operating system supports it), thinner cables that let air-cooling work more efficiently, and more reliable operation.

Designed as a successor to the Advanced Technology Attachment standard (ATA), it is expected to eventually replace the older technology (retroactively renamed Parallel ATA or PATA, also known as IDE or EIDE). Serial ATA adapters and devices communicate over a high-speed serial cable.

...

SATA and PATA

At the device level, SATA and PATA devices remain completely incompatible — they cannot be interconnected. At the application level, SATA devices are specified to look and act like PATA devices.[16] Many motherboards offer a "legacy mode" option which makes SATA drives appear to the OS like PATA drives on a standard controller. This eases OS installation by not requiring a specific driver to be loaded during setup but sacrifices support for some features of SATA and generally disables some of the boards' PATA or SATA ports since the standard PATA controller interface only supports 4 drives (often which ports are disabled is configurable).
http://en.wikipedia.org/wiki/Serial_ATA#SATA_and_PATA

Quote:
The Advanced Host Controller Interface (AHCI) is a hardware mechanism that allows software to communicate with Serial ATA (SATA) devices (such as host bus adapters) that are designed to offer features not offered by Parallel ATA (PATA) controllers, such as hot-plugging and native command queuing. The specification details a system memory structure for computer hardware vendors in order to transfer data between system memory and the device. As of June 2008, the current version of the specification is v1.3.[1]

Many SATA controllers can enable AHCI either separately or in conjunction with RAID support. Intel recommends choosing RAID mode on their motherboards (which also enables AHCI) rather than the plain AHCI/SATA mode for maximum flexibility, due to the issues caused when the mode is switched once an operating system has already been installed.[2]

AHCI is fully supported out of the box for Microsoft Windows Vista and the Linux operating system from kernel 2.6.19.[3] NetBSD also supports drivers in AHCI mode out of the box in certain versions. OpenBSD has had an ahci driver since OpenBSD 4.1. FreeBSD supports AHCI as well. Older operating systems require drivers written by the host bus adapter vendor in order to support AHCI.
http://en.wikipedia.org/wiki/Advance...ller_Interface

Basically in order of features and speed:
PATA/IDE < SATA <= AHCI
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic can't boot UniXFedora Slackware 5 10-09-2008 11:46 AM
kernel panic while trying to boot into my freshly brewed 2.6.22 kernel adityavpratap Debian 8 08-31-2007 09:53 PM
kernel panic on boot android6011 Linux - General 1 08-10-2007 05:09 AM
New kernel won´t boot. Kernel panic aquarius_kasuia Linux - General 5 10-21-2005 04:02 AM
Kernel Panic at boot from Promise ATA100 w/ Kernel 2.6 MikTheUser Linux - Hardware 9 07-24-2004 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration