Opened 18 years ago
Closed 18 years ago
#175 closed defect (invalid)
NULL pointer dereference by loading the vboxdrv kernel module
Reported by: | NooN001 | Owned by: | |
---|---|---|---|
Component: | other | Version: | |
Keywords: | NULL pointer dereference linux kernel module | Cc: | |
Guest type: | other | Host type: | other |
Description (last modified by )
Hello
I got a kernel null pointer dereference while i load the vboxdrv kernel module. I have a custom build kernel: Linux joshua 2.6.19.1 and a debian 'testing' system
In kern.log I found this:
<removed since the next comment contains a better log>
Change History (12)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
I'm sure we will find and fix the problem. You can help us by posting:
- your compiled vboxdrv module which causes the crash
- your Linux kernel config (.config in your Linux kernel directory)
- the complete output of dmesg after your kernel successfully booted
Thanks in advance.
comment:3 by , 18 years ago
Description: | modified (diff) |
---|
comment:4 by , 18 years ago
Hello frank,
I put a tar.gz archive at http://windbuechse.samba-tng.org/vbox_kernel2.6.20.2_rev1460.tar.gz with the information you requested. I hope this will help.
Thank you
comment:5 by , 18 years ago
Ok. How did you compile the vboxdrv compiler? Please could you post me the command line and the compiler output please?
comment:7 by , 18 years ago
Hello frank,
I made it like it was described on the page:
- configure
- source env.sh
- kmk
I will make you a log of the process.
comment:8 by , 18 years ago
All right, that is the problem: The vboxdrv.ko module which you find in the bin/ directory is not meant to be loaded into the current kernel! Instead of this go into bin/src and call make there! The vboxdrv.ko module in in/ is only to check if the module compiles right. We will change that sometimes ...
comment:10 by , 18 years ago
I tried the vboxdrv.ko there:
~/source/vbox/out/linux.x86/release/obj/src/VBox/HostDrivers/vboxdrv$ sudo insmod vboxdrv.ko Speicherzugriffsfehler
but got anyway the NULL pointer dereference. befor I used the vboxdrv.ko from
~/source/vbox/out/linux.x86/release/bin/vboxdrv.ko
comment:11 by , 18 years ago
Please do what I told you! Compile the tree and go to out/linux.x86/release/bin/src and do make there! Then use this module!
comment:12 by , 18 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
I've updated my kernel and the vbox version, but i get still this error:
My kernel version is:
kernel log:
svn info:
Has somebody at least an idea what I can do to get ride of this?