public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive
@ 2005-08-08 16:03 Joseph
  2005-08-08 17:09 ` Joseph
  0 siblings, 1 reply; 16+ messages in thread
From: Joseph @ 2005-08-08 16:03 UTC (permalink / raw
  To: gentoo

I have a BenQ DW1620 DVD/RW drive but DMA is not set, even though it
support it.  When I try to set it using:  using_dma -d 1
It will not let me.

Was the limit set by the manufacture?

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive
  2005-08-08 16:03 [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive Joseph
@ 2005-08-08 17:09 ` Joseph
  2005-08-08 17:52   ` Rumen Yotov
  2005-08-08 17:55   ` Roy Wright
  0 siblings, 2 replies; 16+ messages in thread
From: Joseph @ 2005-08-08 17:09 UTC (permalink / raw
  To: gentoo-user

On Mon, 2005-08-08 at 10:03 -0600, Joseph wrote:
> I have a BenQ DW1620 DVD/RW drive but DMA is not set, even though it
> support it.  When I try to set it using:  using_dma -d 1
> It will not let me.
> 
> Was the limit set by the manufacture?
> 
> -- 
> #Joseph

I think the issue might be the driver for BenQ writer units.  
Does anybody know what driver should be used with BenQ, if it is
available at all?

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive
  2005-08-08 17:09 ` Joseph
@ 2005-08-08 17:52   ` Rumen Yotov
  2005-08-08 18:16     ` Joseph
  2005-08-08 18:25     ` Roy Wright
  2005-08-08 17:55   ` Roy Wright
  1 sibling, 2 replies; 16+ messages in thread
From: Rumen Yotov @ 2005-08-08 17:52 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1115 bytes --]

Joseph wrote:

>On Mon, 2005-08-08 at 10:03 -0600, Joseph wrote:
>  
>
>>I have a BenQ DW1620 DVD/RW drive but DMA is not set, even though it
>>support it.  When I try to set it using:  using_dma -d 1
>>It will not let me.
>>
>>Was the limit set by the manufacture?
>>
>>-- 
>>#Joseph
>>    
>>
>
>I think the issue might be the driver for BenQ writer units.  
>Does anybody know what driver should be used with BenQ, if it is
>available at all?
>
>  
>
Hi,
First thing to do is to make sure you have support for your mobos'
chipset into kernel-config.
Then emerge/install hdparm and have a customized '/etc/conf.s/hdparm' file.
Ex.(mine):
hda_args="-d1 -A1 -m16 -u1 -a64" // this is for my hard disk
all_args="-d1"                                 // this is for all other
disks - DVD-R and DVD-RW
Think i took this mainly from install-guide.2005.0. Don't forget to
start "/etc/init.d/hdparm start" as root and if everything is OK,
"rc-update add hdparm default" to always have this at boot time.
Test with "hdparm -Tt /dev/hdX" X is a,b,c,d (for an IDE-disk) check
again "man hdparm" for the options ;)
HTH. Rumen

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3397 bytes --]

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

* Re: [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive
  2005-08-08 17:09 ` Joseph
  2005-08-08 17:52   ` Rumen Yotov
@ 2005-08-08 17:55   ` Roy Wright
  2005-08-08 20:53     ` Norbert Kamenicky
  1 sibling, 1 reply; 16+ messages in thread
From: Roy Wright @ 2005-08-08 17:55 UTC (permalink / raw
  To: gentoo-user

Joseph wrote:

>On Mon, 2005-08-08 at 10:03 -0600, Joseph wrote:
>  
>
>>I have a BenQ DW1620 DVD/RW drive but DMA is not set, even though it
>>support it.  When I try to set it using:  using_dma -d 1
>>It will not let me.
>>
>>Was the limit set by the manufacture?
>>
>>-- 
>>#Joseph
>>    
>>
>
>I think the issue might be the driver for BenQ writer units.  
>Does anybody know what driver should be used with BenQ, if it is
>available at all?
>
>  
>
I'm having the same issue with a Memorex DVD writer.
Googling suggests making sure the IDE controller
chipset module is loaded.  My problem is that I don't
see a config module option for Intel 82801EB (ICH5).

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



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

* Re: [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive
  2005-08-08 17:52   ` Rumen Yotov
@ 2005-08-08 18:16     ` Joseph
  2005-08-08 18:22       ` Luigi Pinna
  2005-08-08 22:19       ` Matt Randolph
  2005-08-08 18:25     ` Roy Wright
  1 sibling, 2 replies; 16+ messages in thread
From: Joseph @ 2005-08-08 18:16 UTC (permalink / raw
  To: gentoo-user

On Mon, 2005-08-08 at 20:52 +0300, Rumen Yotov wrote:
> Joseph wrote:
> 
> >On Mon, 2005-08-08 at 10:03 -0600, Joseph wrote:
> >  
> >
> >>I have a BenQ DW1620 DVD/RW drive but DMA is not set, even though it
> >>support it.  When I try to set it using:  using_dma -d 1
> >>It will not let me.
> >>
> >>Was the limit set by the manufacture?
> >>
> >>-- 
> >>#Joseph
> >>    
> >>
> >
> >I think the issue might be the driver for BenQ writer units.  
> >Does anybody know what driver should be used with BenQ, if it is
> >available at all?
> >
> >  
> >
> Hi,
> First thing to do is to make sure you have support for your mobos'
> chipset into kernel-config.
> Then emerge/install hdparm and have a customized '/etc/conf.s/hdparm' file.
> Ex.(mine):
> hda_args="-d1 -A1 -m16 -u1 -a64" // this is for my hard disk
> all_args="-d1"                                 // this is for all other
> disks - DVD-R and DVD-RW
> Think i took this mainly from install-guide.2005.0. Don't forget to
> start "/etc/init.d/hdparm start" as root and if everything is OK,
> "rc-update add hdparm default" to always have this at boot time.
> Test with "hdparm -Tt /dev/hdX" X is a,b,c,d (for an IDE-disk) check
> again "man hdparm" for the options ;)
> HTH. Rumen

I have tried hdparm -d1 /dev/hdd
but it is not accepting the it.  I can not set DMA on this DVD 
I just called BenQ and they don't support Linux; so don't buy BenQ
products as they don't support Linux.  In example of DVD/writer it will
become plain CD reader.
Without DMA access the writing to CD will be very slow.

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive
  2005-08-08 18:16     ` Joseph
@ 2005-08-08 18:22       ` Luigi Pinna
  2005-08-08 22:19       ` Matt Randolph
  1 sibling, 0 replies; 16+ messages in thread
From: Luigi Pinna @ 2005-08-08 18:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

Alle 20:16, lunedì 08 agosto 2005, Joseph ha scritto:
>
> I have tried hdparm -d1 /dev/hdd
> but it is not accepting the it.  I can not set DMA on this DVD
> I just called BenQ and they don't support Linux; so don't buy BenQ
> products as they don't support Linux.  In example of DVD/writer it
> will become plain CD reader.
> Without DMA access the writing to CD will be very slow.
>
> --
> #Joseph

I have a BenQ all works great: dvd writing (8x) and cd writing (24x)
I use hdparm as boot service all it is enough
Luigi
-- 
Public key GPG(0x073A0960) on http://keyserver.linux.it/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive
  2005-08-08 17:52   ` Rumen Yotov
  2005-08-08 18:16     ` Joseph
@ 2005-08-08 18:25     ` Roy Wright
  2005-08-08 18:51       ` Rumen Yotov
  2005-08-08 19:18       ` [gentoo-user] " Joseph
  1 sibling, 2 replies; 16+ messages in thread
From: Roy Wright @ 2005-08-08 18:25 UTC (permalink / raw
  To: gentoo-user

Rumen Yotov wrote:

>Hi,
>First thing to do is to make sure you have support for your mobos'
>chipset into kernel-config.
>Then emerge/install hdparm and have a customized '/etc/conf.s/hdparm' file.
>Ex.(mine):
>hda_args="-d1 -A1 -m16 -u1 -a64" // this is for my hard disk
>all_args="-d1"                                 // this is for all other
>disks - DVD-R and DVD-RW
>Think i took this mainly from install-guide.2005.0. Don't forget to
>start "/etc/init.d/hdparm start" as root and if everything is OK,
>"rc-update add hdparm default" to always have this at boot time.
>Test with "hdparm -Tt /dev/hdX" X is a,b,c,d (for an IDE-disk) check
>again "man hdparm" for the options ;)
>HTH. Rumen
>  
>
Here's the details of what I'm seeing from a root shell:

royw-gentoo conf.d # hdparm -d1 /dev/dvd

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

royw-gentoo conf.d # less /etc/conf.d/hdparm | grep -v \#

all_args="-d1"

royw-gentoo conf.d # /etc/init.d/hdparm start
 * Caching service dependencies 
...                                                                      
[ ok ]
 * Starting hdparm 
...                                                                                   
[ ok ]
 * Running hdparm on /dev/cdroms/cdrom0 ...
 HDIO_SET_DMA failed: Operation not permitted

royw-gentoo linux # hdparm -I /dev/dvd

/dev/dvd:

ATAPI CD-ROM, with removable media
        Model Number:       Memorex DVD+/-RW True-8X
        Serial Number:      DADC011844WL
        Firmware Revision:  1.06
Standards:
        Likely used CD-ROM ATAPI-1
Configuration:
        DRQ response: 50us.
        Packet size: 12 bytes
Capabilities:
        LBA, IORDY(can be disabled)
        Buffer size: 64.0kB
        DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=240ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    DEVICE RESET cmd
           *    PACKET command feature set
           *    Power Management feature set
HW reset results:
        CBLID- above Vih
        Device num = 0 determined by the jumper

royw-gentoo conf.d # lspci
0000:00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory 
Controller Hub (rev 02)
0000:00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP 
Controller (rev 02)
0000:00:03.0 PCI bridge: Intel Corporation 82875P/E7210 Processor to PCI 
to CSA Bridge (rev 02)
0000:00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) 
USB UHCI Controller #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) 
USB UHCI Controller #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) 
USB UHCI #3 (rev 02)
0000:00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) 
USB UHCI Controller #4 (rev 02)
0000:00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) 
USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC 
Interface Bridge (rev 02)
0000:00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA 
Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus 
Controller (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER 
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV40 [GeForce 
6800 GT] (rev a1)
0000:02:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit 
Ethernet Controller (LOM)

royw-gentoo linux # dmesg | grep -i dma
  DMA zone: 4096 pages, LIFO batch:1
ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14
ata1: dev 0 ATA, max UDMA/133, 145226112 sectors: lba48
ata1: dev 1 ATA, max UDMA/133, 145226112 sectors: lba48
ata1: dev 0 configured for UDMA/133
ata1: dev 1 configured for UDMA/133

royw-gentoo linux # less /usr/src/linux/.config | grep -i dma
CONFIG_GENERIC_ISA_DMA=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y

I'm missing something simple, but just don't see it.

TIA,
Roy
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive
  2005-08-08 18:25     ` Roy Wright
@ 2005-08-08 18:51       ` Rumen Yotov
  2005-08-08 19:19         ` Roy Wright
  2005-08-08 19:18       ` [gentoo-user] " Joseph
  1 sibling, 1 reply; 16+ messages in thread
From: Rumen Yotov @ 2005-08-08 18:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 4999 bytes --]

Roy Wright wrote:

> Rumen Yotov wrote:
>
>> Hi,
>> First thing to do is to make sure you have support for your mobos'
>> chipset into kernel-config.
>> Then emerge/install hdparm and have a customized '/etc/conf.s/hdparm'
>> file.
>> Ex.(mine):
>> hda_args="-d1 -A1 -m16 -u1 -a64" // this is for my hard disk
>> all_args="-d1"                                 // this is for all other
>> disks - DVD-R and DVD-RW
>> Think i took this mainly from install-guide.2005.0. Don't forget to
>> start "/etc/init.d/hdparm start" as root and if everything is OK,
>> "rc-update add hdparm default" to always have this at boot time.
>> Test with "hdparm -Tt /dev/hdX" X is a,b,c,d (for an IDE-disk) check
>> again "man hdparm" for the options ;)
>> HTH. Rumen
>>  
>>
> Here's the details of what I'm seeing from a root shell:
>
> royw-gentoo conf.d # hdparm -d1 /dev/dvd
>
> /dev/dvd:
> setting using_dma to 1 (on)
> HDIO_SET_DMA failed: Operation not permitted
> using_dma    =  0 (off)
>
> royw-gentoo conf.d # less /etc/conf.d/hdparm | grep -v \#
>
> all_args="-d1"
>
> royw-gentoo conf.d # /etc/init.d/hdparm start
> * Caching service dependencies
> ...                                                                     
> [ ok ]
> * Starting hdparm
> ...                                                                                  
> [ ok ]
> * Running hdparm on /dev/cdroms/cdrom0 ...
> HDIO_SET_DMA failed: Operation not permitted
>
> royw-gentoo linux # hdparm -I /dev/dvd
>
> /dev/dvd:
>
> ATAPI CD-ROM, with removable media
>        Model Number:       Memorex DVD+/-RW True-8X
>        Serial Number:      DADC011844WL
>        Firmware Revision:  1.06
> Standards:
>        Likely used CD-ROM ATAPI-1
> Configuration:
>        DRQ response: 50us.
>        Packet size: 12 bytes
> Capabilities:
>        LBA, IORDY(can be disabled)
>        Buffer size: 64.0kB
>        DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2
>             Cycle time: min=120ns recommended=120ns
>        PIO: pio0 pio1 pio2 pio3 pio4
>             Cycle time: no flow control=240ns  IORDY flow control=120ns
> Commands/features:
>        Enabled Supported:
>           *    DEVICE RESET cmd
>           *    PACKET command feature set
>           *    Power Management feature set
> HW reset results:
>        CBLID- above Vih
>        Device num = 0 determined by the jumper
>
> royw-gentoo conf.d # lspci
> 0000:00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory
> Controller Hub (rev 02)
> 0000:00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP
> Controller (rev 02)
> 0000:00:03.0 PCI bridge: Intel Corporation 82875P/E7210 Processor to
> PCI to CSA Bridge (rev 02)
> 0000:00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R)
> USB UHCI Controller #1 (rev 02)
> 0000:00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R)
> USB UHCI Controller #2 (rev 02)
> 0000:00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R)
> USB UHCI #3 (rev 02)
> 0000:00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R)
> USB UHCI Controller #4 (rev 02)
> 0000:00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R)
> USB2 EHCI Controller (rev 02)
> 0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
> 0000:00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC
> Interface Bridge (rev 02)
> 0000:00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA
> Controller (rev 02)
> 0000:00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus
> Controller (rev 02)
> 0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
> (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
> 0000:01:00.0 VGA compatible controller: nVidia Corporation NV40
> [GeForce 6800 GT] (rev a1)
> 0000:02:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit
> Ethernet Controller (LOM)
>
> royw-gentoo linux # dmesg | grep -i dma
>  DMA zone: 4096 pages, LIFO batch:1
> ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14
> ata1: dev 0 ATA, max UDMA/133, 145226112 sectors: lba48
> ata1: dev 1 ATA, max UDMA/133, 145226112 sectors: lba48
> ata1: dev 0 configured for UDMA/133
> ata1: dev 1 configured for UDMA/133
>
> royw-gentoo linux # less /usr/src/linux/.config | grep -i dma
> CONFIG_GENERIC_ISA_DMA=y
> CONFIG_BLK_DEV_IDEDMA_PCI=y
> # CONFIG_BLK_DEV_IDEDMA_FORCED is not set
> CONFIG_IDEDMA_PCI_AUTO=y
> # CONFIG_IDEDMA_ONLYDISK is not set
> CONFIG_BLK_DEV_IDEDMA=y
> # CONFIG_IDEDMA_IVB is not set
> CONFIG_IDEDMA_AUTO=y
>
> I'm missing something simple, but just don't see it.
>
> TIA,
> Roy

Hi Roy,
Just guessing here but seems you have SATA drives not IDE, don't
use/know much about SATA yet ;) but maybe this have something to do with
the error on activating DMA, from the logs your hard-disk *is* using
UDMA-133 & PIO4 ?
Could check BIOS-settings, other thoughts here? Check with 'hdparm'
setting on your hard (/dev/sdaX or /dev/....).
All kernel-config you show deals with IDE/ISA settings.
HTH. Rumen

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3397 bytes --]

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

* Re: [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive
  2005-08-08 18:25     ` Roy Wright
  2005-08-08 18:51       ` Rumen Yotov
@ 2005-08-08 19:18       ` Joseph
  1 sibling, 0 replies; 16+ messages in thread
From: Joseph @ 2005-08-08 19:18 UTC (permalink / raw
  To: gentoo-user

On Mon, 2005-08-08 at 13:25 -0500, Roy Wright wrote:
> royw-gentoo linux # dmesg | grep -i dma
>   DMA zone: 4096 pages, LIFO batch:1
> ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14
> ata1: dev 0 ATA, max UDMA/133, 145226112 sectors: lba48
> ata1: dev 1 ATA, max UDMA/133, 145226112 sectors: lba48
> ata1: dev 0 configured for UDMA/133
> ata1: dev 1 configured for UDMA/133
> 

Is your DVD units SCSI, if so you will not be able to use hdparm to set
any options.  hdparm doesn't work with SCSI unit, you can list the
parameters but not set them.

My BenQ DW1620 is an IDE unit connected to hdd so I should be able to
set the parameters using "hdaprm".  I can set some parameters but not
DMA with "-d1"

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive
  2005-08-08 18:51       ` Rumen Yotov
@ 2005-08-08 19:19         ` Roy Wright
  2005-08-08 22:26           ` Neil Bothwick
  0 siblings, 1 reply; 16+ messages in thread
From: Roy Wright @ 2005-08-08 19:19 UTC (permalink / raw
  To: gentoo-user

Rumen Yotov wrote:

>Hi Roy,
>Just guessing here but seems you have SATA drives not IDE, don't
>use/know much about SATA yet ;) but maybe this have something to do with
>the error on activating DMA, from the logs your hard-disk *is* using
>UDMA-133 & PIO4 ?
>Could check BIOS-settings, other thoughts here? Check with 'hdparm'
>setting on your hard (/dev/sdaX or /dev/....).
>All kernel-config you show deals with IDE/ISA settings.
>HTH. Rumen
>  
>
My system has two SATA WD Raptors for hard disks.  I'm
trying to get DMA working for the DVD writer which is IDE.
I'd just like to eliminate the occasionaly hiccup when playing
DVDs.

FYI, AFAIK hdparm does not work with SATA.  From the man
page it is pretty explicit that it is EIDE/IDE only.  When I try
it against my SATA drives it barfs:

royw-gentoo linux # hdparm -i /dev/sda

/dev/sda:
 HDIO_GET_IDENTITY failed: Inappropriate ioctl for device

Thank you,
Roy
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive
  2005-08-08 17:55   ` Roy Wright
@ 2005-08-08 20:53     ` Norbert Kamenicky
  0 siblings, 0 replies; 16+ messages in thread
From: Norbert Kamenicky @ 2005-08-08 20:53 UTC (permalink / raw
  To: gentoo-user

Roy Wright wrote:

-snip-

> I'm having the same issue with a Memorex DVD writer.
> Googling suggests making sure the IDE controller
> chipset module is loaded.  My problem is that I don't
> see a config module option for Intel 82801EB (ICH5).
> 

Yes u are right, IMO it has nothing to do with CD/DVD writer
or HDD itself, it depends on IDE chipset driver.
My mobo is also based on i865 chipset, one SATA and one PATA
HDD connected.
If I use 2.4 kernel, both drives are fast, also DMA on PATA drive
is on, but using 2.6 kernel PATA HDD gives sustain rate only
~2MB/s, DMA setting fails with "Operation not permitted" error.

"lshw" says this:

       *-ide
             description: IDE interface
             product: 82801EB (ICH5) SATA Controller
             vendor: Intel Corporation
             physical id: 1f.2
             bus info: pci@00:1f.2
             logical name: scsi0
             version: 02
             width: 32 bits
             clock: 66MHz
             capabilities: ide bus_master emulated
             configuration: driver=ata_piix  <<<<<<<<<
             resources: ioport:fc00-fc0f irq:18

# grep -i "pii\|ata"  /usr/src/linux/.config:

CONFIG_BLK_DEV_PIIX=y
CONFIG_SCSI_SATA=y
# CONFIG_SCSI_SATA_AHCI is not set
# CONFIG_SCSI_SATA_SVW is not set
CONFIG_SCSI_ATA_PIIX=y
# CONFIG_SCSI_SATA_NV is not set
# CONFIG_SCSI_SATA_PROMISE is not set
# CONFIG_SCSI_SATA_QSTOR is not set
# CONFIG_SCSI_SATA_SX4 is not set
# CONFIG_SCSI_SATA_SIL is not set
# CONFIG_SCSI_SATA_SIS is not set
# CONFIG_SCSI_SATA_ULI is not set
# CONFIG_SCSI_SATA_VIA is not set
# CONFIG_SCSI_SATA_VITESSE is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_ATALK is not set
CONFIG_I2C_PIIX4=m
CONFIG_USB_STORAGE_DATAFAB=y


Although I have "ata_piix.o" compiled in kernel (listed by lshw), there
is only slow generic PATA support available.

noro


-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive
  2005-08-08 18:16     ` Joseph
  2005-08-08 18:22       ` Luigi Pinna
@ 2005-08-08 22:19       ` Matt Randolph
  1 sibling, 0 replies; 16+ messages in thread
From: Matt Randolph @ 2005-08-08 22:19 UTC (permalink / raw
  To: gentoo-user

Joseph wrote:

>I have tried hdparm -d1 /dev/hdd
>but it is not accepting the it.  I can not set DMA on this DVD 
>I just called BenQ and they don't support Linux; so don't buy BenQ
>products as they don't support Linux.  In example of DVD/writer it will
>become plain CD reader.
>Without DMA access the writing to CD will be very slow.
>
>  
>

I have a Plextor DVD burner in a (MS) Windows machine.  No matter what I 
did, the drive would refuse DMA mode and would default to PIO mode.  In 
Windows, the setting is "use DMA, if available," so I guess it's more of 
a suggestion than a setting.

I had put the DVD burner on it's own IDE controller to try to maximize 
throughput when copying data from the hard disk.  As it turns out, the 
DVD burner will only run in DMA mode when it is a slave to a disk that 
is already in DMA mode.  By making the burner a slave to the hard disk, 
DMA flipped on and all was well.

Maybe there is a Linux equivalent of that problem.

-- 
"Pluralitas non est ponenda sine necessitate" - W. of O.

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive
  2005-08-08 19:19         ` Roy Wright
@ 2005-08-08 22:26           ` Neil Bothwick
  2005-08-08 22:46             ` Raymond Lillard
  0 siblings, 1 reply; 16+ messages in thread
From: Neil Bothwick @ 2005-08-08 22:26 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 410 bytes --]

On Mon, 08 Aug 2005 14:19:46 -0500, Roy Wright wrote:

> My system has two SATA WD Raptors for hard disks.  I'm
> trying to get DMA working for the DVD writer which is IDE.
> I'd just like to eliminate the occasionaly hiccup when playing
> DVDs.

This makes it more likely that the problem is lack of support for your
IDE chipset in your kernel.


-- 
Neil Bothwick

ISDN: It Still Does Nothing

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive
  2005-08-08 22:26           ` Neil Bothwick
@ 2005-08-08 22:46             ` Raymond Lillard
  2005-08-08 23:47               ` Joseph
  2005-08-09  1:07               ` [gentoo-user] [SOLVED] " Joseph
  0 siblings, 2 replies; 16+ messages in thread
From: Raymond Lillard @ 2005-08-08 22:46 UTC (permalink / raw
  To: gentoo-user, syscon

Neil Bothwick wrote:
> On Mon, 08 Aug 2005 14:19:46 -0500, Roy Wright wrote:
> 
> 
>>My system has two SATA WD Raptors for hard disks.  I'm
>>trying to get DMA working for the DVD writer which is IDE.
>>I'd just like to eliminate the occasionaly hiccup when playing
>>DVDs.
> 
> 
> This makes it more likely that the problem is lack of support for your
> IDE chipset in your kernel.

Joseph,

Please post *ALL* of the output of a dmesg and lspci-v command.
I too believe chipset issues are most likely the problem.

I am at present fighting a similar problem with a 915GM.

-- 
Regards,
Ray



-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive
  2005-08-08 22:46             ` Raymond Lillard
@ 2005-08-08 23:47               ` Joseph
  2005-08-09  1:07               ` [gentoo-user] [SOLVED] " Joseph
  1 sibling, 0 replies; 16+ messages in thread
From: Joseph @ 2005-08-08 23:47 UTC (permalink / raw
  To: gentoo-user

I'm starting to believe that it has something to do with some option in
the kernel that is not enabled.
I just swap the CD/RW Plextor from the machine that is working OK on
kernel 2.6.11 (where DMA is enabled and everything is working, CD/RW,
except eject - but that is another story) into a new New Machine on
kernel-2.6.12

Anyhow, I just put the Plextor CD/RW into my new machine and the DMA was
not not enabled: hdparm /dev/hdc for plextor on working machine.
/dev/hdc:
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)

hdparm for plextor on new machine:

/dev/hdd:
 IO_support   =  0 (16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)

So, I strongly believe it has to do with some setting in the kernel or
diver.  

Another interesting thing is that lshw is not even listing CDROM present
in a new machine for both drives: BenQ and Plextor, even though kernel
detects them correctly.
I did not put BenQ Writer into working machine, I'll try to analyze both
kernel settings first, to see what I'm missing.

-- 
#Joseph
 
> > This makes it more likely that the problem is lack of support for your
> > IDE chipset in your kernel.
> 
> Joseph,
> 
> Please post *ALL* of the output of a dmesg and lspci-v command.
> I too believe chipset issues are most likely the problem.
> 
> I am at present fighting a similar problem with a 915GM.
> 
> -- 
> Regards,
> Ray
> 
> 
> 

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] [SOLVED] setting "using_dma" on a BenQ DVD/RW drive
  2005-08-08 22:46             ` Raymond Lillard
  2005-08-08 23:47               ` Joseph
@ 2005-08-09  1:07               ` Joseph
  1 sibling, 0 replies; 16+ messages in thread
From: Joseph @ 2005-08-09  1:07 UTC (permalink / raw
  To: gentoo-user; +Cc: Raymond Lillard

Problem SOLVED - but another problem pop-up.  Writing to a disk is not
reliable.
I was right, I've missed some setting in the Kernel, 
Device Drivers:
    ATA/ATAPI/MFM/RLL Support
         (x)  Sharing PCI IDE interrupts support
         (x)  Generic PCI IDE Chipset support   
         (x)  VIA82Cxxx Shipset support   #I have this chipset

The first two option must have been the culprit of my problems.
To write two files (44Mb +11Mb =55MB total) to a CDRW it tooks me about
2min.
When I open the drive I can see those two files there 11MB and 44MB
But when I try to copy them back to Hard Drive I get and I/O error

So much if I was relying on these disks for real backup :-/
I would be convinced that the files are there but if I needed them in
emergency I would get an I/O error.

-- 
#Joseph


On Mon, 2005-08-08 at 15:46 -0700, Raymond Lillard wrote:
> Neil Bothwick wrote:
> > On Mon, 08 Aug 2005 14:19:46 -0500, Roy Wright wrote:
> > 
> > 
> >>My system has two SATA WD Raptors for hard disks.  I'm
> >>trying to get DMA working for the DVD writer which is IDE.
> >>I'd just like to eliminate the occasionaly hiccup when playing
> >>DVDs.
> > 
> > 
> > This makes it more likely that the problem is lack of support for your
> > IDE chipset in your kernel.
> 
> Joseph,
> 
> Please post *ALL* of the output of a dmesg and lspci-v command.
> I too believe chipset issues are most likely the problem.
> 
> I am at present fighting a similar problem with a 915GM.
> 
> -- 
> Regards,
> Ray
> 
> 
> 

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2005-08-09  1:11 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-08 16:03 [gentoo-user] setting "using_dma" on a BenQ DVD/RW drive Joseph
2005-08-08 17:09 ` Joseph
2005-08-08 17:52   ` Rumen Yotov
2005-08-08 18:16     ` Joseph
2005-08-08 18:22       ` Luigi Pinna
2005-08-08 22:19       ` Matt Randolph
2005-08-08 18:25     ` Roy Wright
2005-08-08 18:51       ` Rumen Yotov
2005-08-08 19:19         ` Roy Wright
2005-08-08 22:26           ` Neil Bothwick
2005-08-08 22:46             ` Raymond Lillard
2005-08-08 23:47               ` Joseph
2005-08-09  1:07               ` [gentoo-user] [SOLVED] " Joseph
2005-08-08 19:18       ` [gentoo-user] " Joseph
2005-08-08 17:55   ` Roy Wright
2005-08-08 20:53     ` Norbert Kamenicky

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