Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Feb 1999 11:34:53 +0000
From:      Nick Barnes <Nick.Barnes@pobox.com>
To:        freebsd-bugs@FreeBSD.ORG
Subject:   (2.2.8) Writing incomplete blocks to /dev/nrst0 hangs the kernel
Message-ID:  <939.918128093@raven.ravenbrook.com>

next in thread | raw e-mail | index | archive | help
I'm using FreeBSD 2.2.8.

If I write a file which is not a complete number of blocks to
/dev/nrst0 (which in my case is an HP "C1554A DDS-3 SCSI DAT Drive",
according to the printed documentation), the kernel seems to hang.  No
panic or other kernel messages. No response to keyboard (including
Alt-F<n>), no response to ping.  It seems irrelevant what I use to do
the writes (certainly both cat and dd break it).  I can work around
using "dd conv=osync".  Here's my SCSI driver initializing (from
dmesg):

aic0 at 0x340-0x35f irq 11 on isa
aic0 waiting for scsi devices to settle
(aic0:1:0): "IBM DCAS-34330 S65A" type 0 fixed SCSI 2
sd0(aic0:1:0): Direct-Access 4134MB (8467200 512 byte sectors)
(aic0:2:0): "HP C1537A L708" type 1 removable SCSI 2
st0(aic0:2:0): Sequential-Access density code 0x25, variable blocks, write-enabled

Nick Barnes
Systems Manager
Geodesic Systems

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?939.918128093>