From owner-freebsd-stable@FreeBSD.ORG Fri Dec 17 22:42:09 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A570916A4CF for ; Fri, 17 Dec 2004 22:42:09 +0000 (GMT) Received: from fe06.axelero.hu (fe06.axelero.hu [195.228.240.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A39943D1F for ; Fri, 17 Dec 2004 22:42:08 +0000 (GMT) (envelope-from Gabor@Zahemszky.HU) Received: from fe06 (localhost-02 [127.0.2.1]) by fe06.axelero.hu (8.12.11/8.12.11) with SMTP id iBHMg7w4082319 for ; Fri, 17 Dec 2004 23:42:07 +0100 (CET) Received: from fe06.axelero.hu [127.0.2.1] via SMTP gateway by fe06 [195.228.240.94]; id A041872FD81 at Fri, 17 Dec 2004 23:42:07 +0100 Received: from [192.168.1.3] (67.193-182-adsl-pool.axelero.hu [81.182.193.67]) by fe06.axelero.hu (8.12.11/8.12.11) with ESMTP id iBHMg5xn082303 for ; Fri, 17 Dec 2004 23:42:06 +0100 (CET) Message-ID: <41C36143.8090706@Zahemszky.HU> Date: Fri, 17 Dec 2004 23:44:19 +0100 From: =?ISO-8859-2?Q?Zahemszky_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0 (X11/20041212) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by fe06.axelero.hu id iBHMg5xn082303 Subject: cdrecord cannot see DVD-RW with ATAPICAM X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2004 22:42:09 -0000 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: 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 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 irqs 0-23 on motherboard netsmb_dev: loaded npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcib0: pcibus 0 on motherboard pci0: on pcib0 agp0: mem=20 0xec000000-0xefffffff at d evice 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 drm0: 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: at device 7.0 on pci0 isa0: on isab0 atapci0: 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: port 0xdce0-0xdcff irq=20 19 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] usb0: 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: port 0x850-0x85f at device 7.3 on pci0 Timecounter "PIIX" frequency 3579545 Hz quality 0 ahc0: 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: 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: 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: at iomem=20 0xd2000-0xd3fff,0xcb000-0xd1fff,0xc0000-0xcafff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 fdc0: at port 0x3f0-0x3f5 irq 6 drq 2 on isa= 0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: 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: on ppc0 lpt0: 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: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (irq) unknown: can't assign resources (port) pcm1: 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 [25232/16/63] at ata0-master UDMA33 ad1: 76319MB [155061/16/63] at ata0-slave UDMA33 acd0: DVDR at ata1-master UDMA33 SMP: AP CPU #1 Launched! da1 at ahc0 bus 0 target 15 lun 0 da1: 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: 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: 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: 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 ATA/ATAPI revision 5 Slave: ad1 ATA/ATAPI revision 6 ATA channel 1: Master: acd0 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 at scbus0 target 4 lun 0 (cd0,pass0) at scbus0 target 13 lun 0 (da0,pass1) at scbus0 target 15 lun 0 (da1,pass2)i= nto 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"