<br><br><div class="gmail_quote">2009/11/29 Rogério Brito <span dir="ltr">&lt;<a href="mailto:rbrito@ime.usp.br">rbrito@ime.usp.br</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
&gt; &gt; * What is the driver that your kernel uses for the drive?<br>
<br>
</div>dmesg | grep -ie &#39;ide\|ata&#39;<br>
<br>
would help here.<br>
<div class="im"><br>
&gt; &gt; * If you use an IDE/PATA drive, have you tried using Linux&#39;s IDE layer?<br>
&gt; &gt;  And the SATA &quot;fake&quot; layer (via libata)?<br>
<br>
</div>The output from lsmod would help here.<br>
<div class="im"><br>
&gt; &gt; * Have you tested audio extraction with other (older, newer) kernels?<br>
&gt;<br>
&gt;  For these questions, I don&#39;t know how to get the answers. Just that,<br>
&gt;<br>
&gt; - This is the only kernel that I use for audio extraction. This is the only<br>
&gt; time that I try it as well. So I can&#39;t provide info for other kernels.<br>
<br>
</div>Couldn&#39;t you try a newer kernel, please?<br>
<div class="im"><br>
&gt; - The kernel that I&#39;m using, although fails cdparanoia, works fine with VCD<br>
&gt; ripping, CD burning, and even audio extraction with icedax.<br>
<br>
</div>This is quite interesting. Perhaps an strace of cdparanoia running an<br>
extraction would be nice to have.<br>
<br>
Some of these things that I&#39;m asking would be log and would be best if<br>
attached, instead of put inline.<br>
<div class="im"><br>
&gt; Oh, might it be just a permission problem? I&#39;m in audio/video/cdrom group,<br>
&gt; and I remember that I need to be in another special group.<br>
<br>
</div>I don&#39;t think so, as long as you&#39;re in the cdrom group and udev is<br>
working correctly.<br>
<div class="im"><br>
&gt; $ cdparanoia -A<br>
&gt; cdparanoia III release 10.2 (September 11, 2008)<br>
</div>(...)<br>
<br>
cdparanoia -A generates a file called cdparanoia.log, doesn&#39;t it? If it<br>
doesn, please attach it too.<br>
<br>
Oh, just one thing: do you happen to have hal running? Getting hal<br>
stopped would help for the purposes of the test. I had problems with hal<br>
interfering with wodim before (from the same package as icedax).<br>
<div class="im"><br>
&gt; $ cdrecord -scanbus | grep -i1 sony<br>
&gt; Linux sg driver version: 3.5.34<br>
&gt; scsibus2:<br>
&gt;         2,0,0   200) &#39;SONY    &#39; &#39;CD-RW  CRX195E1 &#39; &#39;ZYS5&#39; Removable CD-ROM<br>
&gt;         2,1,0   201) &#39;PIONEER &#39; &#39;DVD-RW  DVR-110D&#39; &#39;1.17&#39; Removable CD-ROM<br>
<br>
</div>What happens if you try with the other drive?<br>
<div class="im"><br>
&gt; Error trying to open /dev/sg0 exclusively (Permission denied)... retrying in<br>
&gt; 1 second.<br>
<br>
</div>This may indicate some problems with hal. What are the permissions on<br>
/dev/sg0? Where do /dev/cdrom* link to?<br>
<div class="im"><br>
&gt; Using libscg version &#39;ubuntu-0.8ubuntu1&#39;<br>
&gt;<br>
&gt; 2,0,0 : SONY    , CD-RW  CRX195E1 , ZYS5<br>
&gt; 2,1,0 : PIONEER , DVD-RW  DVR-110D, 1.17<br>
&gt;<br>
&gt; export CDR_DEVICE=/dev/scd0<br>
<br>
</div>What happens if you try to use something like &quot;cdparanoia -d /dev/scd0 ...&quot;?<br></blockquote></div><br>Ok, let me reply to above questions with a little bit order. <br><br>Environment:<br><br>&gt; * What is the driver that your kernel uses for the drive?<br>
<br>$ dmesg | grep -ie &#39;ide\|ata&#39; || echo no found<br>no found<br><br>$ uptime <br> 22:36:47 up 34 days,  4:10, 14 users,  load average: 0.31, 0.27, 0.24<br><br>% grep -ie &#39;ide\|ata&#39; /var/log/dmesg <br>. . .<br>
[    1.556957] pata_amd 0000:00:06.0: version 0.3.10<br>[    1.556996] pata_amd 0000:00:06.0: setting latency timer to 64<br>[    1.557102] scsi2 : pata_amd<br>[    1.557260] scsi3 : pata_amd<br>[    1.558078] ata3: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xf000 irq 14<br>
[    1.558118] ata4: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xf008 irq 15<br>[    1.723616] ata3.00: ATAPI: SONY    CD-RW  CRX195E1, ZYS5, max UDMA/33<br>[    1.723679] ata3.01: ATAPI: PIONEER DVD-RW  DVR-110D, 1.17, max UDMA/66<br>
[    1.723735] ata3: nv_mode_filter: 0x739f&amp;0x701f-&gt;0x701f, BIOS=0x7000 (0xc0c50000) ACPI=0x701f (60:30:0x1f)<br>[    1.723740] ata3: nv_mode_filter: 0x1f39f&amp;0x1f01f-&gt;0x1f01f, BIOS=0x1f000 (0xc0c50000) ACPI=0x1f01f (60:30:0x1f)<br>
[    1.736897] ata3.00: configured for UDMA/33<br>[    1.750282] ata3.01: configured for UDMA/66<br>[    1.773375] ata4: port disabled. ignoring.<br>. . .<br><br>&gt; The output from lsmod would help here.<br><br>Looked but don&#39;t know which is relevant, thus posting all:<br>
<br>$ lsmod<br>Module                  Size  Used by<br>loop                   19340  0 <br>usb_storage            81184  0 <br>libusual               29224  1 usb_storage<br>wmi                    11072  0 <br>video                  24980  0 <br>
output                  7296  1 video<br>sbs                    18064  0 <br>sbshc                   9856  1 sbs<br>pci_slot                9352  0 <br>container               8192  0 <br>battery                16904  0 <br>
ac                      9224  0 <br>kvm_amd                34316  0 <br>kvm                   148848  1 kvm_amd<br>ppdev                  11656  0 <br>lp                     15332  0 <br>powernow_k8            17284  1 <br>
cpufreq_userspace       7684  0 <br>cpufreq_ondemand       11792  1 <br>cpufreq_powersave       5888  0 <br>cpufreq_stats           9604  0 <br>freq_table              8064  3 powernow_k8,cpufreq_ondemand,cpufreq_stats<br>
cpufreq_conservative    11272  0 <br>ipv6                  290304  27 <br>af_packet              22912  2 <br>nls_iso8859_1           9344  1 <br>nls_cp437              11008  1 <br>fuse                   56000  1 <br>snd_hda_intel         498724  1 <br>
snd_pcm_oss            41472  0 <br>snd_mixer_oss          18816  2 snd_pcm_oss<br>snd_pcm                76040  2 snd_hda_intel,snd_pcm_oss<br>snd_seq_dummy           7300  0 <br>snd_seq_oss            33728  0 <br>snd_seq_midi           11264  0 <br>
snd_rawmidi            25088  1 snd_seq_midi<br>snd_seq_midi_event     10880  2 snd_seq_oss,snd_seq_midi<br>snd_seq                53904  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event<br>snd_timer              24720  2 snd_pcm,snd_seq<br>
snd_seq_device         10900  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq<br>i2c_nforce2            11528  0 <br>k8temp                  9088  0 <br>usblp                  16896  0 <br>i2c_core               25760  1 i2c_nforce2<br>
hwmon                   6968  1 k8temp<br>snd                    60536  9 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device<br>soundcore              11152  2 snd<br>
snd_page_alloc         13072  2 snd_hda_intel,snd_pcm<br>rtc_cmos               15320  0 <br>rtc_core               21428  1 rtc_cmos<br>pcspkr                  6912  0 <br>rtc_lib                 6912  1 rtc_core<br>evdev                  14992  3 <br>
parport_pc             41800  1 <br>parport                38560  3 ppdev,lp,parport_pc<br>button                 11680  0 <br>ohci_hcd               27164  0 <br>forcedeth              58640  0 <br>ehci_hcd               37900  0 <br>
sg                     33872  0 <br>usbcore               145776  6 usb_storage,libusual,usblp,ohci_hcd,ehci_hcd<br>thermal                23200  0 <br>processor              50232  2 powernow_k8,thermal<br>fan                     9480  0 <br>
<br>&gt; Perhaps an strace of cdparanoia running an
extraction would be nice to have.<br>
<br>
<br>