[Cooker] urpmi and kernel architecture

View: New views
3 Messages — Rating Filter:   Alert me  

[Cooker] urpmi and kernel architecture

by Bugzilla from arvidjaar@mail.ru :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

{pts/1}% uname -a
Linux cooker 2.6.30-desktop-2mnb #1 SMP Thu Jun 18 19:24:48 EDT 2009
x86_64 Intel(R) Core(TM)2 Duo CPU     T8300  @ 2.40GHz GNU/Linux
{pts/0}% LC_ALL=C sudo urpmi virtualbox
In order to satisfy the 'kmod(vboxdrv)[== 2.2.4]' dependency, one of the
following packages is needed:
 1- virtualbox-kernel-2.6.30-desktop-1mnb-2.2.4-1mdv2010.0.i586:
virtualbox driver for kernel 2.6.30-desktop-1mnb (to install)
 2- virtualbox-kernel-2.6.30-desktop-2mnb-2.2.4-1mdv2010.0.i586:
virtualbox driver for kernel 2.6.30-desktop-2mnb (to install)
 3- virtualbox-kernel-2.6.30-desktop-0.rc8.1mnb-2.2.4-1mdv2010.0.i586:
virtualbox driver for kernel 2.6.30-desktop-0.rc8.1mnb (to install)
What is your choice? (1-3)

How comes that urpmi offers 32 bit kernel modules on 64 bit
architecture?


signature.asc (204 bytes) Download Attachment

Re: [Cooker] urpmi and kernel architecture

by Jim Beard-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrey Borzenkov wrote:

> {pts/1}% uname -a
> Linux cooker 2.6.30-desktop-2mnb #1 SMP Thu Jun 18 19:24:48 EDT 2009
> x86_64 Intel(R) Core(TM)2 Duo CPU     T8300  @ 2.40GHz GNU/Linux
> {pts/0}% LC_ALL=C sudo urpmi virtualbox
> In order to satisfy the 'kmod(vboxdrv)[== 2.2.4]' dependency, one of the
> following packages is needed:
>  1- virtualbox-kernel-2.6.30-desktop-1mnb-2.2.4-1mdv2010.0.i586:
> virtualbox driver for kernel 2.6.30-desktop-1mnb (to install)
>  2- virtualbox-kernel-2.6.30-desktop-2mnb-2.2.4-1mdv2010.0.i586:
> virtualbox driver for kernel 2.6.30-desktop-2mnb (to install)
>  3- virtualbox-kernel-2.6.30-desktop-0.rc8.1mnb-2.2.4-1mdv2010.0.i586:
> virtualbox driver for kernel 2.6.30-desktop-0.rc8.1mnb (to install)
> What is your choice? (1-3)
>
> How comes that urpmi offers 32 bit kernel modules on 64 bit
> architecture?

AMD 64-bit cpus have long been able to run 64-bit and 32-bit
programs in mix-and-match fashion.  The early Intel 64-bit cpus
will not, but AMD's approach proved so popular (and profitable)
that Intel too redesigned its chips to work in this fashion.

Hence, both 32-bit and 64-bit versions of programs are available
for your use.

It looks like you have the 32-bit version of VirtualBox
installed, and it needs the 32-bit modules.

Cheers!

jim b.

--
UNIX is not user unfriendly; it merely
      expects users to be computer-friendly.


Re: [Cooker] urpmi and kernel architecture

by Thomas Backlund :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jim Beard skrev:

> Andrey Borzenkov wrote:
>> {pts/1}% uname -a
>> Linux cooker 2.6.30-desktop-2mnb #1 SMP Thu Jun 18 19:24:48 EDT 2009
>> x86_64 Intel(R) Core(TM)2 Duo CPU     T8300  @ 2.40GHz GNU/Linux
>> {pts/0}% LC_ALL=C sudo urpmi virtualbox
>> In order to satisfy the 'kmod(vboxdrv)[== 2.2.4]' dependency, one of the
>> following packages is needed:
>>  1- virtualbox-kernel-2.6.30-desktop-1mnb-2.2.4-1mdv2010.0.i586:
>> virtualbox driver for kernel 2.6.30-desktop-1mnb (to install)
>>  2- virtualbox-kernel-2.6.30-desktop-2mnb-2.2.4-1mdv2010.0.i586:
>> virtualbox driver for kernel 2.6.30-desktop-2mnb (to install)
>>  3- virtualbox-kernel-2.6.30-desktop-0.rc8.1mnb-2.2.4-1mdv2010.0.i586:
>> virtualbox driver for kernel 2.6.30-desktop-0.rc8.1mnb (to install)
>> What is your choice? (1-3)
>>
>> How comes that urpmi offers 32 bit kernel modules on 64 bit
>> architecture?
>
> AMD 64-bit cpus have long been able to run 64-bit and 32-bit
> programs in mix-and-match fashion.  The early Intel 64-bit cpus
> will not, but AMD's approach proved so popular (and profitable)
> that Intel too redesigned its chips to work in this fashion.
>
> Hence, both 32-bit and 64-bit versions of programs are available
> for your use.
>

programs yes, but ...

> It looks like you have the 32-bit version of VirtualBox
> installed, and it needs the 32-bit modules.
>

32bit kernel modules wont work with 64bit kernel...

Hmmm, maybe we need to add this to the modules like wi do with the 32bit
kernels:

%ifarch %{ix86}                                         \
Conflicts:      arch(x86_64)                            \
%endif                                                  \

--
Thomas