From owner-freebsd-questions Sat Aug 22 15:02:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA10471 for freebsd-questions-outgoing; Sat, 22 Aug 1998 15:02:31 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mailgw02.execpc.com (mailgw02.execpc.com [169.207.3.78]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA10466 for ; Sat, 22 Aug 1998 15:02:29 -0700 (PDT) (envelope-from deaven@execpc.com) Received: from pop02.execpc.com (pop02.execpc.com [169.207.3.114]) by mailgw02.execpc.com (8.9.0) id RAA23643; Sat, 22 Aug 1998 17:01:46 -0500 (CDT) Received: from tabby (androzani-1-145.mdm.mke.execpc.com [169.207.95.19]) by pop02.execpc.com (8.8.8) id RAA07164; Sat, 22 Aug 1998 17:01:44 -0500 Message-Id: <199808222201.RAA07164@pop02.execpc.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Vladimir A. Petrov" cc: FreeBSD questions mail list Subject: Re: Troubles with cdrecord, AHA-1540CF and RICOH MP 6200S In-reply-to: Your message of "Sat, 22 Aug 1998 20:13:28 +0500." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Sat, 22 Aug 1998 17:01:27 -0500 From: David Deaven Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id PAA10467 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yes, I think that your CDRW/SCSI hardware setup is messed up. Check the cables carefully -- you might try a known good cable, and also check if other SCSI devices will work properly on this adaptor (it looks like a disk is on it, so I assume that's working ok :)). Have you terminated the SCSI bus correctly after adding the CDRW? I use cdrecord on 2.2.6-STABLE with an NCR PCI SCSI adaptor and the Ricoh MP6200S, and it works with no errors, even for disk-sized (650Mb) transfers. When I power up my CDRW led flashes orange, then turns green and stays that way. I also get more probe info from my CDRW than you do: [...] ncr0 rev 18 int a irq 11 on pci0:11:0 ncr0 waiting for scsi devices to settle (ncr0:1:0): "RICOH MP6201S 2.03" type 5 removable SCSI 2 cd0(ncr0:1:0): CD-ROM cd present [111623 x 2048 byte records] [...] This all points to a hardware problem on your system. If all else fails I'd try exchanging the CDRW unit. Good luck! >Good day! > >I have troubles with installation CD-RW RICOH MP 6200S under >FreeBSD 2.2.6-STABLE and cdrecord 1.6 from ports collection. >My main problem is I can't get cdrecord working, but not only it. > >My system: > > FreeBSD 2.2.6-STABLE #0: Tue Aug 18 22:38:05 SAMST 1998 > vap@halfwasp.asm.vaz.ru:/mnt/src/sys/compile/halfwasp-2.2.6-1.2.0e > CPU: Pentium (119.75-MHz 586-class CPU) > Origin = "GenuineIntel" Id = 0x526 Stepping=6 > Features=0x1bf > real memory = 25165824 (24576K bytes) > avail memory = 22884352 (22348K bytes) > Probing for devices on PCI bus 0: > chip0 rev 2 on pci0:0:0 > chip1 rev 2 on pci0:7:0 > chip2 rev 2 on pci0:7:1 > vga0 rev 84 int a irq 5 on pci0:19:0 > 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 0x280-0x29f irq 10 maddr 0xd0000 msize 16384 on isa > ed0: address 00:00:c0:aa:70:29, type WD8013EP (16 bit) > sio0 at 0x3f8-0x3ff irq 4 on isa > sio0: type 16550A > sio1 at 0x2f8-0x2ff irq 3 on isa > lpt0 at 0x378-0x37f irq 7 on isa > lpt0: Interrupt-driven port > lp0: TCP/IP capable interface > fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa > fd0: 1.44MB 3.5in > wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff on isa > wdc0: unit 0 (wd0): , 32-bit, multi-block-16 > wd0: 1033MB (2116800 sectors), 2100 cyls, 16 heads, 63 S/T, 512 B/S > wdc1 at 0x170-0x177 irq 15 on isa > wdc1: unit 0 (atapi): <655A/5.2D>, removable, iordy > atapi1.0: unknown phase > aha0 at 0x330-0x333 irq 11 drq 5 on isa > (aha0:0:0): "SEAGATE ST51080N 0958" type 0 fixed SCSI 2 > sd0(aha0:0:0): Direct-Access 1030MB (2109840 512 byte sectors) > sd0(aha0:0:0): with 4826 cyls, 4 heads, and an average 109 sectors/track > (aha0:1:0): "RICOH MP6200S 2.03" type 5 removable SCSI 2 > cd0(aha0:1:0): CD-ROM can't get the size > npx0 on motherboard > npx0: INT 16 interface > >My SCSI host is Adaptec AHA-1540CF, BIOS 2.11, firmware F.0. > >First thing, what I noticed right after installing CD-RW, is when >system booting, at the time of hardware initialization of the >SCSI host, the light on the front panel of CD-RW begans to blink >by green and red colors what indicates hardware trouble as it written >in manual. This blinking continues until first disk insertion, after >that all seems Ok, I can mount inserted disk and read it. But when >I do reading of large amount of data, e.g. > > tar cvf /dev/null /mnt/cdrom2/* > >then new failure appeared. After some time of reading process I see >at the terminal messages like this: > > mnt/cdrom2/XF8633/X33set.tgz > mnt/cdrom2/XF8633/X33SVGA.tgz > mnt/cdrom2/XF8633/X33vfb.tgz > tar: read error at byte 645632, reading 10240 bytes, in file > /mnt/cdrom2/XF8633/ X33vfb.tgz : Input/output error > mnt/cdrom2/XF8633/X33VG16.tgz > tar: read error at byte 0, reading 6656 bytes, in file > /mnt/cdrom2/XF8633/X33VG16.tgz : Input/output error > >at this time in the system log writtens messages like this: > > Aug 22 18:56:06 halfwasp /kernel: cd0(aha0:1:0): HARDWARE FAILURE info:0x14a > asc:c2,95 Vendor Specific ASC > Aug 22 18:56:06 halfwasp /kernel: cd0(aha0:1:0): HARDWARE FAILURE info:0x3d > > asc:c2,95 Vendor Specific ASC > Aug 22 18:56:06 halfwasp /kernel: cd0(aha0:1:0): HARDWARE FAILURE info:0x43 > asc:c2,95 Vendor Specific ASC > >after it drive became unaccessable until next mount. When i run >cdrecord: > > cdrecord -checkdrive > >then I get: > > Cdrecord release 1.6 Copyright (C) 1995-1998 Jörg Schilling > scsidev: '0,1,0' > scsibus: 0 target: 1 lun: 0 > cdrecord: Cannot do inquiry for CD-Recorder. > cdrecord: Input/output error. test unit ready: scsi sendcmd: no error > CDB: 00 00 00 00 00 00 > status: 0x0 (GOOD STATUS) > cmd finished after 0.001s timeout 40s > cdrecord: The unit seems to be hung and needs power cycling. > >if there no disk in drive, or (if disk present in drive): > > Cdrecord release 1.6 Copyright (C) 1995-1998 Jörg Schilling > scsidev: '0,1,0' > scsibus: 0 target: 1 lun: 0 > >after that cdrecord completely frozen and blocks any access to >all SCSI devices. Only reboot our exit to another world ;-) >At the time of cdrecord access to drive in system log appeared >four new messages: > > Aug 22 19:42:55 halfwasp /kernel: biodone: buffer already done > >That is all what I can tell right now. Only one what I can imagine >is my RICOH is malfunctioned. Am I right? > >Any help would be appreciated. > >------------------------------------------------------------------- >Vladimir A. Petrov | I had slept and seen a dream, I seen a Windows >aka vap | of the future, and it was almost working... > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > -- ------------------------------------- David Deaven deaven@execpc.com http://www.execpc.com/~deaven To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message