WIll FreeBSD 9.3 work on this hardware?

Per olof Ljungmark peo at intersonic.se
Tue Jan 26 21:11:34 UTC 2016



On 2016-01-26 12:57, Gary Mitchell wrote:
> Hello,
> 
> I have been asked by a customer to provide a server that will run
> FreeBSD 9.3 and having read some of your online documentation about
> controller cards I see the P410/P410i is supported, but can you tell
> me if this system/configuration is adequate and supported please?
> 
> DL380 G7(8SFF) X5650 2.66ghz 6C(2P), 64GB(16x4GB PC3-10600R), 2x
> 460W, DVD-RW, P410/512FBWC, Rails, 8x500GB SAS HDD
> 
> I have not come across your software before so have no knowledge on
> its use or compatibility, if you can confirm it will be OK (or not)
> that would be much appreciated.
> 
> Kind Regards,
> 
> [R710 CTO Servers]
> 

Hi,

We did run 9-STABLE on DL360/380 G6 and G7, P400/410/411 controllers
without much effort.

There was one gotcha with the controller and ZFS, I think it is
documented in a bug report or archives somewhere, but below are my notes
from that particular issue. If the problem shows, you need to boot a
Live CD and remember how you named the pool.

I think I also found that by assigning the second volume (da1) as boot
drive it worked as well.

Good luck!

## zfsboot.patch


--- zfsboot.c-orig      2015-07-17 15:45:14.525109333 +0200
+++ zfsboot.c   2015-07-17 15:45:37.644107022 +0200
@@ -453,6 +453,7 @@
        heap_end = (char *) PTOV(bios_basemem);
     }

+    printf("hello\n");
     dsk = malloc(sizeof(struct dsk));
     dsk->drive = *(uint8_t *)PTOV(ARGS);
     dsk->type = dsk->drive & DRV_HARD ? TYPE_AD : TYPE_FD;
--------------------------

Adding
   printf("hello\n");
before
   dsk = malloc(sizeof(struct dsk));
keeps the dsk->drive value assigned to 0x80 and the box will boot.


# cd /usr/src/sys/boot/i386/zfsboot
# patch zfsboot.c-orig < /usr/src/sys/boot/i386/zfsboot/zfsboot.c

# cd ../../
# make
# make install

- or

# cd /usr/src/sys/boot/
# make cleandir
# make cleandir
# make obj
# make depend
# make
# make install

* Do not forget:

camcontrol devlist

gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da1
------------------------------

# use LiveCD in case of emergency

Boot to Beastie, boot options, loader prompt

load /boot/kernel/kernel
load /boot/kernel/opensolaris.ko
load /boot/kernel/zfs.ko
set vfs.root.mountfrom=zfs:<ZFS ROOT>


More information about the freebsd-questions mailing list