Thread (7 messages) flat view 7 messages, 4 authors, 2004-03-15

Re: Adaptec aacraid

From: Matt Domsch <hidden>
Date: 2004-03-15 04:28:48

On Sun, Mar 14, 2004 at 09:14:50PM -0500, jlewis@lewis.org wrote:
I just took another look, and actually what it did was much worse.  It
looks at grub.conf and then rm's modules from /lib/modules for all kernels
mentioned in grub.conf and then installs its own (if it has one).  This
left me with:

# rpm -V kernel-smp-2.4.20-30.9
.M......   /dev/shm
missing    /lib/modules/2.4.20-30.9smp/kernel/drivers/scsi/aacraid
missing    /lib/modules/2.4.20-30.9smp/kernel/drivers/scsi/aacraid/aacraid.o

and no aacraid module anywhere in /lib/modules/2.4.20-30.9smp/.

Fortunately, it didn't blow away the 2.4.20-30.9smp initrd, so I was able
to extract the missing module from that, and put it back in place.  I know
the system would have booted just fine (since the module was in the
initrd)...but man, that's _really_annoying_ behavior for an RPM.  I
haven't bothered reading the whole script (25kb), but AFAICT, it rm'd the
modules and did not leave backup copies of them anywhere I've looked.
<shameless plug>
FWIW, this is *exactly* the reason DKMS exists - because every vendor
who offers a driver update does it a little differently.  DKMS is
designed to standardize this, and make it really obvious when a given
driver has been updated, and to what version, for each kernel.
http://linux.dell.com/projects.shtml#dkms
</shameless plug>

-- 
Matt Domsch
Sr. Software Engineer, Lead Engineer
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help