Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 2004 23:44:19 +0100
From:      =?ISO-8859-2?Q?Zahemszky_G=E1bor?= <Gabor@Zahemszky.HU>
To:        freebsd-stable@freebsd.org
Subject:   cdrecord cannot see DVD-RW with ATAPICAM
Message-ID:  <41C36143.8090706@Zahemszky.HU>

next in thread | raw e-mail | index | archive | help
The subject said it: I've got a brand new ATAPI DVD-RW. In my kernel,=20
there is ATAPICAM. I can see it with camcontrol, but, cannot see it in=20
cdrecord -scanbus. ????

(The configuration:
IDE-0: 2 disks
IDE-1: master, the problematic DVD-RW Samsung TS-H552B, with the latest=20
firmware
Adaptec-2940U: 2 disks and a Yamaha CD-writer - but I think, it doesn't=20
matter)

$ dmesg
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
FreeBSD 5.3-STABLE #0: Sun Dec 12 10:55:29 CET 2004
     root@Picasso.Zahemszky.HU:/usr/obj/usr/src/sys/PICASSO
MPTable: <DELL     WS 210      >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium III/Pentium III Xeon/Celeron (547.18-MHz 686-class CPU)
   Origin =3D "GenuineIntel"  Id =3D 0x673  Stepping =3D 3
=20
Features=3D0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CM
OV,PAT,PSE36,MMX,FXSR,SSE>
real memory  =3D 268427264 (255 MB)
avail memory =3D 252964864 (241 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0: Assuming intbase of 0
ioapic0 <Version 1.1> irqs 0-23 on motherboard
netsmb_dev: loaded
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem=20
0xec000000-0xefffffff at d
evice 0.0 on pci0
pcib1: <MPTable PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
drm0: <ATI Rage 128 Pro Ultra TF (AGP)> port 0xec00-0xecff mem=20
0xfcffc000-0xfcff
ffff,0xf4000000-0xf7ffffff irq 16 at device 0.0 on pci1
info: [drm] AGP at 0xec000000 64MB
info: [drm] Initialized r128 2.5.0 20030725 on minor 0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port=20
0xffa0-0xffaf,0x376,0x170-0x177,0x
3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xdce0-0xdcff irq=20
19 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: Texas Instruments General Purpose USB Hub, class 9/0, rev=20
1.10/1.01, addr 2
uhub1: 2 ports with 2 removable, bus powered
piix0: <PIIX Timecounter> port 0x850-0x85f at device 7.3 on pci0
Timecounter "PIIX" frequency 3579545 Hz quality 0
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xd800-0xd8ff mem=20
0xfe000000-0xfe00
0fff irq 16 at device 13.0 on pci0
ahc0: [GIANT-LOCKED]
aic7880: Ultra Wide Channel A, SCSI Id=3D7, 16/253 SCBs
pcm0: <CMedia CMI8738> port 0xd400-0xd4ff irq 17 at device 14.0 on pci0
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xdc00-0xdc7f mem=20
0xfe001000-0xfe00107f irq 19 at device 17.0 on pci0
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:b0:d0:11:ae:85
cpu0 on motherboard
cpu1 on motherboard
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem=20
0xd2000-0xd3fff,0xcb000-0xd1fff,0xc0000-0xcafff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa=
0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f drq 3 flags 0x8 on isa0
ppc0: SMC-like chipset (ECP-only) in ECP mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Polled port
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
unknown: <PNP0c01> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0303> can't assign resources (port)
pcm1: <CS423x> at port 0x220-0x22f,0x388-0x38b,0x534-0x537 irq 5 drq 0,1=20
on isa0
pcm1: [GIANT-LOCKED]
Timecounters tick every 10.000 msec
ad0: 12419MB <ST313021A/3.03> [25232/16/63] at ata0-master UDMA33
ad1: 76319MB <ST380011A/3.06> [155061/16/63] at ata0-slave UDMA33
acd0: DVDR <TSSTcorpCD/DVDW TS-H552B/TS05> at ata1-master UDMA33
SMP: AP CPU #1 Launched!
da1 at ahc0 bus 0 target 15 lun 0
da1: <DEC RZ1CB-CA (C) DEC LYJ0> Fixed Direct Access SCSI-2 device
da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing=20
Enabled
da1: 4091MB (8380080 512 byte sectors: 255H 63S/T 521C)
cd1 at ata1 bus 0 target 0 lun 0
cd1: <TSSTcorp CD/DVDW TS-H552B TS05> Removable CD-ROM SCSI-0 device
cd1: 33.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present=20
- tray closed
da0 at ahc0 bus 0 target 13 lun 0
da0: <IBM DCAS-34330W   !# S69D> Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
da0: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C)
cd0 at ahc0 bus 0 target 4 lun 0
cd0: <YAMAHA CRW8824S 1.00> Removable CD-ROM SCSI-2 device
cd0: 20.000MB/s transfers (20.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present=20
- tray closed
Mounting root from ufs:/dev/da0s1a

$ atacontrol list
ATA channel 0:
     Master:  ad0 <ST313021A/3.03> ATA/ATAPI revision 5
     Slave:   ad1 <ST380011A/3.06> ATA/ATAPI revision 6
ATA channel 1:
     Master: acd0 <TSSTcorpCD/DVDW TS-H552B/TS05> ATA/ATAPI revision 0
     Slave:       no device present

$ atacontrol cap 1 0
ATA channel 1, Master, device acd0:

Protocol              ATA/ATAPI revision 0
device model          TSSTcorpCD/DVDW TS-H552B
serial number
firmware revision     TS05
cylinders             0
heads                 0
sectors/track         0
lba supported
lba48 not supported
dma supported
overlap not supported

Feature                      Support  Enable    Value   Vendor
write cache                    no       no
read ahead                     no       no
dma queued                     no       no      0/0x00
SMART                          no       no
microcode download             no       no
security                       no       no
power management               no       no
advanced power management      no       no      0/0x00
automatic acoustic management  no       no      0/0x00  0/0x00

$ camcontrol devlist
<YAMAHA CRW8824S 1.00>             at scbus0 target 4 lun 0 (cd0,pass0)
<IBM DCAS-34330W   !# S69D>        at scbus0 target 13 lun 0 (da0,pass1)
<DEC RZ1CB-CA (C) DEC LYJ0>        at scbus0 target 15 lun 0 (da1,pass2)i=
nto
<TSSTcorp CD/DVDW TS-H552B TS05>   at scbus2 target 0 lun 0 (cd1,pass3)
$

$ cdrecord -scanbus
Cdrecord 2.00.3 (i386-unknown-freebsd5.2) Copyright (C) 1995-2002 J=F6rg=20
Schilling
Using libscg version 'schily-0.7'
scsibus0:
         0,0,0     0) *
         0,1,0     1) *
         0,2,0     2) *
         0,3,0     3) *
         0,4,0     4) 'YAMAHA  ' 'CRW8824S        ' '1.00' Removable CD-R=
OM
         0,5,0     5) *
         0,6,0     6) *
         0,7,0     7) *
$

I can write to it with growisofs as /dev/cd1, but cannot write it with=20
cdrecord/cdrdao, and cannot reach is with cdparanoia, etc.

Can somebody help me to find the reason of this special error?

Zahy < Gabor at Zahemszky dot HU >

PS: cvsup of RELENG-5 from yesterday (cdrecord recompiled). By the way,=20
I could burn CD with cdrecord on it in the last 3 weeks, with some older=20
RELENG-5 (and with an older firmware).

--=20
#!/bin/ksh
Z=3D'21N16I25C25E30, 40M30E33E25T15U!' ;IFS=3D' ABCDEFGHIJKLMNOPQRSTUVWXY=
Z=20
';set $Z ;for i { [[ $i =3D ? ]]&&print $i&&break;[[ $i =3D ???=20
]]&&j=3D$i&&i=3D${i%?};typeset -i40 i=3D8#$i;print -n ${i#???};[[ "$j" =3D=
 ???=20
]]&&print -n "${j#??} "&&j=3D;typeset +i i;};IFS=3D' 0123456789 ';set $Z;=
for=20
i { [[ $i =3D , ]]&&i=3D2;[[ $i =3D ?? ]]||typeset -l i;j=3D"$j $i";types=
et +l=20
i;};print "$j"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41C36143.8090706>