Fri, 24 Jun 2005
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).
Posted by Richard Gewissler at Fri Jul 29 07:07:52 2005
How inconvenient non-free is.
Posted by ukai at Tue Aug 2 02:37:59 2005
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
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
Sebastian A. La Spina
3gbyte Tech
Posted by Sebastián A. La Spina at Tue Feb 28 00:27:16 2006
![[ukai]](/images/ukai-hack.png)
