NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
savecore setup
I have 2 disks
# disklabel -rt sd1
F36G|Automatically generated label:\
:dt=SCSI:se#512:ns#254:nt#20:sc#5080:nc#14002:\
:su#71132000:\
:pb#4196080:ob#0:tb=swap:\
:pc#71132000:oc#0:\
:pd#71132000:od#0:\
:pe#5423294:oe#4196080:te=4.2BSD:be#8192:fe#1024:\
:pf#16802400:of#9619374:tf=4.2BSD:bf#8192:ff#1024:\
:pg#4200600:og#26421774:tg=4.2BSD:bg#8192:fg#1024:\
:ph#4200600:oh#30622374:th=4.2BSD:bh#8192:fh#1024:\
:pi#36309026:oi#34822974:ti=4.2BSD:bi#8192:fi#1024:
# disklabel -rt sd2
ST36G|Automatically generated label:\
:dt=SCSI:se#512:ns#480:nt#8:sc#3840:nc#18496:\
:su#71132959:rm#14996:\
:pa#2100417:oa#63:ta=4.2BSD:ba#0:fa#0:\
:pc#71132896:oc#63:\
:pd#71132959:od#0:\
:pe#12583680:oe#2100480:te=4.2BSD:be#0:fe#0:\
:pf#20974080:of#14684160:tf=4.2BSD:bf#0:ff#0:\
:pg#12583680:og#35658240:tg=4.2BSD:bg#0:fg#0:\
:ph#22891039:oh#48241920:th=4.2BSD:bh#0:fh#0:
kernel config contains:
config netbsd root on sd2a type ffs
/etc/fstab contains:
/dev/sd2a / ffs rw,softdep 1 1
/dev/sd1b none swap sw,dp 0 0
Now, I managed to get a coredump written I assume to sd1b.
# swapctl -zn
dump device is sd1b
The problem is, how can I read it?
# savecore -vn
dumplo = 11238912 (21951 * 512)
savecore: /dev/rsd2b: Device not configured
Sure sd2b isn't configured... Why is savecore looking there? Simply
partition b of the same disk root is on, even though there is no
such partition?
It may be a bit late now too:
# swapctl -lk
Device 1K-blocks Used Avail Capacity Priority
/dev/sd1b 2098040 0 2098040 0% 0
This is on NetBSD-4.99.55/i386 of Mar 3 11:19 GMT.
Cheers,
Patrick
Home |
Main Index |
Thread Index |
Old Index