LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-06-2014, 12:48 PM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Rep: Reputation: 131Reputation: 131
14.1 clean install, kernel panic


So here is a new one for me. I've installed Slackware a hundred times, next month is my ten year anniversary as a member of linuxquestions. I have a LOT to learn, but I though I had install issues pretty much down...

So...I did a clean install of Slackware 14.1 32 bit. The box has an Asus m4a89gtd board with two IDE drives. I have Windows 7 on sda1, so I put Slackware on sda5. I've done this many many times. Finish install, reboot:

Seven seconds into the boot I get:

BUG: unable to handle kernel NULL pointer dereference at 00000001
IP: [<00000001>] 0x0
Oops: 0020 [#1] SMP
...
then it gives me registers, stack, call trace.
...
Code: Bad EIP value

I'm not sure what is relevant that it is showing me, nor do I know exactly what it is saying is the problem. I'm typing this by hand while looking at the screen. And at this point it locks.

I tried to boot from install CD, giving it the appropriate parameters, and it does the exact same thing.

I've seen the Bad EIP value here and there, and the only solution I saw was to use an older kernel, which I'm in the process of doing right now, I'll post here if that actually works.

Anyone seen this before? I can give more information from the onscreen display if there is anything you want to see, just didn't want to type the entire mess.
 
Old 03-06-2014, 03:23 PM   #2
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Slackware 14.0: same problem.

Slackware 13.37 with the 2.6.37 kernel. Works!

I've found posts where others encountered this problem, and the solution was to use an older kernel. For reasons unknown to me, that worked in this case. I'd be very interested in hearing any ideas why this is so. I can use 13.37 on this box, as that was an excellent release, but I'd like to know why 14.0/14.1 would not boot without a kernel panic.
 
Old 03-06-2014, 03:31 PM   #3
pcninja
Member
 
Registered: Oct 2013
Location: SE Wisconsin, USA
Distribution: Arch Linux
Posts: 93

Rep: Reputation: Disabled
I know some older hardware might have problems with 3.x kernels. I know you can install an older slack version then upgrade one at a time to the latest version. But don't forget to skip kernel upgrades or all that time spent would have gone to waste!
 
Old 03-06-2014, 03:35 PM   #4
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
Without the stack trace it is impossible to know what is going wrong.

If you're unable to capture it you can take a picture and post that.

--mancha
 
Old 03-06-2014, 04:03 PM   #5
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by mancha View Post
Without the stack trace it is impossible to know what is going wrong.

If you're unable to capture it you can take a picture and post that.

--mancha
Yeah, sorry I didn't post the entire stack trace. The first line was something like start_kernel, and the last line was idle-something. That probably doesn't help much. I've since removed 14.1 and 14.0. and am successful running 13.37. So far ...
 
Old 03-06-2014, 04:50 PM   #6
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,183

Rep: Reputation: 237Reputation: 237Reputation: 237
Since you can boot with the install CD can you just mount and chroot to your system, compile and run the latest revision (Linux 3.10.32 or 3.12.13 for now) with the configs from your install CD, and see if it works?

EDIT:
Quote:
Originally Posted by Ook View Post
Yeah, sorry I didn't post the entire stack trace. The first line was something like start_kernel, and the last line was idle-something. That probably doesn't help much. I've since removed 14.1 and 14.0. and am successful running 13.37. So far ...
That probably does help much.
.

Last edited by guanx; 03-07-2014 at 01:15 AM.
 
Old 03-06-2014, 09:21 PM   #7
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,789

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
Let me get this straight. You were able to effectively boot the hugesmp.s kernel to complete the install but not to boot the installed system with the same kernel? Did you install Lilo to MBR or to "/" and use some other bootloader?
 
Old 03-07-2014, 08:01 AM   #8
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by enorbet View Post
Let me get this straight. You were able to effectively boot the hugesmp.s kernel to complete the install but not to boot the installed system with the same kernel? Did you install Lilo to MBR or to "/" and use some other bootloader?
And in all cases, the hugesmp.s kernel on the boot CD loaded just fine, and the installer ran just fine. I installed Lilo to the MBR, it's how I always do it. I was able to install and run Slackware 13.37 with no problem (13.37 uses the 2.6.x kernel). Neither 14.0 nor 14.1 would boot without kernel panic, even though they installed just fine.

The only time I've seen this before was when I was mixing IDE and SATA drives together, but that error is usually related to not being able to mount the file systems. This error was different.

I loaded Slackware 13.37 successfully, and I've had a render job running on it for over 12 hours that maxes out both cpu cores, and hammers the hard drive, and it is running just fine. No errors, no overheat problems, it is running just fine under full load. I was suspecting hardware issues, but the fact that 13.37 boots and has run under full load for the last 12 hours makes me wonder now if that is the case or not. Or if there is something in the 3.x kernels that the 2.6.x kernels don't do that is the cause of the problem?
 
Old 03-07-2014, 03:47 PM   #9
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,789

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
I don't what, if any differences, there are in the "install kernel" and the "installed kernel", either by design or in error but there obviously are some. Hopefully someone with deeper knowledge on this subject than I spots this and comments.
 
Old 03-07-2014, 04:10 PM   #10
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by enorbet View Post
I don't what, if any differences, there are in the "install kernel" and the "installed kernel", either by design or in error but there obviously are some.
I can attest that there is indeed a difference between the install kernel on the CD/DVD/USB image, and the installed kernel that runs from the hard drive. I had two laptops, HP Pavilion g7-2069wm, and dv7-7227cl, that could run the 14.0 install routine just fine, but as soon as I booted from the hard drive, kernel panic time! My solution, as others have stated above, was to run an older kernel; in my case, that was the 2.6.x series. It was a kludge to say the least, but it ran nevertheless.
 
Old 03-07-2014, 04:34 PM   #11
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,524

Rep: Reputation: 8493Reputation: 8493Reputation: 8493Reputation: 8493Reputation: 8493Reputation: 8493Reputation: 8493Reputation: 8493Reputation: 8493Reputation: 8493Reputation: 8493
If the install completed, but the reboot failed, I'm guessing that the issue is with a kernel module that's not loaded by the installer. I've seen a few Intel motherboards fall over when a watchdog module is loaded. Not the case here, but it still seems likely that it's a module issue since the installer carries fewer modules. Perhaps replacing the modules on the system with the ones from the installer could prove this?

The install kernels are identical to the ones that the system boots from later.
 
1 members found this post helpful.
  


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
Tried to install bcmwl-kernel-source and now getting kernel panic mplatt Linux - Newbie 2 06-30-2010 08:25 AM
[SOLVED] clean install of fedors 12 gives kernel error unix1adm Fedora 4 12-04-2009 06:35 AM
Trouble upgrading to 2.6.18 Kernel on clean Slackware install Ruhar Slackware 6 02-22-2007 12:05 AM
"make clean" caused system freeze, kernel panic on reboot jwhill2000 Linux - General 3 02-08-2005 07:59 PM
Fedora Core 1 clean install, upgrade the kernel or no? spiffdoodle Fedora 2 02-25-2004 06:43 PM

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

All times are GMT -5. The time now is 08:51 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