Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2002 02:08:43 -0600 (CST)
From:      "brucegb@realtime.net" <brucegb@realtime.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/46576: FreeBSD 4.6 broke linux emulation install w/SVR4 emulation enabled.
Message-ID:  <200212280808.gBS88hj1063886@tigerfish2.my.domain>

next in thread | raw e-mail | index | archive | help

>Number:         46576
>Category:       kern
>Synopsis:       FreeBSD 4.6 broke linux emulation install w/SVR4 emulation enabled.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 28 05:20:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     brucegb@realtime.net
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD tigerprowl.my.domain 4.6-STABLE FreeBSD 4.6-STABLE #0: Sat Dec 28
01:10:50 GMT 2002     root@tigerprowl.my.domain:/usr/src/sys/compile/BRUCE  i386

>Description:
	"make install" of emulation/linux_base fails when SVR4 emulation and Linux
emulation enabled. Error is:

execution of glibc-2.2.4-31 script failed, exit status 0
*** Error code 1

Stop in /usr/ports/emulators/linux_base.

	To successfully install linux_base, it is necessary to unload the svr4.ko
module. The streams.ko module can stay loaded.

>How-To-Repeat:
	cvsup with the following /etc/cvsupfile:

*default  host=cvsup9.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  delete
*default  tag=RELENG_4
#*default  date=2002.07.09.11.59.59 - works
#*default  date=2002.07.09.17.59.59 - fails

src-all
src-crypto
src-secure
doc-all


	Note the two date directives are commented out. Loading the /usr/src with the
first "date" directive will allow linux_base to install. Loading the /usr/src from the
second "date" directive will cause glibc_post_upgrade to exit with a signal 12.

	Also, it is necessary for SVR4 emulation to be enabled. This is in my
/etc/rc.conf file:

svr4_enable="YES"       # SysVR4 emulation loaded at startip (or NO).


>Fix:

	Unknown. Workaround is to kldunload the svr4.ko module. My guess is that the
cause is:

 Edit src/sys/svr4/svr4_sysvec.c
  Add delta 1.10.2.2 2002.07.09.14.12.43 robert

	The other code installed by the July 9 2002 17.59.59 cvsup was some usb files
and a lot of openssl and heimdal file changes.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212280808.gBS88hj1063886>