setting dumpdev from loader panics

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Wed May 23 00:45:26 PDT 2007


I am setting my dumpdev in the loader, so that panics in the kernel boot can also be dumped.  However, with latest HEAD, this panics: (transcript)

dump_conf
setdumpdev
dev_dioctl
diskioctl
dsioctl
problem is this line:

       if (slice >= ssp->dss_nslices)

because ssp == NULL.  probably this is not initialized that early in the boot.

i've worked around it by commenting out my dumpdev line in loader.conf.

in case it's needed, i'm dumping to /dev/ad4s1d.

cheers
 simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00000.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20070523/7dee1b6e/attachment-0017.obj>


More information about the Bugs mailing list