Gentoo Archives: gentoo-user

From: Joseph <syscon@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem
Date: Fri, 24 Mar 2006 05:40:31
Message-Id: 1143178445.5207.100.camel@sysconcept.ca
In Reply to: Re: [gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem by Richard Fish
1 On Thu, 2006-03-23 at 21:24 -0700, Richard Fish wrote:
2 > On 3/23/06, Joseph <syscon@×××××××××.com> wrote:
3 > > That is interesting.
4 > > My DVD burner is connected to IDE controller and I have in kernel
5 > > enabled both options support:
6 > > <*> Include IDE/ATAPI CDROM support
7 > > and
8 > > <*> SCSI CDROM support
9 > > My DVD is recognized as /dev/hdc
10 > >
11 > > If I disable first option "DE/ATAPI CDROM support" will the drive be
12 > > recognized as /dev/sr0 ???
13 >
14 > No, you would need to disable (or at least modularize) all IDE/ATAPI
15 > support (# CONFIG_IDE is not set).
16 >
17 > But this would _only_ be an option if you actually have a SATA
18 > chipset. If it is truly a PATA controller, then you won't get
19 > /dev/sr0 no matter what you do. [1]
20 >
21 > Maybe you can post your dmesg output?
22 >
23 > -Richard
24
25 OK, here is dmesg output, the last two lines indicate that:
26 hdc: DMA disabled
27 hdc: ATAPI reset complete
28
29 What application reseted the DMA, I don't know?
30
31 ----------dmesg-------------
32 Bootdata ok (command line is root=/dev/sda3 pci=noacpi noapic)
33 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
34 BIOS-provided physical RAM map:
35 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
36 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
37 BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
38 BIOS-e820: 0000000000100000 - 000000001ffb0000 (usable)
39 BIOS-e820: 000000001ffb0000 - 000000001ffc0000 (ACPI data)
40 BIOS-e820: 000000001ffc0000 - 000000001fff0000 (ACPI NVS)
41 BIOS-e820: 000000001fff0000 - 0000000020000000 (reserved)
42 BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)
43 ACPI: RSDP (v000 ACPIAM ) @ 0x00000000000fa8d0
44 ACPI: RSDT (v001 A M I OEMRSDT 0x03000509 MSFT 0x00000097) @ 0x000000001ffb0000
45 ACPI: FADT (v001 A M I OEMFACP 0x03000509 MSFT 0x00000097) @ 0x000000001ffb0200
46 ACPI: OEMB (v001 A M I OEMBIOS 0x03000509 MSFT 0x00000097) @ 0x000000001ffc0040
47 ACPI: DSDT (v001 A0277 A0277001 0x00000001 MSFT 0x0100000d) @ 0x0000000000000000
48 Scanning NUMA topology in Northbridge 24
49 Number of nodes 1
50 Node 0 MemBase 0000000000000000 Limit 000000001ffb0000
51 Using 63 for the hash shift.
52 Using node hash shift of 63
53 Bootmem setup node 0 0000000000000000-000000001ffb0000
54 On node 0 totalpages: 127885
55 DMA zone: 2723 pages, LIFO batch:0
56 DMA32 zone: 125162 pages, LIFO batch:31
57 Normal zone: 0 pages, LIFO batch:0
58 HighMem zone: 0 pages, LIFO batch:0
59 ACPI: PM-Timer IO Port: 0x808
60 Intel MultiProcessor Specification v1.1
61 Virtual Wire compatibility mode.
62 OEM ID: ASUSTeK <6>Product ID: <6>APIC at: 0xFEE00000
63 Processor #0 15:15 APIC version 16
64 I/O APIC #1 Version 3 at 0xFEC00000.
65 Setting APIC routing to flat
66 Processors: 1
67 Allocating PCI resources starting at 30000000 (gap: 20000000:df780000)
68 Checking aperture...
69 CPU 0: aperture @ e8000000 size 128 MB
70 Built 1 zonelists
71 Kernel command line: root=/dev/sda3 pci=noacpi noapic
72 Initializing CPU#0
73 PID hash table entries: 2048 (order: 11, 65536 bytes)
74 time.c: Using 3.579545 MHz PM timer.
75 time.c: Detected 1802.396 MHz processor.
76 Console: colour VGA+ 80x25
77 Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
78 Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
79 Memory: 510632k/523968k available (2753k kernel code, 12948k reserved, 1294k data, 228k init)
80 Calibrating delay using timer specific routine.. 3613.38 BogoMIPS (lpj=7226767)
81 Mount-cache hash table entries: 256
82 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
83 CPU: L2 Cache: 512K (64 bytes/line)
84 CPU 0(1) -> Node 0 -> Core 0
85 mtrr: v2.0 (20020519)
86 ACPI: setting ELCR to 0e20 (from 0c20)
87 Using local APIC timer interrupts.
88 Detected 12.516 MHz APIC timer.
89 Brought up 1 CPUs
90 time.c: Using PIT/TSC based timekeeping.
91 testing NMI watchdog ... OK.
92 NET: Registered protocol family 16
93 ACPI: bus type pci registered
94 PCI: Using configuration type 1
95 ACPI: Subsystem revision 20050902
96 ACPI: Interpreter enabled
97 ACPI: Using PIC for interrupt routing
98 Linux Plug and Play Support v0.97 (c) Adam Belay
99 pnp: PnP ACPI init
100 pnp: PnP ACPI: found 12 devices
101 SCSI subsystem initialized
102 usbcore: registered new driver usbfs
103 usbcore: registered new driver hub
104 PCI: Probing PCI hardware
105 PCI: Probing PCI hardware (bus 00)
106 Boot video device is 0000:01:00.0
107 PCI: Using IRQ router default [1106/3227] at 0000:00:11.0
108 PCI: IRQ 0 for device 0000:00:0f.1 doesn't match PIRQ mask - try pci=usepirqmask
109 agpgart: Detected AGP bridge 0
110 agpgart: AGP aperture is 128M @ 0xe8000000
111 PCI-DMA: Disabling IOMMU.
112 pnp: 00:07: ioport range 0x680-0x6ff has been reserved
113 pnp: 00:07: ioport range 0x290-0x297 has been reserved
114 PCI: Bridge: 0000:00:01.0
115 IO window: disabled.
116 MEM window: faf00000-fbffffff
117 PREFETCH window: f0000000-f9ffffff
118 PCI: Setting latency timer of device 0000:00:01.0 to 64
119 IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
120 Total HugeTLB memory allocated, 0
121 Installing knfsd (copyright (C) 1996 okir@×××××××××.de).
122 io scheduler noop registered
123 io scheduler deadline registered
124 io scheduler cfq registered
125 Real Time Clock Driver v1.12
126 Linux agpgart interface v0.101 (c) Dave Jones
127 ACPI: Power Button (FF) [PWRF]
128 ACPI: Power Button (CM) [PWRB]
129 ACPI: Sleep Button (CM) [SLPB]
130 PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
131 serio: i8042 AUX port at 0x60,0x64 irq 12
132 serio: i8042 KBD port at 0x60,0x64 irq 1
133 Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
134 serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
135 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
136 mice: PS/2 mouse device common for all mice
137 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
138 loop: loaded (max 8 devices)
139 pktcdvd: v0.2.0a 2004-07-14 Jens Axboe (axboe@××××.de) and petero2@×××××.com
140 skge 1.3 addr 0xfac00000 irq 11 chip Yukon-Lite rev 9
141 skge eth0: addr 00:11:d8:d6:e0:ca
142 tun: Universal TUN/TAP device driver, 1.6
143 tun: (C) 1999-2004 Max Krasnyansky <maxk@××××××××.com>
144 netconsole: not configured, aborting
145 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
146 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
147 VP_IDE: IDE controller at PCI slot 0000:00:0f.1
148 PCI: IRQ 0 for device 0000:00:0f.1 doesn't match PIRQ mask - try pci=usepirqmask
149 PCI: Via IRQ fixup for 0000:00:0f.1, from 255 to 0
150 VP_IDE: chipset revision 6
151 VP_IDE: not 100% native mode: will probe irqs later
152 VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
153 ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:pio, hdb:pio
154 ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio
155 Probing IDE interface ide0...
156 input: AT Translated Set 2 keyboard as /class/input/input0
157 input: ImPS/2 Generic Wheel Mouse as /class/input/input1
158 Probing IDE interface ide1...
159 hdc: BENQ DVD DD DW1620, ATAPI CD/DVD-ROM drive
160 ide1 at 0x170-0x177,0x376 on irq 15
161 Probing IDE interface ide0...
162 hdc: ATAPI 63X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
163 Uniform CD-ROM driver Revision: 3.20
164 libata version 1.20 loaded.
165 sata_via 0000:00:0f.0: version 1.1
166 sata_via 0000:00:0f.0: routed to hard irq line 11
167 ata1: SATA max UDMA/133 cmd 0xD800 ctl 0xD402 bmdma 0xC400 irq 11
168 ata2: SATA max UDMA/133 cmd 0xD000 ctl 0xC802 bmdma 0xC408 irq 11
169 ata1: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4063 85:7c69 86:3e01 87:4063 88:407f
170 ata1: dev 0 ATA-7, max UDMA/133, 398297088 sectors: LBA48
171 ata1: dev 0 configured for UDMA/133
172 scsi0 : sata_via
173 ata2: no device found (phy stat 00000000)
174 scsi1 : sata_via
175 Vendor: ATA Model: Maxtor 6L200M0 Rev: BANC
176 Type: Direct-Access ANSI SCSI revision: 05
177 SCSI device sda: 398297088 512-byte hdwr sectors (203928 MB)
178 SCSI device sda: drive cache: write back
179 SCSI device sda: 398297088 512-byte hdwr sectors (203928 MB)
180 SCSI device sda: drive cache: write back
181 sda: sda1 sda2 sda3 sda4
182 sd 0:0:0:0: Attached scsi disk sda
183 sd 0:0:0:0: Attached scsi generic sg0 type 0
184 ehci_hcd 0000:00:10.4: EHCI Host Controller
185 ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
186 ehci_hcd 0000:00:10.4: irq 10, io mem 0xfae00000
187 ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
188 hub 1-0:1.0: USB hub found
189 hub 1-0:1.0: 4 ports detected
190 ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
191 USB Universal Host Controller Interface driver v2.3
192 uhci_hcd 0000:00:10.0: UHCI Host Controller
193 uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
194 uhci_hcd 0000:00:10.0: irq 5, io base 0x0000e000
195 hub 2-0:1.0: USB hub found
196 hub 2-0:1.0: 2 ports detected
197 uhci_hcd 0000:00:10.1: UHCI Host Controller
198 uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
199 uhci_hcd 0000:00:10.1: irq 5, io base 0x0000e400
200 hub 3-0:1.0: USB hub found
201 hub 3-0:1.0: 2 ports detected
202 usbcore: registered new driver usblp
203 drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
204 Initializing USB Mass Storage driver...
205 usbcore: registered new driver usb-storage
206 USB Mass Storage support registered.
207 usbcore: registered new driver usbhid
208 drivers/usb/input/hid-core.c: v2.6:USB HID core driver
209 Advanced Linux Sound Architecture Driver Version 1.0.10rc3 (Mon Nov 07 13:30:21 2005 UTC).
210 PCI: Setting latency timer of device 0000:00:11.5 to 64
211 ALSA device list:
212 #0: VIA 8237 with ALC850 at 0xe800, irq 10
213 oprofile: using NMI interrupt.
214 NET: Registered protocol family 2
215 IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
216 TCP established hash table entries: 16384 (order: 6, 262144 bytes)
217 TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
218 TCP: Hash tables configured (established 16384 bind 16384)
219 TCP reno registered
220 TCP bic registered
221 NET: Registered protocol family 1
222 NET: Registered protocol family 10
223 IPv6 over IPv4 tunneling driver
224 NET: Registered protocol family 17
225 powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.50.4)
226 powernow-k8: BIOS error - no PSB or ACPI _PSS objects
227 kjournald starting. Commit interval 5 seconds
228 EXT3-fs: mounted filesystem with ordered data mode.
229 VFS: Mounted root (ext3 filesystem) readonly.
230 Freeing unused kernel memory: 228k freed
231 Adding 1004052k swap on /dev/sda2. Priority:-1 extents:1 across:1004052k
232 EXT3 FS on sda3, internal journal
233 kjournald starting. Commit interval 5 seconds
234 EXT3 FS on sda4, internal journal
235 EXT3-fs: mounted filesystem with ordered data mode.
236 Adding 2097144k swap on /mnt/extraswap. Priority:-2 extents:536 across:2567848k
237 skge eth0: enabling interface
238 ADDRCONF(NETDEV_UP): eth0: link is not ready
239 skge eth0: Link is up at 10 Mbps, half duplex, flow control none
240 ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
241 pktcdvd: writer pktcdvd0 mapped to hdc
242 spurious 8259A interrupt: IRQ7.
243 eth0: no IPv6 routers present
244 hdc: irq timeout: status=0x90 { Busy }
245 ide: failed opcode was: unknown
246 hdc: DMA disabled
247 hdc: ATAPI reset complete
248 --------end dmesg--------------
249 --
250 #Joseph
251 --
252 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem Richard Fish <bigfish@××××××××××.org>