From owner-freebsd-current@FreeBSD.ORG Tue Feb 13 13:58:00 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A29116A400 for ; Tue, 13 Feb 2007 13:58:00 +0000 (UTC) (envelope-from alex65536@yandex.ru) Received: from smtp4.yandex.ru (smtp4.yandex.ru [213.180.223.136]) by mx1.freebsd.org (Postfix) with ESMTP id 7A8FA13C461 for ; Tue, 13 Feb 2007 13:57:59 +0000 (UTC) (envelope-from alex65536@yandex.ru) Received: from [87.245.181.70] ([87.245.181.70]:29159 "EHLO [192.168.0.100]" smtp-auth: "alex65536" TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S7768790AbXBMNok (ORCPT ); Tue, 13 Feb 2007 16:44:40 +0300 X-Comment: RFC 2476 MSA function at smtp4.yandex.ru logged sender identity as: alex65536 Date: Tue, 13 Feb 2007 16:45:11 +0300 From: alex65536@yandex.ru X-Mailer: The Bat! (v2.10.03) Personal X-Priority: 3 (Normal) Message-ID: <1912119821.20070213164511@yandex.ru> To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: reinitialisation of ata sometimes fails after acpi resume X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: alex65536@yandex.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2007 13:58:00 -0000 Hi! I have a problem here with resuming my toshiba portege r100 from suspend. Would you help me? First of all, it resumes only with boot_verbose option. And it sometimes crashes, especially with running Xorg. But sometimes nevertheless it resumes without problems. Here is dmesg log when everything is ok: ... ata0: reiniting channel .. ata0: reset tp1 mask=03 ostat0=50 ostat1=00 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=00 devices=0x1 ad0: setting PIO4 on Intel ICH4 chip // <- good reinitialization ad0: setting UDMA100 on Intel ICH4 chip // <- ata0: reinit done .. ata1: reiniting channel .. ata1: reset tp1 mask=00 ostat0=ff ostat1=ff ata1: reinit done .. ... $$ And now the bad dmesg log: ... ata0: reiniting channel .. ata0: reset tp1 mask=03 ostat0=80 ostat1=80 ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80 ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80 ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80 ata0: stat0=0x50 err=0x00 lsb=0xfe msb=0x3f ata0: stat1=0x00 err=0x00 lsb=0xfe msb=0x3f ata0: reset tp2 stat0=50 stat1=00 devices=0x0 ad0: detached // <- bad reinitialization ata0: reinit done .. ata1: reiniting channel .. ata1: reset tp1 mask=00 ostat0=ff ostat1=ff ata1: reinit done .. ... After that a panic occurs with detached ad0. It looks like a timing problem. Would you help me to find the way to make it work. dmesg output: http://media-trest.ru/r100/dmesg Thanx! Alexandre Scherbanov