Subject: Re: Trouble with installboot
To: None <port-sparc@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-sparc
Date: 04/14/2000 17:37:46
>> The output from installboot shows that it finds some very
>> odd-looking block numbers:

>> /mnt/boot: block numbers: 4576 4584 4592 4600 4608 4616 4624 4632 4640 4648 4656
>>  4664
>> /mnt/boot: block numbers (indirect): -1606008816 -2142896128 -2142879736 5536481
>> 38

Well, aside from the spurious linebreaks...yeah, those look weird.  In
hex, they are -5fb9bff0 -7fba0000 -7fb9bff8 -2100000a, which I find
suspicious but be damned if I can tell what they mean - maybe
installboot's indirect block reading code is busted and it's getting
stack trash?

Maybe try building installboot with -g and walking through it with gdb?
Perhaps I should set up a scratch disk with a big /boot and investigate
how installboot works....

> Looks weird. What usually happens in indirect blocks is the negative
> of the indirect block number [...] is stored in the inode,

The *negative* of...?  What filesystem?  That's sure not how ffs has
worked when I've looked at it.

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B