LinuxQuestions.org
Review your favorite Linux distribution.
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 04-30-2008, 12:33 PM   #16
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Original Poster
Rep: Reputation: 58

I'm going to boot the kernel tonight, then ccopy the dmesg with a livecd and copy the exact error message, hopefully that will help you
 
Old 04-30-2008, 03:57 PM   #17
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
To make sure it's not because of the WAY you're building your kernel, you could always try to rebuild the huge-smp kernel included with Slackware 12 (ie the 2.6.21.5 kernel -- make sure to add an EXTRAVERSION option so you don't overwrite the 2.6.21.5 modules) and see if it'll boot then. Just for control purposes, you should run `make oldconfig` even though nothing should be changed (since it's the same kernel version).

You could also try downloading the latest huge-smp kernel from -current and seeing if that works (and if it does take a look at the .config file and see what's different).
 
Old 04-30-2008, 05:01 PM   #18
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Original Poster
Rep: Reputation: 58
Quote:
Originally Posted by T3slider View Post
To make sure it's not because of the WAY you're building your kernel, you could always try to rebuild the huge-smp kernel included with Slackware 12 (ie the 2.6.21.5 kernel -- make sure to add an EXTRAVERSION option so you don't overwrite the 2.6.21.5 modules) and see if it'll boot then. Just for control purposes, you should run `make oldconfig` even though nothing should be changed (since it's the same kernel version).

You could also try downloading the latest huge-smp kernel from -current and seeing if that works (and if it does take a look at the .config file and see what's different).
Couldn't that break my system though?
 
Old 04-30-2008, 05:49 PM   #19
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Original Poster
Rep: Reputation: 58
The slackware -current kernel wont boot either, exact same message. I think I might have to move to a different distro to get suspend/hibernate working
 
Old 04-30-2008, 06:58 PM   #20
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
The problem (I believe)is with a single option that needs to be disabled in the kernel for SATA systems to boot and not have them panic as they try to boot hda. The option is to disable IDE in the kernel.

If you use make xconfig (which I do - I'm just used to it ) the option is defined as:

ATA/ATAPI/MFM/RLL support

In the .config file for huge-smp, the option is

CONFIG_IDE=Y This is not defined in my kernel that works.

There is and option under it that only exists as an option if IDE is enabled:

CONFIG_BLK_DEV_IDE=y (since this is disabled by disabling IDE, this could be the culprit as well.

I run a custom kernel on my Dell and everything runs fine. If I try to run huge-smp-2.6.24.5-smp it fails with a kernel panic as it tries to boot from hdax.

It has nothing to do with anything else on my setup seeing as the custom kernel boots fine.

I'm rebuilding the huge kernel now and disabling that option was the only change I made.
This may have caused other options to be undefined as well, but I don't know which.
I had wanted a safety kernel along with my custom, but a kernel panic is not much of a safety. It's taking awhile so I'll let you know (note to self - don't rebuild huge if you're in a hurry)

OK - confirmed - huge kernel boots with sda now and no panic.

Edit: Just wanted to add that entering "hda=noprobe" at the lilo prompt will also allow you to boot the huge kernel without the kernel panic due to the kernel trying to boot hda instead of sda. I will assume that, as stated in the changes and hints text, passing this option during the install will also enable the install to procede without error.

Last edited by Franklin; 05-01-2008 at 10:27 PM. Reason: Just trying to be accurate ;)
 
Old 04-30-2008, 08:33 PM   #21
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Original Poster
Rep: Reputation: 58
It boots now, thank you so much Franklin
 
Old 04-30-2008, 09:38 PM   #22
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
Glad to hear it!
Kernel options can be a bitch.


Steve
 
  


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
recompiled kernel on slackware 10.0, still can't compile new one salviadud Linux - Newbie 2 02-09-2005 03:08 AM
Recompiled kernel and LILO wont boot it! pnh73 Linux - Software 9 04-07-2004 02:06 PM
Inspiron laptop, kernel recompiled -> cannot boot x sedulous Red Hat 2 09-08-2003 07:59 AM
Recompiled kernel boot problem... lokee Linux - Software 5 05-15-2003 05:35 PM
kernel recompiled - but i boot from floppy? gui10 Slackware 8 05-08-2002 12:43 PM

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

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

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