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

Bug#326220: libc6 2.3.5 ldconfig segfaults on powerpc oldworld



On Sun, Sep 04, 2005 at 06:54:57AM -0300, Rogério 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.
> 
> On Sep 03 2005, Sven Luther wrote:
> > There has been some discussion about using hfs formatted floppies with
> > the kernel on it without miboot though.
> 
> Are you talking about the discussion we had on debian-powerpc a few days
> ago? If yes, then you perhaps misunderstood what I said.
> 
> 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).
> 
> I just checked and, yes, the fake Finder and System folders *are*
> miboot.
> 
> 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 old
woody miboot floppies, (i think woody came with do-it-yourself-miboot stuff,
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=/dev/zero of=miboot_floppy bs=1024 count=1440
	hformat -l "miboot floppy" miboot_floppy

	echo device miboot_floppy > miboot.conf
	echo kernel vmlinux.gz root=0200 load_ramdisk=1 prompt_ramdisk=1 devfs=mount debconf/priority=medium >> 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-section=image=vmlinux.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 cause
fo this problem.

Friendly,

Sven Luther




Reply to: