Bug 584085

Summary: VirtualBox kernel module vboxvideo causes oops on X start
Product: [openSUSE] openSUSE 11.3 Reporter: Tejas Guruswamy <masterpatricko>
Component: KernelAssignee: Michal Seben <mseben>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Factory   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: log of kernel errors from affected machine

Description Tejas Guruswamy 2010-02-28 16:27:10 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.0) Gecko/20100115 SUSE/3.6.0-1.2 Firefox/3.6

on a Working installation of openSUSE 11.3/Factory in VirtualBox OSE 3.1.4 (openSUSE 11.2 host) X causes an oops when loading the vboxvideo / drm modules

Using Factory kernel-default 2.6.33-3.1
VirtualBox 3.1.4 guest additions and kmp-default
Xorg server 1.7.4 / 7.4

On starting X you get a black screen; ssh'ing into the affected machine shows error messages.

Removing /lib/modules/*/vboxvideo.ko allows X to start up fine but with no 3d acceleration.

Same result from guest additions compiled and installed from upstream ISO.

Reproducible: Always

Steps to Reproduce:
1. Install v3.1.4 guest additions with kernel modules
2. Start X
Actual Results:  
X crashes

Expected Results:  
X starts with 3d acceleration

General gist of the message is:
 kernel:[ 1143.721618] Oops: 0000 [#71] SMP              
 kernel:[ 1143.722025] last sysfs file: /sys/devices/pci0000:00/0000:00:02.0/resource
 kernel:[ 1143.722060] Process X (pid: 3586, ti=dde28000 task=de1f1020 task.ti=dde28000)
 kernel:[ 1143.722060] Stack:
 kernel:[ 1143.722060] Call Trace:
 kernel:[ 1143.722060] Code: 0c ff ff ff 8d b6 00 00 00 00 8d bf 00 00 00 00 55 89 d5 57 81 e5 ff 00 00 00 56 89 d7 53 81 ec b8 00 00 00 89 4c 24 30 8b 58 70 <8b> 43 1c 8b b0 2c 01 00 00 3e ff 46 2c 3e ff 86 88 00 00 00 8b
 kernel:[ 1143.722060] EIP: [<e01bbfbb>] drm_ioctl+0x1b/0x370 [drm] SS:ESP 0068:dde29e90
 kernel:[ 1143.722060] CR2: 0000000021b0001c

repeated forever as far as I can tell
Comment 1 Tejas Guruswamy 2010-02-28 16:32:54 UTC
Created attachment 345468 [details]
log of kernel errors from affected machine
Comment 2 Michal Seben 2010-03-18 15:57:04 UTC
Hi Tejas
glad to see you :) 

i found one svn checkin for vbox see : http://www.virtualbox.org/ticket/6198 also check this thread : http://vbox.innotek.de/pipermail/vbox-dev/2010-March/002415.html 
I had similar "X crash" issues and this fix resolve it, 
so lets see if it will be helpfull also for you, will be available in Milestone4

thanks!

btw : thanks for patch for xorg drivers :)
Comment 3 Tejas Guruswamy 2010-03-18 22:55:58 UTC
Yes, the latest package from Virtualization:VirtualBox works for me.
No crashes and 3d-acceleration works.

Thanks for the quick fix! Should have spotted that one myself :)
Comment 4 Michal Seben 2010-03-19 12:35:01 UTC
ok closing as fixed

thanks