From owner-freebsd-current@FreeBSD.ORG Sat Jun 25 05:36:13 2011 Return-Path: Delivered-To: current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7959D106564A; Sat, 25 Jun 2011 05:36:13 +0000 (UTC) (envelope-from ache@vniz.net) Received: from vniz.net (vniz.net [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id AC1CD8FC14; Sat, 25 Jun 2011 05:36:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vniz.net (8.14.4/8.14.4) with ESMTP id p5P5aBPb079456; Sat, 25 Jun 2011 09:36:11 +0400 (MSD) (envelope-from ache@vniz.net) Received: (from ache@localhost) by localhost (8.14.5/8.14.5/Submit) id p5P5aAJl079455; Sat, 25 Jun 2011 09:36:10 +0400 (MSD) (envelope-from ache) Date: Sat, 25 Jun 2011 09:36:09 +0400 From: Andrey Chernov To: "Justin T. Gibbs" , Scott Long , Kostik Belousov , Eir Nym , "Kenneth D. Merry" , current@FreeBSD.ORG, will@FreeBSD.ORG Message-ID: <20110625053609.GA79325@vniz.net> Mail-Followup-To: Andrey Chernov , "Justin T. Gibbs" , Scott Long , Kostik Belousov , Eir Nym , "Kenneth D. Merry" , current@FreeBSD.ORG, will@FreeBSD.ORG References: <20110622035404.GA38834@nargothrond.kdm.org> <20110622041325.GA13754@vniz.net> <20110622200919.GA72504@nargothrond.kdm.org> <4E03FDFD.70203@FreeBSD.org> <55FDA4B1-CA5E-4304-9239-3AAF0FC6FF5F@samsco.org> <4E04F188.9030105@FreeBSD.org> <20110624222645.GA75222@vniz.net> <4E053534.4080205@FreeBSD.org> <20110625043916.GA78847@vniz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110625043916.GA78847@vniz.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Re: Exactly that commit (was Re: Latest -current 100% hang at the late boot stage) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 25 Jun 2011 05:36:13 -0000 On Sat, Jun 25, 2011 at 08:39:17AM +0400, Andrey Chernov wrote: > > Are you positive it is this specific SVN revision that prevents cd0 > > from probing properly and not one of my previous CAM commits? Just > > getting to multi-user doesn't mean we're ok here. My GEOM changes may > > make the system hang earlier, but you'll need to test access to cd0 > > even if you get to multi-user mode to be sure that the device is > > functioning correctly. I just want to be positive that we're barking > > up the right tree. > > I use splitting by half method to find exact date which boots, then see > the next commit above that date. Pre-commit kernel goes to multiuser and > network is alive. I don't test CDs are working, I'll do that later and > report it. Just test it, kernel dated src-sys date=2011.06.14.12.00.00 Both DVDs are mounted normally and files are readable on both. Here is g_* debugging and cd* related parts from dmesg of working kernel (with few lines before/after to hint the place). As you can see, cd0-probe appears far later in dmesg, but cd0-geom (not much later cd1-geom) is earlier thing: ... ada0 at ahcich2 bus 0 scbus3 target 0 lun 0 ada0: ATA-8 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled g_access(0xc652fe40(cd0), 1, 0, 0) open delta:[r1w0e0] old:[r0w0e0] provider:[r0w0e0] 0xc65d4500(cd0) g_disk_access(cd0, 1, 0, 0) ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad10 ada1 at ahcich3 bus 0 scbus4 target 0 lun 0 ada1: ATA-8 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 1430799MB (2930277168 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad12 ... Timecounter "TSC-low" frequency 14077952 Hz quality 1000 WARNING: WITNESS option enabled, expect reduced performance. cd1 at ata2 bus 0 scbus2 target 1 lun 0 cd1: Removable CD-ROM SCSI-0 device cd1: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd1: Attempt to query device size failed: NOT READY, Medium not present uhub0: 2 ports with 2 removable, self powered ... uhub7: 6 ports with 6 removable, self powered cd0 at ata2 bus 0 scbus2 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 100.000MB/s transfers (UDMA5, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed g_access(0xc652fe40(cd0), -1, 0, 0) open delta:[r-1w0e0] old:[r1w0e0] provider:[r1w0e0] 0xc65d4500(cd0) g_disk_access(cd0, -1, 0, 0) g_access(0xc652fe00(cd0), 1, 0, 0) open delta:[r1w0e0] old:[r0w0e0] provider:[r0w0e0] 0xc65d4500(cd0) g_disk_access(cd0, 1, 0, 0) g_access(0xc652fe00(cd0), -1, 0, 0) open delta:[r-1w0e0] old:[r1w0e0] provider:[r1w0e0] 0xc65d4500(cd0) g_disk_access(cd0, -1, 0, 0) g_access(0xc652fdc0(cd0), 1, 0, 0) open delta:[r1w0e0] old:[r0w0e0] provider:[r0w0e0] 0xc65d4500(cd0) g_disk_access(cd0, 1, 0, 0) g_access(0xc652fdc0(cd0), -1, 0, 0) open delta:[r-1w0e0] old:[r1w0e0] provider:[r1w0e0] 0xc65d4500(cd0) g_disk_access(cd0, -1, 0, 0) g_access(0xc652fd40(cd1), 1, 0, 0) open delta:[r1w0e0] old:[r0w0e0] provider:[r0w0e0] 0xc65d4280(cd1) g_disk_access(cd1, 1, 0, 0) g_access(0xc652fd40(cd1), -1, 0, 0) open delta:[r-1w0e0] old:[r1w0e0] provider:[r1w0e0] 0xc65d4280(cd1) g_disk_access(cd1, -1, 0, 0) g_access(0xc652fd00(cd1), 1, 0, 0) open delta:[r1w0e0] old:[r0w0e0] provider:[r0w0e0] 0xc65d4280(cd1) g_disk_access(cd1, 1, 0, 0) g_access(0xc652fd00(cd1), -1, 0, 0) open delta:[r-1w0e0] old:[r1w0e0] provider:[r1w0e0] 0xc65d4280(cd1) g_disk_access(cd1, -1, 0, 0) g_access(0xc652fcc0(cd1), 1, 0, 0) open delta:[r1w0e0] old:[r0w0e0] provider:[r0w0e0] 0xc65d4280(cd1) g_disk_access(cd1, 1, 0, 0) g_access(0xc652fcc0(cd1), -1, 0, 0) open delta:[r-1w0e0] old:[r1w0e0] provider:[r1w0e0] 0xc65d4280(cd1) g_disk_access(cd1, -1, 0, 0) g_access(0xc6b1c040(ada0), 1, 0, 0) ... -- http://ache.vniz.net/