I have a FreeBSD 8.1 installed on R610 hardware with H700 PERC card. Now I changed the card to H200 as per my requirement. While booting FreeBSD on it, it threw me to mountroot> prompt saying:
I tried running
but it dint work.
How to get this fixed?
Just to give you insight into what I did with the machine earlier:
I was following the above doc and compiled the new kernel for mfi. I did tried this too:
Code:
FAILED TO MOUNT ROOT:
Possible solution could be set vfs.root.mountfrom.options=rw
and then remove invalid options from /etc/fstab
Loader variables:
vfs.root.mountfrom=ufs:/dev/mfid0s1a
vfs.root.mountfrom.options=rw
Manual root filesystem specification:
<fstype>:<device> Mount using filesystem
eg: ufs:/dev/da0s1a
? List valid disk boot devices
<empty line> Abort manual input
I tried running
Code:
vfs.root.mountfrom=ufs:/dev/mfid0s1a
vfs.root.mountfrom.options=rw
How to get this fixed?
Just to give you insight into what I did with the machine earlier:
FreeBSD Driver Installation
Updating the driver on an existing FreeBSD system:
In this case the kernel image has to be updated the new driver module. Following are the steps to update the kernel with new driver.
- Make sure that kernel source has been installed on the system. If the kernel sources have been installed then there will be /usr/src/sys directory.
- Move to the arch/conf directory and copy the GENERIC configuration file to the name you want to give your kernel. For example:
[cmd=]# cd /usr/src/sys/i386/conf[/cmd]
For 64 bit the path is
[cmd=]# /usr/src/sys/amd64/conf[/cmd]
[cmd=]# cp GENERIC MYKERNEL[/cmd]- Perform the following steps.
a) Comment the following line in the file MYKERNEL by placing # at the beginning of the line.
b) Add the following line to the file /usr/src/sys/conf/filesCode:device cbb #cardbus (yenta) bridge
(Note add this line next to the line which has dev/mfi/mfi_cam.c optional mfi)Code:dev/mfi/mfi_syspd.c optional mfi
- Copy the zip (mfi.zip) file under the path /usr/src/sys/dev (Before proceeding to next step make sure that the directory with name “mfi†does not exist under path /usr/src/sys/dev/. If already a directory with name “mfi†exists, move it to some other folder. For example type, mv /usr/src/sys/dev/mfi /root/mfibackup).
- Go to the directory /usr/src/sys/dev and run the following command to unzip the source.
[cmd=]tar –x –f mfi.zip[/cmd]- To compile the kernel go to /usr/src directory and type
[cmd=]make buildkernel KERNCONF=MYKERNEL[/cmd]- To install the new kernel type
[cmd=]make installkernel KERNCONF=MYKERNEL[/cmd]- The new kernel will be copied to the /boot/kernel directory as /boot/kernel/kernel and the old kernel will be moved to /boot/kernel.old/kernel. Reboot the system to use the new kernel, which has the latest driver.
I was following the above doc and compiled the new kernel for mfi. I did tried this too:
Code:
Went to boot optoin 6:
boot ata
boot atapci
boot geom_bsd
boot geom_usb
boot mfi
enable-module mfi
mfi will be loaded
more /etc/fstab
<the above command shows me valid /dev/mfid0s1a and other mount points..donno if it really detected the disk>