Port-sparc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
NetBSD 10.0 partitioning issues and sysinst segfaults
Hi!
I want to upgrade my SS20 from 9.3 to 10.0.
Not so easy, the first attempt of upgrade failed, because I had separate
/ and /usr and /usr was too small (1.5 GB no packages, ?!?) so I
thought, time to repartition the disk! Better one whole big partition
plus swap.
I tried booting from cdrom but for some reason it "hangs forever" this way:
<#0> ok boot cdrom netbsd
Initializing Memory \
Boot device: /iommu/sbus/espdma@f,400000/esp@f,800000/sd@6,0:d File and
args: netbsd
<stays there> no CD activity.
what is going on? my drive is bad? is is not good?
Luckily in my upgrade attempts I dumped miniroot on swap partition, so I
can try installing using that. Swap partition is on the second hard disk.
Create
use existing disklabel.
I start with:
Start (MB) End (MB) Size (MB) FS type Flag Filesystem
------------ ------------ ------------ -------- ---- ----------------
a: 0 2527 2528 FFS I /
b: 2529 2656 128 swap
c: 0 4156 4157 Whole disk
d: 2657 4156 1500 FFS /usr
and change it to this:
Start (MB) End (MB) Size (MB) FS type Flag Filesystem
------------ ------------ ------------ -------- ---- ----------------
a: 0 3643 3644 FFS IN /
b: 3645 4156 512 swap
>c: 0 4156 4157 Whole disk
------------ ------------ ------------ -------- ---- ----------------
looks fine?
I give partition ok... but then see this:
116888C6714B1825E56406C96C06B1D3FinishedCommand ended on signal
E56406C96C06B1D3Finisheddisklabel -w -r -f /tmp/disklabel.106 sd0
'sd' 'fict
ious'
Hit enter to continue
hit continue, get back to the beginning. From then on its just a big
amount of segfaults.
Try to drop to shell and zero partition:
[1] Segmentation fault /sysinst
# dd if=/dev/zero of=/dev/rsd0c bs=8k count=1
[1] Segmentation fault dd if=/dev/zero of=/dev/rsd0c bs=8k count=1
# halt
[1] Illegal instruction halt
If instead I usereboot and choose use "set sizes" I get a segmentation fault
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x What would you like to do? x
x x
x a: Use existing disklabel partitions x
x[1] Segmentation fault /sysinstx
this is becoming complicated.... and segfaults are always a bug.
Riccardo
Home |
Main Index |
Thread Index |
Old Index