[ukai] A crow may be drowned by aping a cormorant
Fumitoshi UKAI's hacking life

Fri, 24 Jun 2005

Debian installation on Proliant ML150 G2

Today, I install Debian on Proliant ML150 G2.

Sadly, the SATA adapter, Marvell MV88SX6041 4-port SATA II PCI-X Controller (rev 07) PCI ID 11ab:6041, is supported only on specific version of Red Hat and SuSE. In HP Insight Diagnostics CD, there are binary drivers for Red Hat Enterprise Linux 3 and SuSE LINUX Enterprise Server 9. No open source driver of the SATA adapter is available now.

I found there are usblinux in the HP Insight Diagnostics CD. I copied it into USB storage and configure it bootable, as described in the CD. I booted it with "bash" mode. I noticed /root/compaq/load_drivers.sh. When I executed it, it tried to load several drivers, including aar81xx and bcm5700. aar81xx is the driver module for the SATA adapter and bcm5700 is the driver module for the Broadcom NetXtreme BCM5721 Gigabit Ethernet PCI Express.

Then, I modified the initrd.img to include several program such as cfdisk, e2fsprogs, busybox and required shared library by them. I booted it from USB storage again, and partitoned the /dev/sda by using cfdisk and created filesystems:

 # mount -t proc proc /proc
 # mkswap /dev/sda2
 # swapon /dev/sda2
 # mkfs -j /dev/sda1
 # mkdir /mnt/sda1
 # mount /dev/sda1 /mnt/sda1
 # ifconfig eth0 inet xx.xx.xx.xx netmask yy.yy.yy.yy broadcast zz.zz.zz.zz
 # cd /mnt/sda1
 # wget -O vmlinuz http://myserver/tmp/vmlinuz

At the same time, I prepared base files by using debootstrap.

 # debootstrap sarge sarge
 # cd sarge
 # tar zcf ../sarge.tar.gz .

And copied it to the Proliant by wget.

 # mkdir tmp
 # cd tmp
 # wget -O sarge.tar.gz http://myserer/tmp/sarge.tar.gz

I modified initrd.img again to have /linuxrc like this:

 mount -t proc proc /proc
 modprobe aar81xx
 modprobe scsi_mod
 modprobe sd_mod
 modprobe bcm5700
 exit

and modified syslinux.cfg as root=/dev/sda1 from root=/dev/ram0.

However, it failed to boot by "unable to open console.". I booted with previous initrd.img and created necessary device files, such as console, tty[0-7]. Also copied device files in initrd.

I booted again with /linuxrc, and it worked! I fixed /etc/network/interface, /etc/hostname, /etc/resolv.conf and so on. I made sure to create device files by MAKEDEV std in /dev directory.

Then, I put vmlinuz and initrd in the /boot directory as follows.

  • initrd.img-2.4.20-28.7-ss7.10.11
  • vmlinuz-2.4.20-28.7-ss7.10.11

Set up grub boot loader.

 # grub-install /dev/sda
 # update-grub

Checked /boot/grub/menu.lst and fixed kopt as "root=/dev/sda1 ro ramdisk_size=50000 debug noht ide=nodma".

Boot from SATA disk using grub. Fine. Now, I've got Debian on HP Proliant ML150 G2!

I've used HP NetServer E200, PentiumIII 600MHz with 64MB memory(!). Today, I got 5 times of bogomips(Xeon 3.2GHz) and 50 times(!) of memory (3GB).

[03:25] | [hp/proliant] | # | TB| G


Can you send me please your initrd.img? I would much appreciate that because I have SuperMicro server with the similar type of SATA driver (Marvell® 88SX6081 8-port SATA) but no aar81xx module for that. Vendor is supporting only RedHat and SUSE (and Fedora 3...), but I want to run Slackware. I do not understand why adaptec do not release a source code, everyone will be happier. Thx.
Posted by Richard Gewissler at Fri Jul 29 07:07:52 2005

I'm afraid it is not allowed to redistribute the binary module.
How inconvenient non-free is.
Posted by ukai at Tue Aug 2 02:37:59 2005

Hi,
Can you use another driver than 2.4.20-xxx you installed on your maschine? I would be interesting in using the aar81xx-module for my up-to-date 2.6 kernel with debian on my proliant 150 g2. Perhaps you have a solution how to implement this. I have found some binary-images on the net, which are only for the rh-enterprice and SLE, but no debian :-(
Thanks for commenting on this.
Posted by steph at Thu Sep 22 04:06:39 2005

Hi there! i just finishing intalling a CentOS 4.2 with the Marvel Sata 4 Port Hercules II (Marvell® 88SX6081 8-port SATA) on a HP Proliant ML150 G2, i have the compiled drivers for:
2.6.9-22EL i586 (to install the first time), 2.6.9-22ELsmp_i686
2.6.9-22ELup_i686
--and the lastest update--
2.6.9-22.0.2ELsmp modules kernels.

If somebody needs those drivers just send me an email. sebastian.la.spina@gmail.com
ill post the drivers soon on the site.

Kick Install
Copy the i586 driver to a blank floppy.
Open terminal console (ctrl+F2) after the system try to find the HardDisks drivers on Install Procedure.

$mkdir /mnt/floppy
$mount /dev/fd0 /mnt/floppy
$cp /mnt/floppy/mv_sata.ko /tmp/
$umount /dev/fd0
$modprobe /tmp/mv_sata.ko
(if u do it well will apears the scsi HDs in the dmesg dialog - crtl+F4 or F3)

Ok,all its going well, u should back to Crtl+F1 and press "Add" in the Driver dialog, the HDs will be available to install ur system, after the packages been installed dont boot! or boot, but u need to load the i686 driver to boot ur system for first time...

if u dont boot, back to the funny console and copy:
2.6.9-22.ELsmp_i686 driver module to /mnt/sysimage/lib/modules/2.6.9-22ELsmp/kernel/drivers/scsi/
and ..
2.6.9-22ELup_i686 to /mnt/sysimage/lib/modules/2.6.9-22ELsmp/kernel/drivers/scsi/

do the other stuff
$chroot /mnt/sysimage/
$echo "alias scsi_hostadapter mv_sata" >> /etc/modprobe.conf
$./sbin/depmod -ae -F /boot/System.map-2.6.9-22.EL 2.6.9-22.EL
$./sbin/depmod -ae -F /boot/System.map-2.6.9-22.ELsmp 2.6.9-22.ELsmp
$./sbin/mkinitrd -v -f /boot/initrd-2.6.9-22EL.img 2.6.9-22.EL
$./sbin/mkinitrd -v -f /boot/initrd-2.6.9-22ELsmp.img 2.6.9-22.ELsmp
$exit
$sync
$reboot
Marvell Heroes Doesn`t Appear
C ya!
For futher information just write me.
Sorry for my indian english

Sebastián A.
Posted by Sebastián A. La Spina at Tue Feb 28 00:08:33 2006

Sorry Guys, my SCSI Storage controler it`s the Marvel Technology MV88SX6041 4-port SATA II PCI-X Controler (rev 07) not the 88SX6081 one that i.ve been posted. :)

Sebastian A. La Spina
3gbyte Tech
Posted by Sebastián A. La Spina at Tue Feb 28 00:27:16 2006

my mail sebastian.la.spina@gmail.com
Posted by Sebastián A. La Spina at Tue Feb 28 01:21:30 2006


Name:


E-mail:


URL:


Comment:


< June 2005 >
SuMoTuWeThFrSa
    1 2 3 4
5 6 7 8 91011
12131415161718
19202122232425
2627282930  

Categories

Archives

My Sites
ukai.jp
mu
me
Diary
[rss]

Web Sites
Debian
Debian JP
snapshot.debian.net
Japan Linux Association
Free Software Initiative of Japan

powered by pyblosxom