From owner-freebsd-current@FreeBSD.ORG Fri Jul 16 02:01:58 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1BC716A4CE for ; Fri, 16 Jul 2004 02:01:58 +0000 (GMT) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.145.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93C8843D31 for ; Fri, 16 Jul 2004 02:01:58 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id D00A54EFCDC; Fri, 16 Jul 2004 10:01:56 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id C66764EFCD9; Fri, 16 Jul 2004 10:01:56 +0800 (CST) Date: Fri, 16 Jul 2004 10:01:56 +0800 (CST) From: Tai-hwa Liang To: Dan Langille In-Reply-To: <40F6CF6F.26163.D2F20CE@localhost> Message-ID: <0407161000349.87624@www.mmlab.cse.yzu.edu.tw> References: <40F6CF6F.26163.D2F20CE@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: install crashes on ThinkPad T41 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 02:01:59 -0000 On Thu, 15 Jul 2004, Dan Langille wrote: > On 15 Jul 2004 at 9:20, Dan Langille wrote: > > > Gidday, > > > > I've tried several -current snapshots on this IBM ThinkPad T41 > > (2004.05.24, 2004.06.11, 2004.07.07, and 2004.07.14). All fail, but > > at different steps. I'll report upon 2004.07.14 but will provide > > information for the others if requested. > > > > > > 5.2.1-RELEASE is installed on this laptop. It runs fine. I have > > attached the output of /var/run/dmesg.boot from that. > > > > I have also included the output of dmidecode. > > > > 2004.07.14 crashes during probing. Details of the traceback are at: > > http://www.langille.org/IBM-ThinkPad-T41-current-2004.07.14-trace.jpg > > Just in case that was an installer problem, I cvsup'd to 2004.07.06 > build world, made a kernel, and tried to boot it. It got a fatal > trap 12. Details at > > http://www.langille.org/ibm-thinkpad-t41-current-2004-07-06-panic.jpg After applying following hacks, my T40 seems to survive from the ADAPI_IDENTIFY failure(single user mode prompt at least). However, it still crashed in multiuser mode(while the rc scripts were invoking some programs such like usbd). Note that this patch was generated from an old -CURRENT, you may have to tweak it before applying directly on recent -CURRENT. --- /home/avatar/ncvs/src/sys/dev/ata/ata-all.c Wed Jun 23 22:15:24 2004 +++ /sys/dev/ata/ata-all.c Sat Jul 3 23:28:54 2004 @@ -572,6 +577,11 @@ ata_queue_request(request); if (!(error = request->result)) break; + } + if (error) + { + ata_prtdev(atadev, "failing requests on channel unit %d\n", request->device->channel->unit); + ata_fail_requests(request->device->channel, atadev); } ata_free_request(request); }