From owner-freebsd-stable@FreeBSD.ORG Thu Feb 16 09:18:58 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D6BE16A420; Thu, 16 Feb 2006 09:18:58 +0000 (GMT) (envelope-from buddy@telenet.ru) Received: from main.telenet.ru (main.telenet.ru [87.224.130.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FB3C43D46; Thu, 16 Feb 2006 09:18:57 +0000 (GMT) (envelope-from buddy@telenet.ru) Received: by main.telenet.ru (Postfix, from userid 65534) id 86394AB24; Thu, 16 Feb 2006 14:18:55 +0500 (YEKT) X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on main.telenet.ru X-Spam-Level: X-Spam-Status: No, score=-13.1 required=5.0 tests=AWL,BAYES_50, FORGED_RCVD_HELO,USER_IN_WHITELIST autolearn=no version=3.1.0 Received: from machine.office.telenet.ru (noc.telenet.ru [87.224.188.131]) by main.telenet.ru (Postfix) with ESMTP id 40CAEAB1E; Thu, 16 Feb 2006 14:18:54 +0500 (YEKT) Date: Thu, 16 Feb 2006 14:18:40 +0500 From: Andrew Alcheyev X-Mailer: The Bat! (v1.60) Organization: Telenet-Service Ltd. X-Priority: 3 (Normal) Message-ID: <132157474187.20060216141840@telenet.ru> To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: sos@freebsd.org Subject: regression in ATA subsystem on 6.1-PRERELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2006 09:18:58 -0000 Hello. Please include CC to buddy@telenet.ru in reply. Some days ago I've upgrade my box from RELENG_5_4 to RELENG_6. I've got 6.1-PRERELEASE and all works fine, but now kernel can't recognize my ATA flash module, connected to the secondary ATA channel. After some investigation, I've found that problem exist only on one ATA flash type, from two available to me. On 5.4-RELEASE at boot time both modules probed with warning messages: > ad2: FAILURE - SETFEATURES ENABLE RCACHE status=51 error=4 > ad2: FAILURE - SETFEATURES ENABLE WCACHE status=51 error=4 After that, "good" module appears as: > ad2: 31MB [500/8/16] at ata1-master BIOSPIO and "bad" module appears as: > ad2: 30MB <32MB CHH/Rev 1.00> [489/4/32] at ata1-master BIOSPIO At now, I've verbosely booted 6.1-PRERELEASE with both type of ATA modules on same hardware. Here is only diff between boot messages with different modules: @@ -145,10 +145,10 @@ kernel: ata1: on atapci0 kernel: atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 kernel: atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 - kernel: ata1: reset tp1 mask=03 ostat0=50 ostat1=00 + kernel: ata1: reset tp1 mask=03 ostat0=50 ostat1=70 kernel: ata1: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 - kernel: ata1: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 - kernel: ata1: reset tp2 stat0=50 stat1=00 devices=0x1 + kernel: ata1: stat1=0x30 err=0x30 lsb=0x30 msb=0x30 + kernel: ata1: reset tp2 stat0=50 stat1=30 devices=0x1 kernel: ata1: [MPSAFE] kernel: isab0: at device 1.0 on pci0 kernel: isa0: on isab0 @@ -319,6 +319,11 @@ kernel: ad0: 39100223 sectors [38789C/16H/63S] 16 sectors/interrupt 1 depth queue kernel: GEOM: new disk ad0 kernel: ata1-master: pio=PIO2 wdma=UNSUPPORTED udma=UNSUPPORTED cable=40 wire + kernel: ad2: FAILURE - SETFEATURES SET TRANSFER MODEstatus=51 error=4 + kernel: ad2: FAILURE setting PIO2 on 620 chip + kernel: ad2: 31MB at ata1-master BIOSPIO + kernel: ad2: 64000 sectors [500C/8H/16S] 1 sectors/interrupt 1 depth queue + kernel: GEOM: new disk ad2 kernel: Trying to mount root from ufs:/dev/ad0s1a kernel: start_init: trying /sbin/init savecore: no dumps found Please notice, that I've no problem with any ATA flash modules when I working on RELENG_4/RELENG_5 trees. Sincerely yours, Andrew.