[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GEOM will panic 6.0-current on userland wrong-length disk reads
- Subject: GEOM will panic 6.0-current on userland wrong-length disk reads
- From: phk at phk.freebsd.dk (Poul-Henning Kamp)
- Date: Thu Oct 14 00:21:06 2004
Do you have rev. 1.63 of sys/geom/geom_io.c ?
In message <200410140521_(_dot_)_i9E5L06d001096_(_at_)_mrynet_(_dot_)_com>, User Staylor writes:
>Just discovered (and verified with latest build on
>current.freebsd.org) that the following will panic
>the new GEOM fdc driver in 6.0-current:
># dd if=/dev/fd0 bs=55
>panic: wrong length 55 for sectorsize 512
>And further checking, discovered that ALL disk devices will cause
>dd if=/dev/ad0 bs=1234
>panic: wrong length 1234 for sectorsize 512
>Perhaps this is geom's way of complaining? Seems a rather radical
>way to handle non-matching-blocksize reads of disk devices. A
>simple programming error reading a disk dev node will panic the
>freebsd-geom_(_at_)_freebsd_(_dot_)_org mailing list
>To unsubscribe, send any mail to "freebsd-geom-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk_(_at_)_FreeBSD_(_dot_)_ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.