Re: optical driver with ahci bios mode but ata(4) driver
On 05/03/2011 21:22, Paul B. Mahol wrote: On Mon, Feb 28, 2011 at 8:31 PM, David Demelier demelier.da...@gmail.com wrote: Hello, My bios can be set to use IDE emulation or ahci mode, I prefere the ahci mode because it's a bit faster. It's probably stupid to stay with ata(4) driver with the ahci mode, isn't it? But with ahci(4) driver you can't burn with burncd(8) and cdrecord just fail and break an blank cd for nothing. I guess this is the correct behavior when trying to use burncd(8) / cdcontrol(1) : markand@Melon ~ $ burncd msinfo burncd: ioctl(CDIOREADTOCHEADER): Input/output error markand@Melon ~ $ cdcontrol info cdcontrol: getting toc header: Input/output error cdcontrol: Input/output error But why the optical drive is only affected? If I use ata(4) driver even with ahci mode set in the bios, why the hard drive works pretty well? Are you using atapicam module? No I was only using ata, atapicd. I would like to use ahci + cdrecord but it fails to burn too :( -- David Demelier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: optical driver with ahci bios mode but ata(4) driver
On Mar 6, 2011, at 2:14 AM, David Demelier demelier.da...@gmail.com wrote: On 05/03/2011 21:22, Paul B. Mahol wrote: On Mon, Feb 28, 2011 at 8:31 PM, David Demelier demelier.da...@gmail.com wrote: Hello, My bios can be set to use IDE emulation or ahci mode, I prefere the ahci mode because it's a bit faster. It's probably stupid to stay with ata(4) driver with the ahci mode, isn't it? But with ahci(4) driver you can't burn with burncd(8) and cdrecord just fail and break an blank cd for nothing. I guess this is the correct behavior when trying to use burncd(8) / cdcontrol(1) : markand@Melon ~ $ burncd msinfo burncd: ioctl(CDIOREADTOCHEADER): Input/output error markand@Melon ~ $ cdcontrol info cdcontrol: getting toc header: Input/output error cdcontrol: Input/output error But why the optical drive is only affected? If I use ata(4) driver even with ahci mode set in the bios, why the hard drive works pretty well? Are you using atapicam module? No I was only using ata, atapicd. I would like to use ahci + cdrecord but it fails to burn too :( -- David Demelier Have you tried burning using the -tao option? Also, mav@ has a set of patches to get cd burning working with CAM, just search the mailing list archives -- I seem to recall that you may have previously been a part of a discussion concerning this situation? -Brandon___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: optical driver with ahci bios mode but ata(4) driver
On 06/03/2011 15:15, Brandon Gooch wrote: On Mar 6, 2011, at 2:14 AM, David Demelierdemelier.da...@gmail.com wrote: On 05/03/2011 21:22, Paul B. Mahol wrote: On Mon, Feb 28, 2011 at 8:31 PM, David Demelier demelier.da...@gmail.com wrote: Hello, My bios can be set to use IDE emulation or ahci mode, I prefere the ahci mode because it's a bit faster. It's probably stupid to stay with ata(4) driver with the ahci mode, isn't it? But with ahci(4) driver you can't burn with burncd(8) and cdrecord just fail and break an blank cd for nothing. I guess this is the correct behavior when trying to use burncd(8) / cdcontrol(1) : markand@Melon ~ $ burncd msinfo burncd: ioctl(CDIOREADTOCHEADER): Input/output error markand@Melon ~ $ cdcontrol info cdcontrol: getting toc header: Input/output error cdcontrol: Input/output error But why the optical drive is only affected? If I use ata(4) driver even with ahci mode set in the bios, why the hard drive works pretty well? Are you using atapicam module? No I was only using ata, atapicd. I would like to use ahci + cdrecord but it fails to burn too :( -- David Demelier Have you tried burning using the -tao option? It fails too. Also, mav@ has a set of patches to get cd burning working with CAM, just search the mailing list archives -- I seem to recall that you may have previously been a part of a discussion concerning this situation? -Brandon Yes because I don't know which driver to use, I don't want to apply patches by hand, I'll wait until it's fixed correctly to use ahci / cdrecord. -- David Demelier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: optical driver with ahci bios mode but ata(4) driver
On Mon, Feb 28, 2011 at 8:31 PM, David Demelier demelier.da...@gmail.com wrote: Hello, My bios can be set to use IDE emulation or ahci mode, I prefere the ahci mode because it's a bit faster. It's probably stupid to stay with ata(4) driver with the ahci mode, isn't it? But with ahci(4) driver you can't burn with burncd(8) and cdrecord just fail and break an blank cd for nothing. I guess this is the correct behavior when trying to use burncd(8) / cdcontrol(1) : markand@Melon ~ $ burncd msinfo burncd: ioctl(CDIOREADTOCHEADER): Input/output error markand@Melon ~ $ cdcontrol info cdcontrol: getting toc header: Input/output error cdcontrol: Input/output error But why the optical drive is only affected? If I use ata(4) driver even with ahci mode set in the bios, why the hard drive works pretty well? Are you using atapicam module? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: optical driver with ahci bios mode but ata(4) driver
On Mon, Feb 28, 2011 at 8:31 PM, David Demelier demelier.david at gmail.com wrote: Hello, My bios can be set to use IDE emulation or ahci mode, I prefere the ahci mode because it's a bit faster. It's probably stupid to stay with ata(4) driver with the ahci mode, isn't it? But with ahci(4) driver you can't burn with burncd(8) and cdrecord just fail and break an blank cd for nothing. I guess this is the correct behavior when trying to use burncd(8) / cdcontrol(1) : markand at Melon ~ $ burncd msinfo burncd: ioctl(CDIOREADTOCHEADER): Input/output error markand at Melon ~ $ cdcontrol info cdcontrol: getting toc header: Input/output error cdcontrol: Input/output error But why the optical drive is only affected? If I use ata(4) driver even with ahci mode set in the bios, why the hard drive works pretty well? You may still be using AHCI, via the ataahci part of ata(4), which is not as good as the newer driver ahci(4). (Or your BIOS may be lying, or have some legacy work-around.) I've had occasional trouble with cdrecord and cd(4), too, and I found that some of the errors are innocuous, and can be overcome by using the -immed and -force flags with cdrecord. There are also some patches available to improve compatibility between the two, that the submitter has not had time to commit: http://lists.freebsd.org/pipermail/freebsd-current/2010-November/020944.html Those may solve some problems. Also, there are various settings that one can tweak. But we would know more if you provided verbose listings of the errors that you encounter. The upstream developer of cdrtools is occasionally willing to help diagnose some problems, if you ask politely and give him the necessary information. You might try asking him. b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
optical driver with ahci bios mode but ata(4) driver
Hello, My bios can be set to use IDE emulation or ahci mode, I prefere the ahci mode because it's a bit faster. It's probably stupid to stay with ata(4) driver with the ahci mode, isn't it? But with ahci(4) driver you can't burn with burncd(8) and cdrecord just fail and break an blank cd for nothing. I guess this is the correct behavior when trying to use burncd(8) / cdcontrol(1) : markand@Melon ~ $ burncd msinfo burncd: ioctl(CDIOREADTOCHEADER): Input/output error markand@Melon ~ $ cdcontrol info cdcontrol: getting toc header: Input/output error cdcontrol: Input/output error But why the optical drive is only affected? If I use ata(4) driver even with ahci mode set in the bios, why the hard drive works pretty well? Kind regards, -- David Demelier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org