Subject: Re: Adaptec 2940 not recognised
To: Julian Bourne <julian@mncs.maynick.com.au>
From: Peter Simons <simons@petium.rhein.de>
List: port-i386
Date: 05/30/1996 15:10:31
Julian Bourne wrote:
> Would anyone have any idea under what circumstances the kcadp11.fs
> kernel and inst11.fs installation floppies would not recognise a PCI
> Adaptec AHA 2940 with a 1GB SeaCrate hanging off it?
The latest adaptec controller has a different vendor id than the
earlier versions and is thus not recognized correctly. You can fix
that by editing the file "/sys/dev/pci/aic7870.c". There must be a
define which reads like this:
| #define PCI_DEVICE_ID_ADAPTEC_2940 0x81789004ul
Unfortunately I do not know the old value anymore, but you can just
search for the name and replace the old value with this one.
Furthermore, you should copy the following file under the name
aic7xxx_seq.h to your compile directory:
--------------------------------------------------------------------------------
#define AIC7XXX_SEQ_VER "$Id: aic7xxx.seq,v 1.1 1995/10/09 09:49:37 mycroft Exp $"
0x10, 0x57, 0x22, 0x1e,
0x01, 0x53, 0x06, 0x1e,
0x08, 0x1f, 0x1f, 0x04,
0x20, 0x0b, 0x3e, 0x1a,
0x40, 0x0b, 0x41, 0x1a,
0x08, 0x1f, 0x1f, 0x04,
0x20, 0x0b, 0x3e, 0x1a,
0x40, 0x0b, 0x41, 0x1a,
0x10, 0x57, 0x22, 0x1e,
0x1f, 0x9c, 0x01, 0x1e,
0xff, 0x9b, 0x90, 0x02,
0x08, 0xa0, 0x19, 0x1e,
0xff, 0x6a, 0x8e, 0x02,
0xff, 0x6a, 0x8d, 0x02,
0x13, 0x6a, 0x8c, 0x00,
0x88, 0x6a, 0x66, 0x00,
0xba, 0x6a, 0x04, 0x17,
0x0d, 0x6a, 0x93, 0x00,
0x00, 0x65, 0x2d, 0x17,
0xa0, 0x6a, 0x66, 0x00,
0x00, 0x65, 0x08, 0x17,
0x00, 0x65, 0x0b, 0x17,
0x00, 0x65, 0x0b, 0x17,
0x00, 0x65, 0x0b, 0x17,
0x00, 0x65, 0x0b, 0x17,
0x20, 0xa0, 0x26, 0x1a,
0x70, 0xa1, 0x6e, 0x02,
0xff, 0x6e, 0x64, 0x02,
0x88, 0xa1, 0x24, 0x1e,
0x00, 0x55, 0x20, 0x1a,
0x00, 0x55, 0x55, 0x00,
0x00, 0x65, 0x26, 0x10,
0xff, 0x90, 0x9b, 0x02,
0x00, 0x65, 0x01, 0x10,
0xff, 0x57, 0x90, 0x02,
0x00, 0x65, 0x26, 0x10,
0x00, 0x54, 0x20, 0x1a,
0x00, 0x54, 0x54, 0x00,
0xf7, 0x1f, 0x65, 0x02,
0x08, 0xa1, 0x64, 0x02,
0x00, 0x65, 0x65, 0x00,
0xff, 0x65, 0x1f, 0x02,
0x00, 0xa1, 0x31, 0x17,
0x48, 0x00, 0x00, 0x00,
0xff, 0x90, 0x57, 0x02,
0xff, 0x6a, 0x4c, 0x02,
0x3f, 0x53, 0x53, 0x02,
0x00, 0xa1, 0x3d, 0x17,
0x07, 0xa1, 0x65, 0x02,
0x00, 0x65, 0x65, 0x00,
0x80, 0x65, 0x0f, 0x17,
0xff, 0x65, 0x64, 0x02,
0xe0, 0xa0, 0x3d, 0x1e,
0x00, 0x35, 0x3d, 0x18,
0x36, 0x6a, 0x66, 0x00,
0x20, 0xa0, 0x3c, 0x1e,
0x23, 0xa0, 0x64, 0x02,
0xff, 0x64, 0x6d, 0x02,
0xff, 0x90, 0x6d, 0x02,
0xcb, 0x66, 0x34, 0x06,
0x00, 0x66, 0x7e, 0x17,
0x00, 0x65, 0x01, 0x10,
0x00, 0x19, 0x31, 0x17,
0x3f, 0x53, 0x53, 0x02,
0x80, 0x53, 0x44, 0x10,
0x08, 0xa0, 0xa0, 0x00,
0xff, 0xbe, 0x57, 0x02,
0x10, 0x6a, 0xbe, 0x00,
0x00, 0x65, 0x35, 0x17,
0x10, 0x6a, 0x00, 0x00,
0x60, 0x6a, 0x0b, 0x00,
0x08, 0x6a, 0x0c, 0x00,
0x08, 0x0c, 0xfe, 0x1a,
0x01, 0x0c, 0x48, 0x1e,
0xe0, 0x03, 0x64, 0x02,
0x00, 0x6a, 0x52, 0x1c,
0x40, 0x64, 0x65, 0x1c,
0x80, 0x64, 0x78, 0x1c,
0xc0, 0x64, 0x81, 0x1c,
0xa0, 0x64, 0x84, 0x1c,
0xe0, 0x64, 0x9c, 0x1c,
0x01, 0x6a, 0x91, 0x00,
0x00, 0x6a, 0x92, 0x17,
0x00, 0x65, 0x3a, 0x17,
0x00, 0x65, 0x5f, 0x17,
0x88, 0x6a, 0x66, 0x00,
0xb3, 0x6a, 0x04, 0x17,
0xb7, 0x6a, 0x01, 0x17,
0x08, 0x6a, 0x66, 0x00,
0xb7, 0x6a, 0x01, 0x17,
0xff, 0xb2, 0x5d, 0x1a,
0x3d, 0x6a, 0x23, 0x17,
0x00, 0x65, 0x5e, 0x10,
0xbd, 0x6a, 0x23, 0x17,
0xb7, 0x6a, 0x66, 0x00,
0x08, 0x6a, 0x01, 0x17,
0xb3, 0x6a, 0x66, 0x00,
0x14, 0x6a, 0x04, 0x17,
0x00, 0x65, 0x6c, 0x17,
0xff, 0x4d, 0xb2, 0x02,
0x00, 0x65, 0x48, 0x10,
0x40, 0x6a, 0x92, 0x17,
0x00, 0x65, 0x3a, 0x17,
0x00, 0x65, 0x5f, 0x17,
0x88, 0x6a, 0x66, 0x00,
0xb3, 0x6a, 0x04, 0x17,
0xb7, 0x6a, 0x01, 0x17,
0x08, 0x6a, 0x66, 0x00,
0xb7, 0x6a, 0x01, 0x17,
0xff, 0xb2, 0x70, 0x1a,
0x39, 0x6a, 0x23, 0x17,
0x00, 0x65, 0x71, 0x10,
0xb9, 0x6a, 0x23, 0x17,
0xb7, 0x6a, 0x66, 0x00,
0x08, 0x6a, 0x01, 0x17,
0xb3, 0x6a, 0x66, 0x00,
0x14, 0x6a, 0x04, 0x17,
0x00, 0x65, 0x6c, 0x17,
0xff, 0x4d, 0xb2, 0x02,
0x00, 0x65, 0x48, 0x10,
0x80, 0x6a, 0x92, 0x17,
0x00, 0x65, 0x3a, 0x17,
0x88, 0x6a, 0x66, 0x00,
0xa7, 0x6a, 0x04, 0x17,
0xab, 0x6a, 0x01, 0x17,
0x08, 0x6a, 0x66, 0x00,
0xab, 0x6a, 0x01, 0x17,
0x3d, 0x6a, 0x23, 0x17,
0x00, 0x65, 0x48, 0x10,
0xc0, 0x6a, 0x92, 0x17,
0xae, 0x6a, 0x15, 0x17,
0x00, 0x65, 0xfc, 0x10,
0xa0, 0x6a, 0x92, 0x17,
0x08, 0x6a, 0x0f, 0x17,
0xff, 0x6a, 0x0a, 0x02,
0xff, 0x6a, 0x09, 0x02,
0x35, 0x6a, 0x65, 0x00,
0xff, 0x34, 0x66, 0x02,
0x02, 0x0b, 0x8a, 0x1e,
0x10, 0x0c, 0x99, 0x1a,
0x01, 0x66, 0x8e, 0x18,
0x40, 0x6a, 0x0c, 0x00,
0x01, 0x6a, 0x08, 0x00,
0xff, 0x6c, 0x06, 0x02,
0x04, 0x0b, 0x90, 0x1e,
0xff, 0x66, 0x66, 0x06,
0xff, 0x66, 0x8a, 0x1a,
0x08, 0x0c, 0x99, 0x1a,
0x01, 0x0c, 0x93, 0x1e,
0xe0, 0x03, 0x64, 0x02,
0xa0, 0x64, 0x99, 0x18,
0x10, 0x6a, 0x92, 0x17,
0x00, 0x65, 0x48, 0x10,
0x40, 0x6a, 0x0c, 0x00,
0xdf, 0x53, 0x53, 0x02,
0x00, 0x65, 0x48, 0x10,
0xe0, 0x6a, 0x92, 0x17,
0x64, 0x6a, 0x15, 0x17,
0x00, 0x6a, 0x31, 0x00,
0x00, 0x6a, 0xb3, 0x18,
0xff, 0xaf, 0xb1, 0x1a,
0xff, 0xb0, 0xb1, 0x1a,
0xff, 0xb1, 0xb1, 0x1a,
0xff, 0xae, 0xa7, 0x1e,
0x71, 0x6a, 0x91, 0x00,
0x80, 0x4a, 0xa7, 0x1e,
0x00, 0x65, 0xfc, 0x10,
0x20, 0xa0, 0xae, 0x1a,
0x70, 0xa1, 0x6e, 0x02,
0xff, 0x6e, 0x64, 0x02,
0x88, 0xa1, 0xad, 0x1e,
0x00, 0x55, 0x55, 0x04,
0x00, 0x65, 0xae, 0x10,
0x00, 0x54, 0x54, 0x04,
0xff, 0x90, 0x9d, 0x02,
0x02, 0x6a, 0x91, 0x00,
0x00, 0x65, 0xfc, 0x10,
0x81, 0x6a, 0x91, 0x00,
0x00, 0x65, 0xa3, 0x10,
0x01, 0x64, 0xd0, 0x18,
0x4a, 0x6a, 0x19, 0x17,
0x64, 0x6a, 0x19, 0x17,
0x01, 0x64, 0xc4, 0x1c,
0x03, 0x64, 0xb9, 0x1c,
0x00, 0x65, 0xf8, 0x10,
0x02, 0x4a, 0xf8, 0x18,
0x64, 0x6a, 0x19, 0x17,
0x51, 0x6a, 0x91, 0x00,
0x80, 0x4a, 0xfc, 0x1e,
0x7f, 0x4a, 0x4a, 0x02,
0x20, 0x53, 0x53, 0x00,
0x35, 0x6a, 0x66, 0x00,
0x35, 0x6a, 0x8d, 0x17,
0x10, 0x4b, 0x65, 0x00,
0x00, 0x65, 0x92, 0x17,
0x00, 0x65, 0xfc, 0x10,
0x03, 0x4a, 0xf8, 0x18,
0x4a, 0x6a, 0x19, 0x17,
0x64, 0x6a, 0x19, 0x17,
0x41, 0x6a, 0x91, 0x00,
0xc0, 0x4a, 0xfc, 0x1e,
0x40, 0x4a, 0xf8, 0x1a,
0x20, 0x53, 0x53, 0x00,
0x35, 0x6a, 0x66, 0x00,
0x35, 0x6a, 0x81, 0x17,
0x10, 0x4b, 0x65, 0x00,
0x00, 0x65, 0x92, 0x17,
0x00, 0x65, 0xfc, 0x10,
0x04, 0x64, 0xd3, 0x18,
0x04, 0xa0, 0xa0, 0x00,
0x00, 0x65, 0xfc, 0x10,
0x02, 0x64, 0xd6, 0x18,
0x00, 0x65, 0x59, 0x17,
0x00, 0x65, 0xfc, 0x10,
0x03, 0x64, 0xd9, 0x18,
0x00, 0x65, 0x53, 0x17,
0x00, 0x65, 0xfc, 0x10,
0x80, 0x64, 0xf5, 0x1e,
0x78, 0x64, 0xf8, 0x1a,
0x07, 0x64, 0x64, 0x02,
0x00, 0x19, 0x56, 0x00,
0xf7, 0x56, 0x56, 0x02,
0x08, 0x1f, 0x64, 0x02,
0x00, 0x56, 0x56, 0x00,
0x00, 0x65, 0x1f, 0x17,
0x00, 0x6a, 0x45, 0x17,
0xfb, 0xa0, 0xa0, 0x02,
0x40, 0x53, 0x53, 0x00,
0x00, 0x65, 0x53, 0x17,
0x00, 0x65, 0x48, 0x10,
0x64, 0x6a, 0x15, 0x17,
0x20, 0x64, 0x9f, 0x19,
0x64, 0x6a, 0x19, 0x17,
0x00, 0x65, 0x1f, 0x17,
0xf0, 0x64, 0xf0, 0x1a,
0xff, 0x64, 0x90, 0x02,
0xff, 0x56, 0x64, 0x02,
0x00, 0xa1, 0xf0, 0x18,
0x20, 0xa0, 0xf0, 0x1e,
0xff, 0x6a, 0x6a, 0x03,
0x10, 0x4b, 0x65, 0x00,
0x00, 0x65, 0x92, 0x17,
0x91, 0x6a, 0x91, 0x00,
0x0d, 0x6a, 0x0f, 0x17,
0xff, 0x6a, 0x6a, 0x03,
0x07, 0x64, 0xf8, 0x18,
0x61, 0x6a, 0x91, 0x00,
0x00, 0x65, 0xfc, 0x10,
0x10, 0x4b, 0x65, 0x00,
0x00, 0x65, 0x92, 0x17,
0x11, 0x6a, 0x91, 0x00,
0x07, 0x6a, 0x0f, 0x17,
0x00, 0x65, 0x1f, 0x17,
0x00, 0x65, 0x48, 0x10,
0x40, 0x6a, 0x0c, 0x00,
0xff, 0x6a, 0x4b, 0x02,
0x00, 0x65, 0x00, 0x10,
0xff, 0x6c, 0x6d, 0x02,
0xff, 0x6c, 0x6d, 0x02,
0xff, 0x6c, 0x6d, 0x03,
0xff, 0x6c, 0x6d, 0x02,
0xff, 0x6c, 0x6d, 0x02,
0xff, 0x6c, 0x6d, 0x02,
0xff, 0x6c, 0x6d, 0x03,
0xff, 0x99, 0x6d, 0x02,
0xff, 0x99, 0x6d, 0x02,
0xff, 0x99, 0x6d, 0x03,
0xff, 0x99, 0x6d, 0x02,
0xff, 0x99, 0x6d, 0x02,
0xff, 0x99, 0x6d, 0x02,
0xff, 0x99, 0x6d, 0x03,
0x50, 0x6a, 0x60, 0x00,
0x20, 0x53, 0x14, 0x1b,
0x20, 0x53, 0x53, 0x00,
0x01, 0x6a, 0x34, 0x00,
0xff, 0x65, 0x35, 0x02,
0x10, 0x6a, 0x60, 0x01,
0xff, 0x6a, 0x0a, 0x02,
0xff, 0x6a, 0x09, 0x02,
0xff, 0x65, 0x66, 0x02,
0xff, 0x12, 0x6d, 0x03,
0xff, 0x65, 0x66, 0x02,
0x01, 0x6a, 0x08, 0x00,
0xff, 0x06, 0x6a, 0x02,
0x04, 0x0b, 0x1c, 0x1f,
0x02, 0x0b, 0x1d, 0x1f,
0xff, 0x12, 0x6d, 0x03,
0x01, 0x6a, 0x08, 0x00,
0xff, 0x06, 0x6a, 0x02,
0x04, 0x0b, 0x21, 0x1f,
0xff, 0x6a, 0x6a, 0x03,
0xff, 0x65, 0x93, 0x02,
0x01, 0x0b, 0x26, 0x1b,
0x10, 0x0c, 0x24, 0x1f,
0x04, 0x65, 0x28, 0x1b,
0x01, 0x94, 0x27, 0x1f,
0xff, 0x6a, 0x93, 0x02,
0x38, 0x93, 0x29, 0x1b,
0xaf, 0x6a, 0x66, 0x00,
0x08, 0x6a, 0x01, 0x17,
0xff, 0x6a, 0x6a, 0x03,
0x08, 0x94, 0x2d, 0x1f,
0xff, 0x6a, 0x93, 0x02,
0x08, 0x93, 0x2f, 0x1b,
0xff, 0x6a, 0x6a, 0x03,
0xf0, 0x65, 0x65, 0x02,
0x0f, 0x05, 0x64, 0x02,
0x00, 0x65, 0x65, 0x00,
0xff, 0x65, 0x05, 0x03,
0xff, 0x6a, 0x4b, 0x02,
0x8a, 0x6a, 0x01, 0x00,
0x00, 0x65, 0x53, 0x17,
0x00, 0x65, 0x78, 0x17,
0xff, 0x6c, 0x04, 0x03,
0x80, 0x53, 0x9f, 0x1f,
0x40, 0x53, 0x9f, 0x1b,
0x21, 0x6a, 0x91, 0x01,
0x70, 0x65, 0x6e, 0x02,
0xff, 0x6e, 0x64, 0x02,
0x88, 0x65, 0x42, 0x1f,
0x00, 0x33, 0x44, 0x1f,
0xff, 0x6a, 0x64, 0x03,
0x00, 0x32, 0x44, 0x1f,
0xff, 0x6a, 0x64, 0x03,
0x40, 0x6a, 0x64, 0x01,
0xff, 0x56, 0x64, 0x02,
0xff, 0x65, 0x90, 0x02,
0x00, 0xa1, 0x4b, 0x19,
0x04, 0xa0, 0x4b, 0x1f,
0x20, 0xa0, 0xe6, 0x1a,
0xff, 0x6a, 0x6a, 0x03,
0x01, 0x65, 0x65, 0x06,
0xff, 0x52, 0x64, 0x02,
0x00, 0x65, 0x45, 0x19,
0x31, 0x6a, 0x91, 0x00,
0x06, 0x6a, 0x0f, 0x17,
0x10, 0x4b, 0x65, 0x00,
0x00, 0x65, 0x92, 0x17,
0xff, 0x6a, 0x6a, 0x03,
0xff, 0xa2, 0x4d, 0x02,
0x4e, 0x6a, 0x66, 0x00,
0xa3, 0x6a, 0x04, 0x17,
0x80, 0x6a, 0x4c, 0x00,
0x10, 0xa0, 0x9f, 0x1b,
0xff, 0x6a, 0x4c, 0x03,
0xff, 0x4d, 0xa2, 0x02,
0xa3, 0x6a, 0x66, 0x00,
0x4e, 0x6a, 0x04, 0x17,
0xef, 0xa0, 0xa0, 0x02,
0x80, 0x4c, 0x9f, 0x1f,
0x10, 0xa0, 0xa0, 0x01,
0xff, 0x4d, 0x9f, 0x1f,
0x80, 0x4c, 0x9f, 0x1b,
0xff, 0x6a, 0x8e, 0x02,
0xff, 0x6a, 0x8d, 0x02,
0x08, 0x6a, 0x8c, 0x00,
0x88, 0x6a, 0x66, 0x00,
0x4e, 0x6a, 0x04, 0x17,
0x0d, 0x6a, 0x93, 0x00,
0x00, 0x65, 0x2d, 0x17,
0xb3, 0x6a, 0x66, 0x00,
0x00, 0x65, 0x0b, 0x17,
0x00, 0x65, 0x08, 0x17,
0xff, 0x6a, 0x6a, 0x03,
0xff, 0x4d, 0x9f, 0x1f,
0xff, 0x08, 0x77, 0x1b,
0xff, 0x09, 0x77, 0x1b,
0xff, 0x0a, 0x77, 0x1b,
0xff, 0x6a, 0x4c, 0x02,
0xff, 0x4d, 0x4d, 0x06,
0xff, 0x6a, 0x64, 0x02,
0x08, 0x4e, 0x4e, 0x06,
0x00, 0x4f, 0x4f, 0x08,
0x00, 0x50, 0x50, 0x08,
0x00, 0x51, 0x51, 0x09,
0x80, 0x6a, 0x4c, 0x01,
0x4c, 0x05, 0x64, 0x0a,
0x08, 0x1f, 0x7b, 0x1f,
0x08, 0x64, 0x64, 0x00,
0x20, 0x64, 0x65, 0x06,
0x70, 0x05, 0x6e, 0x02,
0xff, 0x6e, 0x64, 0x03,
0xc0, 0xa0, 0x9f, 0x1f,
0x80, 0xa0, 0x8c, 0x1b,
0x08, 0x53, 0x53, 0x00,
0x01, 0x6a, 0x6d, 0x00,
0x03, 0x6a, 0x6d, 0x00,
0x01, 0x6a, 0x6d, 0x00,
0x00, 0x65, 0x94, 0x17,
0xff, 0x4a, 0x6d, 0x02,
0x08, 0x53, 0x89, 0x1b,
0x0f, 0x6c, 0x6d, 0x02,
0xcb, 0x66, 0x34, 0x07,
0x0f, 0x6a, 0x6d, 0x00,
0x08, 0x53, 0x53, 0x04,
0x00, 0x65, 0x88, 0x11,
0x01, 0x6a, 0x4a, 0x00,
0x01, 0x6a, 0x6d, 0x00,
0x02, 0x6a, 0x6d, 0x00,
0x03, 0x6a, 0x6d, 0x00,
0xff, 0x4a, 0x6d, 0x02,
0xcb, 0x66, 0x34, 0x07,
0xff, 0x65, 0x4b, 0x02,
0xff, 0x65, 0x03, 0x03,
0x00, 0x65, 0x78, 0x17,
0x4c, 0x6c, 0x64, 0x0a,
0xff, 0x65, 0x65, 0x06,
0x07, 0x64, 0x64, 0x02,
0xff, 0x6a, 0x4a, 0x02,
0x0f, 0x64, 0x9d, 0x1f,
0x18, 0x4a, 0x4a, 0x06,
0xff, 0x64, 0x64, 0x06,
0x00, 0x65, 0x99, 0x11,
0x2e, 0x4a, 0x4a, 0x0a,
0x18, 0x4a, 0x4a, 0x07,
0xff, 0x6a, 0x6a, 0x03,
--------------------------------------------------------------------------------
Recompile the kernel and you are finished.
In case you can't compile a kernel yourself yet, let me know and I'll
send you a copy of mine.
-peter