From owner-freebsd-emulation@FreeBSD.ORG Sun Dec 20 14:29:45 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98D9F106566B for ; Sun, 20 Dec 2009 14:29:45 +0000 (UTC) (envelope-from z_serg_2000@mail.ru) Received: from fallback4.mail.ru (fallback4.mail.ru [94.100.176.42]) by mx1.freebsd.org (Postfix) with ESMTP id BD6318FC16 for ; Sun, 20 Dec 2009 14:29:44 +0000 (UTC) Received: from f128.mail.ru (f128.mail.ru [217.69.128.84]) by fallback4.mail.ru (mPOP.Fallback_MX) with ESMTP id 59D207FA38A for ; Sun, 20 Dec 2009 17:13:00 +0300 (MSK) Received: from mail by f128.mail.ru with local id 1NMMWo-0002ax-00 for freebsd-emulation@freebsd.org; Sun, 20 Dec 2009 17:12:58 +0300 Received: from [94.28.218.187] by win.mail.ru with HTTP; Sun, 20 Dec 2009 17:12:58 +0300 From: Serg Z To: freebsd-emulation@freebsd.org Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [94.28.218.187] Date: Sun, 20 Dec 2009 17:12:58 +0300 X-Mru-Data: 3460:1:1:70:127:0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: X-Mras: Ok Subject: Try to running Aladdin HASP SRM X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Serg Z List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Dec 2009 14:29:45 -0000 Hello I have USB Aladdin HASP SRM key and try to use it on FreeBSD 8.0 but no luck now:( What I do wrong? Aladdin offers HASP SRM Run-time Installer Script (ftp://ftp.aladdin.com/pub/hasp/srm/Linux/HASP_SRM_LINUX_3.50_Run-time_Installer_script.tar.gz) for: - Linux SuSE ES 10 with Service Pack 1 (x86 and x86_64), - RedHat EL5 with Service Pack 1 (x86 and x86_64), and - Ubuntu Desktop 8.04 (x86 and x86_64). I install emulators/linux_base-gentoo-stage3 because I wish to use ktrace. Then I ran by hand as ordinary user: 1. aksusbd (support for HASP HL keys and low‐level access to HASP License Manager daemon) Now I see: ps ax | grep aks 32631 2 S 0:00,00 2/aksusbd 32632 2 S 0:00,00 2/aksusbd 32633 2 S 0:00,00 2/aksusbd Resume: like of success 2. winehasp (access for HASP HL keys to Windows applications running in Wine) Now I see: ps ax | grep win 32638 2 I 0:00,00 2/winehasp Resume: like of success 3. ktrace hasplmd -s (HASP License Manager daemon). Now I see: ps ax | grep hasp 32638 2 I 0:00,00 2/winehasp Resume: hasplmd not running. One more test failed: netstat -an | grep 1947 found nothing instead of "Admin Control Center". :( ldd hasplmd hasplmd: libm.so.6 => /lib/libm.so.6 (0x28067000) libpthread.so.0 => /lib/libpthread.so.0 (0x2808e000) libdl.so.2 => /lib/libdl.so.2 (0x280a5000) libc.so.6 => /lib/libc.so.6 (0x280a9000) /lib/ld-linux.so.2 (0x28048000) linux_kdump > hasp.dump 32645 ktrace RET linux_brk 0 32645 ktrace CALL linux_olduname(0xbfbfed43,0xbfbfebfc,0xbfbfec10) 32645 ktrace NAMI "2/hasplmd" 32645 ktrace NAMI "/compat/linux/lib/ld-linux.so.2" 32645 hasplmd RET linux_olduname 0 32645 hasplmd CALL linux_brk(0) 32645 hasplmd RET linux_brk 135712768/0x816d000 32645 hasplmd CALL linux_newuname(0xbfbfe9f0) 32645 hasplmd RET linux_newuname 0 32645 hasplmd CALL linux_access(0x280601cb,0x4) 32645 hasplmd NAMI "/compat/linux/etc/ld.so.preload" 32645 hasplmd NAMI "/etc/ld.so.preload" 32645 hasplmd RET linux_access JUSTRETURN 32645 hasplmd CALL linux_open(0x280604b7,0,0) 32645 hasplmd NAMI "/compat/linux/etc/ld.so.cache" 32645 hasplmd NAMI "/compat/linux" 32645 hasplmd NAMI "/compat/linux/etc/ld.so.cache" 32645 hasplmd RET linux_open 3 32645 hasplmd CALL linux_fstat64(0x3,0xbfbfe30c,0x28062fd4) 32645 hasplmd UNKNOWN(8) 32645 hasplmd RET linux_fstat64 0 32645 hasplmd CALL linux_mmap2(0,0x2a86,0x1,0x2,0x3,0) 32645 hasplmd RET linux_mmap2 671498240/0x28064000 32645 hasplmd CALL close(0x3) 32645 hasplmd RET close 0 32645 hasplmd CALL linux_open(0x280660c1,0,0) 32645 hasplmd NAMI "/compat/linux/lib/libm.so.6" 32645 hasplmd NAMI "/compat/linux" 32645 hasplmd NAMI "/compat/linux/lib/libm.so.6" 32645 hasplmd RET linux_open 3 32645 hasplmd CALL read(0x3,0xbfbfe484,0x200) 32645 hasplmd GIO fd 3 read 512 bytes "\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0\0\^C\0\^C\0\^A\0\0\0p4\0\0004\0\0\0000\ B\^B\0\0\0\0\0004\0 \0 \0(\0\^_\0\^^\0\^F\0\0\0004\0\0\0004\0\0\0004\0\0\0@\^A\0\0@\^A\0\0\^E\ \0\0\0\^D\0\0\0\^C\0\0\0\M-x\^]\^B\0\M-x\^]\^B\0\M-x\^]\^B\0\^S\0\0\0\ \^S\0\0\0\^D\0\0\0\^A\0\0\0\^A\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M-$<\^B\0\ \M-$<\^B\0\^E\0\0\0\0\^P\0\0\^A\0\0\0\M-\>\^B\0\M-\N\^B\0\M-\N\^B\0`\ \^A\0\0\M-$\^A\0\0\^F\0\0\0\0\^P\0\0\^B\0\0\0\M-p>\^B\0\M-pN\^B\0\M-pN\ \^B\0\M-h\0\0\0\M-h\0\0\0\^F\0\0\0\^D\0\0\0\^D\0\0\0t\^A\0\0t\^A\0\0t\ \^A\0\0 \0\0\0 \0\0\0\^D\0\0\0\^D\0\0\0P\M-etd\f\^^\^B\0\f\^^\^B\0\f\ \^^\^B\0\^\\^D\0\0\^\\^D\0\0\^D\0\0\0\^D\0\0\0Q\M-etd\0\0\0\0\0\0\0\0\ \0\0\0\0\0\0\0\0\0\0\0\0\^F\0\0\0\^D\0\0\0R\M-etd\M-\>\^B\0\M-\N\^B\0\ \M-\N\^B\0$\^A\0\0$\^A\0\0\^D\0\0\0\^A\0\0\0\M^@\^U\^De\0\0\0\0\0\0\0\ \0\0\0\0\0\0\0\0\0\0\0\0\0\0(\0\0\^D\0\0\0\^D\0\0\0\^P\0\0\0\^A\0\0\0G\ NU\0\0\0\0\0\^B\0\0\0\^F\0\0\0 \0\0\0\M^L\^B\0\0\^O\0\0\0@\0\0\0\v\0\ \0\0%\M^P \M-E \M^Dg\v\0\M-B\^P \^DiER\M^B\^P\M^@\240\0}\M^H\M-:\b\bI\ \0\0\0\0\0\^[\^D\M^A\0\0\0\M^ZU\^PA P \M^@\M^T\M^B\M^P\^Q@\M-z2\0\M-Da\ \^T\0\b\^F\M-F\M^P\M^Z\f\M^G\M-@ \M-(\0 \M^B\0\M^X\M^A\^DE\a\^E4a\^B\ \0\0\M-)C\^X\M-H \b\^S\^X" 32645 hasplmd RET read 512/0x200 32645 hasplmd CALL linux_fstat64(0x3,0xbfbfe38c,0x28062fd4) 32645 hasplmd UNKNOWN(8) 32645 hasplmd RET linux_fstat64 0 32645 hasplmd CALL linux_mmap2(0,0x25080,0x5,0x802,0x3,0) 32645 hasplmd RET linux_mmap2 671510528/0x28067000 32645 hasplmd CALL linux_mmap2(0x2808b000,0x2000,0x3,0x812,0x3,0x23) 32645 hasplmd RET linux_mmap2 671657984/0x2808b000 32645 hasplmd CALL close(0x3) 32645 hasplmd RET close 0 32645 hasplmd CALL linux_open(0x2806594a,0,0x4f) 32645 hasplmd NAMI "/compat/linux/lib/libpthread.so.0" 32645 hasplmd NAMI "/compat/linux" 32645 hasplmd NAMI "/compat/linux/lib/libpthread.so.0" 32645 hasplmd RET linux_open 3 32645 hasplmd CALL read(0x3,0xbfbfe468,0x200) 32645 hasplmd GIO fd 3 read 512 bytes "\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0\0\^C\0\^C\0\^A\0\0\0\M^PG\0\0004\0\0\0\ \M^XL\^A\0\0\0\0\0004\0 \0 \0(\0$\0!\0\^F\0\0\0004\0\0\0004\0\0\0004\0\0\0@\^A\0\0@\^A\0\0\^E\0\0\ \0\^D\0\0\0\^C\0\0\0\^T\M-y\0\0\^T\M-y\0\0\^T\M-y\0\0\^S\0\0\0\^S\0\0\ \0\^D\0\0\0\^A\0\0\0\^A\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0d$\^A\0d$\^A\0\^E\ \0\0\0\0\^P\0\0\^A\0\0\0\M-@-\^A\0\M-@=\^A\0\M-@=\^A\0|\^C\0\0 $\0\0\ \^F\0\0\0\0\^P\0\0\^B\0\0\0\M-8.\^A\0\M-8>\^A\0\M-8>\^A\0\M-x\0\0\0\ \M-x\0\0\0\^F\0\0\0\^D\0\0\0\^D\0\0\0t\^A\0\0t\^A\0\0t\^A\0\0 \0\0\0 \ \0\0\0\^D\0\0\0\^D\0\0\0P\M-etd(\M-y\0\0(\M-y\0\0(\M-y\0\0l\^D\0\0l\^D\ \0\0\^D\0\0\0\^D\0\0\0Q\M-etd\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ \^F\0\0\0\^D\0\0\0R\M-etd\M-@-\^A\0\M-@=\^A\0\M-@=\^A\0@\^B\0\0@\^B\0\ \0\^D\0\0\0\^A\0\0\0\M^@\^U\^De\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ \0\0(\0\0\^D\0\0\0\^D\0\0\0\^P\0\0\0\^A\0\0\0GNU\0\0\0\0\0\^B\0\0\0\^F\ \0\0\0 \0\0\0\M-2\^A\0\0M\0\0\0@\0\0\0\v\0\0\0\^Y!\^B\M^Q\^A \^P"@H \M-Y\^C\0I4\M^@\0\0@\0 \M^@\M^@\^QP`@@\^R\M^K\^B0D\0\0\^P\0\0\ \^B\0\^A\r\0\M^D \M-p\^AX\M-0\r\240\M^@\b $\M^D\^PB\M-")m\bG\M^\V\^P\0\M^T \M^D$\b\0H(\ \^A\M^R\^\\M-AB\240\M^P\^R\b\f \^B\^X`A\M-$" 32645 hasplmd RET read 512/0x200 32645 hasplmd CALL linux_fstat64(0x3,0xbfbfe370,0x28062fd4) 32645 hasplmd UNKNOWN(8) 32645 hasplmd RET linux_fstat64 0 32645 hasplmd CALL linux_mmap2(0,0x1000,0x3,0x22,0xffffffff,0) 32645 hasplmd RET linux_mmap2 671666176/0x2808d000 32645 hasplmd CALL linux_mmap2(0,0x161e0,0x5,0x802,0x3,0) 32645 hasplmd RET linux_mmap2 671670272/0x2808e000 32645 hasplmd CALL linux_mmap2(0x280a1000,0x2000,0x3,0x812,0x3,0x12) 32645 hasplmd RET linux_mmap2 671748096/0x280a1000 32645 hasplmd CALL linux_mmap2(0x280a3000,0x11e0,0x3,0x32,0xffffffff,0) 32645 hasplmd RET linux_mmap2 671756288/0x280a3000 32645 hasplmd CALL close(0x3) 32645 hasplmd RET close 0 32645 hasplmd CALL linux_open(0x28066605,0,0x1e) 32645 hasplmd NAMI "/compat/linux/lib/libdl.so.2" 32645 hasplmd NAMI "/compat/linux" 32645 hasplmd NAMI "/compat/linux/lib/libdl.so.2" 32645 hasplmd RET linux_open 3 32645 hasplmd CALL read(0x3,0xbfbfe44c,0x200) 32645 hasplmd GIO fd 3 read 512 bytes "\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0\0\^C\0\^C\0\^A\0\0\0p \0\0004\0\0\0,!\0\0\0\0\0\0004\0 \0 \0(\0\^\\0\^[\0\^F\0\0\0004\0\ \0\0004\0\0\0004\0\0\0 \^A\0\0 \^A\0\0\^E\0\0\0\^D\0\0\0\^C\0\0\0#\^Z\ \0\0#\^Z\0\0#\^Z\0\0\^S\0\0\0\^S\0\0\0\^D\0\0\0\^A\0\0\0\^A\0\0\0\0\0\ \0\0\0\0\0\0\0\0\0\0\M-l\^[\0\0\M-l\^[\0\0\^E\0\0\0\0\^P\0\0\^A\0\0\0\ \M-4\^^\0\0\M-4.\0\0\M-4.\0\0\M^X\^A\0\0\M-H\^A\0\0\^F\0\0\0\0\^P\0\0\ \^B\0\0\0\M-P\^^\0\0\M-P.\0\0\M-P.\0\0\M-x\0\0\0\M-x\0\0\0\^F\0\0\0\^D\ \0\0\0\^D\0\0\0T\^A\0\0T\^A\0\0T\^A\0\0 \0\0\0 \0\0\0\^D\0\0\0\^D\0\0\ \0Q\M-etd\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^F\0\0\0\^D\0\0\0R\ \M-etd\M-4\^^\0\0\M-4.\0\0\M-4.\0\0L\^A\0\0L\^A\0\0\^D\0\0\0\^A\0\0\0\ \M^@\^U\^De\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0(\0\0\^D\0\0\0\^D\ \0\0\0\^P\0\0\0\^A\0\0\0GNU\0\0\0\0\0\^B\0\0\0\^F\0\0\0 \0\0\0\^V\0\0\ \0\^Y\0\0\0\^D\0\0\0\a\0\0\0\M^X\0\^Q\0\0B\0\0\M^B\0`\b\M^S(\b\M-^\^Y\ \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^Z\0\0\0\0\0\0\0\^[\0\0\0\^\\0\0\0\0\0\ \0\0\^^\0\0\0\0\0\0\0\0\0\0\0\^_\0\0\0!\0\0\0"\0\0\0\0\0\0\0\0\0\0\0#\ \0\0\0%\0\0\0&\0\0\0\0\0\0\0(\0\0\0\M^Q!\M-|\M-x\M^U\M-3_\^Y\^E\M-h\a\ \M-y\^F\^B\^D\M-y\a\^B\^D\M-y" 32645 hasplmd RET read 512/0x200 32645 hasplmd CALL linux_fstat64(0x3,0xbfbfe354,0x28062fd4) 32645 hasplmd UNKNOWN(8) 32645 hasplmd RET linux_fstat64 0 32645 hasplmd CALL linux_mmap2(0,0x307c,0x5,0x802,0x3,0) 32645 hasplmd RET linux_mmap2 671764480/0x280a5000 32645 hasplmd CALL linux_mmap2(0x280a7000,0x2000,0x3,0x812,0x3,0x1) 32645 hasplmd RET linux_mmap2 671772672/0x280a7000 32645 hasplmd CALL close(0x3) 32645 hasplmd RET close 0 32645 hasplmd CALL linux_open(0x2806682c,0,0x72) 32645 hasplmd NAMI "/compat/linux/lib/libc.so.6" 32645 hasplmd NAMI "/compat/linux" 32645 hasplmd NAMI "/compat/linux/lib/libc.so.6" 32645 hasplmd RET linux_open 3 32645 hasplmd CALL read(0x3,0xbfbfe430,0x200) 32645 hasplmd GIO fd 3 read 512 bytes "\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0\0\^C\0\^C\0\^A\0\0\0@a\^A\0004\0\0\0\ \^T\M-V\^R\0\0\0\0\0004\0 \0\v\0(\0B\0A\0\^F\0\0\0004\0\0\0004\0\0\000\ 4\0\0\0`\^A\0\0`\^A\0\0\^E\0\0\0\^D\0\0\0\^C\0\0\0\0n\^Q\0\0n\^Q\0\0n\ \^Q\0\^S\0\0\0\^S\0\0\0\^D\0\0\0\^A\0\0\0\^A\0\0\0\0\0\0\0\0\0\0\0\0\0\ \0\0\240\M^_\^R\0\240\M^_\^R\0\^E\0\0\0\0\^P\0\0\^A\0\0\0\M-\\M-!\^R\0\ \M-\\M-!\^R\0\M-\\M-!\^R\0\240'\0\0\M-tS\0\0\^F\0\0\0\0\^P\0\0\^B\0\0\ \0|\M-=\^R\0|\M-=\^R\0|\M-=\^R\0\M-x\0\0\0\M-x\0\0\0\^F\0\0\0\^D\0\0\0\ \^D\0\0\0\M^T\^A\0\0\M^T\^A\0\0\M^T\^A\0\0 \0\0\0 \0\0\0\^D\0\0\0\^D\0\ \0\0\a\0\0\0\M-\\M-!\^R\0\M-\\M-!\^R\0\M-\\M-!\^R\0\b\0\0\0@\0\0\0\^D\ \0\0\0\^D\0\0\0P\M-etd\^Tn\^Q\0\^Tn\^Q\0\^Tn\^Q\0\M^\)\0\0\M^\)\0\0\^D\ \0\0\0\^D\0\0\0Q\M-etd\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^F\0\0\ \0\^D\0\0\0R\M-etd\M-\\M-!\^R\0\M-\\M-!\^R\0\M-\\M-!\^R\0$\^^\0\0$\^^\ \0\0\^D\0\0\0\^A\0\0\0\M^@\^U\^De\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ \0\0\0(\0\0\^D\0\0\0\^D\0\0\0\^P\0\0\0\^A\0\0\0GNU\0\0\0\0\0\^B\0\0\0\ \^F\0\0\0 \0\0\0\M-s\^C\0\0 \0\0\0\0\^B\0\0\^N\0\0\0\2400\^PD\0\0\^B\^A\M^L\^C\M-f\M^PAE\M^H\0\M^D\ \0\b\0A\M^@\0@\M-@\M^@\0\f\^B\f\0\^A0\0\b@"\b\M-&\^D\M^HH6l\240\^V0\0&\ \M^D\M^@\M^N\^D\bB$\^B\f\M-&\M-$" 32645 hasplmd RET read 512/0x200 32645 hasplmd CALL linux_fstat64(0x3,0xbfbfe338,0x28062fd4) 32645 hasplmd UNKNOWN(8) 32645 hasplmd RET linux_fstat64 0 32645 hasplmd CALL linux_mmap2(0,0x12f5d0,0x5,0x802,0x3,0) 32645 hasplmd RET linux_mmap2 671780864/0x280a9000 32645 hasplmd CALL linux_mmap2(0x281d3000,0x3000,0x3,0x812,0x3,0x12a) 32645 hasplmd RET linux_mmap2 673001472/0x281d3000 32645 hasplmd CALL linux_mmap2(0x281d6000,0x25d0,0x3,0x32,0xffffffff,0) 32645 hasplmd RET linux_mmap2 673013760/0x281d6000 32645 hasplmd CALL close(0x3) 32645 hasplmd RET close 0 32645 hasplmd CALL linux_mmap2(0,0x1000,0x3,0x22,0xffffffff,0) 32645 hasplmd RET linux_mmap2 673026048/0x281d9000 32645 hasplmd CALL linux_set_thread_area(0xbfbfe888) 32645 hasplmd RET linux_set_thread_area 0 32645 hasplmd CALL linux_mprotect(0x281d3000,0x2000,0x1) 32645 hasplmd RET linux_mprotect 0 32645 hasplmd CALL linux_mprotect(0x280a7000,0x1000,0x1) 32645 hasplmd RET linux_mprotect 0 32645 hasplmd CALL linux_mprotect(0x280a1000,0x1000,0x1) 32645 hasplmd RET linux_mprotect 0 32645 hasplmd CALL linux_mprotect(0x2808b000,0x1000,0x1) 32645 hasplmd RET linux_mprotect 0 32645 hasplmd CALL linux_mprotect(0x28062000,0x1000,0x1) 32645 hasplmd RET linux_mprotect 0 32645 hasplmd CALL munmap(0x28064000,0x2a86) 32645 hasplmd RET munmap 0 32645 hasplmd CALL linux_set_tid_address(0x281d9708) 32645 hasplmd RET linux_set_tid_address 32645/0x7f85 32645 hasplmd CALL linux_set_robust_list(0x281d9710,0xc) 32645 hasplmd RET linux_set_robust_list 0 32645 hasplmd CALL linux_rt_sigaction(0x20,0xbfbfe84c,0,0x8) 32645 hasplmd RET linux_rt_sigaction 0 32645 hasplmd CALL linux_rt_sigaction(0x21,0xbfbfe84c,0,0x8) 32645 hasplmd RET linux_rt_sigaction 0 32645 hasplmd CALL linux_rt_sigprocmask(0x1,0xbfbfeb08,0,0x8) 32645 hasplmd RET linux_rt_sigprocmask 0 32645 hasplmd CALL linux_getrlimit(0x3,0xbfbfeb90) 32645 hasplmd RET linux_getrlimit 0 32645 hasplmd CALL linux_newuname(0xbfbfe904) 32645 hasplmd RET linux_newuname 0 32645 hasplmd CALL linux_gettid 32645 hasplmd RET linux_gettid 32645/0x7f85 32645 hasplmd CALL linux_brk(0) 32645 hasplmd RET linux_brk 135712768/0x816d000 32645 hasplmd CALL linux_brk(0x818e000) 32645 hasplmd RET linux_brk 135712768/0x816d000 32645 hasplmd CALL linux_mmap2(0,0x100000,0x3,0x22,0xffffffff,0) 32645 hasplmd RET linux_mmap2 673030144/0x281da000 32645 hasplmd CALL linux_sys_futex(0x280a8070,0x1,0x7fffffff,0,0x8340bac,0xbfbfc300) 32645 hasplmd RET linux_sys_futex 0 32645 hasplmd CALL linux_getrlimit(0x7,0xbfbfea74) 32645 hasplmd RET linux_getrlimit 0 32645 hasplmd CALL close(0) 32645 hasplmd RET close 0 32645 hasplmd CALL close(0x1) 32645 hasplmd RET close 0 32645 hasplmd CALL close(0x2) 32645 hasplmd RET close 0 32645 hasplmd CALL close(0x3) 32645 hasplmd RET close -1 errno 9 Bad file descriptor 32645 hasplmd CALL close(0x4) 32645 hasplmd RET close -1 errno 9 Bad file descriptor 32645 hasplmd CALL close(0x5) 32645 hasplmd RET close -1 errno 9 Bad file descriptor 32645 hasplmd CALL close(0x6) 32645 hasplmd RET close -1 errno 9 Bad file descriptor Next contuiously call close() with argument from 0x7 to 0x2b55. And always RET close -1 errno 9 Bad file descriptor 32645 hasplmd CALL close(0x2b56) 32645 hasplmd RET close -1 errno 9 Bad file descriptor 32645 hasplmd CALL linux_open(0x815f2b2,0,0xffffffc8) 32645 hasplmd NAMI "/compat/linux/dev/null" 32645 hasplmd NAMI "/dev/null" 32645 hasplmd RET linux_open 0 32645 hasplmd CALL linux_open(0x815f2b2,0x1,0xffffffc8) 32645 hasplmd NAMI "/compat/linux/dev/null" 32645 hasplmd NAMI "/dev/null" 32645 hasplmd RET linux_open 1 32645 hasplmd CALL dup(0x1) 32645 hasplmd RET dup 2 32645 hasplmd CALL linux_clone(0x1200011,0,0,0,0x281d9708) 32645 hasplmd RET linux_clone 32646/0x7f86 32645 hasplmd CALL linux_exit_group(0) Bye. Serg From owner-freebsd-emulation@FreeBSD.ORG Sun Dec 20 18:10:07 2009 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29AC91065670 for ; Sun, 20 Dec 2009 18:10:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 185A78FC12 for ; Sun, 20 Dec 2009 18:10:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBKIA6qr071815 for ; Sun, 20 Dec 2009 18:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBKIA68d071814; Sun, 20 Dec 2009 18:10:06 GMT (envelope-from gnats) Date: Sun, 20 Dec 2009 18:10:06 GMT Message-Id: <200912201810.nBKIA68d071814@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: =?ISO-8859-2?Q?Marcin_Wi=B6nicki?= Cc: Subject: Re: ports/127018: Linuxulator incapable of using FreeBSD's LDAP environment X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?ISO-8859-2?Q?Marcin_Wi=B6nicki?= List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Dec 2009 18:10:07 -0000 The following reply was made to PR ports/127018; it has been noted by GNATS. From: =?ISO-8859-2?Q?Marcin_Wi=B6nicki?= To: bug-followup@FreeBSD.org, ohartman@zedat.fu-berlin.de Cc: Subject: Re: ports/127018: Linuxulator incapable of using FreeBSD's LDAP environment Date: Sun, 20 Dec 2009 19:05:49 +0100 Just noticed this via mail to emulation@ and since I used to have LDAP in the past I'd like to contribute some feedback. The underlying problem is that LDAP integration is done through nsswitch (part of libc) and nss_ldap.so module (from ports). Linux has the same mechanism however linux-compiled glibc will obviously fail to load freebsd-native nss_ldap.so. I assume that to get LDAP in linuxulator one will first need to install linux version of nss_ldap and it's dependencies and then configure nsswitch in /compat/linux/etc as he would on real linux system. At this time however there are no ports for those libs. I believe that it's also possible to solve this problem in more general way by writing some kind of nscd(8) proxy that would translate between protocol used in freebsd and what is expected by glibc. From owner-freebsd-emulation@FreeBSD.ORG Mon Dec 21 07:28:17 2009 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B82B71065784 for ; Mon, 21 Dec 2009 07:28:17 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mail.droso.net (koala.ipv6.droso.net [IPv6:2001:6c8:6:c:20d:56ff:fe6f:f935]) by mx1.freebsd.org (Postfix) with ESMTP id 7F6228FC19 for ; Mon, 21 Dec 2009 07:28:17 +0000 (UTC) Received: from koala.droso.net (localhost.droso.net [IPv6:::1]) by mail.droso.net (Postfix) with ESMTP id 2AE5F1CCAA for ; Mon, 21 Dec 2009 08:28:17 +0100 (CET) From: linimon@FreeBSD.org To: emulation@freebsd.org Message-Id: <20091221072817.2AE5F1CCAA@mail.droso.net> Date: Mon, 21 Dec 2009 08:28:17 +0100 (CET) Cc: Subject: FreeBSD ports that you maintain which are currently marked broken X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: portmgr-feedback@FreeBSD.org List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2009 07:28:17 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we periodically notify users of ports that are marked as "broken" in their Makefiles. In many cases these ports are failing to compile on some subset of the FreeBSD build environments. The most common problem is that recent versions of -CURRENT include gcc4.2, which is much stricter than older versions. The next most common problem is that compiles succeed on the i386 architecture (e.g. the common Intel PC), but fail on one or more of the other architectures due to assumptions about things such as size of various types, byte-alignment issues, and so forth. In occasional cases we see that the same port may have different errors in different build environments. The script that runs on the build cluster uses heuristics to try to 'guess' the error type to help you isolate problems, but it is only a rough guide. One more note: on occasion, there are transient build errors seen on the build farm. Unfortunately, there is not yet any way for this algorithm to tell the difference (humans are much, much better at this kind of thing.) The errors are listed below. In the case where the same problem exists on more than one build environment, the URL points to the latest errorlog for that type. (By 'build environment' here we mean 'combination of 6.x/7.x/-current with target architecture'.) (Note: the dates are included to help you to gauge whether or not the error still applies to the latest version. The program that generates this report is not yet able to determine this automatically.) portname: sysutils/linux-nero broken because: unfetchable build errors: http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.20091211210609/linux-nero-3.5.0.1.log (_Dec__7_01:52:47_UTC_2009) overview: http://portsmon.FreeBSD.org/portoverview.py?category=sysutils&portname=linux-nero If these errors are ones that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Every effort has been made to make sure that these error reports really do correspond to a port that you maintain. However, due to the fact that this is an automated process, it may indeed generate false matches. If one of these errors fits that description, please forward this email to the author of this software, Mark Linimon , so that he can attempt to fix the problem in the future. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-emulation@FreeBSD.ORG Mon Dec 21 11:06:53 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98013106568D for ; Mon, 21 Dec 2009 11:06:53 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6CD868FC2E for ; Mon, 21 Dec 2009 11:06:53 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBLB6rTn004053 for ; Mon, 21 Dec 2009 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBLB6qKU004051 for freebsd-emulation@FreeBSD.org; Mon, 21 Dec 2009 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Dec 2009 11:06:52 GMT Message-Id: <200912211106.nBLB6qKU004051@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-emulation@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 21 Dec 2009 11:06:53 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/141439 emulation [linux] [patch] linux_exit_group kills group leader o kern/140156 emulation [linux] cdparanoia fails to read drive data o kern/139423 emulation [parallels] Networking does not work on amd64 guest on o kern/138944 emulation [parallels] [regression] Parallels no longer works in o kern/138880 emulation [linux] munmap segfaults after linux_mmap2 stresstest o kern/138860 emulation [linux] linux_socketcall() causing buffer overflow f ports/137332 emulation add caution messages to some adobe products s ports/136321 emulation x11-toolkits/linux-pango: please update linux based po o ports/136229 emulation [linux] emulators/linux_base-f10: certain linux apps l o ports/135337 emulation [PATCH] emulators/linux_base-f10: incorrect bash usage o kern/133144 emulation [linux] linuxulator 2.6 crashes with nvidias libGL.so. o kern/130724 emulation [linprocfs] [patch] cpuinfo in linprocfs is dated, cau o kern/129169 emulation [linux] [patch] Linux Emulation ENOTCONN error using n o kern/126232 emulation [linux] Linux ioctl TCGETS (0x5401) always fails o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/56451 emulation [linprocfs] /compat/linux/proc/cpuinfo gives wrong CPU o kern/41543 emulation [patch] [request] easier wine/w23 support o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/29698 emulation [linux] [patch] linux ipcs doesn'work o kern/21463 emulation [linux] Linux compatability mode should not allow setu o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 22 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Dec 21 22:55:03 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C7AB1065692 for ; Mon, 21 Dec 2009 22:55:03 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id DAFD98FC16 for ; Mon, 21 Dec 2009 22:55:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id E1FD95E251 for ; Mon, 21 Dec 2009 23:37:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -1.591 X-Spam-Level: X-Spam-Status: No, score=-1.591 tagged_above=-999 required=5 tests=[AWL=-0.283, BAYES_00=-2.599, MISSING_HEADERS=1.292, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4ctPlg8D+29X for ; Mon, 21 Dec 2009 23:37:20 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id DBE2C5E013 for ; Mon, 21 Dec 2009 23:37:20 +0100 (CET) Message-ID: <4B2FF8A0.8080009@eskk.nu> Date: Mon, 21 Dec 2009 23:37:20 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.5) Gecko/20091221 Thunderbird/3.0 MIME-Version: 1.0 References: <4B2F60BA.7010002@bsdforen.de> In-Reply-To: <4B2F60BA.7010002@bsdforen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org Subject: Loading kernel modules for virtualbox via script X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 21 Dec 2009 22:55:03 -0000 Following the suggestion here: http://forums.freebsd.org/showpost.php?p=45664&postcount=5 To load two kernel modules via a script in /etc/rc.d/ Produces the following: WARNING: Ignoring old-style startup script /etc/rc.d/ I found the answer here: http://sourceforge.net/tracker/index.php?func=detail&aid=2896643&group_id=151951&atid=782616 At the moment I load vboxnetflt via /boot/loader.conf and I then load vboxnetadp manually before I start virtualbox. I would like a suggestion on how to load both modules automaticly! Thanks /Leslie From owner-freebsd-emulation@FreeBSD.ORG Mon Dec 21 23:00:03 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74B441065679 for ; Mon, 21 Dec 2009 23:00:03 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 296588FC1D for ; Mon, 21 Dec 2009 23:00:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id AA1935E4A8 for ; Mon, 21 Dec 2009 23:41:45 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -2.237 X-Spam-Level: X-Spam-Status: No, score=-2.237 tagged_above=-999 required=5 tests=[AWL=0.363, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WjmkuIkXuGX9 for ; Mon, 21 Dec 2009 23:41:42 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id C878A5E4A4 for ; Mon, 21 Dec 2009 23:41:42 +0100 (CET) Message-ID: <4B2FF9A6.3070204@eskk.nu> Date: Mon, 21 Dec 2009 23:41:42 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.5) Gecko/20091221 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Wiki says: Bridged networking doesn't work with a wireless interface X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 21 Dec 2009 23:00:03 -0000 http://wiki.freebsd.org/VirtualBox says Bridged networking doesn't work with a wireless interface I'm in the process of testing the iwn driver on 8.0-RELEASE. On this machine Bridged networking works with a wireless interface. So I was just wondering if I was lucky or the wiki needs an update? /Leslie From owner-freebsd-emulation@FreeBSD.ORG Mon Dec 21 23:37:53 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F170106566B for ; Mon, 21 Dec 2009 23:37:53 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-px0-f190.google.com (mail-px0-f190.google.com [209.85.216.190]) by mx1.freebsd.org (Postfix) with ESMTP id D87868FC1C for ; Mon, 21 Dec 2009 23:37:52 +0000 (UTC) Received: by pxi28 with SMTP id 28so3823327pxi.7 for ; Mon, 21 Dec 2009 15:37:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=2e3gNQiT6Nv2ol9eWbnNeqwmMh5rMQRD1DZ03bI2hgU=; b=ftZWtcN9AQfNuKIqHalBbOQbIVFBX/9w8V8G3qWUmwLpmMuL44uTBteLRyz3aAlMgn rcFqjorgvB3rHN9NWOzaJElXb4vdtKg4RrrIFSRb5ihgANHjZBoWqZYzrcaEMP22p7mS YMYf1+tn9Aan6lApdUqCfLa4lfU43pkx4peAg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=sJ4uMwfzLQJ7VBSzbBLNSO47X34f11h2EkR9nP8h43Ll2IhOD6Qisxz2jnN2Vgokl3 g/ZgpQ6FAxQfe6U7auDeg0mvXsTuKG28NMgA5btnORB9wu6M6ML8CYsrddpuPGcIwxtX e2Zi5e0RTxfnduqXrdDNL+P3jdwOV5wZUVRLw= MIME-Version: 1.0 Received: by 10.143.26.39 with SMTP id d39mr436400wfj.223.1261438672486; Mon, 21 Dec 2009 15:37:52 -0800 (PST) In-Reply-To: <4B2FF8A0.8080009@eskk.nu> References: <4B2F60BA.7010002@bsdforen.de> <4B2FF8A0.8080009@eskk.nu> Date: Mon, 21 Dec 2009 17:37:52 -0600 Message-ID: <6201873e0912211537q3742aab4x9391de392d15bba9@mail.gmail.com> From: Adam Vande More To: Leslie Jensen Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-emulation@freebsd.org Subject: Re: Loading kernel modules for virtualbox via script X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 21 Dec 2009 23:37:53 -0000 On Mon, Dec 21, 2009 at 4:37 PM, Leslie Jensen wrote: > > Following the suggestion here: > http://forums.freebsd.org/showpost.php?p=45664&postcount=5 > > To load two kernel modules via a script in /etc/rc.d/ > > Produces the following: > > WARNING: Ignoring old-style startup script /etc/rc.d/ > > I found the answer here: > > > http://sourceforge.net/tracker/index.php?func=detail&aid=2896643&group_id=151951&atid=782616 > > At the moment I load vboxnetflt via /boot/loader.conf and I then load > vboxnetadp manually before I start virtualbox. > > I would like a suggestion on how to load both modules automaticly! > > Thanks > > /Leslie > > I have this in my crontab @reboot root /sbin/kldload /boot/modules/vboxnetflt.ko -- Adam Vande More From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 08:58:53 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17E381065694 for ; Tue, 22 Dec 2009 08:58:53 +0000 (UTC) (envelope-from vova@parallels.com) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id 6915A8FC0C for ; Tue, 22 Dec 2009 08:58:51 +0000 (UTC) Received: from vbook.fbsd.ru ([10.30.1.111]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id nBM8wmWp013814 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Dec 2009 11:58:49 +0300 (MSK) Received: from vova by vbook.fbsd.ru with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NN0Zr-0000xC-Q3; Tue, 22 Dec 2009 11:58:47 +0300 From: Vladimir Grebenschikov To: freebsd-emulation In-Reply-To: <4B2FF8A0.8080009@eskk.nu> References: <4B2F60BA.7010002@bsdforen.de> <4B2FF8A0.8080009@eskk.nu> Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: quoted-printable Date: Tue, 22 Dec 2009 11:58:47 +0300 Message-ID: <1261472327.2501.4.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: vbox@freebsd.org Subject: Building kernel modules for virtualbox independently X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2009 08:58:53 -0000 Hi=20 Probably it is better to move out build of kernel modules out of virtualbox port ?=20 After kernel upgrade all kmods should be rebuild, but rebuilding whole virtualbox looks too heavy to do it on every kernel update. --=20 Vladimir B. Grebenschikov vova@fbsd.ru From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 09:25:26 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D9D2106568D; Tue, 22 Dec 2009 09:25:26 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail.itac.at (mail.itac.at [91.205.172.9]) by mx1.freebsd.org (Postfix) with ESMTP id 4A7168FC15; Tue, 22 Dec 2009 09:25:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=webmail.itac.at) by mail.itac.at with esmtpa (Exim 4.63) (envelope-from ) id 1NN0zc-0001XD-Jt; Tue, 22 Dec 2009 10:25:24 +0100 Received: from 83.64.253.201 (proxying for unknown) (SquirrelMail authenticated user decke@bluelife.at) by webmail.itac.at with HTTP; Tue, 22 Dec 2009 10:25:24 +0100 (CET) Message-ID: <8b40cbdabcfbba459dc58176ff2ea1a4.squirrel@webmail.itac.at> In-Reply-To: <1261472327.2501.4.camel@localhost> References: <4B2F60BA.7010002@bsdforen.de> <4B2FF8A0.8080009@eskk.nu> <1261472327.2501.4.camel@localhost> Date: Tue, 22 Dec 2009 10:25:24 +0100 (CET) From: "Bernhard Froehlich" To: vova@fbsd.ru User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-emulation , vbox@freebsd.org Subject: Re: Building kernel modules for virtualbox independently X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 09:25:26 -0000 On Tue, December 22, 2009 9:58 am, Vladimir Grebenschikov wrote: > Hi > > Probably it is better to move out build of kernel modules out of > virtualbox port ? > > After kernel upgrade all kmods should be rebuild, but rebuilding whole > virtualbox looks too heavy to do it on every kernel update. Our testing port is already split up and we will do a call for testers for the new virtualbox 3.1.2 port very soon. -- Bernhard Fröhlich http://www.bluelife.at/ From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 09:52:45 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 611EB106568B for ; Tue, 22 Dec 2009 09:52:45 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1BEA28FC1E for ; Tue, 22 Dec 2009 09:52:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id 33C065E4C7; Tue, 22 Dec 2009 10:52:44 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -2.237 X-Spam-Level: X-Spam-Status: No, score=-2.237 tagged_above=-999 required=5 tests=[AWL=0.363, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id m-Mki7MPtg3f; Tue, 22 Dec 2009 10:52:41 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id C4F8D5E045; Tue, 22 Dec 2009 10:52:40 +0100 (CET) Message-ID: <4B3096EA.2070400@eskk.nu> Date: Tue, 22 Dec 2009 10:52:42 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.5) Gecko/20091221 Thunderbird/3.0 MIME-Version: 1.0 To: Adam Vande More References: <4B2F60BA.7010002@bsdforen.de> <4B2FF8A0.8080009@eskk.nu> <6201873e0912211537q3742aab4x9391de392d15bba9@mail.gmail.com> In-Reply-To: <6201873e0912211537q3742aab4x9391de392d15bba9@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: Loading kernel modules for virtualbox via script X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 09:52:45 -0000 > > > I have this in my crontab > > @reboot root /sbin/kldload > /boot/modules/vboxnetflt.ko > > > > -- > Adam Vande More Thanks for the answer! The problem is that I understood that vboxnetflt.ko should be loaded before vboxnetadp.ko I load vboxnetflt.ko in /boot/loader.conf and load vboxnetadp.ko manually after I've logged in. I tried to load vboxnetadp.ko via crontab but Virtualbox came up with the error. If I unload both modules and load them again manually, vboxnetflt.ko first. Then it works! I can manage this, but I was looking for a way to do it automagically :-) I've seen that if vboxnetadp.ko is loaded first it loads vboxnetflt.ko as well. So what if the "dependency" was reversed? Then only vboxnetflt.ko had to be loaded and it could load vboxnetadp.ko. /Leslie From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 10:13:19 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0ADF106566B; Tue, 22 Dec 2009 10:13:19 +0000 (UTC) (envelope-from vova@parallels.com) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id 5A5EF8FC16; Tue, 22 Dec 2009 10:13:18 +0000 (UTC) Received: from vbook.fbsd.ru ([10.30.1.111]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id nBMAD7Ne017879 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Dec 2009 13:13:09 +0300 (MSK) Received: from vova by vbook.fbsd.ru with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NN1jm-00097D-G0; Tue, 22 Dec 2009 13:13:06 +0300 From: Vladimir Grebenschikov To: Bernhard Froehlich In-Reply-To: <8b40cbdabcfbba459dc58176ff2ea1a4.squirrel@webmail.itac.at> References: <4B2F60BA.7010002@bsdforen.de> <4B2FF8A0.8080009@eskk.nu> <1261472327.2501.4.camel@localhost> <8b40cbdabcfbba459dc58176ff2ea1a4.squirrel@webmail.itac.at> Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: quoted-printable Date: Tue, 22 Dec 2009 13:13:05 +0300 Message-ID: <1261476785.2501.15.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-emulation , vbox@freebsd.org Subject: Re: Building kernel modules for virtualbox independently X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2009 10:13:20 -0000 Hi=20 Thanks, will be happy to test it. -----Original Message----- From: Bernhard Froehlich To: vova@fbsd.ru Cc: freebsd-emulation , vbox@freebsd.org Subject: Re: Building kernel modules for virtualbox independently Date: Tue, 22 Dec 2009 10:25:24 +0100 (CET) On Tue, December 22, 2009 9:58 am, Vladimir Grebenschikov wrote: > Hi > > Probably it is better to move out build of kernel modules out of > virtualbox port ? > > After kernel upgrade all kmods should be rebuild, but rebuilding whole > virtualbox looks too heavy to do it on every kernel update. Our testing port is already split up and we will do a call for testers for the new virtualbox 3.1.2 port very soon. --=20 Vladimir B. Grebenschikov vova@fbsd.ru From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 13:01:05 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 761EA1065679; Tue, 22 Dec 2009 13:01:05 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 5AA2A8FC1F; Tue, 22 Dec 2009 13:01:03 +0000 (UTC) Received: by ewy26 with SMTP id 26so2616857ewy.3 for ; Tue, 22 Dec 2009 05:01:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject :date:user-agent:cc:references:in-reply-to:mime-version:message-id :content-type:content-transfer-encoding; bh=xIDWBo3FQRxGoP5LyppMPPTrA7XXThwTrR0ZMLA6KSI=; b=fdDPlfscO5ivFsWfIfAcZAlSGtsOmBZLWLv/DWCRYbXapzhlCFpfB+0AtzL2zId8Qd 4l6FD3kV+4OHT1ZiDFUw2LvRACSWFlLN0HL9ezHmCtWL/wNjHsRH+4E1lglZ/tYP6IRQ HFnznjYAjsLeUYSDjmAg9I4LEF3OACKBiqpY8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:message-id:content-type :content-transfer-encoding; b=IP17WA7OlvDh+dOPBG3MqCtD3ZdnygH11D93Pq4c44p54mHyLJqzGl5sCHmoJjAFIG 5N7v3XOIgVpXlxt72dVJPXeNsqPvsBHMpR0Hu3Nmd2hWlWjwJQHxhh58N1HLOqNO5+F7 SOYuR28UWlswpmvBoOuVSXgUTxSf0hGrpcrV0= Received: by 10.216.88.137 with SMTP id a9mr3112102wef.119.1261486863136; Tue, 22 Dec 2009 05:01:03 -0800 (PST) Received: from dragon.dg ([41.0.54.20]) by mx.google.com with ESMTPS id 28sm18869176eye.7.2009.12.22.05.00.58 (version=SSLv3 cipher=RC4-MD5); Tue, 22 Dec 2009 05:01:02 -0800 (PST) From: David Naylor Organization: Private To: freebsd-emulation@freebsd.org Date: Tue, 22 Dec 2009 14:56:27 +0200 User-Agent: KMail/1.12.3 (FreeBSD/8.0-STABLE; KDE/4.3.3; amd64; ; ) References: <200912081524.03878.naylor.b.david@gmail.com> <200912182327.18986.naylor.b.david@gmail.com> In-Reply-To: <200912182327.18986.naylor.b.david@gmail.com> MIME-Version: 1.0 Message-Id: <200912221456.32693.naylor.b.david@gmail.com> Content-Type: multipart/signed; boundary="nextPart2118082.dzLRqIFZ7R"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ivan Voras Subject: Re: [WIP] wine/i386 on FreeBSD/amd64 (take 3) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 13:01:05 -0000 --nextPart2118082.dzLRqIFZ7R Content-Type: multipart/mixed; boundary="Boundary-01=_7HMMLAzHa9/Ck1W" Content-Transfer-Encoding: 7bit --Boundary-01=_7HMMLAzHa9/Ck1W Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 18 December 2009 23:27:15 David Naylor wrote: > On Tuesday 08 December 2009 15:24:00 David Naylor wrote: > > Hi, > > > > I have developed a port that allows wine to be installed as a package > > under FreeBSD/amd64. This avoids having a i386 chroot environment (and > > is much easier to setup, once the package is built). >=20 > I've changes the name of the port (should be obvious what it is for and n= ot > conflict when wine/amd64 arrives). The port now also automagically > determines which third party shared libraries should be bundled with it.= =20 > (See below on how to handle nvidia-driver). I've fixed two soft dependencies (freetype and xrender). This should compl= ete=20 all the required libraries to be bundled. Anti-aliased fonts and transpare= ncy=20 should be working. This allows MS Office 2007 to work as well as on i386. = =20 It appears a major bug crept in with the previous published patch. Therefo= re=20 it was totally useless. It has been fixed in this one (the bin and lib=20 directories were not set correctly). =20 Also, this port should now work on i386 and one can soft link to the bin/*= =20 files. =20 > > To get this working apply the attached patch and build the > > emulators/wine- amd64 port under FreeBSD/i386 then transfer that package > > to the amd64 host: > > > > (On FreeBSD/i386) > > # cd /usr/ports/emulators > > # patch < /tmp/wine-amd64.diff >=20 > (patch name changed, fix arguments) > # patch -sp0 < /tmp/wine-fbsd64.diff >=20 > > # cd wine-amd64 > > # make package clean > > > > (On FreeBSD/amd64) > > # pkg_add wine-amd64-8-1.1.34,1.tbz >=20 > (package name changed) > # pkg_add wine-amd64.8-1.1.34,1.tbz >=20 > > I have such a package for FreeBSD-8 if anyone is willing to host it. >=20 > I'll update the patch when wine-1.1.35 gets into my ports. >=20 > > There are a few TODO items (port options not supported). Any > > comments/suggestions are welcome. >=20 > 1) Install from package on FreeBSD/amd64 (any suggestions on how to do > that?)=20 > 2) Which version of FreeBSD/amd64 supports FreeBSD/i386 well enough > to run wine? > 3) Any bugs reported? =46ixed two bugs (the above mentioned soft dependencies). Please report an= y you=20 may encounter. =20 > > Word of warning: nvidia-driver breaks everything. Make sure it is not > > installed on both i386/amd64 systems. If one really wants wine with > > nvidia- driver support then install the beta on both i386 and amd64 > > (very important it is the same version of the driver) and copy > > libGL.so.1, libGLcore.so.1 and libnvidia-tls.so.1 from i386 to > > $PREFIX/lib32 (on amd64). >=20 > The above method still does work but now, if one installs nvidia-driver (= of > the correct version) before building wine under FreeBSD/i386 then the > required libraries will be included (this makes the package unsuitable f= or > any system without the correct nvidia drivers installed). =20 Regards, =20 David =20 > P.S. I've included the shar archive as some people have not been able to > apply the patch cleanly --Boundary-01=_7HMMLAzHa9/Ck1W Content-Type: text/x-patch; charset="iso-8859-1"; name="wine-fbsd64.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="wine-fbsd64.diff" diff -uNr /usr/ports/emulators/wine/Makefile wine/Makefile =2D-- /usr/ports/emulators/wine/Makefile 2009-12-20 03:04:01.000000000 +0200 +++ wine/Makefile 2009-12-20 17:02:22.000000000 +0200 @@ -30,12 +30,10 @@ --without-sane --without-xcursor CONFIGURE_ENV=3D CPPFLAGS=3D"-I${LOCALBASE}/include" \ LDFLAGS=3D"-L${LOCALBASE}/lib" =2DUSE_LDCONFIG=3D ${PREFIX}/lib ${PREFIX}/lib/wine MAKE_JOBS_SAFE=3D yes MAN1=3D widl.1 wine.1 winebuild.1 winedbg.1 winedump.1 winegcc.1 \ winemaker.1 wineprefixcreate.1 wineserver.1 wmc.1 wrc.1 MLINKS=3D winegcc.1 wineg++.1 =2DONLY_FOR_ARCHS=3D i386 USE_BISON=3D build USE_BZIP2=3D yes USE_GMAKE=3D yes @@ -80,10 +78,33 @@ CONFIGURE_ARGS+=3D --without-xslt .endif =20 +# TODO: when does FreeBSD/i386 work properly under FreeBSD/amd64? .if ${OSVERSION} < 603000 IGNORE=3D fails to properly work on versions of FreeBSD before 6.3 .endif =20 +.ifdef WINE_CROSS_BUILD + +CONFIGURE_ARGS+=3D --bindir=3D${PREFIX}/bin32 --libdir=3D${PREFIX}/lib32 +CONFLICTS=3D wine-[0-9]* +ONLY_FOR_ARCHS=3D i386 amd64 +USE_LDCONFIG32=3D ${PREFIX}/lib32 ${PREFIX}/lib32/wine +WINELIBDIR=3D${PREFIX}/lib32 + +PLIST_REINPLACE+=3D winelib +PLIST_REINPLACE_WINELIB=3Ds!lib/!lib32/!g + +ACTUAL-PACKAGE-DEPENDS=3D${DO_NADA} + +.else + +CONFLICTS=3D wine-fbsd64.* +ONLY_FOR_ARCHS=3D i386 +USE_LDCONFIG=3D ${PREFIX}/lib ${PREFIX}/lib/wine +WINELIBDIR=3D${PREFIX}/lib + +.endif + post-patch: .if ${OSVERSION} < 700041 ${REINPLACE_CMD} 's/-lpthread/-lthr/g' ${WRKSRC}/configure @@ -99,8 +120,8 @@ ${MAN1PREFIX}/man/fr.UTF-8/man1/wineserver.1 @-${RMDIR} -p ${MAN1PREFIX}/man/de.UTF-8/man1 \ ${MAN1PREFIX}/man/fr.UTF-8/man1 =2D ${MV} -f ${PREFIX}/lib/libwine.so.1.0 ${PREFIX}/lib/libwine.so.1 =2D ${LN} -sf libwine.so.1 ${PREFIX}/lib/libwine.so + ${MV} -f ${WINELIBDIR}/libwine.so.1.0 ${WINELIBDIR}/libwine.so.1 + ${LN} -sf libwine.so.1 ${WINELIBDIR}/libwine.so .if !defined(NOPORTDOCS) -@${MKDIR} ${DOCSDIR} .for i in README ANNOUNCE AUTHORS LICENSE @@ -109,6 +130,27 @@ @${INSTALL_DATA} ${WRKSRC}/programs/winedbg/README ${DOCSDIR}/README.wine= dbg @${INSTALL_DATA} ${WRKSRC}/tools/winedump/README ${DOCSDIR}/README.winedu= mp .endif +.ifdef WINE_CROSS_BUILD + grep -v '[@%]' ${TMPPLIST} | sed "s!^!${PREFIX}/!g" | \ + xargs -n1 file -F' ' | grep ELF | cut -f1 -d' ' | \ + env LD_LIBRARY_PATH=3D${PREFIX}/lib32:${LD_LIBRARY_PATH} xargs ldd -f '%p= \n' \ + | sort -u | grep -v '^\(/usr\)\?/lib' | grep -v "^${PREFIX}/lib32/libwine= =2Eso" \ + | grep -v "^${PREFIX}/lib32/wine" > ${WRKDIR}/winelibs.list + for i in `cat ${WRKDIR}/winelibs.list` ; do \ + ${INSTALL_DATA} $${i} ${PREFIX}/lib32/ ; \ + echo lib32/`basename $${i}` >> ${TMPPLIST} ; \ + done + for i in libfreetype.so.9 libXrender.so.1 ; do \ + ${INSTALL_DATA} ${LOCALBASE}/lib/$${i} ${PREFIX}/lib32/ ; \ + echo lib32/$${i} >> ${TMPPLIST} ; \ + done + ${INSTALL_SCRIPT} ${FILESDIR}/binbounce ${PREFIX}/bin/wine + for i in `grep ^bin ${TMPPLIST} | xargs -n1 basename` ; do \ + [ "$${i}" =3D "wine" ] || ${LN} -f ${PREFIX}/bin/wine ${PREFIX}/bin/$${i= } ; \ + echo bin32/$${i} >> ${TMPPLIST} ; \ + done + echo '@unexec rmdir %D/bin32 2>/dev/null || true' >> ${TMPPLIST} +.endif @${MKDIR} ${DESKTOPDIR} @${MV} ${DATADIR}/applications/wine.desktop ${DESKTOPDIR}/ @${ECHO} diff -uNr /usr/ports/emulators/wine/files/binbounce wine/files/binbounce =2D-- /usr/ports/emulators/wine/files/binbounce 1970-01-01 02:00:00.0000000= 00 +0200 +++ wine/files/binbounce 2009-12-20 18:29:51.000000000 +0200 @@ -0,0 +1,27 @@ +#!/bin/sh + +TARGET=3D$0 +_count=3D0 +while [ -L "$TARGET" ] +do + TARGET=3D`ls -l "$TARGET" | sed -e 's/.* -> //'` + _count=3D$(($_count + 1)) + if [ $_count -gt 100 ] + then + echo "$0: to many symbolic links" > /dev/stderr + exit 1 + fi +done + +LOCALBASE=3D`dirname "$TARGET"`/.. +BINNAME=3D`basename "$TARGET"` + +if [ `uname -p` =3D i386 ] +then + export LD_LIBRARY_PATH=3D"$LOCALBASE/lib32":"$LOCALBASE/lib32/wine":"$LD= _LIBRARY_PATH" +else + export LD_32_LIBRARY_PATH=3D"$LOCALBASE/lib32":"$LOCALBASE/lib32/wine":"= $LD_32_LIBRARY_PATH" +fi +export PATH=3D"$LOCALBASE/bin32":"$PATH" + +exec "$LOCALBASE/bin32/$BINNAME" "$@" diff -uNr /usr/ports/emulators/wine-fbsd64/ChangeLog wine-fbsd64/ChangeLog =2D-- /usr/ports/emulators/wine-fbsd64/ChangeLog 1970-01-01 02:00:00.000000= 000 +0200 +++ wine-fbsd64/ChangeLog 2009-12-20 16:52:11.000000000 +0200 @@ -0,0 +1,20 @@ +2009/12/20: + * Correctly set bin/lib directories + * Support running on i386 + * Follow symbolic links to script + * Allow spaces in path + * Hard link the bin/* files (otherwise symbolic link following breaks) + +2009/12/19: + * Include freetype (it is a soft dependancy) + * Include libXrender (it is a soft dependancy) + +2009/12/18: + * Rename to something with a little more sense (wine-amd64-[V] -> wine-fb= sd64.[V]) + * Fix conflicts (wine conflicts with wine-fbsd64) + +2009/12/17: + * Automatically determine libraries and binaries + +2009/12/08: + * Initial implementation of WINE/i386 on FreeBSD/amd64=20 diff -uNr /usr/ports/emulators/wine-fbsd64/Makefile wine-fbsd64/Makefile =2D-- /usr/ports/emulators/wine-fbsd64/Makefile 1970-01-01 02:00:00.0000000= 00 +0200 +++ wine-fbsd64/Makefile 2009-12-18 19:44:47.000000000 +0200 @@ -0,0 +1,12 @@ +PORTNAME=3D wine +PKGNAMESUFFIX=3D -fbsd64.${OSVERSION:C/([0-9]).*/\1/} + +WINE_CROSS_BUILD=3Dyes + +MASTERDIR=3D ${.CURDIR}/../wine + +#.if ${ARCH} =3D=3D "amd64" +# TODO: install from package (how?) +#.endif + +.include "${MASTERDIR}/Makefile" --Boundary-01=_7HMMLAzHa9/Ck1W-- --nextPart2118082.dzLRqIFZ7R Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEABECAAYFAkswwgAACgkQUaaFgP9pFrImygCdE9PPkOvtWHVD5e3JYL8r1WD2 i6MAniHbVEOT+Wbw4IZItUcWtNS5xEQ8 =8mlZ -----END PGP SIGNATURE----- --nextPart2118082.dzLRqIFZ7R-- From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 13:22:22 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91912106566B for ; Tue, 22 Dec 2009 13:22:22 +0000 (UTC) (envelope-from christof.schulze@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id D4D568FC17 for ; Tue, 22 Dec 2009 13:22:21 +0000 (UTC) Received: (qmail invoked by alias); 22 Dec 2009 13:22:20 -0000 Received: from f053101170.adsl.alicedsl.de (EHLO klausdieter0815.dyndns.org) [78.53.101.170] by mail.gmx.com (mp-eu001) with SMTP; 22 Dec 2009 14:22:20 +0100 X-Authenticated: #56306756 X-Provags-ID: V01U2FsdGVkX19GNRtgW2hGUZFCdKd1Ao8kX0nDtveDFsvNSTo7Y+ qGBPI5Kr5tl5DN Received: by myhost.mydomain.de (Postfix, from userid 1001) id 538C78C; Tue, 22 Dec 2009 14:22:18 +0100 (CET) From: Christof Schulze To: freebsd-emulation@freebsd.org Date: Tue, 22 Dec 2009 14:22:16 +0100 User-Agent: KMail/1.12.0 (FreeBSD/7.2-STABLE; KDE/4.3.0; amd64; ; ) References: <4B2FF9A6.3070204@eskk.nu> In-Reply-To: <4B2FF9A6.3070204@eskk.nu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2843013.7b3qoQmFIG"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200912221422.18091.christof.schulze@gmx.com> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.65 Subject: Re: Wiki says: Bridged networking doesn't work with a wireless interface X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 13:22:22 -0000 --nextPart2843013.7b3qoQmFIG Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Am Montag 21 Dezember 2009 23:41:42 schrieb Leslie Jensen: > http://wiki.freebsd.org/VirtualBox > > says > > Bridged networking doesn't work with a wireless interface > > > I'm in the process of testing the iwn driver on 8.0-RELEASE. > > On this machine Bridged networking works with a wireless interface. > > So I was just wondering if I was lucky or the wiki needs an update? > > /Leslie Hello, in general the wiki is correct, but there might be some exceptions like in= =20 your case. The Problem with bridging ethernet and wlan is that the layer 2= =20 protocol is different which some drivers cannot handle correctly. Christof =2D-=20 () ascii ribbon campaign - against html e-mail=20 /\ www.asciiribbon.org - against proprietary attachments --nextPart2843013.7b3qoQmFIG Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEABECAAYFAkswyAoACgkQpZfyPAmdZJkztgCglB1SG2TGparISaocnwFUtoC3 aycAoNNhSV8O/QS28SfCNN8GiZpoHw7A =EaLP -----END PGP SIGNATURE----- --nextPart2843013.7b3qoQmFIG-- From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 13:27:08 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F331B1065670 for ; Tue, 22 Dec 2009 13:27:08 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id AF2DB8FC19 for ; Tue, 22 Dec 2009 13:27:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id CF3D75E4C9; Tue, 22 Dec 2009 14:27:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -2.24 X-Spam-Level: X-Spam-Status: No, score=-2.24 tagged_above=-999 required=5 tests=[AWL=0.360, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2DYStYdtypVE; Tue, 22 Dec 2009 14:27:04 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id A524A5E4F9; Tue, 22 Dec 2009 14:27:03 +0100 (CET) Message-ID: <4B30C927.8040409@eskk.nu> Date: Tue, 22 Dec 2009 14:27:03 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.5) Gecko/20091221 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-emulation@freebsd.org References: <4B2FF9A6.3070204@eskk.nu> <200912221422.18091.christof.schulze@gmx.com> In-Reply-To: <200912221422.18091.christof.schulze@gmx.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Wiki says: Bridged networking doesn't work with a wireless interface X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 13:27:09 -0000 On 2009-12-22 14:22, Christof Schulze wrote: > Am Montag 21 Dezember 2009 23:41:42 schrieb Leslie Jensen: >> http://wiki.freebsd.org/VirtualBox >> >> says >> >> Bridged networking doesn't work with a wireless interface >> >> >> I'm in the process of testing the iwn driver on 8.0-RELEASE. >> >> On this machine Bridged networking works with a wireless interface. >> >> So I was just wondering if I was lucky or the wiki needs an update? >> >> /Leslie > Hello, > > in general the wiki is correct, but there might be some exceptions like in > your case. The Problem with bridging ethernet and wlan is that the layer 2 > protocol is different which some drivers cannot handle correctly. > > Christof > Hi Christof I've seen that it's quite intermittent and unreliable, and I dropped the testing with wlan. /Leslie From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 20:22:03 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A4B7106568F for ; Tue, 22 Dec 2009 20:22:03 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id C18B58FC14 for ; Tue, 22 Dec 2009 20:22:02 +0000 (UTC) Received: (qmail 17924 invoked by uid 399); 22 Dec 2009 20:22:01 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 22 Dec 2009 20:22:01 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4B312A6D.4040907@FreeBSD.org> Date: Tue, 22 Dec 2009 12:22:05 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Leslie Jensen References: <4B2F60BA.7010002@bsdforen.de> <4B2FF8A0.8080009@eskk.nu> In-Reply-To: <4B2FF8A0.8080009@eskk.nu> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org Subject: Re: Loading kernel modules for virtualbox via script X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 20:22:03 -0000 The appropriate way to do this is to add them to /boot/loader.conf, like this: vboxdrv_load="yes" vboxnetflt_load="yes" vboxnetadp_load="yes" You could also write a new-style rc.d script to do this fairly easily, see http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.html for more information. There are also existing ports that use rc.d to load kernel modules, although none of the names come to mind off hand. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 20:52:37 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93C71106568B; Tue, 22 Dec 2009 20:52:37 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id E87228FC18; Tue, 22 Dec 2009 20:52:36 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so1677060eyf.9 for ; Tue, 22 Dec 2009 12:52:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received :x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=uNo1CcfN497OMMOx6OQGKZ48LaNhEkxruWp9plVlfQI=; b=jV68A8blFvd9htZAUBh2B2qLITamR8V972lUciNG35KmhvKt2QX9CMuLbvvhp+wdfE UQmP/UL/VjGgdeE1+FhKKGg66qKG4O26m+aCgW0U4SKLNU0wjQAEDElh4pUKdzJXk1gb PAY1ojxHpLKJwBuiEn9IfyhYa2y5pHY1y16/s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=s4amp+dAr4mbGLKxP93jMzZJgjwwYlOuClt1JmL5UAp48i5H7QuNHO1P9UpBhNEcse /g4Qkh810AT1oc2IWRDaY1veVrPJfIeKa7ymh7x3o7SpFAN8f+4PTXk0mR/tVycszfz2 EPLDDA7bLTxuKuOThpgZGQV82UbQ9xxByJUV0= Received: by 10.213.109.81 with SMTP id i17mr6403ebp.95.1261513779116; Tue, 22 Dec 2009 12:29:39 -0800 (PST) Received: from darklight.org.ru ([213.132.76.16]) by mx.google.com with ESMTPS id 15sm4717548ewy.12.2009.12.22.12.29.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 22 Dec 2009 12:29:38 -0800 (PST) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.3/8.14.3) with ESMTP id nBMKTZ9k053045; Tue, 22 Dec 2009 23:29:35 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.org.ru (8.14.3/8.14.3/Submit) id nBMKTYDX053041; Tue, 22 Dec 2009 23:29:34 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f Date: Tue, 22 Dec 2009 23:29:34 +0300 From: Yuri Pankov To: Doug Barton Message-ID: <20091222202934.GE2499@darklight.org.ru> References: <4B2F60BA.7010002@bsdforen.de> <4B2FF8A0.8080009@eskk.nu> <4B312A6D.4040907@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B312A6D.4040907@FreeBSD.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-emulation@freebsd.org Subject: Re: Loading kernel modules for virtualbox via script X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 20:52:37 -0000 On Tue, Dec 22, 2009 at 12:22:05PM -0800, Doug Barton wrote: > The appropriate way to do this is to add them to /boot/loader.conf, > like this: > > vboxdrv_load="yes" > vboxnetflt_load="yes" > vboxnetadp_load="yes" > > You could also write a new-style rc.d script to do this fairly easily, > see > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.html > for more information. There are also existing ports that use rc.d to > load kernel modules, although none of the names come to mind off hand. And many base rc scripts in /etc/rc.d/, grep for load_kld, defined and described in /etc/rc.subr. > > > Doug > > -- > > Improve the effectiveness of your Internet presence with > a domain name makeover! http://SupersetSolutions.com/ Yuri From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 21:18:09 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82AF7106566B for ; Tue, 22 Dec 2009 21:18:09 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 31B3D8FC18 for ; Tue, 22 Dec 2009 21:18:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id 3BC4F5E0F8; Tue, 22 Dec 2009 22:18:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -2.24 X-Spam-Level: X-Spam-Status: No, score=-2.24 tagged_above=-999 required=5 tests=[AWL=0.360, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GAw8Okg2ktDx; Tue, 22 Dec 2009 22:18:04 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id 6D0755E075; Tue, 22 Dec 2009 22:18:04 +0100 (CET) Message-ID: <4B31378D.2010801@eskk.nu> Date: Tue, 22 Dec 2009 22:18:05 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.5) Gecko/20091221 Thunderbird/3.0 MIME-Version: 1.0 To: Doug Barton References: <4B2F60BA.7010002@bsdforen.de> <4B2FF8A0.8080009@eskk.nu> <4B312A6D.4040907@FreeBSD.org> In-Reply-To: <4B312A6D.4040907@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org Subject: Re: Loading kernel modules for virtualbox via script X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 21:18:09 -0000 On 2009-12-22 21:22, Doug Barton wrote: > The appropriate way to do this is to add them to /boot/loader.conf, > like this: > > vboxdrv_load="yes" > vboxnetflt_load="yes" > vboxnetadp_load="yes" > > You could also write a new-style rc.d script to do this fairly easily, > see > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.html > for more information. There are also existing ports that use rc.d to > load kernel modules, although none of the names come to mind off hand. > > > Doug > Thanks for your answer. I did test to load the modules as you suggest. They do load but virtualbox produces an error when starting a virtual machine. I found information in the forums suggesting that one could load the modules via a script i /etc/rc.d/. But with 8.0 that did not work. I've tried to load vboxdrv and vboxnetflt via loader.conf and then load vboxnetadp manually before starting virtualbox. That also produces the error when starting a VM. So the vboxnetflt and vboxnetadp must be loaded in that order before one starts virtualbox. I was ok with the suggested script so when that didn't work I got stuck. For now I load the modules manually with a script that also starts virtualbox. /Les From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 21:32:47 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15F9610656C6 for ; Tue, 22 Dec 2009 21:32:47 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id B440C8FC19 for ; Tue, 22 Dec 2009 21:32:46 +0000 (UTC) Received: (qmail 5609 invoked by uid 399); 22 Dec 2009 21:32:45 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 22 Dec 2009 21:32:45 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4B313B01.1040900@FreeBSD.org> Date: Tue, 22 Dec 2009 13:32:49 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Leslie Jensen References: <4B2F60BA.7010002@bsdforen.de> <4B2FF8A0.8080009@eskk.nu> <4B312A6D.4040907@FreeBSD.org> <4B31378D.2010801@eskk.nu> In-Reply-To: <4B31378D.2010801@eskk.nu> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org Subject: Re: Loading kernel modules for virtualbox via script X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 21:32:47 -0000 Leslie Jensen wrote: > > On 2009-12-22 21:22, Doug Barton wrote: >> The appropriate way to do this is to add them to /boot/loader.conf, >> like this: >> >> vboxdrv_load="yes" >> vboxnetflt_load="yes" >> vboxnetadp_load="yes" >> >> You could also write a new-style rc.d script to do this fairly easily, >> see >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.html >> >> for more information. There are also existing ports that use rc.d to >> load kernel modules, although none of the names come to mind off hand. >> >> >> Doug >> > Thanks for your answer. > > I did test to load the modules as you suggest. They do load but > virtualbox produces an error when starting a virtual machine. If what you're saying is that you tried loading the modules in /boot/loader.conf and that produced an error, then you need to start a NEW thread on this list and describe what you did, and what the results are in detail. This method worked fine for me in 9-current, so if it's not working for you then we need to find out why. > I found information in the forums suggesting that one could load the > modules via a script i /etc/rc.d/. But with 8.0 that did not work. Do you understand why it didn't work? Do you understand that my suggestion is different than the one you received on the forum? > I've tried to load vboxdrv and vboxnetflt via loader.conf and then load > vboxnetadp manually before starting virtualbox. That also produces the > error when starting a VM. That sounds like a deeper issue to me that has nothing to do with HOW you load them. Once again, you need to start a NEW thread to try and diagnose the problem you're having. > For now I load the modules manually with a script that also starts > virtualbox. If you have an actual solution that works then you should include that information in the new thread you're going to create. :) Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 22:02:52 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B0051065670; Tue, 22 Dec 2009 22:02:52 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id AFDB48FC1B; Tue, 22 Dec 2009 22:02:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id AC6EA5E075; Tue, 22 Dec 2009 23:02:50 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -2.241 X-Spam-Level: X-Spam-Status: No, score=-2.241 tagged_above=-999 required=5 tests=[AWL=0.359, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Gazf3ow2lKPo; Tue, 22 Dec 2009 23:02:47 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id 865F65E055; Tue, 22 Dec 2009 23:02:47 +0100 (CET) Message-ID: <4B314208.30409@eskk.nu> Date: Tue, 22 Dec 2009 23:02:48 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.5) Gecko/20091221 Thunderbird/3.0 MIME-Version: 1.0 To: Doug Barton , freebsd-emulation@FreeBSD.org References: <4B2F60BA.7010002@bsdforen.de> <4B2FF8A0.8080009@eskk.nu> <4B312A6D.4040907@FreeBSD.org> <4B31378D.2010801@eskk.nu> <4B313B01.1040900@FreeBSD.org> In-Reply-To: <4B313B01.1040900@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Loading kernel modules for virtualbox via script X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 22:02:52 -0000 On 2009-12-22 22:32, Doug Barton wrote: > Leslie Jensen wrote: >> >> On 2009-12-22 21:22, Doug Barton wrote: >>> The appropriate way to do this is to add them to /boot/loader.conf, >>> like this: >>> >>> vboxdrv_load="yes" >>> vboxnetflt_load="yes" >>> vboxnetadp_load="yes" >>> >>> You could also write a new-style rc.d script to do this fairly easily, >>> see >>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.html >>> >>> for more information. There are also existing ports that use rc.d to >>> load kernel modules, although none of the names come to mind off hand. >>> >>> >>> Doug >>> >> Thanks for your answer. >> >> I did test to load the modules as you suggest. They do load but >> virtualbox produces an error when starting a virtual machine. > > If what you're saying is that you tried loading the modules in > /boot/loader.conf and that produced an error, then you need to start a > NEW thread on this list and describe what you did, and what the > results are in detail. This method worked fine for me in 9-current, so > if it's not working for you then we need to find out why. > >> I found information in the forums suggesting that one could load the >> modules via a script i /etc/rc.d/. But with 8.0 that did not work. > > Do you understand why it didn't work? Do you understand that my > suggestion is different than the one you received on the forum? > >> I've tried to load vboxdrv and vboxnetflt via loader.conf and then load >> vboxnetadp manually before starting virtualbox. That also produces the >> error when starting a VM. > > That sounds like a deeper issue to me that has nothing to do with HOW > you load them. Once again, you need to start a NEW thread to try and > diagnose the problem you're having. > >> For now I load the modules manually with a script that also starts >> virtualbox. > > If you have an actual solution that works then you should include that > information in the new thread you're going to create. :) > > > Doug > It started with the tread below http://forums.freebsd.org/showpost.php?p=45664&postcount=5 I asumed it was the accepted way to resolve this matter, therefore I just asked for a way to automate it when the script in /etc/rc.d/ failed on 8.0. I'll start a new tread and describe what I've done. /Les From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 22:18:19 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FEAD106566C; Tue, 22 Dec 2009 22:18:19 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id 5B8978FC21; Tue, 22 Dec 2009 22:18:19 +0000 (UTC) Received: by pzk15 with SMTP id 15so4524879pzk.3 for ; Tue, 22 Dec 2009 14:18:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=7wy/sr4+qmbSCxY66H/wiJXVSsH2FJJVgrLLp0X81aw=; b=dvWgFEu1R/elc/9g3+Tf1+e8ZLpeV1+cCP7kzTUsXe54neGbLQNvaOvX9522xt8VPW NB0V7sRFzvqZfH1IGbRtBPQX8Tm5sUc5t4q9I/f1K39r4nSDKaKF0KsRVWK1P+MStBjt VCmYDUO98B5SlQ5EXbkLv7u/pwcYKEzQiC4LU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=AeJGbtJAznvcFIUaBdGb2jJtiWxsoFgIx1zdeiR9UYzdMv5xU2u5lzZKdTV2f6vsAI aKx3Plm3LfrQqJwwTgOf/MG8UKP7PFlnqQUtheQb5zJqq+JszsbxJHGu5UV1YutBnPob Hzm2vNKvA6FMs1VeXEtVLyu18X9fUinTEBCYE= MIME-Version: 1.0 Received: by 10.143.21.41 with SMTP id y41mr6166733wfi.209.1261520299011; Tue, 22 Dec 2009 14:18:19 -0800 (PST) In-Reply-To: <4B314208.30409@eskk.nu> References: <4B2F60BA.7010002@bsdforen.de> <4B2FF8A0.8080009@eskk.nu> <4B312A6D.4040907@FreeBSD.org> <4B31378D.2010801@eskk.nu> <4B313B01.1040900@FreeBSD.org> <4B314208.30409@eskk.nu> Date: Tue, 22 Dec 2009 16:18:18 -0600 Message-ID: <6201873e0912221418w1c8dd64cnc681b3d22402dcab@mail.gmail.com> From: Adam Vande More To: Leslie Jensen Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-emulation@freebsd.org Subject: Re: Loading kernel modules for virtualbox via script X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 22:18:19 -0000 > >> It started with the tread below > > http://forums.freebsd.org/showpost.php?p=45664&postcount=5 > > I asumed it was the accepted way to resolve this matter, therefore I just > asked for a way to automate it when the script in /etc/rc.d/ failed on 8.0. > > I'll start a new tread and describe what I've done. > > /Les > > Yeah, that post is basically irrelevant to your described issue. Vbox has changed a lot since then, #1 being it's in the ports tree now. You've not actually related what the core issue is though. vboxnetadp.ko is needed for host-only networking mode, most people don't need this and quite useless for almost anything. Are you aware of this? You also stated " I load vboxnetflt.ko in /boot/loader.conf and load vboxnetadp.ko manually after I've logged in." Do not do this. This why crontab didn't work for you. -- Adam Vande More From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 22:40:34 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF66C106566C; Tue, 22 Dec 2009 22:40:34 +0000 (UTC) (envelope-from paul@fletchermoorland.co.uk) Received: from hydra.fletchermoorland.co.uk (hydra.fletchermoorland.co.uk [78.33.209.59]) by mx1.freebsd.org (Postfix) with ESMTP id 4E6498FC17; Tue, 22 Dec 2009 22:40:33 +0000 (UTC) Received: from demophon.fletchermoorland.co.uk (demophon.fletchermoorland.co.uk [192.168.0.154]) by hydra.fletchermoorland.co.uk (8.14.3/8.14.3) with ESMTP id nBMMJYaN091648; Tue, 22 Dec 2009 22:19:35 GMT (envelope-from paul@fletchermoorland.co.uk) Message-ID: <4B314586.1030301@fletchermoorland.co.uk> Date: Tue, 22 Dec 2009 22:17:42 +0000 From: Paul Wootton User-Agent: Thunderbird 2.0.0.23 (X11/20091217) MIME-Version: 1.0 To: dougb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=10.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on hydra.fletchermoorland.co.uk Cc: freebsd-emulation@freebsd.org Subject: VirtualBox error if kernel module loader in /boot/loader.conf (WAS Re: Loading kernel modules for virtualbox via script) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 22:40:35 -0000 Doug Barton wrote: > Leslie Jensen wrote: > >> On 2009-12-22 21:22, Doug Barton wrote: >> >>> The appropriate way to do this is to add them to /boot/loader.conf, >>> like this: >>> >>> vboxdrv_load="yes" >>> vboxnetflt_load="yes" >>> vboxnetadp_load="yes" >> Thanks for your answer. >> >> I did test to load the modules as you suggest. They do load but >> virtualbox produces an error when starting a virtual machine. >> > > If what you're saying is that you tried loading the modules in > /boot/loader.conf and that produced an error, then you need to start a > NEW thread on this list and describe what you did, and what the > results are in detail. This method worked fine for me in 9-current, so > if it's not working for you then we need to find out why. > > >> I've tried to load vboxdrv and vboxnetflt via loader.conf and then load >> vboxnetadp manually before starting virtualbox. That also produces the >> error when starting a VM. >> I too get an error on starting a VM if I try to load the modules from /boot/loader.conf. For me, the loading of vboxnetflt does not seem to work correctly. I dont load vboxnetadp, so I cant comment on that. /boot/loader.conf zfs_load="YES" vboxdrv_load="YES" vboxnetflt_load="YES" If I try to start a VM that is using the "Bridged Ethernet" adapter, the error I get is "Failed to start the virtual machine Win Vista Failed to open/create the internal network 'HostInterfaceNetworking-re0' (VERR_SUPDRV_COMPONENT_NOT_FOUND). Failed to attach the network LUN (VERR_SUPDRV_COMPONENT_NOT_FOUND). Unknown eror creating VM (VERR_SUPDRV_COMPONENT_NOT_FOUND). Details Result Code: NS_ERROR_FAILURE (0x80004005) Component: Console Interface: IConsole {0a51994b-cbc6-4686-94eb-d4e4023280e2}" I know the module got loaded. [paul@demophon /usr/home/paul]$ kldstat Id Refs Address Size Name 1 25 0xffffffff80100000 e7c540 kernel 2 1 0xffffffff80f7d000 18a788 zfs.ko 3 2 0xffffffff81108000 3778 opensolaris.ko 4 2 0xffffffff8110d000 41e88 vboxdrv.ko 5 1 0xffffffff8114f000 6960 vboxnetflt.ko 6 1 0xffffffff81223000 38fc linprocfs.ko 7 1 0xffffffff81227000 1bcc4 linux.ko If I then do a kldunload vboxnetflt followed by kldload vboxnetflt, I can now start and stop my VMs to my heart's content. Im using 9 CURRENT and I only started using /boot/loader.conf for the vbox modules about a month back. The vboxnetflt module has never worked correctly for me this way Paul From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 22:45:39 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73EF2106568D; Tue, 22 Dec 2009 22:45:39 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id E52EC8FC17; Tue, 22 Dec 2009 22:45:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id 1210E5E0BA; Tue, 22 Dec 2009 23:45:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -2.241 X-Spam-Level: X-Spam-Status: No, score=-2.241 tagged_above=-999 required=5 tests=[AWL=0.359, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id E42C5Ebm9BT8; Tue, 22 Dec 2009 23:45:35 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id 296C45E072; Tue, 22 Dec 2009 23:45:35 +0100 (CET) Message-ID: <4B314C10.4040009@eskk.nu> Date: Tue, 22 Dec 2009 23:45:36 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.5) Gecko/20091221 Thunderbird/3.0 MIME-Version: 1.0 To: Adam Vande More References: <4B2F60BA.7010002@bsdforen.de> <4B2FF8A0.8080009@eskk.nu> <4B312A6D.4040907@FreeBSD.org> <4B31378D.2010801@eskk.nu> <4B313B01.1040900@FreeBSD.org> <4B314208.30409@eskk.nu> <6201873e0912221418w1c8dd64cnc681b3d22402dcab@mail.gmail.com> In-Reply-To: <6201873e0912221418w1c8dd64cnc681b3d22402dcab@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: Loading kernel modules for virtualbox via script X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 22:45:39 -0000 On 2009-12-22 23:18, Adam Vande More wrote: > > > It started with the tread below > > http://forums.freebsd.org/showpost.php?p=45664&postcount=5 > > > I asumed it was the accepted way to resolve this matter, therefore I > just asked for a way to automate it when the script in /etc/rc.d/ > failed on 8.0. > > I'll start a new tread and describe what I've done. > > /Les > > > Yeah, that post is basically irrelevant to your described issue. Vbox > has changed a lot since then, #1 being it's in the ports tree now. > You've not actually related what the core issue is though. > vboxnetadp.ko is needed for host-only networking mode, most people don't > need this and quite useless for almost anything. Are you aware of this? No, I wasn't aware of this! > > You also stated " I load vboxnetflt.ko in /boot/loader.conf and load > vboxnetadp.ko manually after I've logged in." > > Do not do this. This why crontab didn't work for you. > > > -- > Adam Vande More From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 22:48:30 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B33CD1065672; Tue, 22 Dec 2009 22:48:30 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6D8978FC19; Tue, 22 Dec 2009 22:48:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id AAF254B6010; Tue, 22 Dec 2009 23:48:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -2.242 X-Spam-Level: X-Spam-Status: No, score=-2.242 tagged_above=-999 required=5 tests=[AWL=0.358, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LmS3KUwmUnXf; Tue, 22 Dec 2009 23:48:26 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id D30D44B6009; Tue, 22 Dec 2009 23:48:26 +0100 (CET) Message-ID: <4B314CBB.1030506@eskk.nu> Date: Tue, 22 Dec 2009 23:48:27 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.5) Gecko/20091221 Thunderbird/3.0 MIME-Version: 1.0 To: Paul Wootton References: <4B314586.1030301@fletchermoorland.co.uk> In-Reply-To: <4B314586.1030301@fletchermoorland.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: VirtualBox error if kernel module loader in /boot/loader.conf (WAS Re: Loading kernel modules for virtualbox via script) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 22:48:30 -0000 On 2009-12-22 23:17, Paul Wootton wrote: > I too get an error on starting a VM if I try to load the modules from > /boot/loader.conf. For me, the loading of vboxnetflt does not seem to > work correctly. I dont load vboxnetadp, so I cant comment on that. > > /boot/loader.conf > zfs_load="YES" > vboxdrv_load="YES" > vboxnetflt_load="YES" > > > If I try to start a VM that is using the "Bridged Ethernet" adapter, the > error I get is > > "Failed to start the virtual machine Win Vista > > Failed to open/create the internal network 'HostInterfaceNetworking-re0' > (VERR_SUPDRV_COMPONENT_NOT_FOUND). > > Failed to attach the network LUN > (VERR_SUPDRV_COMPONENT_NOT_FOUND). > > Unknown eror creating VM (VERR_SUPDRV_COMPONENT_NOT_FOUND). > > Details > Result Code: NS_ERROR_FAILURE (0x80004005) > Component: Console > Interface: IConsole {0a51994b-cbc6-4686-94eb-d4e4023280e2}" > > > I know the module got loaded. > [paul@demophon /usr/home/paul]$ kldstat > Id Refs Address Size Name > 1 25 0xffffffff80100000 e7c540 kernel > 2 1 0xffffffff80f7d000 18a788 zfs.ko > 3 2 0xffffffff81108000 3778 opensolaris.ko > 4 2 0xffffffff8110d000 41e88 vboxdrv.ko > 5 1 0xffffffff8114f000 6960 vboxnetflt.ko > 6 1 0xffffffff81223000 38fc linprocfs.ko > 7 1 0xffffffff81227000 1bcc4 linux.ko > > If I then do a kldunload vboxnetflt followed by kldload vboxnetflt, I > can now start and stop my VMs to my heart's content. > Im using 9 CURRENT and I only started using /boot/loader.conf for the > vbox modules about a month back. The vboxnetflt module has never worked > correctly for me this way > > Paul Thanks for starting the new tread :-) This is exactly the same problem I'm having. I'm on 8.0-RELEASE /Les From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 23:02:33 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93E69106568D for ; Tue, 22 Dec 2009 23:02:33 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-gx0-f218.google.com (mail-gx0-f218.google.com [209.85.217.218]) by mx1.freebsd.org (Postfix) with ESMTP id 575488FC19 for ; Tue, 22 Dec 2009 23:02:33 +0000 (UTC) Received: by gxk10 with SMTP id 10so6453002gxk.3 for ; Tue, 22 Dec 2009 15:02:32 -0800 (PST) Received: by 10.150.55.8 with SMTP id d8mr9170255yba.288.1261522952638; Tue, 22 Dec 2009 15:02:32 -0800 (PST) Received: from papi.localnet ([187.78.196.172]) by mx.google.com with ESMTPS id 6sm2577957ywc.9.2009.12.22.15.02.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 22 Dec 2009 15:02:31 -0800 (PST) From: Mario Lobo To: freebsd-emulation@freebsd.org Date: Tue, 22 Dec 2009 20:01:08 -0300 User-Agent: KMail/1.12.3 (FreeBSD/8.0-STABLE; KDE/4.3.3; amd64; ; ) References: <4B314586.1030301@fletchermoorland.co.uk> <4B314CBB.1030506@eskk.nu> In-Reply-To: <4B314CBB.1030506@eskk.nu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912222001.08532.lobo@bsd.com.br> Subject: Re: VirtualBox error if kernel module loader in /boot/loader.conf (WAS Re: Loading kernel modules for virtualbox via script) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 23:02:33 -0000 On Tuesday 22 December 2009 19:48:27 Leslie Jensen wrote: > On 2009-12-22 23:17, Paul Wootton wrote: > > I too get an error on starting a VM if I try to load the modules from > > /boot/loader.conf. For me, the loading of vboxnetflt does not seem to > > work correctly. I dont load vboxnetadp, so I cant comment on that. > > > > /boot/loader.conf > > zfs_load="YES" > > vboxdrv_load="YES" > > vboxnetflt_load="YES" > > > > > > If I try to start a VM that is using the "Bridged Ethernet" adapter, the > > error I get is > > > > "Failed to start the virtual machine Win Vista > > > > Failed to open/create the internal network 'HostInterfaceNetworking-re0' > > (VERR_SUPDRV_COMPONENT_NOT_FOUND). > > > > Failed to attach the network LUN > > (VERR_SUPDRV_COMPONENT_NOT_FOUND). > > > > Unknown eror creating VM (VERR_SUPDRV_COMPONENT_NOT_FOUND). > > > > Details > > Result Code: NS_ERROR_FAILURE (0x80004005) > > Component: Console > > Interface: IConsole {0a51994b-cbc6-4686-94eb-d4e4023280e2}" > > > > > > I know the module got loaded. > > [paul@demophon /usr/home/paul]$ kldstat > > Id Refs Address Size Name > > 1 25 0xffffffff80100000 e7c540 kernel > > 2 1 0xffffffff80f7d000 18a788 zfs.ko > > 3 2 0xffffffff81108000 3778 opensolaris.ko > > 4 2 0xffffffff8110d000 41e88 vboxdrv.ko > > 5 1 0xffffffff8114f000 6960 vboxnetflt.ko > > 6 1 0xffffffff81223000 38fc linprocfs.ko > > 7 1 0xffffffff81227000 1bcc4 linux.ko > > > > If I then do a kldunload vboxnetflt followed by kldload vboxnetflt, I > > can now start and stop my VMs to my heart's content. > > Im using 9 CURRENT and I only started using /boot/loader.conf for the > > vbox modules about a month back. The vboxnetflt module has never worked > > correctly for me this way > > > > Paul > > Thanks for starting the new tread :-) > > This is exactly the same problem I'm having. > > I'm on 8.0-RELEASE > > /Les > > _______________________________________________ > 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" > This is a known problem for a while but I think it's almost microscopic. Just place the following script in /usr/local/etc/rc.d/vboxkos ----------------------------------- #!/bin/sh echo ' VirtualBox' /sbin/kldload vboxnetflt /sbin/kldload vboxnetadp <- optional ------------------------------------ and take vboxnetflt_load="YES" out of loader.conf. Load only vboxdrv.ko there ! The modules will be loaded late enough and everything will work. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE) From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 23:20:43 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 176E510656A5 for ; Tue, 22 Dec 2009 23:20:43 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id C650F8FC22 for ; Tue, 22 Dec 2009 23:20:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id E9FB35E0FB; Wed, 23 Dec 2009 00:20:41 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -2.242 X-Spam-Level: X-Spam-Status: No, score=-2.242 tagged_above=-999 required=5 tests=[AWL=0.358, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id x7q9G6RCxlgM; Wed, 23 Dec 2009 00:20:39 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id 4CB655E0BA; Wed, 23 Dec 2009 00:20:38 +0100 (CET) Message-ID: <4B315448.909@eskk.nu> Date: Wed, 23 Dec 2009 00:20:40 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.5) Gecko/20091221 Thunderbird/3.0 MIME-Version: 1.0 To: Mario Lobo References: <4B314586.1030301@fletchermoorland.co.uk> <4B314CBB.1030506@eskk.nu> <200912222001.08532.lobo@bsd.com.br> In-Reply-To: <200912222001.08532.lobo@bsd.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: VirtualBox error if kernel module loader in /boot/loader.conf (WAS Re: Loading kernel modules for virtualbox via script) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 23:20:43 -0000 > This is a known problem for a while but I think it's almost microscopic. > > > Just place the following script in /usr/local/etc/rc.d/vboxkos > > ----------------------------------- > #!/bin/sh > echo ' VirtualBox' > /sbin/kldload vboxnetflt > /sbin/kldload vboxnetadp<- optional > ------------------------------------ > > and take vboxnetflt_load="YES" out of loader.conf. > Load only vboxdrv.ko there ! > > The modules will be loaded late enough and everything will work. I placed the vboxkos script as you described, set the same owner and group and rights as the files already present. Unfortunately the vboxnetflt module did not get loaded. /Les From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 23:26:46 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E4D21065694 for ; Tue, 22 Dec 2009 23:26:46 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-yw0-f172.google.com (mail-yw0-f172.google.com [209.85.211.172]) by mx1.freebsd.org (Postfix) with ESMTP id 0C48E8FC0A for ; Tue, 22 Dec 2009 23:26:45 +0000 (UTC) Received: by ywh2 with SMTP id 2so6953798ywh.27 for ; Tue, 22 Dec 2009 15:26:45 -0800 (PST) Received: by 10.90.43.4 with SMTP id q4mr5320351agq.31.1261524403756; Tue, 22 Dec 2009 15:26:43 -0800 (PST) Received: from papi.localnet ([187.78.196.172]) by mx.google.com with ESMTPS id 4sm2569544ywd.59.2009.12.22.15.26.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 22 Dec 2009 15:26:43 -0800 (PST) From: Mario Lobo To: Leslie Jensen Date: Tue, 22 Dec 2009 20:25:19 -0300 User-Agent: KMail/1.12.3 (FreeBSD/8.0-STABLE; KDE/4.3.3; amd64; ; ) References: <4B314586.1030301@fletchermoorland.co.uk> <200912222001.08532.lobo@bsd.com.br> <4B315448.909@eskk.nu> In-Reply-To: <4B315448.909@eskk.nu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912222025.19597.lobo@bsd.com.br> Cc: freebsd-emulation@freebsd.org Subject: Re: VirtualBox error if kernel module loader in /boot/loader.conf (WAS Re: Loading kernel modules for virtualbox via script) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 23:26:46 -0000 On Tuesday 22 December 2009 20:20:40 Leslie Jensen wrote: > > This is a known problem for a while but I think it's almost microscopic. > > > > > > Just place the following script in /usr/local/etc/rc.d/vboxkos > > > > ----------------------------------- > > #!/bin/sh > > echo ' VirtualBox' > > /sbin/kldload vboxnetflt > > /sbin/kldload vboxnetadp<- optional > > ------------------------------------ > > > > and take vboxnetflt_load="YES" out of loader.conf. > > Load only vboxdrv.ko there ! > > > > The modules will be loaded late enough and everything will work. > > I placed the vboxkos script as you described, set the same owner and > group and rights as the files already present. Unfortunately the > vboxnetflt module did not get loaded. > > /Les > Sorry for my rush on the previous post. Here is a better script: ---------------------------------------------------------- #!/bin/sh # # $FreeBSD: src/etc/rc.d/vbox,v 1.0 2009/12/22 20:20:06 mlobo Exp $ # # PROVIDE: vbox # REQUIRE: LOGIN # KEYWORD: nojail . /etc/rc.subr name="vbox" start_cmd="${name}_start" stop_cmd=":" vboxm_start() { /sbin/kldload vboxnetflt /sbin/kldload vboxnetadp } vbox_start() { if checkyesno vbox_enable; then echo ' VirtualBox modules' vboxm_start fi } load_rc_config $name run_rc_command "$1" ------------------------------------------------------- You have to place vbox_enable="YES" on /etc/rc.conf -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE) From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 23:45:20 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B79361065692 for ; Tue, 22 Dec 2009 23:45:20 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-gx0-f218.google.com (mail-gx0-f218.google.com [209.85.217.218]) by mx1.freebsd.org (Postfix) with ESMTP id 7EAB98FC15 for ; Tue, 22 Dec 2009 23:45:20 +0000 (UTC) Received: by gxk10 with SMTP id 10so6480588gxk.3 for ; Tue, 22 Dec 2009 15:45:19 -0800 (PST) Received: by 10.150.251.33 with SMTP id y33mr14292602ybh.143.1261525519579; Tue, 22 Dec 2009 15:45:19 -0800 (PST) Received: from papi.localnet ([187.78.196.172]) by mx.google.com with ESMTPS id 9sm2575701ywf.50.2009.12.22.15.45.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 22 Dec 2009 15:45:18 -0800 (PST) To: Leslie Jensen From: Mario Lobo Date: Tue, 22 Dec 2009 20:43:55 -0300 MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912222043.55783.lobo@bsd.com.br> Cc: freebsd-emulation@freebsd.org Subject: Re: VirtualBox error if kernel module loader in /boot/loader.conf (WAS Re: Loading kernel modules for virtualbox via script) CORRECTION ! X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 23:45:20 -0000 A small correction: take out the "-" lines and add the "+" line It should work now ! ---------------------------------------------------------- #!/bin/sh # # $FreeBSD: src/etc/rc.d/vbox,v 1.0 2009/12/22 20:20:06 mlobo Exp $ # # PROVIDE: vbox - # REQUIRE: LOGIN - # KEYWORD: nojail + # BEFORE: LOGIN . /etc/rc.subr name="vbox" start_cmd="${name}_start" stop_cmd=":" vboxm_start() { /sbin/kldload vboxnetflt /sbin/kldload vboxnetadp } vbox_start() { if checkyesno vbox_enable; then echo ' VirtualBox modules' vboxm_start fi } load_rc_config $name run_rc_command "$1" ------------------------------------------------------- Place vbox_enable="YES" on /etc/rc.conf -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE) From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 22 23:47:33 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31397106566B for ; Tue, 22 Dec 2009 23:47:33 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id DFE4D8FC08 for ; Tue, 22 Dec 2009 23:47:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id 3AC4B5E075; Wed, 23 Dec 2009 00:47:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -2.242 X-Spam-Level: X-Spam-Status: No, score=-2.242 tagged_above=-999 required=5 tests=[AWL=0.358, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id R-zPVlnumdFl; Wed, 23 Dec 2009 00:47:29 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id 402C85E0BA; Wed, 23 Dec 2009 00:47:29 +0100 (CET) Message-ID: <4B315A92.6020207@eskk.nu> Date: Wed, 23 Dec 2009 00:47:30 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.5) Gecko/20091221 Thunderbird/3.0 MIME-Version: 1.0 To: Mario Lobo References: <4B314586.1030301@fletchermoorland.co.uk> <200912222001.08532.lobo@bsd.com.br> <4B315448.909@eskk.nu> <200912222025.19597.lobo@bsd.com.br> In-Reply-To: <200912222025.19597.lobo@bsd.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: VirtualBox error if kernel module loader in /boot/loader.conf (WAS Re: Loading kernel modules for virtualbox via script) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Dec 2009 23:47:33 -0000 > > Sorry for my rush on the previous post. Here is a better script: > ---------------------------------------------------------- > #!/bin/sh > # > # $FreeBSD: src/etc/rc.d/vbox,v 1.0 2009/12/22 20:20:06 mlobo Exp $ > # > > # PROVIDE: vbox > # REQUIRE: LOGIN > # KEYWORD: nojail > > . /etc/rc.subr > > name="vbox" > start_cmd="${name}_start" > stop_cmd=":" > > vboxm_start() > { > /sbin/kldload vboxnetflt > /sbin/kldload vboxnetadp > } > > vbox_start() > { > if checkyesno vbox_enable; then > echo ' VirtualBox modules' > vboxm_start > fi > } > > load_rc_config $name > run_rc_command "$1" > > ------------------------------------------------------- > > You have to place vbox_enable="YES" on /etc/rc.conf Thank you Mario. This works fine, module loaded and VirtualBox VM starts with no error :-) /Les From owner-freebsd-emulation@FreeBSD.ORG Wed Dec 23 05:29:35 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCB60106566B; Wed, 23 Dec 2009 05:29:34 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id 6A1068FC0C; Wed, 23 Dec 2009 05:29:34 +0000 (UTC) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id 85C8C12543B; Wed, 23 Dec 2009 14:29:33 +0900 (JST) Message-ID: <4B31AABD.2020804@ongs.co.jp> Date: Wed, 23 Dec 2009 14:29:33 +0900 From: Daichi GOTO Organization: ONGS Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091219 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-emulation@freebsd.org, current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: JFYI: VirtualBox stable/unstable setteings (3.0.51.r22902) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 23 Dec 2009 05:29:35 -0000 In a month, I have been tried to investigate FreeBSD system stable/unstable situations and factors around VirtualBox bacause frequently my VirtualBox let FreeBSD freeze, panic and fatal trap. I guess my report is not strict comprehensive, but it's useful and helpful for everyone who wants to use VirtualBox on FreeBSD. Tested environment: host os: FreeBSD 9-current amd64 (among 12/2009) virtualbox: virtualbox-3.0.51.r22902_3 cpu: Intel Core2 Quad Q9550 mem: 8GB video: GeForce 9800 GT Kernel settings: - Vimage lets FreeBSD freeze within VirtualBox bridge networking feature. VirtualBox settings: ------------------------------------------------------------- | | effects on the host os stability| ------------------------------------------------------------- | ACPI | NO | | IO APIC | NO | | PAE/NX | (not checked) | | Core numbers | YES (*1) | | VT-x/AMD-V | NO | | nested paging | (not checked) | | 3D acceleration | (not checked) | | IDE controller type | NO | | Additional controller | NO | | CD/DVD drive host | NO | | CD/DVD drive image file | NO | | FDD drive host | (not checked) | | FDD drive image file | (not checked) | | Audio | (not checked) | | Network adapter type | NO | | Network NAT | NO | | Network bridge | NO | | Network inner network | (not checked) | | Network host only | (not checked) | | Serial port | (not checked) | | share folder | (not checked) | | Guest OS sort | NO | ------------------------------------------------------------- (*1) Multicore attached virtual environment easily and frequently lets FreeBSD freeze. Hardware health: - Weakened PC power unit or less-power power unit leads PC very unstable condition. If you encounter non-reproducible error or panic, you should better to check your PC power unit. - Unstable memory leads FreeBSD system panic and fatal trap. If you encounter "segmentaion fault", "panic" or "fatal trap" error, shutdown system and check your PC memory health with memtest86+. (Ubuntu install CD has memtest86+ feature. Using Ubuntu as memetest86+ checker is reasonable way). If you have luck, updating BIOS and set DRAM settings for stable resolves this issue. - Hard Disk should be health. Check your disk status by smartmontools (sysutils/smartmontools). Driver: - NVIDIA driver (x11/nvidia-driver, nvidia-driver-195.22) leads FreeBSD freeze non-reproducibly. If you use both NVIDIA driver and VirtualBox along with non-reproducible FreeBSD freeze, use nv driver instead. Recap points: - Check your PC health first, especially for Power unit, memory and Hard disk. - Remove Vimage if you want to use bridge networking feature of VirtualBox. - Use nv driver instead of nvidia-driver if you have FreeBSD non-reproducible freeze problem with nvidia-driver. -- Daichi GOTO CEO | ONGS Inc. 81-42-316-7945 | daichi@ongs.co.jp | http://www.ongs.co.jp LinkedIn: http://linkedin.com/in/daichigoto From owner-freebsd-emulation@FreeBSD.ORG Wed Dec 23 14:55:29 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B4B71065672; Wed, 23 Dec 2009 14:55:29 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 5030D8FC1D; Wed, 23 Dec 2009 14:55:29 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [IPv6:2001:470:1f07:4e1::4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA" (verified OK)) (Authenticated sender: imb) by sarah.protected-networks.net (Postfix) with ESMTPSA id 008A7612E; Wed, 23 Dec 2009 09:55:27 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1261580128; bh=NeCuvlPXlJp9kZk03LU5N7+V4kBTsE4uyLSZ76VlB3Y=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=UsxCbULchJNbzFIVDjRXGQehLtQHnP8rucdzOarMsZwzS5OdY+f5Lq8rObTwEz67p zzBzbVbP34IgzrEi4man8yneyvlVds2EcL7ccI02e60jsbHIzfMkm76ybwOGzPR DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:content-type:content-transfer-encoding; b=C+6cW7PGVvCx+/hDBPNmFmp25WogSoKxfnIG39cLHSX7bP4foCdMjX2qzxtsM2zBQ 7DMEyiANaV8dcfQKbhgZpmrW92XPoFbmrTPIvWYGpGl3VQwHgNeY0nioHMWa18I Message-ID: <4B322F56.3050703@protected-networks.net> Date: Wed, 23 Dec 2009 09:55:18 -0500 From: Michael Butler User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20091218 Thunderbird/3.0 MIME-Version: 1.0 To: Daichi GOTO References: <4B31AABD.2020804@ongs.co.jp> In-Reply-To: <4B31AABD.2020804@ongs.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org, freebsd-current Subject: Re: JFYI: VirtualBox stable/unstable setteings (3.0.51.r22902) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 23 Dec 2009 14:55:29 -0000 On 12/23/09 00:29, Daichi GOTO wrote: > In a month, I have been tried to investigate FreeBSD system > stable/unstable situations and factors around VirtualBox > bacause frequently my VirtualBox let FreeBSD freeze, panic > and fatal trap. Another data point: setting "vm.pmap.pg_ps_enabled=1" on my core duo seems to invite random "fault on no-fault entry" panics. I have been unable to pin this down any further because, even with a full debug + invariant kernel, it locks solid with no dump saved :-( imb From owner-freebsd-emulation@FreeBSD.ORG Wed Dec 23 15:06:16 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E054106566C; Wed, 23 Dec 2009 15:06:16 +0000 (UTC) (envelope-from doublef-ctm@yandex.ru) Received: from forward6.mail.yandex.net (forward6.mail.yandex.net [77.88.60.125]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6888FC1B; Wed, 23 Dec 2009 15:06:15 +0000 (UTC) Received: from smtp8.mail.yandex.net (smtp8.mail.yandex.net [77.88.61.54]) by forward6.mail.yandex.net (Yandex) with ESMTP id 757EADC8788; Wed, 23 Dec 2009 17:51:35 +0300 (MSK) Received: from doublef-shark (unknown [212.103.98.129]) by smtp8.mail.yandex.net (Yandex) with ESMTPA id C05C7980D0; Wed, 23 Dec 2009 17:51:34 +0300 (MSK) Received: by doublef-shark (Postfix, from userid 1000) id 376C614213D; Wed, 23 Dec 2009 17:51:34 +0300 (MSK) Date: Wed, 23 Dec 2009 17:51:34 +0300 From: Sergey Zaharchenko To: Daichi GOTO Message-ID: <20091223145134.GA6121@doublef-shark.homeunix.org> References: <4B31AABD.2020804@ongs.co.jp> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: <4B31AABD.2020804@ongs.co.jp> X-Listening-To: Silence User-Agent: Mutt/1.5.20 (2009-06-14) X-Yandex-TimeMark: 1261579895 X-Yandex-Spam: 1 X-Yandex-Front: smtp8.mail.yandex.net Cc: freebsd-emulation@freebsd.org, current@freebsd.org Subject: Re: JFYI: VirtualBox stable/unstable setteings (3.0.51.r22902) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 23 Dec 2009 15:06:16 -0000 --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Daichi! Wed, Dec 23, 2009 at 02:29:33PM +0900 you wrote: > Driver: > - NVIDIA driver (x11/nvidia-driver, nvidia-driver-195.22) leads > FreeBSD freeze non-reproducibly. If you use both > NVIDIA driver and VirtualBox along with non-reproducible > FreeBSD freeze, use nv driver instead. If that may be of any use to you, I had freezes with the 173.14.12 driver (old hardware) on i386 CURRENT, but they were caused by userland/kernel/driver/Xorg being out of sync and went away as soon as I rebuilt everything. Best regards, --=20 DoubleF No virus detected in this message. Ehrm, wait a minute... /kernel: pid 56921 (antivirus), uid 32000: exited on signal 9 Oh yes, no virus:) --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAksyLnUACgkQwo7hT/9lVdxbkQCggU2AqfofCbKmeh4TOTXKzjYd RI8AnRCQlAAoz+0GBFpAOUXDjmJ/SKJV =8Hw0 -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga-- From owner-freebsd-emulation@FreeBSD.ORG Wed Dec 23 16:47:23 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62F7E10656CB; Wed, 23 Dec 2009 16:47:23 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 57FC38FC16; Wed, 23 Dec 2009 16:47:21 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA02073; Wed, 23 Dec 2009 18:47:16 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4B324994.2010805@icyb.net.ua> Date: Wed, 23 Dec 2009 18:47:16 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Michael Butler References: <4B31AABD.2020804@ongs.co.jp> <4B322F56.3050703@protected-networks.net> In-Reply-To: <4B322F56.3050703@protected-networks.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org, freebsd-current Subject: Re: JFYI: VirtualBox stable/unstable setteings (3.0.51.r22902) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 23 Dec 2009 16:47:23 -0000 on 23/12/2009 16:55 Michael Butler said the following: > Another data point: > > setting "vm.pmap.pg_ps_enabled=1" on my core duo seems to invite random > "fault on no-fault entry" panics. I have been unable to pin this down > any further because, even with a full debug + invariant kernel, it locks > solid with no dump saved :-( uname -m: i386 or amd64? -- Andriy Gapon From owner-freebsd-emulation@FreeBSD.ORG Wed Dec 23 20:45:41 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99E7D1065672; Wed, 23 Dec 2009 20:45:41 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 5C2BD8FC0C; Wed, 23 Dec 2009 20:45:41 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [202.12.127.84]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA" (verified OK)) (Authenticated sender: imb) by sarah.protected-networks.net (Postfix) with ESMTPSA id 2A1E9612E; Wed, 23 Dec 2009 15:45:40 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1261601140; bh=fU6kpc6YpcRueSuxHGSjecJyt+2I3AzZ2mpiFO97Vk8=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=bXa1gqciFzrnR24T4xEuTPfOuVI56D7o1SLeJBrFwsNckEW25kjVZ+6OmMyrqqMfR lM9Iozy1obK9FiGjiZgJiiQk61f1pg/FtHz/sKiJoeX01DEn1PNndsPFo43TYN2 DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:content-type:content-transfer-encoding; b=L1iJ6lrG4Gq33Bch73ddNCcOgWw82j82zdqr220jJ3U88sixgCXmx1hGwnVUQU5wy nsbZlVcbO1kvGcRPjcv6URWhYdW9Bo6VElvwk2iehNPr7T1JvxjVYHLhTmziYHo Message-ID: <4B328172.8070507@protected-networks.net> Date: Wed, 23 Dec 2009 15:45:38 -0500 From: Michael Butler User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20091218 Thunderbird/3.0 MIME-Version: 1.0 To: Andriy Gapon References: <4B31AABD.2020804@ongs.co.jp> <4B322F56.3050703@protected-networks.net> <4B324994.2010805@icyb.net.ua> In-Reply-To: <4B324994.2010805@icyb.net.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org, freebsd-current Subject: Re: JFYI: VirtualBox stable/unstable setteings (3.0.51.r22902) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 23 Dec 2009 20:45:41 -0000 On 12/23/09 11:47, Andriy Gapon wrote: > on 23/12/2009 16:55 Michael Butler said the following: >> Another data point: >> >> setting "vm.pmap.pg_ps_enabled=1" on my core duo seems to invite random >> "fault on no-fault entry" panics. I have been unable to pin this down >> any further because, even with a full debug + invariant kernel, it locks >> solid with no dump saved :-( > > uname -m: i386 or amd64? FreeBSD 9.0-CURRENT #12 r200840: Tue Dec 22 10:38:57 EST 2009 i386 .. on a Toshiba A105-4004 Laptop .. CPU: Genuine Intel(R) CPU T2300 @ 1.66GHz (1662.51-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6e8 Stepping = 8 Features=0xbfe9fbff Features2=0xc1a9 TSC: P-state invariant real memory = 4294967296 (4096 MB) avail memory = 3135868928 (2990 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 From owner-freebsd-emulation@FreeBSD.ORG Wed Dec 23 22:44:51 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C244A106566B; Wed, 23 Dec 2009 22:44:51 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C2F5C8FC1C; Wed, 23 Dec 2009 22:44:50 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id AAA07164; Thu, 24 Dec 2009 00:44:46 +0200 (EET) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1NNZwj-000L8R-UX; Thu, 24 Dec 2009 00:44:45 +0200 Message-ID: <4B329CF9.2020407@icyb.net.ua> Date: Thu, 24 Dec 2009 00:43:05 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091128) MIME-Version: 1.0 To: Michael Butler References: <4B31AABD.2020804@ongs.co.jp> <4B322F56.3050703@protected-networks.net> <4B324994.2010805@icyb.net.ua> <4B328172.8070507@protected-networks.net> In-Reply-To: <4B328172.8070507@protected-networks.net> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org, freebsd-current Subject: Re: JFYI: VirtualBox stable/unstable setteings (3.0.51.r22902) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 23 Dec 2009 22:44:51 -0000 on 23/12/2009 22:45 Michael Butler said the following: > On 12/23/09 11:47, Andriy Gapon wrote: >> on 23/12/2009 16:55 Michael Butler said the following: >>> Another data point: >>> >>> setting "vm.pmap.pg_ps_enabled=1" on my core duo seems to invite random >>> "fault on no-fault entry" panics. I have been unable to pin this down >>> any further because, even with a full debug + invariant kernel, it locks >>> solid with no dump saved :-( >> >> uname -m: i386 or amd64? > > FreeBSD 9.0-CURRENT #12 r200840: Tue Dec 22 10:38:57 EST 2009 i386 OK. I am not sure about the exact details but there seems to be a known issue with superpages on i386 and that's the reason they are disabled by default. So, it's probably best not to enable them for time being. -- Andriy Gapon From owner-freebsd-emulation@FreeBSD.ORG Wed Dec 23 23:03:34 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E342F1065693; Wed, 23 Dec 2009 23:03:34 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9E4318FC0A; Wed, 23 Dec 2009 23:03:34 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [202.12.127.84]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA" (verified OK)) (Authenticated sender: imb) by sarah.protected-networks.net (Postfix) with ESMTPSA id 34F136138; Wed, 23 Dec 2009 18:03:33 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1261609413; bh=jXP566fDtRMJAgjGP3MH1FQb14RrABhMjOmFL+gYq4Q=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=ZtamJXSPGSMQiNdejavSer8z7J4Vcj7vikJ68b7A4jTk9yMwKXNT/LHgqT+K07etg kSOOnIfCxvEQt/Ri30ymojzoiJvrs9PdEQ7AMtUHTxNghkBCoVkGB9neeP+q8S8 DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:content-type:content-transfer-encoding; b=BanoCG6/uKmC1Zf1dnnFVSjNUbzw7CKKOkbGXpsknnxxa77rTp35xlDGUWLWqXlqw s8bWDqhODDol3iqotwKDpY9gnGbvq1MYe6osRyemK5TWbnIMGSV6Td6MSBdV7K2 Message-ID: <4B32A1BF.1050200@protected-networks.net> Date: Wed, 23 Dec 2009 18:03:27 -0500 From: Michael Butler User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20091218 Thunderbird/3.0 MIME-Version: 1.0 To: alc@freebsd.org References: <4B31AABD.2020804@ongs.co.jp> <4B322F56.3050703@protected-networks.net> <4B324994.2010805@icyb.net.ua> <4B328172.8070507@protected-networks.net> <4B329CF9.2020407@icyb.net.ua> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org, Alan Cox , Andriy Gapon , freebsd-current Subject: Re: JFYI: VirtualBox stable/unstable setteings (3.0.51.r22902) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 23 Dec 2009 23:03:35 -0000 On 12/23/09 17:56, Alan Cox wrote: > Yes, there is an i386-specific race condition that I understand but haven't > fixed. It's typically triggered by the page daemon calling uma_reclaim(). > It affects all versions from 7.2 to HEAD. Ah - that's a shame because it does offer a noticeable "speed-up" on this device with large executables, imb From owner-freebsd-emulation@FreeBSD.ORG Wed Dec 23 23:20:00 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1CE6106566B for ; Wed, 23 Dec 2009 23:20:00 +0000 (UTC) (envelope-from alan.l.cox@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 815288FC18 for ; Wed, 23 Dec 2009 23:20:00 +0000 (UTC) Received: by pwi15 with SMTP id 15so5078401pwi.3 for ; Wed, 23 Dec 2009 15:20:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=ihuk0trEu05C6Y39sFjcyrvTb9oDYqZJ74ZxxbNo/iI=; b=Qg88uZ2Si+EPFSWN151JNTilepkKoDNzqsvjhxGkecAUB4a8HiGzpHn5o8hb1Au6yq Npp/grKwq6AIwe6ohuqdYf1nuZC9xe72hn40YbuZalU3gTDwpVNty/+TzkYjtLb5nSX1 2XHoakO3cFWvpOagGE457iIaz1DEWtHECzbNU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=s2xUvFYKGqwijdwBpRGbhV1w+1PCQyQY1jirAPlGYke6t6q7OufumLwhWtuJlqY3s7 Y+FYRxMdwyKM/k2LbmcVsZV2DnyOUL9wfMM8+naxCyEhi+iyooT5OQ3dYiLB0Vt5PwIV CrmwA605QnWzHQVL9wFEIwi5Kg3vkpTACGzls= MIME-Version: 1.0 Received: by 10.142.9.37 with SMTP id 37mr72025wfi.227.1261608975279; Wed, 23 Dec 2009 14:56:15 -0800 (PST) In-Reply-To: <4B329CF9.2020407@icyb.net.ua> References: <4B31AABD.2020804@ongs.co.jp> <4B322F56.3050703@protected-networks.net> <4B324994.2010805@icyb.net.ua> <4B328172.8070507@protected-networks.net> <4B329CF9.2020407@icyb.net.ua> Date: Wed, 23 Dec 2009 16:56:15 -0600 Message-ID: From: Alan Cox To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-emulation@freebsd.org, freebsd-current Subject: Re: JFYI: VirtualBox stable/unstable setteings (3.0.51.r22902) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: alc@freebsd.org List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2009 23:20:00 -0000 Yes, there is an i386-specific race condition that I understand but haven't fixed. It's typically triggered by the page daemon calling uma_reclaim(). It affects all versions from 7.2 to HEAD. Alan From owner-freebsd-emulation@FreeBSD.ORG Fri Dec 25 11:18:25 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E067106566B; Fri, 25 Dec 2009 11:18:25 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id D1E568FC12; Fri, 25 Dec 2009 11:18:24 +0000 (UTC) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id 5482712543B; Fri, 25 Dec 2009 20:18:23 +0900 (JST) Message-ID: <4B349F7E.2030407@ongs.co.jp> Date: Fri, 25 Dec 2009 20:18:22 +0900 From: Daichi GOTO Organization: ONGS Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091219 Thunderbird/3.0 MIME-Version: 1.0 To: current@freebsd.org, freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: JFYI: VirtualBox stable/unstable setteings (3.0.51.r22902), 20091225 updated X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Dec 2009 11:18:25 -0000 My report is not strict comprehensive, but it's useful and helpful for everyone who wants to use VirtualBox on FreeBSD. Revision: 20091223 - first posts 20091225 - updates including some results of powerd(8) investigation Tested environment: host os: FreeBSD 9-current amd64 (among 12/2009) virtualbox: virtualbox-3.0.51.r22902_3 cpu: Intel Core2 Quad Q9550 mem: 8GB video: GeForce 9800 GT Kernel settings issues: - Vimage lets FreeBSD freeze within VirtualBox bridge networking. [workaround 1] disable Vimage, you could use bridge feature [workaround 2] disable bridge feature, you could use Vimage Driver issues (*2): - Within certain combination of M/B and NVIDIA graphic board, NVIDIA driver (x11/nvidia-driver: nvidia-driver-195.22) and powerd(8) lead FreeBSD freeze non-reproducibly. [workaround 1] use nv instead of nvidia driver [workaround 2] stop powerd(8), you could use nvidia driver relative url: http://www.nvnews.net/vbulletin/showthread.php?t=142331 http://groups.google.com/group/mailing.freebsd.current/browse_thread/thread/9b7a85504e6b4ba3 VirtualBox settings: ------------------------------------------------------------- | | effects on the host os stability| ------------------------------------------------------------- | ACPI | NO | | IO APIC | NO | | PAE/NX | (not checked) | | Core numbers | YES (*2) | | VT-x/AMD-V | NO | | nested paging | (not checked) | | 3D acceleration | (not checked) | | IDE controller type | NO | | Additional controller | NO | | CD/DVD drive host | NO | | CD/DVD drive image file | NO | | FDD drive host | (not checked) | | FDD drive image file | (not checked) | | Audio | (not checked) | | Network adapter type | NO | | Network NAT | NO | | Network bridge | NO | | Network inner network | (not checked) | | Network host only | (not checked) | | Serial port | (not checked) | | share folder | (not checked) | | Guest OS sort | NO | ------------------------------------------------------------- Hardware health: - Weakened PC power unit or less-power power unit leads PC very unstable condition. If you encounter non-reproducible error or panic, you should better to check your PC power unit. - Unstable memory leads FreeBSD system panic and fatal trap. If you encounter "segmentaion fault", "panic" or "fatal trap" error, shutdown system and check your PC memory health with memtest86+. (Ubuntu install CD has memtest86+ feature. Using Ubuntu as memetest86+ checker is reasonable way). If you have luck, updating BIOS and set DRAM settings for stable resolves this issue. - Hard Disk should be health. Check your disk status by smartmontools (sysutils/smartmontools). [Recap points] - Check your PC health first, especially for Power unit, memory and Hard disk. - Remove Vimage if you want to use bridge networking feature of VirtualBox. - If you want to use nvidia-driver, stop powerd(8) daemon. If you want to use powerd(8) daemon, then use nv instead of nvidia driver. Notes: (*1) relative url: http://www.nvnews.net/vbulletin/showthread.php?t=142331 http://groups.google.com/group/mailing.freebsd.current/browse_thread/thread/9b7a85504e6b4ba3 (*2) Multicore attached virtual environment easily and frequently lets FreeBSD freeze. -- Daichi GOTO CEO | ONGS Inc. 81-42-316-7945 | daichi@ongs.co.jp | http://www.ongs.co.jp LinkedIn: http://linkedin.com/in/daichigoto From owner-freebsd-emulation@FreeBSD.ORG Sat Dec 26 21:08:50 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AEE21065670; Sat, 26 Dec 2009 21:08:50 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 10C668FC1B; Sat, 26 Dec 2009 21:08:50 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 597431E00756; Sat, 26 Dec 2009 22:08:49 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.3/8.14.3) with ESMTP id nBQL4tTE003761; Sat, 26 Dec 2009 22:04:55 +0100 (CET) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.3/8.14.3/Submit) id nBQL4teX003760; Sat, 26 Dec 2009 22:04:55 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Sat, 26 Dec 2009 22:04:55 +0100 To: Juergen Lock Message-ID: <20091226210455.GA3372@triton8.kn-bremen.de> References: <20091214220648.GA76692@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091214220648.GA76692@triton8.kn-bremen.de> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-emulation@FreeBSD.org, Jung-uk Kim Subject: pcap woes (was: FreeBSD qemu-devel 0.12.0-rc2 port update available for testing) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 26 Dec 2009 21:08:50 -0000 On Mon, Dec 14, 2009 at 11:06:48PM +0100, Juergen Lock wrote: > Hi! > > I updated my git head snapshot qemu-devel port update to 0.12.0-rc2 > today (that was just announced: > http://lists.gnu.org/archive/html/qemu-devel/2009-12/msg01514.html > - the Subject says rc1 but in fact its rc2) so people can test that > version on FreeBSD more easily: > http://people.freebsd.org/~nox/qemu/qemu-devel-0.12.0-rc2.patch > resp. > http://people.freebsd.org/~nox/qemu/qemu-devel-0.12.0-rc2.shar > > (As mentioned before 0.11 was the last qemu branch that supported kqemu > so this is probably only interesting for those FreeBSD users that want > to emulate non-x86 guests or when performance doesn't matter. But the > others are probably already moving to virtualbox now anyway... :) > > I have updated the FreeBSD pcap patch just enough so that it still runs > (it probably will never be committed upstream anyway since Linux pcap > doesn't have BIOCFEEDBACK i.e. can't talk to the host, only to other > machines on the network) and I still see this weird issue here that > packets `sometimes' are only processed with a delay (when the nic is > otherwise idle?), i.e. pinging the host or another box on the lan with e.g. > -i5 from the guest sees many packets with >5000ms roundtrip time. Can > anyone else reproduce this or is that `just me'? This is on stable/8 > now (amd64) but it also happened with earlier versions, tested with > qemu 8.0-RELEASE-i386-dvd1.iso -m 256 -net nic,model=e1000 -net pcap,ifname=em0 > via fixit->cdrom. And this is most likely pcap related, I don't see > anything like it with tap networking. I found another issue: pcap_send (actuall the callback pcap_callback()) sometimes receives too large packets (or multiple packets in one go?), causing a linux guest's e1000 driver to panic like below when wget'ing a file from the host. This hack applied on top of the pcap patch (simply truncating the packets) makes the panics go away: (but still doesn't fix the delays) --- a/net.c +++ b/net.c @@ -841,11 +841,20 @@ static ssize_t pcap_receive(VLANClientSt return pcap_inject(s->handle, (u_char*)buf, size); } +#define MAX_ETH_FRAME_SIZE 1514 + static void pcap_callback(u_char *user, struct pcap_pkthdr *phdr, u_char *pdata) { VLANClientState *vc = (VLANClientState *)user; + int len = phdr->len; - qemu_send_packet(vc, pdata, phdr->len); + if (len > MAX_ETH_FRAME_SIZE) { + fprintf(stderr, + "pcap_send: packet size > %d (%d), truncating\n", + MAX_ETH_FRAME_SIZE, len); + len = MAX_ETH_FRAME_SIZE; + } + qemu_send_packet(vc, pdata, len); } static void pcap_send(void *opaque) Here comes the panic, apparently its in this line: http://fxr.watson.org/fxr/source/net/core/skbuff.c?v=linux-2.6#L1015 --------snip------------- skb_over_panic: text:e08e2da8 len:1770 put:1770 head:dd761800 data:dd761822 tail:0xdd761f0c end:0xdd761e20 dev:eth0 ------------[ cut here ]------------ kernel BUG at net/core/skbuff.c:127! invalid opcode: 0000 [#1] PREEMPT SMP last sysfs file: /sys/devices/pci0000:00/0000:00:05.0/host0/target0:0:0/0:0:0:0/block/sda/size Modules linked in: ipv6 ppdev lp cpufreq_stats cpufreq_powersave cpufreq_performance cpufreq_ondemand freq_table cpufreq_conservative af_packet virtio_balloon rtc_cmos psmouse evdev rtc_core pcspkr serio_raw i2c_piix4 rtc_lib i2c_core parport_pc parport processor button aufs squashfs loop nls_utf8 isofs nls_base dm_mod sg sd_mod sr_mod cdrom ata_generic pata_acpi virtio_net ata_piix libata sym53c8xx scsi_transport_spi virtio_pci e1000 floppy scsi_mod thermal fan [last unloaded: scsi_wait_scan] Pid: 0, comm: swapper Not tainted (2.6.31-6.slh.1-sidux-686 #1) EIP: 0060:[] EFLAGS: 00000292 CPU: 0 EIP is at skb_put+0x8a/0x90 EAX: 0000007a EBX: dd761f0c ECX: 00000086 EDX: 00ee5000 ESI: 000006ea EDI: dd749580 EBP: ddc71a80 ESP: c0493da8 DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 Process swapper (pid: 0, ti=c0492000 task=c04993a0 task.ti=c0492000) Stack: c0467e4c e08e2da8 000006ea 000006ea dd761800 dd761822 dd761f0c dd761e20 <0> df02b000 000006ea 000006ee e08e2da8 df0254cc c1409bc0 c0493eac dd7495c0 <0> df02b320 00000007 df02b388 df02b610 c03cbfc0 df02b508 df02b000 df04f800 Call Trace: [] ? e1000_clean_rx_irq+0x268/0x4b0 [e1000] [] ? e1000_clean_rx_irq+0x268/0x4b0 [e1000] [] ? e1000_clean+0x1ec/0x550 [e1000] [] ? enqueue_entity+0x11f/0x190 [] ? sym_interrupt+0x29/0x750 [sym53c8xx] [] ? net_rx_action+0x126/0x230 [] ? __do_softirq+0xcf/0x1d0 [] ? ack_apic_level+0x7a/0x270 [] ? do_softirq+0x3d/0x40 [] ? irq_exit+0x65/0x80 [] ? do_IRQ+0x50/0xc0 [] ? common_interrupt+0x29/0x30 [] ? native_safe_halt+0x2/0x10 [] ? default_idle+0x68/0x130 [] ? c1e_idle+0x4c/0x110 [] ? cpu_idle+0x52/0x90 [] ? start_kernel+0x2f8/0x35b [] ? unknown_bootoption+0x0/0x1d7 Code: 24 14 8b 81 b0 00 00 00 89 74 24 0c 89 44 24 10 8b 41 50 c7 04 24 4c 7e 46 c0 89 44 24 08 8b 44 24 2c 89 44 24 04 e8 d1 c0 09 00 <0f> 0b eb fe 66 90 55 89 c5 57 56 53 83 ec 14 89 54 24 04 89 0c EIP: [] skb_put+0x8a/0x90 SS:ESP 0068:c0493da8 ---[ end trace a7dfb09442504800 ]--- Kernel panic - not syncing: Fatal exception in interrupt Pid: 0, comm: swapper Tainted: G D 2.6.31-6.slh.1-sidux-686 #1 Call Trace: [] ? panic+0x4d/0xfd [] ? oops_end+0xbc/0xd0 [] ? do_invalid_op+0x0/0x90 [] ? do_invalid_op+0x7f/0x90 [] ? skb_put+0x8a/0x90 [] ? serial8250_console_write+0x0/0x130 [] ? up+0x11/0x40 [] ? release_console_sem+0x191/0x1e0 [] ? sk_filter+0x9a/0xb0 [] ? error_code+0x66/0x6c [] ? do_invalid_op+0x0/0x90 [] ? skb_put+0x8a/0x90 [] ? e1000_clean_rx_irq+0x268/0x4b0 [e1000] [] ? e1000_clean_rx_irq+0x268/0x4b0 [e1000] [] ? e1000_clean+0x1ec/0x550 [e1000] [] ? enqueue_entity+0x11f/0x190 [] ? sym_interrupt+0x29/0x750 [sym53c8xx] [] ? net_rx_action+0x126/0x230 [] ? __do_softirq+0xcf/0x1d0 [] ? ack_apic_level+0x7a/0x270 [] ? do_softirq+0x3d/0x40 [] ? irq_exit+0x65/0x80 [] ? do_IRQ+0x50/0xc0 [] ? common_interrupt+0x29/0x30 [] ? native_safe_halt+0x2/0x10 [] ? default_idle+0x68/0x130 [] ? c1e_idle+0x4c/0x110 [] ? cpu_idle+0x52/0x90 [] ? start_kernel+0x2f8/0x35b [] ? unknown_bootoption+0x0/0x1d7 QEMU 0.11.1 monitor - type 'help' for more information (qemu) q From owner-freebsd-emulation@FreeBSD.ORG Sat Dec 26 22:29:56 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8535106568F; Sat, 26 Dec 2009 22:29:56 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 35FBC8FC0C; Sat, 26 Dec 2009 22:29:56 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 88A581E00758; Sat, 26 Dec 2009 23:29:55 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.3/8.14.3) with ESMTP id nBQMSidK079133; Sat, 26 Dec 2009 23:28:44 +0100 (CET) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.3/8.14.3/Submit) id nBQMSiak079132; Sat, 26 Dec 2009 23:28:44 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Sat, 26 Dec 2009 23:28:43 +0100 To: Juergen Lock Message-ID: <20091226222843.GA78950@triton8.kn-bremen.de> References: <20091214220648.GA76692@triton8.kn-bremen.de> <20091226210455.GA3372@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091226210455.GA3372@triton8.kn-bremen.de> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-emulation@FreeBSD.org, Jung-uk Kim Subject: qemu 0.12.1 for testing as the new emulators/qemu-devel (was: pcap woes) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 26 Dec 2009 22:29:56 -0000 On Sat, Dec 26, 2009 at 10:04:55PM +0100, Juergen Lock wrote: > On Mon, Dec 14, 2009 at 11:06:48PM +0100, Juergen Lock wrote: > > Hi! > > > > I updated my git head snapshot qemu-devel port update to 0.12.0-rc2 > > today (that was just announced: > > http://lists.gnu.org/archive/html/qemu-devel/2009-12/msg01514.html > > - the Subject says rc1 but in fact its rc2) so people can test that > > version on FreeBSD more easily: > > http://people.freebsd.org/~nox/qemu/qemu-devel-0.12.0-rc2.patch > > resp. > > http://people.freebsd.org/~nox/qemu/qemu-devel-0.12.0-rc2.shar > > > > (As mentioned before 0.11 was the last qemu branch that supported kqemu > > so this is probably only interesting for those FreeBSD users that want > > to emulate non-x86 guests or when performance doesn't matter. But the > > others are probably already moving to virtualbox now anyway... :) > > > > I have updated the FreeBSD pcap patch just enough so that it still runs > > (it probably will never be committed upstream anyway since Linux pcap > > doesn't have BIOCFEEDBACK i.e. can't talk to the host, only to other > > machines on the network) and I still see this weird issue here that > > packets `sometimes' are only processed with a delay (when the nic is > > otherwise idle?), i.e. pinging the host or another box on the lan with e.g. > > -i5 from the guest sees many packets with >5000ms roundtrip time. Can > > anyone else reproduce this or is that `just me'? This is on stable/8 > > now (amd64) but it also happened with earlier versions, tested with > > qemu 8.0-RELEASE-i386-dvd1.iso -m 256 -net nic,model=e1000 -net pcap,ifname=em0 > > via fixit->cdrom. And this is most likely pcap related, I don't see > > anything like it with tap networking. > > I found another issue: pcap_send (actuall the callback pcap_callback()) > sometimes receives too large packets (or multiple packets in one go?), > causing a linux guest's e1000 driver to panic like below when wget'ing > a file from the host. This hack applied on top of the pcap patch > (simply truncating the packets) makes the panics go away: (but still > doesn't fix the delays) > > --- a/net.c > +++ b/net.c > @@ -841,11 +841,20 @@ static ssize_t pcap_receive(VLANClientSt > return pcap_inject(s->handle, (u_char*)buf, size); > } > > +#define MAX_ETH_FRAME_SIZE 1514 > + > static void pcap_callback(u_char *user, struct pcap_pkthdr *phdr, u_char *pdata) > { > VLANClientState *vc = (VLANClientState *)user; > + int len = phdr->len; > > - qemu_send_packet(vc, pdata, phdr->len); > + if (len > MAX_ETH_FRAME_SIZE) { > + fprintf(stderr, > + "pcap_send: packet size > %d (%d), truncating\n", > + MAX_ETH_FRAME_SIZE, len); > + len = MAX_ETH_FRAME_SIZE; > + } > + qemu_send_packet(vc, pdata, len); > } > > static void pcap_send(void *opaque) > > Here comes the panic, apparently its in this line: > http://fxr.watson.org/fxr/source/net/core/skbuff.c?v=linux-2.6#L1015 > [...] And now I went to qemu 0.12.1, http://lists.gnu.org/archive/html/qemu-devel/2009-12/msg02151.html which I now finally plan to commit as the new qemu-devel port if nothing too weird crops up: http://people.freebsd.org/~nox/qemu/qemu-devel-0.12.1.patch resp. http://people.freebsd.org/~nox/qemu/qemu-devel-0.12.1.shar (this includes the pcap packet truncate hack.) Happy testing... :) Juergen