aic94xx firmware and initramfs
hello list!
this is first time when i'm writing to debian list.
at the beginning i wish to sorry for my strange English I'm not a native.
for long time i was fighting with IBM 306m server with aic94xx sas
controller on board, some time ago I've installed debian 3.1 with self
compiled kernel 2.6.17 witch 'old' driver to this controller and this
runs well.
some time ago I've decided to change kernel to 2.6.19 in this kernel
there is a new (different) driver for the controller, I've thought 'this
will be simple' when I've decided to compile this driver with newest
kernel. this was my mistake - driver wanted a file: aic94xx-seq.fw and
when boot up, kernel panic ends after message:
/ aic94xx: Failed to load sequencer firmware file aic94xx-seq.fw, error -2 /
so after few days tests and making modifications in initramfs package I
think this is it (based on qlogic package):
<code>
+++ /usr/share/initramfs-tools/hooks/firmware_aic94xx 2007-01-25
14:55:12.000000000 +0100 @@ -0,0 +1,23 @@
+#!/bin/sh
+
+PREREQ="udev"
+
+prereqs()
+{
+ echo "$PREREQ"
+}
+
+case $1 in
+prereqs)
+ prereqs
+ exit 0
+ ;;
+esac
+
+. /usr/share/initramfs-tools/hook-functions
+
+copy_exec /lib/udev/firmware.agent /lib/udev/
+
+mkdir -p $DESTDIR/lib/firmware
+cp /lib/firmware/aic94xx-seq.fw $DESTDIR/lib/firmware
+
</code>
we need the firmware file ofc (from eg.
http://kernel.org/pub/linux/kernel/people/jejb/aic94xx-seq.fw ) copied
to /lib/firmware
uff, sorry if similar modification was publicated, I'm never find
complete solution for aic94xx in google that's why I'm decided to put
here the solution.
best regards
orzeh
Reply to: