From owner-freebsd-acpi@FreeBSD.ORG Sun Sep 26 01:18:07 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A85B516A4CE for ; Sun, 26 Sep 2004 01:18:07 +0000 (GMT) Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEE0343D31 for ; Sun, 26 Sep 2004 01:18:06 +0000 (GMT) (envelope-from jpndione@ntlworld.com) Received: from x212940177 ([80.2.69.225]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with SMTP id <20040926011832.FDEY19539.mta07-svc.ntlworld.com@x212940177> for ; Sun, 26 Sep 2004 02:18:32 +0100 Message-ID: <000801c4a366$86ddefe0$e1450250@x212940177> From: "jean pierre ndione" To: Date: Sun, 26 Sep 2004 02:17:01 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: acpi.sys X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2004 01:18:07 -0000 Please can you let me how to get round my windows 2000 installation. I = have win Me and my laptop will not let me install 2000 because of an = error copying file related to a missing acpi.sys. Hope to hear from you soon. From owner-freebsd-acpi@FreeBSD.ORG Sun Sep 26 05:50:58 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AC6016A4CE for ; Sun, 26 Sep 2004 05:50:58 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D46343D31 for ; Sun, 26 Sep 2004 05:50:58 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.50] (adsl-64-171-187-209.dsl.snfc21.pacbell.net [64.171.187.209]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id i8Q5ouDl011587 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 25 Sep 2004 22:50:57 -0700 Message-ID: <415658C0.1080807@root.org> Date: Sat, 25 Sep 2004 22:50:56 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jean pierre ndione References: <000801c4a366$86ddefe0$e1450250@x212940177> In-Reply-To: <000801c4a366$86ddefe0$e1450250@x212940177> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org Subject: Re: acpi.sys X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2004 05:50:58 -0000 jean pierre ndione wrote: > Please can you let me how to get round my windows 2000 installation. I have win Me and my laptop will not let me install 2000 because of an error copying file related to a missing acpi.sys. > > Hope to hear from you soon. As you can see by the name, this list is for FreeBSD ACPI, not Windows. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Sep 27 11:01:54 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E88F616A4CE for ; Mon, 27 Sep 2004 11:01:54 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAFA343D5A for ; Mon, 27 Sep 2004 11:01:54 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i8RB1sAs014558 for ; Mon, 27 Sep 2004 11:01:54 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8RB1s0w014553 for freebsd-acpi@freebsd.org; Mon, 27 Sep 2004 11:01:54 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 27 Sep 2004 11:01:54 GMT Message-Id: <200409271101.i8RB1s0w014553@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 11:01:55 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/06/07] kern/53008 acpi [PATCH] genwakecode generates errornously o [2003/07/22] i386/54756 acpi ACPI suspend/resume problem on CF-W2 lapt o [2003/08/20] kern/55822 acpi No ACPI power off with SMP kernel f [2003/09/10] kern/56659 acpi ACPI trouble on IBM ThinkPad X31 f [2003/12/17] i386/60317 acpi FreeBSD 5.2rc1 doesn't boot with ACPI ena o [2004/03/09] i386/64002 acpi acpi problem o [2004/05/27] i386/67273 acpi [hang] system hangs with acpi and Xfree 7 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2004/01/22] i386/61703 acpi ACPI + Sound + Boot = Reboot o [2004/03/17] kern/64365 acpi ACPI problems f [2004/05/25] i386/67189 acpi ACPI S3 reboot computer on Dell Latitude o [2004/05/28] kern/67309 acpi zzz reboot computer (ACPI S3) f [2004/06/23] i386/68219 acpi ACPI + snd_maestro3 problem o [2004/07/29] i386/69750 acpi Boot without ACPI failed on ASUS L5 6 problems total. From owner-freebsd-acpi@FreeBSD.ORG Thu Sep 30 12:44:45 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55DCA16A4CE; Thu, 30 Sep 2004 12:44:45 +0000 (GMT) Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net [66.42.172.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F9D843D53; Thu, 30 Sep 2004 12:44:44 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.0.6] (adsl-68-250-185-35.dsl.wotnoh.ameritech.net [68.250.185.35]) (authenticated bits=0)i8UCTGHR069970 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 30 Sep 2004 08:29:18 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: John Baldwin Date: Thu, 30 Sep 2004 08:46:45 -0400 User-Agent: KMail/1.7 References: <200409201501.48755.mistry.7@osu.edu> <200409221518.00328.jhb@FreeBSD.org> <200409232136.54285.mistry.7@osu.edu> In-Reply-To: <200409232136.54285.mistry.7@osu.edu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1549572.oiUUMmHUBb"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200409300846.55452.mistry.7@osu.edu> X-Spam-Status: No, hits=0.8 required=5.0 tests=BIZ_TLD autolearn=no version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on crumpet.united-ware.com cc: freebsd-acpi@freebsd.org cc: Poul-Henning Kamp Subject: Re: RELENG_5 panic: mtx_lock() with ACPI X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2004 12:44:45 -0000 --nextPart1549572.oiUUMmHUBb Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 23 September 2004 09:36 pm, Anish Mistry wrote: > On Wednesday 22 September 2004 03:18 pm, John Baldwin wrote: > > On Tuesday 21 September 2004 06:14 pm, Anish Mistry wrote: > > > On Tuesday 21 September 2004 03:26 pm, you wrote: > > > > On Tuesday 21 September 2004 03:05 pm, Anish Mistry wrote: > > > > > On Monday 20 September 2004 04:00 pm, you wrote: > > > > > > Anish Mistry wrote: > > > > > > > On Monday 20 September 2004 03:35 pm, you wrote: > > > > > > >>Anish Mistry wrote: > > > > > > >>>On Monday 20 September 2004 03:01 pm, Anish Mistry wrote: > > > > > > >>>>I'm getting the following panic on boot only with ACPI > > > > > > >>>> enabled. On a verbose boot right after: start_init: trying > > > > > > >>>> /sbin/init panic: mtx_lock() of spin mutex(null) @ > > > > > > >>>> /usr/src/sys/tty/tty.c:2809 Can't seem to get a dump even = if > > > > > > >>>> dumpdev is set at the loader prompt. > > > > > > >>>> > > > > > > >>>>Verbose boot without ACPI enabled and ASL attached. > > > > > > >>> > > > > > > >>>Attachments got stripped. > > > > > > >>>http://am-productions.biz/debug/BIGGUY-dmesg.txt.gz > > > > > > >>>http://am-productions.biz/debug/bigguy.asl.gz > > > > > > >> > > > > > > >>Can you send a backtrace ("tr" from ddb)? > > > > > > > > > > > > > > It doesn't break to the ddb prompt. > > > > > > > > > > > > Can you enable options DDB? If ddb is enabled, all panics shou= ld > > > > > > break to the debugger. > > > > > > > > > > Ok, I removed WITNESS and INVARIANTS from my kernel config, and n= ow > > > > > it's dropping to a db> prompt. > > > > > > > > You want to keep INVARIANTS as it find problems sooner and in easier > > > > to debug locations. Can you turn INVARIANTS back on at least and > > > > then get a trace? > > > > > > > > > BTW, is there a way to set the dump device at the loader that > > > > > works. > > > > > > > > Not that I'm aware of. > > > > > > With INVARIANTS enabled: > > > panic: mtx_lock() of spin mutex(null) @ /usr/src/sys/tty/tty.c:2809 > > > KDB: enter: panic > > > [thread 100063] > > > Stopped at kdb_enter+0x2c: leave > > > kdb_enter(c06288da,100,af9,c062c3f3,0) at kdb_enter+0x2c > > > _mtx_lock_flags(c0680f80,0,c062c3f4,af9,d0c3bb60) at > > > _mtx_lock_flags+0x82 sysctl_kern_ttys(c065a160,0,0,d0c3bc04,c065a160) > > > at sysctl_kern_ttys+0x22 sysctl_root(2,d0c3bc04,c13f04b0,1,0) at > > > sysctl_root+0x83 > > > userland_sysctl(c13f04b0,d0c3bc80,2,0,bfbfe4ac,0,0,0,d0c3bc7c,c067bdc= 0, > > >0, c0 62929c,4e7) at userland_sysctl+0xd8 > > > __sysctl(c13f04b0,d0c3db14,6,0,292) at __sysctl+0x78 > > > syscall(2f,2f,2f,2,bfbfe4ac) at syscall+0x127 > > > Xint0x80_syscall() at Xint0x80_syscall+0x1f > > > -- syscall (202, FreeBSD ELF32, __sysctl), eip=3D0x280cb7c3, > > > esp=3D0xbfbfe41c, ebp+0xbfbfe458 > > > > Looks like the ttys_list_mutex is busted. Hmm: > > > > struct tty * > > ttymalloc(struct tty *tp) > > { > > static int once; > > > > if (!once) { > > mtx_init(&tty_list_mutex, "ttylist", NULL, MTX_DEF); > > once++; > > } > > > > This code is not MP safe as multiple processors could attempt to call > > mtx_init() twice. The mutex should probably be initialized via > > MTX_SYSINIT instead. An alternative fix might be to change the code to > > work like this: > > > > if (once !=3D 2) { > > if (atomic_cmpset_int(&once, 0, 1)) { > > mtx_init(...); > > atomic_store_rel_int(&once, 2); > > } else while (once !=3D 2) > > cpu_spinwait(); > > } > > > > To ensure that 1) only one CPU can do the mtx_init() at a time and 2) > > that if any other CPU enters the function while another CPU is doing the > > mtx_init() it will wait until the mutex is initialized before proceedin= g. > > Any futher progress on this that I could test out? *poke*, anything more I can do to help with debugging/testing this problem? =2D-=20 Anish Mistry --nextPart1549572.oiUUMmHUBb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBXAA/xqA5ziudZT0RAl3tAJ0f4uQVQ/AOAo3oYgMQuexj+LVLoACfcwFr yJxPRLi30XCvuWVpWoPNq7M= =S0yJ -----END PGP SIGNATURE----- --nextPart1549572.oiUUMmHUBb--