[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tracking sarge



Kurt Yoder <ktydeb@richard-group.com> writes:

> On Feb 15, 2005, at 3:29 AM, Goswin von Brederlow wrote:
>> That is the right one. My /usr/share/initrd-tools/scripts/e2fsprogs
>> contains the following line:
>>
>> LIBS=`ldd $PROGS | grep -v linux-gate.so | sort -u | \
>>
>
> This looks like a partial line? I definitely don't have a line like
> that in my /usr/share/initrd-tools/scripts/e2fsprogs though.

That is very strange. Maybe someone patched it for amd64 and forgot to
increase the version. I will check into that.

...
> I had tried alioth, but was unable to install any packages using
> it. Is this the problem? I'm still using the 32-bit userland and
> 64-bit kernel.

Alioth has nothing there for 64bit kernel with 32bit userland. You
have to use the official debian there.

>> If so please change the first line from '#!/bin/sh' to '#!/bin/sh -x'
>> and run
>>
>> apt-get install --reinstall kernel-image-2.6.8-9-amd64-generic 2>&1
>> | tee log
>>
>>
>> MfG
>>         Goswin
>>
>>
>
> I no longer have 2.6.8-9 available, but I do have 2.6.8-10:
>
>
> root@ns2:/tmp# apt-get install kernel-image-2.6.8-10-amd64-generic
> 2>&1 | tee log
> Reading Package Lists...
> Building Dependency Tree...
> Suggested packages:
>    lilo kernel-doc-2.6.8
> The following NEW packages will be installed:
>    kernel-image-2.6.8-10-amd64-generic
> 0 upgraded, 1 newly installed, 0 to remove and 48 not upgraded.
> Need to get 12.6MB of archives.
> After unpacking 42.8MB of additional disk space will be used.
> Get:1 http://mirrors.kernel.org testing/main
> kernel-image-2.6.8-10-amd64-generic 2.6.8-11 [12.6MB]
> Fetched 12.6MB in 47s (266kB/s)
> Selecting previously deselected package
> kernel-image-2.6.8-10-amd64-generic.
> (Reading database ... 21247 files and directories currently installed.)
> Unpacking kernel-image-2.6.8-10-amd64-generic (from
> .../kernel-image-2.6.8-10-amd64-generic_2.6.8-11_i386.deb) ...
> Setting up kernel-image-2.6.8-10-amd64-generic (2.6.8-11) ...
> cpio: (0x00000000): No such file or directory

This is before the /usr/share/initrd-tools/scripts/e2fsprogs starts or
sh -x would have shown some output already. So another script is buggy
and needs to be fixed for the 32bit emulation.

Now /usr/share/initrd-tools/scripts/e2fsprogs starts:

> + cp /usr/share/e2fsprogs/initrd.ext3-add-journal
> /tmp/mkinitrd.4463/initrd/scripts/ext3-add-journal.sh
> + cp /sbin/tune2fs /tmp/mkinitrd.4463/initrd/sbin
> + cp /usr/bin/awk /tmp/mkinitrd.4463/initrd/bin/awk
> ++ ldd /sbin/tune2fs /usr/bin/awk

Here the '| grep -v linux-gate.so' would be in my script. The rest is
clear, without the grep it misbehaves.

MfG
        Goswin



Reply to: