Re: cyclades isa card not recognized on 5-current ?
On Sat, 19 Jul 2003, Bruce Evans wrote: Hi, 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): thanks. useful hint. going to see what I can do with this information. 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. yeah. aehm and if we are with it. Is it really correct that 0xc and 0xd4000 have the same dip settings ? This is the case according to ftp://ftp.cyclades.de/pub/cyclades/cyclom-y/doc/y_30.pdf (english) Though I also tried other addresses as said I hink this might be an error in the table ? There is a Rev 5 oder 5.0 on the card. I think mine is much older (model 8Yb). Everything interesting I can find on the card: CYCLOM-8Yo Rev 5.00 (c) 1995 Cyclades Corporation 25 Mhz FOX 2x CL-CD1400-10PC-G, 48360-208BC, 9535-B CY7C371, -66JC 9537, CYP 119265,+, U178Y100(*) and on the back: MTI-Y, 94V-0, 0196 and a barcode with CYC0013184 Did you say that it worked under old versions of FreeBSD? no, I got the card from someone who no longer had a use for it. Don't know which OS he had been running. I only have one 4-STABLE maschine which is up 24-7-365 and another 5.0 notebook. So not much chance to test it in another machine with an older FreeBSD version. OK some more investigation done: a) silly me also tried addresses that where in the middle of orm0: Option ROMs at iomem 0xc8000-0xcbfff,0xc-0xc7fff on isa0 these where the panics on startup. Cannot reproduce them with addresses outside of this range. Must have missed this the first time I checked free resources :( b) set maddr and dips to 0xd8000 and now getting (see marked areas): e0-0# dd if=/dev/mem bs=1 iseek=0xd8000 count=0x2000 | hd 00 00 00 00 00 00 00 00 00 00 81 81 00 00 00 00 || 0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || * 0080 00 00 00 00 61 61 61 61 61 61 00 00 41 41 41 41 |aa..| 0090 40 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |@@..| 00a0 61 61 00 00 61 61 61 61 61 61 81 81 41 41 40 40 |aa..aa..AA@@| 00b0 40 40 00 00 40 40 00 00 00 00 00 00 00 00 40 40 |@@..@@@@| 00c0 40 40 40 40 00 00 00 00 ff ff ff ff ff ff 00 00 || 00d0 c0 c0 08 08 10 10 18 18 a8 a8 a8 a8 a0 a0 a8 a8 || 00e0 54 54 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |TT..| 00f0 00 00 00 00 08 08 08 08 08 08 08 08 00 00 00 00 || 0100 00 00 00 00 00 00 00 00 00 00 81 81 00 00 00 00 || 0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || * 0180 00 00 00 00 61 61 61 61 61 61 00 00 41 41 41 41 |aa..| 0190 40 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |@@..| 01a0 61 61 00 00 61 61 61 61 61 61 81 81 41 41 40 40 |aa..aa..AA@@| 01b0 40 40 00 00 40 40 00 00 00 00 00 00 00 00 40 40 |@@..@@@@| 01c0 40 40 40 40 00 00 00 00 ff ff ff ff ff ff 00 00 || 01d0 c0 c0 08 08 10 10 18 18 a8 a8 a8 a8 a0 a0 a8 a8 || 01e0 54 54 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |TT..| 01f0 00 00 00 00 08 08 08 08 08 08 08 08 00 00 00 00 || 0200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || * ::-- 0400 00 00 00 00 00 00 00 00 22 22 00 00 00 00 00 00 |..| 0410 00 00 00 00 00 00 00 00 00 00 26 26 00 00 00 00 |..| 0420 00 00 34 34 00 00 00 00 00 00 00 00 00 00 a0 a0 |..44| 0430 00 00 26 26 00 00 00 00 00 00 00 00 00 00 00 00 |..| 0440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || * 0480 46 46 00 00 00 00 00 00 00 00 00 00 00 00 47 47 |FFGG| ::-- 0490 00 00 00 00 00 00 00 00 00 00 00 00 83 83 00 00 || 04a0 34 34 22 22 00 00 00 00 00 00 00 00 00 00 00 00 |44| 04b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || 04c0 26 00 00 26 00 26 46 00 0e 0e 42 42 00 00 00 00 |...F...BB| 04d0 c0 c0 0b 0b 10 10 18 18 a8 a0 a0 a0 a0 a0 a8 a8 || 04e0 54 54 00 00 41 41 06 3e 04 84 08 08 01 01 89 81 |TT..AA.| 04f0 41 41 41 41 00 00 38 18 01 19 02 22 ff ff bd bc |..8| ::-- 0500 00 00 00 00 00 00 00 00 22 22
Re: cyclades isa card not recognized on 5-current ?
On Fri, 18 Jul 2003, Bruce Evans wrote: Hi, just to also ask here before opening a bug report. Anyone successfully using a cyclades (Yo8) ISA on FreeBSD 5.x/Current ? I am unable to get it regonized on bootup. ... A similar configuration still works for me with a slightly old version of -current. 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. 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). There is a Rev 5 oder 5.0 on the card. Any more ideas ? I am willing to test any ideas/patches etc. -- Greetings Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cyclades isa card not recognized on 5-current ?
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): %%% 00 00 00 00 00 00 82 82 00 00 00 00 00 00 00 00 || 0010 13 13 00 00 06 06 08 08 00 00 26 26 00 00 00 00 |..| 0020 00 00 34 34 00 00 00 00 00 00 10 10 10 10 a0 a0 |..44| 0030 18 18 26 26 00 00 00 00 00 00 00 00 08 08 00 00 |..| 0040 00 00 02 02 00 00 00 00 00 00 00 00 00 00 00 00 || 0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || * 0080 46 46 00 00 00 00 00 00 00 00 00 00 00 00 47 47 |FFGG| ... %%% 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
cyclades isa card not recognized on 5-current ?
Hi, just to also ask here before opening a bug report. Anyone successfully using a cyclades (Yo8) ISA on FreeBSD 5.x/Current ? I am unable to get it regonized on bootup. Card dip switches are set to IRQ 11, 0xd4000. kernel config has: options COMPAT_OLDISA device cy 1 and /boot/device.hints hint.cy.0.at=isa hint.cy.0.irq=11 hint.cy.0.maddr=0xd4000 hint.cy.0.msize=0x2000 IRQ 11 is reseverd to ISA/EISA in BIOS and not PCI/PnP. What am I missing ? Thanks in advance for any hints. -- Greetings Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cyclades isa card not recognized on 5-current ?
On Thu, 17 Jul 2003, Bjoern A. Zeeb wrote: just to also ask here before opening a bug report. Anyone successfully using a cyclades (Yo8) ISA on FreeBSD 5.x/Current ? I am unable to get it regonized on bootup. Card dip switches are set to IRQ 11, 0xd4000. kernel config has: options COMPAT_OLDISA device cy 1 and /boot/device.hints hint.cy.0.at=isa hint.cy.0.irq=11 hint.cy.0.maddr=0xd4000 hint.cy.0.msize=0x2000 IRQ 11 is reseverd to ISA/EISA in BIOS and not PCI/PnP. What am I missing ? Thanks in advance for any hints. A similar configuration still works for me with a slightly old version of -current. Bruce ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]