NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/40526: following newfs_udf example causes a kernel panic



On Sat, Jan 31, 2009 at 04:40:00PM +0000, pooka%iki.fi@localhost wrote:
 > Following an example in newfs_udf(8) causes a KASSERT kernel panic
 > in kern_physio. I did not investigate if it leads to problems on
 > non-DIAGNOSTIC kernels.
 >
 > dd if=/dev/zero of=bigdisk.2048.udf seek=9999999 count=1
 > vnconfig -c vnd0 bigdisk.2048.udf 2048/1/1/1
 > newfs_udf -L bigdisk /dev/rvnd0d
 >
 > [...] at least the example would be nice to remove from the man
 > page so that no other poor soul encounters crash-by-rtfm.

Can we just fix the example instead of removing it? E.g. something like

   dd if=/dev/zero of=bigdisk.2048.udf bs=10000000 count=1

although I guess the size should be a multiple of 512...

Note that PR 29838 already covers the fact that vnd can't handle
sparse files, so we can treat this PR just as a doc issue.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index