Comment 3 for bug 10617

Revision history for this message
Bruno Dusausoy (bdusauso) wrote :

(In reply to comment #1)
> (In reply to comment #0)

> Please attach the output from lshal when a blank media is inserted.
>
done

> Make sure that the permissions on the device are correct, and that you are NOT
> using ide-scsi emulation (as was necessary with older kernels).
>
ide-scsi is neither in /etc/modules nor in the loaded modules list
Permissions seem to be ok :

lrwxrwxrwx 1 root root 3 2004-11-29 10:54 /dev/cdrom -> hdb
brw-rw---- 1 root cdrom 3, 64 2004-11-29 10:54 /dev/hdb

And I'm in the "cdrom" group

> It sounds like DMA is not enabled on your IDE disk.
>
well, "hdparm -i /dev/hda |grep -i dma" tells me,
on 2.6.8-1-k7 from Ubuntu :

IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2 udma3 udma4 udma5 udma6

UDMA2 is enabled.

> and apparently DMA *is* enabled on your CD device, at least with the 2.6.7 that
> you tried, which sometimes does not work well.
>
here, too, is the ouptut of "hdparm -i /dev/hdb |grep -i dma"
on 2.6.8-1-k7 from Ubuntu:

IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2

Yes, it seems to be enabled (at least for UDMA)

> Ubuntu does not have a 2.6.7 kernel. If you upgraded a Debian system to Ubuntu,
> follow the instructions at http://www.ubuntulinux.org/wiki/WartyUpgradeNotes.
> If you installed Warty from CD, you would have a 2.6.8.1 kernel.
>
In fact, it has a 2.6.7 kernel, but only in the "universe" repository.
I've installed Ubuntu from the warty cd on a new partition. So it's clean.

Note : I already had some trouble with my SCSI configuration, see bug #8156.
If it can help ...