Re: 32 bit pkg on amd64

2009-03-11 Thread Jan-Hendrik Palic
Hi.

On Mon, Mar 02, 2009 at 08:02:50PM +0100, Goswin von Brederlow wrote:
Package: ia32-apt-get
Description: Apt-get and dpkg wrapper for on-the-fly ia32-libs conversion
 On amd64 and ia64 the kernel is capable of executing i386
 binaries. For that to work with dynamically linked binaries the
 required 32bit libraries need to be available as well. This package
 contains wrappers for apt-get and dpkg that will enable you to install
 i386 packages and convert them as they are being installed.

I am using ia32-apt-get successfully on my system running unstable.

One issue is that apt-get update seems to run the conversion of package
twice.

Does anyone know where to look?

Regards

Jan

-- 
Jeder denkende und fuehlende Mensch sucht Antworten auf so viele Fragen.
Niemals duerfen wir den anderen hassen oder verspotten, 
nur weil er andere Antworten als wir gefunden hat. 
(c) Werner Braun, (1951 - 2006), deutscher Aphoristiker


signature.asc
Description: Digital signature


Re: raid1 issue, somewhat related to recent debian on big machines

2009-03-11 Thread Francesco Pietra
To my dismay, I tried (repeatedly) unsuccessfully to implement the
scheme below on old Tyan S2895 with two dual-opteron and two new
Maxtor 250GB, before moving to the new machine. With the recent amd
installer, I tried to set up (manually) the two partitions on both
disks to set up raid1.

First, I tried with a 0.2GB partition for boot but I found no way to
have lvm for the other partition and where to set the root file
system.

Then, I tried with a 1GB partition but found no way to have it for
both boot and root.

In both cases, the installer claimed to have the root file system.

What I need to have for the compilations of applications are /home
/usr /opt /var /swap. The bad way I used previously, was to start from
these partitions and put each on raid. So I finished with so many
raid#.

thanks
francesco



On Tue, Mar 3, 2009 at 9:52 PM, Alex Samad a...@samad.com.au wrote:
 On Tue, Mar 03, 2009 at 12:26:27PM +0100, Goswin von Brederlow wrote:
 Francesco Pietra chiendar...@gmail.com writes:
 [snip]


 That is a lot of raids. Have you ever thought about using LVM? The
 different raid1 will mess up each others assumption about the head
 positioning of the component devices. On read the linux kernel tries
 to use the disk with the shorter seek and assumes the head is where it
 left it on the last access. But if one of the other raids used that
 disk the head will be way off.

 I would suggest the following scheme:

 this is what I would recommend as well

 sda1 / sdb1 : 100Mb raid1 for /boot (or 1GB for / + /boot)
 sda2 / sdb2 : rest raid1 with lvm

 MfG
         Goswin


 --
 To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



 --
 Perhaps one way will be, if we use military force, in the post-Saddam Iraq 
 the U.N. will definitely need to have a role. And that way it can begin to 
 get its legs, legs of responsibility back.

        - George W. Bush
 03/16/2003
 the Azores, Portugal

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)

 iEYEARECAAYFAkmtmHwACgkQkZz88chpJ2OpcACgmoZ41ASQaImVnKgcXiovFAya
 DKwAnA4YwO7GWaL4QHnx02mSnAQdgmSM
 =SAtK
 -END PGP SIGNATURE-




--
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: raid1 issue, somewhat related to recent debian on big machines

2009-03-11 Thread Alex Samad
On Wed, Mar 11, 2009 at 09:53:14AM +0100, Francesco Pietra wrote:
 To my dismay, I tried (repeatedly) unsuccessfully to implement the
 scheme below on old Tyan S2895 with two dual-opteron and two new
 Maxtor 250GB, before moving to the new machine. With the recent amd
 installer, I tried to set up (manually) the two partitions on both
 disks to set up raid1.
 
 First, I tried with a 0.2GB partition for boot but I found no way to
 have lvm for the other partition and where to set the root file
 system.
 
 Then, I tried with a 1GB partition but found no way to have it for
 both boot and root.

from memory but the outline of who I install

Create 3 paritions 1 2 3 on sda and sdb of 500M 10G (this is going to be
raid1) the rest of the hard drive

select all the partitions to be a raid device

configure raid
md0 = sda1 sdb1
md1 = sda2 sdb2
md2 = sda3 sdb3

select md0 as type ext2 mount /boot
select md1 as type ext3 mount /
select md2 as type lvm device

configure lvm

... create your lvm partitions 
select each one and specify fs type and mount point

then proceed



 
 In both cases, the installer claimed to have the root file system.
 
 What I need to have for the compilations of applications are /home
 /usr /opt /var /swap. The bad way I used previously, was to start from
 these partitions and put each on raid. So I finished with so many
 raid#.
 
 thanks
 francesco
 
 
 
[snip]

-- 
Justice ought to be fair.

- George W. Bush
12/15/2004
Washington, DC
speaking at the White House Economic Conference


signature.asc
Description: Digital signature


Re: 32 bit pkg on amd64

2009-03-11 Thread Goswin von Brederlow
Jaime Ochoa Malagón chp...@gmail.com writes:

 I don't know what change but now it works and try to download skype and 
 libs...

 That is an example of the errors trying to install:

 dpkg-deb: --control
 /var/cache/apt/archives/ia32-libjpeg62_6b-14~11_amd64.deb
 /var/lib/dpkg/tmp.ci
 (Reading database ... 542638 files and directories currently
 installed.)
 Unpacking ia32-libjpeg62 (from .../ia32-libjpeg62_6b-14~11_amd64.deb)
 ...
 dpkg-deb: --fsys-tarfile
 /var/cache/apt/archives/ia32-libjpeg62_6b-14~11_amd64.deb
 parsechangelog/debian: warning: debian/changelog(l5): badly
 formatted trailer line
 LINE:  -- root r...@localhost  Mon,  9 Mar 2009 08:04:28 PM -0600
 parsechangelog/debian: warning: debian/changelog(l5): found eof
 where expected more change data or trailer
 Use of uninitialized value $v in pattern match (m//) at
 /usr/share/perl5/Dpkg/Fields.pm line 229, STDIN line 5.
 Use of uninitialized value $v in pattern match (m//) at
 /usr/share/perl5/Dpkg/Fields.pm line 229, STDIN line 5.
 dch warning: new version (6b-14~11) is less than
 the current version number (6b-14).

 There is somethign that I miss?

That sounds like libjpeg62 has an invalid debian/changelog. From the
email and date this is the entry that is added to document the
conversion. The problem is the timestamp. I'm generating the timestamp
with $(date +%a, %e %b %Y %X %z), which should give something like
Wed, 11 Mar 2009 10:44:13 +0100. Your locale setting must cause date
to inject the PM there. I guess it should have been %T instead of
%X. Fixed in svn.


As for dch warning: new version (6b-14~11) is less than the current
version number (6b-14). that is intentional. The idea behind that is
that if a source starts shipping a 32bit flavour on amd64 then its
version will always be higher than the converted package.


(Reading database ... 126066 files and directories currently
installed.)
Unpacking ia32-libjpeg62 (from .../ia32-libjpeg62_6b-14~12_amd64.deb)
...
dpkg-deb: --fsys-tarfile
/var/cache/apt/archives/ia32-libjpeg62_6b-14~12_amd64.deb
dch warning: new version (6b-14~12) is less than
the current version number (6b-14).
Setting up ia32-libjpeg62 (6b-14~12) ...



MfG
Goswin

--- ia32-apt-get/dpkg-deb.in(revision 247)
+++ ia32-apt-get/dpkg-deb.in(working copy)
@@ -34,7 +34,7 @@
 
   * ia32-apt-get conversion
 
- -- root r...@localhost  $(date +%a, %e %b %Y %X %z)
+ -- root r...@localhost  $(date +%a, %e %b %Y %T %z)
 EOF
 if [ -f /usr/lib/ia32-libs-tools/hooks/$PKG.hook ]; then
  cp /usr/lib/ia32-libs-tools/hooks/$PKG.hook debian/


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: 32 bit pkg on amd64

2009-03-11 Thread Goswin von Brederlow
Jan-Hendrik Palic pa...@billgotchy.de writes:

 Hi.

 On Mon, Mar 02, 2009 at 08:02:50PM +0100, Goswin von Brederlow wrote:
Package: ia32-apt-get
Description: Apt-get and dpkg wrapper for on-the-fly ia32-libs conversion
 On amd64 and ia64 the kernel is capable of executing i386
 binaries. For that to work with dynamically linked binaries the
 required 32bit libraries need to be available as well. This package
 contains wrappers for apt-get and dpkg that will enable you to install
 i386 packages and convert them as they are being installed.

 I am using ia32-apt-get successfully on my system running unstable.

 One issue is that apt-get update seems to run the conversion of package
 twice.

 Does anyone know where to look?

 Regards

 Jan

What do you mean with twice?

If you mean the downloading of Packages then you are wrong. apt-get is
actualy run tree times.

If you mean converting debs then you are also wrong. They are
converted as needed while they are unpacked. That means dpkg-deb
--control and --fsys-tarfile do both convert but different parts.


Note that downloading a package with apt-get does no conversion at
all. It just fetches the file and stores it under a new name.

MfG
Goswin


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Test

2009-03-11 Thread Nuno Magalhães
On Thu, Mar 5, 2009 at 15:26, Richard Ibbotson
richard.ibbot...@googlemail.com wrote:

 I have worked on the Debian project since 1993 and the RedHat project
 and Slackware and the others.  I have helped Alan Cox and Linus
 Torvalds and many others.  Too many to mention here.  Faced with the
 fact that no one over at the Debian project wants a list to work at
 all I can only work at a snails pace to try to find a fault or
 configuration error somewhere.  This is not helped by someone who
 prefers to be rude and unhelpful rather than help out.

I wasn't being rude (although that's obviously a matter of opinion), i
was merely stating the fact that you weren't following Debian's code
of conduct for its mailling lists. If you needed to do a test you
could a) reply to a thread that interested you (with relevant
information to that thread) and, in the body, ask that someone confirm
they had received; or b) search the Debian archive later.

But i'm sure an experienced professional like you, who's even worked
with the best in the Linux world, will already know such meager means
of avoiding sending test messages to mailing lists. I still don't
think bragging is an excuse not to follow the CoC.

Nuno Magalhães
LU#484677


--
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Re: Test

2009-03-11 Thread matthew . a . w . smith
I'm glad the problems with list access have been worked out, and that the  
code of conduct has been reiterated for anyone who may not have been aware  
of it. Now that everyone's had their say, can this conversation please end?  
This could quickly degenerate into a series of shushes to loud people in  
a movie theater; it expresses displeasure with people who are being  
inconsiderate, but does nothing to help anyone hear the movie.


If anyone takes issue with my message here, please send that issue to me  
personally, rather than everyone on the 64 list.


Re: raid1 issue, somewhat related to recent debian on big machines

2009-03-11 Thread Alex Samad
On Wed, Mar 11, 2009 at 11:02:31AM +0100, Goswin von Brederlow wrote:
 Alex Samad a...@samad.com.au writes:
 
  On Wed, Mar 11, 2009 at 09:53:14AM +0100, Francesco Pietra wrote:
  To my dismay, I tried (repeatedly) unsuccessfully to implement the
  scheme below on old Tyan S2895 with two dual-opteron and two new
  Maxtor 250GB, before moving to the new machine. With the recent amd
  installer, I tried to set up (manually) the two partitions on both
  disks to set up raid1.
  
  First, I tried with a 0.2GB partition for boot but I found no way to
  have lvm for the other partition and where to set the root file
  system.
  
  Then, I tried with a 1GB partition but found no way to have it for
  both boot and root.
 
  from memory but the outline of who I install
 
  Create 3 paritions 1 2 3 on sda and sdb of 500M 10G (this is going to be
  raid1) the rest of the hard drive
 
  select all the partitions to be a raid device
 
  configure raid
  md0 = sda1 sdb1
  md1 = sda2 sdb2
  md2 = sda3 sdb3
 
  select md0 as type ext2 mount /boot
  select md1 as type ext3 mount /
  select md2 as type lvm device
 
 If you have a seperate / then you don't need /boot and 10G for /
 without /home, /usr, /var (see below) is way too big.
I had forgotten about /var I usually only place /var/log on a separate
lvm 

I would still argue for a separate /boot - plain old ext2, mount it ro
until kernel upgrade, maybe store a rescue image on their, and with the
size of disks now a days whats 500m or even 10G


 
  configure lvm
 
  ... create your lvm partitions 
  select each one and specify fs type and mount point
 
  then proceed
 
 The tricky part I think is that you have to configure the partitions
 to be used for raid before you can actualy create a raid. Then you
 have to configure the raid devices to be used for lvm before one can
 actualy create the lvm stuff. It makes raid/lvm kind of hidden.

yep, if you follow the steps above that should cover it, you have to
build the building blocks

 
 MfG
 Goswin
 
 
 -- 
 To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 
 

-- 
I would have to ask the questioner. I haven't had a chance to ask the 
questioners the question they've been questioning.  On the other hand, I firmly 
believe she'll be a fine secretary of labor.  And I've got confidence in Linda 
Chavez.  She is a�she'll bring an interesting perspective to the Labor 
Department.

- George W. Bush
01/08/2001
Austin, TX


signature.asc
Description: Digital signature