From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 8987 invoked from network); 4 Jan 1999 09:19:10 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 4 Jan 1999 09:19:10 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id EAA02307 for ; Mon, 4 Jan 1999 04:01:04 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id CAA22193; Mon, 4 Jan 1999 02:00:52 -0700 From: Michal Jaegermann Message-Id: <199901040900.CAA22193@ellpspace.math.ualberta.ca> Subject: Alpha: 2.2.0-pre4-ac1 ok but ATAPI CD not quite To: linux-kernel@vger.rutgers.edu, axp-list@redhat.com Date: Mon, 4 Jan 1999 02:00:52 -0700 (MST) Content-Type: text Here are results of tests of 2.2.0-pre4-ac1 on two different types, UX (a.k.a. Ruffian) and EB64+, of Alpha. The following patch is required for a succesful compilation: --- linux-2.2.0-pre4/ipc/util.c~ Sun Jan 3 19:26:46 1999 +++ linux-2.2.0-pre4/ipc/util.c Sun Jan 3 19:51:02 1999 @@ -13,8 +13,10 @@ #include #include #include -#include #include +#ifndef __alpha__ +#include +#endif #if defined(CONFIG_SYSVIPC) as the header in question does not exist on Alpha. After this fix on each machine both "platform specific" and "generic" kernels compiled and booted. Compiler used on UX was egcs-1.1.1, with a fix to 'collect.c'; on EB64+ egcs-2.92.33 19981226 (gcc2 ss-980609 experimental). There is, though, one weird problem. EB64+ has disks on SCSI controller (ncr53c875) but ATAPI CD-ROM. When I am booting "generic Alpha" kernel this CD is identified like this: hda: NEC CD-ROM DRIVE:284, ATAPI CDROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: ATAPI 8X CDROM drive, 128kB Cache Uniform CDROM driver Revision: 2.51 and CDs are accesible as expected. With identically configured kernel where only "generic" board type was replaced with "eb64+" I see: hda: NEC CD-ROM DRIVE:284, ATAPI CDROM drive ide0: UNABLE TO GET IRQ -14 hda: ERROR, PORTS ALREADY IN USE and the device is dead. Both results are consistent through many attempts to boot. I do not have comparison with UX as there is no hooked up CD on this box at the moment. :-( I should add that with all 2.0.x series kernels I get this on eb64+ machine: hda: IRQ probe failed (-14) hda: IRQ probe failed (-14) hda: NEC CD-ROM DRIVE:284, ATAPI CDROM drive hda: IRQ probe failed (-14) ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 always in the same order; i.e. IRQ probe fails in 75% of cases but CD drive works. :-) Floppy is also detected in somewhat weird manner (2.88M is bogus as this info is really not available on Alpha): Floppy drive(s): fd0 is 2.88M DOR0=4 floppy interrupt on bizarre fdc 1 handler=0000000000000000 FDC 0 is a National Semiconductor PC87306 whereas in 2.0.x kernels this simply looks like this: Floppy drive(s): fd0 is 2.88M FDC 0 is a National Semiconductor PC87306 but that drive works. :-) Michal michal@harddata.com michal@ellpspace.math.ualberta.ca