[PlanetCCRMA] Recompiling the kernel 2.4.20-4.ll.acpi

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
Tue Apr 8 13:10:01 2003


> I was hoping that the new kernel would solve the incompatibility I had
> between the preemptible kernel and my modem driver, but no luck so far.
> So I'm trying recompiling the kernel without the preemptible feature. 
> I've been following the instruction you gave me for the previous version
> but I got an error while compiling:
> ======
> ... COUPLE OF HOURS OF COMPILATION AND THEN:
> 
> Conflicts: ppp <= 2.3.15 pcmcia-cs <= 3.1.20 isdn4k-utils <= 3.0 mount <
> 2.10r-5 nfs-utils < 0.3.1 cipe < 1.4.5 tux < 2.1.0 kudzu <= 0.92 e2fsprogs <
> 1.22 initscripts < 6.41 dev < 3.2-7 iptables < 1.2.5-3
> Obsoletes: kernel-modules kernel-sparc
> Processing files: kernel-debuginfo-2.4.20-4.mine.acpi

Hmmm, let me guess, you are using redhat 9...

> error: Could not open %files file
> /usr/src/redhat/BUILD/kernel-2.4.20/debugfiles.list: No such file or directory
> 
> 
> RPM build errors:
>     Could not open %files file
> /usr/src/redhat/BUILD/kernel-2.4.20/debugfiles.list: No such file or directory
> =======
> Any idea of what can be wrong?

If you just upgraded to 9 or are using unsupported betas... well... :-)

I have not tried compiling the kernel under 9, so far I'm using the
kernel build under 8.0 and it is working fine (but I have not tried to
build additional kernel modules). 

I would try turning off the automatic "debuginfo" package generation
that redhat 9 does. 

In /usr/lib/rpm/redhat/macros change %_enable_debug_packages to "0". No,
I have not tried this myself, I assume this is the way to turn that
off...

-- Fernando