Skip to contentSkip to conversation

2.2.19pre3 on sparc64: Hangs on boot, "no cont in shutdown!"??

DISCUSSION Horst von Brand 3 participants 3 messages Dec 26, 2000 – Dec 29, 2000 Scheduler

lore
Share & tools
lore
#0 lore raw

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?

Signature · 8 lines
Dr. Horst H. von Brand                       mailto:[email protected]
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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#2 lore raw
In reply to Horst von Brand
Quoted 2 lines · David S. Miller

"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 ;)

include/linux/sched.h renamed from include/linux/sched.h.~1~ +2 -1
@@ -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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/