Re: cyclades isa card not recognized on 5-current ?

From: Bruce Evans <bde_at_zeta.org.au>
Date: Sat, 19 Jul 2003 14:41:33 +1000 (EST)
On Fri, 18 Jul 2003, Bjoern A. Zeeb wrote:

> I have further digged into this and from what I can see
>
> --- cy.c:cy_units ---
>                 /* wait for the CD1400 to initialize itself */
>                 for (i = 0; i < 200; i++) {
>                         DELAY(50);
>
>                         /* retrieve firmware version */
>                         firmware_version = cd_inb(iobase, CD1400_GFRCR,
>                                                   cy_align);
>                         if ((firmware_version & 0xf0) == 0x40) {
>                                 break;
>                         }
>                 }
> --- cut ---
>
> firmware_version always is 0xff.

This usually means that the maddr is wrong or that the hardware is not
there for some other reason.  A normal hex dump of cyclades isa memory
looks something like this
(output from "dd if=/dev/mem bs=1 iseek=0xd4000 count=0x2000 | hd"):

%%%
00000000  00 00 00 00 00 00 82 82  00 00 00 00 00 00 00 00  |................|
00000010  13 13 00 00 06 06 08 08  00 00 26 26 00 00 00 00  |..........&&....|
00000020  00 00 34 34 00 00 00 00  00 00 10 10 10 10 a0 a0  |..44............|
00000030  18 18 26 26 00 00 00 00  00 00 00 00 08 08 00 00  |..&&............|
00000040  00 00 02 02 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000080  46 46 00 00 00 00 00 00  00 00 00 00 00 00 47 47  |FF............GG|
...
%%%

Values at even offsets are always repeated at the next (odd) offset.

CD1400_GFRCR is at offset 0x80 (contents 0x46 in the above).

> If I give another maddr in hints file than dip switches are set to
> kernel aborts somwhere in sioprobe(dev) and will reboot so I assume
> maddr really is set correct (also verified with cyclades manual
> y_30.pdf again).

The abort is a bit unusual since the cyclades probe is not very invasive.

> There is a "Rev 5" oder 5.0 on the card.

I think mine is much older (model 8Yb).

Did you say that it worked under old versions of FreeBSD?

Bruce
Received on Fri Jul 18 2003 - 19:42:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:15 UTC