Bug#465029: virtualbox-ose: undefined symbol: stat64

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#465029: virtualbox-ose: undefined symbol: stat64

Michael Hanke
Package: virtualbox-ose
Version: 1.5.4-dfsg-4
Severity: important

Hi,

when I try to start VirtualBox I get this:


michael@gandalf:~/hacking$ VirtualBox
/usr/lib/virtualbox/VirtualBox: symbol lookup error: /usr/lib/virtualbox/VirtualBox: undefined symbol: stat64


This problem appeared after todays package update.


Thanks,

Michael


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages virtualbox-ose depends on:
ii  adduser                 3.105            add and remove users and groups
ii  debconf [debconf-2.0]   1.5.19           Debian configuration management sy
ii  libc6                   2.7-6            GNU C Library: Shared libraries
ii  libgcc1                 1:4.3-20080202-1 GCC support library
ii  libgl1-mesa-glx [libgl1 7.0.2-4          A free implementation of the OpenG
ii  libglib2.0-0            2.14.6-1         The GLib library of C routines
ii  libidl0                 0.8.9-0.1        library for parsing CORBA IDL file
ii  libqt3-mt               3:3.3.8b-1       Qt GUI Library (Threaded runtime v
ii  libsdl1.2debian         1.2.13-2         Simple DirectMedia Layer
ii  libstdc++6              4.3-20080202-1   The GNU Standard C++ Library v3
ii  libx11-6                2:1.0.3-7        X11 client-side library
ii  libxalan110             1.10-3.1         Provides XSLT support for applicat
ii  libxcursor1             1:1.1.9-1        X cursor management library
ii  libxerces27             2.7.0-5          validating XML parser library for
ii  libxext6                1:1.0.3-2        X11 miscellaneous extension librar
ii  libxt6                  1:1.0.5-3        X11 toolkit intrinsics library

Versions of packages virtualbox-ose recommends:
ii  virtualbox-ose-mod 2.6.22+1.5.2-dfsg2-9  PC virtualization solution modules
ii  virtualbox-ose-mod 1.5.4-dfsg-4+2.6.24-3 VirtualBox modules for Linux (kern
ii  virtualbox-ose-mod 1.5.4-dfsg-4+2.6.24-3 VirtualBox modules for Linux (kern

-- debconf information:
  virtualbox-ose/upstream_version_change: false

--
GPG key:  1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050



--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#465029: [Pkg-virtualbox-devel] Bug#465029: virtualbox-ose: undefined symbol: stat64

Patrick Winnertz-4
Am Sonntag, 10. Februar 2008 10:44:06 schrieb Michael Hanke:

> Package: virtualbox-ose
> Version: 1.5.4-dfsg-4
> Severity: important
>
> Hi,
>
> when I try to start VirtualBox I get this:
>
>
> michael@gandalf:~/hacking$ VirtualBox
> /usr/lib/virtualbox/VirtualBox: symbol lookup error:
> /usr/lib/virtualbox/VirtualBox: undefined symbol: stat64

> ii  virtualbox-ose-mod 2.6.22+1.5.2-dfsg2-9  PC virtualization solution
Please install also the newest virtualbox-ose kernel module... I think this
could be the error.
And if it is installed.. please check that this version is loaded and not a
older one.

Greetings
Winnie

--
 .''`.   Patrick Winnertz <[hidden email]>
:  :' :  GNU/Linux Debian Developer
`. `'`   http://www.der-winnie.de http://people.skolelinux.org/~winnie
  `-  Debian - when you have better things to do than fixing systems

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#465029: [Pkg-virtualbox-devel] Bug#465029: virtualbox-ose: undefined symbol: stat64

Michael Hanke
On Sun, Feb 10, 2008 at 11:10:51AM +0100, Patrick Winnertz wrote:

> Am Sonntag, 10. Februar 2008 10:44:06 schrieb Michael Hanke:
> > Package: virtualbox-ose
> > Version: 1.5.4-dfsg-4
> > Severity: important
> >
> > Hi,
> >
> > when I try to start VirtualBox I get this:
> >
> >
> > michael@gandalf:~/hacking$ VirtualBox
> > /usr/lib/virtualbox/VirtualBox: symbol lookup error:
> > /usr/lib/virtualbox/VirtualBox: undefined symbol: stat64
>
> > ii  virtualbox-ose-mod 2.6.22+1.5.2-dfsg2-9  PC virtualization solution
> Please install also the newest virtualbox-ose kernel module... I think this
> could be the error.
> And if it is installed.. please check that this version is loaded and not a
> older one.
I checked that already and it does not seem to be the problem. I have
this:

michael@gandalf:/lib/modules/2.6.24-1-686$ uname -a
Linux gandalf 2.6.24-1-686 #1 SMP Wed Feb 6 15:20:27 UTC 2008 i686 GNU/Linux

michael@gandalf:/lib/modules/2.6.24-1-686$ find . -name vboxdrv.ko
./extra/virtualbox-ose/vboxdrv.ko

michael@gandalf:~$ LC_ALL=C apt-cache policy virtualbox-ose-modules-2.6.24-1-686
virtualbox-ose-modules-2.6.24-1-686:
  Installed: 2.6.24+1.5.4-dfsg-3
  Candidate: 2.6.24+1.5.4-dfsg-3
  Version table:
 *** 2.6.24+1.5.4-dfsg-3 0
        500 http://ftp.de.debian.org sid/main Packages
        100 /var/lib/dpkg/status

michael@gandalf:/lib/modules/2.6.24-1-686$ sudo aptitude search virtualbox-ose
i   virtualbox-ose                                     - PC virtualization solution
p   virtualbox-ose-dbg                                 - PC virtualization solution (debug)
v   virtualbox-ose-guest-modules                       -
p   virtualbox-ose-guest-modules-2.6-486               - PC virtualization solution modules for Linux 2.6 on x86
p   virtualbox-ose-guest-modules-2.6-686               - PC virtualization solution modules for Linux 2.6 on PPro/Cel
p   virtualbox-ose-guest-modules-2.6-686-bigmem        - PC virtualization solution modules for Linux 2.6 on PPro/Cel
p   virtualbox-ose-guest-modules-2.6-xen-686           - PC virtualization solution modules for Linux 2.6 on i686
p   virtualbox-ose-guest-modules-2.6.24-1-486          - PC virtualization solution modules for Linux 2.6.24 on x86
p   virtualbox-ose-guest-modules-2.6.24-1-686          - PC virtualization solution modules for Linux 2.6.24 on PPro/
p   virtualbox-ose-guest-modules-2.6.24-1-686-bigmem   - PC virtualization solution modules for Linux 2.6.24 on PPro/
p   virtualbox-ose-guest-modules-2.6.24-1-xen-686      - PC virtualization solution modules for Linux 2.6.24 on i686
p   virtualbox-ose-guest-source                        - Source for the VirtualBox Guest Addition module
p   virtualbox-ose-guest-utils                         - PC virtualization solution - guest utils
v   virtualbox-ose-modules                             -
p   virtualbox-ose-modules-2.6-486                     - PC virtualization solution modules for Linux 2.6 on x86
p   virtualbox-ose-modules-2.6-686                     - PC virtualization solution modules for Linux 2.6 on PPro/Cel
p   virtualbox-ose-modules-2.6-686-bigmem              - PC virtualization solution modules for Linux 2.6 on PPro/Cel
p   virtualbox-ose-modules-2.6-k7                      - PC virtualization solution modules for Linux 2.6 on AMD K7
p   virtualbox-ose-modules-2.6-vserver-686             - PC virtualization solution modules for Linux 2.6 on PPro/Cel
p   virtualbox-ose-modules-2.6-vserver-k7              - PC virtualization solution modules for Linux 2.6 on AMD K7
p   virtualbox-ose-modules-2.6-xen-686                 - PC virtualization solution modules for Linux 2.6 on i686
p   virtualbox-ose-modules-2.6.22-3-486                - PC virtualization solution modules for Linux 2.6.22 on x86
p   virtualbox-ose-modules-2.6.22-3-686                - PC virtualization solution modules for Linux 2.6.22 on PPro/
p   virtualbox-ose-modules-2.6.22-3-686-bigmem         - PC virtualization solution modules for Linux 2.6.22 on PPro/
p   virtualbox-ose-modules-2.6.22-3-k7                 - PC virtualization solution modules for Linux 2.6.22 on AMD K
p   virtualbox-ose-modules-2.6.22-3-vserver-686        - PC virtualization solution modules for Linux 2.6.22 on PPro/
p   virtualbox-ose-modules-2.6.22-3-vserver-k7         - PC virtualization solution modules for Linux 2.6.22 on AMD K
p   virtualbox-ose-modules-2.6.24-1-486                - PC virtualization solution modules for Linux 2.6.24 on x86
i   virtualbox-ose-modules-2.6.24-1-686                - PC virtualization solution modules for Linux 2.6.24 on PPro/
p   virtualbox-ose-modules-2.6.24-1-686-bigmem         - PC virtualization solution modules for Linux 2.6.24 on PPro/
p   virtualbox-ose-modules-2.6.24-1-xen-686            - PC virtualization solution modules for Linux 2.6.24 on i686
p   virtualbox-ose-source                              - Source for the VirtualBox module




When the module is NOT loaded, I get:

michael@gandalf:~$ VirtualBox
WARNING: The character device /dev/vboxdrv does not exist.
         Please install the virtualbox-ose-modules package for your kernel and
         load the module named vboxdrv into your system.

         You will not be able to start VMs until this problem is fixed.
/usr/lib/virtualbox/VirtualBox: symbol lookup error: /usr/lib/virtualbox/VirtualBox: undefined symbol: stat64



When I load the module, it changes to:

michael@gandalf:~$ VirtualBox
/usr/lib/virtualbox/VirtualBox: symbol lookup error: /usr/lib/virtualbox/VirtualBox: undefined symbol: stat64



BTW: When I try to purge the package there is an error:

michael@gandalf:~$ LC_ALL=C sudo dpkg --purge virtualbox-ose
(Reading database ... 225558 files and directories currently installed.)
Removing virtualbox-ose ...
Shutting down VirtualBox host networking ...done.
Purging configuration files for virtualbox-ose ...
dpkg: error processing virtualbox-ose (--purge):
 subprocess post-removal script returned error exit status 3
Errors were encountered while processing:
 virtualbox-ose


But it only applies to purging -- simple removal is fine:


michael@gandalf:~$ LC_ALL=C sudo dpkg --remove virtualbox-ose
(Reading database ... 225558 files and directories currently installed.)
Removing virtualbox-ose ...
Shutting down VirtualBox host networking ...done.



Thanks,


Michael

--
GPG key:  1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050



--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#465029: [Pkg-virtualbox-devel] Bug#465029: Bug#465029: virtualbox-ose: undefined symbol: stat64

Patrick Winnertz-4
Am Sonntag, 10. Februar 2008 11:38:48 schrieb Michael Hanke:
> I checked that already and it does not seem to be the problem. I have
> this:
>
> michael@gandalf:/lib/modules/2.6.24-1-686$ uname -a
> Linux gandalf 2.6.24-1-686 #1 SMP Wed Feb 6 15:20:27 UTC 2008 i686
> GNU/Linux
>
> michael@gandalf:/lib/modules/2.6.24-1-686$ find . -name vboxdrv.ko
> ./extra/virtualbox-ose/vboxdrv.ko
mh.. okay.

What about building the module on your own?
For this please install virtualbox-ose-source and then
# m-a -t auto-install virtualbox-ose-source

This module should be located under:
     /lib/modules/$KVERS/misc/vboxdrv.ko

The module above is from linux-modules-extra and is prebuilded.

If the module is builded please modprobe/or insmod it and make sure that
this and not the other one is loaded.
(The easiest thing would be:
rmmod vboxdrv;
insmod /lib/modules/$KVERS/misc/vboxdrv.ko;
)

Hopefully this helps to get rid of the error.

>
> michael@gandalf:~$ LC_ALL=C sudo dpkg --purge virtualbox-ose
> (Reading database ... 225558 files and directories currently installed.)
> Removing virtualbox-ose ...
> Shutting down VirtualBox host networking ...done.
> Purging configuration files for virtualbox-ose ...
> dpkg: error processing virtualbox-ose (--purge):
>  subprocess post-removal script returned error exit status 3
> Errors were encountered while processing:
>  virtualbox-ose
>
>
> But it only applies to purging -- simple removal is fine:
Yes.. this bug is well known... and is fixed in svn already. See #462885
for details.

Greetings
Winnie

--
 .''`.   Patrick Winnertz <[hidden email]>
:  :' :  GNU/Linux Debian Developer
`. `'`   http://www.der-winnie.de http://people.skolelinux.org/~winnie
  `-  Debian - when you have better things to do than fixing systems

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#465029: [Pkg-virtualbox-devel] Bug#465029: Bug#465029: virtualbox-ose: undefined symbol: stat64

Michael Hanke

On Sun, Feb 10, 2008 at 12:04:45PM +0100, Patrick Winnertz wrote:

> Am Sonntag, 10. Februar 2008 11:38:48 schrieb Michael Hanke:
> > I checked that already and it does not seem to be the problem. I have
> > this:
> >
> > michael@gandalf:/lib/modules/2.6.24-1-686$ uname -a
> > Linux gandalf 2.6.24-1-686 #1 SMP Wed Feb 6 15:20:27 UTC 2008 i686
> > GNU/Linux
> >
> > michael@gandalf:/lib/modules/2.6.24-1-686$ find . -name vboxdrv.ko
> > ./extra/virtualbox-ose/vboxdrv.ko
> mh.. okay.
>
> What about building the module on your own?
> For this please install virtualbox-ose-source and then
> # m-a -t auto-install virtualbox-ose-source
>
> This module should be located under:
>      /lib/modules/$KVERS/misc/vboxdrv.ko
>
> The module above is from linux-modules-extra and is prebuilded.
>
> If the module is builded please modprobe/or insmod it and make sure that
> this and not the other one is loaded.
> (The easiest thing would be:
> rmmod vboxdrv;
> insmod /lib/modules/$KVERS/misc/vboxdrv.ko;
> )
>
> Hopefully this helps to get rid of the error.
Sorry, I forgot to mention that I already tried this as well. I redid
everything with the explicite commands that you suggested and the
problem is still there (same error).

Additionally, I also think that it cannot be related to the module as the
VirtualBox GUI should even start without any module present (neither loaded
nor even installed).

I also gave the binary-only innotek package a tried and it works (same
kernel, ...). So I guess it cannot be a general problem.


Thanks,

Michael

--
GPG key:  1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050



--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]