FreeBSD on VMware ESXi with PCI Pass Through enabled

2013-03-28 Thread dweimer
Just curious if anyone has any good recommendations of settings for 
running FreeBSD under VMware ESXi 5.1 with PCI(e) pass through enabled.  
I have been doing some initial testing with a new motherboard processor 
and RAM.  That I am hoping to be able to run 3 Servers on.


The intended virtual machines for the setup.
1.) A FreeBSD system to run Bacula, which will require PCI pass through 
for an eSATA drive dock so backups volumes can be Rotated.
2.) A FreeBSD system to host my web/email server, no pass through 
required.
3.) A FreeNAS box host SMB shares and iSCSI, will use a PCI pass 
through to allow direct access to 4 Hard drives, attached to a separate 
SATA controller.


Current Hardware Information:
eSATA Controller for backups:  Koutech IO-PESA111 PCI Express SATA II 
(3.0Gb/s) - uses Silicon Image 3132 Chipset

System Board:  ASUS F2A85-M PRO FM2 AMD A85X (Hudson D4)
CPU:  AMD A10-5800K Trinity 3.8GHz (4.2GHz Turbo) Socket FM2 100W 
Quad-Core Desktop APU (CPU + GPU)
RAM:  CORSAIR Vengeance 16GB (4 x 4GB) 240-Pin DDR3 SDRAM DDR3 1600 
(PC3 12800)


I still need to add an additional controller SATA controller for the 
FreeNAS VM, but so far testing with a new machine built for the Bacula 
install has only been consistently able to trigger a complete core dump 
and crash of the ESXi host machine, sometimes at boot of the VM with PCI 
pass through, sometimes not until a load has been applied to the 
external hard drive on the Pass through SATA controller.


I have tried the following things to fix this that I have come across 
while searching for help.


Added the following to /boot/loader.conf:
  hw.pci.enable_msi=0
  hw.pci.enable_msix=0

Added the following to the Vmware Virtual Machine Configuration:
  pciPassthru0.msiEnabled = FALSE

--
Thanks,
   Dean E. Weimer
   http://www.dweimer.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD as VMWare guest / disk resizing

2012-12-18 Thread Luke Bakken
 You'll of course need to boot from another medium to do this.


That's my main question - can a larger disk be detected *without* a
reboot. On FreeBSD instances running within VMWare I have been able to
add new disks without a reboot but, as I described below, have not
found a way to get the operating system to detect a larger *existing*
disk without a reboot. VMWare allows you to resize a disk on the fly.
Obviously I'm only interested in the grow the disk scenario :-)

I'm beginning to think a reboot is necessary, which is surprising!

 On Dec 17, 2012, at 4:15 PM, Luke Bakken wrote:

 Hello everyone -

 I'm looking for a way to get FreeBSD 8 / 9 to detect that an already
 existing disk has grown. I have FreeBSD running as a guest within
 vSphere ESX 5. Here is the output of camcontrol showing how the disks
 are detected within the OS:

 [root@QA1HWFBSD83201 ~]# camcontrol inquiry da0
 pass0: VMware Virtual disk 1.0 Fixed Direct Access SCSI-2 device
 pass0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Command
 Queueing Enabled

 In the VM settings I can increase the disk size but I can't seem to
 find the right command within FreeBSD to force it to detect the new,
 larger size without a reboot. 'camcontrol rescan all' works great to
 detect a new drive but doesn't detect a larger disk. Within a Linux
 distribution like Debian, the following command will detect the larger
 drive:

 echo 1  /sys/class/scsi_device/0:0:0:0/device/rescan

 I apologize if this has been answered in the archives or online but I
 just haven't been able to get a definitive answer if this is possible,
 and how.

 Thanks so much in advance,
 Luke
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


 _
 The information contained in this message is proprietary and/or
 confidential. If you are not the intended recipient, please: (i) delete the
 message and all copies; (ii) do not disclose, distribute or use the message
 in any manner; and (iii) notify the sender immediately. In addition, please
 be aware that any message addressed to our domain is subject to archiving
 and review by persons other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD as VMWare guest / disk resizing

2012-12-18 Thread Warren Block

On Tue, 18 Dec 2012, Luke Bakken wrote:


You'll of course need to boot from another medium to do this.



That's my main question - can a larger disk be detected *without* a
reboot. On FreeBSD instances running within VMWare I have been able to
add new disks without a reboot but, as I described below, have not
found a way to get the operating system to detect a larger *existing*
disk without a reboot. VMWare allows you to resize a disk on the fly.
Obviously I'm only interested in the grow the disk scenario :-)


Force a GEOM retaste?

# true  /dev/ada0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD as VMWare guest / disk resizing

2012-12-18 Thread Devin Teske

On Dec 18, 2012, at 6:35 AM, Luke Bakken wrote:

 You'll of course need to boot from another medium to do this.
 
 
 That's my main question - can a larger disk be detected *without* a
 reboot. On FreeBSD instances running within VMWare I have been able to
 add new disks without a reboot but, as I described below, have not
 found a way to get the operating system to detect a larger *existing*
 disk without a reboot. VMWare allows you to resize a disk on the fly.
 Obviously I'm only interested in the grow the disk scenario :-)
 
 I'm beginning to think a reboot is necessary, which is surprising!

Live resize (without reboot even) is something being worked on for the future 
10.x series.
-- 
Devin


 
 On Dec 17, 2012, at 4:15 PM, Luke Bakken wrote:
 
 Hello everyone -
 
 I'm looking for a way to get FreeBSD 8 / 9 to detect that an already
 existing disk has grown. I have FreeBSD running as a guest within
 vSphere ESX 5. Here is the output of camcontrol showing how the disks
 are detected within the OS:
 
 [root@QA1HWFBSD83201 ~]# camcontrol inquiry da0
 pass0: VMware Virtual disk 1.0 Fixed Direct Access SCSI-2 device
 pass0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Command
 Queueing Enabled
 
 In the VM settings I can increase the disk size but I can't seem to
 find the right command within FreeBSD to force it to detect the new,
 larger size without a reboot. 'camcontrol rescan all' works great to
 detect a new drive but doesn't detect a larger disk. Within a Linux
 distribution like Debian, the following command will detect the larger
 drive:
 
 echo 1  /sys/class/scsi_device/0:0:0:0/device/rescan
 
 I apologize if this has been answered in the archives or online but I
 just haven't been able to get a definitive answer if this is possible,
 and how.
 
 Thanks so much in advance,
 Luke
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 
 _
 The information contained in this message is proprietary and/or
 confidential. If you are not the intended recipient, please: (i) delete the
 message and all copies; (ii) do not disclose, distribute or use the message
 in any manner; and (iii) notify the sender immediately. In addition, please
 be aware that any message addressed to our domain is subject to archiving
 and review by persons other than the intended recipient. Thank you.

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD as VMWare guest / disk resizing

2012-12-18 Thread Lucian
On 18 December 2012 15:27, Devin Teske devin.te...@fisglobal.com wrote:

 On Dec 18, 2012, at 6:35 AM, Luke Bakken wrote:
 Live resize (without reboot even) is something being worked on for the future 
 10.x series.

Looking forward to this, we can't offer cloud instances with FreeBSD
until this happens.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD as VMWare guest / disk resizing

2012-12-17 Thread Luke Bakken
Hello everyone -

I'm looking for a way to get FreeBSD 8 / 9 to detect that an already
existing disk has grown. I have FreeBSD running as a guest within
vSphere ESX 5. Here is the output of camcontrol showing how the disks
are detected within the OS:

[root@QA1HWFBSD83201 ~]# camcontrol inquiry da0
pass0: VMware Virtual disk 1.0 Fixed Direct Access SCSI-2 device
pass0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Command
Queueing Enabled

In the VM settings I can increase the disk size but I can't seem to
find the right command within FreeBSD to force it to detect the new,
larger size without a reboot. 'camcontrol rescan all' works great to
detect a new drive but doesn't detect a larger disk. Within a Linux
distribution like Debian, the following command will detect the larger
drive:

echo 1  /sys/class/scsi_device/0:0:0:0/device/rescan

I apologize if this has been answered in the archives or online but I
just haven't been able to get a definitive answer if this is possible,
and how.

Thanks so much in advance,
Luke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD as VMWare guest / disk resizing

2012-12-17 Thread Devin Teske
It can be done but it's not easy and not pretty.

You'll have to rewrite the partition scheme to grow *only* the last partition 
and then use growfs on the last partition to zero the new inodes within its 
newly defined range.

You'll of course need to boot from another medium to do this.

I usually use DruidBSD for this:

DruidBSD-1.0b1.iso

(a tiny 23.5MB ISO that you can write to thumb disk with dd or burn to cd; 
either works fine)

Boot from it and use the tools like disklabel -e /dev/yourdisk

But… be extremely careful and do your mathematics!

I know this isn't a complete step-by-step guide, but I wanted to get the answer 
out there that this is possible and it's a known quantity, but it can be 
dangerous if you get the math wrong when editing the disklabel positions, for 
example. If you can get that part right, the rest is easy (growfs).
-- 
Devin



On Dec 17, 2012, at 4:15 PM, Luke Bakken wrote:

 Hello everyone -
 
 I'm looking for a way to get FreeBSD 8 / 9 to detect that an already
 existing disk has grown. I have FreeBSD running as a guest within
 vSphere ESX 5. Here is the output of camcontrol showing how the disks
 are detected within the OS:
 
 [root@QA1HWFBSD83201 ~]# camcontrol inquiry da0
 pass0: VMware Virtual disk 1.0 Fixed Direct Access SCSI-2 device
 pass0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Command
 Queueing Enabled
 
 In the VM settings I can increase the disk size but I can't seem to
 find the right command within FreeBSD to force it to detect the new,
 larger size without a reboot. 'camcontrol rescan all' works great to
 detect a new drive but doesn't detect a larger disk. Within a Linux
 distribution like Debian, the following command will detect the larger
 drive:
 
 echo 1  /sys/class/scsi_device/0:0:0:0/device/rescan
 
 I apologize if this has been answered in the archives or online but I
 just haven't been able to get a definitive answer if this is possible,
 and how.
 
 Thanks so much in advance,
 Luke
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: installing FreeBSD in VMWare-player

2010-09-09 Thread Matthias Apitz

I could solve the boot problem of the USB key in the older
laptop of my wife by inserting into /boot/loader.conf the line

kern.cam.scsi_delay=1

(note: set kern.cam.boot_delay did not help)

matthias
-- 
Matthias Apitz
«...una sola vez, que es cuanto basta si se trata de verdades definitivas.»
«...only once, which is enough if it has todo with definite truth.»
José Saramago, Historia del Cerca de Lisboa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: installing FreeBSD in VMWare-player

2010-09-02 Thread Matthias Apitz

I wrote a small howTo for such a migration for others in the same
situation. Comments/Impromvements are welcome;

Thanks

matthias


$Id: moveFreeBSDintoVM.txt,v 1.2 2010/09/02 10:55:29 guru Exp $



   How to move a complete FreeBSD installation into a VM
Matthias Apitz g...@unixarea.de


1. Preparations in the running FreeBSD system

Save the current FreeBSD partition layout to paper, i.e.  print:

- /etc/fstab
- output of 'df -kh'
- output of 'bsdlabel ad8s4' (or whatever your disk is)

so you later know the sizes you will need in the new VM.

Reboot the system to single user mode, run fsck(8) in all
file systems and mount them read only, while staying single user.

Do dump(8) of all the partitions to some external media you
later can use in the VM a) physically and b) could be mounted
in FreeBSD. I used an USB disk with an UFS file system on it as
/dev/da0s1a:

# mount -t ufs /dev/da0s1a /mnt

# dump -0au -f /mnt/usr.dump   /usr
# dump -0au -f /mnt/var.dump   /var
# dump -0au -f /mnt/root.dump  /

Finally shutdown the system.



2. Prepare the VM 

Attach resources big enough to reflect your real system to
the VM. I used:

RAM: 2 GByte
IDE: 164 GByte (as one file in the host)

Make sure that the VM's boot order is: 1st CD/DVD, 2nd disk, so you
later can easy decide from where to boot by just attaching or not
the CD/DVD to the VM, even if the disk has already a MBR. Copy an
ISO image of the so called FreeBSD livefs to the host and attach
this as CD/DVD to the VM




3. Partitioning of the disk

This part is a bit tricky because the FreeBSD livefs does not
really guide through it. Boot from FreeBSD livefs and

- define country and keyboard
- run standard installation from the menu
- fdisk(8) the disk, use entire disk for FreeBSD
- let it install FreeBSD's boot manager
- partition the slice to the layout of your old system, i.e. to
  the following result:

  /dev/ad0s1a1 GByte /
  /dev/ad0s1b4 GByte swap
  /dev/ad0s1d2 GByte /var
  /dev/ad0s1e6 GByte /tmp
  /dev/ad0s1f(rest 146 GByte)/usr

- commit the last chance before scribbling on disk

The installer will now do the real fdisk(8) and BSD-label of
the partitions. It will newfs(8) the above file system and try
to install FreeBSD in it, which is not on the CD/DVD and which
is not what we want. Answer all questions as NO to get finally
back to the main menu of sysinstall(8) tool.

Reboot again into the FreeBSD livefs and go to the fixit repair
mode menu, start a shell. The above mentioned file systems are
created fine and even the boot manager is fine in place (ofc it
would not find anything to boot). The file systems are already
polluted which things we don't want (because we later will restore
from dumps). Run newfs(8) in all file system devices again:

# newfs -m 0 -o space /dev/ad0s1a 
# newfs -m 0 -o space /dev/ad0s1b 
# newfs -m 0 -o space /dev/ad0s1d 
# newfs -m 0 -o space /dev/ad0s1e 
# newfs -m 0 -o space /dev/ad0s1f 

We now have clean file systems (and boot manager installed).


4. Restore the dumps

First restore the old root file system using the booted FreeBSD livefs,
mount the new root as /mnt and the USB disk containing the dumps as /usb:

# mount /dev/ad0s1a /mnt
# mkdir /usb
# mount -t usf -o ro /dev/da0s1a /usb
# cd /mnt
# restore rf /usb/root.dump
# cd /
# umount /mnt

One could as well restore the other dumps the same way, but it's
better to see if the new root file system already boot fine, because
restoring the /usr dump will take many hours (in my case 9 hours for
120 GByte), 

Reset the VM (no need to worry, nothing is mounted), detach the
CD/DVD and reboot the old/new root file system into single user
mode. Remount the /root writable and restore the /usr dump:

# mount -o rw /
# mount -t usf -o ro /dev/da0s1a /mnt
# mount /dev/ad0s1f /usr
# cd /usr
# restore rf /mnt/usr.dump

(after 9 hours)

# mount /dev/ad0s1d /var
# cd /var
# restore rf /mnt/var.dump

Check and edit the /etc/fstab to reflect the new device names
(in my original system the disk was /dev/ad0s8 and not /dev/ad0s1).

Make /tmp writable for all users

# mount /dev/ad0s1e /tmp
# chmod 1777 /tmp

The system is now installed and should be boot up fine to normal
multi user mode, just reboot normally.


5. Final changes

Edit some system files to reflect the new VM environment:

/etc/rc.conf:

   - network interface is now em0, and not wlan0

/boot/loader.conf

   - sound (still not working)

/etc/X11/xorg.conf

   - recreate the X11 config file the normal way

install the vmware-tools for FreeBSD (still pending)




6. Some notes about performance

The host is Dell Precision M4400 with Dual Core CPU of 3.09 GHz and
runs Windows 7 Professional.

It took 9h to restore a dump of /usr which was produced in ~2h.

The compared write

Re: installing FreeBSD in VMWare-player

2010-09-01 Thread Matthias Apitz
El día Tuesday, August 31, 2010 a las 03:13:51PM +0200, Matthias Apitz escribió:

 Now I have already again my 'old' root partition booting to single user
 mode and I'm filling in the 120 GByte dump of the /usr ... The 1st try
 crashed the Win7 to blue screen over the night :-(

The 2nd try was successfull. It took 9 hours to get the dump restored.
The system now boots fine, even of course slower than native.

I still strougle with some smaller issues:

Xorg uses only 1280x720, while the full host display is NVidia support
1920x1200;

I can't get sound to work; the sound device is attached to the VM, the
kernel loads snd_emu10k1.ko  and sound.ko, but no device shows up.

Any ideas?

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Solidarity with the zionistic pirates of Israel?   Not in my  name!
¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: installing FreeBSD in VMWare-player

2010-08-31 Thread Matthias Apitz
El día Monday, August 30, 2010 a las 11:31:13AM +0200, Matthias Apitz escribió:

 El día Friday, August 27, 2010 a las 12:06:09PM +0300, Manolis Kiagias 
 escribió:
 
   On 27/08/2010 10:24 ??.??., Matthias Apitz wrote:
  
   Is it possible that the data gets corrupt on an USB key after some time?
   I'm wondering why the system even is intact to be booted from...
  
   Will prepare the key again or just fill in the dumps I have...
  
 matthias
 
 I prepared another USB key which boots fine in my laptop, boots fine in
 the other laptop native (i.e. without VM-player); but in the
 VM-player and in an older laptop of my wife it can't mount the root file
 system on boot; it says:
...


Because the USB key was not booting in the VM I've now used a 8.0 livefs
ISO to boot from. I used this livefs for the 1st time, I think, and even beeing
an experienced FreeBSD user for more than 15 years it is not easy to
understand how the livefs should be best use to

1) partition the slice and install boot manager
2) restore dumps from the USB disk I have

The livefs brings you into the same menu like any other install CD. I
was awaiting a straight forward boot into a multiuser run level and
then do the work from there. Ofc you can user the installer and dont
install anything (because there is nothing in this moment on the CD),
and then jump to the shell. In this case the created file systems are
already poluted with some stuff and are mounted together. I found no way
to unmount /mnt/ad0s1a (todo newfs again). It always said 'busy'. 

So I booted a 2nd time the livefs and went right away to the shell...

Now I have already again my 'old' root partition booting to single user
mode and I'm filling in the 120 GByte dump of the /usr ... The 1st try
crashed the Win7 to blue screen over the night :-(

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Solidarity with the zionistic pirates of Israel?   Not in my  name!
¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: installing FreeBSD in VMWare-player

2010-08-30 Thread Matthias Apitz
El día Friday, August 27, 2010 a las 12:06:09PM +0300, Manolis Kiagias escribió:

  On 27/08/2010 10:24 ??.??., Matthias Apitz wrote:
 
  Is it possible that the data gets corrupt on an USB key after some time?
  I'm wondering why the system even is intact to be booted from...
 
  Will prepare the key again or just fill in the dumps I have...
 
  matthias

I prepared another USB key which boots fine in my laptop, boots fine in
the other laptop native (i.e. without VM-player); but in the
VM-player and in an older laptop of my wife it can't mount the root file
system on boot; it says:

...
umass0: SCSI over Bulk-Only; quirks = 0x000
Root mount waiting for; usbus1
aumass0:1:0:-1 Attached to scbus1
uhub_explore:592: illegal enable change, port 1
da0at umass-sim0 bus 0 target 0 lun 0
da0: Intenso Premium 0.00 Remobeable Direct Access SCSI-2 device
da0: 40.000MB/s travsfer
da0: 7701MB (... byte per sector info)
Trying to mount root from ufs:/dev/da0s1a

Manual root file system specification...

when I specify manually the root as 'ufs:/dev/da0s1a' the same message
comes again;

looks like some timing problem, or? this is with 8-CURRENT based on CVS
of March 2009.

Any hints?

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Solidarity with the zionistic pirates of Israel?   Not in my  name!
¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


installing FreeBSD in VMWare-player (was: running FreeBSD on Windows host)

2010-08-27 Thread Matthias Apitz
El día Tuesday, August 24, 2010 a las 01:10:00PM +0300, Manolis Kiagias 
escribió:

  I have produced three dumps: from the /, /var and /usr file system. The
  man page of restore(8) reads about creating pristine file system, made
  by newfs(8). Later, in the VM environment, I'd like to have only one big
  file system... Is it possible to restore the tree dumps into one big
  file system or do I have to rebuild the same slicing as I now have?

 
 You won't have to rebuild the slicing. Just create the relevant
 directories in your big file system, cd into them and use restore.

Will it be a problem having the kernel /boot/* in this case far away from
the beginning of the partition?

I did some 1st tests with installing FreeBSD into a VM.

I grabed some other laptop which runs already Win7 and installed a
VMWare-player in it to do some tests. Of course the VMWare-player was
not able to boot from a prepared USB key. A workaround was a boot from
some ISO image of a boot manger (I used plpbt-5.0.10.zip from
http://www.plop.at/) which allows you to choose the USB storage as boot 
device after 1st stage boot.

The system comes up fine from the USB key and I created a 160 GByte
slice with the standard procedure like:

# fdisk -I /dev/ad0
# fdisk -B /dev/ad0

# bsdlabel -w ad0s1 auto
# bsdlabel -B ad0s1

edit the disk label and change partition a from unused to 4.2BSD
as partition type:

# setenv EDITOR /usr/bin/vi
# bsdlabel -e ad0s1

create the future root-filesystem on it and mount it to /mnt for the
installation:

# newfs -m 0 -o space /dev/ad0s1a
# mount /dev/ad0s1a /mnt 

install freebsd into /mnt; this assumes that you have the kernel and
userland in /usr/src and /usr/obj ready to be installed;

# cd /usr/src
# make installworld DESTDIR=/mnt

The 'make installworld' failed with errors in the Makefiles (...); for
example the file /usr/src/lib/libc/uuid/Makefile.inc had a line like
this:

SRCS+?  uuid_compare.c uuid_create.c uuid_create_nil.c uuid_equal.c \
uuid_from_stringc uuid_hash.c uuid_is_nil.c uuid_stream.# \
uuid_to_string.c

where it should have:

SRCS+=  uuid_compare.c uuid_create.c uuid_create_nil.c uuid_equal.c \
uuid_from_string.c uuid_hash.c uuid_is_nil.c uuid_stream.c \
uuid_to_string.c

(note the ? singn and the # sign), i.e. the content was broken and some
other files were missing in the /usr/src tree of the USB key. I used the
same key last year to install from it the system to my netbook EeePC and
it worked like it should. Since then the USB key was unused and carried
around in the bag of my laptop.

Is it possible that the data gets corrupt on an USB key after some time?
I'm wondering why the system even is intact to be booted from...

Will prepare the key again or just fill in the dumps I have...

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Solidarity with the zionistic pirates of Israel?   Not in my  name!
¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: installing FreeBSD in VMWare-player

2010-08-27 Thread Manolis Kiagias
 On 27/08/2010 10:24 π.μ., Matthias Apitz wrote:

 Is it possible that the data gets corrupt on an USB key after some time?
 I'm wondering why the system even is intact to be booted from...

 Will prepare the key again or just fill in the dumps I have...

   matthias


I've heard of stories of data 'fading out' from USB flash drives after
some period of complete inactivity.
Haven't experienced this myself though. Otherwise your procedure looks
fine and it shouldn't fail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: installing FreeBSD in VMWare-player

2010-08-27 Thread Matthias Apitz
El día Friday, August 27, 2010 a las 12:06:09PM +0300, Manolis Kiagias escribió:

  On 27/08/2010 10:24 ??.??., Matthias Apitz wrote:
 
  Is it possible that the data gets corrupt on an USB key after some time?
  I'm wondering why the system even is intact to be booted from...
 
  Will prepare the key again or just fill in the dumps I have...
 
  matthias
 
 
 I've heard of stories of data 'fading out' from USB flash drives after
 some period of complete inactivity.
 Haven't experienced this myself though. Otherwise your procedure looks
 fine and it shouldn't fail.

A dump of the key gives several error messages:

# dump -0au -f usb8.dmp /dev/da0s1a
  DUMP: Date of this level 0 dump: Fri Aug 27 14:06:04 2010
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/da0s1a to usb8.dmp
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 3980686 tape blocks.
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: 52.81% done, finished in 0:04 at Fri Aug 27 14:15:35 2010
  DUMP:   DUMP: read error from /dev/da0s1a: Input/output error: [block
4992928]: count=8192
read error from /dev/da0s1a: Input/output error: [block 4992870]:
count=10240
  DUMP: read error from /dev/da0s1a: Input/output error: [block
4992896]: count=7168
  DUMP:   DUMP: read error from /dev/da0s1a: Input/output error: [sector
4992928]: count=512
  DUMP: read error from /dev/da0s1a: Input/output error: [sector
4992870]: count=512
read error from /dev/da0s1a: Input/output error: [sector 4992896]:
count=512
  DUMP:   DUMP: read error from /dev/da0s1a: Input/output error: [sector
4992899]: count=512
  DUMP: read error from /dev/da0s1a: Input/output error: [sector
4992931]: count=512
read error from /dev/da0s1a: Input/output error: [sector 4992873]:
count=512
  DUMP:   DUMP: read error from /dev/da0s1a: Input/output error: [block
5032906]: count=10240
read error from /dev/da0s1a: Input/output error: [block 5032928]:
count=9216
  DUMP: read error from /dev/da0s1a: Input/output error: [block
5032946]: count=7168

I will re-create the key or even use another media;

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Solidarity with the zionistic pirates of Israel?   Not in my  name!
¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: installing FreeBSD in VMWare-player

2010-08-27 Thread Manolis Kiagias
 On 27/08/2010 3:17 μ.μ., Matthias Apitz wrote:
 El día Friday, August 27, 2010 a las 12:06:09PM +0300, Manolis Kiagias 
 escribió:

  On 27/08/2010 10:24 ??.??., Matthias Apitz wrote:
 Is it possible that the data gets corrupt on an USB key after some time?
 I'm wondering why the system even is intact to be booted from...

 Will prepare the key again or just fill in the dumps I have...

 matthias

 I've heard of stories of data 'fading out' from USB flash drives after
 some period of complete inactivity.
 Haven't experienced this myself though. Otherwise your procedure looks
 fine and it shouldn't fail.
 A dump of the key gives several error messages:

 # dump -0au -f usb8.dmp /dev/da0s1a
   DUMP: Date of this level 0 dump: Fri Aug 27 14:06:04 2010
   DUMP: Date of last level 0 dump: the epoch
   DUMP: Dumping /dev/da0s1a to usb8.dmp
   DUMP: mapping (Pass I) [regular files]
   DUMP: mapping (Pass II) [directories]
   DUMP: estimated 3980686 tape blocks.
   DUMP: dumping (Pass III) [directories]
   DUMP: dumping (Pass IV) [regular files]
   DUMP: 52.81% done, finished in 0:04 at Fri Aug 27 14:15:35 2010
   DUMP:   DUMP: read error from /dev/da0s1a: Input/output error: [block
 4992928]: count=8192
 read error from /dev/da0s1a: Input/output error: [block 4992870]:
 count=10240
   DUMP: read error from /dev/da0s1a: Input/output error: [block
 4992896]: count=7168
   DUMP:   DUMP: read error from /dev/da0s1a: Input/output error: [sector
 4992928]: count=512
   DUMP: read error from /dev/da0s1a: Input/output error: [sector
 4992870]: count=512
 read error from /dev/da0s1a: Input/output error: [sector 4992896]:
 count=512
   DUMP:   DUMP: read error from /dev/da0s1a: Input/output error: [sector
 4992899]: count=512
   DUMP: read error from /dev/da0s1a: Input/output error: [sector
 4992931]: count=512
 read error from /dev/da0s1a: Input/output error: [sector 4992873]:
 count=512
   DUMP:   DUMP: read error from /dev/da0s1a: Input/output error: [block
 5032906]: count=10240
 read error from /dev/da0s1a: Input/output error: [block 5032928]:
 count=9216
   DUMP: read error from /dev/da0s1a: Input/output error: [block
 5032946]: count=7168

 I will re-create the key or even use another media;

   matthias

Try recreating, preferably newfs the key first. Don't be surprised if
you find out you need a new USB key.
This reminds me of a recent incident I had with another key (of a
respected brand as well) which failed and disappeared(!) from the bus
while I was writing to it, plugged in on my freebsdgr.org server. Not
only I had to umount -f, but subsequently seems the whole USB subsystem
got 'stuck' and I had to reboot the server for it to work again.
As I said, I have not witnessed 'data fading' in USB flash drives, but
this the third one I throw away due to total hardware failure...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: installing FreeBSD in VMWare-player

2010-08-27 Thread Matthias Apitz
El día Friday, August 27, 2010 a las 04:20:41PM +0300, Manolis Kiagias escribió:

 Try recreating, preferably newfs the key first. Don't be surprised if
 you find out you need a new USB key.

newfs(8) did not worked; a format in Win7 lies that it was fine and
stops later writing to it after 2 GByte of 8; have to look for another
key;

thx

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Solidarity with the zionistic pirates of Israel?   Not in my  name!
¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD and vmware

2010-03-18 Thread Paul Schmehl
--On Wednesday, March 17, 2010 21:34:43 +0100 Erik Norgaard 
norga...@locolomo.org wrote:



Hi:

I have a dual boot Windows/FreeBSD which I use for work, I just tried today
to create a virtual machine with vmware on windows to start up the installed
FreeBSD.

This works except for three problems:

- The disk device is renamed, I suppose I can just dublicate the entries in
the fstab, the devices not found won't be mounted, I'll get an error but
problem solved?

- I can't see the network devices from vmware

- I can't start xwindows, no monitor is found

Any clues?



Yes.  Use VirtualBox.

--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead. Thomas Jefferson

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD and vmware

2010-03-17 Thread Erik Norgaard

Hi:

I have a dual boot Windows/FreeBSD which I use for work, I just tried 
today to create a virtual machine with vmware on windows to start up the 
installed FreeBSD.


This works except for three problems:

- The disk device is renamed, I suppose I can just dublicate the entries 
in the fstab, the devices not found won't be mounted, I'll get an error 
but problem solved?


- I can't see the network devices from vmware

- I can't start xwindows, no monitor is found

Any clues?

Thanks, Erik


--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD and vmware

2010-03-17 Thread Adam Vande More
On Wed, Mar 17, 2010 at 3:34 PM, Erik Norgaard norga...@locolomo.orgwrote:

 Hi:

 I have a dual boot Windows/FreeBSD which I use for work, I just tried today
 to create a virtual machine with vmware on windows to start up the installed
 FreeBSD.

 This works except for three problems:

 - The disk device is renamed, I suppose I can just dublicate the entries in
 the fstab, the devices not found won't be mounted, I'll get an error but
 problem solved?


I don't use vmware, but you glabel the block devices and they would then be
consistent in both.

- I can't see the network devices from vmware

 - I can't start xwindows, no monitor is found


I imagine the same hardware isn't presented to FreeBSD in the VM.  You might
need to do something like have two separate xorg.conf.  Same with NIC,
except you might be able to just have two entries in rc.conf.  What does
ifconfig says on physical hw and in VM?


 Any clues?

 Thanks, Erik


 --
 Erik Nørgaard
 Ph: +34.666334818/+34.915211157  http://www.locolomo.org
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD and vmware

2010-03-17 Thread Manolis Kiagias
On 17/03/2010 10:34 μ.μ., Erik Norgaard wrote:
 Hi:

 I have a dual boot Windows/FreeBSD which I use for work, I just tried
 today to create a virtual machine with vmware on windows to start up
 the installed FreeBSD.

 This works except for three problems:

 - The disk device is renamed, I suppose I can just dublicate the
 entries in the fstab, the devices not found won't be mounted, I'll get
 an error but problem solved?

Best would probably be to label the devices and use the labels instead
of device names. It will work without changes in both bare metal and
vmware. (Or maybe use the ufsid labels.) Check this out:

http://www.freebsd.org/doc/en/books/handbook/geom-glabel.html


 - I can't see the network devices from vmware

The emulated network device is probably different than the one you are
using. I believe most recent vmware versions emulate an Intel NIC, i.e.
em0. Use ifconfig to check and add a line in rc.conf for this

 - I can't start xwindows, no monitor is found

This is definitely fixable, make sure you install xf86-video-vmware port
and create an xorg.conf by hand if needed (probably not) using the
Handbook instructions.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD and vmware

2010-03-17 Thread Steve Polyack

On 03/17/10 16:34, Erik Norgaard wrote:

Hi:

I have a dual boot Windows/FreeBSD which I use for work, I just tried 
today to create a virtual machine with vmware on windows to start up 
the installed FreeBSD.


This works except for three problems:

- The disk device is renamed, I suppose I can just dublicate the 
entries in the fstab, the devices not found won't be mounted, I'll get 
an error but problem solved?


I think your best solution for this is to use glabel(8) to setup 
permanent labels on the drives.  You can then mount the label in fstab 
by replacing the device name with the appropriate /dev/label/labelname 
entry.  This will prevent the changes in disk device numbering or naming 
from causing you any more grief.



- I can't see the network devices from vmware
Do you mean you can't see a NIC from within FreeBSD on top of VMware?  
You will have to choose Other (64-bit) for the OS type and/or choose 
the e1000/Intel1000 device within VMware for the virtual network card.  
FreeBSD has great support for this card, virtual attempt physical.




- I can't start xwindows, no monitor is found

Try /usr/ports/x11-drivers/xf86-video-vmware



Any clues?

Thanks, Erik





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD and vmware

2010-03-17 Thread Erik Norgaard

On 17/03/10 21:40, Steve Polyack wrote:

On 03/17/10 16:34, Erik Norgaard wrote:



- I can't see the network devices from vmware

Do you mean you can't see a NIC from within FreeBSD on top of VMware?
You will have to choose Other (64-bit) for the OS type and/or choose
the e1000/Intel1000 device within VMware for the virtual network card.
FreeBSD has great support for this card, virtual attempt physical.


I created Other/FreeBSD 64bit OS type. When setting vmware up without 
NAT I can configure the em0 interface and get direct access, but with 
NAT I can't see the virtual interfaces vmware create.


Thanks for the your advices.
BR, Erik

--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD and vmware

2010-03-17 Thread Ivan Voras

Erik Norgaard wrote:

Hi:

I have a dual boot Windows/FreeBSD which I use for work, I just tried 
today to create a virtual machine with vmware on windows to start up the 
installed FreeBSD.


This is possible, I've run such a setup for a long time. But you don't 
say which versions of the products you are using.



This works except for three problems:

- The disk device is renamed, I suppose I can just dublicate the entries 
in the fstab, the devices not found won't be mounted, I'll get an error 
but problem solved?


As others said, use glabel or UFS labels (tunefs -L).


- I can't see the network devices from vmware


You can configure both cards (the real and the emulated one) in 
/etc/rc.conf and the one that's active will be used on boot.



- I can't start xwindows, no monitor is found


You can either use VESA or the VMWare specific driver for the virtual 
machine. Look into /usr/ports/x11-drivers. You will need to keep two 
configurations (xorg.conf) - one for the real and one for the emulated 
video card, and manually switch them.


You don't specifically need it but you can also look at 
/usr/ports/emulators/open-vm-tools.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD on VMware ESXi

2009-05-09 Thread Derek Ragona

At 05:44 AM 5/6/2009, Daniels Vanags wrote:

We moved Hard Disk Drives from HP ProLiant DL 385 G2 with 4GB RAM, AMD
Opteron processor to HP ProLiant DL 380 G5, 4GB RAM, Intel Xeon
processor.

Disks contain FreeBSD Virtual Machines running in VMware ESXi Server.
When trying to boot, getting error: BTX halted.

Please explain, how to start FreeBSD on different hardware.

Thanks,











Daniel Vanags

Information Technology  Department

IT infrastructure system engineer


I'm not sure what exactly you've done from your posting above.  I have 
FreeBSD running in VM's under ESXi.  I have moved the FreeBSD VM's from 
physical server to server without much trouble.  The devices presented to 
the FreeBSD VM are dependent the VM configuration, so I would check there 
first.  You may have selected a different SCSI host adapter in the VM 
settings for instance.


I believe the problem you are experiencing is more to do with your ESXi/VM 
configuration than FreeBSD.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD on VMware ESXi

2009-05-08 Thread Brian A. Seklecki
On Wed, 2009-05-06 at 13:44 +0300, Daniels Vanags wrote:
 We moved Hard Disk Drives from HP ProLiant DL 385 G2 with 4GB RAM, AMD
 Opteron processor to HP ProLiant DL 380 G5, 4GB RAM, Intel Xeon
 processor.
 
 Disks contain FreeBSD Virtual Machines running in VMware ESXi Server.
 When trying to boot, getting error: BTX halted.
 
 Please explain, how to start FreeBSD on different hardware.

Well, assuming that HFUX's RAID, VMWare and Linux doesn't totally shit
the bed from the hypervisor CPU type change, the VMs are controllable
from the spiffy AJAX/.Net20 VMWare management console.

There's plenty of debugging available from there.

Presumably all of the virtual hardware presented to the VM will be the
same, except the CPU details.

~BAS

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD on VMware ESXi

2009-05-06 Thread Daniels Vanags
We moved Hard Disk Drives from HP ProLiant DL 385 G2 with 4GB RAM, AMD
Opteron processor to HP ProLiant DL 380 G5, 4GB RAM, Intel Xeon
processor.

Disks contain FreeBSD Virtual Machines running in VMware ESXi Server.
When trying to boot, getting error: BTX halted.

Please explain, how to start FreeBSD on different hardware.

Thanks,

 

 

 

 

 

Daniel Vanags

Information Technology  Department

IT infrastructure system engineer



JSC SMP Bank  www.smpbank.lv

Phone:+371 67019386

E-mail:   daniels.van...@smpbank.lv
mailto:daniels.van...@smpbank.lv 

 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD in VMWare box

2008-11-22 Thread Pieter Donche

If one installs FreeBSD 7.0 in a VMWare box, the answer/choicde for
'install boot manager' is this: Standard MBR ?

The PC with WMware is connect to internet. Should one configure
Ethernet then. If yes, what static IP parameters must one enter??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD in VMWare box

2008-11-22 Thread Glen Barber
On Sat, Nov 22, 2008 at 7:57 AM, Pieter Donche [EMAIL PROTECTED] wrote:
 If one installs FreeBSD 7.0 in a VMWare box, the answer/choicde for
 'install boot manager' is this: Standard MBR ?


The boot manager can be whichever you want.  If you are installing on
a VM, chances are you're not dual-booting it, so yes, Standard Boot
Manager would be a 'good' choice.

 The PC with WMware is connect to internet. Should one configure
 Ethernet then. If yes, what static IP parameters must one enter??

This would be contingent on how you have networking set up.  Do you
have NAT or Bridged only?  If NAT, use rc.conf with the inet address
of your choice and the netmask for your NAT.

-- 
Glen Barber


If you have any trouble sounding condescending, find a Unix user to
show you how it's done.
 --Scott Adams
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD in VMWare box

2008-11-22 Thread Robert Joosten
Hi,

 If one installs FreeBSD 7.0 in a VMWare box, the answer/choicde for
 'install boot manager' is this: Standard MBR ?

Yes, or choos not to install a boot manager. Both worked with freebsd 6.x 
and ESX 2.5x

 Should one configure Ethernet then. If yes, what static IP parameters 
 must one enter??

The next that's available in your lan.

Hth.

Regards,
Robert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD in VMWare box

2008-11-22 Thread Pieter Donche

On Sat, 22 Nov 2008, Glen Barber wrote:


The PC with WMware is connect to internet. Should one configure
Ethernet then. If yes, what static IP parameters must one enter??


This would be contingent on how you have networking set up.  Do you
have NAT or Bridged only?  If NAT, use rc.conf with the inet address
of your choice and the netmask for your NAT.


My PC is connected to Internet using an ADSL modem to connect to an ISP.
It uses IP 10.0.0.somevalue, netmask 255.255.255.0, no gateway specified
and two DNS server IP addresses which my ISP asked to use.

Is this 'NAT' or 'Bridged'.

Can I enter values and then what values, for host, domain, IPV4 
gateway, Name server, IPV4 address, netmask in the screen presented 
during FreeBSD install
or should i use Cancel in that screen and make changes in system 
files (and what changes in what system files)?




--
Glen Barber


If you have any trouble sounding condescending, find a Unix user to
show you how it's done.
--Scott Adams


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD in VMWare box

2008-11-22 Thread Glen Barber
On Sat, Nov 22, 2008 at 8:43 AM, Pieter Donche [EMAIL PROTECTED] wrote:
 On Sat, 22 Nov 2008, Glen Barber wrote:

 The PC with WMware is connect to internet. Should one configure
 Ethernet then. If yes, what static IP parameters must one enter??

 This would be contingent on how you have networking set up.  Do you
 have NAT or Bridged only?  If NAT, use rc.conf with the inet address
 of your choice and the netmask for your NAT.

 My PC is connected to Internet using an ADSL modem to connect to an ISP.
 It uses IP 10.0.0.somevalue, netmask 255.255.255.0, no gateway specified
 and two DNS server IP addresses which my ISP asked to use.

 Is this 'NAT' or 'Bridged'.


You'd have to tell me; it's your VM. Check the network settings in the
management interface.

 Can I enter values and then what values, for host, domain, IPV4 gateway,
 Name server, IPV4 address, netmask in the screen presented during FreeBSD
 install
 or should i use Cancel in that screen and make changes in system files (and
 what changes in what system files)?


Either will work.

-- 
Glen Barber


If you have any trouble sounding condescending, find a Unix user to
show you how it's done.
 --Scott Adams
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD in VMWare box

2008-11-22 Thread Pieter Donche

On Sat, 22 Nov 2008, Glen Barber wrote:


On Sat, Nov 22, 2008 at 8:43 AM, Pieter Donche [EMAIL PROTECTED] wrote:

On Sat, 22 Nov 2008, Glen Barber wrote:


The PC with WMware is connect to internet. Should one configure
Ethernet then. If yes, what static IP parameters must one enter??


This would be contingent on how you have networking set up.  Do you
have NAT or Bridged only?  If NAT, use rc.conf with the inet address
of your choice and the netmask for your NAT.


My PC is connected to Internet using an ADSL modem to connect to an ISP.
It uses IP 10.0.0.somevalue, netmask 255.255.255.0, no gateway specified
and two DNS server IP addresses which my ISP asked to use.

Is this 'NAT' or 'Bridged'.



You'd have to tell me; it's your VM. Check the network settings in the
management interface.


(I previously installed an openSUSE 10.3 VM, and needed not enter any
TCP/IP parameter, and could use netwerking afterwards)

The default settings of my VMware are 
(from Edit / Virtual Network Editor)


Summary
Virt. Network - Summary - Subnet - DHCP
VMnet0 (Bridged) - Bridged to an automatically choosen adapter - -
VMnet1 (Host-only) - A private nw shared with the host - 192.168.72.0 - Enabled
VMnet8 (NAT) - Used to share the host's IP address - 192.168.173.0 - Enabled

Automatic Bridging
CHECKED: AUtomatically choose an available physical netwerk adapter to
bridge to VMnet0

Host Virtual Netwerk Mapping
VMnet0  Brigded to an automatically chosen adapter
(here I can also select my physical network card)
VMnet1 VMware Network Adapter VMnet1 (only choice)
VMnet2 (and 3 to 7 and 9): Not bridged
(here I can also select my physical network card)
VMnet8 VMware Network Adapter VMnet8 (only choice)

Host Virtual Adapters
Network Adpater  Virt.Nw   Status
VMware Network Adapter VMnet1 VMnet1   Enabled
VMware Network Adapter VMnet8 VMnet8   Enabled

DHCP
Virtual Network Subnet  Netmask Description
VMnet1  192.168.72.0255.255.255.0  vmnet1
VMnet8  192.168.137.0   255.255.255.0  vmnet8

NAT
VMnet host:  VMnet8
Gateway IP address  : 192.168.137.2   [ grey ]
Netmask:  255.255.255.0   [ grey ]
Nat Service
 Service Status: Started
 Service request: [ empty ]


Can I enter values and then what values, for host, domain, IPV4 gateway,
Name server, IPV4 address, netmask in the screen presented during FreeBSD
install
or should i use Cancel in that screen and make changes in system files (and
what changes in what system files)?



Either will work.

--
Glen Barber


If you have any trouble sounding condescending, find a Unix user to
show you how it's done.
--Scott Adams


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD in VMWare box

2008-11-22 Thread Derek Ragona

At 06:57 AM 11/22/2008, Pieter Donche wrote:

If one installs FreeBSD 7.0 in a VMWare box, the answer/choicde for
'install boot manager' is this: Standard MBR ?

The PC with WMware is connect to internet. Should one configure
Ethernet then. If yes, what static IP parameters must one enter??


You need to be more specific.  Are you using ESX server or workstation?

As for the boot manager you can use it, or not.  Both work.

You can have the FreeBSD just use DHCP to get network settings.

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BTX Halted error on FreeBSD 6 VMware Server

2007-10-03 Thread Norberto Meijome
On Tue, 2 Oct 2007 14:31:09 -0700
Rogelio Bastardo [EMAIL PROTECTED] wrote:

 I'm trying to install the latest FreeBSD boot cd on a VMware Server
 (running on CentOS).

works fine here (i have several FBSD 6 VMs under VMWare Server 1.0x under 
Centos 4.4 and Centos 5) can you please be more specific, what is the exact 
version + date of the latest FreeBSD boot cd you are using? 

B

_
{Beto|Norberto|Numard} Meijome

You shouldn't verb words.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


BTX Halted error on FreeBSD 6 VMware Server

2007-10-02 Thread Rogelio Bastardo
I'm trying to install the latest FreeBSD boot cd on a VMware Server
(running on CentOS).

When I boot (whether it's option 1 or 2), I always get the same BTX
Halted error.

Is there something I need to disable before I can get VMware to play
nicely with FreeBSD?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: requesting advice on freebsd as vmware guest

2006-09-11 Thread Igor Robul
On Mon, Sep 04, 2006 at 09:06:54PM -0500, Eric Schuele wrote:
 On 09/04/2006 16:00, Peter wrote:
 Hi,
 I have XP (3 GHz Pentium and 1.5 MB RAM) running at work and would like
 to have access to a FBSD system within it.  
 
 Have you considered Virtual PC from MS?  I believe its free.
As VMware server 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


requesting advice on freebsd as vmware guest

2006-09-04 Thread Peter
Hi,
I have XP (3 GHz Pentium and 1.5 MB RAM) running at work and would like
to have access to a FBSD system within it.  I am not sure which vmware
product to install.  I believe vmware server is good if you need remote
connections (something I do not require at this point).  There is also
workstation and player.  So I'm looking for advice on the basic recipe
as well as any common pitfalls.
Peter

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: requesting advice on freebsd as vmware guest

2006-09-04 Thread Eric Schuele

On 09/04/2006 16:00, Peter wrote:

Hi,
I have XP (3 GHz Pentium and 1.5 MB RAM) running at work and would like
to have access to a FBSD system within it.  


Have you considered Virtual PC from MS?  I believe its free.


I am not sure which vmware
product to install.  I believe vmware server is good if you need remote
connections (something I do not require at this point).  There is also
workstation and player.  So I'm looking for advice on the basic recipe
as well as any common pitfalls.
Peter

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: requesting advice on freebsd as vmware guest

2006-09-04 Thread Duane Hill
On Monday, September 4, 2006 at 9:00:44 PM, Peter confabulated:

 Hi,
 I have XP (3 GHz Pentium and 1.5 MB RAM) running at work and would like
 to have access to a FBSD system within it.  I am not sure which vmware
 product to install.  I believe vmware server is good if you need remote
 connections (something I do not require at this point).  There is also
 workstation and player.  So I'm looking for advice on the basic recipe
 as well as any common pitfalls.
 Peter

I  currently am running VMWare Workstation v5.5.2 on my XP Pro at home
with  a  3.2Ghz  Pentium  and 4 Gig of ram. I use it mainly for a test
bed.  In  my  current  testing  of  some  things for work, I have four
FreeBSD v6.1 servers set up. It runs nice with the extra memory. Prior
to  the  memory  upgrade, things ran extreamly slow once I brought the
second virtual server up.

As far as VMWare's Server, it is a free download (at least for now). I
did  have that loaded once. I found it to be really slow booting an OS
over  the  Internet.  I've  pretty  much given up on it because of the
slowness. I like the idea of being able to boot a virtual machine over
the  Internet  and  having  access  to it. To the host, it runs in the
background.  You  use  either  the  installable console version of the
client  or  you  can access the host via a web browser. Once the OS is
booted,  you  can  disconnect  from  it  and  leave  it running in the
background.  Whenever  you  want  to  manage  the  virtual server, you
connect  in  and it's there. I would imagine this will only get better
over  time.  Workstation has come along way since the free version was
last offered (3+ years ago I believe).

-- 
This message was sent using 100% recycled electrons.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: requesting advice on freebsd as vmware guest

2006-09-04 Thread ke han
Sounds like you want something almost as good as VMware  
Workstation, but free...thats VMware Server.   VMware Player is  
really for static distribution purposes; doesn't allow you to  
snapshot or create VMs.

I'm using VMware Server for FreeBSD 6.1 on Win XP now...works great!!
ke han


On Sep 5, 2006, at 10:06 AM, Eric Schuele wrote:


On 09/04/2006 16:00, Peter wrote:

Hi,
I have XP (3 GHz Pentium and 1.5 MB RAM) running at work and would  
like

to have access to a FBSD system within it.


Have you considered Virtual PC from MS?  I believe its free.


I am not sure which vmware
product to install.  I believe vmware server is good if you need  
remote
connections (something I do not require at this point).  There is  
also
workstation and player.  So I'm looking for advice on the basic  
recipe

as well as any common pitfalls.
Peter
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around  
http://mail.yahoo.com ___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]



--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and VMWare

2006-06-24 Thread Rico

  I have never gotten vmware to run as a program under FreeBSD, i.e. using

FreeBSD as the host for other vmware machines.  I have tried several times.
Technically, VMWare doesn't support it.

We have used FreeBSD at our company as a host for some Windows XP based 
machines running on VMWare 3 from ports. But I am not sure if that is 
exactly what you mean. It is running just fine.


Best and kind regards,
Rico
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD and VMWare

2006-06-23 Thread YTResearch
I noticed that someone asked questions concerning VMware on FreeBSD  
which was my first realization that the two even go together. I have  
the opportunity to advocate FreeBSD as a possible replacement to run  
that software as a parting shot in the next week prior to finally  
retiring from that organization. They are a very large windows  
operation but are putting in some Linux/VMware to reduce the windows  
server hardware platforms (I already know that this is of dubious  
value when they could natively migrate and just eliminate the  
servers, efficiency is not an option in the corporate world paradigms).


Before I actually recommend they do this on ~80 servers, I would like  
to verify that it really can be done to move to a FreeBSD 6.1 RELEASE/ 
VMware environment to support W2K3 and E2K3 on a virtual machine? Has  
anyone done this? 
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and VMWare

2006-06-23 Thread Bill Moran
In response to YTResearch [EMAIL PROTECTED]:

 I noticed that someone asked questions concerning VMware on FreeBSD  
 which was my first realization that the two even go together. I have  
 the opportunity to advocate FreeBSD as a possible replacement to run  
 that software as a parting shot in the next week prior to finally  
 retiring from that organization. They are a very large windows  
 operation but are putting in some Linux/VMware to reduce the windows  
 server hardware platforms (I already know that this is of dubious  
 value when they could natively migrate and just eliminate the  
 servers, efficiency is not an option in the corporate world paradigms).
 
 Before I actually recommend they do this on ~80 servers, I would like  
 to verify that it really can be done to move to a FreeBSD 6.1 RELEASE/ 
 VMware environment to support W2K3 and E2K3 on a virtual machine? Has  
 anyone done this? 

FreeBSD 6 runs fine _inside_ vmware -- as a virtual machine.  I used it
daily with almost no trouble (and the small amount of trouble is likely
to be unrelated to vmware).

I have never gotten vmware to run as a program under FreeBSD, i.e. using
FreeBSD as the host for other vmware machines.  I have tried several times.
Technically, VMWare doesn't support it.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd and vmware?

2005-09-21 Thread Aaron Peterson
On 9/21/05, Yuan Jue [EMAIL PROTECTED] wrote:
 On Tuesday 20 September 2005 15:23, mgedv online wrote:
  is 5.4, 6.0 or 7x supported to run under vmware on
  a logical partition?
 
  has anyone successfully setup such a configuration?

 A. if you want to install FreeBSD using vmware in Windows, the answer is YES

 B. if you want to install vmware in FreeBSD in order to run other OS, my
 suggestion is looking back in the mailing list.

http://www.vmware.com/support/guestnotes/doc/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.4 + VMware

2005-09-21 Thread sd

Try to parse /boot/beastie.4th

Message: 30
Date: Tue, 20 Sep 2005 16:37:07 -0400
From: Aaron Peterson [EMAIL PROTECTED]
Subject: FreeBSD 5.4 + VMware
To: FreeBSD Questions freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1

I've had problems loading/booting FreeBSD 5.4 in a virtual machine.
If I start in the default mode, it crashes VMware.  If I start with
ACPI disabled it crashes VMware.  If I start in Safe Mode it works
great.  So...  I want to learn about what is different about booting
in Safe Mode from the default boot options.  That way I can further
troubleshoot and find the culpret hopefully.  Thanks for any
information regarding this issue.

Aaron
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd and vmware?

2005-09-20 Thread mgedv online

is 5.4, 6.0 or 7x supported to run under vmware on
a logical partition?

has anyone successfully setup such a configuration?

br...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.4 + VMware

2005-09-20 Thread Aaron Peterson
I've had problems loading/booting FreeBSD 5.4 in a virtual machine. 
If I start in the default mode, it crashes VMware.  If I start with
ACPI disabled it crashes VMware.  If I start in Safe Mode it works
great.  So...  I want to learn about what is different about booting
in Safe Mode from the default boot options.  That way I can further
troubleshoot and find the culpret hopefully.  Thanks for any
information regarding this issue.

Aaron
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.4 + VMware

2005-09-20 Thread Norberto Meijome

Aaron Peterson wrote:
I've had problems loading/booting FreeBSD 5.4 in a virtual machine. 
If I start in the default mode, it crashes VMware.  If I start with

ACPI disabled it crashes VMware.  If I start in Safe Mode it works
great.  So...  I want to learn about what is different about booting
in Safe Mode from the default boot options.  That way I can further
troubleshoot and find the culpret hopefully.  Thanks for any
information regarding this issue.



Hi Aaron,
what host OS are you using? I dont recall having any problem with 5.4 on 
VmWare 4.5 Wkstation under WinXP.


Beto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.4 + VMware

2005-09-20 Thread Aaron Peterson
 On Sep 20, 2005, at 1:37 PM, Aaron Peterson wrote:

  I've had problems loading/booting FreeBSD 5.4 in a virtual machine.
  If I start in the default mode, it crashes VMware.  If I start with
  ACPI disabled it crashes VMware.  If I start in Safe Mode it works
  great.  So...  I want to learn about what is different about booting
  in Safe Mode from the default boot options.  That way I can further
  troubleshoot and find the culpret hopefully.  Thanks for any
  information regarding this issue.

On 9/20/05, Tom Pepper [EMAIL PROTECTED] wrote:
 Aaron:

 You're on the right track.  Both FreeBSD and VMWare are marginally
 aware of each other, though it is possible if you do enough digging
 to get 5.x virtual machines limping along inside both GSX and ESX.
 However, expect to see strange behavior in a number of applications,
 and problems with CPU usage in applications that should be idle,
 since freebsd's nanosleep() call eats CPU when running under these
 platforms.

 You can boot FreeBSD in standard mode by instructing the VMware host
 to not use ACPI in each config file (in ESX it's usually called
 vmware.vmx per-config) and adding the following two lines before
 restarting the instance:

 acpi.present = false
 monitor_control.disable_apic = TRUE

 it's easiest then, once you have an installation working, to use a
 product like virtualcenter to template and clone the working instance
 out to other hosts.

I am trying to run FreeBSD 5.4 on ESX, since I seem to have left that
information out in earlier posts.  I really appreciate the
information, I wasn't aware of any configuration directives like these
for vmware.  I am left with a couple other questions that you or
someone might be able to help me with.

Why does nanosleep() eat CPU when running under these platforms?

I was able to get FreeBSD running on a virtual host before hearing
your suggestion by adding hint.apic.0.disabled=0 to
/boot/loader.conf.  I'm sure this does basically the same thing as
your suggestion, except in the FreeBSD kernel instead of in the
virtual host configuration.  I wonder what the pros and cons are of
doing one or the other?

In your opinion, is it worth running FreeBSD 5.4 on ESX in light of
the quirks you've noticed?

Thanks,
Aaron
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd and vmware?

2005-09-20 Thread Yuan Jue
On Tuesday 20 September 2005 15:23, mgedv online wrote:
 is 5.4, 6.0 or 7x supported to run under vmware on
 a logical partition?

 has anyone successfully setup such a configuration?

A. if you want to install FreeBSD using vmware in Windows, the answer is YES

B. if you want to install vmware in FreeBSD in order to run other OS, my 
suggestion is looking back in the mailing list.

-- 
Best Regards.

Yuan Jue
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD as VMware Guest, need some assist on networking to Host

2005-06-18 Thread harold jones
I have read and re-read all the VMware docs about
setting up BSD as host, but to no avail, simply can
not get networking operational.

Using, VMware 5.00.build 13124
   FreeBSD 5.3.RELEASE #0 (as Guest)
   Win XP Pro 5.1.2600 SP2 (as Host)

On,  Intel Pent II, 264 MHz with 192Mb 

Symptom, ifconfig reports lnc0 device as 
UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST)

from Guest(BSD) to Host(XP) ( Router)
   ping reports sendto: Host is down. 
   ftp hangs with Trying 192.168.1.101

from Host(XP) to Guest(BSD)
   ping actually works!! (to Guest  Router it works)
   ftp reports Could not open connection to the host,
on port 23:  (possibly BSD secure setting?)
 
Inside VMware - Virtual Network Settings

VMnet0(Bridged) Bridged to Linksys Wireless-G PCI
VMnet1(Host Only) A private network shared with host
VMnet8(NAT) Used to share the host's IP address

VMnet0 NO Subnet, NO DHCP
VMnet1 Subnet 192.168.32.0, YES DHCP
VMnet8 Subnet 192.168.52.0, YES DHCP

Automatic Bridge 'NO'

Host Virtual Adapters
VMnet1 Virtual Net Enabled
VMnet8 Virtual Net Enabled

VMware tools is loaded, and does appear to start as
BSD boots up, however, I am unable to perform any
cut/paste functions from Guest to Host.

The VMware docs make no mention of altering any
settings on the host, hence, I've done no changes
within the Win XP Host. (I can see VMnet8 and VMnet1
on the Host(XP) side with ipconfig /all)

I searched through the archives and did not see any
resolutions. There were a few messages which implied,
'use NAT and it just works'.

I have selected NAT as network type. (I've actually
tried bridging and 'host only', still nothing). As a
side note, and possibly related. I receive this
message on the BSD console[IN BOLD] every 5 minutes or
so:
calcru: runtime went backwards from 24173436 usec to
24173430 usec for pid 444 (vmware-guestid) 

This is my first post to this forum, though I usually
like to figure things out for myself, I've been really
struggling with this issue for quite some time. It
would be so great to pull data from the BSD envi
(shell scripting, perl scripting) as I use it mainly
for development. 

Oh! I should mention that I am not in any way a BSD
expert. I prefer it leaps and bounds over Linux, but
my real UNIX experience is with AIX. Although I have a
considerable amount of time in the NeXTStep world
(which I believe to be build on a derivative of BSD's
mach kernel).

At any rate, if the email gods are not angry with me
this message will make it to the forum, and,
hopefully, someone who has already conquered this
issue can shed some light. By the way, if I've somehow
directed this to an incorrect forum, parden me a 1,000
times.

Thanks in advance to all!

cheers, Harold


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD inside VMWare and x.org

2005-02-24 Thread Bill Moran

I'd like to use FreeBSD inside VMWare on my desktop.  I've used VMWare
for testing things out in FreeBSD quite a few times with considerable
success, but I've never before installed x.org, and that's where I'm
getting hung up.  I'm trying to use FreeBSD 5.3, with the latest xorg
from ports (just updated today).

I can't seem to get X to start with any decent screen realestate.  If
I use the vmware driver, I'm stuck with 640x480.  I experimented some
and tried the vesa driver, which worked nicely except the screen is
huge (I'm guessing 3000x3000 or so) and since most of it is off the
monitor, it's unusable.

I've tried installaing the vmware-tools4 package, and I've tried it
without the package.  It doesn't seem to make much difference either
way.

Any suggestions or pointers on how to get a usable system inside
VMWare?

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD inside VMWare and x.org

2005-02-24 Thread Jason Henson
On 02/24/05 23:37:53, Bill Moran wrote:
I'd like to use FreeBSD inside VMWare on my desktop.  I've used  
VMWare
for testing things out in FreeBSD quite a few times with considerable
success, but I've never before installed x.org, and that's where I'm
getting hung up.  I'm trying to use FreeBSD 5.3, with the latest xorg
from ports (just updated today).

I can't seem to get X to start with any decent screen realestate.  If
I use the vmware driver, I'm stuck with 640x480.  I experimented
some
and tried the vesa driver, which worked nicely except the screen is
huge (I'm guessing 3000x3000 or so) and since most of it is off the
monitor, it's unusable.
I've tried installaing the vmware-tools4 package, and I've tried it
without the package.  It doesn't seem to make much difference either
way.
Any suggestions or pointers on how to get a usable system inside
VMWare?
Change you /etc/X11/xorg.conf to match the relevant parts of this
Section Screen
   Identifier  Screen 1
   Device  saphfire
   Monitor [EMAIL PROTECTED]
   DefaultDepth 24
   Subsection Display
   Depth   24
   Modes   1280x1024 1024x768 800x600 640x480
   ViewPort0 0
   EndSubsection
EndSection
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD inside VMWare and x.org

2005-02-24 Thread pete wright
On Thu, 24 Feb 2005 23:37:53 -0500, Bill Moran [EMAIL PROTECTED] wrote:
 
 
 I can't seem to get X to start with any decent screen realestate.  If
 I use the vmware driver, I'm stuck with 640x480.  I experimented some
 and tried the vesa driver, which worked nicely except the screen is
 huge (I'm guessing 3000x3000 or so) and since most of it is off the
 monitor, it's unusable.
 

it sounds like these issues are related to your X.org config file. 
you may want to check out the Subsection Display settings in
/etc/X11/XF86Config (or maybe Xorg.config for xorg don't remember at
the moment).  I've never tried running X in a vmware machine, but if
you are able to get the binary up and running I assume you should be
able to change these config options.  if this does not work i'd
suggest posting the interesting portions of /var/log/XFree86.0.log to
the list.

-pete

-- 
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD inside VMWare and x.org

2005-02-24 Thread Bill Moran
Jason Henson [EMAIL PROTECTED] wrote:
 On 02/24/05 23:37:53, Bill Moran wrote:
  
  I'd like to use FreeBSD inside VMWare on my desktop.  I've used  
  VMWare
  for testing things out in FreeBSD quite a few times with considerable
  success, but I've never before installed x.org, and that's where I'm
  getting hung up.  I'm trying to use FreeBSD 5.3, with the latest xorg
  from ports (just updated today).
  
  I can't seem to get X to start with any decent screen realestate.  If
  I use the vmware driver, I'm stuck with 640x480.  I experimented
  some
  and tried the vesa driver, which worked nicely except the screen is
  huge (I'm guessing 3000x3000 or so) and since most of it is off the
  monitor, it's unusable.
  
  I've tried installaing the vmware-tools4 package, and I've tried it
  without the package.  It doesn't seem to make much difference either
  way.
  
  Any suggestions or pointers on how to get a usable system inside
  VMWare?
 
 
 Change you /etc/X11/xorg.conf to match the relevant parts of this
 
 
 Section Screen
 Identifier  Screen 1
 Device  saphfire
 Monitor [EMAIL PROTECTED]
 DefaultDepth 24
 Subsection Display
 Depth   24
 Modes   1280x1024 1024x768 800x600 640x480
 ViewPort0 0
 EndSubsection
 EndSection

AHA!

That did it very nicely.  I forgot to put in Modes.

Thank you very much ... made my day!  For the archives ... I'm using
the vesa driver ... The vmware driver doesn't seem capable of this.
Runs at 1280x1024 very nicely both in a window, and in fullscreen.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD as vmware guest OS and net

2004-03-19 Thread J. W. Ballantine

Sorry if I  didn't make my question clear.  I know my NIC card driver,
the problem is when I start up BSD as a guest OS in vmware, it responds that
it can't find a route to the network and I was inquiring if there
was a different  driver needed under vmware bridged-to-network.

Thanks for the response.

Jim

--  In Response to your message -

  Date:  Thu, 18 Mar 2004 15:28:34 -0500 (EST)
  To:  [EMAIL PROTECTED] (J. W. Ballantine)
  From:  Jerry McAllister [EMAIL PROTECTED]
  Subject:  Re: FreeBSD as vmware guest OS and net

   
   
   I have a box with w2k as the primary OS and FreeBSD 4.9-stable installed
   as a dual-boot.  I also have vmware 4 installed under w2k with
   bsd as the guest OS.  My problem is I can't get bsd to talk to
   the network card.  What settings do I need and/or network driver do I
   need to set???
  
  Generally you can figure out the NIC driver by looking through
  the boot messages.   use  dmesg(8)  to look at the file of
  messages.When you find some text looking like it is talking
  about a NIC, then take the two leter code it is referring to and
  use it as your driver - in the kernel.
  
  On the machine I am currently on it looks like:
  
  em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.16 
 port 0xdf40-0xdf7f mem 0xfeae-0xfeaf irq 9 at device 12.0 on pci1
  em0:  Speed:N/A  Duplex:N/A
  
  So the driver is  'em'  in this case.
  
  jerry
  
   
   Jim
   
  


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD as vmware guest OS and net

2004-03-18 Thread J. W. Ballantine

I have a box with w2k as the primary OS and FreeBSD 4.9-stable installed
as a dual-boot.  I also have vmware 4 installed under w2k with
bsd as the guest OS.  My problem is I can't get bsd to talk to
the network card.  What settings do I need and/or network driver do I
need to set???

Jim


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD as vmware guest OS and net

2004-03-18 Thread JAroslav Suchanek
On Thu, Mar 18, 2004 at 09:36:18AM -0500, J. W. Ballantine wrote:
 
 I have a box with w2k as the primary OS and FreeBSD 4.9-stable installed
 as a dual-boot.  I also have vmware 4 installed under w2k with
 bsd as the guest OS.  My problem is I can't get bsd to talk to
 the network card.  What settings do I need and/or network driver do I
 need to set???

I think, there are no special settings. I have network card in 'Bridged'
mode and default installation of FreeBSD. Network card has been detected as:

lnc0: PCNet/PCI Ethernet adapter port 0x10c0-0x10df irq 11 at device 16.0 on pci0
lnc0: PCnet-PCI II address 00:0c:29:e7:5c:66

 
 Jim
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Jaroslav Suchanek
GRISOFT, s.r.o.
http://www.grisoft.com
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD as vmware guest OS and net

2004-03-18 Thread Jerry McAllister
 
 
 I have a box with w2k as the primary OS and FreeBSD 4.9-stable installed
 as a dual-boot.  I also have vmware 4 installed under w2k with
 bsd as the guest OS.  My problem is I can't get bsd to talk to
 the network card.  What settings do I need and/or network driver do I
 need to set???

Generally you can figure out the NIC driver by looking through
the boot messages.   use  dmesg(8)  to look at the file of
messages.When you find some text looking like it is talking
about a NIC, then take the two leter code it is referring to and
use it as your driver - in the kernel.

On the machine I am currently on it looks like:

em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.16 
   port 0xdf40-0xdf7f mem 0xfeae-0xfeaf irq 9 at device 12.0 on pci1
em0:  Speed:N/A  Duplex:N/A

So the driver is  'em'  in this case.

jerry

 
 Jim
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD in VMware?

2003-04-01 Thread Jud
On Tue, 1 Apr 2003 08:08:38 +0100 (BST), james [EMAIL PROTECTED]
said:
 Hi
[snip]
 As to Jud's problem, well, all you should have to do is get your windows
 host on 
 the network any way you need, then use NAT on VMware. You'll then have a 
 virtual network card on the guest OS - use DHCP to configure it, and well
 it 
 just works.

Ah - since I've always accessed the Net via dialup, DHCP and network
cards (virtual or otherwise) are entirely new to me.  Yet another
opportunity to learn, which is a large part of what I enjoy (and what
sometimes frustrates me as well) about FreeBSD.

 There's no need at all to configure PPP on the guest OS - it just uses
 the 
 host't TCP/IP stack, regardless of if it's PPP, ethernet, or avian
 carrier 
 protocol.

Here, Pidgie, Pidgie, Pidgie   ;-)

Jud
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD in VMware?

2003-03-31 Thread james
Hi

Thanks to all those who suggested that kernel parameter, I'll get a new kernel 
built - new to freebsd so hopefully compiling a kernel on a different system 
isn't too hard, Guess I just need to copy /modules and /kernel over.

As to Jud's problem, well, all you should have to do is get your windows host on 
the network any way you need, then use NAT on VMware. You'll then have a 
virtual network card on the guest OS - use DHCP to configure it, and well it 
just works.

There's no need at all to configure PPP on the guest OS - it just uses the 
host't TCP/IP stack, regardless of if it's PPP, ethernet, or avian carrier 
protocol.

Cheers

James

On Mon, 31 Mar 2003, Jud wrote:

 On Mon, 31 Mar 2003 11:13:31 +0100 (BST), james [EMAIL PROTECTED] wrote:
 
  Hi Folks
 
  Does anyone have experience running FreeBSD under VMware? My host OS is 
  WinXP SP1, running VMware 3.2.
 
 4.7-RELEASE only thus far (see below).
 
  I'm trying to buildworld (5.0-CURRENT as of today) but the virtual 
  machine just gets slower and slower. When I'm monitoring the stats using 
  top, I notice that the CPU is spending ~50% of it's time in interrupt. If 
  I Ctrl-C the procedure, the load goes down, but interrupt % stays around 
  20-25% and the system is still slow, even though it's not doing anything!
 
  FreeBSD 4.8-RC2 doesn't seem to have the same problem, I have 
  successfully built world and it stayed responsive.
 
 Haven't installed -CURRENT or updated -STABLE yet, due to my problem, which 
 I'm sure is the result of incredible thickness and density on my part: How 
 does one get networking to work?  Win2K host, dialup connection; VMware set 
 to use NAT.  When I type ppp -auto isp (isp has been substituted for 
 papchap in /etc/ppp/ppp.conf) as a non-root user, I get the normal 
 message that FreeBSD is using tun0 and am returned to the shell prompt.  
 However, any attempt to communicate with the outside world, e.g, using 
 cvsup, is fruitless.
 
 So having failed to give it (sorry, James), I'm asking for it - help, 
 anyone?
 
 Jud
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD in VMware?

2003-03-31 Thread james
Hi Folks

Does anyone have experience running FreeBSD under VMware? My host OS is WinXP 
SP1, running VMware 3.2.

I'm trying to buildworld (5.0-CURRENT as of today) but the virtual machine just 
gets slower and slower. When I'm monitoring the stats using top, I notice that 
the CPU is spending ~50% of it's time in interrupt. If I Ctrl-C the procedure, 
the load goes down, but interrupt % stays around 20-25% and the system is still 
slow, even though it's not doing anything!

FreeBSD 4.8-RC2 doesn't seem to have the same problem, I have successfully built 
world and it stayed responsive.

I have tried various things like disabling IDE DMA on the in the virtual
machine's BIOS to no effect.

Anyone?

Cheers,

James

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD in VMware?

2003-03-31 Thread Jud
On Mon, 31 Mar 2003 11:13:31 +0100 (BST), james [EMAIL PROTECTED] wrote:

Hi Folks

Does anyone have experience running FreeBSD under VMware? My host OS is 
WinXP SP1, running VMware 3.2.
4.7-RELEASE only thus far (see below).

I'm trying to buildworld (5.0-CURRENT as of today) but the virtual 
machine just gets slower and slower. When I'm monitoring the stats using 
top, I notice that the CPU is spending ~50% of it's time in interrupt. If 
I Ctrl-C the procedure, the load goes down, but interrupt % stays around 
20-25% and the system is still slow, even though it's not doing anything!

FreeBSD 4.8-RC2 doesn't seem to have the same problem, I have 
successfully built world and it stayed responsive.
Haven't installed -CURRENT or updated -STABLE yet, due to my problem, which 
I'm sure is the result of incredible thickness and density on my part: How 
does one get networking to work?  Win2K host, dialup connection; VMware set 
to use NAT.  When I type ppp -auto isp (isp has been substituted for 
papchap in /etc/ppp/ppp.conf) as a non-root user, I get the normal 
message that FreeBSD is using tun0 and am returned to the shell prompt.  
However, any attempt to communicate with the outside world, e.g, using 
cvsup, is fruitless.

So having failed to give it (sorry, James), I'm asking for it - help, 
anyone?

Jud
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD in VMware?

2003-03-31 Thread Andy Farkas
On Mon, 31 Mar 2003, james wrote:

 Does anyone have experience running FreeBSD under VMware? My host OS is WinXP
 SP1, running VMware 3.2.

 I'm trying to buildworld (5.0-CURRENT as of today) but the virtual machine just
 gets slower and slower. When I'm monitoring the stats using top, I notice that
 the CPU is spending ~50% of it's time in interrupt. If I Ctrl-C the procedure,
 the load goes down, but interrupt % stays around 20-25% and the system is still
 slow, even though it's not doing anything!

/sys/i386/conf/NOTES says:

# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on  i386 IA32
# machines.  VmWare seems to emulate this instruction poorly, causing
# the guest OS to run very slowly.

So, you'll need to rebuild a new kernel on another system with:

options CPU_DISABLE_CMPXCHG

and copy it into the virtual machine in order to boot normally.

--

 :{ [EMAIL PROTECTED]

Andy Farkas
System Administrator
   Speednet Communications
 http://www.speednet.com.au/



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]