Tag Archives: Uncategorized

>skulle nyss bevisa för H att jag 1. läst photoshop på komvux. 2. hade mvg.

dök ner i en sunkig mapp från novell där jag förvarar gamla papper som inte har någon bättre plats att vara och hittade alla gamla betyg.
jag hade inte alls läst photoshop på komvux. jag hade läst pagemaker. ett otroligt mobbat mvg.
annat intressant som dök upp:
  1. ett fysiskt brev från telia till min mor med hot om uppsägning av telefonabonnemang efter missbruk.
  2. mitt vaccinationskort
  3. mina första visitkort
  4. ett diplom med autografer från plötsligt en förenings semestertävling 2004. anders svensson har bl.a skrivit “jag lägger på för mycke skruv” på detta.

working oem.tgz for my two asus barebones

In my lab at home i have one ASUS Terminator T3-P5P43 and one ASUS Terminator T3-M3N8200. I have managed to get the integrated nics and the mass storage adapters working in ESXi on both these models with some random homebrew drivers found scattered on the internetz.

to spare you all of the hunting and trial and error i am posting my oem.tgz here.

OBS! you will need to be running vSphere 4 Update 1 to get all drivers to load.

add support for Galileo Technology Ltd. 88E8056 PCI-E Gigabit Ethernet Controller in VMware ESXi4

in my previous post about installing VMware ESXi4 on my ASUS barebone i gave up on trying to get the integrated NIC on the motherboard working.

today i finally managed to get it working. here is how:

  1. download and extract the oem.tgz i link to in the old post.
  2. download and extract  mymod-network.new2.tgz from this forum post.
  3. copy sky2.o from mymod-network.new2 to the same path in the unpacked oem.tgz:
  4. open oem/etc/vmware/simple.map in an text editor
  5. add this line:

    11ab:4364 0000:0000 network sky2.o
  6. save simple.map
  7. open a terminal and change directory to the oem dir
  8. create a new oem.tgz like this:
  9. tar -cvzf oem.tgz etc usr
  10. OBS! ESXi doesn’t seem to like Mac OS X version av the tar command. use linux tar instead!
    if you use tar from OS X you will get a Purple Screen of Death saying “Cannot setup ramdisk: Boot image is corrupted”
  11. copy the new oem.tgz to the ESXi host and the restart
    scp oem.tgz root@10.0.1.115:/bootbank

when ESXi is up and running again, verify that all your hardware is found and have a driver attached to it with this command:

lspci -v

the output should show that ESXi have attached the sky2-driver to your NIC:

04:00.00 Ethernet controller Network controller: Galileo Technology Ltd. 88E8056 PCI-E Gigabit Ethernet Controller [vmnic1]	 Class 0200: 11ab:4364

apple och översättningar

när man konfar airports från airport utility finns det inställningar för “grupputskick”. idag tog jag tag i saken och fick reda på att det är multicast översatt.

andra roliga översättningar finns i iphone OS:

  1. om du har lösenord för att låsa upp telefonen står det “ange lösenkod”. lösenkod?!
  2. väckarklockan kallas påminnelse istället för alarm.

put VMware ESXi 4.0 on the ASUS Terminator T3-M3N8200

i have been shopping around for a small, silent, cheap computer that can take 8GB of RAM and run a quad core CPU and the barebone computers from Asus are really nice.

i accidently bought the T3-P5P43 a couple of weeks ago but I didn’t read the specs carefully enough and when i received it i noticed that although it can host 8GB of RAM, it can only do so with two memory sticks (instead of four which is much cheaper). that unit is now serving media to our tv, replacing an aging mac mini G4 (now running Windows 7 of course).

the hardware

this is the configuration i bought:

ASUS Terminator T3-M3N8200, GeForce 8200
Socket-AM2+/AM3, DDR2, SATA, HDMI, GbLAN, PCI-Ex(2.0)x16
AMD Phenom II X4 945
3,0Ghz, AM3, 8MB, 95W, Boxed
2x Crucial DDR2 PC6400 4GB KIT CL6
Kit w/two matched DDR2 PC6400 2GB CL6

the first thing you will notice when you boot the ESXi4 cd is that the installation program will panic and say “lvm driver failed to load”. if you are a unix-geek you will immediately think that ESXi can’t find the hard drive. true. but not in this case. VMware ESXi will panic if it can’t find at least one functional NIC to attach a driver to. and ESXi 4 doesn’t come with a driver for the integrated marvel yukon NIC on the motherboard of the T3-M3N8200. so to make the installer not panic you need to put in a supported network card. i used a cheap intel pro/1000 GT desktop adapter (e1000).

the install

unfortunately the internal hard drive won’t be found even with the intel nic so i settled on a more elegant solution: i installed ESXi 4 on a SD memory stick i had lying around. that way the installed system is separated from the datastore.  here is how you do it.

  1. attach the memory stick (or any USB-based drive you want to install on) and boot the VMWare ESXi 4 cd.
  2. if you have a supported NIC in the machine the installer will give you the option to install on the SD card(!).IMG_0207
  3. select the SD drive and let the installer run.
  4. eject the install cd and restart the newly installed server.

IMG_0209

now you want to copy a customized oem.tgz to the server to get support for the internal hard drive – so you will have somewhere to put your virtual machines on!

enable ssh support

to transfer files to a ESXi machine i find using SCP via SSH the easiest way.

  1. at the console press ALT+F1.
  2. type “unsupported” (without quotes)
  3. log in as root (the default password is <blank>. if you’ve already set a password through vsphere client, use that one.
  4. type vi /etc/inetd.conf (if you don’t know how to use the vi editor use google, or even better: get a book)
  5. uncomment the two lines that start with SSH
  6. reboot the server

enable support for the mass storage controller

okey, so now we have the server installed and we can use SSH to remote control it. just the hard drive left.

  1. go to http://www.vm-help.com/esx40i/customize_oem_tgz.php and download the driver pack for the nVidia MCP78 SATA controller (10de:0ad4).
  2. open your SCP client of choice (in windows i like WinSCP) and connect to the newly installed server.1612-4126642d227eac2f
  3. copy the file you downloaded (oem.tgz) to /bootbank/. overwrite any existing files.
  4. restart the server

log in to the console (ALT+F1 or SSH) and verify that the new drivers are loaded and are attached to the mass storage controller.
type: lspci –v and look for this:

lspci -v | more

00:09.00 SATA controller Mass storage controller: nVidia Corporation  [vmhba1]
Class 0106: 10de:0ad4

if it doesn’t say [vmhbaX] after the contoller you have done something wrong.

finished!

untitled

Black screen after Windows 7 upgrade

Tried to upgrade my desktop computer at work the hardcore way by just inserting the windows 7 install media and chosing the upgrade option.

On the first boot i got a black screen and just a cursor on my main monitor.
Figured it was a problem with the display driver (or it’s settings) so i started windows in VGA-mode and it worked.

Interrupt windows start by pressing F8. Chose “Enable low-resolution video (640×480). Then upgrade the display drivers when you get into windows. I updated the display drivers by going into device manager, right clicked my display adapter and clicked “Update Driver Software”.