Subject: MO drives on -current, anyone?
To: None <current-users@NetBSD.ORG>
From: Rafal Boni <r-boni@uiuc.edu>
List: current-users
Date: 02/17/1995 04:17:14
I just got a 1.3Gig Pinnacle Micro Sierra MO drive to play with, and am
seeing some strange problems.  I'm on the i386, using the AIC-6x60 driver,
but feel this is probably a generic SCSI thing if it's a NetBSD problem.

The basic problem I see is a "sd1: illegal request (data ...)", when writing
to sd1, which is the MO drive.  A couple times this has proved to result in
data on sd1 being different than the data being copied to it, and just now
my machine locked up after I issued a "cp /usr/local/bin/* ." (. being the one
FS on the MO drive).  It seemed to copy OK until I got the illegal request 
and then went out to lunch.

I copied about 200 Meg to the flip-side of the cartridge in DOS, so the SCSI
cabling and termination should be OK [sd0, an internal drive is terminated as
is the MO drive... My SCSI card seems to be missing resistors to remove, but
I assume it must be smart enough to do something right... (?)].

Anyway, here's a snip of my messages from before the lockup:

NetBSD 1.0A (RAFAL) #1: Tue Feb  7 03:22:54 CST 1995
    rafal@rafal.slip.uiuc.edu:/usr/src/sys/arch/i386/compile/RAFAL
CPU: i486DX (486-class CPU)
real mem  = 8257536
avail mem = 6623232
using 126 buffers containing 516096 bytes of memory
isa0 (root)
npx0 at isa0 port 0xf0-0xff: using exception 16
vt0 at isa0 port 0x60-0x6f irq 1: s3 911, 80 col, color, 8 scr, mf2-kbd, [R3.20-b16]
com0 at isa0 port 0x3f8-0x3ff irq 4: ns82450 or ns16450, no fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns82450 or ns16450, no fifo
com2 at isa0 port 0x3e8-0x3ef irq 9: ns16550a, working fifo
lpt0 at isa0 port 0x278-0x27f: polled
aic0 at isa0 port 0x340-0x35f irq 11
scsibus0 at aic0
probe(aic0:0:0): sync, offset 8, period 100nsec
aic0 targ 0 lun 0: <CONNER, CFP1060S 1.05GB, 2035> SCSI2 0/direct fixed
sd0 at scsibus0: 1013MB, 2756 cyl, 8 head, 94 sec, 512 bytes/sec
probe(aic0:3:0): sync, offset 8, period 200nsec
aic0 targ 3 lun 0: <PINNACLE, OHD-1300, 1.41> SCSI2 0/direct removable
sd1 at scsibus0sd1: mode sense (4) returned nonsense; using ficticious geometry
: 568MB, 568 cyl, 64 head, 32 sec, 512 bytes/sec
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: 313MB, 1224 cyl, 15 head, 35 sec, 512 bytes/sec <WD1007V>
wd0: using 1-sector 16-bit pio transfers, chs addressing
wd1 at wdc0 drive 1: 633MB, 1632 cyl, 15 head, 53 sec, 512 bytes/sec <WD1007V>
wd1: using 1-sector 16-bit pio transfers, chs addressing
sb0 at isa0 port 0x220-0x237 irq 5 drq 1: dsp v4.11
root device eisa not configured
root device pci not configured
biomask 4860 netmask 21a ttymask 21a
no core dump
lpd restarted

 Aperture driver for XFree86 version 1.1
kernel security level changed from 0 to 1

sd1: mode sense (4) returned nonsense; using ficticious geometry
sd1: no disk label
sd1(aic0:3:0): illegal request, data = 00 00 00 00 24 00
message repeated 2 times
ROOT LOGIN (root) ON ttyv0
sd1(aic0:3:0): illegal request, data = 00 00 00 00 20 00
sd1(aic0:3:0): illegal request, data = 00 00 00 00 20 00
sd1(aic0:3:0): illegal request, data = 00 00 00 00 24 00
message repeated 2 times
sd1(aic0:3:0): illegal request, data = 00 00 00 00 20 00
sd1(aic0:3:0): illegal request, data = 00 00 00 00 20 00
sd1(aic0:3:0): illegal request, data = 00 00 00 00 24 00
message repeated 2 times

				Any info appreciated,
						--rafal

+--------------------------------------------------------+ +------------------+
| In search of the stress-strain relationship governing  |/|       Rafal Boni |
| students of mechanics... Experimentally.               |\|  r-boni@uiuc.edu |
+--------------------------------------------------------+ +------------------+