public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] unable to activate dma mode
@ 2006-07-28 13:06 Stefán István
  2006-07-28 13:14 ` Raymond Lewis Rebbeck
  0 siblings, 1 reply; 6+ messages in thread
From: Stefán István @ 2006-07-28 13:06 UTC (permalink / raw
  To: gentoo levlist

Hello!
I'm not able to activate dma mode for cdrom drive in my laptop.
# hdparm -d1 /dev/hdd

/dev/hdd:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)

I have the following hardvers:
# lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express 
Processor to DRAM Controller (rev 04)
00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root 
Port (rev 04)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI 
Express Port 1 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge 
(rev 04)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 
04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus 
Controller (rev 04)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X700 
(PCIE)
06:03.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network 
Connection (rev 05)
06:04.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
06:04.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host 
Controller
06:04.3 Mass storage controller: Texas Instruments PCIxx21 Integrated 
FlashMedia Controller
06:04.4 Class 0805: Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, 
PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD) Controller
06:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit 
Ethernet (rev 10)

And dmesg:
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide0: I/O resource 0x1F0-0x1F7 not free.
ide0: ports already in use, skipping probe
Probing IDE interface ide1...
input: AT Translated Set 2 keyboard as /class/input/input0
hdd: PHILIPS DVD+/-RW SDVD8441, ATAPI CD/DVD-ROM drive
input: ImPS/2 Logitech Wheel Mouse as /class/input/input1
ide1 at 0x170-0x177,0x376 on irq 15
hdd: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20

I think the problem is that there is no driver for this chipset compiled into 
the kernel. But I don't know which driver should be compiled into. I tried 
Intel PIIXn but it didn't help.

Thanks for the help in advance,
István

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] unable to activate dma mode
  2006-07-28 13:06 [gentoo-user] unable to activate dma mode Stefán István
@ 2006-07-28 13:14 ` Raymond Lewis Rebbeck
  2006-07-28 15:35   ` Richard Fish
  2006-07-28 19:46   ` gentuxx
  0 siblings, 2 replies; 6+ messages in thread
From: Raymond Lewis Rebbeck @ 2006-07-28 13:14 UTC (permalink / raw
  To: gentoo-user

On Friday, 28 July 2006 22:36, Stefán István wrote:
> Hello!
> I'm not able to activate dma mode for cdrom drive in my laptop.
> # hdparm -d1 /dev/hdd
>
> /dev/hdd:
>  setting using_dma to 1 (on)
>  HDIO_SET_DMA failed: Operation not permitted
>  using_dma    =  0 (off)
>
> [snip]
>
> I think the problem is that there is no driver for this chipset compiled
> into the kernel. But I don't know which driver should be compiled into. I
> tried Intel PIIXn but it didn't help.
>
> Thanks for the help in advance,
> István

You will need to set CONFIG_IDE=n, enable SCSI cdrom support 
(CONFIG_BLK_DEV_SR) and enable the Intel PIIX sata driver 
(CONFIG_SCSI_ATA_PIIX).

DMA should then work perfectly fine. However one side effect is that your 
cdrom drive will become /dev/sr0, although I guess this can be fixed with a 
udev rule.

-- 
Raymond Lewis Rebbeck

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] unable to activate dma mode
  2006-07-28 13:14 ` Raymond Lewis Rebbeck
@ 2006-07-28 15:35   ` Richard Fish
  2006-07-28 19:46   ` gentuxx
  1 sibling, 0 replies; 6+ messages in thread
From: Richard Fish @ 2006-07-28 15:35 UTC (permalink / raw
  To: gentoo-user

On 7/28/06, Raymond Lewis Rebbeck <dystopianray@gmail.com> wrote:
> DMA should then work perfectly fine. However one side effect is that your
> cdrom drive will become /dev/sr0, although I guess this can be fixed with a
> udev rule.

Yeah, but you'll still get the /dev/cdrom, /dev/dvd, /dev/cdrw, etc
links, so I _really_wouldn't bother.  I've always found it confusing
for a cdrom device to show up as hdX anyway.

-Richard
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] unable to activate dma mode
  2006-07-28 13:14 ` Raymond Lewis Rebbeck
  2006-07-28 15:35   ` Richard Fish
@ 2006-07-28 19:46   ` gentuxx
  2006-07-28 20:00     ` Richard Fish
  2006-07-28 22:09     ` Raymond Lewis Rebbeck
  1 sibling, 2 replies; 6+ messages in thread
From: gentuxx @ 2006-07-28 19:46 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Raymond Lewis Rebbeck wrote:
> On Friday, 28 July 2006 22:36, Stefán István wrote:
>> Hello!
>> I'm not able to activate dma mode for cdrom drive in my laptop.
>> # hdparm -d1 /dev/hdd
>>
>> /dev/hdd:
>>  setting using_dma to 1 (on)
>>  HDIO_SET_DMA failed: Operation not permitted
>>  using_dma    =  0 (off)
>>
>> [snip]
>>
>> I think the problem is that there is no driver for this chipset compiled
>> into the kernel. But I don't know which driver should be compiled into. I
>> tried Intel PIIXn but it didn't help.
>>
>> Thanks for the help in advance,
>> István
>
> You will need to set CONFIG_IDE=n, enable SCSI cdrom support
> (CONFIG_BLK_DEV_SR) and enable the Intel PIIX sata driver
> (CONFIG_SCSI_ATA_PIIX).

Isn't this deprecated?  Wouldn't a better choice be to install the
SATA driver ebuild?  (Mainly trying to eliminate my own confusion here.)
>
> DMA should then work perfectly fine. However one side effect is that your
> cdrom drive will become /dev/sr0, although I guess this can be fixed
with a
> udev rule.
>


- --
gentux
echo "hfouvyyAhnbjm/dpn" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 5495 0388 67FF 0B89 1239  D840 4CF0 39E2
18D3 4A9E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFEymmeTPA54hjTSp4RAq00AKCCmRYYwKBE6fUCSRN70wHO7VMlSgCfQZsE
5D5oHh61ECHFb9CNJEgP17w=
=wpX1
-----END PGP SIGNATURE-----

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] unable to activate dma mode
  2006-07-28 19:46   ` gentuxx
@ 2006-07-28 20:00     ` Richard Fish
  2006-07-28 22:09     ` Raymond Lewis Rebbeck
  1 sibling, 0 replies; 6+ messages in thread
From: Richard Fish @ 2006-07-28 20:00 UTC (permalink / raw
  To: gentoo-user

On 7/28/06, gentuxx <gentuxx@gmail.com> wrote:
> Isn't this deprecated?

Not according to the kernel configuration help.

> Wouldn't a better choice be to install the SATA driver ebuild?

What sata driver ebuild?

carcharias linux # eix sata

Found 0 matches

-Richard
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] unable to activate dma mode
  2006-07-28 19:46   ` gentuxx
  2006-07-28 20:00     ` Richard Fish
@ 2006-07-28 22:09     ` Raymond Lewis Rebbeck
  1 sibling, 0 replies; 6+ messages in thread
From: Raymond Lewis Rebbeck @ 2006-07-28 22:09 UTC (permalink / raw
  To: gentoo-user

On Saturday, 29 July 2006 5:16, gentuxx wrote:
> Raymond Lewis Rebbeck wrote:
> > On Friday, 28 July 2006 22:36, Stefán István wrote:
> >> Hello!
> >> I'm not able to activate dma mode for cdrom drive in my laptop.
> >> # hdparm -d1 /dev/hdd
> >>
> >> /dev/hdd:
> >>  setting using_dma to 1 (on)
> >>  HDIO_SET_DMA failed: Operation not permitted
> >>  using_dma    =  0 (off)
> >>
> >> [snip]
> >>
> >> I think the problem is that there is no driver for this chipset compiled
> >> into the kernel. But I don't know which driver should be compiled into.
> >> I tried Intel PIIXn but it didn't help.
> >>
> >> Thanks for the help in advance,
> >> István
> >
> > You will need to set CONFIG_IDE=n, enable SCSI cdrom support
> > (CONFIG_BLK_DEV_SR) and enable the Intel PIIX sata driver
> > (CONFIG_SCSI_ATA_PIIX).
>
> Isn't this deprecated?  Wouldn't a better choice be to install the
> SATA driver ebuild?  (Mainly trying to eliminate my own confusion here.)

No, libata is most certainly not deprecated and what ebuild are you talking 
about?

>
> > DMA should then work perfectly fine. However one side effect is that your
> > cdrom drive will become /dev/sr0, although I guess this can be fixed
>
> with a
>
> > udev rule.

-- 
Raymond Lewis Rebbeck

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-07-28 22:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-28 13:06 [gentoo-user] unable to activate dma mode Stefán István
2006-07-28 13:14 ` Raymond Lewis Rebbeck
2006-07-28 15:35   ` Richard Fish
2006-07-28 19:46   ` gentuxx
2006-07-28 20:00     ` Richard Fish
2006-07-28 22:09     ` Raymond Lewis Rebbeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox