Date: Mon, 8 May 2000 14:33:25 +0200 (MEST) From: schilling@fokus.gmd.de To: farid.hajji@ob.kamp.net, questions@freebsd.org, schilling@fokus.gmd.de Subject: Re: cdrecord, freebsd and atapi cd-writers Message-ID: <200005081233.OAA18951@burner.fokus.gmd.de>
next in thread | raw e-mail | index | archive | help
FreeBSD does not support ATAPI drives. The drivers are not integrated into the SCSI kernel subsystem.... Integrated ATAPI is on: NetBSD, Win32, OS/2, Linux >From farid.hajji@ob.kamp.net Mon May 8 14:16:31 2000 >I'm currently trying to figure out how to use cdrecord >on FreeBSD with an atapi (ide) cd-writer. My setup is: >Operating System: FreeBSD 3.4-RELEASE >Cdrecord-Version: Cdrecord release 1.8a33 >Hardware : /dev/wd0s1 Primary IDE-Disk > /dev/da0s1 Internal SCSI-Disk on an ahc0 > /dev/acd0 IDE-CDROM > /dev/acd1 ATAPI CD-Writer (HP CD-Writer 7200+) >The relevant parts from dmesg are: >-------------- dmesg output -------------- dmesg output -------------------- >ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x00 int a irq 12 on pci0.10.0 >ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs >wdc0 at 0x1f0-0x1f7 irq 14 on isa >wdc0: unit 0 (wd0): <SAMSUNG SV0644A> >wd0: 6105MB (12504240 sectors), 13232 cyls, 15 heads, 63 S/T, 512 B/S >wdc0: unit 1 (atapi): <FX810T4/a01>, removable, intr, dma, iordis >acd0: drive speed 1377KB/sec, 256KB cache >acd0: supported read types: CD-DA >acd0: Audio: play, 255 volume levels >acd0: Mechanism: ejectable tray >acd0: Medium: no/blank disc inside, unlocked >wdc1 at 0x170-0x177 irq 15 on isa >wdc1: unit 0 (atapi): <HP CD-Writer+ 7200/V:003.01>, removable, dma, iordy >acd1: drive speed 344 - 1034KB/sec, 768KB cache >acd1: supported read types: CD-R, CD-RW, CD-DA, packet track >acd1: supported write types: CD-R, CD-RW, test write >acd1: Audio: play, 128 volume levels >acd1: Mechanism: ejectable tray >acd1: Medium: no/blank disc inside, unlocked, lock protected >da0 at ahc0 bus 0 target 0 lun 0 >da0: <IBM DORS-32160W WA6A> Fixed Direct Access SCSI-2 device >da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled >da0: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C) >-------------- dmesg output -------------- dmesg output -------------------- >I also enabled the pass0 device in the kernel config file. >Here the relevant parts: >-------------- relevant parts from kernel config file ---------------------- ># ATAPI devices >options ATAPI #Enable ATAPI support for IDE bus >options ATAPI_STATIC #Don't do it as an LKM >device acd0 #IDE CD-ROM ># SCSI Controllers >controller ahc0 # AHA2940 and onboard AIC7xxx devices ># SCSI peripherals >controller scbus0 # SCSI bus (required) >device da0 # Direct Access (disks) >device sa0 # Sequential Access (tape etc) >device cd0 # CD >device pass0 # Passthrough device (direct SCSI) >pseudo-device vn 2 # mounting files as filesystems vnconfig(8) >-------------- relevant parts from kernel config file ---------------------- >Still, I'm having trouble using cdrecord. AFAIK, cdrecord talks to >ATAPI Drives through some kind of SCSI over IDE and needs some scsi >passthrough or scsi-ide emulator. With my current setup, cdrecord -scanbus >returns: >bsdevil# cdrecord -scanbus >Cdrecord release 1.8a33 Copyright (C) 1995-1999 Jörg Schilling >Using libscg version 'schily-0.1' >scsibus0: > 0,0,0 0) 'IBM ' 'DORS-32160W ' 'WA6A' Disk > 0,1,0 1) * > 0,2,0 2) * > 0,3,0 3) * > 0,4,0 4) * > 0,5,0 5) * > 0,6,0 6) * > 0,7,0 7) * >The CD-Writer was not recognized there. I couldn't figure out >which dev=... to use for the /dev/acd1 cd-writer. >BTW, the writer works very well under Linux with the ide-scsi kernel-module >together with the generic scsi code 'sg'. The drive is recognized by >cdrecord in scsibus1 with the dev=1,0,0 line. The only quirck there was to >make sure, that the ide cd-writer was not grabbed at boot time by the ide >driver. >I'm sorry if this is a FAQ. I couldn't find any relevant information on >ATAPI CD-Writers, Cdrecord and FreeBSD. >Thank you for your help. >-Farid. >-- >Farid Hajji >Broicherdorfstr. 83, D-41564 Kaarst, Germany >Phone: +49-2131-67-555, E-Mail: farid.hajji@ob.kamp.net Jörg EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin js@cs.tu-berlin.de (uni) If you don't have iso-8859-1 schilling@fokus.gmd.de (work) chars I am J"org Schilling URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix 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?200005081233.OAA18951>