Date: Wed, 09 Sep 1998 15:13:35 -0500 From: Doug Ledford <dledford@dialnet.net> To: Louis Cheung <Louis@atmosphera.com.au> Cc: aic7xxx Mailing List <AIC7xxx@FreeBSD.ORG> Subject: Re: aic7xxx-5.1.0-pre8-2.0.35.patch.gz Message-ID: <35F6E16F.76E33F86@dialnet.net> References: <199809090047.KAA02418@homing.atmosphera.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Louis Cheung wrote: > > Hello all, > > I patched RedHat 5.1 (kernel 2.0.35) with > aic7xxx-5.1.0-pre8-2.0.35.patch.gz > last night. > Everything complied all right, but when I reboot with > the new kernel. I got this error message: > > Loading aic7xxx module > /lib/aic7xxx.o: kernel-module version mismatch > /lib/aic7xxx.o was complied for kernel version 2.0.34 > while this kernel is version 2.0.35 > > But wasn't it said "pre8-2.0.35" ? > > What should I do to make aic7xxx work with 2.0.35 kernel ? The RedHat OS is loading a module from the /boot/initrd file. You need to make a new initrd file in order to correct this problem. If you have already done the "make modules" and "make modules_install" steps in the kernel source directory, then you should be able to simply do something like: mkinitrd -v -f /boot/initrd 2.0.35 to make the new initrd image. Then just re-run lilo and boot into the new driver. Be sure to save the old initrd image and kernel, and make entries for the old kernel in the lilo.conf just in case something doesn't work right. Eg, cd /boot cp vmlinuz-2.0.34 vmlinuz.rescue cp initrd initrd.rescue cd /etc vi lilo.conf add a section for the vmlinuz.rescue kernel with an initrd= line that points to the saved initrd file lilo That should do the trick. -- Doug Ledford <dledford@dialnet.net> Opinions expressed are my own, but they should be everybody's. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-aic7xxx" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35F6E16F.76E33F86>