Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2012 21:44:34 GMT
From:      Amailland Gerard <gerard.amailland@jouy.inra.fr>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/167720: VirtualBox 4.1.14- Guest: Freebsd9.0- Xorg with driver vboxvideo is failed
Message-ID:  <201205082144.q48LiYqi094746@red.freebsd.org>
Resent-Message-ID: <201205082200.q48M0ew2002477@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         167720
>Category:       amd64
>Synopsis:       VirtualBox 4.1.14- Guest: Freebsd9.0- Xorg with driver  vboxvideo is failed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 08 22:00:40 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Amailland Gerard
>Release:        FreeBSD 9.0-RELEASE
>Organization:
INRA
>Environment:
FreeBSD  9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Hello
Host: VirtualBox 4.1.14 debian "Wheezy" amd64
Guest: Freebsd9.0
Xorg with driver  vboxvideo is failed.
I do not think it comes from the Host.
I have the same problem host freebsd 9.0 and the same version of virtualbox.
>How-To-Repeat:

>Fix:
This is possible with the vesa driver

Add:
/boot/loader.conf -> vesa_load = "YES"

/etc/rc.conf -> 
allscreens_flags="MODE_279" 
#vboxguest_enable="YES"     <--- disable with #    

create an xorg.conf with      :
cd /root
Xorg -configure
cp xorg.conf.news  /etc/X11/xorg.conf
       

/etc/X11/xorg.conf
 Section "ServerLayout"
 Option "AllowEmptyInput"  "false"

 Section "Monitor"
        HorizSync    24-82
        VertRefresh  50-75
        ModeLine "1152x864"  81.62  1152 1216 1336 1520  864 865 868 895  -HSync +Vsync
      

Section "Device"
        Driver    "vesa"
        

 Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Depth   24
                Viewport   0 0
        Modes  "1152x864" "1280x1024"  "1024x768" "832x624"  "800x600"
        EndSubSection

Patch attached with submission follows:

============================= /var/log/Xorg.0.log ==============================


X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 9.0-RELEASE amd64 
Current Operating System: FreeBSD  9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
Build Date: 03 May 2012  10:38:31AM
 
Current version of pixman: 0.24.2
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue May  8 22:53:18 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "DontZap" "off"
(**) Option "AllowEmptyInput" "false"
(==) Automatically adding devices
(==) Automatically enabling devices
(**) FontPath set to:
	/usr/local/lib/X11/fonts/misc/,
	/usr/local/lib/X11/fonts/TTF/,
	/usr/local/lib/X11/fonts/OTF,
	/usr/local/lib/X11/fonts/Type1/,
	/usr/local/lib/X11/fonts/100dpi/,
	/usr/local/lib/X11/fonts/75dpi/,
	/usr/local/lib/X11/fonts/misc/,
	/usr/local/lib/X11/fonts/TTF/,
	/usr/local/lib/X11/fonts/OTF,
	/usr/local/lib/X11/fonts/Type1/,
	/usr/local/lib/X11/fonts/100dpi/,
	/usr/local/lib/X11/fonts/75dpi/
(**) ModulePath set to "/usr/local/lib/xorg/modules"
(II) Loader magic: 0x8719a0
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(--) Using syscons driver with X support (version 503316482.0)
(--) using VT number 9

(--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 InnoTek Systemberatung GmbH VirtualBox Graphics Adapter rev 0, Mem @ 0xe0000000/134217728, BIOS @ 0x????????/65536
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "dbe"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "extmod"
(II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "glx"
(II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(==) AIGLX disabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "vboxvideo"
(II) Loading /usr/local/lib/xorg/modules/drivers/vboxvideo_drv.so
(II) Module vboxvideo: vendor="Oracle Corporation"
	compiled for 1.5.99.901, module version = 1.0.1
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 6.0
(**) Load address of symbol "VBOXVIDEO" is 0x8049743a0
(II) LoadModule: "mouse"
(II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.7.1
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(II) LoadModule: "kbd"
(II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.6.1
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(II) VBoxVideo: guest driver for VirtualBox: vbox
(II) Primary Device is: PCI 00@00:02:0
(II) VBOXPciProbe(II) : entering
(II) VBOXPciProbe(II) returning TRUE
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(II) VBOXPreInit(II) : entering
(II) VBoxVideo(0): VirtualBox guest additions video driver version 4.1.14_OSE
(II) vbox_init(II) : entering

===================== End /var/log/Xorg.0.log ====================================

====================== /var/log/kdm.log ========================================= 

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 9.0-RELEASE amd64 
Current Operating System: FreeBSD  9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
Build Date: 03 May 2012  10:38:31AM
 
Current version of pixman: 0.24.2
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue May  8 22:53:18 2012
(==) Using config file: "/etc/X11/xorg.conf"

!!Assertion Failed!!
Expression: hFile != NIL_RTFILE
Location  : /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.14/src/VBox/Runtime/r3/posix/fileio-posix.cpp(373) RTHCINTPTR RTFileToNative(RTFILEINT*)

======================================= End /var/log/kdm.log ====================


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205082144.q48LiYqi094746>