Re: [mythtv-users] Help: issues in trying to enable DMA on hard drives for mythtv...
On 06/02/05 21:59, Robert McRostie wrote: One of the remaining problems that I have is the Live TV output is jerky. After searching the net I think this is related to me not being able to get the drives to use DMA. If I record anything the play back seems to be ok. ... 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01) (prog-if 8a [Master SecP PriP]) Subsystem: Giga-byte Technology: Unknown device 5002 Flags: bus master, medium devsel, latency 128, IRQ 16 I/O ports at unassigned I/O ports at unassigned I/O ports at unassigned I/O ports at unassigned I/O ports at f000 [size=16] ... After searching for this on the internet I found the command hdparm -d1 /dev/hd? Which should enable dma access. But this does not work. I get an error stating HID0_SET_DMA failed: Operation not permitted a) When posting an error message please make sure you post the correct error message (HDIO_SET_DMA). HID0_SET_DMA (if it existed) would be far more likely to be a USB subsystem error than IDE error. b) Search on Google for (with quotes an pluses): +HDIO_SET_DMA +failed +Operation not permitted and you'll be amazed at how many other people have the same problem. Basically, your kernel does not have support for the SIS chipset. Anyway, I have recompiled the Kernel (which is 2.6.9 do to the custom driver for the DVICO card) to support the IDE controller and this did not make any difference. I am using a Gigabit mother board model GA-8S661FXM-775 with a p4 on it. A pretty quick machine for this task. Did you compile the support into the kernel (i.e. it cannot be a module)? Did you update your bootloader (GRUB or LILO)? Did you reboot the system and select the new kernel? Note, also, that if you have support for some kernel options (such as Generic PCI IDE Chipset Support a.k.a. CONFIG_BLK_DEV_GENERIC), they will typically prevent loading of the SiS support (i.e. the generic IDE support is tried first, and it works, so the kernel doesn't try the SiS support). Mike ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
[mythtv-users] Help: issues in trying to enable DMA on hard drives for mythtv...
Hello All, After a lot of work I have finally have my Mythtv box running. Thanks for all the great guides that are out there. Partically the one that was written by Jarod Wilson and Jani Talikka (for the Dvico HDTV digital card setup). I followed Jani Talikka's guide pretty closely to get my box running. One of the remaining problems that I have is the Live TV output is jerky. After searching the net I think this is related to me not being able to get the drives to use DMA. If I record anything the play back seems to be ok. So first up I will give a little info and see how we go. When I do a lspci -v command I get this: - 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 661FX/M661FX/M661MX Host (rev 11) Subsystem: Silicon Integrated Systems [SiS] 661FX/M661FX/M661MX Host Flags: bus master, medium devsel, latency 32 Memory at d800 (32-bit, non-prefetchable) [size=64M] Capabilities: [c0] AGP version 3.5 00:01.0 PCI bridge: Silicon Integrated Systems [SiS]: Unknown device 0003 (prog-if 00 [Normal decode]) Flags: bus master, 66Mhz, fast devsel, latency 64 Bus: primary=00, secondary=01, subordinate=01, sec-latency=32 Memory behind bridge: dc00-ddff Prefetchable memory behind bridge: d000-d7ff 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] (rev 36) Flags: bus master, medium devsel, latency 0 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01) (prog-if 8a [Master SecP PriP]) Subsystem: Giga-byte Technology: Unknown device 5002 Flags: bus master, medium devsel, latency 128, IRQ 16 I/O ports at unassigned I/O ports at unassigned I/O ports at unassigned I/O ports at unassigned I/O ports at f000 [size=16] 00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) (prog-if 10 [OHCI]) Subsystem: Giga-byte Technology: Unknown device 5004 Flags: bus master, medium devsel, latency 32, IRQ 20 Memory at e1001000 (32-bit, non-prefetchable) [size=4K] 00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) (prog-if 10 [OHCI]) Subsystem: Giga-byte Technology: Unknown device 5004 Flags: bus master, medium devsel, latency 32, IRQ 21 Memory at e1002000 (32-bit, non-prefetchable) [size=4K] 00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) (prog-if 10 [OHCI]) Subsystem: Giga-byte Technology: Unknown device 5004 Flags: bus master, medium devsel, latency 32, IRQ 22 Memory at e1004000 (32-bit, non-prefetchable) [size=4K] 00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller (prog-if 20 [EHCI]) Subsystem: Giga-byte Technology: Unknown device 5004 Flags: bus master, medium devsel, latency 32, IRQ 23 Memory at e100 (32-bit, non-prefetchable) [size=4K] Capabilities: [50] Power Management version 2 00:09.0 Multimedia video controller: Conexant Winfast TV2000 XP (rev 05) Subsystem: DViCO Corporation: Unknown device db10 Flags: bus master, medium devsel, latency 32, IRQ 17 Memory at de00 (32-bit, non-prefetchable) [size=16M] Capabilities: [44] Vital Product Data Capabilities: [4c] Power Management version 2 00:09.2 Multimedia controller: Conexant: Unknown device 8802 (rev 05) Subsystem: DViCO Corporation: Unknown device db10 Flags: bus master, medium devsel, latency 32, IRQ 17 Memory at df00 (32-bit, non-prefetchable) [size=16M] Capabilities: [4c] Power Management version 2 00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) Subsystem: Realtek Semiconductor Co., Ltd. RT8139 Flags: bus master, medium devsel, latency 32, IRQ 18 I/O ports at e000 [size=256] Memory at e1003000 (32-bit, non-prefetchable) [size=256] Capabilities: [50] Power Management version 2 00:0b.0 Multimedia audio controller: Creative Labs Ectiva EV1938 Subsystem: Creative Labs: Unknown device 5938 Flags: bus master, slow devsel, latency 32, IRQ 19 I/O ports at e400 [size=64] I/O ports at e800 [size=32] Capabilities: [dc] Power Management version 2 01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1) (prog-if 00 [VGA]) Subsystem: LeadTek Research Inc.: Unknown device 290f Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 16 Memory at dc00 (32-bit, non-prefetchable) [size=16M] Memory at d000 (32-bit, prefetchable) [size=128M] Capabilities: [60] Power Management version 2 Capabilities: [44] AGP version 3.0
Re: [mythtv-users] Help: issues in trying to enable DMA on hard drives for mythtv...
/sbin/hdparm -c 3 -d 1 -m 16 -A1 /dev/hda This means: '-c 3' enables 32 bit transfers with sync through the pci bus, '-d 1' enables DMA operation, '-m 16' turns on multisector transfers (with 16 sectors) and '-A1' enables the driver read ahead feature. On 6/2/05, Robert McRostie [EMAIL PROTECTED] wrote: Hello All, After a lot of work I have finally have my Mythtv box running. Thanks for all the great guides that are out there. Partically the one that was written by Jarod Wilson and Jani Talikka (for the Dvico HDTV digital card setup). I followed Jani Talikka's guide pretty closely to get my box running. One of the remaining problems that I have is the Live TV output is jerky. After searching the net I think this is related to me not being able to get the drives to use DMA. If I record anything the play back seems to be ok. So first up I will give a little info and see how we go. When I do a lspci -v command I get this: - 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 661FX/M661FX/M661MX Host (rev 11) Subsystem: Silicon Integrated Systems [SiS] 661FX/M661FX/M661MX Host Flags: bus master, medium devsel, latency 32 Memory at d800 (32-bit, non-prefetchable) [size=64M] Capabilities: [c0] AGP version 3.5 00:01.0 PCI bridge: Silicon Integrated Systems [SiS]: Unknown device 0003 (prog-if 00 [Normal decode]) Flags: bus master, 66Mhz, fast devsel, latency 64 Bus: primary=00, secondary=01, subordinate=01, sec-latency=32 Memory behind bridge: dc00-ddff Prefetchable memory behind bridge: d000-d7ff 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] (rev 36) Flags: bus master, medium devsel, latency 0 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01) (prog-if 8a [Master SecP PriP]) Subsystem: Giga-byte Technology: Unknown device 5002 Flags: bus master, medium devsel, latency 128, IRQ 16 I/O ports at unassigned I/O ports at unassigned I/O ports at unassigned I/O ports at unassigned I/O ports at f000 [size=16] 00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) (prog-if 10 [OHCI]) Subsystem: Giga-byte Technology: Unknown device 5004 Flags: bus master, medium devsel, latency 32, IRQ 20 Memory at e1001000 (32-bit, non-prefetchable) [size=4K] 00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) (prog-if 10 [OHCI]) Subsystem: Giga-byte Technology: Unknown device 5004 Flags: bus master, medium devsel, latency 32, IRQ 21 Memory at e1002000 (32-bit, non-prefetchable) [size=4K] 00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) (prog-if 10 [OHCI]) Subsystem: Giga-byte Technology: Unknown device 5004 Flags: bus master, medium devsel, latency 32, IRQ 22 Memory at e1004000 (32-bit, non-prefetchable) [size=4K] 00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller (prog-if 20 [EHCI]) Subsystem: Giga-byte Technology: Unknown device 5004 Flags: bus master, medium devsel, latency 32, IRQ 23 Memory at e100 (32-bit, non-prefetchable) [size=4K] Capabilities: [50] Power Management version 2 00:09.0 Multimedia video controller: Conexant Winfast TV2000 XP (rev 05) Subsystem: DViCO Corporation: Unknown device db10 Flags: bus master, medium devsel, latency 32, IRQ 17 Memory at de00 (32-bit, non-prefetchable) [size=16M] Capabilities: [44] Vital Product Data Capabilities: [4c] Power Management version 2 00:09.2 Multimedia controller: Conexant: Unknown device 8802 (rev 05) Subsystem: DViCO Corporation: Unknown device db10 Flags: bus master, medium devsel, latency 32, IRQ 17 Memory at df00 (32-bit, non-prefetchable) [size=16M] Capabilities: [4c] Power Management version 2 00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) Subsystem: Realtek Semiconductor Co., Ltd. RT8139 Flags: bus master, medium devsel, latency 32, IRQ 18 I/O ports at e000 [size=256] Memory at e1003000 (32-bit, non-prefetchable) [size=256] Capabilities: [50] Power Management version 2 00:0b.0 Multimedia audio controller: Creative Labs Ectiva EV1938 Subsystem: Creative Labs: Unknown device 5938 Flags: bus master, slow devsel, latency 32, IRQ 19 I/O ports at e400 [size=64] I/O ports at e800 [size=32] Capabilities: [dc] Power Management version 2 01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)