Lan Barnes wrote:
> On Tue, December 11, 2007 3:33 pm, Gus Wirth wrote:
>> Lan Barnes wrote:
>>> On Tue, December 11, 2007 12:31 pm, Gus Wirth wrote:
>>>> Lan Barnes wrote:
>>>>> I just did a stupid "Send" of a trimmed Gus message. My bad.
>>>>>
>>>>> On Sun, December 9, 2007 6:48 pm, Gus Wirth wrote:
>>>>>
>>>>>> If all three cards are trying to record at the same time you may be
>>>>>> encountering PCI bus latency issues. See this article on the MythTV
>>>>>> Wiki
>>>>>> for more info: http://www.mythtv.org/wiki/index.php/PCI_Latency
>>>>>>
>>>>> That looks terrifically promising. I checked and all three cards were
>>>>> at
>>>>> latency 64. I bumped all three to 128, and added that to
>>>>> /etc/rc.local.
>>>>> We
>>>>> shall see if this problem goes away.
>>>> What is the latency setting for the hard drive? It should be set higher
>>>> than the cards. The article recommends setting the hard drive to have a
>>>> latency of 0xb0 (176 dec). Also, the wiki links to an excellent article
>>>> on the IBM Developer Works site
>>>> <http://www-128.ibm.com/developerworks/library/l-hw2.html> which I
>>>> highly recommend reading. That article gives more rational for the
>>>> settings and gives good advice on IRQs (Interrupt Requests).
>>>>
>>>> Gus
>>>>
>>>>
>>> It had two drive controllers (remember, I got the machine used, so I'm
>>> groping my way here).
>>>
>>> The first doesn't appear to be used, and I left it alone.
>>>
>>> 00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller
>>> (rev 02) (prog-if 8a [Master SecP PriP])
>>>         Subsystem: ASUSTeK Computer Inc. Unknown device 8089
>>>         Flags: bus master, medium devsel, latency 0, IRQ 16
>>>         I/O ports at 01f0 [size=8]
>>>         I/O ports at 03f4 [size=1]
>>>         I/O ports at 0170 [size=8]
>>>         I/O ports at 0374 [size=1]
>>>         I/O ports at f000 [size=16]
>>>         Memory at 50000000 (32-bit, non-prefetchable) [size=1K]
>>>
>>> The second was set at 64, and I bumped it up to 0xb0.
>>>
>>> 02:04.0 RAID bus controller: Silicon Image, Inc. SiI 3112
>>> [SATALink/SATARaid] Serial ATA Controller (rev 02)
>>>         Subsystem: Silicon Image, Inc. SiI 3112 SATARaid Controller
>>>         Flags: bus master, 66MHz, medium devsel, latency 176, IRQ 20
>>>         I/O ports at b800 [size=8]
>>>         I/O ports at b400 [size=4]
>>>         I/O ports at b000 [size=8]
>>>         I/O ports at a800 [size=4]
>>>         I/O ports at a400 [size=16]
>>>         Memory at d9000000 (32-bit, non-prefetchable) [size=512]
>>>         Expansion ROM at e3f80000 [disabled] [size=512K]
>>>         Capabilities: [60] Power Management version 2
>>>
>>>
>>> Reply only if I messed up ... otherwise, let me watch this for a couple
>>> of
>>> days and then report whether it turns out to be the secret sauce.
>> Is your hard drive SATA? I thought you had a Parallel ATA (IDE) drive.
>> It wouldn't hurt to bump both controllers up. dmesg should show which
>> controller has which drive.
>>
>> Gus
>>
> 
> [EMAIL PROTECTED] ~]# dmesg|grep "[h|s]d[a-z]"
>     ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
>     ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
> hda: TDK DVDRW0404N, ATAPI CD/DVD-ROM drive
> hda: hw_config=0000
> hda: hw_config=0000
> SCSI device sda: 320173056 512-byte hdwr sectors (163929 MB)
> sda: Write Protect is off
> sda: Mode Sense: 00 3a 00 00
> SCSI device sda: write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
> SCSI device sda: 320173056 512-byte hdwr sectors (163929 MB)
> sda: Write Protect is off
> sda: Mode Sense: 00 3a 00 00
> SCSI device sda: write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
>  sda: sda1 sda2
> sd 0:0:0:0: Attached scsi disk sda
> SCSI device sdb: 490234752 512-byte hdwr sectors (251000 MB)
> sdb: Write Protect is off
> sdb: Mode Sense: 00 3a 00 00
> SCSI device sdb: write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
> SCSI device sdb: 490234752 512-byte hdwr sectors (251000 MB)
> sdb: Write Protect is off
> sdb: Mode Sense: 00 3a 00 00
> SCSI device sdb: write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
>  sdb: sdb1
> sd 1:0:0:0: Attached scsi disk sdb
> hda: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
> EXT3 FS on sda1, internal journal
> 
> 
> So it looks like MythDora, at least, sees the data drives as scsi.
> 
> But, what do I know?
> 
> I know that trying to turn on DMA with hdparam gets rejected as
> inappropriate, because I tried :-)

Lan:

Joshua already answered this question two days ago.

Gus


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to