Re: Building aacraid for RH 7.3
Tony Schreiner <[email protected]> Wed, 22 Oct 2003 16:40:22 -0400
| Newsgroups | gmane.linux.drivers.aacraid.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday, October 21, 2003, at 12:26 PM, [email protected] wrote: >> I'm new to the list, and new to building kernels from source >> so please forgive any obvious ignorance. > > Everyone is new to DKMS, thanks for giving it a try. > >> but my attempt to run >> dkms build -m aacraid -v 1.1.4.2225 -k 2.4.18-3BOOT >> >> failed with error >> >> kernel source for 2.4.18-3BOOT is not installed. >> I'm only aware of the basic kernel-source-2.4.18-3 RPM. Am I missing >> something or did I make a mistake. > > Ahh, indeed. Because DKMS uses the canonical location > /lib/modules/{kernelversion}/build which is a pointer to the kernel > source, > if you don't have the kernel-BOOT-2.4.18-3.i386.rpm installed, that > directory won't exist, thus no pointer to the source (yes, the pointer > will > be to the same /usr/src/linux-2.4.18-3). > > Simply rpm -ivh kernel-BOOT-2.4.13-3.i386.rpm and it should work. > No luck yet. After building a disk image with dkms mkdriverdisk -d redhat -m aacraid -v 1.1.4.2225 -k >> 2.4.18-3,2.4.18-3BOOT,2.4.18-3smp,2.4.18-3bigmem I transferred the disk image to a diskette with dd if=aacraid-1.1.4-2225-kernel2.4.18-3-(...)-dd.img of=/dev/fd0 bs=72k count=20 and booted the target system from CD, with "text dd" (it hangs if I don't use text). But when I got to the point of reading the driver off the diskette, it told me that it was not a valid driver disk for this release of Red Hat. I've dd'd the disk back to my hard drive and compared it with the original, and cmp shows no differences, so at least the diskette was written properly. The file type of the image file is: x86 boot sector, system mkdosfs, FAT Not sure how to proceed from here. Tony _______________________________________________ Linux-aacraid-devel mailing list [email protected] http://lists.us.dell.com/mailman/listinfo/linux-aacraid-devel Please read the FAQ at http://lists.us.dell.com/faq or search the list archives at http://lists.us.dell.com/htdig/