public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.2.19pre3 on sparc64: Hangs on boot, "no cont in shutdown!"??
@ 2000-12-26 17:09 Horst von Brand
  2000-12-29  5:59 ` David S. Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Horst von Brand @ 2000-12-26 17:09 UTC (permalink / raw)
  To: David S. Miller, Alan.Cox; +Cc: linux-kernel

Red Hat 6.2 + updates (plus local hacks, like binutils-2.10.0.33) on
sparc64 (Ultra 1).

When booting, it detects the floppy drive (I left a floppy in by mistake,
the floppy is OK, and the same boots fine with 2.2.18):

  [snip snap]
  Floppy drive(s): fd0 is 1.44M

after this, it just gives the "no cont in shutdown!" message after a few
seconds, and stays stuck AFAICS (not much patience, I'm afraid). This
message is inside drivers/block/floppy.c:floppy_shutdown(), a file that
hasn't changed from 2.2.18 to 2.2.19pre3.

BTW, the floppy here (and also on sparc32) normally gives:

  $ mdir
  init: set default params
  Cannot initialize 'A:'

the first time around, the second time it works OK. A too short timeout in
mtools or in the kernel perhaps?
-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: 2.2.19pre3 on sparc64: Hangs on boot, "no cont in shutdown!"??
  2000-12-26 17:09 2.2.19pre3 on sparc64: Hangs on boot, "no cont in shutdown!"?? Horst von Brand
@ 2000-12-29  5:59 ` David S. Miller
  2000-12-29 20:21   ` Andrea Arcangeli
  0 siblings, 1 reply; 3+ messages in thread
From: David S. Miller @ 2000-12-29  5:59 UTC (permalink / raw)
  To: vonbrand; +Cc: Alan.Cox, linux-kernel


"make check_asm" should fix it.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: 2.2.19pre3 on sparc64: Hangs on boot, "no cont in shutdown!"??
  2000-12-29  5:59 ` David S. Miller
@ 2000-12-29 20:21   ` Andrea Arcangeli
  0 siblings, 0 replies; 3+ messages in thread
From: Andrea Arcangeli @ 2000-12-29 20:21 UTC (permalink / raw)
  To: David S. Miller; +Cc: vonbrand, Alan.Cox, linux-kernel

On Thu, Dec 28, 2000 at 09:59:55PM -0800, David S. Miller wrote:
> 
> "make check_asm" should fix it.

It doesn't work out of the box starting from pre3 because there are a
few fields in the task struct implemented this way:

	struct list_head local_pages; int allocation_order, nr_local_pages;

that is perfectly valid C code but I wasn't aware of the check_asm.sh sed
script assumptions and so I incidentally broke sparc's `make check_asm', sorry.
To make my 2.2.x tree to work on sparc64 I temporarly broken the above line in
two for the time of `make check_asm'. I guess we can go with this patch for
2.2.x instead of doing the right fix ;)

--- 2.2.19pre3aa4/include/linux/sched.h.~1~	Fri Dec 29 20:55:57 2000
+++ 2.2.19pre3aa4/include/linux/sched.h	Fri Dec 29 21:14:32 2000
@@ -329,7 +329,8 @@
 	struct files_struct *files;
 /* memory management info */
 	struct mm_struct *mm;
-	struct list_head local_pages; int allocation_order, nr_local_pages;
+	struct list_head local_pages;
+	int allocation_order, nr_local_pages;
 	int fs_locks;
 
 /* signal handlers */

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

end of thread, other threads:[~2000-12-29 20:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-26 17:09 2.2.19pre3 on sparc64: Hangs on boot, "no cont in shutdown!"?? Horst von Brand
2000-12-29  5:59 ` David S. Miller
2000-12-29 20:21   ` Andrea Arcangeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox