From owner-freebsd-emulation@FreeBSD.ORG Mon Sep 27 11:01:49 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44CB816A4CE for ; Mon, 27 Sep 2004 11:01:49 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F21143D39 for ; Mon, 27 Sep 2004 11:01:49 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i8RB1nlr014502 for ; Mon, 27 Sep 2004 11:01:49 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8RB1msT014496 for emulation@freebsd.org; Mon, 27 Sep 2004 11:01:48 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 27 Sep 2004 11:01:48 GMT Message-Id: <200409271101.i8RB1msT014496@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: emulation@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 11:01:49 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/12/28] kern/46576 emulation FreeBSD 4.6 broke linux emulation install o [2003/06/28] kern/53874 emulation /usr/ports/emulators/linux_base isn't wor o [2003/07/30] ports/55032 emulation java/jdk13: SVr4 emulation interferes wit 3 problems total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/22] kern/21463 emulation Linux compatability mode should not allow o [2000/11/13] kern/22826 emulation Memory limits have no effect in linux com o [2001/03/28] kern/26171 emulation not work Linux-emulator, but hi is work i p [2002/04/16] kern/37161 emulation ext2 linux file system, error handling la o [2002/11/07] kern/45023 emulation flexlm does not run with linux-base-7, st o [2003/09/24] kern/57192 emulation linux-ibm-java1.4 freeze f [2004/03/04] ports/63747 emulation vmmon is not performing o [2004/06/20] kern/68131 emulation java/linux-ibm-jdk14: linux ibm jdk 1.4.1 o [2004/06/22] ports/68202 emulation [patch] Make vmware2 compile on -current o [2004/06/24] ports/68265 emulation [patch] Make rtc compile on -current (nee 10 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/12/15] kern/23561 emulation Linux compatibility mode does not support o [2001/08/14] kern/29698 emulation linux ipcs doesn'work o [2002/06/12] kern/39201 emulation ptrace(2) and rfork(RFLINUXTHPN) confuse o [2002/08/11] kern/41543 emulation Easier wine/w23 support p [2002/09/04] kern/42404 emulation TIOCSCTTY not implemented in linuxulator s [2002/09/06] kern/42466 emulation linux: 'ipc' typ=258 not implemented o [2002/11/27] kern/45785 emulation Linux WineX seems to require a few new li p [2003/01/22] kern/47349 emulation Fake a sound ioctl (plus linux hook) o [2003/08/21] kern/55835 emulation Linux IPC emulation missing SETALL syscal f [2004/06/30] ports/68532 emulation Add support for multiple VMWare instances o [2004/09/09] ports/71536 emulation emulators/rtc: kernel msg "rtc: [number] 11 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Sep 27 11:01:57 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8702F16A4D0 for ; Mon, 27 Sep 2004 11:01:57 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C34343D5A for ; Mon, 27 Sep 2004 11:01:57 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i8RB1vqs014610 for ; Mon, 27 Sep 2004 11:01:57 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8RB1u0Q014604 for freebsd-emulation@freebsd.org; Mon, 27 Sep 2004 11:01:56 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 27 Sep 2004 11:01:56 GMT Message-Id: <200409271101.i8RB1u0Q014604@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 11:01:57 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/07/14] kern/28966 emulation [patch] math libraries in linux emulation 1 problem total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1999/04/16] i386/11165 emulation IBCS2 don't work correctly with PID_MAX 9 o [2004/07/14] ports/69041 emulation Please portlint [emulators/vmware3] 2 problems total. From owner-freebsd-emulation@FreeBSD.ORG Tue Sep 28 23:29:18 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B64B016A4CE for ; Tue, 28 Sep 2004 23:29:18 +0000 (GMT) Received: from ack.Berkeley.EDU (ack.berkeley.edu [128.32.206.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id A548C43D1F for ; Tue, 28 Sep 2004 23:29:18 +0000 (GMT) (envelope-from mhunter@ack.Berkeley.EDU) Received: (from mhunter@localhost) by ack.Berkeley.EDU (8.11.3/8.11.3) id i8SNTIp15001 for freebsd-emulation@freebsd.org; Tue, 28 Sep 2004 16:29:18 -0700 (PDT) Date: Tue, 28 Sep 2004 16:29:18 -0700 From: Mike Hunter To: freebsd-emulation@freebsd.org Message-ID: <20040928232918.GB14378@ack.Berkeley.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: "cannot execute binary file" and libpthread issues linux+FBSD4.10 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2004 23:29:18 -0000 Hi, I'm trying to get a pre-built linux binary working on fbsd 4.10. I get the following crapola when I try to use the library in question: Shared object "libpthread.so.0" not found, required by "libodbc.so" I tried hitting libodbc.so with ldd, but fbsd's ldd doesn't like the linux binary. /compat/linux/usr/bin/ldd give me this fiddle-faddle: /compat/linux/usr/bin/ldd: line 1: /lib/ld-linux.so.2: cannot execute binary file /compat/linux/usr/bin/ldd: line 1: /lib/ld-linux.so.2: cannot execute binary file ldd: /lib/ld-linux.so.2 exited with unknown exit code (126) Two URLs that talk about this but don't lead me to solutions are: http://lists.freebsd.org/pipermail/freebsd-questions/2004-April/045349.html http://docs.freebsd.org/cgi/getmsg.cgi?fetch=23819+0+archive/2001/freebsd-emulation/20010520.freebsd-emulation In what is a probably unrelated issue, I noticed that linux ls is also dumping core: gdb /compat/linux/bin/ls GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... (no debugging symbols found)... (gdb) core ls.core Core was generated by `ls'. Program terminated with signal 12, Bad system call. /lib/libtermcap.so.2: No such file or directory. #0 0x8814fc09 in ?? () (gdb) bt #0 0x8814fc09 in ?? () #1 0x804eb63 in strcpy () #2 0x804c013 in strcpy () #3 0x804b65f in strcpy () #4 0x804a1af in strcpy () #5 0x8808e54d in ?? () I have linux_base-8 installed...any help? Save me from having to actually install linux! :) Thanks, Mike From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 29 23:10:15 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7607516A572 for ; Wed, 29 Sep 2004 23:10:15 +0000 (GMT) Received: from mta1.srv.hcvlny.cv.net (mta1.srv.hcvlny.cv.net [167.206.5.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E64E43D39 for ; Wed, 29 Sep 2004 23:10:15 +0000 (GMT) (envelope-from bsdfsse@optonline.net) Received: from [192.168.0.28] (ool-43532b7b.dyn.optonline.net [67.83.43.123]) by mta1.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0I4T00DB0SD2W6@mta1.srv.hcvlny.cv.net> for freebsd-emulation@freebsd.org; Wed, 29 Sep 2004 19:10:14 -0400 (EDT) Date: Wed, 29 Sep 2004 19:10:24 -0400 From: bsdfsse To: freebsd-emulation@freebsd.org Message-id: <415B40E0.5030708@optonline.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) Subject: Are there step-by-step VMWare instructions? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2004 23:10:15 -0000 I am beginning to try and run the vmware3 port on FreeBSD-5.3beta6. First I "upgraded" the machine to 5.3-Stable by putting "RELENG_5" in my stable-supfile. Next I went in to /usr/ports/emulators/vmware3 and ran: make make install I rebooted and ran "vmware &" in a command window, and then entered my Linux licsense serial number. One of the first things it asked me, was what network device to bind to "vmmonet" (I think), so I entered "fxp0" - which now I wonder if it should have been "/dev/fxp0". After completing the install, I rebooted so it would run its start script. Next I used the wizard to make Win2000 Professional system, and copied the Win2000 Pro ISO over to this machine. I configured the vm's cdrom to be the Win2000 ISO file, so I could install it. When the VM machine boot, it couldn't find the mouse, so I selected (I think) "/dev/mouse" and that error went away. Them it would not go past this error: Cannot attach shared memory segment: Invalid argument. Failed to initialize SVGA device. I looked up on Google and found this: http://lists.freebsd.org/pipermail/freebsd-emulation/2004-August/000526.html "ake sure that you have sysctl kern.ipc.shm_allow_removed set to 1" So I made the change he suggested, rebooted, and it did get past that error. When it came up, it complained about not being able to bind vmnet, then the machine locked up solid. Now I made a new virtual machine, and tried to install without networking inside the vm, and it the machine 99% locked (the mouse sometimes moves). I can't shell in using putty.exe either. It would really be nice if there was some step-by-step instructions, it would make it easier for people to switch to FreeBSD (like I'm doing). I am trying to document things as I go along, so if such doucments do not exist, mine can be used by the next guy. The above link I found is an example of the knowledge being spread around, maybe we can collect it in to one spot? I can post more detailed errors if this document does not exist, I thought I would ask first in case it did. thx! From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 30 08:29:51 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0078616A4CF for ; Thu, 30 Sep 2004 08:29:51 +0000 (GMT) Received: from mta1.srv.hcvlny.cv.net (mta1.srv.hcvlny.cv.net [167.206.5.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB59F43D49 for ; Thu, 30 Sep 2004 08:29:50 +0000 (GMT) (envelope-from bsdfsse@optonline.net) Received: from [192.168.0.28] (ool-43532b7b.dyn.optonline.net [67.83.43.123]) by mta1.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0I4U00D1VI9PW6@mta1.srv.hcvlny.cv.net> for freebsd-emulation@freebsd.org; Thu, 30 Sep 2004 04:29:50 -0400 (EDT) Date: Thu, 30 Sep 2004 04:30:00 -0400 From: bsdfsse In-reply-to: <415B40E0.5030708@optonline.net> To: bsdfsse Message-id: <415BC408.8070200@optonline.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) References: <415B40E0.5030708@optonline.net> cc: freebsd-emulation@freebsd.org Subject: Re: Are there step-by-step VMWare instructions? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2004 08:29:51 -0000 I tried some more things I read about online, but it still locks up: I rebuilt my kernel with "HZ=1200", and that got rid of the "rtc: 100>kern.hz" messages. My /boot/loader.conf needed this: hw.ata.ata_dma="0" which changed this message: ad0: WARNING - WRITE_DMA no interrupt but good status to become this message: ad0: WARNING - WRITE_MUL no interrupt but good status The machine still hangs when I start the virtual machine. As soon as I hit the "Power on" button, FreeBSD nearly freezes. I can do a few things, but even after I "kill -9" vmware, the machine is still hosed. I really need to get VMWare to work, or else I have to reload Linux (or Windows). I own VMware 3.2 and 4.5 for both Windows and Linux. Each time my machine locks up, it starts running "fsck" in the background. Any suggestions? bsdfsse wrote: > > I am beginning to try and run the vmware3 port on FreeBSD-5.3beta6. > > First I "upgraded" the machine to 5.3-Stable by putting "RELENG_5" in my > stable-supfile. > > Next I went in to /usr/ports/emulators/vmware3 and ran: > make > make install > > I rebooted and ran "vmware &" in a command window, and then entered my > Linux licsense serial number. > > One of the first things it asked me, was what network device to bind to > "vmmonet" (I think), so I entered "fxp0" - which now I wonder if it > should have been "/dev/fxp0". > > After completing the install, I rebooted so it would run its start script. > > Next I used the wizard to make Win2000 Professional system, and copied > the Win2000 Pro ISO over to this machine. I configured the vm's cdrom to > be the Win2000 ISO file, so I could install it. > > When the VM machine boot, it couldn't find the mouse, so I selected (I > think) "/dev/mouse" and that error went away. Them it would not go past > this error: > > Cannot attach shared memory segment: Invalid argument. > Failed to initialize SVGA device. > > I looked up on Google and found this: > > http://lists.freebsd.org/pipermail/freebsd-emulation/2004-August/000526.html > > > "ake sure that you have sysctl > kern.ipc.shm_allow_removed set to 1" > > So I made the change he suggested, rebooted, and it did get past that > error. > > When it came up, it complained about not being able to bind vmnet, then > the machine locked up solid. > > Now I made a new virtual machine, and tried to install without > networking inside the vm, and it the machine 99% locked (the mouse > sometimes moves). > > I can't shell in using putty.exe either. > > It would really be nice if there was some step-by-step instructions, it > would make it easier for people to switch to FreeBSD (like I'm doing). I > am trying to document things as I go along, so if such doucments do not > exist, mine can be used by the next guy. > > The above link I found is an example of the knowledge being spread > around, maybe we can collect it in to one spot? > > I can post more detailed errors if this document does not exist, I > thought I would ask first in case it did. > > thx! > > > > > > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to > "freebsd-emulation-unsubscribe@freebsd.org" > From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 30 17:54:08 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F35916A4CF for ; Thu, 30 Sep 2004 17:54:08 +0000 (GMT) Received: from ack.Berkeley.EDU (ack.berkeley.edu [128.32.206.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D075A43D48 for ; Thu, 30 Sep 2004 17:54:07 +0000 (GMT) (envelope-from mhunter@ack.Berkeley.EDU) Received: (from mhunter@localhost) by ack.Berkeley.EDU (8.11.3/8.11.3) id i8UHs5A10424; Thu, 30 Sep 2004 10:54:05 -0700 (PDT) Date: Thu, 30 Sep 2004 10:54:05 -0700 From: Mike Hunter To: dima <_pppp@mail.ru> Message-ID: <20040930175405.GA9747@ack.Berkeley.EDU> References: <20040928232918.GB14378@ack.Berkeley.EDU> <1096447573.649.10.camel@pppp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1096447573.649.10.camel@pppp> User-Agent: Mutt/1.5.6i cc: freebsd-emulation@freebsd.org Subject: ls -l => "unknown system call 229" (was: Re: "cannot execute binary file" and libpthread issues linux+FBSD4.10) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2004 17:54:08 -0000 On Sep 29, "dima" wrote: > > In what is a probably unrelated issue, I noticed that linux ls is also > > dumping core: > > > > #0 0x8814fc09 in ?? () > > #1 0x804eb63 in strcpy () > > #2 0x804c013 in strcpy () > > #3 0x804b65f in strcpy () > > > > I have linux_base-8 installed...any help? Save me from having to actually > > install linux! :) > Would you like to try the native ldd? > It's 4.10 running Oracle-8.1.7: > $ ldd /usr/oracle/bin/sqlplus > /usr/oracle/bin/sqlplus: > libclntsh.so.8.0 => /usr/oracle/lib/libclntsh.so.8.0 > (0x480cd000) > libwtc8.so => /usr/oracle/lib/libwtc8.so (0x48641000) > libdl.so.2 => /lib/libdl.so.2 (0x48643000) > libm.so.6 => /lib/libm.so.6 (0x48647000) > libpthread.so.0 => /lib/libpthread.so.0 (0x48665000) > libc.so.6 => /lib/libc.so.6 (0x48678000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x480b8000) > Maybe the problem is because my Oracle installation was linked @ this > FreeBSD host against the appropriate *FreeBSD* libraries if possible. Thanks. Too bad I can't compare for here since ldd isn't working :( > Anyway, you can try: > 1) Run the software from inside the more linux-friendly environment (i > mean from the linux version of /bin/bash you should have in > /compat/linux); > 2) Configure your linux library paths by fixing your > /compat/linux/etc/ld.so.conf & running /compat/linux/sbin/ldconfig. Thanks for your advice. Yes, I have tried running everything from the /compat/linux/bin/sh (aka bash) shell, but my results are the same. I don't know what's wrong with my linux library paths, or if there is anything wrong with them at all. For me to be getting SIGSYS, it must be that I'm running code that is for the wrong ABI. I don't know if that means there's something that isn't brandelf'd right or if there's some other bug. Doing chroot didn't help. truss /compat/linux/bin/ls -l ... linux_lstat64(0xbfbff968,0x805a08c,0x881a0b10) = 0 (0x0) -- UNKNOWN SYSCALL 229 I saw this post: http://lists.freebsd.org/pipermail/freebsd-hackers/2003-August/002554.html So, some system calls not being implemented is a known known? Am I screwed or is there something wrong with my seup...It seems unlikely there are known unimplemented system calls in ls.... I'm going to try going down from linux_base-8 to something else, but I see a red hat on the horizon (:( Thanks, Mike From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 30 20:50:35 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63F8F16A4CE for ; Thu, 30 Sep 2004 20:50:35 +0000 (GMT) Received: from 194-185-53-242.f5.ngi.it (194-185-53-242.f5.ngi.it [194.185.53.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57E8A43D45 for ; Thu, 30 Sep 2004 20:50:34 +0000 (GMT) (envelope-from mark@remotelab.org) Received: from einstein.lab (localhost. [127.0.0.1])i8UKoWKF038427; Thu, 30 Sep 2004 22:50:32 +0200 (CEST) (envelope-from mark@remotelab.org) Received: from einstein.lab (localhost.lab [127.0.0.1]) by einstein.lab (8.13.1/8.13.1) with ESMTP id i8UKor6H003678; Thu, 30 Sep 2004 22:50:53 +0200 (CEST) (envelope-from mark@einstein.lab) Received: (from mark@localhost) by einstein.lab (8.13.1/8.13.1/Submit) id i8UKoqhj003677; Thu, 30 Sep 2004 22:50:52 +0200 (CEST) (envelope-from mark) Date: Thu, 30 Sep 2004 22:50:52 +0200 From: Marco Trentini To: bsdfsse Message-ID: <20040930205052.GC679@einstein.lab> References: <415B40E0.5030708@optonline.net> <415BC408.8070200@optonline.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <415BC408.8070200@optonline.net> X-Operating-System: FreeBSD einstein.lab 6.0-CURRENT i386 User-Agent: Mutt/1.5.6i cc: freebsd-emulation@freebsd.org Subject: Re: Are there step-by-step VMWare instructions? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2004 20:50:35 -0000 On Thu, Sep 30, 2004 at 04:30:00AM -0400, bsdfsse wrote: > > I tried some more things I read about online, but it still locks up: > > I rebuilt my kernel with "HZ=1200", and that got rid of the "rtc: > 100>kern.hz" messages. > > My /boot/loader.conf needed this: > hw.ata.ata_dma="0" > which changed this message: > ad0: WARNING - WRITE_DMA no interrupt but good status > to become this message: > ad0: WARNING - WRITE_MUL no interrupt but good status > The machine still hangs when I start the virtual machine. > > As soon as I hit the "Power on" button, FreeBSD nearly freezes. I can > do a few things, but even after I "kill -9" vmware, the machine is still > hosed. > > I really need to get VMWare to work, or else I have to reload Linux (or > Windows). I own VMware 3.2 and 4.5 for both Windows and Linux. > > Each time my machine locks up, it starts running "fsck" in the background. > > Any suggestions? Just one. Do you have ACPI turn on? In this case try turn off it. Read pkg-message of the vmware3 port for more details. -- Marco Trentini mark@remotelab.org http://www.remotelab.org/ From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 1 00:11:21 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FDA416A4CE for ; Fri, 1 Oct 2004 00:11:21 +0000 (GMT) Received: from mta9.srv.hcvlny.cv.net (mta9.srv.hcvlny.cv.net [167.206.5.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id D189F43D2D for ; Fri, 1 Oct 2004 00:11:20 +0000 (GMT) (envelope-from bsdfsse@optonline.net) Received: from [192.168.0.28] (ool-43532b7b.dyn.optonline.net [67.83.43.123]) by mta9.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0I4V00IW5PUW4X@mta9.srv.hcvlny.cv.net> for freebsd-emulation@freebsd.org; Thu, 30 Sep 2004 20:11:20 -0400 (EDT) Date: Thu, 30 Sep 2004 20:11:28 -0400 From: bsdfsse In-reply-to: <20040930205052.GC679@einstein.lab> Cc: freebsd-emulation@freebsd.org Message-id: <415CA0B0.1080203@optonline.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) References: <415B40E0.5030708@optonline.net> <415BC408.8070200@optonline.net> <20040930205052.GC679@einstein.lab> Subject: Re: Are there step-by-step VMWare instructions? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2004 00:11:21 -0000 I did a fresh install, and followed the detailed instructions in Christrian's vmware-setup.txt file, and Phusion's instructions at: http://www.packetwatch.net/freebsd.php In addition to their instructions, I disabled ACPI. I did not do my CVSUP ritual, I used everything off the Beta6 CD. It was faster to not update. When I power up my virtual machine, it begins to activate it's HD and CD lights (in the lower right hand corner of the Virtual Machine's window), then my FreeBSD machine apparently loses access to it's hardrive, and I get the follow errors on my console (CTRL-ALT-F1) screen: ad0: WARNING - WRITE_DMA no interrupt but good status ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=123095148 ad0: WARNING - WRITE_DMA no interrupt but good status ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=123095148 ad0: WARNING - WRITE_DMA no interrupt but good status ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=123095148 At this point, I can slowly do things on my FreeBSD machine, unless they require disk access, at which point whatever I am doing stops working. Eventually the whole thing dies. I have to run fsck almost everytime I reboot. I was curious about the config of the VM's networking. Christian modifies these two lines in /usr/local/etc/vmware/config to be: vmnet1.Bridged = "YES" vmnet1.BridgeInterface = "xl0" On Phusions instructions, the only gotchas I hit where installing linux_base and the rtc program. I skipped the linux_base, since it was installed during the original system install (and it had yelled at me during a prvious attempt). Tonight rtc yelled at me. When I did the "make install", it said something about rtc and borked. I deinstalled rtc, and vmware3's make install worked. But then I had to go back and install rtc again. I'm doing this on my "dekstop" machine. My "Server" machine was then I was able to get it working on last night (without any networking installed). My server later croaked too, but it never got these DMA Read/Write errors. My server is the machine with an Adaptec 1200 RAID card in, I wonder if my desktop machine would work better if I put a RAID card on it? I put the RAID card in my server long before I had tried to install Vmware, I was getting weird disk I/O errors that persisted until I put the RAID card in. I suspected that FreeBSD 5.3+ had ATA problems, and I read where other people were having the similar errors. ANy suggestions on the HD lockup? thx! Marco Trentini wrote: > On Thu, Sep 30, 2004 at 04:30:00AM -0400, bsdfsse wrote: > >>I tried some more things I read about online, but it still locks up: >> >>I rebuilt my kernel with "HZ=1200", and that got rid of the "rtc: >>100>kern.hz" messages. >> >>My /boot/loader.conf needed this: >> hw.ata.ata_dma="0" >>which changed this message: >> ad0: WARNING - WRITE_DMA no interrupt but good status >>to become this message: >> ad0: WARNING - WRITE_MUL no interrupt but good status >>The machine still hangs when I start the virtual machine. >> >>As soon as I hit the "Power on" button, FreeBSD nearly freezes. I can >>do a few things, but even after I "kill -9" vmware, the machine is still >>hosed. >> >>I really need to get VMWare to work, or else I have to reload Linux (or >>Windows). I own VMware 3.2 and 4.5 for both Windows and Linux. >> >>Each time my machine locks up, it starts running "fsck" in the background. >> >>Any suggestions? > > > Just one. > > Do you have ACPI turn on? In this case try turn off it. > > Read pkg-message of the vmware3 port for more details. > > From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 1 05:48:45 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8B5716A4CE for ; Fri, 1 Oct 2004 05:48:45 +0000 (GMT) Received: from mta2.srv.hcvlny.cv.net (mta2.srv.hcvlny.cv.net [167.206.5.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id B693D43D45 for ; Fri, 1 Oct 2004 05:48:45 +0000 (GMT) (envelope-from bsdfsse@optonline.net) Received: from [192.168.0.28] (ool-43532b7b.dyn.optonline.net [67.83.43.123]) by mta2.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0I4W001865H9MV@mta2.srv.hcvlny.cv.net> for freebsd-emulation@freebsd.org; Fri, 01 Oct 2004 01:48:45 -0400 (EDT) Date: Fri, 01 Oct 2004 01:48:53 -0400 From: bsdfsse In-reply-to: <415B40E0.5030708@optonline.net> To: bsdfsse Message-id: <415CEFC5.7050308@optonline.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) References: <415B40E0.5030708@optonline.net> cc: freebsd-emulation@freebsd.org Subject: Re: Are there step-by-step VMWare instructions? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2004 05:48:46 -0000 I bought & installed another Adaptec 1200A RAID card. I did a fresh install with the Beta6 CD. Still get the DMA READ/WRITE errors as soon as the virtual machine starts to boot. I have no idea what I am doing differently from everyone else. Perhaps next I will try vmware2 instead of vmware3. I took a week off from work to get this working, and it now..Friday, lol. thx. From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 1 16:32:00 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 044F516A4CF; Fri, 1 Oct 2004 16:32:00 +0000 (GMT) Received: from mta7.srv.hcvlny.cv.net (mta7.srv.hcvlny.cv.net [167.206.5.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id B170F43D31; Fri, 1 Oct 2004 16:31:59 +0000 (GMT) (envelope-from bsdfsse@optonline.net) Received: from [192.168.0.28] (ool-43532b7b.dyn.optonline.net [67.83.43.123]) by mta7.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0I4W00IQBZ9BUS@mta7.srv.hcvlny.cv.net>; Fri, 01 Oct 2004 12:31:59 -0400 (EDT) Date: Fri, 01 Oct 2004 12:32:07 -0400 From: bsdfsse In-reply-to: <415D81C4.1090200@optonline.net> To: freebsd-emulation@FreeBSD.org Message-id: <415D8687.7040905@optonline.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) References: <415B40E0.5030708@optonline.net> <16732.17233.408255.749193@satchel.alerce.com> <415D81C4.1090200@optonline.net> cc: freebsd-questions@freebsd.org cc: freebsd-newbies@freebsd.org Subject: Re: Are there step-by-step VMWare instructions? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2004 16:32:00 -0000 bsdfsse wrote: > > I'm going to try to install vmware2 instead of vmware3. I put a call in > to VMWare to get a 2.0 license. > > I tried everything, I think. I'm new to FreeBSD, so that is kind of > working against me. > > I will now try to dig up how to install vmware2 (I assume I don't have > to make quite some many changes). > > vmware3 kept causing the DMA Read/Write errors when I turned on the vm > machine. > > thx I didn't get very far with vmware2: ================================================================ ================================================================ cpq24# cd /usr/ports/emulators/vmware2 cpq24# make install ===> Building for vmware2-2.0.4.1142 ===> vmmon-only make -f Makefile.FreeBSD SMP=YES clean && make -f Makefile.FreeBSD SMP=YES rm -f /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export_syms vmmon_smp.ko vmmon_smp.kld memtrack.o phystrack.o task.o vmx86.o driver.o hostif.o linux_emu.o vmnet_linux.o @ machine symb.tmp tmp.o Warning: Object directory not changed from original /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only @ -> /usr/src/sys machine -> /usr/src/sys/i386/include cc -O -pipe -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common --------------------- <> --------------------- /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:489: warning: 'FreeBSD_Driver_Poll' defined but not used /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:572: warning: 'FreeBSD_Driver_Ioctl' defined but not used *** Error code 1 Stop in /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only. *** Error code 1 Stop in /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only. *** Error code 1 Stop in /usr/ports/emulators/vmware2/work/vmware-distrib. *** Error code 1 Stop in /usr/ports/emulators/vmware2. *** Error code 1 Stop in /usr/ports/emulators/vmware2. cpq24# ================================================================ ================================================================ From owner-freebsd-emulation@FreeBSD.ORG Sat Oct 2 03:09:07 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFFB616A4CE; Sat, 2 Oct 2004 03:09:07 +0000 (GMT) Received: from mta2.srv.hcvlny.cv.net (mta2.srv.hcvlny.cv.net [167.206.5.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88F9543D2D; Sat, 2 Oct 2004 03:09:07 +0000 (GMT) (envelope-from bsdfsse@optonline.net) Received: from [192.168.0.28] (ool-43532b7b.dyn.optonline.net [67.83.43.123]) by mta2.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0I4X002CDSR666@mta2.srv.hcvlny.cv.net>; Fri, 01 Oct 2004 23:09:07 -0400 (EDT) Date: Fri, 01 Oct 2004 23:09:15 -0400 From: bsdfsse In-reply-to: <415D8687.7040905@optonline.net> Message-id: <415E1BDB.4020203@optonline.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) References: <415B40E0.5030708@optonline.net> <16732.17233.408255.749193@satchel.alerce.com> <415D81C4.1090200@optonline.net> <415D8687.7040905@optonline.net> cc: freebsd-emulation@FreeBSD.org cc: freebsd-questions@freebsd.org cc: freebsd-newbies@freebsd.org Subject: Re: Are there step-by-step VMWare instructions? (giving up) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2004 03:09:08 -0000 I give up on trying to get VMWare 3.2 to work on either FreeBSD 4.x or 5.x. Thank you to everyone who tried to help me. After 5 full days of trial and error on 3 machines, I think I can say it needs to be looked at by a non-newby. The only time I got it to run was with a 5.2-Release installation with networking disabled (following Christian's docs). Every other configuration resulted in losing access to the hard-drive as soon as I hit the VM's "Power On" button. I might try again if there is a known working solution, but for now I have to do a 6-week project on native Winblows. I learned a ton, and wouldn't use any other OS on a server. I hope to run it on my desktop soon. thx. From owner-freebsd-emulation@FreeBSD.ORG Sat Oct 2 21:15:22 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA73A16A4CE; Sat, 2 Oct 2004 21:15:22 +0000 (GMT) Received: from mta6.srv.hcvlny.cv.net (mta6.srv.hcvlny.cv.net [167.206.5.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7377F43D3F; Sat, 2 Oct 2004 21:15:20 +0000 (GMT) (envelope-from bsdfsse@optonline.net) Received: from [192.168.0.28] (ool-43532b7b.dyn.optonline.net [67.83.43.123]) by mta6.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0I4Z0050S71I6N@mta6.srv.hcvlny.cv.net>; Sat, 02 Oct 2004 17:15:18 -0400 (EDT) Date: Sat, 02 Oct 2004 17:15:27 -0400 From: bsdfsse In-reply-to: <415EF493.6020608@optonline.net> To: freebsd-questions@freebsd.org Message-id: <415F1A6F.1070907@optonline.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) References: <415EF493.6020608@optonline.net> cc: freebsd-emulation@freebsd.org Subject: Re: VMWare 2 works on FreeBSD 4.10-Stable (SOLVED!) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2004 21:15:22 -0000 I have mostly everything working now: special thanks to George Hartzell, Christian Hiris, Phusion, and Orlando Bassotto. I will write up my experience after I digest it a little more. A few of the gotchas were that I originally did not install "bridging" when I installed vmware, and when I did, I was binding it to the wrong NIC (I was binding it to Christian's NIC, lol). For some reason I *had* to select "Custom" as the VM's ethernet type, and use the value of "/dev/vmnet1" when I did. "Bridged" and "HostOnly" did not work. Also the VM's gateway setting had to be that of my Linksys router, and not the "Host IP" of my FreeBSD machine. I ended up running VMWare 2.0 on FreeBSD 4.10-Stable. I will make another attempt at VMWare 3.2 and also using FBSD 5.x when I have more time (in about 2 months). I am ecstatic, I get to run FreeBSD now! Woo Hoo!! thanks!