virtualbox-5.1.30 vboxpci: Unknown symbol vfs_write (err 0)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
leopoldotosi
Posts: 2
Joined: 27. Jul 2015, 18:05
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: strecht vb_5.1.30

virtualbox-5.1.30 vboxpci: Unknown symbol vfs_write (err 0)

Post by leopoldotosi »

hi,
there is a patch for custom kernel 4.14.8 to fix this error (-:-?-:

Code: Select all

  vboxpci: Unknown symbol vfs_write (err 0)
because driver isn't work.

Code: Select all

uname -a
Linux novenian 4.14.8 

PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"

/var/log/syslog

Jan  7 14:07:06 novenian vboxdrv.sh: VirtualBox kernel modules built.
Jan  7 14:07:06 novenian kernel: [  113.129260] vboxdrv: loading out-of-tree module taints kernel.
Jan  7 14:07:06 novenian kernel: [  113.133169] vboxdrv: Found 8 processor cores
Jan  7 14:07:06 novenian kernel: [  113.149211] vboxdrv: TSC mode is Invariant, tentative frequency 2394562273 Hz
Jan  7 14:07:06 novenian kernel: [  113.149646] vboxdrv: Successfully loaded version 5.1.30 (interface 0x002a0000)
Jan  7 14:07:06 novenian kernel: [  113.386854] VBoxNetFlt: Successfully started.
Jan  7 14:07:06 novenian kernel: [  113.389412] VBoxNetAdp: Successfully started.
Jan  7 14:07:06 novenian kernel: [  113.391882] vboxpci: Unknown symbol vfs_write (err 0)
Jan  7 14:07:06 novenian vboxdrv.sh[969]: vboxdrv.sh: failed: modprobe vboxpci failed. Please use 'dmesg' to find out why.
Jan  7 14:07:06 novenian vboxdrv.sh: failed: modprobe vboxpci failed. Please use 'dmesg' to find out why.
Jan  7 14:07:06 novenian systemd[1]: vboxdrv.service: Control process exited, code=exited status=1
Jan  7 14:07:06 novenian systemd[1]: Failed to start VirtualBox Linux kernel module.
Jan  7 14:07:06 novenian systemd[1]: vboxdrv.service: Unit entered failed state.
Jan  7 14:07:06 novenian systemd[1]: vboxdrv.service: Failed with result 'exit-code'.
Last edited by socratis on 10. Jan 2018, 13:55, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
Martin
Volunteer
Posts: 2560
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: virtualbox-5.1.30 vboxpci: Unknown symbol vfs_write (err 0)

Post by Martin »

Update to 5.2.4
leopoldotosi
Posts: 2
Joined: 27. Jul 2015, 18:05
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: strecht vb_5.1.30

Re: virtualbox-5.1.30 vboxpci: Unknown symbol vfs_write (err 0)

Post by leopoldotosi »

I tryed, but there is a bug in kernel: leak somes hearders

Code: Select all

scripts/Makefile.build:314: set di istruzioni per l'obiettivo "/tmp/vbox.0/SUPDrvSem.o" non riuscito
make[2]: *** [/tmp/vbox.0/SUPDrvSem.o] Errore 127
In file included from ./arch/x86/include/asm/seccomp.h:5:0,
                 from ./include/linux/seccomp.h:13,
                 from ./include/linux/sched.h:21,
                 from ./include/linux/uaccess.h:5,
                 from ./include/linux/highmem.h:9,
                 from ./include/linux/pagemap.h:11,
                 from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:99,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./arch/x86/include/asm/unistd.h:25:33: fatal error: asm/unistd_64_x32.h: File o directory non esistente
 #  include <asm/unistd_64_x32.h>
                                 ^

make[2]: *** [/tmp/vbox.0/r0drv/alloc-r0drv.o] Errore 127
In file included from ./arch/x86/include/asm/seccomp.h:12:0,
                 from ./include/linux/seccomp.h:13,
                 from ./include/linux/sched.h:21,
                 from ./include/linux/uaccess.h:5,
                 from ./include/linux/highmem.h:9,
                 from ./include/linux/pagemap.h:11,
                 from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:99,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./arch/x86/include/asm/ia32_unistd.h:10:32: fatal error: asm/unistd_32_ia32.h: File o directory non esistente
 #include <asm/unistd_32_ia32.h>
Last edited by socratis on 10. Jan 2018, 13:56, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
Post Reply