On Thu, 2006-03-23 at 16:15 -0500, JimD wrote:
> On Thu, 23 Mar 2006 12:54:44 -0700
> Joseph <[EMAIL PROTECTED]> wrote:
> 
> > Yes, I've tried "-k1" too, it doesn't help.
> > It seems like kernel bug, I was able to duplicate resetting CD/DVD DMA
> > on both machines:
> > amd64 with BenQ DVD writer and
> > x86 with Plextor CD writer
> 
> It might be a bug, though it probably is only for certain drives.  I
> have a LITE-ON DVDRW LDW-451S on amd64.  Here is a test I just ran:
> 
> 
> [EMAIL PROTECTED] $ sudo hdparm /dev/hdc
> /dev/hdc:
>  IO_support   =  1 (32-bit)
>  unmaskirq    =  1 (on)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    = 256 (on)
>  HDIO_GETGEO failed: Invalid argument
> 
> [EMAIL PROTECTED] $ sudo eject
> 
> [EMAIL PROTECTED] $ sudo hdparm /dev/hdc
> /dev/hdc:
>  IO_support   =  1 (32-bit)
>  unmaskirq    =  1 (on)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    = 256 (on)
>  HDIO_GETGEO failed: Invalid argument
> 
> [EMAIL PROTECTED] $ sudo eject
> 
> [EMAIL PROTECTED] $ sudo hdparm /dev/hdc
> /dev/hdc:
>  IO_support   =  1 (32-bit)
>  unmaskirq    =  1 (on)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    = 256 (on)
>  HDIO_GETGEO failed: Invalid argument
> 
> [EMAIL PROTECTED] $ eject  --version
> eject version 2.1.0 by Jeff Tranter ([EMAIL PROTECTED])
> 
> Running eject as root or a regular user did not reset my DMA
> settings for my DVD-RW.
> 
> Jim

Before ejecting put any CD / DVD disk IN and run:
dd if=/dev/hdc of=backup.iso  or
cat /dev/hdc >backup.iso

When finished run "eject ..." 
and 
hdparm /dev/hdc

See if the parameter "using_dma" was reset.

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

Reply via email to