SILO problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

While preparing an update for Debian's SILO package, I ran into a 
problem: the version built from the current git tree [0] fails to boot 
on my SunBlade 1000 box with the following messages:

SUNW,Sun-Blade-1000 (2 X UltraSPARC-III) , No Keyboard
Copyright 1998-2004 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.16.4, 2048 MB memory installed, Serial #51831895.
Ethernet address 0:3:ba:16:e4:57, Host ID: 8316e457.



Rebooting with command: boot                                          
Boot device: disk  File and args: 
SILO Version 1.4.14
boot: 
Allocated 64 Megs of memory at 0x40000000 for kernel
Uncompressing image...
     ERROR: Last Trap: Fast Data Access MMU Miss

Error -256 
{0} ok 

I have confirmed that the "silo: move second to make room for larger 
kernel" commit [1] is causing the breakage, excluding this commit 
makes the system boot normally:

Rebooting with command: boot                                          
Boot device: disk  File and args: 
SILO Version 1.4.14
boot: 
Allocated 64 Megs of memory at 0x40000000 for kernel
Uncompressing image...
Loaded kernel version 2.6.32
Loading initial ramdisk (7746912 bytes at 0x7F000000 phys, 0x40C00000 virt)...
\
[    0.000000] PROMLIB: Sun IEEE Boot Prom 'OBP 4.16.4 2004/12/18 05:18'
[...]

For now I just plan to exclude this patch from Debian package.

On a related note, I had to apply the attached patch (Signed-off-by: 
Jurij Smakov <jurij@xxxxxxxxxx>) to make SILO build with 2.6.32 kernel 
headers (which, apparently, are defining _LINUX_TYPES_H again).

[0] http://git.kernel.org/?p=linux/kernel/git/davem/silo.git;a=summary
[1] http://git.kernel.org/?p=linux/kernel/git/davem/silo.git;a=commit;h=71816c5699b32bab03e57be6768a562d9568e33b

Best regards,
-- 
Jurij Smakov                                           jurij@xxxxxxxxx
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC
diff -aur a/include/ext2fs/ext2fs.h b/include/ext2fs/ext2fs.h
--- a/include/ext2fs/ext2fs.h	2010-01-30 13:40:56.000000000 +0000
+++ b/include/ext2fs/ext2fs.h	2010-01-30 13:47:54.000000000 +0000
@@ -39,7 +39,7 @@
  */
 #define EXT2_LIB_CURRENT_REV	0
 
-#if defined(HAVE_SYS_TYPES_H) && !defined(_LINUX_TYPES_H)
+#if defined(HAVE_SYS_TYPES_H)
 #include <sys/types.h>
 #endif
 
diff -aur a/include/stringops.h b/include/stringops.h
--- a/include/stringops.h	2010-01-30 13:40:56.000000000 +0000
+++ b/include/stringops.h	2010-01-30 13:47:25.000000000 +0000
@@ -7,9 +7,7 @@
 #ifndef __SIZE_TYPE__
 #define __SIZE_TYPE__ long unsigned int
 #endif
-#ifndef _LINUX_TYPES_H
 typedef __SIZE_TYPE__ size_t;
-#endif
 
 /* stringops1.c */
 char *strcpy(char *, const char *);

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux