[clue-tech] Driver Disk?

William wlist-clue at kimballstuff.com
Sun Aug 7 14:01:55 MDT 2005


Collins Richey wrote:

>Good luck with your search, and please share the results with us.
>
I have consolidated several sources (some RedHat, some SuSE, etc.) into 
the following procedure.  However, I am unable to get the CentOS 4 
installer to mount the newly crafted Driver Disk when prompted.  I've 
tried three different floppy disks to no avail, so I don't believe it's 
a matter of bad disks.  In fact, this same machine CAN mount and read 
the disk when I let the older CentOS 3 OS boot up.

I don't know why the CentOS 4 installer won't mount these disks and I 
hope any of you might be able to offer some tips.  This is the first 
time I've ever attempted to build a Driver Disk, so I'm clearly missing 
something.

Some ideas (though I'm frustrated and can't think clearly about what to 
do with them):
1. The machine I'm building this Driver Disk on uses SELinux.  Can this 
be interfering (the context tags in the file-system that is created on 
the floppy), somehow?
2. I create a file called centos-4, following an example used in a very 
old redhat-6 Driver Disk example.  Is it possible that CentOS 4 doesn't 
recognize the file; that it should be named redhat-something?
3. Is the installer expecting to mount an ms-dos (or other non-ext3) 
file system?
4. In the various Driver Disk images that I'm working with (for other 
OSes and other, unrelated devices), I noticed that the various files 
show no user/group ownership.  As I'm dealing with .IMG files, I have no 
idea what the file-system they were based on is (safe to assume it's 
ms-dos?).  Is this important to the Linux installer?

Thanks for any help!

Procedure (# = execute as root; ## = comment; ignore):
==================================
# yum install kernel-devel

# cd /usr/src
# wget http://www.tuxyturvy.com/files/megaraid.tar.bz2

# mkdir /usr/src/megaraid
# mkdir /usr/src/megaraid/dd
# mkdir /usr/src/megaraid/dd/modules
# mkdir /usr/src/megaraid/dd/modules/2.6.9-11.EL
# mkdir /usr/src/megaraid/dd/modules/2.6.9-11.ELhugemem
# mkdir /usr/src/megaraid/dd/modules/2.6.9-11.ELsmp

# cd /usr/src/megaraid
# tar jxvfp /usr/src/megaraid.tar.bz2

## Ignore all warnings.
# make -C /lib/modules/2.6.9-11.EL/build SUBDIRS=/usr/src/megaraid modules
# cp megaraid.o dd/modules/2.6.9-11.EL/
# rm -f *.o *.ko

## Ignore all warnings.
# make -C /lib/modules/2.6.9-11.ELhugemem/build 
SUBDIRS=/usr/src/megaraid modules
# cp megaraid.o dd/modules/2.6.9-11.ELhugemem/
# rm -f *.o *.ko

## Ignore all warnings.
# make -C /lib/modules/2.6.9-11.ELsmp/build SUBDIRS=/usr/src/megaraid 
modules
# cp megaraid.o dd/modules/2.6.9-11.ELsmp/
# rm -f *.o *.ko

# cd dd/modules/
# find . -type f | cpio -o -H crc | gzip -n9 > ../modules.cgz
# cd ..
# rm -rf modules/

# echo "LSI MegaRAID driver disk for CentOS 4.0" > centos-4

# vim modinfo
---- add ----
Version 0
megaraid
 scsi
 "LSI MegaRAID for Legacy Dell PowerEdge Servers"
-------------

# vim pcitable
---- add ----
0x101e 0x1960 "megaraid" "AMI|MegaRAID (OEM)"
0x101e 0x9010 "megaraid" "AMI|MegaRAID"
0x101e 0x9060 "megaraid" "AMI|MegaRAID"
0x8086 0x1960 "megaraid" "AMI|Megaraid"
-------------

# touch modules.dep
# chmod 0755 *

## Insert a floppy disk into your floppy disk drive.
# fdformat -n /dev/fd0u1440
# mkfs -t ext3 /dev/fd0u1440
# mount /dev/fd0u1440 /media/floppy
# rm -rf /media/floppy/*
# cp * /media/floppy/
# umount /media/floppy

## Done making the Driver Disk.
## Insert disk 1 of the CentOS 4 install set and reboot the machine.
## At the CentOS install prompt, type:
 > linux dd

## ... Cannot mount /dev/fd0 ?!

_______________________________________________
CLUE-tech mailing list
CLUE-tech at cluedenver.org
http://cluedenver.org/mailman/listinfo/clue-tech



More information about the clue-tech mailing list