Click to See Complete Forum and Search --> : wierd kernel compile error
ruwach
03-15-2004, 11:24 PM
Hey there,
i have tried in about four different distros to compile a kernel, always 2.4.2X and with every attempt, it goes fine untill it aborts with the same error at the same place.
an internal error in function ide_blk_major . an illegal instruction.
i thought perhaps that it was a module that was confilcting somewhere, so i went thru the menuconfig several times but cannot seem to find this one to disable.
i have the same issue in Debian, Crux, Sourcemage and in Rock Linux. Just cant seem to compile a kernel.
any help would be great, i have searched everywhere for this one.
JohnT
03-15-2004, 11:38 PM
Tell us a little about your hardware, specifically your hardrive(s). You should always read the change logs for any kernel your compiling for any errata the might be pertinent to your layout...also any patches to that particular kernel.
gamblor01
03-15-2004, 11:47 PM
Yeah and what commands are you running in order to compile? I'd simply recommend using the 'make xconfig' command in your /usr/src/linux-VERSION directory then run:
make dep
make clean
make bzImage
make modules
make modules_install
make install
ruwach
03-16-2004, 09:34 AM
ok i will check it out again when i get a chance.
the list of commands you gave me is what i use but instead of xconfig i gotta use menuconfig because most of the distros i am trying this out on do not have x yet.
i dont ever get past the bzImage part.
do the kernels that come with most distros have those patches already ? like debian, rock, etc. they boot fine, i just cannot seem to compile one myself.
thanks,
kevinalm
03-16-2004, 04:53 PM
You need to add:
make mrproper
to the top of that list of commands. Kernel.org doesn't guarranty that even freshly untarred sources will compile without that. Then make menuconfig, etc.
JohnT
03-16-2004, 05:46 PM
Originally posted by ruwach
do the kernels that come with most distros have those patches already ? like debian, rock, etc. they boot fine, i just cannot seem to compile one myself.
thanks, Most do, but they would always be behind as they are dated to your install source and patches are an ongoing process. You might not need to patch...it would be your decision based on hardware, security settings....etc. You just have to look at the change logs and make that decision yourself.
ruwach
03-16-2004, 10:17 PM
ok i will try again tonight with the make mrproper added in. i wrote all your stuff down.
i dont think that i am going to need much in the way of patches. None of my 4 year old hardware is exoctic at any level.
quantum fireball 6gig HD
TDK USB cd-burner - ( mass storage - no problems )
128 RAM
AMD 6k-2 400 mhz
KDS monitor
sis 6326 video card w/8mb ram
ESS sound card ( 100% SB )
some other 1.2 gig HD - standard stuff
mdwatts
03-17-2004, 02:26 PM
Originally posted by ruwach
an internal error in function ide_blk_major . an illegal instruction.
i thought perhaps that it was a module that was confilcting somewhere, so i went thru the menuconfig several times but cannot seem to find this one to disable.
Could you please post the IDE section of your kernel .config so we can have a look.
JohnT
03-17-2004, 02:33 PM
Originally posted by mdwatts
Could you please post the IDE section of your kernel .config so we can have a look.
Thats why I had asked for his HDW specs earlier, but recieved no response.
mdwatts
03-17-2004, 03:35 PM
Originally posted by JohnT
Thats why I had asked for his HDW specs earlier, but recieved no response.
quantum fireball 6gig HD
TDK USB cd-burner - ( mass storage - no problems )
128 RAM
AMD 6k-2 400 mhz
KDS monitor
sis 6326 video card w/8mb ram
ESS sound card ( 100% SB )
some other 1.2 gig HD - standard stuff
Isn't that what you requested JT? :confused:
JohnT
03-17-2004, 03:44 PM
Originally posted by mdwatts
quantum fireball 6gig HD
TDK USB cd-burner - ( mass storage - no problems )
128 RAM
AMD 6k-2 400 mhz
KDS monitor
sis 6326 video card w/8mb ram
ESS sound card ( 100% SB )
some other 1.2 gig HD - standard stuff
Isn't that what you requested JT? :confused:
That is ...no response when I asked:p
some other 1.2 gig HD - standard stuff :confused: .....then you've probably got the standard error message.:D.... What filesystem are you using?
Satanic Atheist
03-17-2004, 04:52 PM
I've always found kernel stuff really weird and it's more-or-less pot-luck for a newbie to get a kernel to compile (and it's not much easier for more experienced users).
Try and compile everything logically possible as a module. If you can do this and attempt a compile (turning off ALL unnecessary components - take your time) and it works, then there is a problem with some of your options. I've sometimes had causes down to something akin to dependency issues when compiling.
If the kernel STILL doesn't compile, then I guess that there may be a problem with some of your hardware (likely to be your HD controller). Unless someone's done some work for it, then I doubt there'll be much you can do.
Sorry,
James
asklepios
03-18-2004, 02:55 PM
are you getting this problem with all the 2.4.2X or a particular one?