Michael van Elst a écrit : > joel.bertrand%systella.fr@localhost (=?UTF-8?Q?BERTRAND_Jo=c3=abl?=) writes: > >> Last line begins with "dump", maybe end of line contains "device bad". > > "device bad" comes from the driver dump routine returning ENXIO. > > There can be multiple causes for this error, but the most prominent is > that you don't write to a partition marked as "swap". legendre# disklabel raid0 # /dev/rraid0d: ... 8 partitions: # size offset fstype [fsize bsize cpg/sgs] a: 67108864 0 4.2BSD 0 0 0 # (Cyl. 0 - 65535) b: 33554432 67108864 swap # (Cyl. 65536 - 98303) d: 1953517440 0 unused 0 0 # (Cyl. 0 - 1907731*) e: 134217728 100663296 4.2BSD 0 0 0 # (Cyl. 98304 - 229375) f: 67108864 234881024 4.2BSD 0 0 0 # (Cyl. 229376 - 294911) g: 536870912 301989888 4.2BSD 0 0 0 # (Cyl. 294912 - 819199) h: 1114656640 838860800 4.2BSD 0 0 0 # (Cyl. 819200 - 1907731*) > If the disk uses a regular disklabel, then the partition must be > of type FS_SWAP ("swap" in the disklabel tool). > > If the disk uses wedges, you must dump to a wedge of type > DKW_PTYPE_SWAP, DKW_PTYPE_RAID or DKW_PTYPE_CGD ("swap", "raid" > and "cgd" in the gpt tool). > > Your system tries to dump to device 18,1, that's raid0b (disklabel > partition). But it's possible that this is wrong and the disk uses > wedges. Then you need to configure the dump device, manually with > sawpctl or with a line in /etc/fstab like: I have also : legendre# cat /etc/fstab # NetBSD /targetroot/etc/fstab # See /usr/share/examples/fstab/ for more examples. /dev/raid0a / ffs rw,log 1 1 /dev/raid0b none swap sw 0 0 /dev/raid0b none swap dp 0 0 /dev/raid0e /usr ffs rw,log 1 2 /dev/raid0f /var ffs rw,log 1 2 /dev/raid0g /usr/src ffs rw,log 1 2 /dev/raid0h /srv ffs rw,log 1 2 ... In the past, panic created dump file in /var/crash: legendre# cat /var/crash/bounds 6 Best regards, JB
Attachment:
signature.asc
Description: OpenPGP digital signature