Comment 12 for bug 20792

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 4 Sep 2005 13:27:08 +0200
From: Sven Luther <email address hidden>
To: Sven Luther <email address hidden>,
 Michael Schmitz <email address hidden>,
 Aurelien Jarno <email address hidden>, <email address hidden>, <email address hidden>
Subject: Re: Bug#326220: libc6 2.3.5 ldconfig segfaults on powerpc oldworld

On Sun, Sep 04, 2005 at 06:54:57AM -0300, Rog=E9rio Brito wrote:
> I know that this may be off-topic for the bug, but just for archiving
> purposes, I'm also sending it to the BTS.
>=20
> On Sep 03 2005, Sven Luther wrote:
> > There has been some discussion about using hfs formatted floppies wit=
h
> > the kernel on it without miboot though.
>=20
> Are you talking about the discussion we had on debian-powerpc a few day=
s
> ago? If yes, then you perhaps misunderstood what I said.
>=20
> I said that I the method I use is to take the HFS floppy from woody and
> replace its kernel with a new generated, bleeding-edge kernel (taken
> directly from Andrew Morton experimental tree).
>=20
> I just checked and, yes, the fake Finder and System folders *are*
> miboot.
>=20
> For more details, please see the comments I made to myself on
> <http://www.ime.usp.br/~rbrito/diary/>.

Ok, are you saying that you managed to build miboot floppies using the ol=
d
woody miboot floppies, (i think woody came with do-it-yourself-miboot stu=
ff,
not sure). This would then be a 2.6 kernel. Could you post me the config =
file
for this kernel ?

Could you also try the same kernel with the miboot from
http://people.debain.org/~luther/miboot

Then do :

 gzip -9 vmlinux

 dd if=3D/dev/zero of=3Dmiboot_floppy bs=3D1024 count=3D1440
 hformat -l "miboot floppy" miboot_floppy

 echo device miboot_floppy > miboot.conf
 echo kernel vmlinux.gz root=3D0200 load_ramdisk=3D1 prompt_ramdisk=3D1 d=
evfs=3Dmount debconf/priority=3Dmedium >> miboot.conf
 miboot -c miboot.conf

If this works, it would be nice to do the following :

   objcopy -O aixcoff-rs6000 -R .stab -R .stabstr -R .comment -add-sectio=
n=3Dimage=3Dvmlinux.gz dummy.o vmlinux.gz

just after the gzip step, where dummy.o is taken out of
arch/ppc/boot/openfirmware, you need to do a make zImage to compile it.

mkvmlinuz -a used by d-i currently does this second step, which may be ca=
use
fo this problem.

Friendly,

Sven Luther