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
The following reply was made to PR kern/40526; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
To: pooka%iki.fi@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
gnats-bugs%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/40526: following newfs_udf example causes a kernel panic
Date: Sat, 7 Feb 2009 21:26:45 +0000
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