Subject: Re: 2.1 Kernels do notbootwhenbootedwithbootloaderotherthannetbsd bootloader.
To: None <port-cobalt@NetBSD.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-cobalt
Date: 11/25/2005 08:31:16
In article <43862CD6.4050008@broadcom.com>
alexp@broadcom.com wrote:
> The patch failed to apply. What kernel source is the patch against? I am
> trying to apply it to 2.1 that I got from here :
> ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-2-1/tar_files/src/sys.tar.gz
>
> What is good place to get my kernel source from ?
Hmm I'd say "it works for me though I don't know what you did," again?
"patch --ignore-whitespace" could help?
---
% ftp ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-2-1/tar_files/src/sys.tar.gz
:
% tar zxvf sys.tar.gz
:
% cd src
% patch -p < /tmp/cobalt.diff
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- sys/arch/cobalt/cobalt/console.c.orig 2004-01-07 21:43:43.000000000 +0900
|+++ sys/arch/cobalt/cobalt/console.c 2005-11-23 15:16:47.000000000 +0900
--------------------------
Patching file sys/arch/cobalt/cobalt/console.c using Plan A...
Hunk #1 succeeded at 29.
Hunk #2 succeeded at 39.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- sys/arch/cobalt/conf/files.cobalt.orig 2003-10-18 03:20:10.000000000 +0900
|+++ sys/arch/cobalt/conf/files.cobalt 2005-11-23 15:16:43.000000000 +0900
--------------------------
Patching file sys/arch/cobalt/conf/files.cobalt using Plan A...
Hunk #1 succeeded at 13.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- /dev/null 2005-11-23 15:04:16.000000000 +0900
|+++ sys/arch/cobalt/conf/INSTALL 2005-11-23 14:56:35.000000000 +0900
--------------------------
(Creating file sys/arch/cobalt/conf/INSTALL...)
Patching file sys/arch/cobalt/conf/INSTALL using Plan A...
Hunk #1 succeeded at 1.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- sys/arch/cobalt/dev/com_mainbus.c.orig 2003-10-18 03:20:10.000000000 +0900
|+++ sys/arch/cobalt/dev/com_mainbus.c 2005-11-23 15:16:37.000000000 +0900
--------------------------
Patching file sys/arch/cobalt/dev/com_mainbus.c using Plan A...
Hunk #1 succeeded at 30.
Hunk #2 succeeded at 51.
Hunk #3 succeeded at 61.
Hunk #4 succeeded at 96.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- /dev/null 2005-11-23 15:04:16.000000000 +0900
|+++ sys/arch/cobalt/dev/com_mainbusvar.h 2005-11-23 15:15:15.000000000 +0900
--------------------------
(Creating file sys/arch/cobalt/dev/com_mainbusvar.h...)
Patching file sys/arch/cobalt/dev/com_mainbusvar.h using Plan A...
Hunk #1 succeeded at 1.
done
%
---
Checking out from netbsd-2 branch might be better
if you try to build kernels from sources, though.
% env CVSROOT=anoncvs@anoncvs.NetBSD.org:/cvsroot cvs checkout -P -rnetbsd-2 src/sys
:
---
Izumi Tsutsui