linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Going from 2.2.12 to 2.2.17pre10
@ 2000-07-06 13:27 Michael Lundkvist
  2000-07-06 13:54 ` Hollis Blanchard
  2000-07-06 17:17 ` Gabriel Paubert
  0 siblings, 2 replies; 35+ messages in thread
From: Michael Lundkvist @ 2000-07-06 13:27 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: aeb


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/

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2000-07-13 14:12 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-06 13:27 Going from 2.2.12 to 2.2.17pre10 Michael Lundkvist
2000-07-06 13:54 ` Hollis Blanchard
2000-07-06 17:17 ` Gabriel Paubert
2000-07-06 17:32   ` Michael Lundkvist
2000-07-06 17:55     ` Gabriel Paubert
2000-07-06 22:23       ` Michael Lundkvist
2000-07-07  8:22         ` Gabriel Paubert
2000-07-07  8:55           ` Michael Lundkvist
2000-07-07  9:21             ` Gabriel Paubert
2000-07-07  9:47               ` Michael Lundkvist
2000-07-07 10:19                 ` Gabriel Paubert
2000-07-08  0:08                   ` Problem with de4x5 on an MVME-2400 Michael Lundkvist
2000-07-10 11:58                     ` Gabriel Paubert
2000-07-12 13:01                       ` Michael Lundkvist
2000-07-08 23:29     ` Going from 2.2.12 to 2.2.17pre10 Matt Porter
2000-07-09  6:12       ` Michael Lundkvist
2000-07-10  5:29         ` Matt Porter
2000-07-10 12:25           ` Gabriel Paubert
2000-07-11  5:57             ` Matt Porter
2000-07-11  9:37               ` Adrian Cox
2000-07-11 10:17                 ` Benjamin Herrenschmidt
2000-07-11 12:57                   ` Adrian Cox
2000-07-11 14:10                     ` Claus
2000-07-11 19:15                     ` Geert Uytterhoeven
2000-07-12 13:31                       ` Benjamin Herrenschmidt
2000-07-13 11:17                         ` Geert Uytterhoeven
2000-07-12  9:11                     ` Timothy A. Seufert
2000-07-12 14:16                 ` Matt Porter
2000-07-13 11:43                   ` Gabriel Paubert
2000-07-13 14:12                     ` Matt Porter
2000-07-12 12:52           ` Michael Lundkvist
2000-07-12 14:17             ` Matt Porter
2000-07-10 12:12       ` Gabriel Paubert
2000-07-11  6:12         ` Matt Porter
2000-07-11 10:48           ` Gabriel Paubert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).