This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Linux Kernel 2.4.16 (x86) with GCC 3.1 causes kernel panic


> 
> Hello,
> 
> has someone successfully built Linux Kernel 2.4.16 (i386) with GCC 3.1 ?
> 
> It doesn't work for me, short after booting I get a kernel panic, I _guess_ 
> it might have to do with the Promise 20268 driver, I use a ATA drive on a 
> Promise UMDA 100 controller.
> 
> The kernel panics right before harddrive detection, but it happens so fast, 
> so it's just a guess that it has to do with the Promise driver.
> 
> GCC 3.1
> binutils 2.12.90.0.7 20020423
> -march=athlon was used 
> AMD Duron (with old Spitfire core, which basically is an Athlon with just 64k 
> L2 so -march=athlon should work fine, but -march=i686 also causes the panic 
> with GCC 3.1)
>

If you want to know if you are stuck in a driver or in the kernel proper I would
recomend throu out all drivers from the kernel, recompile it and boot - if it
get's all the way to "kernel panic unable to mount root device ...." then your
kernel is (probably) ok and you can go after the driver issues.

hofrat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]