LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-30-2003, 06:06 PM   #1
xdrainox
LQ Newbie
 
Registered: Aug 2003
Posts: 16

Rep: Reputation: 1
kernel compile insanity...


Ok, maybe I'm just being stupid and forgetting something, but here's my situation..

I have a dual 600 xeon box w/ scsi drives ( adaptec controller )

I do a full install using the adaptec.s kernel image.

System boots fine.. *but*.. I see a couple of errors booting up like agpgart fails to load and aic79xx (scsi) fails to load... and I need smp anyways, so I perform these steps..

cd /usr/src/linux

make menuconfig

I remove agpgart support, and remove loadable module (M) support for aic79xx, and I add (*) for SMP support.

save and exit.

make dep && make clean bzImage modules modules_install

( which runs clean, does not error out )

rm /boot/vmlinuz

cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz

lilo

reboot

Now I get 2 penguins ( framebuffer ), kernel panic, or on some occasions with a few different steps It will boot through but I start receiving TONS of insmod failed to load blahblah modules when I boot up. What am I doing wrong? I've done this succesfully before. I dont recall what I did differently.. I'm running slack 9.1 btw.

-Draino
 
Old 09-30-2003, 06:33 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
First of all, never remove your old kernel until you have verified that your recompiled one is working... cause like in your case, if it fails, well, that might call for a reinstall from scratch...

Second, try following the directions here: http://www.linuxquestions.org/questi...threadid=49035 for compiling a kernel on Slackware, it hasn't failed me yet.
 
Old 09-30-2003, 06:47 PM   #3
xdrainox
LQ Newbie
 
Registered: Aug 2003
Posts: 16

Original Poster
Rep: Reputation: 1
I'm lazy and most of the time deleting the kernel and putting one back into place usually does not fail me.. if it does I pop the cd back in, mount the drive, then fix it.. i read through those earlier, but can anyone tell me what is the key thing I'm missing here that causes all the insmod failures? is it make? or make install? etc..

-Josh
 
Old 09-30-2003, 06:51 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
My guess would be the removable loadable module support. If your system is trying to load modules at bootup but you don't have support for that.. I'd guess that's why your getting errors.
 
Old 09-30-2003, 06:53 PM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally posted by xdrainox
I'm lazy and most of the time deleting the kernel and putting one back into place usually does not fail me..
On a side note, I would think being lazy would be having a million different kernels residing in your /boot cause your too lazy to remove them..

Oh well... its just good practice and would seem so much easier to just keep the kernel, if it fails.. reboot to old kernel to fix, instead of getting cd out and so on...
 
Old 09-30-2003, 07:02 PM   #6
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
really -- like it's that much harder to "mv /boot/vmlinuz /boot/vmlinuz.old" before you copy the new one over?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
alsaconf insanity nakedjohn Slackware 8 06-18-2004 01:30 AM
Nvida and insanity ShadowLux Linux - Software 19 11-23-2003 07:57 PM
More Kernel Rebuild Trouble --- insanity looms. mudelf Linux - General 1 10-09-2003 06:56 PM
wlan insanity urbanwks Slackware 2 09-23-2003 11:19 PM
Install insanity...HELP PLEASE!! cdmiller Linux - General 5 10-09-2002 11:17 AM


All times are GMT -5. The time now is 08:43 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration