public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem
@ 2006-03-23 16:40 Joseph
  2006-03-23 19:18 ` [gentoo-user] " Sven Köhler
  2006-03-24  3:44 ` [gentoo-user] " Richard Fish
  0 siblings, 2 replies; 17+ messages in thread
From: Joseph @ 2006-03-23 16:40 UTC (permalink / raw
  To: gentoo

A week ago I was posted a message when struggling trying to copy my
own DVD with:
dd if=/dev/dvd of=backup.iso  or
cat /dev/dvd >backup.iso

After following several leads from Gentoo folks (including replacing DVD
cable) I've narrow it down to problem with "dma" resetting itself on
"eject". 

When I boot the computer (amd64) the DVD DMA is "ON" 
[quote]using_dma = 1 (on) 

At this point I can make as many copies as I want using commands "dd" or
"cat" but I can not issue eject command 
eject /dev/hdc

As soon as I eject the CD (and reinsert it) the status of DMA is
changing on the DVD 
using_dma = 0 (off) 
And at this point make no difference if I change that status back to
"ON" or not every subsequent DVD copy fails.

I've run onto few posting on Google regarding DMA resetting itself but
no solution.
-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: dd if=/dev/dvd of=backup.iso - DMA related problem
  2006-03-23 16:40 [gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem Joseph
@ 2006-03-23 19:18 ` Sven Köhler
  2006-03-23 19:54   ` Joseph
  2006-03-24  3:44 ` [gentoo-user] " Richard Fish
  1 sibling, 1 reply; 17+ messages in thread
From: Sven Köhler @ 2006-03-23 19:18 UTC (permalink / raw
  To: gentoo-user

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

> I've run onto few posting on Google regarding DMA resetting itself but
> no solution.

That is simply annoying, that the Linux-Kernel resets DMA.

You could try "hdparm -k1" - but somethimes that doesn't help either.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

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

* Re: [gentoo-user]  Re: dd if=/dev/dvd of=backup.iso - DMA related problem
  2006-03-23 19:18 ` [gentoo-user] " Sven Köhler
@ 2006-03-23 19:54   ` Joseph
  2006-03-23 21:15     ` JimD
  2006-03-23 21:38     ` Nick Rout
  0 siblings, 2 replies; 17+ messages in thread
From: Joseph @ 2006-03-23 19:54 UTC (permalink / raw
  To: gentoo-user

On Thu, 2006-03-23 at 20:18 +0100, Sven Köhler wrote:
> > I've run onto few posting on Google regarding DMA resetting itself but
> > no solution.
> 
> That is simply annoying, that the Linux-Kernel resets DMA.
> 
> You could try "hdparm -k1" - but somethimes that doesn't help either.

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

-- 
#Joseph

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: dd if=/dev/dvd of=backup.iso - DMA related problem
  2006-03-23 19:54   ` Joseph
@ 2006-03-23 21:15     ` JimD
  2006-03-23 21:26       ` Joseph
  2006-03-23 21:38     ` Nick Rout
  1 sibling, 1 reply; 17+ messages in thread
From: JimD @ 2006-03-23 21:15 UTC (permalink / raw
  To: gentoo-user

On Thu, 23 Mar 2006 12:54:44 -0700
Joseph <syscon@interbaun.com> 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:


jim@keelie $ 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

jim@keelie $ sudo eject

jim@keelie $ 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

jim@keelie $ sudo eject

jim@keelie $ 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

jim@keelie $ eject  --version
eject version 2.1.0 by Jeff Tranter (tranter@pobox.com)

Running eject as root or a regular user did not reset my DMA
settings for my DVD-RW.

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



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

* Re: [gentoo-user]  Re: dd if=/dev/dvd of=backup.iso - DMA related problem
  2006-03-23 21:15     ` JimD
@ 2006-03-23 21:26       ` Joseph
  2006-03-23 21:32         ` Joseph
  2006-03-23 22:25         ` JimD
  0 siblings, 2 replies; 17+ messages in thread
From: Joseph @ 2006-03-23 21:26 UTC (permalink / raw
  To: gentoo-user

On Thu, 2006-03-23 at 16:15 -0500, JimD wrote:
> On Thu, 23 Mar 2006 12:54:44 -0700
> Joseph <syscon@interbaun.com> 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:
> 
> 
> jim@keelie $ 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
> 
> jim@keelie $ sudo eject
> 
> jim@keelie $ 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
> 
> jim@keelie $ sudo eject
> 
> jim@keelie $ 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
> 
> jim@keelie $ eject  --version
> eject version 2.1.0 by Jeff Tranter (tranter@pobox.com)
> 
> 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



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

* Re: [gentoo-user]  Re: dd if=/dev/dvd of=backup.iso - DMA related problem
  2006-03-23 21:26       ` Joseph
@ 2006-03-23 21:32         ` Joseph
  2006-03-23 22:25         ` JimD
  1 sibling, 0 replies; 17+ messages in thread
From: Joseph @ 2006-03-23 21:32 UTC (permalink / raw
  To: gentoo-user

On Thu, 2006-03-23 at 14:26 -0700, Joseph wrote:
> 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 ..." 

to be specific: eject /dev/hdc

> and 
> hdparm /dev/hdc
> 
> See if the parameter "using_dma" was reset.
> 
-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: dd if=/dev/dvd of=backup.iso - DMA related problem
  2006-03-23 19:54   ` Joseph
  2006-03-23 21:15     ` JimD
@ 2006-03-23 21:38     ` Nick Rout
  1 sibling, 0 replies; 17+ messages in thread
From: Nick Rout @ 2006-03-23 21:38 UTC (permalink / raw
  To: gentoo-user


On Thu, 23 Mar 2006 12:54:44 -0700
Joseph wrote:

> On Thu, 2006-03-23 at 20:18 +0100, Sven Köhler wrote:
> > > I've run onto few posting on Google regarding DMA resetting itself but
> > > no solution.
> > 
> > That is simply annoying, that the Linux-Kernel resets DMA.
> > 
> > You could try "hdparm -k1" - but somethimes that doesn't help either.
> 
> 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
> 
> -- 
> #Joseph

do they both use the same kernel version?

>
-- 
Nick Rout <nick@rout.co.nz>


-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: dd if=/dev/dvd of=backup.iso - DMA related problem
  2006-03-23 21:26       ` Joseph
  2006-03-23 21:32         ` Joseph
@ 2006-03-23 22:25         ` JimD
  2006-03-23 22:55           ` Joseph
  1 sibling, 1 reply; 17+ messages in thread
From: JimD @ 2006-03-23 22:25 UTC (permalink / raw
  To: gentoo-user

On Thu, 23 Mar 2006 14:26:20 -0700
Joseph <syscon@interbaun.com> wrote:

> 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.

root@keelie # dd if=/dev/hdc of=backup.iso
CTRL+C
37824+0 records in
37824+0 records out

/tmp
root@keelie # ls -l backup.iso
-rw-r--r--  1 root root 19M Mar 23 17:20 backup.iso

root@keelie # 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

DMA is still on.  I don't know why I always get that "HDIO_GETGEO
failed" error.

Do you have another CD/DVD drive you can try?  Are you using SCSI
emulation?

I am using kernel 2.6.15-gentoo-r7

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



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

* Re: [gentoo-user]  Re: dd if=/dev/dvd of=backup.iso - DMA related problem
  2006-03-23 22:25         ` JimD
@ 2006-03-23 22:55           ` Joseph
  0 siblings, 0 replies; 17+ messages in thread
From: Joseph @ 2006-03-23 22:55 UTC (permalink / raw
  To: gentoo-user

On Thu, 2006-03-23 at 17:25 -0500, JimD wrote:
> On Thu, 23 Mar 2006 14:26:20 -0700
> Joseph <syscon@interbaun.com> wrote:
> 
> > 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.
> 
> root@keelie # dd if=/dev/hdc of=backup.iso
> CTRL+C
> 37824+0 records in
> 37824+0 records out
> 
> /tmp
> root@keelie # ls -l backup.iso
> -rw-r--r--  1 root root 19M Mar 23 17:20 backup.iso
> 
> root@keelie # 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
> 
> DMA is still on.  I don't know why I always get that "HDIO_GETGEO
> failed" error.
> 
> Do you have another CD/DVD drive you can try?  Are you using SCSI
> emulation?
> 
> I am using kernel 2.6.15-gentoo-r7
> 
> Jim

Did you do "eject /dev/hdc between dd and hdparm?

dd if=/dev/hdc of=backup.iso
eject dev/hdc
hdparm /dev/hdc

Yes, I've tried this combination on two different machines with two
different drives and DMA gests rest on both.
amd64 + BenQ DVD
x86 + Plexwriter

I'm using kernel 2.6-15

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



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

* Re: [gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem
  2006-03-23 16:40 [gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem Joseph
  2006-03-23 19:18 ` [gentoo-user] " Sven Köhler
@ 2006-03-24  3:44 ` Richard Fish
  2006-03-24  4:11   ` Joseph
  1 sibling, 1 reply; 17+ messages in thread
From: Richard Fish @ 2006-03-24  3:44 UTC (permalink / raw
  To: gentoo-user

On 3/23/06, Joseph <syscon@interbaun.com> wrote:
> After following several leads from Gentoo folks (including replacing DVD
> cable) I've narrow it down to problem with "dma" resetting itself on
> "eject".

Hmm, what type of controller is this attached to?

On my new laptop, I have a PATA DVD burner, but it is ultimately
attached to a SATA chipset.  I could not get DMA to work correctly
using the IDE drivers.  The solution was to disable all IDE support,
add SCSI CD-ROM support, and let the SATA driver control the drive as
/dev/sr0.

-Richard

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem
  2006-03-24  3:44 ` [gentoo-user] " Richard Fish
@ 2006-03-24  4:11   ` Joseph
  2006-03-24  4:24     ` Richard Fish
  0 siblings, 1 reply; 17+ messages in thread
From: Joseph @ 2006-03-24  4:11 UTC (permalink / raw
  To: gentoo-user

On Thu, 2006-03-23 at 20:44 -0700, Richard Fish wrote:
> On 3/23/06, Joseph <syscon@interbaun.com> wrote:
> > After following several leads from Gentoo folks (including replacing DVD
> > cable) I've narrow it down to problem with "dma" resetting itself on
> > "eject".
> 
> Hmm, what type of controller is this attached to?
> 
> On my new laptop, I have a PATA DVD burner, but it is ultimately
> attached to a SATA chipset.  I could not get DMA to work correctly
> using the IDE drivers.  The solution was to disable all IDE support,
> add SCSI CD-ROM support, and let the SATA driver control the drive as
> /dev/sr0.
> 
> -Richard

That is interesting. 
My DVD burner is connected to IDE controller and I have in kernel
enabled both options support:
<*> Include IDE/ATAPI CDROM support
and
<*> SCSI CDROM support
My DVD is recognized as /dev/hdc 

If I disable first option "DE/ATAPI CDROM support" will the drive be
recognized as /dev/sr0 ???

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



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

* Re: [gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem
  2006-03-24  4:11   ` Joseph
@ 2006-03-24  4:24     ` Richard Fish
  2006-03-24  5:34       ` Joseph
  0 siblings, 1 reply; 17+ messages in thread
From: Richard Fish @ 2006-03-24  4:24 UTC (permalink / raw
  To: gentoo-user

On 3/23/06, Joseph <syscon@interbaun.com> wrote:
> That is interesting.
> My DVD burner is connected to IDE controller and I have in kernel
> enabled both options support:
> <*> Include IDE/ATAPI CDROM support
> and
> <*> SCSI CDROM support
> My DVD is recognized as /dev/hdc
>
> If I disable first option "DE/ATAPI CDROM support" will the drive be
> recognized as /dev/sr0 ???

No, you would need to disable (or at least modularize) all IDE/ATAPI
support (# CONFIG_IDE is not set).

But this would _only_ be an option if you actually have a SATA
chipset.  If it is truly a PATA controller, then you won't get
/dev/sr0 no matter what you do. [1]

Maybe you can post your dmesg output?

-Richard

[1] Technically you could use ide-scsi emulation, but it wouldn't help.

-Richard

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem
  2006-03-24  4:24     ` Richard Fish
@ 2006-03-24  5:34       ` Joseph
  2006-03-24  5:51         ` Richard Fish
  0 siblings, 1 reply; 17+ messages in thread
From: Joseph @ 2006-03-24  5:34 UTC (permalink / raw
  To: gentoo-user

On Thu, 2006-03-23 at 21:24 -0700, Richard Fish wrote:
> On 3/23/06, Joseph <syscon@interbaun.com> wrote:
> > That is interesting.
> > My DVD burner is connected to IDE controller and I have in kernel
> > enabled both options support:
> > <*> Include IDE/ATAPI CDROM support
> > and
> > <*> SCSI CDROM support
> > My DVD is recognized as /dev/hdc
> >
> > If I disable first option "DE/ATAPI CDROM support" will the drive be
> > recognized as /dev/sr0 ???
> 
> No, you would need to disable (or at least modularize) all IDE/ATAPI
> support (# CONFIG_IDE is not set).
> 
> But this would _only_ be an option if you actually have a SATA
> chipset.  If it is truly a PATA controller, then you won't get
> /dev/sr0 no matter what you do. [1]
> 
> Maybe you can post your dmesg output?
> 
> -Richard

OK, here is dmesg output, the last two lines indicate that:
hdc: DMA disabled
hdc: ATAPI reset complete

What application reseted the DMA, I don't know?

----------dmesg-------------
Bootdata ok (command line is root=/dev/sda3 pci=noacpi noapic)
Linux version 2.6.15-gentoo-r4 (root@syscon3) (gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #3 SMP Sat Feb 25 17:33:09 MST 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001ffb0000 (usable)
 BIOS-e820: 000000001ffb0000 - 000000001ffc0000 (ACPI data)
 BIOS-e820: 000000001ffc0000 - 000000001fff0000 (ACPI NVS)
 BIOS-e820: 000000001fff0000 - 0000000020000000 (reserved)
 BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)
ACPI: RSDP (v000 ACPIAM                                ) @ 0x00000000000fa8d0
ACPI: RSDT (v001 A M I  OEMRSDT  0x03000509 MSFT 0x00000097) @ 0x000000001ffb0000
ACPI: FADT (v001 A M I  OEMFACP  0x03000509 MSFT 0x00000097) @ 0x000000001ffb0200
ACPI: OEMB (v001 A M I  OEMBIOS  0x03000509 MSFT 0x00000097) @ 0x000000001ffc0040
ACPI: DSDT (v001  A0277 A0277001 0x00000001 MSFT 0x0100000d) @ 0x0000000000000000
Scanning NUMA topology in Northbridge 24
Number of nodes 1
Node 0 MemBase 0000000000000000 Limit 000000001ffb0000
Using 63 for the hash shift.
Using node hash shift of 63
Bootmem setup node 0 0000000000000000-000000001ffb0000
On node 0 totalpages: 127885
  DMA zone: 2723 pages, LIFO batch:0
  DMA32 zone: 125162 pages, LIFO batch:31
  Normal zone: 0 pages, LIFO batch:0
  HighMem zone: 0 pages, LIFO batch:0
ACPI: PM-Timer IO Port: 0x808
Intel MultiProcessor Specification v1.1
    Virtual Wire compatibility mode.
OEM ID: ASUSTeK  <6>Product ID:  <6>APIC at: 0xFEE00000
Processor #0 15:15 APIC version 16
I/O APIC #1 Version 3 at 0xFEC00000.
Setting APIC routing to flat
Processors: 1
Allocating PCI resources starting at 30000000 (gap: 20000000:df780000)
Checking aperture...
CPU 0: aperture @ e8000000 size 128 MB
Built 1 zonelists
Kernel command line: root=/dev/sda3 pci=noacpi noapic
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 65536 bytes)
time.c: Using 3.579545 MHz PM timer.
time.c: Detected 1802.396 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Memory: 510632k/523968k available (2753k kernel code, 12948k reserved, 1294k data, 228k init)
Calibrating delay using timer specific routine.. 3613.38 BogoMIPS (lpj=7226767)
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 0(1) -> Node 0 -> Core 0
mtrr: v2.0 (20020519)
ACPI: setting ELCR to 0e20 (from 0c20)
Using local APIC timer interrupts.
Detected 12.516 MHz APIC timer.
Brought up 1 CPUs
time.c: Using PIT/TSC based timekeeping.
testing NMI watchdog ... OK.
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
ACPI: Subsystem revision 20050902
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 12 devices
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:01:00.0
PCI: Using IRQ router default [1106/3227] at 0000:00:11.0
PCI: IRQ 0 for device 0000:00:0f.1 doesn't match PIRQ mask - try pci=usepirqmask
agpgart: Detected AGP bridge 0
agpgart: AGP aperture is 128M @ 0xe8000000
PCI-DMA: Disabling IOMMU.
pnp: 00:07: ioport range 0x680-0x6ff has been reserved
pnp: 00:07: ioport range 0x290-0x297 has been reserved
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: faf00000-fbffffff
  PREFETCH window: f0000000-f9ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
Total HugeTLB memory allocated, 0
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered
Real Time Clock Driver v1.12
Linux agpgart interface v0.101 (c) Dave Jones
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: Sleep Button (CM) [SLPB]
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
mice: PS/2 mouse device common for all mice
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
pktcdvd: v0.2.0a 2004-07-14 Jens Axboe (axboe@suse.de) and petero2@telia.com
skge 1.3 addr 0xfac00000 irq 11 chip Yukon-Lite rev 9
skge eth0: addr 00:11:d8:d6:e0:ca
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
netconsole: not configured, aborting
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:0f.1
PCI: IRQ 0 for device 0000:00:0f.1 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Via IRQ fixup for 0000:00:0f.1, from 255 to 0
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
input: AT Translated Set 2 keyboard as /class/input/input0
input: ImPS/2 Generic Wheel Mouse as /class/input/input1
Probing IDE interface ide1...
hdc: BENQ DVD DD DW1620, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide0...
hdc: ATAPI 63X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
libata version 1.20 loaded.
sata_via 0000:00:0f.0: version 1.1
sata_via 0000:00:0f.0: routed to hard irq line 11
ata1: SATA max UDMA/133 cmd 0xD800 ctl 0xD402 bmdma 0xC400 irq 11
ata2: SATA max UDMA/133 cmd 0xD000 ctl 0xC802 bmdma 0xC408 irq 11
ata1: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4063 85:7c69 86:3e01 87:4063 88:407f
ata1: dev 0 ATA-7, max UDMA/133, 398297088 sectors: LBA48
ata1: dev 0 configured for UDMA/133
scsi0 : sata_via
ata2: no device found (phy stat 00000000)
scsi1 : sata_via
  Vendor: ATA       Model: Maxtor 6L200M0    Rev: BANC
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 398297088 512-byte hdwr sectors (203928 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 398297088 512-byte hdwr sectors (203928 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
ehci_hcd 0000:00:10.4: EHCI Host Controller
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.4: irq 10, io mem 0xfae00000
ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
USB Universal Host Controller Interface driver v2.3
uhci_hcd 0000:00:10.0: UHCI Host Controller
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.0: irq 5, io base 0x0000e000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.1: UHCI Host Controller
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:10.1: irq 5, io base 0x0000e400
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.10rc3 (Mon Nov 07 13:30:21 2005 UTC).
PCI: Setting latency timer of device 0000:00:11.5 to 64
ALSA device list:
  #0: VIA 8237 with ALC850 at 0xe800, irq 10
oprofile: using NMI interrupt.
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.50.4)
powernow-k8: BIOS error - no PSB or ACPI _PSS objects
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 228k freed
Adding 1004052k swap on /dev/sda2.  Priority:-1 extents:1 across:1004052k
EXT3 FS on sda3, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 2097144k swap on /mnt/extraswap.  Priority:-2 extents:536 across:2567848k
skge eth0: enabling interface
ADDRCONF(NETDEV_UP): eth0: link is not ready
skge eth0: Link is up at 10 Mbps, half duplex, flow control none
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
pktcdvd: writer pktcdvd0 mapped to hdc
spurious 8259A interrupt: IRQ7.
eth0: no IPv6 routers present
hdc: irq timeout: status=0x90 { Busy }
ide: failed opcode was: unknown
hdc: DMA disabled
hdc: ATAPI reset complete
--------end dmesg--------------
-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem
  2006-03-24  5:34       ` Joseph
@ 2006-03-24  5:51         ` Richard Fish
  2006-03-24 15:49           ` Joseph
  0 siblings, 1 reply; 17+ messages in thread
From: Richard Fish @ 2006-03-24  5:51 UTC (permalink / raw
  To: gentoo-user

On 3/23/06, Joseph <syscon@interbaun.com> wrote:
> OK, here is dmesg output, the last two lines indicate that:
> hdc: DMA disabled
> hdc: ATAPI reset complete

The lines that are interesting to me are:

VP_IDE: IDE controller at PCI slot 0000:00:0f.1
sata_via 0000:00:0f.0: version 1.1

The above PCI id lines indicate that your parallel ata (IDE) device is
really just a function of your SATA chip.  Since your hard disk
wouldn't be affected, I would try a kernel without IDE support and see
if the SATA driver picks up your CD drive.

-Richard

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem
  2006-03-24  5:51         ` Richard Fish
@ 2006-03-24 15:49           ` Joseph
  2006-03-24 18:08             ` JimD
  0 siblings, 1 reply; 17+ messages in thread
From: Joseph @ 2006-03-24 15:49 UTC (permalink / raw
  To: gentoo-user

On Thu, 2006-03-23 at 22:51 -0700, Richard Fish wrote:
> On 3/23/06, Joseph <syscon@interbaun.com> wrote:
> > OK, here is dmesg output, the last two lines indicate that:
> > hdc: DMA disabled
> > hdc: ATAPI reset complete
> 
> The lines that are interesting to me are:
> 
> VP_IDE: IDE controller at PCI slot 0000:00:0f.1
> sata_via 0000:00:0f.0: version 1.1
> 
> The above PCI id lines indicate that your parallel ata (IDE) device is
> really just a function of your SATA chip.  Since your hard disk
> wouldn't be affected, I would try a kernel without IDE support and see
> if the SATA driver picks up your CD drive.
> 
> -Richard

I've disable IDE ATAPI CD-ROM in the kernel but the DVD-drive wasn't
recognized upon reboot; well I think I just have to wait till they fix
it in the kernel :-/
For now, every time I made copy and eject the CD, I will reboot the
computer; oh well it is like Windows 98 - I'm used to it :-)

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



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

* Re: [gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem
  2006-03-24 15:49           ` Joseph
@ 2006-03-24 18:08             ` JimD
  2006-03-24 20:45               ` Joseph
  0 siblings, 1 reply; 17+ messages in thread
From: JimD @ 2006-03-24 18:08 UTC (permalink / raw
  To: gentoo-user

On Fri, 24 Mar 2006 08:49:09 -0700
Joseph <syscon@interbaun.com> wrote:

> I've disable IDE ATAPI CD-ROM in the kernel but the DVD-drive wasn't
> recognized upon reboot; well I think I just have to wait till they fix
> it in the kernel :-/
> For now, every time I made copy and eject the CD, I will reboot the
> computer; oh well it is like Windows 98 - I'm used to it :-)

Did you try to turn off all SCSI cdrom options?  Make sure SCSI CDROM
support is off as well as SCSI CDROM emulation.

Are you using a genkernel?  I recompiled my kernel to have the main
stuff in the kernel.  For example SATA, IDE CD, ext2, reiserfs, etc is
compiled into the kernel instead of as modules.

Did try to boot with this kernel option:
pci=usepirqmask

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



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

* Re: [gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem
  2006-03-24 18:08             ` JimD
@ 2006-03-24 20:45               ` Joseph
  0 siblings, 0 replies; 17+ messages in thread
From: Joseph @ 2006-03-24 20:45 UTC (permalink / raw
  To: gentoo-user

On Fri, 2006-03-24 at 13:08 -0500, JimD wrote:
> On Fri, 24 Mar 2006 08:49:09 -0700
> Joseph <syscon@interbaun.com> wrote:
> 
> > I've disable IDE ATAPI CD-ROM in the kernel but the DVD-drive wasn't
> > recognized upon reboot; well I think I just have to wait till they fix
> > it in the kernel :-/
> > For now, every time I made copy and eject the CD, I will reboot the
> > computer; oh well it is like Windows 98 - I'm used to it :-)
> 
> Did you try to turn off all SCSI cdrom options?  Make sure SCSI CDROM
> support is off as well as SCSI CDROM emulation.
> 
> Are you using a genkernel?  I recompiled my kernel to have the main
> stuff in the kernel.  For example SATA, IDE CD, ext2, reiserfs, etc is
> compiled into the kernel instead of as modules.
> 
> Did try to boot with this kernel option:
> pci=usepirqmask
> 
>  Jim

I've tried disabling SCSI for IDE and SCSI CDROM but I can not find any
"sr"  recognized devices; unless I missed something.
I've added to grub.conf as well (default kernel): 
root=/dev/sda3 pci=noacpi noapci pci=usepirqmask
it didn't help.

Here is what i have enabled in kernel when it comes to SCSI:
-------.config--------------
# CONFIG_BLK_DEV_IDESCSI is not set
# SCSI device support
CONFIG_SCSI=y
# CONFIG_SCSI_PROC_FS is not set
# SCSI support type (disk, tape, CD-ROM)
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# SCSI Transport Attributes
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# SCSI low-level drivers
# CONFIG_ISCSI_TCP is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
CONFIG_SCSI_SATA=y
# CONFIG_SCSI_SATA_AHCI is not set
# CONFIG_SCSI_SATA_SVW is not set
# CONFIG_SCSI_ATA_PIIX is not set
# CONFIG_SCSI_SATA_MV is not set
# CONFIG_SCSI_SATA_NV is not set
# CONFIG_SCSI_PDC_ADMA is not set
# CONFIG_SCSI_SATA_QSTOR is not set
# CONFIG_SCSI_SATA_PROMISE is not set
# CONFIG_SCSI_SATA_SX4 is not set
# CONFIG_SCSI_SATA_SIL is not set
# CONFIG_SCSI_SATA_SIL24 is not set
# CONFIG_SCSI_SATA_SIS is not set
# CONFIG_SCSI_SATA_ULI is not set
CONFIG_SCSI_SATA_VIA=y
# CONFIG_SCSI_SATA_VITESSE is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
CONFIG_SCSI_QLA2XXX=y
# CONFIG_SCSI_QLA21XX is not set
# CONFIG_SCSI_QLA22XX is not set
# CONFIG_SCSI_QLA2300 is not set
# CONFIG_SCSI_QLA2322 is not set
# CONFIG_SCSI_QLA6312 is not set
# CONFIG_SCSI_QLA24XX is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_DEBUG is not set
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
-------end .config.--------------

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



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

end of thread, other threads:[~2006-03-24 21:04 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-23 16:40 [gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem Joseph
2006-03-23 19:18 ` [gentoo-user] " Sven Köhler
2006-03-23 19:54   ` Joseph
2006-03-23 21:15     ` JimD
2006-03-23 21:26       ` Joseph
2006-03-23 21:32         ` Joseph
2006-03-23 22:25         ` JimD
2006-03-23 22:55           ` Joseph
2006-03-23 21:38     ` Nick Rout
2006-03-24  3:44 ` [gentoo-user] " Richard Fish
2006-03-24  4:11   ` Joseph
2006-03-24  4:24     ` Richard Fish
2006-03-24  5:34       ` Joseph
2006-03-24  5:51         ` Richard Fish
2006-03-24 15:49           ` Joseph
2006-03-24 18:08             ` JimD
2006-03-24 20:45               ` Joseph

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