From owner-freebsd-current Fri Mar 24 20:43:14 2000 Delivered-To: freebsd-current@freebsd.org Received: from reyim.ne.mediaone.net (reyim.ne.mediaone.net [24.218.251.241]) by hub.freebsd.org (Postfix) with ESMTP id E3AD237B522 for ; Fri, 24 Mar 2000 20:43:10 -0800 (PST) (envelope-from bloom@acm.org) Received: from acm.org (localhost [127.0.0.1]) by reyim.ne.mediaone.net (8.9.3/8.9.3) with ESMTP id XAA00419; Fri, 24 Mar 2000 23:42:35 -0500 (EST) (envelope-from bloom@acm.org) Message-ID: <38DC43BA.D9849E8C@acm.org> Date: Fri, 24 Mar 2000 23:42:35 -0500 From: Jim Bloom Reply-To: bloom@acm.org X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD mailing list Cc: freebsd-current@freebsd.org Subject: Re: fd0: Debugger("d_iocmd botch") called. References: <200003242206.OAA00645@mrynet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG FreeBSD mailing list wrote: > > This patch does indeed fix the writing of floppies. However, fdformat(1) > still fails as follows: That is very strange. My patch only applies to formatting floppies. It did not touch any routine used in writing a floppy. I have no idea at this time what is causing your other problems. I am unable to write to a floppy at this time. I'm not seeing any errors, but nothings is getting written. Jim Bloom bloom@acm.org > > ttyp7:--ROOT--@mrynet (22): fdformat -f 1440 fd0.1440 > Format 1440K floppy `/dev/fd0.1440'? (y/n): y > Processing EE^C------------------------------------ > > with /var/log/messages indicating: > Mar 24 13:51:13 mrynet /kernel: fd0c: hard error reading fsbn 0 of 0-17 (ST0 40 ST1 4 ST2 0 > cyl 0 hd 0 sec 2) > Mar 24 13:51:13 mrynet /kernel: fd0c: hard error reading fsbn 0 of 0-17 (ST0 40 ST1 4 ST2 0 > cyl 0 hd 0 sec 2) > Mar 24 13:51:13 mrynet /kernel: fd0c: hard error reading fsbn 18 of 18-35 (ST0 44 ST1 > 4 ST2 0 cyl 0 hd 1 sec 2) > Mar 24 13:51:13 mrynet /kernel: fd0c: hard error reading fsbn 18 of 18-35 (ST0 44 ST1 > 4 ST2 0 cyl 0 hd 1 sec 2) > Mar 24 13:51:14 mrynet /kernel: fd0c: hard error reading fsbn 36 of 36-53 (ST0 40 ST1 4 ST2 0 > cyl 1 hd 0 sec 2) > Mar 24 13:51:14 mrynet /kernel: fd0c: hard error reading fsbn 36 of 36-53 (ST0 40 ST1 4 ST2 0 > cyl 1 hd 0 sec 2) > (and continuing). > > Additionally, reading a floppy returns errors for any read: > (This is a freshly formatted floppy verified on other machines) > > ttyp7:--ROOT--@mrynet (7): dd if=/dev/rfd0.1440 | wc > dd: /dev/rfd0.1440: Input/output error > 0+0 records in > 0+0 records out > 0 bytes transferred in 2.395566 secs (0 bytes/sec) > 0 0 0 > > with /var/log/messages indicating: > Mar 24 14:04:28 mrynet /kernel: fd0c: hard error reading fsbn 0 (ST0 40 ST1 4 ST2 0 cyl 0 hd 0 > sec 2) > Mar 24 14:04:38 mrynet /kernel: fd0c: hard error reading fsbn 0 (ST0 40 ST1 4 ST2 0 cyl 0 hd 0 > sec 2) > > Thanks, > -scott > -- > Scott G. Akmentins-Taylor InterNet: staylor@mrynet.com > MRY Systems staylor@mrynet.lv To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message