Re: 2.6.23-mm1 s390 driver problem

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Martin Schwidefsky
Date: Friday, October 19, 2007 - 12:47 am

On Thu, 2007-10-18 at 15:31 -0500, Serge E. Hallyn wrote:

This is the vmlinux.lds.S problem. The cleanup patch from Sam Ravnborg
moved the __initramfs_start and __initramfs_end symbols into
the .init.ramfs section. This is in itself not a problem, but it
surfaced a bug: there is no *(.init.initramfs), that needs to be
*(init.ramfs). I corrected this in the upstream patch but 2.6.23-mm1 has
the older one that still causes the "Cannot open root device". For
2.6.23-mm1 use the patch below.

-- 
blue skies,
  Martin.

"Reality continues to ruin my life." - Calvin.

---
diff -urpN linux-2.6/arch/s390/kernel/vmlinux.lds.S linux-2.6-patched/arch/s390/kernel/vmlinux.lds.S
--- linux-2.6/arch/s390/kernel/vmlinux.lds.S	2007-10-19 09:41:57.000000000 +0200
+++ linux-2.6-patched/arch/s390/kernel/vmlinux.lds.S	2007-10-19 09:42:29.000000000 +0200
@@ -128,7 +128,7 @@ SECTIONS
 	. = ALIGN(0x100);
 	.init.ramfs : {
 		__initramfs_start = .;
-		*(.init.initramfs)
+		*(.init.ramfs)
 		. = ALIGN(2);
 		__initramfs_end = .;
 	}


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.23-mm1 s390 driver problem, Serge E. Hallyn, (Thu Oct 18, 1:01 pm)
Re: 2.6.23-mm1 s390 driver problem, Christian Borntraeger, (Thu Oct 18, 1:15 pm)
Re: 2.6.23-mm1 s390 driver problem, Serge E. Hallyn, (Thu Oct 18, 1:31 pm)
Re: 2.6.23-mm1 s390 driver problem, Martin Schwidefsky, (Fri Oct 19, 12:47 am)
Re: 2.6.23-mm1 s390 driver problem , Cedric Le Goater, (Fri Oct 19, 2:16 am)
Re: 2.6.23-mm1 s390 driver problem, Martin Schwidefsky, (Fri Oct 19, 2:20 am)
Re: 2.6.23-mm1 s390 driver problem, Andrew Morton, (Fri Oct 19, 2:27 am)
Re: 2.6.23-mm1 s390 driver problem, Cedric Le Goater, (Fri Oct 19, 4:06 am)
Re: 2.6.23-mm1 s390 driver problem, Cedric Le Goater, (Fri Oct 19, 4:17 am)
Re: 2.6.23-mm1 s390 driver problem, Martin Schwidefsky, (Fri Oct 19, 4:25 am)