FreeBSD 6.2-PRERELEASE #3: Tue Oct 10 13:58:29 EDT 2006 LSi 8480e SAS Raid card mount: linprocfs on /compat/linux/proc (linprocfs, local) linsysfs on /compat/linux/sys (linsysfs, local) /dev/mfid0s1d on /usr/local/pgsql (ufs, local, noatime) dmesg: mfi0: 2025 - PCI 0x041000 0x04411 0x041000 0x041002: Firmware initialization started (PCI ID 0411/1000/1002/1000) mfi0: 2026 - Type 18: Firmware version 1.00.00-0074 mfi0: 2027 - Battery temperature is normal mfi0: 2028 - Battery Present mfi0: 2029 - PD 39(e1/s255) event: Enclosure (SES) discovered on PD 27(e1/s255) mfi0: 2030 - PD 56(e2/s255) event: Enclosure (SES) discovered on PD 38(e2/s255) mfi0: 2031 - PD 39(e1/s255) event: Inserted: PD 27(e1/s255) mfi0: 2032 - Type 29: Inserted: PD 27(e1/s255) Info: enclPd=27, scsiType=d, portMap=10, sasAddr=50015b2180001839,0000000000000000 mfi0: 2033 - PD 56(e2/s255) event: Inserted: PD 38(e2/s255) pkg_info: linux_base-fc-4_9 I have downloaded the Megacli and, using rpm2cpio extracted MegaCli-1.01.09-0.i386.rpm into my home directory. ~/usr/sbin/MegaCli brandelf -t Linux usr/sbin/MegaCli cd usr/sbin # ./MegaCli -EncInfo -aALL ERROR:Could not detect controller. # ./MegaCli -CfgDsply -aALL ERROR:Could not detect controller. Do I actually need to set up the links in /compat/linux/sys for the SAS raid card? or should this rpm be installed into the /compat/linux directory? I need to upgrade the firmware on this card as for some reason the webbios will not let me configure a Raid10 array and the only way I can see to upgrade the fw is to use the megacli utility. Thanks, Sven
Sven Willenberger writes: | FreeBSD 6.2-PRERELEASE #3: Tue Oct 10 13:58:29 EDT 2006 | LSi 8480e SAS Raid card | | mount: | linprocfs on /compat/linux/proc (linprocfs, local) | linsysfs on /compat/linux/sys (linsysfs, local) | /dev/mfid0s1d on /usr/local/pgsql (ufs, local, noatime) | | dmesg: | mfi0: 2025 - PCI 0x041000 0x04411 0x041000 0x041002: Firmware initialization started (PCI ID 0411/1000/1002/1000) | mfi0: 2026 - Type 18: Firmware version 1.00.00-0074 | mfi0: 2027 - Battery temperature is normal | mfi0: 2028 - Battery Present | mfi0: 2029 - PD 39(e1/s255) event: Enclosure (SES) discovered on PD 27(e1/s255) | mfi0: 2030 - PD 56(e2/s255) event: Enclosure (SES) discovered on PD 38(e2/s255) | mfi0: 2031 - PD 39(e1/s255) event: Inserted: PD 27(e1/s255) | mfi0: 2032 - Type 29: Inserted: PD 27(e1/s255) Info: enclPd=27, scsiType=d, portMap=10, sasAddr=50015b2180001839,0000000000000000 | mfi0: 2033 - PD 56(e2/s255) event: Inserted: PD 38(e2/s255) | | pkg_info: | linux_base-fc-4_9 | | I have downloaded the Megacli and, using rpm2cpio extracted | MegaCli-1.01.09-0.i386.rpm into my home directory. | | ~/usr/sbin/MegaCli | brandelf -t Linux usr/sbin/MegaCli | | cd usr/sbin | | # ./MegaCli -EncInfo -aALL | | ERROR:Could not detect controller. | # ./MegaCli -CfgDsply -aALL | | ERROR:Could not detect controller. | | Do I actually need to set up the links in /compat/linux/sys for the SAS | raid card? or should this rpm be installed into the /compat/linux | directory? I need to upgrade the firmware on this card as for some | reason the webbios will not let me configure a Raid10 array and the only | way I can see to upgrade the fw is to use the megacli utility. Make sure you have the Linux ioctl module loaded before linsysfs so it can register the hooks. kldstat/kernel config will help. One sanity check is to do: dhcp194:ambrisko 11] cat /compat/linux/sys/class/scsi_host/host*/proc_name megaraid_sas (null) dhcp194:ambrisko 12] If you don't see megaraid_sas then it isn't going to work and is missing the linux mfi module. Also you need to set: sysctl compat.linux.osrelease=2.6.12 or things won't work well. This will probably break your fc-4_9 Linux install until the updates to Linux emulation is merged (maybe it has but I don't think so). Since it is a static binary we don't have linux base installed. Doug A.