Re: Virtualbox deadlocks on starting guest

2013-07-08 Thread Bernhard Fröhlich
I would start by updating to the latest virtualbox version and please
make sure that the
virtualbox-ose-kmod port is compiled with DEBUG option enabled. This
will add debugging
symbols to the kernel module.
Then it would be good to obtain a kernel stacktrace via a kernel
crashdump or break to the
kernel debugger when the deadlock happens. Probably you need to
recompile your kernel
with those debugging knobs:

http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-deadlocks.html

Btw do you run BHyVe and VirtualBox on the same machine? This sounds
like the beginning
of lot's of problems. You could try to unload all byhve kernel modules
and see if the
problem still persists after that.


On Mon, Jul 8, 2013 at 5:14 AM, hiren panchasara
hiren.panchas...@gmail.com wrote:
 Anyone? any pointers to debug this?

 cheers,
 Hiren

 On Sat, Jul 6, 2013 at 12:28 PM, hiren panchasara
 hiren.panchas...@gmail.com wrote:
 Hi all,

 I have:

 flymockour-l7% uname -a
 FreeBSD flymockour-l7.corp.yahoo.com 10.0-CURRENT FreeBSD 10.0-CURRENT
 #4 r252757M: Thu Jul  4 23:06:03 PDT 2013
 r...@flymockour-l7.corp.yahoo.com:/usr/obj/usr/home/hirenp/head/sys/GENERIC
  amd64
 flymockour-l7%
 flymockour-l7% pkg info | grep -i virtualbox
 virtualbox-ose-4.2.14_1A general-purpose full virtualizer for
 x86 hardware
 virtualbox-ose-kmod-4.2.14 VirtualBox kernel module for FreeBSD
 flymockour-l7%
 flymockour-l7% groups
 wheel operator vboxusers fuse

 flymockour-l7% kldstat | grep -i vbox
 121 0x82a6 519b8vboxdrv.ko
 flymockour-l7% kldstat | grep -i vmm
 111 0x828dd000 182c50   vmm.ko
 flymockour-l7%

 I start virtualbox as myself (not root) from cli and whenever I try to
 launch any guest (be it freebsd, ubuntu or windows) laptop deadlocks
 right away and I have to hard reset.

 This has been happening for many months but now I have decided to sit
 down and fix it.

 I believe I am missing something simple as I do not see any other such 
 reports.

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


Current problem reports assigned to freebsd-emulation@FreeBSD.org

2013-07-08 Thread FreeBSD bugmaster
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/177743  emulation  [kvm] [panic] kernel panic during `portsnap update` on
o ports/177722 emulation  Change request: Add terminfo database to linux_base-*
o kern/174933  emulation  [linux] if_nameindex fail in linuxulator enviroment
o kern/174908  emulation  [vmware] unsupportable block size 0 after upgrading 
o kern/174238  emulation  [qemu] FreeBSD 9.0 doesn't boot under QEMU due to ACPI
o ports/169896 emulation  [patch] audio/linux-f10-alsa-lib: use OSS plugin by de
o kern/169814  emulation  [linux] ptrace is broken in Linux emulation
o kern/169805  emulation  [linux] utime() syscall does not work in linuxulator
o kern/159646  emulation  [linux] [patch] bump Linux version in linuxulator
f kern/156691  emulation  [vmware] [panic] panic when using hard disks as RAW de
o kern/156353  emulation  [ibcs2] ibcs2 binaries that execute on 4.x not working
o kern/155577  emulation  [boot] BTX halted after install. Reboot during install
o kern/155040  emulation  [linux] [patch] Linux recvfrom doesn't handle proto fa
o kern/153990  emulation  [hyper-v]: Will not install into Hyper-V on Server 200
o kern/153887  emulation  [linux] Linux emulator not understand STB_GNU_UNIQUE b
o kern/153243  emulation  [ibcs2] Seg fault whne running COFF binary using iBCS2
o kern/151714  emulation  [linux] print/acroread9 not usable due to lack of supp
a bin/150262   emulation  [patch] truss(1) -f doesn't follow descendants of the 
a kern/150186  emulation  [parallels] [panic] Parallels Desktop: CDROM disconnec
o ports/148097 emulation  [patch] suggested addition to linux_base-* packages to
o ports/148096 emulation  emulators/linux_base-* can not be built from ports on 
o kern/147793  emulation  [vmware] [panic] cdrom handling, panic, possible race 
o kern/146237  emulation  [linux] Linux binaries not reading directories mounted
p kern/144584  emulation  [linprocfs][patch] bogus values in linprocfs
o ports/142837 emulation  [patch] emulators/linux_base-* packages fails to insta
o kern/140156  emulation  [linux] cdparanoia fails to read drive data
f kern/138944  emulation  [parallels] [regression] Parallels no longer works in 
o kern/138880  emulation  [linux] munmap segfaults after linux_mmap2 stresstest
o ports/135337 emulation  [PATCH] emulators/linux_base-f10: incorrect bash usage
s kern/133144  emulation  [linux] linuxulator 2.6 crashes with nvidias libGL.so.
o kern/126232  emulation  [linux] Linux ioctl TCGETS (0x5401) always fails
o kern/86619   emulation  [linux] linux emulator interacts oddly with cp
a kern/72920   emulation  [linux] path prefixing is not done on unix domain so
o kern/41543   emulation  [patch] [request] easier wine/w23 support
o kern/39201   emulation  [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu
o kern/36952   emulation  [patch] [linux] ldd(1) command of linux does not work
o kern/11165   emulation  [ibcs2] IBCS2 doesn't work correctly with PID_MAX 

37 problems total.

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


Re: Virtualbox deadlocks on starting guest

2013-07-08 Thread hiren panchasara
On Sun, Jul 7, 2013 at 11:45 PM, Bernhard Fröhlich de...@freebsd.org wrote:
 I would start by updating to the latest virtualbox version and please
 make sure that the
 virtualbox-ose-kmod port is compiled with DEBUG option enabled. This
 will add debugging
 symbols to the kernel module.
 Then it would be good to obtain a kernel stacktrace via a kernel
 crashdump or break to the
 kernel debugger when the deadlock happens. Probably you need to
 recompile your kernel
 with those debugging knobs:

 http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-deadlocks.html

 Btw do you run BHyVe and VirtualBox on the same machine? This sounds
 like the beginning
 of lot's of problems. You could try to unload all byhve kernel modules
 and see if the
 problem still persists after that.

wow, so I guess that was it.

unloading vmm.ko and if_tap.ko fixed it for me :-)

Why would it be that way?

Thanks a ton,
Hiren


 On Mon, Jul 8, 2013 at 5:14 AM, hiren panchasara
 hiren.panchas...@gmail.com wrote:
 Anyone? any pointers to debug this?

 cheers,
 Hiren

 On Sat, Jul 6, 2013 at 12:28 PM, hiren panchasara
 hiren.panchas...@gmail.com wrote:
 Hi all,

 I have:

 flymockour-l7% uname -a
 FreeBSD flymockour-l7.corp.yahoo.com 10.0-CURRENT FreeBSD 10.0-CURRENT
 #4 r252757M: Thu Jul  4 23:06:03 PDT 2013
 r...@flymockour-l7.corp.yahoo.com:/usr/obj/usr/home/hirenp/head/sys/GENERIC
  amd64
 flymockour-l7%
 flymockour-l7% pkg info | grep -i virtualbox
 virtualbox-ose-4.2.14_1A general-purpose full virtualizer for
 x86 hardware
 virtualbox-ose-kmod-4.2.14 VirtualBox kernel module for FreeBSD
 flymockour-l7%
 flymockour-l7% groups
 wheel operator vboxusers fuse

 flymockour-l7% kldstat | grep -i vbox
 121 0x82a6 519b8vboxdrv.ko
 flymockour-l7% kldstat | grep -i vmm
 111 0x828dd000 182c50   vmm.ko
 flymockour-l7%

 I start virtualbox as myself (not root) from cli and whenever I try to
 launch any guest (be it freebsd, ubuntu or windows) laptop deadlocks
 right away and I have to hard reset.

 This has been happening for many months but now I have decided to sit
 down and fix it.

 I believe I am missing something simple as I do not see any other such 
 reports.

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

Installation of linux_base-f10.tbz fails: sysctl: unknown oid 'compat.linux.osrelease'

2013-07-08 Thread Yuri

Reporting an error that I got while installing it from binary:
# pkg_add -r linux_base-f10
Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/linux_base-f10.tbz... 
Done.

sysctl: unknown oid 'compat.linux.osrelease'
linuxulator is not (kld)loaded, exiting
pkg_add: install script returned error status


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