[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
savecore: /bsd: kvm_dump_mkheader: invalid magic in cpu_hdr
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: savecore: /bsd: kvm_dump_mkheader: invalid magic in cpu_hdr
- From: Marshall Midden <m4_(_at_)_NTS_(_dot_)_Umn_(_dot_)_EDU>
- Date: Mon, 31 Aug 1998 12:24:18 -0500 (CDT)
- Delivery-date: Mon Aug 31 10:25:07 1998
savecore: /bsd: kvm_dump_mkheader: invalid magic in cpu_hdr
I don't seem to be able to figure out how to get rid of this message
from savecore. (-f, -c don't work) Examined the code in sbin/savecore.c,
then lib/libkvm and I do not see how to get around it.
Boot via -s, I can dd if=/dev/null of=/dev/rsd0b for a whole bunch.
(This was a "cleaned" disk drive.)
df
/dev/sd0a 39543 24897 12669 66% /
disklabel sd0 # deleted obvious stuff
# /dev/rsd0c:
disk: SCSI disk
label: Quantum ProDrive
sectors/track: 35
tracks/cylinder: 6
cylinders: 974
total sectors: 204540
rpm: 3662 # I haven't changed this, it is wierd.
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 82320 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 391)
b: 122220 82320 swap # (Cyl. 392 - 973)
c: 204540 0 unused 0 0 # (Cyl. 0 - 973)
dmesg | grep sd0 (edited)
sd0 at scsibus0 targ 0 lun 0: <QUANTUM, P105SS 910-10-94, A.1> SCSI1 0/direct fixed
sd0: 100MB, 1019 cyl, 6 head, 33 sec, 512 bytes/sec, 205075 sec total
Visit your host, monkey.org