From owner-freebsd-acpi@FreeBSD.ORG  Fri Nov 16 21:27:13 2007
Return-Path: <owner-freebsd-acpi@FreeBSD.ORG>
Delivered-To: freebsd-acpi@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C79D416A41B;
	Fri, 16 Nov 2007 21:27:13 +0000 (UTC)
	(envelope-from jkim@FreeBSD.org)
Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162])
	by mx1.freebsd.org (Postfix) with ESMTP id 5C63A13C469;
	Fri, 16 Nov 2007 21:27:13 +0000 (UTC)
	(envelope-from jkim@FreeBSD.org)
Received: from niksun.com (anuket [10.70.0.5])
	by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id lAGLQnMf017683;
	Fri, 16 Nov 2007 16:26:49 -0500 (EST)
	(envelope-from jkim@FreeBSD.org)
From: Jung-uk Kim <jkim@FreeBSD.org>
To: freebsd-current@FreeBSD.org
Date: Fri, 16 Nov 2007 16:26:43 -0500
User-Agent: KMail/1.6.2
References: <200711161338.54270.jkim@FreeBSD.org>
	<20071116211754.GY7943@bunrab.catwhisker.org>
In-Reply-To: <20071116211754.GY7943@bunrab.catwhisker.org>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200711161626.46834.jkim@FreeBSD.org>
X-Virus-Scanned: ClamAV 0.91.2/4817/Fri Nov 16 15:06:29 2007 on
	anuket.mj.niksun.com
X-Virus-Status: Clean
Cc: freebsd-acpi@FreeBSD.org, David Wolfskill <david@catwhisker.org>
Subject: Re: [Call for Testers] ACPI-CA 20071114
X-BeenThere: freebsd-acpi@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: ACPI and power management development <freebsd-acpi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi>
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
	<mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 16 Nov 2007 21:27:13 -0000

On Friday 16 November 2007 04:17 pm, David Wolfskill wrote:
> On Fri, Nov 16, 2007 at 01:38:52PM -0500, Jung-uk Kim wrote:
> > Please test the following patch on -CURRENT:
> >
> > http://people.freebsd.org/~jkim/acpica-import-20071114.diff.gz
> >
> > I believe it should apply for RELENG_7 as well.  FYI, ACPI-CA
> > changes from the -CURRENT is here:
> >
> > http://people.freebsd.org/~jkim/acpica-changes-20070320-20071114.
> >txt
>
> OK; working from a just-built-this-morning HEAD, I fetched the
> patch & applied it with no problems.  Building was also uneventful.
>  :-}
>
> Booting was OK, up to the point where I tried to use one of my
> scripts that uses getopt(1); at that point -- where I had been
> successful with the unpatched HEAD -- I got:
>
> /libexec/ld-elf.so.1: Undefined symbol "__mb_sb_limit" referenced
> from COPY relocation in getopt Usage: /usr/local/sbin/mk_table [-d]
> [-f] [-s] [-t] [-v] [-T table#] directory|files... set_ip RC was
> 512 for command "/bin/sh /etc/rc.firewall-post-dhcp -i
> 128.241.20.116 -m 255.255.255.192 -g 128.241.20.126 -b
> 128.241.20.127 -n 128.241.20.64"
>
> (The script that uses getopt(1) is /usr/local/sbin/mk_table, which
> I use to populate an IPFW table; I've attached a copy for
> reference. In turn, the script was being invoked from a Perl script
> I was using to set a NIC's IP address on a network that doesn't
> seem to have a DHCP server.  Neither script is very exciting.)
>
> Oh:  this is an i386:
>
> localhost(8.0-C)[1] uname -a
> FreeBSD localhost 8.0-CURRENT FreeBSD 8.0-CURRENT #594: Fri Nov 16
> 12:16:52 PST 2007    
> root@localhost:/common/S4/obj/usr/src/sys/CANARY  i386
> localhost(8.0-C)[2]
>
> I'm quite willing to test patches; I keep a private copy of the
> FreeBSD CVS repository on this laptop to facilitate such things.
> (And recovering from them....)

'Undefined symbol "__mb_sb_limit" is totally unrelated to ACPI, i.e., 
it is caused by recent API breakage.  I think 'make buildworld; make 
installworld' should fix it.  Anyway, thanks for testing!

Jung-uk Kim