Re: Running x86-64 debian inside i386 pbuilder on AMD64
* Sander Marechal | What is the normal way to build amd64 .deb's on a 32-bit | debian/ubuntu? Have your normal system be a 64 bit system and run those few apps that need 32 bit support in a chroot is what I see recommended in most cases. Or just go without -- that's what I do. Not having flash is a good, not a bad thing to me at least. :-) -- Tollef Fog Heen,''`. UNIX is user friendly, it's just picky about who its friends are : :' : `. `' `- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running x86-64 debian inside i386 pbuilder on AMD64
* Sander Marechal [EMAIL PROTECTED] [2006-08-25 07:39]: Matthias Julius wrote: pbuilder create --debootstrapopts --arch=amd64 It didn't work after all. I got a kernel running, but debootstrap doesn't want to cooperate. It quits with an error that it cannot find a script. It takes a random string from the pbuilder configuration and tries lo look for a script at that place instead of /usr/lib/pbuilder/scripts. Weird. debootstrap in such environments works fine on debian etch and debian sid systems and with a the debootstrap from backports.org even on debian sarge systems. I think I'm going to take the easy way out and install a minimal dapper 64 in a small partition and use that to build amd64 binaries. If you look for support of ubuntu you have come to the wrong place. http://www.ubuntu.com/support looks more appropriate. yours Martin -- [EMAIL PROTECTED] Debian GNU/Linux - The Universal Operating System fabbione I AM ON TV! fabbione CIAO MAMMA! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running x86-64 debian inside i386 pbuilder on AMD64
Martin Wuertele wrote: * Sander Marechal [EMAIL PROTECTED] [2006-08-25 07:39]: Matthias Julius wrote: pbuilder create --debootstrapopts --arch=amd64 It didn't work after all. I got a kernel running, but debootstrap doesn't want to cooperate. It quits with an error that it cannot find a script. It takes a random string from the pbuilder configuration and tries lo look for a script at that place instead of /usr/lib/pbuilder/scripts. Weird. debootstrap in such environments works fine on debian etch and debian sid systems and with a the debootstrap from backports.org even on debian sarge systems. Maybe my debootstrap is simply too old. I'll compare versions. I think I'm going to take the easy way out and install a minimal dapper 64 in a small partition and use that to build amd64 binaries. If you look for support of ubuntu you have come to the wrong place. http://www.ubuntu.com/support looks more appropriate. Hehe, you guys know far more than they do. They told me it wasn't possible to simply replace my k7 kernel with an amd64-k8 kernel untill I said But I am running it right now and it works!. Let alone that they knew anything about amd64 pbuilder on a 32-bit system. Last question: How do the debian build servers do it? Do they have a build server for every architecture or is everything cross-compiled with architecture specific toolchains? Thanks for all the help so far! -- Sander Marechal http://www.gnome-hearts.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running x86-64 debian inside i386 pbuilder on AMD64
Le vendredi 25 août 2006 à 11:09 +0200, Sander Marechal a écrit : Martin Wuertele wrote: * Sander Marechal [EMAIL PROTECTED] [2006-08-25 07:39]: Matthias Julius wrote: pbuilder create --debootstrapopts --arch=amd64 It didn't work after all. I got a kernel running, but debootstrap doesn't want to cooperate. It quits with an error that it cannot find a script. It takes a random string from the pbuilder configuration and tries lo look for a script at that place instead of /usr/lib/pbuilder/scripts. Weird. debootstrap in such environments works fine on debian etch and debian sid systems and with a the debootstrap from backports.org even on debian sarge systems. Maybe my debootstrap is simply too old. I'll compare versions. I think I'm going to take the easy way out and install a minimal dapper 64 in a small partition and use that to build amd64 binaries. If you look for support of ubuntu you have come to the wrong place. http://www.ubuntu.com/support looks more appropriate. Hehe, you guys know far more than they do. They told me it wasn't possible to simply replace my k7 kernel with an amd64-k8 kernel untill I Those kernels are 64-bits compiled with (only) 32-bits userland support. said But I am running it right now and it works!. Let alone that they knew anything about amd64 pbuilder on a 32-bit system. Last question: How do the debian build servers do it? Do they have a build server for every architecture or is everything cross-compiled with architecture specific toolchains? In Debian, by policy, every architecture is built on a native machine. There is no cross-compilation involved. There would probably be lots of problems with builds where some compiled-code would be needed to run on an incompatible architecture. For i386 and AMD64, on the contrary, there would be no problem. Thanks for all the help so far! -- Jérôme Warnier [EMAIL PROTECTED] BeezNest
Re: Running x86-64 debian inside i386 pbuilder on AMD64
* Sander Marechal [EMAIL PROTECTED] [2006-08-24 08:05]: I am looking to create .deb's for x86-64. I have an AMD64 but run an i386 OS due to the lack of some 64-bit packages (like flash and what-not). I have pbuilder all set up to build packages for i386, but I wonder if it's possible to use it to create x86-64 packages as well. After all, I do have an AMD64 so I can run x86-64 packages. So, is it possible to bootstrap an x86-64 OS with pbuilder on an i386 system running on an AMD64? If you are running a 64bit Kernel this should be possible. I run amd64 with linux32 installed and a 32bit dchroot for stuff like flash and co. yours Martin -- [EMAIL PROTECTED] Debian GNU/Linux - The Universal Operating System NForcer Nene, sie mag keine Horrofilme.. Schnulzen fallen da mit drunter :)) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running x86-64 debian inside i386 pbuilder on AMD64
Sander Marechal [EMAIL PROTECTED] writes: I am looking to create .deb's for x86-64. I have an AMD64 but run an i386 OS due to the lack of some 64-bit packages (like flash and what-not). I have pbuilder all set up to build packages for i386, but I wonder if it's possible to use it to create x86-64 packages as well. After all, I do have an AMD64 so I can run x86-64 packages. So, is it possible to bootstrap an x86-64 OS with pbuilder on an i386 system running on an AMD64? Yes, this should be possible (if you are running an amd64 kernel). I would try (not tested): pbuilder create --debootstrapopts --arch=amd64 Matthias -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running x86-64 debian inside i386 pbuilder on AMD64
Matthias Julius wrote: Sander Marechal [EMAIL PROTECTED] writes: I am looking to create .deb's for x86-64. I have an AMD64 but run an i386 OS due to the lack of some 64-bit packages (like flash and what-not). I have pbuilder all set up to build packages for i386, but I wonder if it's possible to use it to create x86-64 packages as well. After all, I do have an AMD64 so I can run x86-64 packages. So, is it possible to bootstrap an x86-64 OS with pbuilder on an i386 system running on an AMD64? Yes, this should be possible (if you are running an amd64 kernel). I would try (not tested): pbuilder create --debootstrapopts --arch=amd64 Nope, I run a K7 kernel now (Ubuntu dapper). Can I simply replace my kernel and leave the rest of my system in tact? I don't see AMD64 kernel images in Synaptic. Probably a silly question, but who knows :-) -- Sander Marechal http://www.gnome-hearts.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running x86-64 debian inside i386 pbuilder on AMD64
On 10756 March 1977, Sander Marechal wrote: Nope, I run a K7 kernel now (Ubuntu dapper). Can I simply replace my kernel and leave the rest of my system in tact? I don't see AMD64 kernel images in Synaptic. Probably a silly question, but who knows :-) You need to run dpkg with the right --force option to install a 64bit kernel with the wrong arch amd64 on your system. Works perfectly nice, but you should be sure your cpu is really able to run it, or next reboot doesnt get far. -- bye Joerg Christian bignachos: the famous pornview maintainer? HoserHead Christian: *don't* ask why he's typing so slowly bignachos hey, at least i thoroughly test my packages -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running x86-64 debian inside i386 pbuilder on AMD64
Sander Marechal [EMAIL PROTECTED] writes: Nope, I run a K7 kernel now (Ubuntu dapper). Can I simply replace my kernel and leave the rest of my system in tact? I don't see AMD64 kernel images in Synaptic. Probably a silly question, but who knows :-) Not silly at all. There used to be such a package in sarge (i.e. a 64-bit kernel i386 package). Unfortunately, it doesn't now :-(. Ganesan -- Ganesan Rajagopal -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running x86-64 debian inside i386 pbuilder on AMD64
Joerg Jaspert wrote: On 10756 March 1977, Sander Marechal wrote: Nope, I run a K7 kernel now (Ubuntu dapper). Can I simply replace my kernel and leave the rest of my system in tact? I don't see AMD64 kernel images in Synaptic. Probably a silly question, but who knows :-) You need to run dpkg with the right --force option to install a 64bit kernel with the wrong arch amd64 on your system. Works perfectly nice, but you should be sure your cpu is really able to run it, or next reboot doesnt get far. I'm sure allright. I've had various 64 bit distro's on this machine, but lack of flash and a few other 32-bit only things always make me go back. Quick question: Do I only need the AMD64 linux-image package, or also the linux-restricted-modules package? Thanks, -- Sander Marechal http://www.gnome-hearts.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running x86-64 debian inside i386 pbuilder on AMD64
Sander Marechal [EMAIL PROTECTED] writes: Quick question: Do I only need the AMD64 linux-image package, or also the linux-restricted-modules package? You need corresponding versions of whichever modules package(s) you currently have installed. -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org) Finger [EMAIL PROTECTED] (NOT a valid e-mail address) for more info. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running x86-64 debian inside i386 pbuilder on AMD64
Aaron M. Ucko wrote: Sander Marechal [EMAIL PROTECTED] writes: Quick question: Do I only need the AMD64 linux-image package, or also the linux-restricted-modules package? You need corresponding versions of whichever modules package(s) you currently have installed. Thanks. The kernel works but I loose the nvidia driver and with it XGL, so X crashes on startup (I have the XGL server replace the standard X server, not run on top of it). What is the normal way to build amd64 .deb's on a 32-bit debian/ubuntu? -- Sander Marechal http://www.gnome-hearts.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running x86-64 debian inside i386 pbuilder on AMD64
Sander Marechal [EMAIL PROTECTED] writes: Thanks. The kernel works but I loose the nvidia driver and with it XGL, so X crashes on startup (I have the XGL server replace the standard X server, not run on top of it). Maybe you just need to rebuild the nVidia kernel modules? Matthias -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running x86-64 debian inside i386 pbuilder on AMD64
Matthias Julius wrote: Sander Marechal [EMAIL PROTECTED] writes: So, is it possible to bootstrap an x86-64 OS with pbuilder on an i386 system running on an AMD64? Yes, this should be possible (if you are running an amd64 kernel). I would try (not tested): pbuilder create --debootstrapopts --arch=amd64 It didn't work after all. I got a kernel running, but debootstrap doesn't want to cooperate. It quits with an error that it cannot find a script. It takes a random string from the pbuilder configuration and tries lo look for a script at that place instead of /usr/lib/pbuilder/scripts. Weird. I think I'm going to take the easy way out and install a minimal dapper 64 in a small partition and use that to build amd64 binaries. -- Sander Marechal http://www.gnome-hearts.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]