View previous topic :: View next topic |
Author |
Message |
fincoop Tux's lil' helper
Joined: 02 Feb 2004 Posts: 143
|
Posted: Mon Dec 19, 2011 1:10 am Post subject: [SOLVED] AIC94xx - Getting firmware into boot process |
|
|
Hello,
Have been struggling with this all day. Trying to do a new install. Disks are connected to AIC9410 controller and I have created several RAID arrays using MDADM. From the LiveDVD, the module aic94xx loads but does not see any of the disks, and I get an error about missing firmware in DMESG. I copy the firmware file into /lib/firmware, and restart the module, and I can see my drives and start my arrays.
However, even with the file in /lib/firmware, the system does not boot. I get a kernel panic and MDADM says it found 0 devices. My root drive is on an array, I think this is a circular dependency. I tried a genkernel image too but same result. I think it might be because the firmware file is not visible to the module at boot time.
I tried to create an initramfs that would contain both the module and the firmware along with mdadm and some other tools, but it seems very tricky to get a module into initramfs. I have followed the guide and have completed the init and gotten the other binaries like fdisk, mdadm, grep with dependent libraries in.
Thoughts?
Thanks!
*** SOLVED ***
When you are configuring the kernel, go to Device Drivers \ Generic Driver Options. There is a place to specify custom firmware blobs to be loaded INTO the kernel. That was all I had to do. Compile and load the new kernel, and voila!
Last edited by fincoop on Mon Dec 19, 2011 2:59 am; edited 1 time in total |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Mon Dec 19, 2011 1:39 am Post subject: |
|
|
i think the driver does 2 thing :
- activate your controller and disks
- use the fakeraid with the firmware
you should disable the fakeraid function, so you won't need the firmware (still if i'm not wrong thinking the firmware is only there for that)
because you'll endup with software raid anyway, and also because your card must be support to do fakeraid (i don't know if that one is support for that, must be wrote in the driver that handle fakeraid, lol can't even remember the name, dmraid or something like that)
Else for your initram check the cach0rr0 help about it : http://whitehathouston.com/documentation/gentoo/initramfs_howto.htm
its' for intel but sure could help you : https://forums.gentoo.org/viewtopic-t-888520-highlight-.html |
|
Back to top |
|
|
fincoop Tux's lil' helper
Joined: 02 Feb 2004 Posts: 143
|
Posted: Mon Dec 19, 2011 1:47 am Post subject: |
|
|
krinn wrote: | i think the driver does 2 thing :
- activate your controller and disks
- use the fakeraid with the firmware
you should disable the fakeraid function, so you won't need the firmware (still if i'm not wrong thinking the firmware is only there for that)
because you'll endup with software raid anyway, and also because your card must be support to do fakeraid (i don't know if that one is support for that, must be wrote in the driver that handle fakeraid, lol can't even remember the name, dmraid or something like that)
Else for your initram check the cach0rr0 help about it : http://whitehathouston.com/documentation/gentoo/initramfs_howto.htm
its' for intel but sure could help you : https://forums.gentoo.org/viewtopic-t-888520-highlight-.html |
Thank you for your help. I am not doing FakeRaid, the controller is only acting as I/O for software RAID (MDADM). The two links that you provided do not mention firmware. I did a bit more digging and read about hotplug -> coldplug -> udev.. based on what I have read so far, it seems that it is not so much a problem of loading the firmware, but rather that the firmware is on a file system that cannot be read yet. So, how can I load the firmware from within either initramfs or maybe from a USB stick? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|