Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Aug 1998 20:13:28 +0500 (KSD)
From:      "Vladimir A. Petrov" <V.Petrov@VAZ.ru>
To:        FreeBSD questions mail list <Freebsd-questions@FreeBSD.ORG>
Subject:   Troubles with cdrecord, AHA-1540CF and RICOH MP 6200S
Message-ID:  <Pine.BSF.3.96.980822184654.4232C-100000@asm.vaz.ru>

next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
  real memory  = 25165824 (24576K bytes)
  avail memory = 22884352 (22348K bytes)
  Probing for devices on PCI bus 0:
  chip0 <Intel 82437FX PCI cache memory controller> rev 2 on pci0:0:0
  chip1 <Intel 82371FB PCI-ISA bridge> rev 2 on pci0:7:0
  chip2 <Intel 82371FB IDE interface> rev 2 on pci0:7:1
  vga0 <VGA-compatible display device> 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): <WDC AC21000H>, 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980822184654.4232C-100000>