Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!manuel!munnari.oz.au!uunet!usc!sol.ctr.columbia.edu!caen!news.cs.indiana.edu!noose.ecn.purdue.edu!neon.ecn.purdue.edu!tgt From: tgt@neon.ecn.purdue.edu (Conan the Librarian) Subject: SCSI driver bug when accessing DOS partition Message-ID: <1992Aug19.020535.2080@noose.ecn.purdue.edu> Sender: news@noose.ecn.purdue.edu (USENET news) Organization: Purdue University Engineering Computer Network Date: Wed, 19 Aug 1992 02:05:35 GMT Lines: 29 I ran across the following Adaptec driver bug when attempting to configure mtools to read an 80 Mb DOS partition d:, which is on a SCSI disk. The problem: the SCSI driver routine asstart (in the file /sys/i386/isa/as.c) fails with the message "out of range, cannot happen?" (due to nscatter==NSCATTER, which means nothing to me!!). This subsequently causes the disk_read() routine of mtools (in the file buf_read()) to fail, printing the message "disk_read: read: Device not configured" I have verified that the zone I wish to begin reading is the beginning of the DOS partition, via "dd if=/dev/ras0d ...". The driver is bombing when attempting to initially read the FAT, which is 160 sectors (2 sectors/MB). When I limit disk_read() to attempt no more than 80 sectors per any given read attempt (1/2 the FAT on the first attempt), things works (mdir is able to get enough of the FAT and then the main directory entry to show me what is on the disk). I am running with this "hack" right now, which is ok until I start filling up the DOS partition with files. Any driver hackers out there care to take a crack at a real fix for this one?? Thanks very much. -tom -- Tom Tobin UUCP: pur-ee!tgt Dept. of ChE INTERNET: tgt@ecn.purdue.edu Purdue University Ma Bell: home (317) 463-0189 W. Lafayette, IN 47907 office " 494-4052