On Fri, 6 Mar 1998, Jiandong Ye wrote:

> I am new to Sound Card stuff on redhat, so bear with me on this one.
> 
> I am trying to compile sound support into the 2.0.30 kernel of my
> Redhat 4.2 machine.  The compile steps I used:
>       make clean
>       make mrproper
>       make menuconfig  (specified IRQ 5, DMA 1,5, I/O 220)
>       make dep
>       make zImage
>       make modules
>       make modules_install
>       /etc/lilo  (keep both my working and new kernel)
>       depmod -a 2.0.30
> 
> Upon reboot, I can boot into either the new kernel or my original
> kernel at 'LILO' prompt.
> 
> However, when I boot into the new kernel I just compiled, and issue
> the command: "insmod sound", it gaves me error:
>       sb: interrupt IRQ7 failed, device disabled
> So, Why it says "IRQ7 failed" while I am very sure that I configured
> with "IRQ 5"?

I don't use "make zImage", but are you sure you're booting the new kernel?
Your /etc/lilo.conf probably points to /boot/vmlinuz-2.0.27 or something
like that, but your new kernel might not be there.  Do an "ls -l" in the
/boot directory and check the date of the kernel that you're booting from
lilo.  If it is older than it ought to be considering that you just built
a kernel, that's the old one.  The new kernel is
/usr/src/linux/arch/i386/boot/zImage
and you have to put it in /boot yourself and make sure /etc/lilo.conf
points to it correctly.  Here's how I'd do it:

In /boot, change the name of your original kernel (vmlinuz-2.0.27
probably) to vmlinuz.orig, and copy your new zImage to /boot, naming it
/boot/vmlinuz-2.0.27 (or whatever is appropriate).  Make sure that
/boot/vmlinuz, if it's there and is a symlink, points to your new kernel.
Now edit /etc/lilo.conf, make sure the "linux" section refers properly to
your new kernel, and and put a new section in there to boot your old
kernel with a tag like "old" or something, in case the new kernel is
tweaked somehow.  NOW run lilo and reboot and see what happens.

--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--

Greg Fall
[EMAIL PROTECTED]
http://www-personal.engin.umich.edu/~gmfall


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to