Re: chroot64 the chroot32
Rob Andrews a écrit : On 31-Jan-2008 06:17.08 (GMT), Bonnel Christophe wrote: And i use old hardware that have not been developped for 64bit, so i need 32bit chroot to compile the kernels, root partitions, and so on ... For example, the mvpmc or the dg632. Ah, mvpmc. I used to use that on the Hauppauge MediaMVP. Can you not rebuild the ppc toolchain for 64-bit architecture? That is, if it doesn't already work with ia32-libs installed. rob. I have tried with ia32-libs but i had error. I'm not able to cross-compile on my own if the compile-method doesn't already exist. I'm not good enough in development. But I think I will try soon. Christophe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: chroot64 the chroot32
On Thursday 31 January 2008, Rob Andrews wrote: > On 31-Jan-2008 10:20.51 (GMT), Hans Vogelsberger wrote: > > Well, I never tried chroot. But Opera and - because of Sun Java plugins > > - Iceweasel and Openoffice still run on my old (and much too loud) > > 32-bit intel 686 computer instead of the newer Amd 64 one. > You can install the 32bit opera on amd64 using --force-architecture and some alterations of the startup script. It works (somewhat) with flash and java. There's also a beta amd64 .deb of 9.50b, which I'm planning on trying tomorrow. -Chris > The Java plugin is an interesting one. I don't see why the Java NPAPI > plugin hasn't been ported to 64-bit systems. > > Konqueror uses a Java "hack" as far as I am aware, calling the java > executable direcly and embedding it directly into an X region on the > display. I wonder how hard it would be to hack a wrapper plugin to do that > natively. > > -- > rob andrews :: pgp 0x5c205974 :: [EMAIL PROTECTED] | Christopher Judd, Ph. D. [EMAIL PROTECTED] | IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or sensitive information which is, or may be, legally privileged or otherwise protected by law from further disclosure. It is intended only for the addressee. If you received this in error or from someone who was not authorized to send it to you, please do not distribute, copy or use it or any attachments. Please notify the sender immediately by reply e-mail and delete this from your system. Thank you for your cooperation. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: chroot64 the chroot32
On Thu, 2008-01-31 at 19:47 +, Rob Andrews wrote: > On 31-Jan-2008 10:20.51 (GMT), Hans Vogelsberger wrote: > > Well, I never tried chroot. But Opera and - because of Sun Java plugins > > - Iceweasel and Openoffice still run on my old (and much too loud) > > 32-bit intel 686 computer instead of the newer Amd 64 one. > > The Java plugin is an interesting one. I don't see why the Java NPAPI plugin > hasn't been ported to 64-bit systems. Because Sun hasn't gotten around to it yet. But really, what do we expect? It's not like they've known about the issue for 5 years[1], or like anyone prior to us has mentioned it[2]. And it's not like anyone has ever done something that monumental to know how great of an undertaking it really is[3]. Those poor folks, always getting blamed like that... [1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4802695 [2] http://bugs.sun.com/bugdatabase/top25_rfes.do [3] I can't post a link since they're no longer around unfortunately, but Blackdown did ("does" if you can still find a copy) release a version of Java 1.4.2 YEARS ago for amd64, with a fully-functional browser plugin. In case you're not familiar with Blackdown, they were actually allowed by Sun (pre-"Sun going GPL" here) to hack on the Java source and release their own packages. A few years ago your only choice for a Debian package for Java was using Blackdown. (They were around before we even got things like make-jpkg, let alone the binary packages we have now.) -- Alex Malinovich Support Free Software, delete your Windows partition TODAY! Encrypted mail preferred. You can get my public key from any of the pgp.net keyservers. Key ID: A6D24837 signature.asc Description: This is a digitally signed message part
Re: chroot64 the chroot32
On Thu, 2008-01-31 at 19:56 +, Rob Andrews wrote: --snip-- > Fedora handles biarch quite well, although rpm is fairly ugly. 64-bit > libraries are installed into /lib64 and /usr/lib64, whilst 32-bit is kept in > /lib and /usr/lib. Common files are an issue - if you install both 32 and > 64-bit libraries, then common files in /usr/share are deleted if you remove > one of the architectures, meaning you have to reinstall the remaining pakage > to get those files back. This is what Debian does as well, except that we have no problem with files being overwritten by other packages. :) The only catch is, the ia32 packages have to be made and maintained by a real human for the amd64 architecture. While this is certainly something that COULD (in theory) be added to apt and friends to allow direct installs of ia32 packages, it would undermine the entire rock-solid foundation of Debian (which is based, contrary to popular belief, not on a program like apt or dpkg, but on fantastic maintainers who pay a great deal of attention to detail). While this approach does mean that not all 32-bit-only programs are available for amd64, we do have packages for the most important offenders. (Java and friends come to mind.) -- Alex Malinovich Support Free Software, delete your Windows partition TODAY! Encrypted mail preferred. You can get my public key from any of the pgp.net keyservers. Key ID: A6D24837 signature.asc Description: This is a digitally signed message part
Re: chroot64 the chroot32
On 31-Jan-2008 10:27.51 (GMT), Anton Piatek wrote: > I couldnt think of a good way to solve it with chroots, as that would > become infitite looping (not being rude to any chroot users...) I don't get the whole chroot thing. I ran it for a short period of time as I use Skype for work purposes, but I keep a small number of 32-bit libraries installed in my user area to run it now, rather than install an entire chroot for one application. The underlying issue is that Debian's way of handling multiarch is a little flawed (imho, of course). It would be nice if dpkg could handle multiple binary architectures on platforms that support it, and end the necessity to keep a second system installed in a subdirectory somewhere. powerpc & powerpc64 being the other system that would really appreciate the loving that proper multiarch support would bring. sparc & sparc64 also, but I don't know what the state of Debian sparc is these days, or even if it's still being developed. Fedora handles biarch quite well, although rpm is fairly ugly. 64-bit libraries are installed into /lib64 and /usr/lib64, whilst 32-bit is kept in /lib and /usr/lib. Common files are an issue - if you install both 32 and 64-bit libraries, then common files in /usr/share are deleted if you remove one of the architectures, meaning you have to reinstall the remaining pakage to get those files back. We could learn and improve upon this arrangement. Give dpkg multiarch support, by tracking package contents for each installed architecture. -- rob andrews :: pgp 0x5c205974 :: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: chroot64 the chroot32
On 31-Jan-2008 06:17.08 (GMT), Bonnel Christophe wrote: > Because i use wine and flash. I have an etch install. I have tried to > use wine 64bit but it gives me error and nspluginwrapper, after many > many many different versions, i never can use it fully, a version works > on a website but not on another one, the next nspluginwrapper works on > the second website but not on the first ... Okay. If you have any bugs for nspluginwrapper, please do submit them to the bts because I do (hopefully) respond in a fairly timely manner. I have one fairly important bug to fix regarding thin clients, and anything core to the software itself goes upstream to the author. > And i use old hardware that have not been developped for 64bit, so i > need 32bit chroot to compile the kernels, root partitions, and so on ... > For example, the mvpmc or the dg632. Ah, mvpmc. I used to use that on the Hauppauge MediaMVP. Can you not rebuild the ppc toolchain for 64-bit architecture? That is, if it doesn't already work with ia32-libs installed. rob. -- rob andrews :: pgp 0x5c205974 :: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: chroot64 the chroot32
On 31-Jan-2008 10:20.51 (GMT), Hans Vogelsberger wrote: > Well, I never tried chroot. But Opera and - because of Sun Java plugins > - Iceweasel and Openoffice still run on my old (and much too loud) > 32-bit intel 686 computer instead of the newer Amd 64 one. The Java plugin is an interesting one. I don't see why the Java NPAPI plugin hasn't been ported to 64-bit systems. Konqueror uses a Java "hack" as far as I am aware, calling the java executable direcly and embedding it directly into an X region on the display. I wonder how hard it would be to hack a wrapper plugin to do that natively. -- rob andrews :: pgp 0x5c205974 :: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: chroot64 the chroot32
On Thu, 2008-01-31 at 07:17 +0100, Bonnel Christophe wrote: --snip-- > And i use old hardware that have not been developped for 64bit, so i > need 32bit chroot to compile the kernels, root partitions, and so on ... > For example, the mvpmc or the dg632. You don't need to be running a 32-bit system in order to compile 32-bit packages. That's what GCC's -march flag is for. I use my AMD64 machine (running native 64-bit programs) to compile programs for my old Pentium machine all the time because it's a heck of a lot faster. -- Alex Malinovich Support Free Software, delete your Windows partition TODAY! Encrypted mail preferred. You can get my public key from any of the pgp.net keyservers. Key ID: A6D24837 signature.asc Description: This is a digitally signed message part
Re: chroot64 the chroot32
Rob Andrews schrieb: May I ask why you use a 32-bit chroot? Surely evince works just Fine(tm) for viewing PDFs in 64-bit, there's 64-bit mplayer (no 32-bit DLL support, but it covers most file formats without needing external codecs), and nspluginwrapper gives flash support to 64-bit systems. Well, I never tried chroot. But Opera and - because of Sun Java plugins - Iceweasel and Openoffice still run on my old (and much too loud) 32-bit intel 686 computer instead of the newer Amd 64 one. -- To reduce spam this address accepts only mails 'To:' subscribed lists. Zur Verminderung von Spam akzeptiert diese Adresse nur Mails 'An:' abonnierte Listen. Hans Vogelsberger -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: chroot64 the chroot32
I had a similar problem - I solved it by using 64 bit wherever possible, and moved firefox to 64 bit using nspluginwrapper to do flash etc - java however is still a problem as there doesnt seem to be a java plugin for firefox in the 64 bit builds. I couldnt think of a good way to solve it with chroots, as that would become infitite looping Anton -- Anton Piatek email: [EMAIL PROTECTED] blog/photos:http://www.strangeparty.com pgp: [0xB307BAEF] (http://tastycake.net/~anton/anton.asc) fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF No trees were destroyed in the sending of this message, however, a significant number of electrons were terribly inconvenienced. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: chroot64 the chroot32
On Wednesday 30 Jan 2008, Bonnel Christophe wrote: > As i don't have OOO in my 32bit chroot and i don't want it, i wonder if > it's possible to chroot the 64bit system into the 32bit chroot in order > to use the 64bitOOO when i click on a .doc link There is more to life than OpenOffice.org . KOffice can handle .doc files, and so can AbiWord. There are tools to pull the text out of .doc files. Or, you could run a 64-bit browser to visit this .doc site. It's really the webmaster's problem, not yours. .doc is not a proper standard. If I were feeling vindictive, I'd suggest DDoS-ing the site. Maybe you could stick a link on the front page of slashdot.org, about how there is this website which is blatantly encouraging people to make pirate copies of Microsoft Office in order to view .doc files . -- AJS delta echo bravo six four at earthshod dot co dot uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: chroot64 the chroot32
Bonnel Christophe a écrit : Jaime Ochoa Malagón a écrit : there is a bind mount to do that search a little more that information exists... On 1/30/08, Bonnel Christophe <[EMAIL PROTECTED]> wrote: Hi all, I have a 32-bit chroot for some applications, and firefox particulary. In my chroot, i have installed xpdf for pdf files, mplayer, flash, and so on... But i don't install OOO. Now, for the first time since i installed my system (more than one year), i have found a webpage which gives doc files. As i don't have OOO in my 32bit chroot and i don't want it, i wonder if it's possible to chroot the 64bit system into the 32bit chroot in order to use the 64bitOOO when i click on a .doc link For my chroots, i use schroot. Thanks in advance Christophe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] so if i understand, you suggest me to bind-mount my 64bit-root partition in a directory of my 32-bit chroot. For example i have : /dev/sda1 mounted on / /home/chroot-i368.img mounted on /var/chroot/etch-i386 (my chroot) So i create a directory /var/chroot/etch-i386/amd64 mount --bind /dev/sda1 /var/chroot/etch-i386/amd64 (or something like this) Then I chroot but how can re-adjust libraries ? If i want now to use 64bit-xpdf. I have made a ldd on /usr/bin/xpdf.bin and it gives me : libt1.so.5 => /usr/lib/libt1.so.5 (0x2b451e59e000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x2b451e6f9000) libz.so.1 => /usr/lib/libz.so.1 (0x2b451e872000) libXm.so.2 => /usr/lib/libXm.so.2 (0x2b451e988000) libXt.so.6 => /usr/lib/libXt.so.6 (0x2b451ec1) libXp.so.6 => /usr/lib/libXp.so.6 (0x2b451ed71000) libXext.so.6 => /usr/lib/libXext.so.6 (0x2b451ee79000) libXpm.so.4 => /usr/lib/libXpm.so.4 (0x2b451ef8a000) libSM.so.6 => /usr/lib/libSM.so.6 (0x2b451f09b000) libICE.so.6 => /usr/lib/libICE.so.6 (0x2b451f1a5000) libX11.so.6 => /usr/lib/libX11.so.6 (0x2b451f2c) libpaper.so.1 => /usr/lib/libpaper.so.1 (0x2b451f4ca000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x2b451f5cd000) libm.so.6 => /lib/libm.so.6 (0x2b451f7cb000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2b451f94e000) libc.so.6 => /lib/libc.so.6 (0x2b451fa5b000) libXft.so.2 => /usr/lib/libXft.so.2 (0x2b451fc98000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0x2b451fdad000) libXau.so.6 => /usr/lib/libXau.so.6 (0x2b451feb6000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x2b451ffb9000) libdl.so.2 => /lib/libdl.so.2 (0x2b45200be000) /lib64/ld-linux-x86-64.so.2 (0x2b451e486000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x2b45201c1000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0x2b45202f6000) libpthread.so.0 => /lib/libpthread.so.0 (0x2b4520418000) I can't understand how my 32bit-chroot can use the proper 64bit-librairies ? If i use amd64/usr/bin/xpdf (into my 32bit chroot), how can it find /lib64/ld-linux-x86-64.so.2 ? I hope you can understand me... stupid of me, i understand, i must chroot the /amd64 directory under my 32-bit chroot. Thank you very much Christophe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: chroot64 the chroot32
Rob Andrews a écrit : On 30-Jan-2008 19:39.40 (GMT), Bonnel Christophe wrote: In my chroot, i have installed xpdf for pdf files, mplayer, flash, and so on... May I ask why you use a 32-bit chroot? Surely evince works just Fine(tm) for viewing PDFs in 64-bit, there's 64-bit mplayer (no 32-bit DLL support, but it covers most file formats without needing external codecs), and nspluginwrapper gives flash support to 64-bit systems. Because i use wine and flash. I have an etch install. I have tried to use wine 64bit but it gives me error and nspluginwrapper, after many many many different versions, i never can use it fully, a version works on a website but not on another one, the next nspluginwrapper works on the second website but not on the first ... And i use old hardware that have not been developped for 64bit, so i need 32bit chroot to compile the kernels, root partitions, and so on ... For example, the mvpmc or the dg632. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: chroot64 the chroot32
Jack Malmostoso a écrit : On Wed, 30 Jan 2008 20:30:19 +0100, Bonnel Christophe wrote: i wonder if it's possible to chroot the 64bit system into the 32bit chroot in order to use the 64bitOOO when i click on a .doc link I don't really get what you want to do, but Openoffice is available for AMD64 since ages, now. And the 32bit chroot is pretty much useless, nowadays. That's what i explain, i want to use my 64bit000 into my 32bit chroot -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: chroot64 the chroot32
Jaime Ochoa Malagón a écrit : there is a bind mount to do that search a little more that information exists... On 1/30/08, Bonnel Christophe <[EMAIL PROTECTED]> wrote: Hi all, I have a 32-bit chroot for some applications, and firefox particulary. In my chroot, i have installed xpdf for pdf files, mplayer, flash, and so on... But i don't install OOO. Now, for the first time since i installed my system (more than one year), i have found a webpage which gives doc files. As i don't have OOO in my 32bit chroot and i don't want it, i wonder if it's possible to chroot the 64bit system into the 32bit chroot in order to use the 64bitOOO when i click on a .doc link For my chroots, i use schroot. Thanks in advance Christophe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] so if i understand, you suggest me to bind-mount my 64bit-root partition in a directory of my 32-bit chroot. For example i have : /dev/sda1 mounted on / /home/chroot-i368.img mounted on /var/chroot/etch-i386 (my chroot) So i create a directory /var/chroot/etch-i386/amd64 mount --bind /dev/sda1 /var/chroot/etch-i386/amd64 (or something like this) Then I chroot but how can re-adjust libraries ? If i want now to use 64bit-xpdf. I have made a ldd on /usr/bin/xpdf.bin and it gives me : libt1.so.5 => /usr/lib/libt1.so.5 (0x2b451e59e000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x2b451e6f9000) libz.so.1 => /usr/lib/libz.so.1 (0x2b451e872000) libXm.so.2 => /usr/lib/libXm.so.2 (0x2b451e988000) libXt.so.6 => /usr/lib/libXt.so.6 (0x2b451ec1) libXp.so.6 => /usr/lib/libXp.so.6 (0x2b451ed71000) libXext.so.6 => /usr/lib/libXext.so.6 (0x2b451ee79000) libXpm.so.4 => /usr/lib/libXpm.so.4 (0x2b451ef8a000) libSM.so.6 => /usr/lib/libSM.so.6 (0x2b451f09b000) libICE.so.6 => /usr/lib/libICE.so.6 (0x2b451f1a5000) libX11.so.6 => /usr/lib/libX11.so.6 (0x2b451f2c) libpaper.so.1 => /usr/lib/libpaper.so.1 (0x2b451f4ca000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x2b451f5cd000) libm.so.6 => /lib/libm.so.6 (0x2b451f7cb000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2b451f94e000) libc.so.6 => /lib/libc.so.6 (0x2b451fa5b000) libXft.so.2 => /usr/lib/libXft.so.2 (0x2b451fc98000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0x2b451fdad000) libXau.so.6 => /usr/lib/libXau.so.6 (0x2b451feb6000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x2b451ffb9000) libdl.so.2 => /lib/libdl.so.2 (0x2b45200be000) /lib64/ld-linux-x86-64.so.2 (0x2b451e486000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x2b45201c1000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0x2b45202f6000) libpthread.so.0 => /lib/libpthread.so.0 (0x2b4520418000) I can't understand how my 32bit-chroot can use the proper 64bit-librairies ? If i use amd64/usr/bin/xpdf (into my 32bit chroot), how can it find /lib64/ld-linux-x86-64.so.2 ? I hope you can understand me... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: chroot64 the chroot32
On 30-Jan-2008 19:39.40 (GMT), Bonnel Christophe wrote: > In my chroot, i have installed xpdf for pdf files, mplayer, flash, and > so on... May I ask why you use a 32-bit chroot? Surely evince works just Fine(tm) for viewing PDFs in 64-bit, there's 64-bit mplayer (no 32-bit DLL support, but it covers most file formats without needing external codecs), and nspluginwrapper gives flash support to 64-bit systems. -- rob andrews :: pgp 0x5c205974 :: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: chroot64 the chroot32
On Wed, 30 Jan 2008 20:30:19 +0100, Bonnel Christophe wrote: > i wonder if > it's possible to chroot the 64bit system into the 32bit chroot in order > to use the 64bitOOO when i click on a .doc link I don't really get what you want to do, but Openoffice is available for AMD64 since ages, now. And the 32bit chroot is pretty much useless, nowadays. -- Best Regards, Jack Linux User #264449 Powered by Debian GNU/Linux on AMD64 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: chroot64 the chroot32
there is a bind mount to do that search a little more that information exists... On 1/30/08, Bonnel Christophe <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a 32-bit chroot for some applications, and firefox particulary. > In my chroot, i have installed xpdf for pdf files, mplayer, flash, and > so on... But i don't install OOO. Now, for the first time since i > installed my system (more than one year), i have found a webpage which > gives doc files. > > As i don't have OOO in my 32bit chroot and i don't want it, i wonder if > it's possible to chroot the 64bit system into the 32bit chroot in order > to use the 64bitOOO when i click on a .doc link > > For my chroots, i use schroot. > > Thanks in advance > Christophe > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- Perhaps the depth of love can be calibrated by the number of different selves that are actively involved in a given relationship. Carl Sagan (Contact) Jaime Ochoa Malagón Integrated Technology Tel: (55) 52 54 26 10