All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jurij Smakov <jurij@wooyd.org>
To: sparclinux@vger.kernel.org
Subject: SILO problems
Date: Mon, 01 Feb 2010 21:30:40 +0000	[thread overview]
Message-ID: <20100201213040.GA3361@droopy.oc.cox.net> (raw)
In-Reply-To: <498D413B.2060009@neb.rr.com>

[-- Attachment #1: Type: text/plain, Size: 1900 bytes --]

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@debian.org>) 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@wooyd.org
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC

[-- Attachment #2: silo-linux-types.patch --]
[-- Type: text/x-diff, Size: 763 bytes --]

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

  parent reply	other threads:[~2010-02-01 21:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-07  8:07 SILO problems Matt Cole
2009-02-07 10:19 ` Meelis Roos
2009-02-07 10:32 ` David Miller
2009-02-07 19:24 ` Tom "spot" Callaway
2009-02-08  2:29 ` Matt Cole
2009-02-08  3:04 ` David Miller
2009-02-08  5:17 ` Matt Cole
2010-02-01 21:30 ` Jurij Smakov [this message]
2010-02-03 16:44 ` David Miller
2010-02-22  2:24 ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100201213040.GA3361@droopy.oc.cox.net \
    --to=jurij@wooyd.org \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.