From owner-freebsd-scsi Fri Nov 17 21:09:57 1995 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA22334 for freebsd-scsi-outgoing; Fri, 17 Nov 1995 21:09:57 -0800 Received: from flowbee.interaccess.com (jaykuri@flowbee.interaccess.com [198.80.0.32]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id VAA22305 for ; Fri, 17 Nov 1995 21:09:52 -0800 Received: (from jaykuri@localhost) by flowbee.interaccess.com (8.6.12/8.6.9) id WAA09985; Fri, 17 Nov 1995 22:59:54 -0600 Date: Fri, 17 Nov 1995 22:59:53 -0600 (CST) From: Jay Kuri To: Peter Dufault cc: julian@ref.tfs.com, freebsd-scsi@FreeBSD.org Subject: Re: Help! My SCSI-2 CD rom is timing out In-Reply-To: <199511161329.IAA09620@hda.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.org Precedence: bulk > START_STOP with start bit of one (make unit ready for use); > I assume you've tried this with other disks? > We ignore this error in cd_open.. Yes, I have tried several different ones. ISO 9660 format and MS-DOS format, still nothing. > Prevent removal... I assume this is for drives with locking mechanisms... shouldn't matter that this one doesn't. That's a standard scsi command. > > cd0(aic0:1:0): back in cmd() > > cd0(aic0:1:0): sc_err1,err = 0x1 > > code70 valid0 seg0 key5 ili0 eom0 fmark0 > > info: 0 0 0 0 followed by 10 extra bytes > > extra: 0 0 0 0 20 0 0 0 0 0 > 20,0=Invalid Command Operation Code (I don't know why it wasn't printed). > Maybe because it didn't spin up? That is what I was thinking... but the drive has mounted once or twice. Can you think of anything I could try to see if we could get it to access? The strange thing is that a colleague of mine has the same drive (slightly older version) And it mounts, umounts, mounts, umounts, again and again without a hitch. I'm gonna tack the scsi-debug output to the end of this message, just for something to compare to the other one. The only difference in the drives (that I can see) is that mine has a later version number (2.04) than my Colleagues (1.03) anyway, here it is: FreeBSD 2.1.0-951104-SNAP #0: Tue Nov 14 20:25:06 1995 jaykuri@jayshouse.iway.net:/usr/src/sys/compile/JAYSHOUSE.SCSI CPU: i486DX (486-class CPU) real memory = 16777216 (16384K bytes) avail memory = 15077376 (14724K bytes) Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x300-0x31f irq 10 maddr 0xcc000 msize 8192 on isa ed0: address 00:00:c0:6c:71:b5, type SMC8416C/SMC8416BT (16 bit) sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 520MB (1065456 sectors), 1057 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): wd1: 814MB (1667232 sectors), 1654 cyls, 16 heads, 63 S/T, 512 B/S aic0 at 0x140-0x15f irq 11 on isa aic0 waiting for scsi devices to settle (aic0:1:0): "MEDIAVIS RENO CD-ROMX2A 1.03" type 5 removable SCSI 2 cd0(aic0:1:0): CD-ROM cd0(aic0:1:0): UNIT ATTENTION asc:28,0 cd0(aic0:1:0): Not ready to ready transition, medium may have changed cd present.[400000 x 2048 byte records] npx0 on motherboard npx0: INT 16 interface sb0 at 0x220 irq 5 drq 1 on isa sb0: sbxvi0 at 0x0 drq 5 on isa sbxvo0: sbmidi0 at 0x330 on isa opl0 at 0x388 on isa opl0: cd0(aic0:1:0): cdclose: Closing device cd0(aic0:1:0): cd_open: dev=0x600 (unit 0,partition 0) cd0(aic0:1:0): scsi_cmd cd0(aic0:1:0): get_xs cd0(aic0:1:0): returning xs(0xf052bb00): flg(0x60)sc_link(0xf052bb80)retr(0x2)timo(0x186a0)cmd(0xf052bb58)len(0x6)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)cd0(aic0:1:0): command: 0,0,0,0,0,0-[0 bytes] cd0(aic0:1:0): aic_scsi_cmd cd0(aic0:1:0): scsi_done cd0(aic0:1:0): command: 0,0,0,0,0,0-[0 bytes] cd0(aic0:1:0): back in cmd() cd0(aic0:1:0): sc_err1,err = 0x0 cd0(aic0:1:0): free_xs cd0(aic0:1:0): calling private start() cd0(aic0:1:0): cdstart0 cd0(aic0:1:0): scsi_cmd cd0(aic0:1:0): get_xs cd0(aic0:1:0): returning xs(0xf052bb00): flg(0x60)sc_link(0xf052bb80)retr(0x2)timo(0x186a0)cmd(0xf052bb58)len(0x6)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)cd0(aic0:1:0): command: 0,0,0,0,0,0-[0 bytes] cd0(aic0:1:0): aic_scsi_cmd cd0(aic0:1:0): scsi_done cd0(aic0:1:0): command: 0,0,0,0,0,0-[0 bytes] cd0(aic0:1:0): back in cmd() cd0(aic0:1:0): sc_err1,err = 0x0 cd0(aic0:1:0): free_xs cd0(aic0:1:0): calling private start() cd0(aic0:1:0): cdstart0 cd0(aic0:1:0): Device present cd0(aic0:1:0): scsi_cmd cd0(aic0:1:0): get_xs cd0(aic0:1:0): returning xs(0xf052bb00): flg(0x21)sc_link(0xf052bb80)retr(0x2)timo(0x2710)cmd(0xf052bb58)len(0x6)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)cd0(aic0:1:0): command: 1b,0,0,0,1,0-[0 bytes] cd0(aic0:1:0): aic_scsi_cmd cd0(aic0:1:0): scsi_done cd0(aic0:1:0): command: 1b,0,0,0,1,0-[0 bytes] cd0(aic0:1:0): back in cmd() cd0(aic0:1:0): sc_err1,err = 0x0 cd0(aic0:1:0): free_xs cd0(aic0:1:0): calling private start() cd0(aic0:1:0): cdstart0 cd0(aic0:1:0): scsi_cmd cd0(aic0:1:0): get_xs cd0(aic0:1:0): returning xs(0xf052bb00): flg(0x60)sc_link(0xf052bb80)retr(0x2)timo(0x1388)cmd(0xf052bb58)len(0x6)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)cd0(aic0:1:0): command: 1e,0,0,0,1,0-[0 bytes] cd0(aic0:1:0): aic_scsi_cmd cd0(aic0:1:0): scsi_done cd0(aic0:1:0): command: 1e,0,0,0,1,0-[0 bytes] cd0(aic0:1:0): back in cmd() cd0(aic0:1:0): sc_err1,err = 0x1 code70 valid0 seg0 key5 ili0 eom0 fmark0 info: 0 0 0 0 followed by 10 extra bytes extra: 0 0 0 0 20 0 0 0 0 0 cd0(aic0:1:0): scsi_interpret_sense (no bp) returned 22 cd0(aic0:1:0): free_xs cd0(aic0:1:0): calling private start() cd0(aic0:1:0): cdstart0 cd0(aic0:1:0): 'start' attempted cd0(aic0:1:0): Params loaded cd0(aic0:1:0): Disklabel fabricated cd0(aic0:1:0): open complete cd0(aic0:1:0): cdopen: dev=0x600 (unit 0) result 0 cd0(aic0:1:0): cdstrategy cd0(aic0:1:0): 2048 bytes @ blk64 cd0(aic0:1:0): cdstart0 cd0(aic0:1:0): scsi_cmd cd0(aic0:1:0): get_xs cd0(aic0:1:0): returning xs(0xf052bb00): flg(0x420)sc_link(0xf052bb80)retr(0x1)timo(0x7530)cmd(0xf052bb58)len(0xa)data(0xf1940000)len(0x800)res(0x0)err(0x0)bp(0xf13c6d00)cd0(aic0:1:0): command: 28,0,0,0,0,10,0,0,1,0-[2048 bytes] ------------------------------ 000: 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 016: 00 00 00 00 e1 28 00 00 58 d9 bf ef 3c d0 bf ef 032: 64 d9 bf ef ee d9 bf ef 12 00 00 00 02 00 00 00 048: 72 12 00 00 00 00 00 00 64 d9 bf ef cb 2a 00 00 ------------------------------ cd0(aic0:1:0): aic_scsi_cmd cd0(aic0:1:0): scsi_done cd0(aic0:1:0): command: 28,0,0,0,0,10,0,0,1,0-[2048 bytes] ------------------------------ 000: 01 43 44 30 30 31 01 00 4c 49 4e 55 58 00 20 20 016: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 032: 20 20 20 20 20 20 20 20 41 44 56 41 4e 43 45 44 048: 5f 58 5f 57 49 4e 44 4f 57 5f 41 50 50 4c 49 43 ------------------------------ cd0(aic0:1:0): sc_err1,err = 0x0 cd0(aic0:1:0): free_xs cd0(aic0:1:0): calling private start() cd0(aic0:1:0): cdstart0 cd0(aic0:1:0): cdstrategy cd0(aic0:1:0): 2048 bytes @ blk336 cd0(aic0:1:0): cdstart0 cd0(aic0:1:0): scsi_cmd cd0(aic0:1:0): get_xs cd0(aic0:1:0): returning xs(0xf052bb00): flg(0x420)sc_link(0xf052bb80)retr(0x1)timo(0x7530)cmd(0xf052bb58)len(0xa)data(0xf194c000)len(0x800)res(0x0)err(0x0)bp(0xf13c6f70)cd0(aic0:1:0): command: 28,0,0,0,0,54,0,0,1,0-[2048 bytes] ------------------------------ 000: 08 00 00 00 10 30 00 00 28 70 05 08 00 00 00 00 016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 048: 00 00 00 00 60 30 00 00 7c 30 00 00 20 24 00 00 ------------------------------ cd0(aic0:1:0): aic_scsi_cmd cd0(aic0:1:0): scsi_done cd0(aic0:1:0): command: 28,0,0,0,0,54,0,0,1,0-[2048 bytes] ------------------------------ 000: 88 00 54 00 00 00 00 00 00 54 00 08 00 00 00 00 016: 08 00 5e 0b 08 09 0a 2e 18 02 00 00 01 00 00 01 032: 01 00 53 50 07 01 be ef 00 52 52 05 01 81 50 58 048: 24 01 fd 41 00 00 00 00 41 fd 05 00 00 00 00 00 ------------------------------ cd0(aic0:1:0): sc_err1,err = 0x0 cd0(aic0:1:0): free_xs cd0(aic0:1:0): calling private start() cd0(aic0:1:0): cdstart0 cd0(aic0:1:0): cdstrategy cd0(aic0:1:0): 2048 bytes @ blk11840 cd0(aic0:1:0): cdstart0 cd0(aic0:1:0): scsi_cmd cd0(aic0:1:0): get_xs cd0(aic0:1:0): returning xs(0xf052bb00): flg(0x420)sc_link(0xf052bb80)retr(0x1)timo(0x7530)cmd(0xf052bb58)len(0xa)data(0xf1940000)len(0x800)res(0x0)err(0x0)bp(0xf13c6d00)cd0(aic0:1:0): command: 28,0,0,0,b,90,0,0,1,0-[2048 bytes] ------------------------------ 000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ------------------------------ cd0(aic0:1:0): aic_scsi_cmd cd0(aic0:1:0): scsi_done cd0(aic0:1:0): command: 28,0,0,0,b,90,0,0,1,0-[2048 bytes] ------------------------------ 000: 45 52 ed 01 0a 54 87 01 52 52 49 50 5f 31 39 39 016: 31 41 54 48 45 20 52 4f 43 4b 20 52 49 44 47 45 032: 20 49 4e 54 45 52 43 48 41 4e 47 45 20 50 52 4f 048: 54 4f 43 4f 4c 20 50 52 4f 56 49 44 45 53 20 53 ------------------------------ cd0(aic0:1:0): sc_err1,err = 0x0 cd0(aic0:1:0): free_xs cd0(aic0:1:0): calling private start() cd0(aic0:1:0): cdstart0