Date: Sat, 5 Jun 1999 10:00:03 -0700 (PDT) From: Juergen Lock <nox@jelal.kn-bremen.de> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/11945: tape problems on -stable, mt bl(ocksize), mt erase and hanging SCSI bus Message-ID: <199906051700.KAA27694@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/11945; it has been noted by GNATS. From: Juergen Lock <nox@jelal.kn-bremen.de> To: Matthew Jacob <mjacob@feral.com> Cc: Juergen Lock <nox@jelal.kn-bremen.de>, FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/11945: tape problems on -stable, mt bl(ocksize), mt erase and hanging SCSI bus Date: Sat, 5 Jun 1999 18:29:03 +0200 On Fri, Jun 04, 1999 at 09:51:29AM -0700, Matthew Jacob wrote: > > > sa0 at ncr0 bus 0 target 5 lun 0 > > sa0: <WANGTEK 5525ES SCSI 73Y1> Removable Sequential Access SCSI-2 device > > sa0: 4.901MB/s transfers (4.901MHz, offset 8) > > Okay. > > > 1. mt bl(ocksize) stopped working, regardless what blocksize > > i try i only get > > > > mt: /dev/nrsa0: blocksize: Invalid argument > > > > and on the console: > > > > Apr 27 16:00:47 saturn /kernel: (sa0:ncr0:0:5:0): MODE SELECT(06). CDB: 15 0 0 0 > > c 0 > > Apr 27 16:00:47 saturn /kernel: (sa0:ncr0:0:5:0): ILLEGAL REQUEST asc:26,0 > > Apr 27 16:00:47 saturn /kernel: (sa0:ncr0:0:5:0): Invalid field in parameter lis > > t sks:8f,4 > > Could you do a 'camcontrol debug -Ic 0:5:0' on this? > # camcontrol debug -Ic 0:5:0 Debugging enabled for 0:5:0 Jun 5 17:57:42 saturn /kernel: (xpt0:ncr0:0:5:0): debugging flags now 9 # mt bl 512 mt: /dev/nrsa0: blocksize: Invalid argument Jun 5 17:57:55 saturn /kernel: (sa0:ncr0:0:5:0): saopen(0): dev=0x0 softc=0x0 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): sastart(sa0:ncr0:0:5:0): RESERVE(06). CDB: 16 0 0 0 0 0 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): sastart(sa0:ncr0:0:5:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): LOAD UNLOAD. CDB: 1b 0 0 0 1 0 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): READ BLOCK LIMITS. CDB: 5 0 0 0 0 0 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): sastart(sa0:ncr0:0:5:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): Mode Sense Data= 0x0d 0x00 0x90 0x08 0x11 0x00 0x00 0x00 0x00 0x00 0x02 0x00 0x0f 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): sastart(sa0:ncr0:0:5:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): sastart(sa0:ncr0:0:5:0): MODE SENSE(06). CDB: 1a 0 0 0 c 0 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): Mode Sense Data= 0x0b 0x00 0x90 0x08 0x11 0x00 0x00 0x00 0x00 0x00 0x02 0x00 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): sastart(sa0:ncr0:0:5:0): MODE SELECT(06). CDB: 15 0 0 0 c 0 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): MODE SELECT(06). CDB: 15 0 0 0 c 0 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): ILLEGAL REQUEST asc:26,0 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): Invalid field in parameter list sks:8f,4 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): Err22, Mode Select Data= 0x00 0x00 0x10 0x08 0x7f 0x00 0x00 0x00 0x00 0x00 0x02 0x00 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): MODE SELECT(06). CDB: 15 0 0 0 c 0 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): MODE SELECT(06). CDB: 15 0 0 0 c 0 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): ILLEGAL REQUEST asc:26,0 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): Invalid field in parameter list sks:8f,4 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): saclose(0): dev=0x0 softc=0x101f Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): sastart(sa0:ncr0:0:5:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0 Jun 5 17:57:57 saturn /kernel: (sa0:ncr0:0:5:0): sastart(sa0:ncr0:0:5:0): RELEASE(06). CDB: 17 0 0 0 0 0 > What happens when you set this to blocksize zero? > # mt bl 0 mt: /dev/nrsa0: blocksize: Invalid argument Jun 5 18:00:00 saturn /kernel: (sa0:ncr0:0:5:0): saopen(0): dev=0x0 softc=0x101a Jun 5 18:00:01 saturn /kernel: (sa0:ncr0:0:5:0): sastart(sa0:ncr0:0:5:0): RESERVE(06). CDB: 16 0 0 0 0 0 Jun 5 18:00:01 saturn /kernel: (sa0:ncr0:0:5:0): sastart(sa0:ncr0:0:5:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Jun 5 18:00:01 saturn /kernel: (sa0:ncr0:0:5:0): sastart(sa0:ncr0:0:5:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 Jun 5 18:00:01 saturn /kernel: (sa0:ncr0:0:5:0): sastart(sa0:ncr0:0:5:0): MODE SENSE(06). CDB: 1a 0 0 0 c 0 Jun 5 18:00:01 saturn /kernel: (sa0:ncr0:0:5:0): Mode Sense Data= 0x0b 0x00 0x90 0x08 0x11 0x00 0x00 0x00 0x00 0x00 0x02 0x00 Jun 5 18:00:01 saturn /kernel: (sa0:ncr0:0:5:0): sastart(sa0:ncr0:0:5:0): MODE SELECT(06). CDB: 15 0 0 0 c 0 Jun 5 18:00:01 saturn /kernel: (sa0:ncr0:0:5:0): MODE SELECT(06). CDB: 15 0 0 0 c 0 Jun 5 18:00:01 saturn /kernel: (sa0:ncr0:0:5:0): ILLEGAL REQUEST asc:26,0 Jun 5 18:00:01 saturn /kernel: (sa0:ncr0:0:5:0): Invalid field in parameter list sks:8f,4 Jun 5 18:00:01 saturn /kernel: (sa0:ncr0:0:5:0): Err22, Mode Select Data= 0x00 0x00 0x10 0x08 0x7f 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Jun 5 18:00:01 saturn /kernel: (sa0:ncr0:0:5:0): MODE SELECT(06). CDB: 15 0 0 0 c 0 Jun 5 18:00:01 saturn /kernel: (sa0:ncr0:0:5:0): MODE SELECT(06). CDB: 15 0 0 0 c 0 Jun 5 18:00:01 saturn /kernel: (sa0:ncr0:0:5:0): ILLEGAL REQUEST asc:26,0 Jun 5 18:00:01 saturn /kernel: (sa0:ncr0:0:5:0): Invalid field in parameter list sks:8f,4 Jun 5 18:00:03 saturn /kernel: (sa0:ncr0:0:5:0): saclose(0): dev=0x0 softc=0x101f Jun 5 18:00:03 saturn /kernel: (sa0:ncr0:0:5:0): sastart(sa0:ncr0:0:5:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0 Jun 5 18:00:03 saturn /kernel: (sa0:ncr0:0:5:0): sastart(sa0:ncr0:0:5:0): RELEASE(06). CDB: 17 0 0 0 0 0 > > > ??? FWIW, all this worked on 2.1-stable... > > (case 3 didn't rewind automatically, just repeated the > > BLANK CHECK error; I don't know if that is/was a feature) > > > Oh, I'm sure I've broken things massively at this point. Again. > I'd guess 2.1-stable didn't do the LOAD UNLOAD, hence no rewind. Why it does 5 of them on some tapes and why that hangs the bus i have no idea. Regards, -- Juergen Lock <nox.foo@jelal.kn-bremen.de> (remove dot foo from address to reply) 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?199906051700.KAA27694>