From owner-freebsd-mobile@FreeBSD.ORG Sun Jun 18 03:39:13 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E528816A47B for ; Sun, 18 Jun 2006 03:39:13 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABAC043D45 for ; Sun, 18 Jun 2006 03:39:11 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id IBA74465; Sat, 17 Jun 2006 20:39:11 -0700 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id AD2DB45043; Sat, 17 Jun 2006 20:39:10 -0700 (PDT) To: "Dan Langille" In-reply-to: Your message of "Sat, 17 Jun 2006 21:08:54 EDT." <44946F66.1570.642B0D75@dan.langille.org> Date: Sat, 17 Jun 2006 20:39:10 -0700 From: "Kevin Oberman" Message-Id: <20060618033910.AD2DB45043@ptavv.es.net> Cc: freebsd-mobile@freebsd.org Subject: Re: ThinkPad - UltraBay battery magic X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2006 03:39:14 -0000 > From: "Dan Langille" > Date: Sat, 17 Jun 2006 21:08:54 -0400 > > On 17 Jun 2006 at 16:54, Kevin Oberman wrote: > > > > When installing a 2nd battery (i.e in the UltraBay after removing the > > > CD drive) in a ThinkPad, I think there's some magic you must invoke > > > to get the system to notice the additional power resource. > > > > > > Any ideas? > > > > The code to allow ACPI to add batteries has yet to be written (or committed, > > at least). If the system is booted with 2 two batteries, both will be seen. > > Even it one is removed and then returned, it will be seen. But if a system is > > booted with a single battery, ACPI will not ever see the second battery. > > > > Please note that the second battery WILL be seen by the hardware and both > > charged and used. > > I rebooted. It froze after probing ad0. I powered off. I removed > the spare battery. I rebooted. Froze again, same place. I put in > the CD drive, it booted fine. I swapped out the CD drive and put the > battery back in. This time I did a verbose boot. > > In short: > both batteries are seen in the probing. > ad0 is probed > pcm0 is measured > fdc0: output ready timeout > [repeat above line 7 times] > GEOM: new disk ad0 > > Screen shot here: > > http://www.langille.org/tmp/100_2831.jpg > > Ideas? Suggestions? This is sounding just a bit familiar. Do you actually have a floppy drive? If so, try putting a disk into it. If not, try building a kernel without the floppy and see if that behaves. There have been several similar reports. You might want to look at the archives. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634