You are not logged in.

#1 2009-08-24 20:00:43

hw-tph
Member
Registered: 2006-11-01
Posts: 149

Practical approach to using 64bit kernel and 32bit userspace?

I want to run a 64bit kernel on 32bit userspace. I know there are some out there who claim it's only bad and slowing down the transition to full blown 64bit systems. That may be, but for me and for this particular computer, I need to do this.

I have tried it on my work laptop and there are no problems whatsoever: On my plain vanilla 32bit install I downloaded and installed the current 64bit kernel (after carefully backing up the current one). No problems anywhere, so far.

However, for this other machine, I need to have a sane solution for the long run. What about kernel updates? When a new kernel is released, pacman is going to want to install the 32bit one instead of the 64bit version I want to use. I don't suppose there is a way to "tag" the kernel package to be x86_64 instead of i686, or something to that effect?

I'd be happy to hear your thoughts on this.

Offline

#2 2009-08-24 20:04:05

AdrenalineJunky
Member
Registered: 2009-05-03
Posts: 149

Re: Practical approach to using 64bit kernel and 32bit userspace?

64bit arch has 32bit library packages.

Offline

#3 2009-08-24 20:12:04

hw-tph
Member
Registered: 2006-11-01
Posts: 149

Re: Practical approach to using 64bit kernel and 32bit userspace?

I am aware of this. What I want to do is run a 64bit kernel on the regular 32bit userland.

Offline

#4 2009-08-24 20:22:33

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Practical approach to using 64bit kernel and 32bit userspace?

put kernel26 in HoldPkg and each time it wants to be updated, install the 64bit one.

Offline

#5 2009-08-24 20:29:30

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Practical approach to using 64bit kernel and 32bit userspace?

make a custom repo and add it above core. there you can have kernel26 and other package that depends on it, like nvidia

Last edited by wonder (2009-08-24 20:30:22)


Give what you have. To someone, it may be better than you dare to think.

Offline

#6 2009-08-24 20:41:31

hw-tph
Member
Registered: 2006-11-01
Posts: 149

Re: Practical approach to using 64bit kernel and 32bit userspace?

Thanks for your suggestions. I'll look into them. flamelab's solution was very simple so it's likely that I go with that.

Offline

#7 2009-08-25 01:16:51

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Practical approach to using 64bit kernel and 32bit userspace?

Maybe Allan's blog post on the subject will help:

http://allanmcrae.com/2009/06/using-an- … -userland/

Offline

#8 2009-08-25 07:40:43

hw-tph
Member
Registered: 2006-11-01
Posts: 149

Re: Practical approach to using 64bit kernel and 32bit userspace?

flamelab wrote:

put kernel26 in HoldPkg and each time it wants to be updated, install the 64bit one.

According to pacman.conf(5), HoldPkg only seems to have any effect when attempting to remove a package:

pacman.conf(5) wrote:

HoldPkg = package ...
           If a user tries to --remove a package that's listed in HoldPkg, pacman will ask for confirmation before proceeding.

I'll go with the local repository route.

Offline

#9 2009-08-25 08:15:44

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Practical approach to using 64bit kernel and 32bit userspace?

Use IgnorePkg, not HoldPkg.

Offline

#10 2009-08-25 08:48:34

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Practical approach to using 64bit kernel and 32bit userspace?

hw-tph wrote:
flamelab wrote:

put kernel26 in HoldPkg and each time it wants to be updated, install the 64bit one.

According to pacman.conf(5), HoldPkg only seems to have any effect when attempting to remove a package:

pacman.conf(5) wrote:

HoldPkg = package ...
           If a user tries to --remove a package that's listed in HoldPkg, pacman will ask for confirmation before proceeding.

I'll go with the local repository route.

Well, I have pacman on HoldPkg, and I thought that HoldPkg makes the package manager to ask for a package to be installed before the others. It seems that I'm wrong hmm

Offline

Board footer

Powered by FluxBB