You are not logged in.

#26 2008-11-26 00:43:22

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

Re: Building an experimental Arch system

Basu wrote:

I meant to ask whether it would be a problem if I put in a 64-bit kernel and then ran 32 bit programs.

It will not. You can setup a 32bit chroot or install 32bit libraries. Either way is pretty easy, though I went with the installation of the 32bit libraries. However, now that there is a 64bit version of flash, I have uninstalled all of my 32bit libraries.


[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#27 2008-11-26 01:41:19

shazeal
Member
From: New Zealand
Registered: 2007-06-05
Posts: 339

Re: Building an experimental Arch system

elmer_42 wrote:
Basu wrote:

I meant to ask whether it would be a problem if I put in a 64-bit kernel and then ran 32 bit programs.

It will not. You can setup a 32bit chroot or install 32bit libraries. Either way is pretty easy, though I went with the installation of the 32bit libraries. However, now that there is a 64bit version of flash, I have uninstalled all of my 32bit libraries.

I think he means a 64 bit kernel on a 32 bit system, not a 64 bit kernel on a 64 bit system with 32 bit chroot. But yes you can run a 64bit kernel with 32 bit binarys, its just kind of a waste of time since none of the programs will take advantage of the 64 bit extensions, and it may break some things? Im not sure on that since Ive only booted a 64 bit kernel on a 32 bit system a couple of times just to change some things and never used it full time.

Offline

#28 2008-11-26 04:33:30

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

Re: Building an experimental Arch system

shazeal wrote:

I think he means a 64 bit kernel on a 32 bit system, not a 64 bit kernel on a 64 bit system with 32 bit chroot

Oh, OK. Thanks, I didn't quite understand what he was saying.


[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#29 2008-11-29 04:25:19

Basu
Member
From: Cornell University
Registered: 2006-12-15
Posts: 284
Website

Re: Building an experimental Arch system

So I've set up a basic Arch system and I'm getting the 2.6.28-rc6 source right now. How can I compile modules into the kernel so that I don't need to load them separately later? Do I simply set the proper options in the menuconfig? I'm thinking this will cause the proper modules to go into the kernel when I do a make modules_install.


The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github

Offline

#30 2008-11-29 09:26:26

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 1,946
Website

Re: Building an experimental Arch system

Basu wrote:

So I've set up a basic Arch system and I'm getting the 2.6.28-rc6 source right now. How can I compile modules into the kernel so that I don't need to load them separately later? Do I simply set the proper options in the menuconfig? I'm thinking this will cause the proper modules to go into the kernel when I do a make modules_install.

you don't "compile modules into the kernel". either you compile as module, or into the kernel.  But yes, in 'make menuconfig' you can do this, toggle it to become '*', not 'M' and it will compile right into the kernel smile and you don't need modules_install or whatever.

Last edited by Dieter@be (2008-11-29 09:27:03)


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#31 2008-11-29 19:59:43

Basu
Member
From: Cornell University
Registered: 2006-12-15
Posts: 284
Website

Re: Building an experimental Arch system

Ok I compiled hard drive, filesystem and USB support into the kernel. At this point I can eliminate the initrd. I'm currently compiling in sound support so that I don't have to load modules in rc.conf, though I'm not  quite sure what all the menuconfig options are for all the modules I need.  I'm running an old p4 2.4Ghz with 512MB RAM and I have boot to console login down to 15 seconds.


The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github

Offline

#32 2008-11-30 17:38:34

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Building an experimental Arch system

Remember that after you boot a kernel, its configuration will be in /proc/config.gz, so comparing what you have against arch stock shouldn't be hard (if you set up your kernel to be installable side-by-side)

Offline

#33 2008-11-30 18:23:52

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 1,946
Website

Re: Building an experimental Arch system

Daenyth wrote:

Remember that after you boot a kernel, its configuration will be in /proc/config.gz

Only if CONFIG_IKCONFIG_PROC is enabled.  on Arch stock kernels it is, but I usually disable it on custom kernels smile


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#34 2008-11-30 19:47:15

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Building an experimental Arch system

well config file can be always found in
/usr/src/linux_whatever_version/.config

and you don't even need to compile anything. Simply save config file so you can compare it before compiling to the default Arch config.

Offline

#35 2008-12-01 19:45:07

dldiamond2
Member
Registered: 2008-11-29
Posts: 14

Re: Building an experimental Arch system

Basu wrote:

I currently have a 64-bit dual core but by setup is 32-bit (I wanted Flash).If I drop in a 64-bit problem to run all the other 32bit apps, will that be a problem?

Why is it that people still think you can't have flash on a 64 bit operating system. Mine is working fine and has been so since I first installed Arch back in March.

Offline

#36 2008-12-01 23:19:04

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

Re: Building an experimental Arch system

dldiamond2 wrote:

Why is it that people still think you can't have flash on a 64 bit operating system.

I know that there are some people who do not like the nspluginwrapper solution. Besides that, native 64 bit flash is still alpha software and only showed up a short time ago, perhaps they are waiting for a more stable release.


[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

Board footer

Powered by FluxBB