Re: Exactly that commit (was Re: Latest -current 100% hang at the late boot stage)

From: Andrey Chernov <ache_at_FreeBSD.ORG>
Date: Sat, 25 Jun 2011 09:36:09 +0400
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: <SAMSUNG HD502HJ 1AJ10001> 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: <ST31500341AS CC1H> 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: <PLEXTOR DVDR   PX-740A 1.02> 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: <ASUS DVD-E616A 1.08> 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/
Received on Sat Jun 25 2011 - 03:36:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:15 UTC