I'm using a silver Speedtouch under Fedora Core 1 with kernel 2.4.22-1.2179.nptl on an Acer Travelmate 632LC laptop. Under heavy disk activity, i.e. while watching a movie or doing any activity that involves many disk accesses, sometimes Linux hangs up, printing the following messages in /var/log/messages:
Apr 18 15:38:56 localhost kernel: hda: dma_timer_expiry: dma status == 0x01 Apr 18 15:39:07 localhost kernel: hda: error waiting for DMA Apr 18 15:39:07 localhost kernel: hda: dma timeout retry: status=0x58 { DriveReady SeekComplete DataRequest } At the same time the Speedtouch driver prints lots of messages like the following one: Apr 19 07:45:00 localhost kernel: usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x7 len 1590 ret -12 (the length and the returned value aren't always the same) This happens only when the ADSL connection is up and the Speedtouch driver is loaded. I can avoid the problem setting the dma off on hda, but that way my computer's performance gets too low. Watching at the usb Linux code I noticed that the above quoted message is printed when a read/write request to the driver times out; moreover, I noticed that in the pppoa3.c code write requests to the usb driver are done using a 1000 timeout value. Maybe the driver spends too much waiting for dma to complete, blocking disk dma requests and eventually making them time out. I don't know anything about dma on pci buses, but I thought that each device should have it's own dma channel, thus avoiding access conflict. Is this true? Is there any way of setting dma channels for usb and disk? Can anyone help me? Remigio Di Muzio PS - This is the output of lspci -v on my laptop, I don't know whether it could be useful: 00:00.0 Host bridge: ALi Corporation M1671 Super P4 Northbridge [AGP4X,PCI and SDR/DDR] (rev 02) Flags: bus master, medium devsel, latency 0 Memory at f0000000 (32-bit, prefetchable) [size=128M] Capabilities: [b0] AGP version 2.0 Capabilities: [a4] Power Management version 1 00:01.0 PCI bridge: ALi Corporation PCI to AGP Controller (prog-if 00 [Normal decode]) Flags: bus master, slow devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 Memory behind bridge: e1000000-e1ffffff Prefetchable memory behind bridge: e8000000-efffffff 00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02) Subsystem: Acer Incorporated [ALI]: Unknown device 1018 Flags: bus master, medium devsel, latency 64, IRQ 10 I/O ports at 1800 [size=256] Memory at e0000000 (32-bit, non-prefetchable) [size=4K] Capabilities: [dc] Power Management version 2 00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV] Subsystem: Acer Incorporated [ALI]: Unknown device 102b Flags: bus master, medium devsel, latency 0 Capabilities: [a0] Power Management version 1 00:08.0 Modem: ALi Corporation Intel 537 [M5457 AC-Link Modem] (prog-if 00 [Generic]) Subsystem: Acer Incorporated [ALI]: Unknown device 102b Flags: bus master, medium devsel, latency 64, IRQ 11 Memory at e0001000 (32-bit, non-prefetchable) [size=4K] I/O ports at 1c00 [size=256] Capabilities: [40] Power Management version 2 00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) Subsystem: Acer Incorporated [ALI]: Unknown device 102b Flags: bus master, medium devsel, latency 64, IRQ 11 I/O ports at 2000 [size=256] Memory at e0002000 (32-bit, non-prefetchable) [size=256] Expansion ROM at <unassigned> [disabled] [size=64K] Capabilities: [50] Power Management version 2 00:0b.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46) (prog-if 10 [OHCI]) Subsystem: VIA Technologies, Inc. IEEE 1394 Host Controller Flags: bus master, medium devsel, latency 64, IRQ 11 Memory at e0002800 (32-bit, non-prefetchable) [size=2K] I/O ports at 2400 [size=128] Capabilities: [50] Power Management version 2 00:0f.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI]) Subsystem: Acer Incorporated [ALI]: Unknown device 102b Flags: bus master, medium devsel, latency 64, IRQ 11 Memory at e0003000 (32-bit, non-prefetchable) [size=4K] Capabilities: [60] Power Management version 2 00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4) (prog-if 80 [Master]) Subsystem: Acer Incorporated [ALI]: Unknown device 102b Flags: bus master, medium devsel, latency 32 I/O ports at <ignored> I/O ports at <ignored> I/O ports at <ignored> I/O ports at <ignored> I/O ports at 2480 [size=16] Capabilities: [60] Power Management version 2 00:11.0 Bridge: ALi Corporation M7101 PMU Subsystem: Acer Incorporated [ALI]: Unknown device 102b Flags: medium devsel 00:13.0 CardBus bridge: O2 Micro, Inc. OZ6933 Cardbus Controller (rev 02) Subsystem: Acer Incorporated [ALI]: Unknown device 102b Flags: bus master, stepping, slow devsel, latency 0, IRQ 11 Memory at 20000000 (32-bit, non-prefetchable) [size=4K] Bus: primary=00, secondary=04, subordinate=07, sec-latency=0 Memory window 0: 00000000-0000f000 I/O window 0: 00000000-00000003 I/O window 1: 00000000-00000003 16-bit legacy interface ports at 0001 00:13.1 CardBus bridge: O2 Micro, Inc. OZ6933 Cardbus Controller (rev 02) Subsystem: Acer Incorporated [ALI]: Unknown device 102b Flags: bus master, stepping, slow devsel, latency 0, IRQ 11 Memory at 20001000 (32-bit, non-prefetchable) [size=4K] Bus: primary=00, secondary=03, subordinate=03, sec-latency=0 Memory window 0: 00000000-0000f000 I/O window 0: 00000000-00000003 I/O window 1: 00000000-00000003 16-bit legacy interface ports at 0001 00:14.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI]) Subsystem: Acer Incorporated [ALI]: Unknown device 102b Flags: bus master, medium devsel, latency 64, IRQ 11 Memory at e0004000 (32-bit, non-prefetchable) [size=4K] Capabilities: [60] Power Management version 2 01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 Go] (rev b2) (prog-if 00 [VGA]) Subsystem: Acer Incorporated [ALI]: Unknown device 102b Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 11 Memory at e1000000 (32-bit, non-prefetchable) [size=16M] Memory at e8000000 (32-bit, prefetchable) [size=128M] Expansion ROM at <unassigned> [disabled] [size=64K] Capabilities: [60] Power Management version 2 Capabilities: [44] AGP version 2.0 Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]