Subject: kern/32531: src/common/lib/libc/string/bcopy.c does not work on NetBSD/sandpoint kernel.
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <kawauchi@pa.air.jp>
List: netbsd-bugs
Date: 01/15/2006 10:00:01
>Number:         32531
>Category:       kern
>Synopsis:       src/common/lib/libc/string/bcopy.c does not work on NetBSD/sandpoint kernel.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 15 10:00:00 +0000 2006
>Originator:     Eiji KAWAUCHI
>Release:        NetBSD-current(3.99.15)
>Organization:
Personal
>Environment:
NetBSD TERASTATION 3.99.15 NetBSD 3.99.15 (GENERIC.KUROBOX) #2: Sun Jan 15 15:13
:13 JST 2006  root@TERASTATION:/home/kawauchi/NetBSD-current/20060114/src/sys/ar
ch/sandpoint/compile/GENERIC.KUROBOX sandpoint
>Description:
I ported NetBSD/sandpoint into KUROBOX(http://www.kurobox.com).
# And it also supports Buffalo LinkStation and TeraStation.

It works very well, but since 12/22/2005, it dose not boot at all.

By my inspection, src/common/lib/libc/string/bcopy.c has some problems  (but I don't know what happens.)
With old one (src/sys/lib/libkern/bcopy.c), it works well.

#My patch is at: ftp://ftp.ki.nu/pub/NetBSD/kurobsd/kernel/patch/20060114.NetBSD-current.diff.bz2

>How-To-Repeat:
Apply the patch, build the kernel, and reboot.
>Fix:
(Probably bogus, Only workaround)
Copy rev 1.7 of src/sys/lib/libkern/bcopy.c onto src/common/lib/libc/string/bcopy.c, and rebuild the kernel.