From owner-freebsd-scsi Fri May 28 3:57: 0 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (Postfix) with ESMTP id B123E15AB6 for ; Fri, 28 May 1999 03:56:32 -0700 (PDT) (envelope-from wilko@yedi.iaf.nl) Received: from yedi.iaf.nl (uucp@localhost) by uni4nn.gn.iaf.nl (8.9.2/8.9.2) with UUCP id MAA10590; Fri, 28 May 1999 12:02:00 +0200 (MET DST) Received: (from wilko@localhost) by yedi.iaf.nl (8.9.3/8.9.3) id JAA09913; Fri, 28 May 1999 09:04:10 +0200 (CEST) (envelope-from wilko) From: Wilko Bulte Message-Id: <199905280704.JAA09913@yedi.iaf.nl> Subject: Re: proper mode page values? In-Reply-To: <199905280312.VAA23315@panzer.plutotech.com> from "Kenneth D. Merry" at "May 27, 1999 9:12: 3 pm" To: ken@plutotech.com (Kenneth D. Merry) Date: Fri, 28 May 1999 09:04:10 +0200 (CEST) Cc: dkelly@hiwaay.net, freebsd-scsi@FreeBSD.ORG X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-pgp-info: PGP public key at 'finger wilko@freefall.freebsd.org' X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org As Kenneth D. Merry wrote ... > David Kelly wrote... > > "Kenneth D. Merry" writes: > > > > swap_pager: indefinite wait buffer: device: 0x30401, blkno: 264, size: 4096 > > > > > > > > The problem blocks are always 264, 272, and 496. > > > > > > You should also be getting some SCSI error message printed on the console. [...] > > > > nospam: [1037] camcontrol defects -n da -u 0 -f block -P > > > > error reading defect list: Input/output error > > > > > > You need to use the -v switch on the command line to see why the command is > > > failing. > > > > Fair enough. Doesn't look like -v adds much information: > > > > nospam: [1045] camcontrol defects -v -n da -u 0 -f block -G > > error reading defect list: Input/output error > > CAM status is 0 > > nospam: [1046] camcontrol defects -n da -u 0 -f block -G > > error reading defect list: Input/output error > > nospam: [1047] id > > uid=0(root) gid=0(wheel) groups=0(wheel), 2(kmem), 3(sys), 4(tty), 5(operator), 20(staff), 31(guest) > > nospam: [1048] > > > > Ah! Forgot to check /var/log/messages. This is the output for a single > > attempt at "camcontrol defects", the one listed above: > > > > May 27 19:12:22 nospam /kernel: (pass2:ncr0:0:0:0): extraneous data discarded. > > May 27 19:12:22 nospam /kernel: (pass2:ncr0:0:0:0): COMMAND FAILED (9 80) @0xc0abbe00. > > May 27 19:12:22 nospam /kernel: (pass2:ncr0:0:0:0): extraneous data discarded. > > May 27 19:12:22 nospam /kernel: (pass2:ncr0:0:0:0): COMMAND FAILED (9 80) @0xc0abbe00. > > Hmm, that helps a little, but not much. I don't know how to decipher the > NCR driver error messages. > > If someone knows what those NCR messages mean, it might shed some light on > things. You could also try hooking the disks up to an Adaptec controller. > (at least I generally understand the errors the Adaptec driver spits out, > or can ask Justin what they mean) FWIW I get errors close to the ones you see when trying to do a 'camcontrol defects': May 28 10:02:21 p100 /kernel: (pass2:ncr1:0:0:0): extraneous data discarded. May 28 10:02:21 p100 /kernel: (pass2:ncr1:0:0:0): extraneous data discarded. May 28 10:02:21 p100 /kernel: (pass2:ncr1:0:0:0): COMMAND FAILED (9 0) @0xc080fa00. May 28 10:02:21 p100 /kernel: (pass2:ncr1:0:0:0): COMMAND FAILED (9 0) @0xc080fa00. error reading defect list: Input/output error p100#May 28 10:02:23 p100 /kernel: (pass2:ncr1:0:0:0): extraneous data discarded. May 28 10:02:23 p100 /kernel: (pass2:ncr1:0:0:0): extraneous data discarded. May 28 10:02:23 p100 /kernel: (pass2:ncr1:0:0:0): COMMAND FAILED (9 0) @0xc080fa00. May 28 10:02:23 p100 /kernel: (pass2:ncr1:0:0:0): COMMAND FAILED (9 0) @0xc080fa00. p100#uname -a FreeBSD p100.iaf.nl 4.0-CURRENT FreeBSD 4.0-CURRENT #4: Wed May 26 23:14:09 CEST 1999 root@p100.iaf.nl:/usr/src/sys/compile/P100 i386 | / o / / _ Arnhem, The Netherlands - Powered by FreeBSD - |/|/ / / /( (_) Bulte WWW : http://www.tcja.nl http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message