I am tring to get the linux boot CD to work with a Qlogic 2312 card.  I know the driver is qla2300.ko which is kindly provided.  Here is what I have done and here is what I have got.  I fail in find-boot-device because I have no hda r sda in /sys/block.  I forced my driver to load prior to loading edd but I am very unfamiliar with this process any help would be appreciated.  Also when my driver loads it shows me the drives attached to the card so I know the card can see the drives.


####/etc/master
~~~~snip~~~~
load_modules qla2300

# Load EDD module, which we use to locate the boot disk and to
# determine the legacy disk geometry.
echo "*** Now we will load the EDD module..."
load_modules edd
~~~~snip~~~~


###//sys/firmware/edd/int13_dev80/interface
FIBRE                        wwid: 5005076300c69508 lun: 0


#####/install/linuxaux/usr/bin/find-boot-device
~~~~snip~~~~
 my $interface = read_line (File::Spec->catfile ($dir, 'interface'));
    if (defined $interface) {
        if ($interface =~ /^ATA\s+device:\s+(\d+)$/) {
            $ret{'ide_dev'} = $1;
        }
        elsif ($interface =~ /^SCSI\s+id:\s+(\d+)\s+lun:\s+(\d+)$/) {
            @ret{'scsi_id', 'scsi_lun'} = ($1, $2);
        }
        elsif ($interface =~ /^FIBRE\s+wwid:\s+(\S+)\s+lun:\s+(\d+)$/) {
            @ret{'ww_id', 'scsi_lun'} = ($1, $2);
        }
        else {
            warn "*** Unrecognized interface type in $dir/interface\n";
        }
    }
    return \%ret;
~~~~snip~~~~



Reply via email to