From mboxrd@z Thu Jan 1 00:00:00 1970 To: linuxppc-dev@lists.linuxppc.org Cc: aeb@veritas.com Subject: Going from 2.2.12 to 2.2.17pre10 Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII From: Michael Lundkvist Date: 06 Jul 2000 15:27:51 +0200 Message-ID: Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: Hi! I'm trying to go from 2.2.12 to 2.2.17pre10 on an MVME 2400. A few problems: The Motorola SROM bug-patch lacks one row in de4x5.c: --- de4x5.c~ Thu Jul 6 16:01:32 2000 +++ de4x5.c Thu Jul 6 16:14:18 2000 @@ -4829,6 +4829,7 @@ } else if ((lp->media == INIT) && (lp->timeout < 0)) { lp->ibn = 3; lp->active = *p; + if (MOTO_SROM_BUG) lp->active = 0; lp->infoblock_csr6 = OMR_MII_100; lp->useMII = TRUE; lp->infoblock_media = ANS; This one was easy. Now for the hard one. :) I'm using a PMC-harddisk based on the CMD-646 chipset (Ramix 233). I installed my system under 2.2.12 with Debian. When I come to the partition check in 2.2.17pre10 it fails with "hda: unknown partition table" I added a printout in drivers/block/genhd.c in msdos_partition() --- genhd.c~ Thu Jul 6 16:01:31 2000 +++ genhd.c Thu Jul 6 16:48:02 2000 @@ -522,7 +522,8 @@ #endif if (*(unsigned short *) (0x1fe + data) != cpu_to_le16(MSDOS_LABEL_MAGIC)) { brelse(bh); - return 0; + printk("Data: %x LABEL:%x\n",(*(unsigned short *) (0x1fe + data)), cpu_to_le16(MSDOS_LABEL_MAGIC) ); + return 0; } p = (struct partition *) (0x1be + data); With this I get the following printout: hda:Data: aa55 LABEL:55aa So it seems like the byte order is wrong. Does anyone know why this happens? Please don't tell me my 2.2.12 partitioned disk is wrong. :) Where do I go for the best LinuxPPC 2.4 kernel for MVME-boards? Is it fsmlabs Bitkeeper repository? /Micke -- ml@epact.se ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/