Failure to burn with ahci mode.

David DEMELIER demelier.david at gmail.com
Sun Sep 26 17:37:17 UTC 2010


2010/9/26 Jeremy Chadwick <freebsd at jdc.parodius.com>:
> On Sun, Sep 26, 2010 at 07:12:17PM +0200, David DEMELIER wrote:
>> 2010/9/26 Erik Trulsson <ertr1013 at student.uu.se>:
>> > On Sun, Sep 26, 2010 at 11:53:01AM +0200, David DEMELIER wrote:
>> >> 2010/9/26 Andriy Gapon <avg at icyb.net.ua>:
>> >> > on 26/09/2010 12:31 David DEMELIER said the following:
>> >> >> Hi,
>> >> >>
>> >> >> I posted this PR : http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/146464
>> >> >>
>> >> >> I can't burn with the optical drive, I can read it but not burn. When
>> >> >> I try to use burncd it says
>> >> >>
>> >> >> acd0: FAILURE - MODE_SELECT_BIG timed out
>> >> >>
>> >> >> It's a
>> >> >> Master: acd0 <hp DVDRAM GT20L/DC05> SATA revision 1.x
>> >> >>     Slave:       no device present
>> >> >>
>> >> >> I would love to use ahci instead of ide since it's really faster. I
>> >> >> don't know how I can help you more,
>> >> >>
>> >> >> FreeBSD Melon.malikania.fr 8.1-STABLE FreeBSD 8.1-STABLE #3: Sun Sep
>> >> >> 26 10:15:10 CEST 2010
>> >> >> root at Melon.malikania.fr:/usr/obj/usr/src/sys/Melon  amd64
>> >> >
>> >> > Try using ahci(4) driver.
>> >> >
>> >> > --
>> >> > Andriy Gapon
>> >> >
>> >>
>> >> That's what I'm doing.
>> >
>> > If you were using the ahci(4) driver the optical drive ought to show up
>> > as cd0 rather than acd0.
>> >
>> > Anyway, I think burncd will only work with the old ata(4) driver.  The
>> > new ahci(4) and ada(4) drivers use the cam(4) system and looks pretty
>> > much like SCSI drives to the rest of the system.
>> >
>> > Try the sysutils/cdrecord port for burning. (Should work with all SCSI
>> > and ATAPI optical drives, regardless of which driver is used.)
>> >
>> >
>> >
>> >
>> > --
>> > <Insert your favourite quote here.>
>> > Erik Trulsson
>> > ertr1013 at student.uu.se
>> >
>>
>> No it's still acd0, do I need atapicam as device in my kernel configuration?
>>
>> Thanks for your answers.
>
> There's a difference between ataahci.ko ("device ataahci") and ahci.ko,
> in case you're confusing to two.
>
> Can you please provide your loader.conf and kernel configuration file?
> Thanks.
>
> --
> | Jeremy Chadwick                                   jdc at parodius.com |
> | Parodius Networking                       http://www.parodius.com/ |
> | UNIX Systems Administrator                  Mountain View, CA, USA |
> | Making life hard for others since 1977.              PGP: 4BD6C0CB |
>
>

http://files.malikania.fr/Melon and http://files.malikania.fr/loader.conf

markand at Melon ~ $ sudo camcontrol devlist
<WDC WD3200BEKT-60F3T1 12.01A12>   at scbus0 target 0 lun 0 (ada0)
<hp DVDRAM GT20L DC05>             at scbus1 target 0 lun 0 (cd0)

markand at Melon ~ $ sudo cdrecord downloads/FreeBSD-8.1-RELEASE-amd64-livefs.iso
cdrecord: No write mode specified.
cdrecord: Assuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive
dependent defaults.
Cdrecord-ProDVD-ProBD-Clone 3.00 (amd64-unknown-freebsd8.1) Copyright
(C) 1995-2010 Jörg Schilling
cdrecord: Error 0. Cannot open or use SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

markand at Melon ~ $ sudo cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 3.00 (amd64-unknown-freebsd8.1) Copyright
(C) 1995-2010 Jörg Schilling
cdrecord: Error 0. Cannot open or use SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

Cheers

-- 
Demelier David


More information about the freebsd-stable mailing list