Subject: Re: PCI types & compatibility
To: None <port-macppc@NetBSD.org>
From: Donald Lee <MacPPC@caution.icompute.com>
List: port-macppc
Date: 07/02/2004 13:13:40
I was hoping that this support article would have information useful
to fixing the driver (which I still suspect is the problem - endian problem),
but it calls out cable problems and drive utilities.

The same drives that are flaky on my Beige with the Sonnet temp card
(and drop back to Ultra/33) run fine - without hiccup - on the G4/AGP
on the internal busses.

I still think it's a driver problem with the wdc and/or wd driver.

============old log (failing case w/ Sonnet)

May 30 12:57:43 grace /netbsd: wd1 at pciide0 channel 0 drive 0: <ST380011A>
May 30 12:57:43 grace /netbsd: wd1: drive supports 16-sector PIO transfers, LBA48 addressing
May 30 12:57:43 grace /netbsd: wd1: 76319 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
May 30 12:57:43 grace /netbsd: wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
May 30 12:57:43 grace /netbsd: wd1(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
May 30 12:57:43 grace /netbsd: wd1: transfer error, downgrading to Ultra-DMA mode 2
May 30 12:57:43 grace /netbsd: wd1(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
May 30 12:57:43 grace /netbsd: wd1c: error reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
May 30 12:57:43 grace /netbsd: wd1: (aborted command, interface CRC error)
May 30 12:57:43 grace /netbsd: wd1(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
May 30 12:57:43 grace /netbsd: wd1: soft error (corrected)


===========new log (G4/AGP)

Jul  1 22:06:24 grace /netbsd: wd1 at wdc0 channel 0 drive 1: <ST380011A>
Jul  1 22:06:24 grace /netbsd: wd1: drive supports 16-sector PIO transfers, LBA48 addressing
Jul  1 22:06:24 grace /netbsd: wd1: 76319 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
Jul  1 22:06:24 grace /netbsd: wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
Jul  1 22:06:24 grace /netbsd: wd1(wdc0:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
(and no errors)

I could try using the cables from the G4 on the Sonnet card, but the cables
I'm using with the Sonnnet card are the cables that came with the card.
It would be pretty silly if Sonnet sent me inadequate cables.......
(I should try it....)

-dgl-

At 9:37 AM -0700 7/2/04, Zinneken wrote:
>Thanks John. For your Promise card problem, have a look at (you
>probably have already, just in case):
>http://www.promise.com/support/faq/faq_answer_eng.asp?faq_id=292
>Do you use the Red Hat driver to use the card or is it recognised
>automatically by NetBSD?
>
>--- John Klos <john@ziaspace.com> wrote:
>> > I'd like to revive my old Umax C600/Apus 3000.
>> >
>> > I've read that it should be possible to use on macs or mac clones
>> PC
>> > ATA PCI cards (such as those from Promise or tekram or other
>> brands).
>> > Normally (under Mac Os) these are not supposed to work, so I
>> wonder:
>> >
>> > has anyone successfully used these PC ATA PCI cards on a mac
>> running NetBSD?
>> 
>> Yes. As Donald pointed out, many will work, but you have to be
>> careful 
>> about which you get.
>> 
>> As a data point, I have tried the Promise ATA-133 card, and it
>> instantly 
>> switches to 33 MB/sec on the first use regardless of the kind of
>> drive or 
>> cable.
>> 
>> I currently have a machine colocated with some no-brand card with a
>> CMD 
>> 0648 chip. It runs at 66MB/sec, and seems to work fine with just
>> one 
>> channel in use. With two in use, it eventually has problems.
>> 
>> pciide0 at pci0 dev 15 function 0: CMD Technology PCI0648 (rev.
>> 0x01)
>> 
>> Hope this helps.
>> 
>> John Klos
>> 
>
>
>		
>__________________________________
>Do you Yahoo!?
>New and Improved Yahoo! Mail - Send 10MB messages!
>http://promotions.yahoo.com/new_mail