On Tue, 20 Jul 1999, Poul-Henning Kamp wrote:

> In message <[EMAIL PROTECTED]>, "Steven G. Kar
> gl" writes:
> >
> >During the boot process I see
> 
> >   dumpon: crash dumps to /dev/da0s1b (4, 131073)
> >   checking for core dump...savecore: can't find device 13/131073
> 
> >It seems that the the major device number is reset from 4 to 13.
> 
> >troutmask:kargl[225] swapinfo
> >Device      1K-blocks     Used    Avail Capacity  Type
> >/dev/#B13:0x20001    511872        0   511872     0%    Interleaved
> 
> Yes, all dev_t's which make it out of the kernel have cmajor
> numbers now.
> 
> Try this change to savecore:
> 
>       /ddname = find_dev/s/BLK/CHR/

No, that's wrong. You cannot do buffered-type IO on a cdev. I committed
a workaround, and now it works. There's no easy way around this, except
possibly making kern.dumpdev a string (makes quite a bit of sense there...)

> 
> 
> --
> Poul-Henning Kamp             FreeBSD coreteam member
> [EMAIL PROTECTED]               "Real hackers run -current on their laptop."
> FreeBSD -- It will take a long time before progress goes too far!
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 

 Brian Fundakowski Feldman      _ __ ___ ____  ___ ___ ___  
 [EMAIL PROTECTED]                   _ __ ___ | _ ) __|   \ 
     FreeBSD: The Power to Serve!        _ __ | _ \._ \ |) |
       http://www.FreeBSD.org/              _ |___/___/___/ 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to