Skip to contentSkip to conversation

2.5.44 on Alpha

DISCUSSION Jan-Benedict Glaw 2 participants 2 messages Oct 20, 2002 – Oct 21, 2002

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi!

I've successfully build (and used) 2.5.4[123] on Alphas (NoNames and Miatas), but I can't get 2.5.44 up'n'running. Using my old .config files (from the respective previously running kernel) now first gives me 'Unable to open an initial console', followed by 'No init found. Try passing init=... ...'.

I can't figure out what had changed between 2.5.43 and 2.5.44. I've looked over the patch, but I cannot find the offender:-( Has anybody seen the same (and got some hint for me)?

MfG, JBG

Signature · 6 lines
   - Eine Freie Meinung in einem Freien Kopf für
   - einen Freien Staat voll Freier Bürger
   						Gegen Zensur im Internet
Jan-Benedict Glaw   .   [email protected]   .   +49-172-7608481
	 -- New APT-Proxy written in shell script --
	   http://lug-owl.de/~jbglaw/software/ap2/
#1 lore raw
Quoted 3 lines · Jan-Benedict Glaw

I can't figure out what had changed between 2.5.43 and 2.5.44. I've looked over the patch, but I cannot find the offender:-( Has anybody seen the same (and got some hint for me)?

See changes in linux/init.h.
Here is the patch from Jeff Wiedemeier that fixes this and some other compile problems.

Ivan.

drivers/pnp/isapnp/core.c +1 -0
@@ -43,6 +43,7 @@
 #include <linux/init.h>
 #include <linux/isapnp.h>
 #include <linux/pnp.h>
+#include <asm/io.h>
 
 LIST_HEAD(isapnp_cards);
 LIST_HEAD(isapnp_devices);
arch/alpha/kernel/irq_impl.h +1 -0
@@ -10,6 +10,7 @@
 
 #include <linux/interrupt.h>
 #include <linux/irq.h>
+#include <linux/profile.h>
 
 
 #define RTC_IRQ    8
arch/alpha/vmlinux.lds.S +18 -9
@@ -31,18 +31,27 @@ SECTIONS
 	*(__ksymtab)
 	__stop___ksymtab = .;
   }
+
+  /* All kernel symbols */
+  __kallsyms ALIGN(8) : {
+	__start___kallsyms = .;
+	*(__kallsyms)
+	__stop___kallsyms = .;
+  }
+
   .kstrtab : { *(.kstrtab) }
+  .rodata : { *(.rodata) *(.rodata.*) }
 
   /* Startup code */
-  .text.init ALIGN(8192) : {
+  .init.text ALIGN(8192) : {
 	__init_begin = .;
-	*(.text.init)
+	*(.init.text)
   }
-  .data.init : { *(.data.init) }
+  .init.data : { *(.init.data) }
 
-  .setup.init ALIGN(16): {
+  .init.setup ALIGN(16): {
 	__setup_start = .;
-	*(.setup.init)
+	*(.init.setup)
 	__setup_end = .;
   }
 
@@ -71,11 +80,11 @@ SECTIONS
   }
 
   /* Global data */
-  .data.cacheline_aligned : {
+  .data.page_aligned ALIGN(8192) : {
 	_data = .;
-	*(.data.cacheline_aligned)
+	*(.data.page_aligned) 
   }
-  .rodata : { *(.rodata) *(.rodata.*) }
+  .data.cacheline_aligned : { *(.data.cacheline_aligned) }
   .data : { *(.data) CONSTRUCTORS }
   .got : { *(.got) }
   .sdata : {
@@ -120,5 +129,5 @@ SECTIONS
   .debug_typenames 0 : { *(.debug_typenames) }
   .debug_varnames  0 : { *(.debug_varnames) }
 
-  /DISCARD/ : { *(.text.exit) *(.data.exit) *(.exitcall.exit) }
+  /DISCARD/ : { *(.exit.text) *(.exit.data) *(.exitcall.exit) }
 }