VMware
1 2 3 4 ... 23 Previous Next 342 Replies Last post: Jun 2, 2009 3:35 PM by AlbertChurba   Go to original post

Re: SATA Support Clear as Mud!?

15. Dec 15, 2007 3:26 AM in response to: blackforce
Click to view pdewild's profile Lurker 7 posts since
Oct 14, 2007
Hmmm, have you figured out which SATA controller it is, in the ML115? The HP site is very unclear about this one... Some websites state a nVidia MPC55... ?!

Can you send me a lspci? :)

It appears to be a issue with the XML file :).... Can you actually boot it up to a prompt? If so, try to edit the sata_nv.xml file, and copy/paste this part:

<device id="037e">
<vmware label="scsi">
<driver>sata_nv</driver>
</vmware>
<name>MCP55 SATA Controller</name>
</device>

And add another one, stating the <device id="037f"> (as it appears to have that one, according to some sites!)

Re: SATA Support Clear as Mud!?

16. Dec 15, 2007 7:51 AM in response to: mcwill
Click to view Raudi's profile Enthusiast 122 posts since
Feb 19, 2006
The on board SATA of my SuperMicro X7DBE shows 6 controllers too. Even when i configure it to use the Adaptec Host RAID.

lspci shows:
00:1f.2 RAID bus controller: Intel Corporation 631xESB/632xESB SATA Storage Controller RAID (rev 09)

But no RAID, i see both harddisks as single disks in the VI client...

Best regards
Stefan

Re: SATA Support Clear as Mud!?

17. Dec 15, 2007 7:53 AM in response to: Raudi
Click to view oreeh's profile Guru vExpert 10,046 posts since
Nov 30, 2005
HostRAID always requires some driver logic / support - so HostRAID adapters are really software RAID with a supporting ASIC.

Re: SATA Support Clear as Mud!?

18. Dec 15, 2007 9:53 AM in response to: pdewild
Click to view blackforce's profile Novice 30 posts since
Dec 8, 2007

Tried what u suggested pdewild. Cheers for the help. Although it didn't work.

Here is a dump of lspci.


Attachments:

Re: SATA Support Clear as Mud!?

19. Dec 15, 2007 10:19 AM in response to: blackforce
Click to view pdewild's profile Lurker 7 posts since
Oct 14, 2007
Hmmm, could be that the driver doesn't contain this particular nVidia controller.... crap... Will look into it monday... It is a tempting offer, one of those ML115's ;)

Re: SATA Support Clear as Mud!?

20. Dec 16, 2007 1:04 AM in response to: The-Kevster
Click to view J-H's profile Enthusiast 90 posts since
Nov 30, 2004

I have an Intel S5000PSLROMB motherboard. With ESX 3.0.x I had to purchase a RAID activation key (AXXRAK18E), memory for the RAID card, and I also purchased a battery backup unit (AXXRSBBU3). This was quite expensive. http://communities.vmware.com/message/590583

ESX 3.0.x did not recognize the onboard SATA controller (6321ESB). The installation CD only showed the disks connected to the ROMB card and also after the installation I only could use disk connected to the ROMB card.

The ESX 3.5 installation CD now recognizes the SATA controller and the ROMB card. I was able to create a VMFS on a disk connected to the SATA controller.

It is likely that with ESX 3.5 I could have bought the S5000PSLSATA or S5000PSLSAS motherboard which is cheaper, and it would not be required to buy the RAID activation key and RAID memory. The only difference would be that the configuration would not be on the HCL and therefore is not supported.

This is my test system at home so I could live with this disadvantage.

Re: SATA Support Clear as Mud!?

21. Dec 16, 2007 5:20 AM in response to: J-H
Click to view kriewald's profile Hot Shot 261 posts since
Jan 7, 2004

@J-H:

Can you just only install ESX 3.5 with the SATA controller?

or

Can you install and run ESX 3.5 with the SATA controller?


Cause with a HP ML110G2 and a i82801FR/FRW (ICH6R/RW) I can install ESX 3.5 with VMFS perfectly, but running ESX 3.5 isn't possible. Like @blackforce wrote with his configuration, it crashes during booting on my box too.

Re: SATA Support Clear as Mud!?

22. Dec 16, 2007 5:31 AM in response to: kriewald
Click to view J-H's profile Enthusiast 90 posts since
Nov 30, 2004

I'm currently running a VM located on the disk connected to the SATA controller.

What I haven't tried is to remove the ROMB card and only use the disk connected to the SATA controller to install ESX and create a VMFS on a partition of that disk or another disk connected to the SATA controller. I'm currently too busy to perform this test.

Re: SATA Support Clear as Mud!?

23. Dec 16, 2007 2:33 PM in response to: blackforce
Click to view rpartmann's profile Expert 224 posts since
Feb 8, 2007

Hi,

i managed to get my ESX3.5 to boot and run on a HP ML 115.

onboard raid: yes, this "raid" really sucks, because my rescue cd found 2 controllers/disks -> NO RAID

TODO-List to get ESX-3.5 up and running.

1.) install it from the cd (of course)

2.) reboot with a linux live cd of your choice.

and now i hope that there are no typos...because i created this "script" on my laptop during i tried and tested it on my ESX box!

mkdir /mnt/eboot
mkdir /mnt/eroot

  1. /boot of ESX box

mount /dev/sda1 /mnt/eboot

  1. /root of ESX box

mount /dev/sda2 /mnt/eroot

mkdir /mnt/eroot/tmp/initrd
mkdir /mnt/eroot/tmp/initrd/extracted
mkdir /mnt/eroot/tmp/initrd/extractednew

cp /mnt/eboot/boot/initrd-2.4.21-47.0.1.ELvmnix.img /mnt/eroot/tmp/initrd

cd /mnt/eroot/tmp/initrd
mv initrd-2.4.21-47.0.1.ELvmnix.img initrd-2.4.21-47.0.1.ELvmnix.img.gz
gunzip initrd-2.4.21-47.0.1.ELvmnix.img.gz
mount initrd-2.4.21-47.0.1.ELvmnix.img extracted -o loop

cd extracted
cd etc/vmware
cp simple.map simple.map.org

vi simple.map
2nd go for SED!

search for 037e
double this line
change one 037e to 037f
save

cd ..
cd ..

dd if=dev/zero of=initrd.img bs=1k count=97000
mke2fs -i 1024 -b 1024 -m 5 -F -v initrd.img

mount initrd.img extractednew -t ext2 -o loop

tar -C extracted/ -cmf - . | tar -C extractednew/ -xmf - .

  1. umount initrd.img

umount extracted
umount extractednew

gzip -best initrd.img
ls -alh
mv initrd.img.gz initrd.img

cd /mnt/eboot
mv initrd-2.4.21-47.0.1.ELvmnix.img initrd-2.4.21-47.0.1.ELvmnix.img.org
cp /mnt/eroot/tmp/initrd/initrd.img initrd-2.4.21-47.0.1.ELvmnix.img

cd /mnt/eroot
cd etc
cd vmware

cp pci.ids pci.ids.org
vi pci.ids
2nd go for SED!

search for 037e
double this line
change one 037e to 037f
save

cp pci.xml.merged pci.xml.merged.org
vi pci.xml.merged
2nd go for SED!

search for 037e
double this SECTION
change one 037e to 037f
save


cd pciid
cp sata_nv.xml sata_nv.xml.org
vi sata_nv.xml
2nd go for SED!

search for 037e
double this SECTION
change one 037e to 037f
save

reboot from your resuce system into ESX and JUCHEEEEE....

kind regards,

Reinhard


Re: SATA Support Clear as Mud!?

24. Dec 16, 2007 3:55 PM in response to: rpartmann
Click to view blackforce's profile Novice 30 posts since
Dec 8, 2007

I have tried your instructions.

I typed them in word for word.

All goes well until I get to

mount initrd.img extractednew -t ext2 -o loop

It says it cant find extractednew or something


Re: SATA Support Clear as Mud!?

25. Dec 17, 2007 1:11 AM in response to: blackforce
Click to view rpartmann's profile Expert 224 posts since
Feb 8, 2007

Hi,

do a "pwd". You should be in "/mnt/eroot/tmp/initrd"

I think i left out a "cd .." in my notes.


Re: SATA Support Clear as Mud!?

26. Dec 17, 2007 4:38 AM in response to: rpartmann
Click to view blackforce's profile Novice 30 posts since
Dec 8, 2007

Sorry I am confused where did u miss the cd.. from? I've PM'd u my msn address if u can help

Re: SATA Support Clear as Mud!?

27. Dec 17, 2007 5:17 PM in response to: blackforce
Click to view rpartmann's profile Expert 224 posts since
Feb 8, 2007

Hi,

this works on my ML 115-G1

1.) install normaly, hopefully it works.

2.) reboot with linux Live cd when esx boot fails

3.) scp the following script to the esx and tun it.

--->8---

#!/bin/bash

  1. vmware esx initrd changer
#/bin/bash
  1. Reinhard Partmann
  2. date created: 2007-12-17
  3. date modified: 2007-12-17
  4. version: 0.2

echo "creating directories..."
mkdir -p /mnt/eboot
mkdir -p /mnt/eroot

echo "mounting.."
mount /dev/sda1 /mnt/eboot
mount /dev/sda2 /mnt/eroot
mount | grep sda

echo "copying original initrd file..."
mkdir -p /mnt/eroot/tmp/initrd/extracted
cp /mnt/eboot/initrd-2.4.21-47.0.1.ELvmnix.img /mnt/eroot/tmp/initrd/initrd-2.4.21-47.0.1.ELvmnix.img.gz
cd /mnt/eroot/tmp/initrd

echo "unpacking & mounting original initrd file..."
gunzip -f initrd-2.4.21-47.0.1.ELvmnix.img.gz
mount initrd-2.4.21-47.0.1.ELvmnix.img extracted -t ext2 -o loop
cd extracted
cd etc
cd vmware

echo "changing simple.map..."
echo "10de:037f 0000:0000 sata_nv.o" >> simple.map

cd ..
cd ..
cd ..

umount extracted
echo "replacing original initrd file..."
gzip --best initrd-2.4.21-47.0.1.ELvmnix.img
mv /mnt/eroot/tmp/initrd/initrd-2.4.21-47.0.1.ELvmnix.img.gz /mnt/eboot/
cp /mnt/eboot/initrd-2.4.21-47.0.1.ELvmnix.img.gz /mnt/eboot/initrd-2.4.21-47.0.1.ELvmnix.img


echo "patching xml files"

cd /mnt/eroot/etc/vmware/pciid
lines=`wc -l sata_nv.xml | awk ' { print $1 } '`
echo "lines: $lines"
(( lines -= 2))
echo "subtr lines: $lines"
mv sata_nv.xml sata_nv.xml.org
head -$lines sata_nv.xml.org > sata_nv.xml

echo " <device ID="037f">" >> sata_nv.xml
echo " <vmware label="scsi">" >> sata_nv.xml
echo " <driver>sata_nv</driver>" >> sata_nv.xml
echo " </vmware>" >> sata_nv.xml
echo " <name>MCP55 SATA Controller</name>" >> sata_nv.xml
echo " </device>" >> sata_nv.xml
echo " </vendor>" >> sata_nv.xml
echo "</pcitable>" >> sata_nv.xml

touch /mnt/eroot/etc/init.d/rp-esxcfg-pciid-boot
echo "#!/bin/bash" >> /mnt/eroot/etc/init.d/rp-esxcfg-pciid-boot
echo "esxcfg-pciid" >> /mnt/eroot/etc/init.d/rp-esxcfg-pciid-boot
echo "sleep 5" >> /mnt/eroot/etc/init.d/rp-esxcfg-pciid-boot
echo "rm /etc/rc3.d/S99rp-esxcfg-pciid-boot" >> /mnt/eroot/etc/init.d/rp-esxcfg-pciid-boot
chmod a+x /mnt/eroot/etc/init.d/rp-esxcfg-pciid-boot
cd /mnt/eroot/etc/rc3.d/
ln -s ../init.d/rp-esxcfg-pciid-boot S99rp-esxcfg-pciid-boot

echo "cleanup..."
cd /
rm -f -r /mnt/eroot/tmp/initrd
umount /mnt/eboot
umount /mnt/eroot
rm -f -r /mnt/eboot
rm -f -r /mnt/eroot

--->8---

Re: SATA Support Clear as Mud!?

28. Dec 19, 2007 12:49 AM in response to: rpartmann
Click to view pdewild's profile Lurker 7 posts since
Oct 14, 2007

Hi Reinhard, thanks for the script, it works like a charm... However....

I install ESX, works perfectly... Boot with Ubuntu live CD (the only one lying around), run your script, reboot into ESX, all is fine. I reboot the ESX server again, "just to reboot" :), and again, the "root not found" issue... Tried it with and without the ending init-rd script.... Any of you have the same problems???

Re: SATA Support Clear as Mud!?

29. Dec 19, 2007 1:10 AM in response to: pdewild
Click to view blackforce's profile Novice 30 posts since
Dec 8, 2007

When he did mine. When he booted into esx for the 1st time.

he edited sata_nv.xml to add the 037f line

added 037f to sata_nv.xml
then ran
esxcfg-pciid

I could then reboot ok,

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities