<div class="gmail_quote">On Thu, Jun 18, 2009 at 6:04 AM, Soren Hansen <span dir="ltr"><<a href="mailto:soren@ubuntu.com">soren@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">
<br>
</div>Did you run "update-initramfs -u" after adding your hook to<br>
/etc/initramfs-tools/hooks?<br>
<font color="#888888"></font></blockquote><div><br>Yes I did. I think I've actually gotten it worked out. For one thing, I found that doing 'sudo rmmod qla2xxx && sudo modprobe qla2xxx' after boot that it will then pull in the firmware. That is good enough for my situation (I could put that in the boot script) but that still leaves a 1 minute delay during boot, which is too big of a deal for this since it's a server and a super fast boot doesn't really affect me much.<br>
<br>I did get the hook script working too though, and this gets rid of the boot delay. Here is the script:<br>---------------------------<br>#!/bin/sh -e
<br># initramfs hook for qlogic ql2312 firmware
<br> <br>PREREQ=""
<br> <br># Output pre-requisites
<br>prereqs()
<br>{
<br> echo "$PREREQ"
<br>}
<br> <br>case "$1" in
<br> prereqs)
<br> prereqs
<br> exit 0
<br> ;;
<br>esac
<br> <br> <br>cp -p /lib/udev/firmware.sh ${DESTDIR}/lib/udev/
<br>mkdir -p ${DESTDIR}/lib/firmware
<br>cp -p /lib/firmware/ql2300_fw.bin ${DESTDIR}/lib/firmware/
<br>cp -p /lib/udev/rules.d/50-firmware.rules ${DESTDIR}/lib/udev/rules.d/<br>-------------------------------<br><br>HOWEVER, either way I still can not access the LUN. I can see the LUN. Two new devices show up (sdc and sdd), but 'sudo fdisk /dev/sdc' gives 'Unable to read /dev/sdc'. You may notice this is a multipathed device, so it shows up twice, and I have not set up the multipathing software yet, but I'm pretty sure I could acess the devices on Fedora and on Debian before setting up dm-multipath.<br>
<br>I'll set up dm-multipath next and see if that helps anything.<br><br>James<br></div></div><br>