From floyd@pflog.net  Mon Sep 25 03:18:41 2006
Return-Path: <floyd@pflog.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8EAA216A412
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Sep 2006 03:18:41 +0000 (UTC)
	(envelope-from floyd@pflog.net)
Received: from pflog.net (pflog.net [66.218.55.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 42AB643D58
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Sep 2006 03:18:41 +0000 (GMT)
	(envelope-from floyd@pflog.net)
Received: from localhost
	([127.0.0.1] helo=pflog.net ident=pf)
	by pflog.net with esmtp (Exim 4.63 (FreeBSD))
	(envelope-from <floyd@pflog.net>)
	id 1GRgzO-000KCv-Ri; Sun, 24 Sep 2006 20:18:38 -0700
Received: (from floyd@localhost)
	by pflog.net (8.13.6/8.13.3/Submit) id k8P3Iac6077594;
	Sun, 24 Sep 2006 20:18:36 -0700 (PDT)
	(envelope-from floyd)
Message-Id: <200609250318.k8P3Iac6077594@pflog.net>
Date: Sun, 24 Sep 2006 20:18:36 -0700 (PDT)
From: Josh Carroll <josh.carroll@gmail.com>
Reply-To: Josh Carroll <josh.carroll@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: greg@rowes.org
Subject: atapi device not working on JMicron 363 Controller
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         103602
>Category:       kern
>Synopsis:       [atapicam] atapi device not working on JMicron 363 Controller
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    mav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 25 03:20:16 GMT 2006
>Closed-Date:    Wed Dec 09 17:24:15 UTC 2009
>Last-Modified:  Wed Dec  9 17:30:13 UTC 2009
>Originator:     Josh Carroll
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD pflog.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sun Sep 24 17:59:49 PDT 2006 root@pflog.net:/usr/obj/usr/src-STABLE/sys/DEBLIN i386

>Description:
I am unable to read a DVDs with a SONY DVD RW DRU-800A/KY01 on a JMicron
363 Controller. The system is a new Core 2 Duo system with an Asus P5B
motherboard. I have tried two different Intel P965 chipset based boards
with the same problem (Asus P5B Deluxe, Gigabyte DS3). I have tried 2
other DVD devices and an old 50x CD drive. I've replaced cables, tried
the device on the controller by itself, and even tried a 3rd party PCI
PATA IDE controller. None of the above fixes the problem. 

A full dmesg output is available here:

	http://pflog.net/dmesg

Without atapicam support, I can mount the drive but as soon as I try to copy a file from the DVD, I get the errors:

	acd0: TIMEOUT - READ_BIG retrying (1 retry left)
	acd0: TIMEOUT - READ_BIG retrying (1 retry left)
	acd0: TIMEOUT - READ_BIG retrying (0 retry left)
	acd0: TIMEOUT - READ_BIG retrying (0 retry left)
	acd0: FAILURE - READ_BIG timed out

I am not able to dd the drive either (dd if=/dev/acd0 of=/dev/null bs=2048). I get the same errors. I was able to mount a CD disc and copy files, but I do get the same error for larger files on a couple of CDs. I am using a custom kernel config, but with only a few additions from GENERIC/SMP. And the same problem occurs with the GENERIC/SMP kernels. If I load atapicam, I see in dmesg:

	ata4: reiniting channel ..
	ata4: reset tp1 mask=03 ostat0=50 ostat1=51
	ata4: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
	ata4: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
	ata4: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
	ata4: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
	ata4: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
	ata4: reinit done ..

Any attempt to mount/touch the device at this point hangs the process. Once it finishes, if I kldunload atapicam, I get:

	atapicam0: detached
	atapicam1: detached
	(probe0:dead_sim0:0:1:0): CAM Status 0x19
	(probe0:dead_sim0:0:1:0): Retrying Command
	(probe0:dead_sim0:0:1:0): error 22
	(probe0:dead_sim0:0:1:0): Unretryable Error
	pass0 at dead_sim0 bus 0 target 1 lun 0
	pass0: <SONY DVD RW DRU-800A KY01> Removable CD-ROM SCSI-0 device
	(pass0:dead_sim0:0:1:0): lost device
	(pass0:dead_sim0:0:1:0): removing device entry
	(probe0:dead_sim0:0:1:0): error 22
	(probe0:dead_sim0:0:1:0): Unretryable Error
	(probe0:dead_sim0:0:1:0): error 22
	(probe0:dead_sim0:0:1:0): Unretryable Error
	atapicam2: detached
	atapicam3: detached
	atapicam4: detached
	atapicam5: detached
	atapicam6: detached
	ata4: reiniting channel ..
	ata4: reset tp1 mask=03 ostat0=50 ostat1=51
	ata4: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
	ata4: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
	ata4: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
	ata4: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
	ata4: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
	ata4: reinit done ..

>How-To-Repeat:
Boot 6-STABLE from 9/8 or later on an Intel P965 chipset with a DVD/CD
device plugged into the JMicron PATA controller. Attempt to mount the
DVD and copy one of the larger .VOB files. Or simply boot and load
atapicam, then try to mount a CD/DVD.

>Fix:
Not exactly a fix, but a workaround is to disable DMA. Obvious this
limits the ability of the drive to play DVDs or burn CDs/DVDs.

>Release-Note:
>Audit-Trail:

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: Josh Carroll <josh.carroll@gmail.com>
Cc: FreeBSD-gnats-submit@FreeBSD.org, greg@rowes.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 26 Sep 2006 23:19:05 +0200

 * Josh Carroll, 2006-09-25 :
 
 This report is not completely clear to me. Do you get the same problem
 if you use the same DVD drive on a different controller? Do you get it
 if you use another DVD drive on the Jmicron controller?
 
 > Without atapicam support, I can mount the drive but as soon as I try to copy a file from the DVD, I get the errors:
 > 
 > 	acd0: TIMEOUT - READ_BIG retrying (1 retry left)
 > 	acd0: TIMEOUT - READ_BIG retrying (1 retry left)
 > 	acd0: TIMEOUT - READ_BIG retrying (0 retry left)
 > 	acd0: TIMEOUT - READ_BIG retrying (0 retry left)
 > 	acd0: FAILURE - READ_BIG timed out
 
 OK, so we have at least one issue here where ATAPI/CAM is completely out
 of the picture. Is this particular problem fixed by disabling DMA?
 
 > 	ata4: reiniting channel ..
 > 	ata4: reset tp1 mask=03 ostat0=50 ostat1=51
 > 	ata4: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 > 	ata4: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 > 	ata4: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 > 	ata4: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 > 	ata4: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 > 	ata4: reinit done ..
 > 
 > Any attempt to mount/touch the device at this point hangs the process.
 > Once it finishes, if I kldunload atapicam, I get:
 
 What about dd'ing /dev/cd0 as above? Also, can you try that with CAM
 debugging options enabled (man 4 cam)?
 
 > Boot 6-STABLE from 9/8 or later on an Intel P965 chipset with a
 > DVD/CD device plugged into the JMicron PATA controller. Attempt to
 > mount the DVD and copy one of the larger .VOB files. Or simply boot
 > and load atapicam, then try to mount a CD/DVD.
 
 Does this problem show up with 6-STABLE prior to that date?
 
 Thomas.
 

From: "Josh Carroll" <josh.carroll@psualum.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: FreeBSD-gnats-submit@freebsd.org, greg@rowes.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 26 Sep 2006 15:40:44 -0700

 > This report is not completely clear to me. Do you get the same problem
 > if you use the same DVD drive on a different controller? Do you get it
 > if you use another DVD drive on the Jmicron controller?
 
 I get the same errors with 3 other DVD devices (including an SATA
 drive). I get the same errors with a different PCI IDE controller as
 well, yes.
 
 > OK, so we have at least one issue here where ATAPI/CAM is completely out
 > of the picture. Is this particular problem fixed by disabling DMA?
 
 Yes, disabling DMA is a workaround and the problem is "fixed".
 
 > What about dd'ing /dev/cd0 as above? Also, can you try that with CAM
 > debugging options enabled (man 4 cam)?
 
 I will try with /dev/cd0 (without atapicam), and will try with
 atapicam enabled and with the CAM debug options and provide that info.
 
 > Does this problem show up with 6-STABLE prior to that date?
 
 Unfortunately, I cannot test it prior since the Intel ICH8 controller
 is not supported in earlier versions of -STABLE. However, copying in
 that ata code from -STABLE into the 6.1-RELEASE kernel tree and
 compiling that fails, but with a different error:
 
 interrupt storm detected on irq11: throttling interrupt source
 
 I will try the CAM debug options and /dev/cd0 and report back.
 
 Thanks!
 Josh

From: "Josh Carroll" <josh.carroll@psualum.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: FreeBSD-gnats-submit@freebsd.org, greg@rowes.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 26 Sep 2006 18:26:28 -0700

 Booting with CAMDEBUG options, as soon as it tries to mount root (and
 query the CD device), I get:
 
 atapi_action: hcb@0xc66c6400: 12 0 0 0 24 0
 atapi_cb: hcb@0xc66c6400 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 (probe0:ata2:0:1:0): . CDB: 12 0 0 0 60 0
 atapi_action: hcb@0xc66c63c0: 12 0 0 0 60 0
 atapi_cb: hcb@0xc66c63c0 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 (probe0:ata2:0:1:0): . CDB: 12 1 80 0 ff 0
 atapi_action: hcb@0xc66c6380: 12 1 80 0 ff 0
 
 At that point, I rebooted the box, but letting it run longer results
 in similar messages with different addresses and values. I have two
 pictures available here that show the screen (the box locks up in
 single user mode at that point, I cannot ctrl-c it):
 
 http://pflog.net/atapi1.jpg
 http://pflog.net/atapi2.jpg
 
 Thanks,
 Josh

From: "Josh Carroll" <josh.carroll@psualum.com>
To: "Thomas Quinot" <thomas@freebsd.org>, FreeBSD-gnats-submit@freebsd.org
Cc: greg@rowes.org, Tadas <haitti@gmail.com>
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Sat, 14 Oct 2006 19:53:22 -0700

 Hi Thomas,
 
 Just a bit of extra information. I disabled the ICH8 controller
 entirely in the BIOS, and booted with a 6.1-RELEASE kernel. The box
 still hangs up with atapicam loaded and I can't read files from a
 udf-mounted DVD with or without atapicam.
 
 I'm also copying another user on this since he's having similar
 problems with the Asus P5B Deluxe.
 
 Thanks,
 Josh
 
From: Thomas Quinot <thomas@FreeBSD.ORG>
To: Josh Carroll <josh.carroll@psualum.com>
Cc: FreeBSD-gnats-submit@freebsd.org, greg@rowes.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Mon, 16 Oct 2006 00:25:41 +0200

 > At that point, I rebooted the box, but letting it run longer results
 > in similar messages with different addresses and values. I have two
 > pictures available here that show the screen (the box locks up in
 > single user mode at that point, I cannot ctrl-c it):
 
 I'm not sure I'm following the sequence of events here. Do you mean that
 enabling CAM debugging prevents the machine from going far enough into
 the boot process to let you reproduce the problem you described earlier?
 
 Thomas.
 

From: "Josh Carroll" <josh.carroll@psualum.com>
To: "Thomas Quinot" <thomas@freebsd.org>, FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Sun, 15 Oct 2006 18:48:48 -0700

 > I'm not sure I'm following the sequence of events here. Do you mean that
 > enabling CAM debugging prevents the machine from going far enough into
 > the boot process to let you reproduce the problem you described earlier?
 
 Correct, since atapicam was built directly into the kernel. I did not
 try it as a module.
 
 During the boot sequence, it tries to query the disc in the DVD drive,
 at which point the atapicam debug errors I sent previously show up.
 
 Thanks,
 Josh

From: "Josh Carroll" <josh.carroll@psualum.com>
To: "Thomas Quinot" <thomas@freebsd.org>, FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Wed, 18 Oct 2006 10:05:43 -0700

 Thomas,
 
 I think part of my problem may lie in the DVD I was trying to read
 from. I was using a DVD movie that I own prior, which was causing the
 freezes (with or without atapicam loaded).
 
 I just tried a DVD-R that I'd burned a while ago prior to this new
 hardware, and it's reading it fine without atapicam loaded. Is there
 some limitation of the UDF code that prevents reading from DVD movies?
 Or is it some bad block/copy protection scheme that's causing the
 lockups?
 
 Anyway, just wanted to report that I AM able to read a DVD-R disc
 without issues, when atapicam is not loaded.
 
 I still get an interrupt storm, however, when I load atapicam.
 
 Thanks,
 Josh

From: "Josh Carroll" <josh.carroll@psualum.com>
To: "Thomas Quinot" <thomas@freebsd.org>, FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Wed, 25 Oct 2006 13:54:02 -0700

 Thomas,
 
 Another user in #FreeBSDHelp on EFNet reported the same problem with
 both the latest -current snapshot and a 6.2 prerelease. The
 motherboard in question there is the Abit AB9-Pro, also a P965 chipset
 based motherboard.
 
 Just wanted to add this bit of information. So the following
 motherboards have been shown to have problems reading DVDs (with or
 without atapicam) and with loading atapicam:
 
 Asus P5B
 Asus P5B Deluxe
 Gigabyte DS3
 Abit AB9-Pro
 
 Thanks,
 Josh

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: Josh Carroll <josh.carroll@psualum.com>
Cc: bug-followup@freebsd.org, sos@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Thu, 26 Oct 2006 11:11:28 +0200

 * Josh Carroll, 2006-10-25 :
 
 > Just wanted to add this bit of information. So the following
 > motherboards have been shown to have problems reading DVDs (with or
 > without atapicam) and with loading atapicam:
 > 
 > Asus P5B
 > Asus P5B Deluxe
 > Gigabyte DS3
 > Abit AB9-Pro
 
 Well if you can reproduce problems on these types of hardware without
 ATAPI/CAM, then there certainly is an issue with their ATA components,
 and this should be investigated first. At this point I think Sren
 may be in a better position than I am to provide advice on this.
 
 Thomas.
 

From: "Josh Carroll" <josh.carroll@psualum.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Fri, 24 Nov 2006 12:07:11 -0800

 Hi,
 
 Is there any update on this problem? As I mentioned via private email,
 the DVD problems were related to an ecrypted DVD. So the problem
 without atapicam was not a kernel problem, but rather trying to copy
 or dd a commercial DVD. With a home movie or DVD data disk, it works
 fine.
 
 FYI, I've also tried a recent 6-STABLE kernel (6.2-RC1) and have the
 same problems.
 
 Thanks,
 Josh
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: netchild 
Responsible-Changed-When: Sun Dec 10 20:01:05 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103602 

From: "Daniel O'Connor" <doconnor@gsoft.com.au>
To: bug-followup@freebsd.org, josh.carroll@gmail.com
Cc:  
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Fri, 9 Feb 2007 17:47:02 +1030

 I have a similar system (i965 with JMicron JMB363), although my DVD writer is
 connected to the ICH8 via a SATA/PATA adapter, ie
 
 atapci0: <JMicron JMB363 SATA300 controller> mem 0xec000000-0xec001fff irq 19 at device 0.0 on pci3
 atapci0: AHCI Version 01.00 controller with 2 ports detected
 ata2: <ATA channel 0> on atapci0
 ata3: <ATA channel 1> on atapci0
 atapci1: <JMicron JMB363 UDMA133 controller> port 0x6000-0x6007,0x6400-0x64 03,0x6800-0x6807,0x6c00-0x6c03,0x7000-0x700f irq 16 at device 0.1 on pci3
 ata4: <ATA channel 0> on atapci1
 =2E..
 atapci2: <Intel ICH8 SATA300 controller> port 0xb400-0xb407,0xb800-0xb803,0xbc00-0xbc07,0xc000-0xc003,0xc400-0xc40f,0xc800-0xc80f irq 19 at device 31.2 on pci0
 ata5: <ATA channel 0> on atapci2
 ata6: <ATA channel 1> on atapci2
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 atapci3: <Intel ICH8 SATA300 controller> port 0xd000-0xd007,0xd400-0xd403,0xd800-0xd807,0xdc00-0xdc03,0xe000-0xe00f,0xe400-0xe40f irq 19 at device 31.5 on pci0
 ata7: <ATA channel 0> on atapci3
 ata8: <ATA channel 1> on atapci3
 =2E..
 ad4: 238474MB <WDC WD2500JS-00NCB1 10.02E02> at ata2-master SATA300
 ad6: 238475MB <WDC WD2500JS-00SGB0 20.06C03> at ata3-master SATA300
 acd0: DVDR <PIONEER DVD-RW DVR-110/1.22> at ata5-master SATA150
 ar0: 238464MB <JMicron Technology Corp RAID1> status: READY
 ar0: disk0 READY (master) using ad4 at ata2-master
 ar0: disk1 READY (mirror) using ad6 at ata3-master
 
 When I loaded atapicam I did not see cd0 appear, however it either appeared
 later, or in response to me running 'camcontrol devlist'
 cd0 at ata3 bus 0 target 0 lun 0
 cd0: <PIONEER DVD-RW  DVR-110 1.22> Removable CD-ROM SCSI-0 device
 cd0: 3.300MB/s transfers
 cd0: \^A
 
 After I loaded atapicam I noticed I was getting a lot of ATA interrupts -
 around 50k irq/sec.
 
 I tried accessing /dev/cd0 using cdcontrol info but it has hung with..
 load: 1.93  cmd: cdcontrol 8475 [ATA request done] 0.00u 0.00s 0% 1200k
 =2E..
 load: 1.93  cmd: cdcontrol 8475 [acdld] 0.00u 0.00s 0% 1200k
 
 I'll try it a bit later without the adapter.
 
 Note that I installed FreeBSD using a CD in this DVDR so I can at least read
 disks OK this way.
 
 -- 
 Daniel O'Connor software and network engineer
 for Genesis Software - http://www.gsoft.com.au
Responsible-Changed-From-To: sos->thomas 
Responsible-Changed-By: thomas 
Responsible-Changed-When: Tue Feb 20 13:57:49 UTC 2007 
Responsible-Changed-Why:  
This issue appears to show up only with ATAPI/CAM so I'll pick 
up investigation again for the time being. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103602 

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>,
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 20 Feb 2007 14:57:27 +0100

 [ Preliminary note: Josh, your message was sent to just Sren and I.
   This is wrong, please ALWAYS make sure to also Cc:
   bug-followup@freebsd.org, otherwise the message won't be recorded
   in GNATS and it will be all the more difficult to track what exactly
   the issue is. ]
 
 * Josh Carroll, 2007-02-03 :
 
 > But are you running 7-CURRENT or something else? I can try burning
 > without atapicam, but  I thought the dvd+rw-tool port required
 > atapicam. Perhaps I'm not compiling it correctly from ports, but when
 > I try to point growisofs to /dev/acd0 (with atapicam loaded), I get:
 > 
 > :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device
 > 
 > Sorry if this is something basic I'm not understanding. Do I need to just 
 > add:
 > 
 > device     cd
 > 
 > to my kernel and recompile, then point growisofs to /dev/cd0 instead?
 > I honestly don't care if I use CAM or not, I just would like to be
 > able to read/write CDs/DVDs :)
 
 OK, let's give it another try and let's try to get to a precise
 description of what the problem is.
 
 If you want to use the dvd+rw-tool port, you need to access your DVD
 burner through ATAPI/CAM.
 
 You can use ATAPI/CAM as a loadable kernel module; all the required SCSI
 modules (scbus, cd, pass) are part of the GENERIC kernel.
 
 If you want to compile atapicam statically into your kernel, the config
 line you need is:
   device atapicam
 
 but that should not be necessary; you should be able to
 "kldload atapicam" with a standard kernel.
 
 So, my advice is here to first start with a fresh build of 7-CURRENT
 with a kernel configuration as close to GENERIC as possible. With such a
 system, what happens when you kldload atapicam? Is the module loading as
 expected? Does your CD burner show up in camcontrol devlist?
 
 Once this is resolved we can move on to trying to understand what is
 going on when you actually try to use the device.
 
 Thomas.
 

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>,
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 20 Feb 2007 17:50:58 +0100

 * Josh Carroll, 2007-02-20 :
 
 > >So, my advice is here to first start with a fresh build of 7-CURRENT
 > >with a kernel configuration as close to GENERIC as possible. With such a
 > >system, what happens when you kldload atapicam? Is the module loading as
 > >expected? Does your CD burner show up in camcontrol devlist?
 > 
 > I actually downloaded the 7-CURRENT snapshot ISO from February and
 > copied the /boot/kernel from it and attempted to boot with it. Loading
 > atapicam causes a panic.
 
 OK, let's focus on this one. Can you send me a backtrace of this panic
 (sorry if I asked for that already, I'm trying to get as clean an
 analysis of the situation as possible)?
  
 > With 6.2-RELEASE, when I load atapicam, I get a huge number of
 > interrupts (~10000/s) on the irq the JMicron controller is on.
 
 I'd rather focus on getting things working with 7-CURRENT, so we are
 sure we have all the latest fixes to other parts of the system.
 
 Thomas.
 

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 20 Feb 2007 09:06:33 -0800

 > OK, let's focus on this one. Can you send me a backtrace of this panic
 > (sorry if I asked for that already, I'm trying to get as clean an
 > analysis of the situation as possible)?
 
 I'm not physically with the machine right now, but I will send this as
 soon as I can.
 
 > > With 6.2-RELEASE, when I load atapicam, I get a huge number of
 > > interrupts (~10000/s) on the irq the JMicron controller is on.
 >
 > I'd rather focus on getting things working with 7-CURRENT, so we are
 > sure we have all the latest fixes to other parts of the system.
 
 Understood. Since I can provide this info now, though, here is the
 output of camcontrol devlist after loading atapicam:
 
 <SONY DVD RW DRU-800A KY06>        at scbus2 target 1 lun 0 (probe0)
 
 The interrupts do still storm with the cd device. Correction, though,
 it's more like 100,000 interrupts per second. I am going to rebuild
 this kernel with CAMDEBUG so I can see if that offers any additional
 information after kldload'ing atapicam.
 
 FYI, the interrupt that is storming is irq 17, which from dmesg.boot
 is a USB controller:
 
 uhci1: <UHCI (generic) USB controller> port 0xe080-0xe09f irq 17 at
 device 26.1 on pci0
 
 What's odd is that the PATA portion of the JMicron controller does not
 appear to have an interrupt, unless it is just not printed and is the
 same as the SATA300 part of the controller:
 
 atapci0: <JMicron JMB363 SATA300 controller> mem 0xfe8fe000-0xfe8fffff
 irq 16 at device 0.0 on pci2
 atapci1: <JMicron JMB363 UDMA133 controller> port
 0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb40f
 at device 0.1 on pci2
 
 So far the machine has not panic'd, so it may just be trying to
 kldunload atapicam after the interrupt storm which causes the panic
 (in 6.2-RELEASE). I will try to go home at lunch to get the backtrace
 for 7-CURRENT.
 
 Below is the entire dmesg output for the 6.2-RELEASE kernel.
 
 Thanks,
 Josh
 
 
 Copyright (c) 1992-2007 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 6.2-RELEASE-p1 #0: Tue Feb 20 08:45:36 PST 2007
     root@pflog.net:/usr/obj/usr/src/sys/DEBLIN
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Core(TM)2 CPU         X6900  @ 3.20GHz (3200.02-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,<b9>,CX16,<b14>,<b15>>
   AMD Features=0x20100000<NX,LM>
   AMD Features2=0x1<LAHF>
   Cores per package: 2
 real memory  = 2147024896 (2047 MB)
 avail memory = 2095943680 (1998 MB)
 ACPI APIC Table: <MSTEST OEMAPIC >
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 ioapic0 <Version 2.0> irqs 0-23 on motherboard
 netsmb_dev: loaded
 acpi0: <KOZIRO FRONTIER> on motherboard
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi0: Power Button (fixed)
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
 cpu0: <ACPI CPU> on acpi0
 cpu1: <ACPI CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
 pci1: <ACPI PCI bus> on pcib1
 pci1: <display, VGA> at device 0.0 (no driver attached)
 uhci0: <UHCI (generic) USB controller> port 0xe000-0xe01f irq 16 at
 device 26.0 on pci0
 uhci0: [GIANT-LOCKED]
 usb0: <UHCI (generic) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhci1: <UHCI (generic) USB controller> port 0xe080-0xe09f irq 17 at
 device 26.1 on pci0
 uhci1: [GIANT-LOCKED]
 usb1: <UHCI (generic) USB controller> on uhci1
 usb1: USB revision 1.0
 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfebff400-0xfebff7ff
 irq 18 at device 26.7 on pci0
 ehci0: [GIANT-LOCKED]
 usb2: EHCI version 1.0
 usb2: companion controllers, 2 ports each: usb0 usb1
 usb2: <EHCI (generic) USB 2.0 controller> on ehci0
 usb2: USB revision 2.0
 uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub2: 4 ports with 4 removable, self powered
 pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
 pci3: <ACPI PCI bus> on pcib2
 pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
 pci2: <ACPI PCI bus> on pcib3
 atapci0: <JMicron JMB363 SATA300 controller> mem 0xfe8fe000-0xfe8fffff
 irq 16 at device 0.0 on pci2
 atapci0: AHCI Version 01.00 controller with 2 ports detected
 ata2: <ATA channel 0> on atapci0
 ata3: <ATA channel 1> on atapci0
 atapci1: <JMicron JMB363 UDMA133 controller> port
 0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb40f
 at device 0.1 on pci2
 ata4: <ATA channel 0> on atapci1
 uhci2: <UHCI (generic) USB controller> port 0xd800-0xd81f irq 23 at
 device 29.0 on pci0
 uhci2: [GIANT-LOCKED]
 usb3: <UHCI (generic) USB controller> on uhci2
 usb3: USB revision 1.0
 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub3: 2 ports with 2 removable, self powered
 uhci3: <UHCI (generic) USB controller> port 0xd880-0xd89f irq 19 at
 device 29.1 on pci0
 uhci3: [GIANT-LOCKED]
 usb4: <UHCI (generic) USB controller> on uhci3
 usb4: USB revision 1.0
 uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub4: 2 ports with 2 removable, self powered
 uhci4: <UHCI (generic) USB controller> port 0xdc00-0xdc1f irq 18 at
 device 29.2 on pci0
 uhci4: [GIANT-LOCKED]
 usb5: <UHCI (generic) USB controller> on uhci4
 usb5: USB revision 1.0
 uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub5: 2 ports with 2 removable, self powered
 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfebff000-0xfebff3ff
 irq 23 at device 29.7 on pci0
 ehci1: [GIANT-LOCKED]
 usb6: EHCI version 1.0
 usb6: companion controllers, 2 ports each: usb3 usb4 usb5
 usb6: <EHCI (generic) USB 2.0 controller> on ehci1
 usb6: USB revision 2.0
 uhub6: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub6: 6 ports with 6 removable, self powered
 pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pci4: <ACPI PCI bus> on pcib4
 em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xcc00-0xcc3f mem 0xfeae0000-0xfeafffff,0xfeac0000-0xfeadffff irq 22
 at device 1.0 on pci4
 em0: Ethernet address: 00:0e:0c:6c:b9:16
 em1: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xc880-0xc8bf mem 0xfea80000-0xfea9ffff,0xfea60000-0xfea7ffff irq 23
 at device 2.0 on pci4
 em1: Ethernet address: 00:0e:0c:6c:b9:0a
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci2: <Intel ICH8 SATA300 controller> port
 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe41f
 mem 0xfebff800-0xfebfffff irq 19 at device 31.2 on pci0
 atapci2: AHCI Version 01.10 controller with 4 ports detected
 ata5: <ATA channel 0> on atapci2
 ata6: <ATA channel 1> on atapci2
 ata7: <ATA channel 2> on atapci2
 ata8: <ATA channel 3> on atapci2
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 acpi_button0: <Power Button> on acpi0
 fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq
 2 on acpi0
 fdc0: [FAST]
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: [GIANT-LOCKED]
 psm0: model IntelliMouse, device ID 3
 pmtimer0 on isa0
 orm0: <ISA Option ROMs> at iomem 0xd2000-0xd2fff,0xd3000-0xd3fff on isa0
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 ugen0: APC Back-UPS ES 500 FW:801.e5.D USB FW:e5, rev 1.10/1.06, addr 2
 Timecounters tick every 1.000 msec
 ad8: 152627MB <WDC WD1600JB-00EVA0 15.05R15> at ata4-master UDMA100
 acd0: DVDR <SONY DVD RW DRU-800A/KY06> at ata4-slave UDMA66
 ad10: 381553MB <Seagate ST3400633AS 3.AAH> at ata5-master SATA150
 ad12: 114440MB <Seagate ST3120026AS 8.05> at ata6-master SATA150
 SMP: AP CPU #1 Launched!
 Trying to mount root from ufs:/dev/ad10s1a
 em1: link state changed to UP

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 20 Feb 2007 08:43:56 -0800

 Hi Thomas,
 
 Thanks for your response.
 
 > but that should not be necessary; you should be able to
 > "kldload atapicam" with a standard kernel.
 
 Yes, that's what I've been doing to date to test this. I do appear to
 be missing "device cd" in my kernel config, though. I will add that
 and see if that improves things.
 
 > So, my advice is here to first start with a fresh build of 7-CURRENT
 > with a kernel configuration as close to GENERIC as possible. With such a
 > system, what happens when you kldload atapicam? Is the module loading as
 > expected? Does your CD burner show up in camcontrol devlist?
 
 I actually downloaded the 7-CURRENT snapshot ISO from February and
 copied the /boot/kernel from it and attempted to boot with it. Loading
 atapicam causes a panic.
 
 With 6.2-RELEASE, when I load atapicam, I get a huge number of
 interrupts (~10000/s) on the irq the JMicron controller is on.
 Eventually, it also panics or I reboot the system since it's very
 sluggish. I unfortunately do not remember whether the burner shows up
 in camcontrol devlist, though I think it did. I will check on that
 again.
 
 Thanks,
 Josh

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 20 Feb 2007 09:36:23 -0800

 One more thing of note here. In the camcontrol devlist output now I see:
 
 <SONY DVD RW DRU-800A KY06>        at scbus2 target 1 lun 0 (cd0,pass0,probe0)
 
 /dev/cd0 does not exist, and neither does /dev/probe0. I don't know if
 that's normal or not, but I figured I would point that out. This is
 with a kernel with "device cd". I do have a /dev/acd0, but /dev/cd0 is
 non-existent.
 
 Thanks,
 Josh

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 20 Feb 2007 10:51:53 -0800

 Thomas,
 
 Apologies, the panic I was seeing was when I tried to kldunload
 atapicam on -CURRENT. It does NOT panic after loading atapicam.
 
 However, I see the same behavior in 7.0-CURRENT as I do with
 6.2-RELEASE. Namely, an interrupt storm on irq17.
 
 camcontrol devlist still shows the device.
 
 When booting from the 7.0-CURRENT cd directly and loading atapicam, I
 see this in the console:
 
 ata4: reiniting channel ..
 ata4: reset tp1 mask=03 ostat0=50 ostat1=51
 ata4: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata4: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata4: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata4: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 ata4: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 ata4: reinit done ..
 
 It then repeats the same message.
 
 When I try to run growisofs -dvd-compat -Z /dev/acd0=current.iso
 
 I get similar messages to what I see in 6.2-RELEASE when I try to
 mounta cd/dvd after loading atapicam:
 
 acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly
 acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request
 
 Below is the verbose dmesg output from the 7.0-CURRENT kernel boot.
 
 Thanks,
 Josh
 
 
 Copyright (c) 1992-2007 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.0-CURRENT-200702 #0: Sun Feb  4 15:23:34 UTC 2007
     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
 WARNING: WITNESS option enabled, expect reduced performance.
 Using 64 colors for the VM-PQ tuning (4096, 16)
 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0c18000.
 Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0c18194.
 Calibrating clock(s) ... i8254 clock: 1193143 Hz
 CLK_USE_I8254_CALIBRATION not specified - using default frequency
 Timecounter "i8254" frequency 1193182 Hz quality 0
 Calibrating TSC clock ... TSC clock: 3200015072 Hz
 CPU: Intel(R) Core(TM)2 CPU         X6900  @ 3.20GHz (3200.02-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,XTPR,<b15>>
   AMD Features=0x20100000<NX,LM>
   AMD Features2=0x1<LAHF>
   Cores per package: 2
 
 Instruction TLB: 4 KB Pages, 4-way set associative, 128 entries
 1st-level instruction cache: 32 KB, 8-way set associative, 64 byte line size
 1st-level data cache: 32 KB, 8-way set associative, 64 byte line size
 L2 cache: 4096 kbytes, 16-way associative, 64 bytes/line
 real memory  = 2147024896 (2047 MB)
 Physical memory chunk(s):
 0x0000000000001000 - 0x000000000009dfff, 643072 bytes (157 pages)
 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
 0x0000000001028000 - 0x000000007db41fff, 2092015616 bytes (510746 pages)
 avail memory = 2091548672 (1994 MB)
 MP Configuration Table version 1.4 found at 0xc00e3e20
 Table 'FACP' at 0x7ff90290
 Table 'APIC' at 0x7ff90390
 MADT: Found table at 0x7ff90390
 APIC: Using the MADT enumerator.
 MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
 SMP: Added CPU 0 (AP)
 MADT: Found CPU APIC ID 1 ACPI ID 2: enabled
 SMP: Added CPU 1 (AP)
 MADT: Found CPU APIC ID 130 ACPI ID 3: disabled
 MADT: Found CPU APIC ID 131 ACPI ID 4: disabled
 INTR: Adding local APIC 0 as a target
 ACPI APIC Table: <MSTEST OEMAPIC >
 INTR: Adding local APIC 1 as a target
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 bios32: Found BIOS32 Service Directory header at 0xc00f0000
 bios32: Entry = 0xf0010 (c00f0010)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0xf0000+0x31
 pnpbios: Found PnP BIOS data at 0xc00f65f0
 pnpbios: Entry = f0000:798a  Rev = 1.0
 Other BIOS signatures found:
 APIC: CPU 0 has ACPI ID 1
 APIC: CPU 1 has ACPI ID 2
 MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000
 ioapic0: Routing external 8259A's -> intpin 0
 MADT: Interrupt override: source 0, irq 2
 ioapic0: Routing IRQ 0 -> intpin 2
 MADT: Interrupt override: source 9, irq 9
 ioapic0: intpin 9 trigger: level
 ioapic0 <Version 2.0> irqs 0-23 on motherboard
 cpu0 BSP:
      ID: 0x00000000   VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
   lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
   timer: 0x000100ef therm: 0x00010000 err: 0x0001000f pcm: 0x00010000
 ath_rate: version 1.2 <SampleRate bit-rate selection algorithm>
 wlan: <802.11 Link Layer>
 null: <null device, zero device>
 random: <entropy source, Software, Yarrow>
 nfslock: pseudo-device
 io: <I/O>
 kbd: new array size 4
 kbd1 at kbdmux0
 mem: <memory>
 Pentium Pro MTRR support enabled
 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 rr232x: RocketRAID 232x controller driver v1.02 (Feb  4 2007 15:23:07)
 npx0: INT 16 interface
 acpi0: <KOZIRO FRONTIER> on motherboard
 ioapic0: routing intpin 9 (ISA IRQ 9) to vector 48
 acpi0: [MPSAFE]
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000094
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=29a08086)
 pcibios: BIOS version 3.00
 acpi_bus_number: root bus has no _BBN, assuming 0
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 AcpiOsDerivePciId: bus 0 dev 0 func 0
 acpi_bus_number: root bus has no _BBN, assuming 0
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 AcpiOsDerivePciId: bus 0 dev 31 func 0
 acpi0: Power Button (fixed)
 acpi0: wakeup code va 0xd9098000 pa 0x9d000
 ACPI timer: 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 -> 10
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
 pci_link0:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0   11   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0   11   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
 pci_link1:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0    5   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0    5   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
 pci_link2:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0   15   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0   15   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
 pci_link3:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0   10   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0   10   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
 pci_link4:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0  255   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
 pci_link5:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0  255   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
 pci_link6:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0   14   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0   14   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
 pci_link7:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0    3   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0    3   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
 cpu0: <ACPI CPU> on acpi0
 cpu0: switching to generic Cx mode
 cpu1: <ACPI CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pci0: physical bus=0
 found->	vendor=0x8086, dev=0x29a0, revid=0x02
 	bus=0, slot=0, func=0
 	class=06-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0006, statreg=0x2090, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x8086, dev=0x29a1, revid=0x02
 	bus=0, slot=1, func=0
 	class=06-04-00, hdrtype=0x01, mfdev=0
 	cmdreg=0x0107, statreg=0x0010, cachelnsz=8 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x0a (2500 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	powerspec 3  supports D0 D3  current D0
 	MSI supports 1 message
 pcib0: matched entry for 0.1.INTA
 pcib0: slot 1 INTA hardwired to IRQ 16
 found->	vendor=0x8086, dev=0x2834, revid=0x02
 	bus=0, slot=26, func=0
 	class=0c-03-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	map[20]: type 4, range 32, base 0xe000, size  5, enabled
 pcib0: matched entry for 0.26.INTA
 pcib0: slot 26 INTA hardwired to IRQ 16
 found->	vendor=0x8086, dev=0x2835, revid=0x02
 	bus=0, slot=26, func=1
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=5
 	map[20]: type 4, range 32, base 0xe080, size  5, enabled
 pcib0: matched entry for 0.26.INTB
 pcib0: slot 26 INTB hardwired to IRQ 17
 found->	vendor=0x8086, dev=0x283a, revid=0x02
 	bus=0, slot=26, func=7
 	class=0c-03-20, hdrtype=0x00, mfdev=0
 	cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=c, irq=15
 	powerspec 2  supports D0 D3  current D0
 	map[10]: type 1, range 32, base 0xfebff400, size 10, enabled
 pcib0: matched entry for 0.26.INTC
 pcib0: slot 26 INTC hardwired to IRQ 18
 found->	vendor=0x8086, dev=0x283f, revid=0x02
 	bus=0, slot=28, func=0
 	class=06-04-00, hdrtype=0x01, mfdev=1
 	cmdreg=0x0106, statreg=0x0010, cachelnsz=8 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message
 pcib0: matched entry for 0.28.INTA
 pcib0: slot 28 INTA hardwired to IRQ 16
 found->	vendor=0x8086, dev=0x2847, revid=0x02
 	bus=0, slot=28, func=4
 	class=06-04-00, hdrtype=0x01, mfdev=1
 	cmdreg=0x0107, statreg=0x0010, cachelnsz=8 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message
 pcib0: matched entry for 0.28.INTA
 pcib0: slot 28 INTA hardwired to IRQ 16
 found->	vendor=0x8086, dev=0x2830, revid=0x02
 	bus=0, slot=29, func=0
 	class=0c-03-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=3
 	map[20]: type 4, range 32, base 0xd800, size  5, enabled
 pcib0: matched entry for 0.29.INTA
 pcib0: slot 29 INTA hardwired to IRQ 23
 found->	vendor=0x8086, dev=0x2831, revid=0x02
 	bus=0, slot=29, func=1
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=10
 	map[20]: type 4, range 32, base 0xd880, size  5, enabled
 pcib0: matched entry for 0.29.INTB
 pcib0: slot 29 INTB hardwired to IRQ 19
 found->	vendor=0x8086, dev=0x2832, revid=0x02
 	bus=0, slot=29, func=2
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=c, irq=15
 	map[20]: type 4, range 32, base 0xdc00, size  5, enabled
 pcib0: matched entry for 0.29.INTC
 pcib0: slot 29 INTC hardwired to IRQ 18
 found->	vendor=0x8086, dev=0x2836, revid=0x02
 	bus=0, slot=29, func=7
 	class=0c-03-20, hdrtype=0x00, mfdev=0
 	cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=3
 	powerspec 2  supports D0 D3  current D0
 	map[10]: type 1, range 32, base 0xfebff000, size 10, enabled
 pcib0: matched entry for 0.29.INTA
 pcib0: slot 29 INTA hardwired to IRQ 23
 found->	vendor=0x8086, dev=0x244e, revid=0xf2
 	bus=0, slot=30, func=0
 	class=06-04-01, hdrtype=0x01, mfdev=0
 	cmdreg=0x0107, statreg=0x0010, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x8086, dev=0x2810, revid=0x02
 	bus=0, slot=31, func=0
 	class=06-01-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x8086, dev=0x2824, revid=0x02
 	bus=0, slot=31, func=2
 	class=01-06-01, hdrtype=0x00, mfdev=0
 	cmdreg=0x0007, statreg=0x02b0, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=10
 	powerspec 3  supports D0 D3  current D0
 	MSI supports 16 messages
 	map[10]: type 4, range 32, base 0xec00, size  3, enabled
 	map[14]: type 4, range 32, base 0xe880, size  2, enabled
 	map[18]: type 4, range 32, base 0xe800, size  3, enabled
 	map[1c]: type 4, range 32, base 0xe480, size  2, enabled
 	map[20]: type 4, range 32, base 0xe400, size  5, enabled
 	map[24]: type 1, range 32, base 0xfebff800, size 11, enabled
 pcib0: matched entry for 0.31.INTB
 pcib0: slot 31 INTB hardwired to IRQ 19
 found->	vendor=0x8086, dev=0x283e, revid=0x02
 	bus=0, slot=31, func=3
 	class=0c-05-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=c, irq=10
 	map[10]: type 1, range 32, base 0, size  8, memory disabled
 	map[20]: type 4, range 32, base 0x400, size  5, enabled
 pcib0: matched entry for 0.31.INTC
 pcib0: slot 31 INTC hardwired to IRQ 18
 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
 pcib1:   secondary bus     1
 pcib1:   subordinate bus   1
 pcib1:   I/O decode        0xf000-0xfff
 pcib1:   memory decode     0xfa700000-0xfe7fffff
 pcib1:   prefetched decode 0xbfe00000-0xdfdfffff
 pci1: <ACPI PCI bus> on pcib1
 pci1: physical bus=1
 found->	vendor=0x10de, dev=0x0163, revid=0xa1
 	bus=1, slot=0, func=0
 	class=03-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0007, statreg=0x0010, cachelnsz=8 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message, 64 bit
 	map[10]: type 1, range 32, base 0xfd000000, size 24, enabled
 pcib1: requested memory range 0xfd000000-0xfdffffff: good
 	map[14]: type 3, range 64, base 0xc0000000, size 28, enabled
 pcib1: requested memory range 0xc0000000-0xcfffffff: good
 	map[1c]: type 1, range 64, base 0xfc000000, size 24, enabled
 pcib1: requested memory range 0xfc000000-0xfcffffff: good
 pcib1: matched entry for 1.0.INTA
 pcib1: slot 0 INTA hardwired to IRQ 16
 vgapci0: <VGA-compatible display> mem
 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff irq
 16 at device 0.0 on pci1
 uhci0: <UHCI (generic) USB controller> port 0xe000-0xe01f irq 16 at
 device 26.0 on pci0
 uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xe000
 ioapic0: routing intpin 16 (PCI IRQ 16) to vector 49
 uhci0: [GIANT-LOCKED]
 usb0: <UHCI (generic) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
 uhub0: 2 ports with 2 removable, self powered
 uhci1: <UHCI (generic) USB controller> port 0xe080-0xe09f irq 17 at
 device 26.1 on pci0
 uhci1: Reserved 0x20 bytes for rid 0x20 type 4 at 0xe080
 ioapic0: routing intpin 17 (PCI IRQ 17) to vector 50
 uhci1: [GIANT-LOCKED]
 usb1: <UHCI (generic) USB controller> on uhci1
 usb1: USB revision 1.0
 uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
 uhub1: 2 ports with 2 removable, self powered
 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfebff400-0xfebff7ff
 irq 18 at device 26.7 on pci0
 ehci0: Reserved 0x400 bytes for rid 0x10 type 3 at 0xfebff400
 ioapic0: routing intpin 18 (PCI IRQ 18) to vector 51
 ehci0: [GIANT-LOCKED]
 usb2: EHCI version 1.0
 usb2: companion controllers, 2 ports each: usb0 usb1
 usb2: <EHCI (generic) USB 2.0 controller> on ehci0
 usb2: USB revision 2.0
 uhub2: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
 uhub2: 4 ports with 4 removable, self powered
 pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
 pcib2:   secondary bus     3
 pcib2:   subordinate bus   3
 pcib2:   I/O decode        0x0-0x0
 pcib2:   prefetched decode 0xdfe00000-0xdfefffff
 pci3: <ACPI PCI bus> on pcib2
 pci3: physical bus=3
 pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
 pcib3:   secondary bus     2
 pcib3:   subordinate bus   2
 pcib3:   I/O decode        0xb000-0xbfff
 pcib3:   memory decode     0xfe800000-0xfe8fffff
 pcib3:   no prefetched decode
 pci2: <ACPI PCI bus> on pcib3
 pci2: physical bus=2
 found->	vendor=0x197b, dev=0x2363, revid=0x02
 	bus=2, slot=0, func=0
 	class=01-06-01, hdrtype=0x00, mfdev=1
 	cmdreg=0x0007, statreg=0x0010, cachelnsz=8 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	powerspec 2  supports D0 D3  current D0
 	map[24]: type 1, range 32, base 0xfe8fe000, size 13, enabled
 pcib3: requested memory range 0xfe8fe000-0xfe8fffff: good
 pcib3: matched entry for 2.0.INTA
 pcib3: slot 0 INTA hardwired to IRQ 16
 found->	vendor=0x197b, dev=0x2363, revid=0x02
 	bus=2, slot=0, func=1
 	class=01-01-85, hdrtype=0x00, mfdev=0
 	cmdreg=0x0007, statreg=0x0010, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=255
 	powerspec 2  supports D0 D3  current D0
 	map[10]: type 4, range 32, base 0xbc00, size  3, enabled
 pcib3: requested I/O range 0xbc00-0xbc07: in range
 	map[14]: type 4, range 32, base 0xb880, size  2, enabled
 pcib3: requested I/O range 0xb880-0xb883: in range
 	map[18]: type 4, range 32, base 0xb800, size  3, enabled
 pcib3: requested I/O range 0xb800-0xb807: in range
 	map[1c]: type 4, range 32, base 0xb480, size  2, enabled
 pcib3: requested I/O range 0xb480-0xb483: in range
 	map[20]: type 4, range 32, base 0xb400, size  4, enabled
 pcib3: requested I/O range 0xb400-0xb40f: in range
 atapci0: <JMicron JMB363 SATA300 controller> mem 0xfe8fe000-0xfe8fffff
 irq 16 at device 0.0 on pci2
 atapci0: [MPSAFE]
 atapci0: Reserved 0x2000 bytes for rid 0x24 type 3 at 0xfe8fe000
 atapci0: AHCI Version 01.00 controller with 2 ports detected
 ata2: <ATA channel 0> on atapci0
 ata2: SATA connect status=00000000
 ata2: [MPSAFE]
 ata3: <ATA channel 1> on atapci0
 ata3: SATA connect status=00000000
 ata3: [MPSAFE]
 atapci1: <JMicron JMB363 UDMA133 controller> port
 0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb40f
 at device 0.1 on pci2
 atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0xb400
 pcib3: matched entry for 2.0.INTB
 pcib3: slot 0 INTB hardwired to IRQ 17
 atapci1: [MPSAFE]
 ata4: <ATA channel 0> on atapci1
 atapci1: Reserved 0x8 bytes for rid 0x10 type 4 at 0xbc00
 atapci1: Reserved 0x4 bytes for rid 0x14 type 4 at 0xb880
 ata4: reset tp1 mask=03 ostat0=50 ostat1=00
 ata4: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata4: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata4: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata4: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 ata4: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 ata4: [MPSAFE]
 uhci2: <UHCI (generic) USB controller> port 0xd800-0xd81f irq 23 at
 device 29.0 on pci0
 uhci2: Reserved 0x20 bytes for rid 0x20 type 4 at 0xd800
 ioapic0: routing intpin 23 (PCI IRQ 23) to vector 52
 uhci2: [GIANT-LOCKED]
 usb3: <UHCI (generic) USB controller> on uhci2
 usb3: USB revision 1.0
 uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
 uhub3: 2 ports with 2 removable, self powered
 uhci3: <UHCI (generic) USB controller> port 0xd880-0xd89f irq 19 at
 device 29.1 on pci0
 uhci3: Reserved 0x20 bytes for rid 0x20 type 4 at 0xd880
 ioapic0: routing intpin 19 (PCI IRQ 19) to vector 53
 uhci3: [GIANT-LOCKED]
 usb4: <UHCI (generic) USB controller> on uhci3
 usb4: USB revision 1.0
 uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
 uhub4: 2 ports with 2 removable, self powered
 uhci4: <UHCI (generic) USB controller> port 0xdc00-0xdc1f irq 18 at
 device 29.2 on pci0
 uhci4: Reserved 0x20 bytes for rid 0x20 type 4 at 0xdc00
 uhci4: [GIANT-LOCKED]
 usb5: <UHCI (generic) USB controller> on uhci4
 usb5: USB revision 1.0
 uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
 uhub5: 2 ports with 2 removable, self powered
 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfebff000-0xfebff3ff
 irq 23 at device 29.7 on pci0
 ehci1: Reserved 0x400 bytes for rid 0x10 type 3 at 0xfebff000
 ehci1: [GIANT-LOCKED]
 usb6: EHCI version 1.0
 usb6: companion controllers, 2 ports each: usb3 usb4 usb5
 usb6: <EHCI (generic) USB 2.0 controller> on ehci1
 usb6: USB revision 2.0
 uhub6: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb6
 uhub6: 6 ports with 6 removable, self powered
 pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pcib4:   secondary bus     4
 pcib4:   subordinate bus   4
 pcib4:   I/O decode        0xc000-0xcfff
 pcib4:   memory decode     0xfe900000-0xfeafffff
 pcib4:   no prefetched decode
 pcib4:   Subtractively decoded bridge.
 pci4: <ACPI PCI bus> on pcib4
 pci4: physical bus=4
 found->	vendor=0x8086, dev=0x1076, revid=0x00
 	bus=4, slot=1, func=0
 	class=02-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0017, statreg=0x0230, cachelnsz=8 (dwords)
 	lattimer=0x40 (1920 ns), mingnt=0xff (63750 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=14
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message, 64 bit
 	map[10]: type 1, range 32, base 0xfeae0000, size 17, enabled
 pcib4: requested memory range 0xfeae0000-0xfeafffff: good
 	map[14]: type 1, range 32, base 0xfeac0000, size 17, enabled
 pcib4: requested memory range 0xfeac0000-0xfeadffff: good
 	map[18]: type 4, range 32, base 0xcc00, size  6, enabled
 pcib4: requested I/O range 0xcc00-0xcc3f: in range
 pcib4: matched entry for 4.1.INTA
 pcib4: slot 1 INTA hardwired to IRQ 22
 found->	vendor=0x8086, dev=0x1076, revid=0x00
 	bus=4, slot=2, func=0
 	class=02-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0017, statreg=0x0230, cachelnsz=8 (dwords)
 	lattimer=0x40 (1920 ns), mingnt=0xff (63750 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=3
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message, 64 bit
 	map[10]: type 1, range 32, base 0xfea80000, size 17, enabled
 pcib4: requested memory range 0xfea80000-0xfea9ffff: good
 	map[14]: type 1, range 32, base 0xfea60000, size 17, enabled
 pcib4: requested memory range 0xfea60000-0xfea7ffff: good
 	map[18]: type 4, range 32, base 0xc880, size  6, enabled
 pcib4: requested I/O range 0xc880-0xc8bf: in range
 pcib4: matched entry for 4.2.INTA
 pcib4: slot 2 INTA hardwired to IRQ 23
 em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xcc00-0xcc3f mem 0xfeae0000-0xfeafffff,0xfeac0000-0xfeadffff irq 22
 at device 1.0 on pci4
 em0: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xfeae0000
 em0: Reserved 0x40 bytes for rid 0x18 type 4 at 0xcc00
 em0: attempting to allocate 1 MSI vectors (1 supported)
 em0: using IRQ 256 for MSI
 em0: bpf attached
 em0: Ethernet address: 00:0e:0c:6c:b9:16
 em0: [FAST]
 em1: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xc880-0xc8bf mem 0xfea80000-0xfea9ffff,0xfea60000-0xfea7ffff irq 23
 at device 2.0 on pci4
 em1: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xfea80000
 em1: Reserved 0x40 bytes for rid 0x18 type 4 at 0xc880
 em1: attempting to allocate 1 MSI vectors (1 supported)
 em1: using IRQ 257 for MSI
 em1: bpf attached
 em1: Ethernet address: 00:0e:0c:6c:b9:0a
 em1: [FAST]
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci2: <Intel ICH8 SATA300 controller> port
 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe41f
 mem 0xfebff800-0xfebfffff irq 19 at device 31.2 on pci0
 atapci2: Reserved 0x20 bytes for rid 0x20 type 4 at 0xe400
 atapci2: [MPSAFE]
 atapci2: Reserved 0x800 bytes for rid 0x24 type 3 at 0xfebff800
 atapci2: AHCI Version 01.10 controller with 4 ports detected
 ata5: <ATA channel 0> on atapci2
 ata5: SATA connect ready time=0ms
 ata5: sata_connect devices=0x1<ATA_MASTER>
 ata5: [MPSAFE]
 ata6: <ATA channel 1> on atapci2
 ata6: SATA connect ready time=0ms
 ata6: sata_connect devices=0x1<ATA_MASTER>
 ata6: [MPSAFE]
 ata7: <ATA channel 2> on atapci2
 ata7: SATA connect status=00000000
 ata7: [MPSAFE]
 ata8: <ATA channel 3> on atapci2
 ata8: SATA connect status=00000000
 ata8: [MPSAFE]
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 acpi_button0: <Power Button> on acpi0
 sio0: irq maps: 0xcc29 0xcc39 0xcc29 0xcc29
 sio0: irq maps: 0xcc29 0xcc39 0xcc29 0xcc29
 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 ioapic0: routing intpin 4 (ISA IRQ 4) to vector 56
 sio0: [FAST]
 fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq
 2 on acpi0
 fdc0: ic_type 90 part_id 80
 ioapic0: routing intpin 6 (ISA IRQ 6) to vector 57
 fdc0: [MPSAFE]
 fdc0: [FAST]
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
 acpi_hpet0: vend: 0x8086 rev: 0x1 num: 1 hz: 14318180 opts: leg_route count_size
 Timecounter "HPET" frequency 14318180 Hz quality 2000
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 atkbd: the current kbd controller command byte 0065
 atkbd: keyboard ID 0x41ab (2)
 kbd0 at atkbd0
 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
 ioapic0: routing intpin 1 (ISA IRQ 1) to vector 58
 atkbd0: [GIANT-LOCKED]
 psm0: unable to allocate IRQ
 psmcpnp0: <PS/2 mouse port> irq 12 on acpi0
 psm0: current command byte:0065
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 ioapic0: routing intpin 12 (ISA IRQ 12) to vector 59
 psm0: [GIANT-LOCKED]
 psm0: model IntelliMouse, device ID 3-00, 3 buttons
 psm0: config:00000000, flags:00000008, packet size:4
 psm0: syncmask:08, syncbits:00
 unknown: status reg test failed ff
 unknown: status reg test failed ff
 unknown: status reg test failed ff
 unknown: status reg test failed ff
 unknown: status reg test failed ff
 unknown: status reg test failed ff
 ex_isa_identify()
 atkbdc: atkbdc0 already exists; skipping it
 fdc: fdc0 already exists; skipping it
 sio: sio0 already exists; skipping it
 pnp_identify: Trying Read_Port at 203
 pnp_identify: Trying Read_Port at 243
 pnp_identify: Trying Read_Port at 283
 pnp_identify: Trying Read_Port at 2c3
 pnp_identify: Trying Read_Port at 303
 pnp_identify: Trying Read_Port at 343
 pnp_identify: Trying Read_Port at 383
 pnp_identify: Trying Read_Port at 3c3
 PNP Identify complete
 ahc_isa_probe 11: ioport 0xbc00 alloc failed
 ahc_isa_probe 12: ioport 0xcc00 alloc failed
 ahc_isa_probe 13: ioport 0xdc00 alloc failed
 ahc_isa_probe 14: ioport 0xec00 alloc failed
 sc: sc0 already exists; skipping it
 vga: vga0 already exists; skipping it
 isa_probe_children: disabling PnP devices
 isa_probe_children: probing non-PnP devices
 pmtimer0 on isa0
 orm0: <ISA Option ROMs> at iomem 0xd2000-0xd2fff,0xd3000-0xd3fff pnpid
 ORM0000 on isa0
 adv0: not probed (disabled)
 aha0: not probed (disabled)
 aic0: not probed (disabled)
 bt0: not probed (disabled)
 cs0: not probed (disabled)
 ed0: not probed (disabled)
 fe0: not probed (disabled)
 ie0: not probed (disabled)
 lnc0: not probed (disabled)
 ppc0: parallel port found at 0x378
 ppc0: using extended I/O port range
 ppc0: ECP SPP ECP+EPP SPP
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 ppbus0: <Parallel port bus> on ppc0
 plip0: <PLIP network interface> on ppbus0
 plip0: bpf attached
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ioapic0: routing intpin 7 (ISA IRQ 7) to vector 60
 ppc0: [GIANT-LOCKED]
 fb: new array size 4
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sc0: fb0, kbd1, terminal emulator: sc (syscons terminal)
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 sio1: irq maps: 0xcca9 0xcca9 0xcca9 0xcca9
 sio1: probe failed test(s): 0 1 2 4 6 7 9
 sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
 sio2: not probed (disabled)
 sio3: not probed (disabled)
 sn0: not probed (disabled)
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 vt0: not probed (disabled)
 isa_probe_children: probing PnP devices
 ugen0: <APC Back-UPS ES 500 FW:801.e5.D USB FW:e5, class 0/0, rev
 1.10/1.06, addr 2> on uhub3
 Device configuration finished.
 Reducing kern.maxvnodes 134081 -> 100000
 procfs registered
 lapic: Divisor 2, Frequency 200000946 hz
 Timecounter "TSC" frequency 3200015072 Hz quality -100
 Timecounters tick every 1.000 msec
 lo0: bpf attached
 rr232x: no controller detected.
 ata4-slave: pio=PIO4 wdma=WDMA2 udma=UDMA66 cable=40 wire
 ata4-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=80 wire
 ad8: 152627MB <WDC WD1600JB-00EVA0 15.05R15> at ata4-master UDMA100
 ad8: 312581808 sectors [310101C/16H/63S] 16 sectors/interrupt 1 depth queue
 ad8: JMicron check1 failed
 ad8: Adaptec check1 failed
 ad8: LSI (v3) check1 failed
 ad8: LSI (v2) check1 failed
 ad8: FreeBSD check1 failed
 acd0: <SONY DVD RW DRU-800A/KY06> DVDR drive at ata4 as slave
 acd0: read 10820KB/s (10820KB/s) write 5410KB/s (5410KB/s), 2048KB
 buffer, UDMA66
 acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, packet
 acd0: Writes: CDR, CDRW, DVDR, test write, burnproof
 acd0: Audio: play, 256 volume levels
 acd0: Mechanism: ejectable tray, unlocked
 acd0: Medium: 120mm data disc
 ata5-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire
 ad10: 381553MB <Seagate ST3400633AS 3.AAH> at ata5-master SATA150
 ad10: 781420655 sectors [775218C/16H/63S] 16 sectors/interrupt 1 depth queue
 ad10: Intel check1 failed
 ad10: Adaptec check1 failed
 ad10: LSI (v3) check1 failed
 ad10: LSI (v2) check1 failed
 ad10: FreeBSD check1 failed
 ata6-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire
 ad12: 114440MB <Seagate ST3120026AS 8.05> at ata6-master SATA150
 ad12: 234375000 sectors [232514C/16H/63S] 16 sectors/interrupt 1 depth queue
 ad12: Intel check1 failed
 ad12: Adaptec check1 failed
 ad12: LSI (v3) check1 failed
 ad12: LSI (v2) check1 failed
 ad12: FreeBSD check1 failed
 ATA PseudoRAID loaded
 SMP: AP CPU #1 Launched!
 cpu1 AP:
      ID: 0x01000000   VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
   lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
   timer: 0x000200ef therm: 0x00010000 err: 0x00010000 pcm: 0x00010000
 ioapic0: Assigning ISA IRQ 1 to local APIC 0
 ioapic0: Assigning ISA IRQ 4 to local APIC 1
 ioapic0: Assigning ISA IRQ 6 to local APIC 0
 ioapic0: Assigning ISA IRQ 7 to local APIC 1
 ioapic0: Assigning ISA IRQ 9 to local APIC 0
 ioapic0: Assigning ISA IRQ 12 to local APIC 1
 ioapic0: Assigning PCI IRQ 16 to local APIC 0
 ioapic0: Assigning PCI IRQ 17 to local APIC 1
 ioapic0: Assigning PCI IRQ 18 to local APIC 0
 ioapic0: Assigning PCI IRQ 19 to local APIC 1
 ioapic0: Assigning PCI IRQ 23 to local APIC 0
 msi: Assigning MSI IRQ 256 to local APIC 1
 msi: Assigning MSI IRQ 257 to local APIC 0
 GEOM: new disk ad8
 GEOM: new disk ad10
 GEOM: new disk ad12
 Trying to mount root from ufs:/dev/ad10s1a
 start_init: trying /sbin/init

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>,
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Thu, 22 Feb 2007 15:50:38 +0100

 --oyUTqETQ0mS9luUI
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 * Josh Carroll, 2007-02-20 :
 
 > Apologies, the panic I was seeing was when I tried to kldunload
 > atapicam on -CURRENT. It does NOT panic after loading atapicam.
 > 
 > However, I see the same behavior in 7.0-CURRENT as I do with
 > 6.2-RELEASE. Namely, an interrupt storm on irq17.
 
 OK, thanks for the clarification. Note that IRQ 17 is not only used bby
 your USB controller; it is shared with the ata4 channel, so it's not
 completely absurd to see interrupts there in conjunction with ATA i/o.
 
 > When booting from the 7.0-CURRENT cd directly and loading atapicam, I
 > see this in the console:
 > 
 > ata4: reiniting channel ..
 > ata4: reset tp1 mask=03 ostat0=50 ostat1=51
 > ata4: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 > ata4: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 > ata4: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 > ata4: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 > ata4: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 > ata4: reinit done ..
 > 
 > It then repeats the same message.
 
 OK. So we see the system keeps reinitializing the ata4 ATA channel,
 which happens to be the one where you have the ATAPI drive:
 
 > acd0: <SONY DVD RW DRU-800A/KY06> DVDR drive at ata4 as slave
 
 But you don't get an interrupt storm in that case, do you?
 
 It would be interesting to have traces of the CAM subsystem, to see if
 it's indeed ATAPI/CAM that requests a reset of the ATA bus. You can
 enable CAM traces using the following kernel configuration options:
 
 options         CAMDEBUG
 options         CAM_DEBUG_BUS=-1
 options         CAM_DEBUG_TARGET=-1
 options         CAM_DEBUG_LUN=-1
 options CAM_DEBUG_FLAGS=(CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB)
 
 I see that you already provided a small excerpt of such info in the
 past, but it would be interesting to have up-to-date, consistent data...
 
 For the record you previously sent:
 
 atapi_action: hcb@0xc66c6400: 12 0 0 0 24 0
 atapi_cb: hcb@0xc66c6400 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 
 -> INQUIRY, alloc length 36
 
 (probe0:ata2:0:1:0): . CDB: 12 0 0 0 60 0
 atapi_action: hcb@0xc66c63c0: 12 0 0 0 60 0
 atapi_cb: hcb@0xc66c63c0 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 
 -> INQUIRY again, this time alloc length 96
 
 (probe0:ata2:0:1:0): . CDB: 12 1 80 0 ff 0
 atapi_action: hcb@0xc66c6380: 12 1 80 0 ff 0
 
 -> INQUIRY 3rd time, now we try to get EVPD page 80, which is the
    unit serial number.
 
 Interesting that it hung there, maybe the drive doesn't like being asked
 for its serial number, that's not completely unheard of. Please try the
 enclosed patch to see if it changes anything.
 
 > When I try to run growisofs -dvd-compat -Z /dev/acd0=current.iso
 
 Here you are using /dev/acd0, the native ATAPI device. ATAPI/CAM is
 completely out of the picture.
 
 Thomas.
 
 
 --oyUTqETQ0mS9luUI
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=d
 
 Index: cam_xpt.c
 ===================================================================
 RCS file: /space/mirror/ncvs/src/sys/cam/cam_xpt.c,v
 retrieving revision 1.162
 diff -u -r1.162 cam_xpt.c
 --- cam_xpt.c	26 Jun 2006 05:41:11 -0000	1.162
 +++ cam_xpt.c	22 Feb 2007 14:50:13 -0000
 @@ -254,6 +254,11 @@
  static struct xpt_quirk_entry xpt_quirk_table[] = 
  {
  	{
 +		/* Hangs on INQUIRY with EVPD flag??? */
 +		{ T_CDROM, SIP_MEDIA_REMOVABLE, sony, "DVD RW DRU*", "*" },
 +		CAM_QUIRK_NOSERIAL, /*mintags*/0, /*maxtags*/0
 +	},
 +	{
  		/* Reports QUEUE FULL for temporary resource shortages */
  		{ T_DIRECT, SIP_MEDIA_FIXED, quantum, "XP39100*", "*" },
  		/*quirks*/0, /*mintags*/24, /*maxtags*/32
 
 --oyUTqETQ0mS9luUI--

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Thu, 22 Feb 2007 09:01:07 -0800

 > OK, thanks for the clarification. Note that IRQ 17 is not only used bby
 > your USB controller; it is shared with the ata4 channel, so it's not
 > completely absurd to see interrupts there in conjunction with ATA i/o.
 
 That's true, I guess having not seen it in the output of vmstat -i, it
 didn't register with me. :)
 
 > OK. So we see the system keeps reinitializing the ata4 ATA channel,
 > which happens to be the one where you have the ATAPI drive:
 >
 > > acd0: <SONY DVD RW DRU-800A/KY06> DVDR drive at ata4 as slave
 >
 > But you don't get an interrupt storm in that case, do you?
 
 Yes, I still do get an interrupt "storm". In both 6.2-RELEASE and
 7.0-CURRENT as soon as I kldload atapicam I get a constant burst of
 interrupts. (Note: I do NOT get an "interrupt storm on irq 17" message
 from the kernel, which is why I put quotes around "storm" above.
 Although building atapicam into the kernel results in that message if
 I recall correctly).
 
 > It would be interesting to have traces of the CAM subsystem, to see if
 > it's indeed ATAPI/CAM that requests a reset of the ATA bus. You can
 > enable CAM traces using the following kernel configuration options:
 >
 > options         CAMDEBUG
 > options         CAM_DEBUG_BUS=-1
 > options         CAM_DEBUG_TARGET=-1
 > options         CAM_DEBUG_LUN=-1
 > options CAM_DEBUG_FLAGS=(CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB)
 
 I would be glad to re-check this. However, in the past I've not been
 successful in building a 7.0-CURRENT kernel from a live 6.x system.
 Are these by chance kernel tunables I can set in loader.conf? If not,
 I will give building a -CURRENT kernel a go again. In the mean time, I
 will build a 6.2-RELEASE kernel with the above.
 
 > Interesting that it hung there, maybe the drive doesn't like being asked
 > for its serial number, that's not completely unheard of. Please try the
 > enclosed patch to see if it changes anything.
 
 Very strange indeed. Although it did have the same result (a hang)
 with two other DVD devices (one IDE, one SATA). I did not get cam
 debug info for those, though, so it may not have been the same request
 that hung.
 
 > > When I try to run growisofs -dvd-compat -Z /dev/acd0=current.iso
 >
 > Here you are using /dev/acd0, the native ATAPI device. ATAPI/CAM is
 > completely out of the picture.
 
 I do not have a /dev/cd0 device, though, even after loading atapicam.
 Could that be an indication of where the atapicam module is faltering?
 Should loading atapicam create /dev/cd0?  growisofs requires
 ATAPI/CAM, right? If I try the growisofs command without atapicam
 loaded, I get:
 
 :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device
 
 So is it somehow smart enough to query the appropriate device? In the
 past (on the previous motherboard/system), I was able to use the same
 growisofs command line with success.
 
 Thanks,
 Josh

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>,
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Thu, 22 Feb 2007 18:14:09 +0100

 * Josh Carroll, 2007-02-22 :
 
 [ options CAMDEBUG ]
 
 > I would be glad to re-check this. However, in the past I've not been
 > successful in building a 7.0-CURRENT kernel from a live 6.x system.
 
 Strange, I don't see any reason why you shouldn't be able to build
 CURRENT from a STABLE system. What problems did you encounter while
 trying to build CURRENT?
 
 > >Here you are using /dev/acd0, the native ATAPI device. ATAPI/CAM is
 > >completely out of the picture.
 > 
 > I do not have a /dev/cd0 device, though, even after loading atapicam.
 
 If the drive gets wedged when the kernel asks it for its serial number,
 then it might not complete the probing process, which would explain why
 the /dev/cd0 does not appear in your devfs.
 
 > Could that be an indication of where the atapicam module is faltering?
 
 Not sure, but this observation would be compatible with the hypothesis
 of a problem with serial number retrieval during the CAM probe process.
 
 > Should loading atapicam create /dev/cd0?
 
 Yes.
 
 > growisofs requires
 > ATAPI/CAM, right? If I try the growisofs command without atapicam
 > loaded, I get:
 > 
 > :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device
 > 
 > So is it somehow smart enough to query the appropriate device? In the
 > past (on the previous motherboard/system), I was able to use the same
 > growisofs command line with success.
 
 Not sure what you mean by "the appropriate device". growisofs requires
 CAM access to a device, so if cd0 does not exist, this means the CAM
 subsystem was unable to provide access to your unit, and there is no way
 for growisofs to access it. It certainly won't work with the acd device,
 which does not provide the necessary CAM interface.
 
 Thomas.
 

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Thu, 22 Feb 2007 10:52:50 -0800

 > Strange, I don't see any reason why you shouldn't be able to build
 > CURRENT from a STABLE system. What problems did you encounter while
 > trying to build CURRENT?
 
 It could have been a bad day to cvsup -CURRENT :) I will try again.
 
 > If the drive gets wedged when the kernel asks it for its serial number,
 > then it might not complete the probing process, which would explain why
 > the /dev/cd0 does not appear in your devfs.
 >
 > Not sure, but this observation would be compatible with the hypothesis
 > of a problem with serial number retrieval during the CAM probe process.
 
 Ok, so that's a good data point.
 
 > Not sure what you mean by "the appropriate device". growisofs requires
 > CAM access to a device, so if cd0 does not exist, this means the CAM
 > subsystem was unable to provide access to your unit, and there is no way
 > for growisofs to access it. It certainly won't work with the acd device,
 > which does not provide the necessary CAM interface.
 
 Understood, just curious why using -Z /dev/acd0=... worked in the past?
 
 I tried to compile the kernel with the CAMDEBUG options, but when I
 set the bus/target/lun and kldload atapicam, it panics. I tried with
 and without your patch, so that's not it. Here is the kgdb output:
 
 GNU gdb 6.1.1 [FreeBSD]
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you are
 welcome to change it and/or distribute copies of it under certain conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for details.
 This GDB was configured as "i386-marcel-freebsd".
 
 Unread portion of the kernel message buffer:
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (noperiph:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:-1:-1): xpt_async
 (noperiph:ata0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): Registered SIM for ata0
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_compile_path
 
 
 Fatal trap 12: page fault while in kernel mode
 cpuid = 1; apic id = 01
 fault virtual address   = 0x4
 fault code              = supervisor read, page not present
 instruction pointer     = 0x20:0xc043ade0
 stack pointer           = 0x28:0xe6cb3950
 frame pointer           = 0x28:0xe6cb3958
 code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, def32 1, gran 1
 processor eflags        = interrupt enabled, resume, IOPL = 0
 current process         = 44520 (kldload)
 trap number             = 12
 panic: page fault
 cpuid = 1
 Uptime: 53s
 Dumping 2047 MB (2 chunks)
   chunk 0: 1MB (158 pages) ... ok
   chunk 1: 2047MB (523920 pages) 2031 2015 1999 1983 1967 1951 1935
 1919 1903 1887 1871 1855 1839 1823 1807 1791 1775 175
                      9 1743 1727 1711 1695 1679 1663 1647 1631 1615
 1599 1583 1567 1551 1535 1519 1503 1487 1471 1455 1439 1423 1407 1391
 1375                                        1359 1343 1327 1311 1295
 1279 1263 1247 1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071
 1055 1039 1023 1007 991 9                                       75 959
 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 687
 671 655 639 623 607 591 575 559 543 527 511 49
               5 479 463 447 431 415 399 383 367 351 335 319 303 287
 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15
 
 #0  doadump () at pcpu.h:165
 165     pcpu.h: No such file or directory.
         in pcpu.h
 
 Thanks,
 Josh

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Fri, 23 Feb 2007 23:10:53 -0800

 Thomas,
 
 I was able to get a 7.0-CURRENT kernel built (cvsup'd today, 2/23).
 However, I am still getting the same panic when I use the debug kernel
 options mentioned previously.
 
 So I tried building without atapicam , but with cd/pass/CAMDEBUG and
 the bus/target/lun all set to -1, and enabled debugging with:
 
 camcontrol debug -I T -S -c all
 
 That worked fine, and I got a message that it was enabled. But as soon
 as I kldload atapicam, I get a panic.
 
 Is there some other way to debug this? Or is the panic indicative of
 another problem related to the atapi/cam one?
 
 Thanks,
 Josh

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>,
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Sat, 24 Feb 2007 14:06:18 +0100

 * Josh Carroll, 2007-02-24 :
 
 > I was able to get a 7.0-CURRENT kernel built (cvsup'd today, 2/23).
 > However, I am still getting the same panic when I use the debug kernel
 > options mentioned previously.
 
 OK, that's a useful data point. Now there's just one thing that I still
 miss, which is a *backtrace* of that panic (just type 'backtrace' in gdb
 once you have loaded the kernel.debug and crash dump).
 
 Thomas.
 

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Sat, 24 Feb 2007 13:45:46 -0800

 > OK, that's a useful data point. Now there's just one thing that I still
 > miss, which is a *backtrace* of that panic (just type 'backtrace' in gdb
 > once you have loaded the kernel.debug and crash dump).
 
 For some reason, when I tried to use bt after the dump, I wasn't
 getting the backtrace. Just something like #0 0x00000000 ... "bt"
 worked just fine when it actually panic'd, though, so I took a picture
 with a digital camera and (tediously) transcribed it. I double checked
 it, but there were a couple of addresses where I wasn't quite sure if
 the digit was an 8 or a 0 (towards the end, c5168000 might be
 c5160000). Anyway, here is the back trace:
 
 Tracing pid 16 tid 100014 td 0xc5106bd0
 kdb_enter(c0a48ff7,0,c0a482f1,e3cbaba8,c5106bd0,...) at kdb_enter+0x30
 panic(c0a482f1,c0a60666,c0a004cc,1033,c560c430,...) at panic+0x13b
 _mtx_assert(c0b4caa8,1,c0a004cc,1033,c5610000,...) at _mtx_assert+0x86
 xpt_path_comp(c5410660,c560c430,c5462c40,c55e3e60,c5610000,...) at
 xpt_path_comp+0x32
 xpt_done(c5610000,c546ae3c,c55e2b64,e3cbac3c,c55e2398,...) at xpt_done+0x30
 free_hcb_and_ccb_done(c546ae3c,0,c55e2b64,2d2,1,...) at
 free_hcb_and_ccb_done+0x3c
 atapi_cb(c5486480,52,c0a4cb11,e3cbac74,c0748b94,...) at atapi_cb+0x78
 ata_completed(c5486480,1,c0a4cb11,52,c5173b1c,...) at ata_completed+0x5c2
 taskqueue_run(c5173b00,e3cbacd4,c0739973,0,e3cbacd4,...) at taskqueue_run+0x110
 taskqueue_swi_run(0,e3cbacd4,c0748dfd,c0b4ca90,1,...) at taskqueue_swi_run+0x13
 ithread_execute_handlers(c5168000,c5173a80,c0a46199,309,c5106bd0,...)
 at ithread_execute_handlers+0x163
 ithread_loop(c51a04e0,e3cbad38,c0a45f7d,328,c5168000,...) at ithread_loop+0x84
 fork_exit(c0739a60,c51a04e0,e3cbad38) at fork_exit+0xd1
 fork_trampoline() at fork_trampoline+0x8
 --- trap 0, eip = 0, esp = 0xe3cbad70, ebp = 0 ---
 
 Thanks,
 Josh

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>,
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Sun, 25 Feb 2007 12:08:28 +0100

 * Josh Carroll, 2007-02-24 :
 
 > For some reason, when I tried to use bt after the dump, I wasn't
 > getting the backtrace. Just something like #0 0x00000000 ... "bt"
 > worked just fine when it actually panic'd, though, so I took a picture
 > with a digital camera and (tediously) transcribed it. I double checked
 > it, but there were a couple of addresses where I wasn't quite sure if
 > the digit was an 8 or a 0 (towards the end, c5168000 might be
 > c5160000). Anyway, here is the back trace:
 
 Thanks for the transcript, sorry you had to go through such a tedious
 process!
 
 > Tracing pid 16 tid 100014 td 0xc5106bd0
 > kdb_enter(c0a48ff7,0,c0a482f1,e3cbaba8,c5106bd0,...) at kdb_enter+0x30
 > panic(c0a482f1,c0a60666,c0a004cc,1033,c560c430,...) at panic+0x13b
 > _mtx_assert(c0b4caa8,1,c0a004cc,1033,c5610000,...) at _mtx_assert+0x86
 > xpt_path_comp(c5410660,c560c430,c5462c40,c55e3e60,c5610000,...) at
 
 Hmmm, this one is a different crash from the previous one you sent me.
 The following patch should work around this one:
 
 
 Index: cam_xpt.c
 ===================================================================
 RCS file: /space/mirror/ncvs/src/sys/cam/cam_xpt.c,v
 retrieving revision 1.162
 diff -u -r1.162 cam_xpt.c
 --- cam_xpt.c	26 Jun 2006 05:41:11 -0000	1.162
 +++ cam_xpt.c	25 Feb 2007 11:05:15 -0000
 @@ -4201,8 +4201,6 @@
  int
  xpt_path_comp(struct cam_path *path1, struct cam_path *path2)
  {
 -	GIANT_REQUIRED;
 -
  	int retval = 0;
  
  	if (path1->bus != path2->bus) {
 
 Could you please apply it (in addition to the previous one I sent you)
 and retry?
 
 Thanks,
 Thomas.
 

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Sun, 25 Feb 2007 06:59:12 -0800

 > Hmmm, this one is a different crash from the previous one you sent me.
 > The following patch should work around this one:
 
 I've applied both patches, but appear to still be getting a panic.
 However, I am not dropped to the ddb prompt when it panics now (the
 box seems to be hard-locked).
 
 The screen output appears corrupt or like a buffer was trashed. Here it is:
 
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xtp_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xtp_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
  pxapnti0c::a tmat2x:_0l:o0c:k0()):  ocfa msipsirn
  m(uxtpetx0 : a@t a/2u:s0r:/0s:r0c)/:s yxsp/tm_osdcualne_sb/uast
  (/xaptta0p:iactaam/2.:.0/:.0.:/0.).:/ dxepvt/_asteat/uapt_acpcib-
 c(axmp.tc0::7at2ta
 xc:p0u:i0d: 0=) :0
  pKtD_Ba:c teinotne
 []  []p a n[]i c[]
   2
 
 Note: the [] are a solid white block (not sure what the ASCII is for that).
 
 Josh

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>,
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Sun, 25 Feb 2007 19:55:24 +0100

 * Josh Carroll, 2007-02-25 :
 
 > pxapnti0c::a tmat2x:_0l:o0c:k0()):  ocfa msipsirn
 > m(uxtpetx0 : a@t a/2u:s0r:/0s:r0c)/:s yxsp/tm_osdcualne_sb/uast
 > (/xaptta0p:iactaam/2.:.0/:.0.:/0.).:/ dxepvt/_asteat/uapt_acpcib-
 > c(axmp.tc0::7at2ta
 > xc:p0u:i0d: 0=) :0
 > pKtD_Ba:c teinotne
 > []  []p a n[]i c[]
 >  2
 > 
 > Note: the [] are a solid white block (not sure what the ASCII is for that).
 
 Odd, you seem to have two messages intertwined here. If you separate
 even and odd rank character, you get:
 
 Even: xpt0:ata2:0:0:0): camisr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 /atapicam2:0:0:0): xpt_setup_ccb
 (xpt0:a2ax:0:0:0):
 
 Odd : panic: mtx_lock() of spinmutex  @
 /usr/src/sys/modules/at(xpt0:ata/../../../dev/ata/atapi-cam.c:7tt
 cpuid = 0
 
 OK, well, please revert the last patch I sent you, and try the following
 one instead then. At least it might help get us a bit further in the
 analysis.
 
 Thomas.
 
 Index: atapi-cam.c
 ===================================================================
 RCS file: /space/mirror/ncvs/src/sys/dev/ata/atapi-cam.c,v
 retrieving revision 1.46
 diff -u -r1.46 atapi-cam.c
 --- atapi-cam.c	2 Nov 2006 00:54:35 -0000	1.46
 +++ atapi-cam.c	25 Feb 2007 18:53:54 -0000
 @@ -749,7 +749,9 @@
      free_hcb(hcb);
      ccb->ccb_h.status =
  	status | (ccb->ccb_h.status & ~(CAM_STATUS_MASK | CAM_SIM_QUEUED));
 +    mtx_lock(&Giant);
      xpt_done(ccb);
 +    mtx_unlock(&Giant);
  }
  
  static void

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Sun, 25 Feb 2007 13:17:09 -0800

 > OK, well, please revert the last patch I sent you, and try the following
 > one instead then. At least it might help get us a bit further in the
 > analysis.
 
 I get the same mutex panic with patch-1 and patch-3 together as I do
 with patch-1 alone. For the heck of it, I tried patch-2 and patch-3,
 and I get garbled output again, but it's slightly shorter. Here is the
 output (again, it's completely locked up):
 
 ...
 (xpt0:ata2:0:1:0): xpt_done
 (pxapnti0c:: amtuat2e:x0 :G0i:a0n)t:  ncoatm ioswrn
  (dx patt0 :/autsar2/:s0r:c0/:s0y)s:/ cxapmt/_csacma_nx_pbt.ucs:
 4(1x8p1t
  :captuai2d: 0=: 00:
 c)K:D Bx:p te_nsteetru:p _pcacnbi
 (
    p
 
 I tried taking every other char into two separate buffers, but it's
 not quite that simple this time. It looks like:
 
 mutex Giant not owned at /usr/src/sys/cam/cam_xpt.c 4181
 
 I tried removing all of the lines in cam_xpt.c like this:
 
 GIANT_REQUIRED;
 
 I have no idea how bad of an idea this is, but figured it might be
 worth a shot in the mean time. I still get the garbled panic, but I'm
 pretty sure as the xpt debug stuff flew by, I saw something about READ
 RECORDER CAPABILITIES or something like that. Unfortunately, the box
 is hard-locked, so I cannot scroll lock and pgup to see the output.
 
 Josh

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>,
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Sun, 25 Feb 2007 22:59:59 +0100

 * Josh Carroll, 2007-02-25 :
 
 > I get the same mutex panic with patch-1 and patch-3 together as I do
 > with patch-1 alone. For the heck of it, I tried patch-2 and patch-3,
 
 Are you sure it's at the same place? I think it should be at a different
 one, which could give us an indication as to whether patch-3 actually
 had the intended effect. Can you grab a backtrace for that new panic?
 
 Thanks,
 Thomas.
 

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Sun, 25 Feb 2007 14:45:20 -0800

 > Are you sure it's at the same place? I think it should be at a different
 > one, which could give us an indication as to whether patch-3 actually
 > had the intended effect. Can you grab a backtrace for that new panic?
 
 Oops, similar but not the same. Sorry about that. I am still not able
 to get a backtrace from the dump.
 
 The panic is:
 
 mutex Giant not owned at /usr/src/sys/cam/cam_xpt.c:4152
 
 Sorry I cannot get a backtrace. Any ideas why that's not working? The
 bt works from the db> prompt during the panic, but it does not work
 against the vmcore file.
 
 Josh

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>,
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Sun, 25 Feb 2007 23:56:36 +0100

 * Josh Carroll, 2007-02-25 :
 
 > Sorry I cannot get a backtrace. Any ideas why that's not working? The
 > bt works from the db> prompt during the panic, but it does not work
 > against the vmcore file.
 
 no idea why you can't get a trace from the core file. What does gdb say?
 
 If you can get the bt output from DDB, that will be helpful as well.
 As alternatives to transcribing these by hand, you can connect a
 serial console and capture the output, or if that's not practical to
 you, just let me access a screen picture.
 
 Thomas.
 

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>, 
	"=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Cc:  
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Sun, 25 Feb 2007 15:16:48 -0800

 > no idea why you can't get a trace from the core file. What does gdb say?
 
 It does not recognize the vmcore file's format (but I'm sure what I'm
 running, gdb /boot/kernel/kernel.debug /var/crash/vmcore.3, is wrong).
 What should I run to have gdb have a go at reading the file?
 
 > If you can get the bt output from DDB, that will be helpful as well.
 > As alternatives to transcribing these by hand, you can connect a
 > serial console and capture the output, or if that's not practical to
 > you, just let me access a screen picture.
 
 Unfortunately I don't have access to a serial console. I took some
 pictures of the panic and the backtrace. I cannot send the pictures to
 the bug tracking address it seems, but I will send them directly to
 you.
 
 Thanks,
 Josh

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>,
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Mon, 26 Feb 2007 00:36:05 +0100

 * Josh Carroll, 2007-02-26 :
 
 > It does not recognize the vmcore file's format (but I'm sure what I'm
 > running, gdb /boot/kernel/kernel.debug /var/crash/vmcore.3, is wrong).
 > What should I run to have gdb have a go at reading the file?
 
 You need to use kgdb, not gdb.
  
 > Unfortunately I don't have access to a serial console. I took some
 > pictures of the panic and the backtrace. I cannot send the pictures to
 > the bug tracking address it seems, but I will send them directly to
 > you.
 
 Thanks, got them, this is useful info, but if you can load the
 crash dump in kgdb this will be helpful as well as you might be able to
 extract more information from the dump.
 
 Thomas.
 

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Sun, 25 Feb 2007 16:12:05 -0800

 > You need to use kgdb, not gdb.
 
 Sorry, yes, that is what I tried. I thought you mean to try gdb in
 addition to kgdb. I ran:
 
 kgdb /boot/current/kernel.debug /var/crash/vmcore.3
 
 All I get from that is:
 
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (noperiph:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:-1:-1): xpt_async
 (noperiph:ata0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): Registered SIM for ata0
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_compile_path
 
 
 Fatal trap 12: page fault while in kernel mode
 cpuid = 1; apic id = 01
 fault virtual address   = 0x4
 fault code              = supervisor read, page not present
 instruction pointer     = 0x20:0xc04637aa
 stack pointer           = 0x28:0xe7c83a44
 frame pointer           = 0x28:0xe7c83a5c
 code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, def32 1, gran 1
 processor eflags        = interrupt enabled, resume, IOPL = 0
 current process         = 78 (kldload)
 panic: from debugger
 cpuid = 1
 KDB: stack backtrace:
 panic: from debugger
 cpuid = 1
 KDB: stack backtrace:
 Physical memory: 2035 MB
 Dumping 66 MB: 51 35 19 3
 
 #0  0x00000000 in ?? ()
 (kgdb)
 
 And if I try "bt" inside there, I don't get anything:
 
 (kgdb) bt
 #0  0x00000000 in ?? ()
 (kgdb)
 
 Thanks,
 Josh

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>,
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Mon, 26 Feb 2007 23:50:00 +0100

 * Josh Carroll, 2007-02-26 :
 
 > Unfortunately I don't have access to a serial console. I took some
 > pictures of the panic and the backtrace. I cannot send the pictures to
 > the bug tracking address it seems, but I will send them directly to
 > you.
 
 I had a look at these traces. They are quite helpful, but a bit
 disconcerting as well.
 
 For GNATS' benefit, after the console log already quoted by Josh:
 
 (noperiph:ata0:0:-1:-1): Registered SIM for ata0
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_compile_path
 Fatal trap 12: page fault while in kernel mode
       
 cpuid = 1; apic id = 01
       
 fault virtual address   = 0x4
       
 fault code              = supervisor read, page not present
 instruction pointer     = 0x20:0xc04637aa
 stack pointer           = 0x28:0xe7c83a44
 frame pointer           = 0x28:0xe7c83a5c
 code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
 processor eflags        = interrupt enabled, resume, IOPL = 0
 current process         = 78 (kldload)
 panic: from debugger
 cpuid = 1
 KDB: stack backtrace:
 panic: from debugger
 cpuid = 1
 KDB: stack backtrace:
 Physical memory: 2035 MB
 Dumping 66 MB: 51 35 19 3
 
 we have a DDB backtrace that ends with:
 
 xpt_path_comp+0x3a
 reinit_bus+0x281
 atapi_cam_attach+0x18c
 
 Now what is a bit suspicious to me is that reinit_bus spans only 0x279
 bytes in my build, so we might really be in another (static) function
 altogether. Furthermore reinit_bus does not contain any call to
 xpt_path_comp, which makes that hypothesis all the more plausible.
 
 So, now, first thing, it would be helpful if you could send me the
 output of "objdump --disassemble -S atapi-cam.o" (where atapi-cam.o is
 the file from your kernel build tree under /usr/obj/.../<kernconf>).
 
 Second, I think I know why gdb was rather terse about your backtrace:
 atapicam.ko is a dynamically loaded module, so you need to do an
 additional step in order to have it recognized by the debugger.
 
 See instructions at:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-kld.html
 
 Basically you need to traverse the linker_files chained list until you
 find the entry for atapicam.ko, then make a note of the "address" member
 of this entry. This is the address atapicam.ko has been loaded at.
 
 Now you also need to find out the offset of the .text section within
 atapicam.ko using "objdump --section-headers atapicam.ko | grep text".
 
 Add that offset to the load address, that gives you the relocation
 address R, and then you can finally instruct gdb as to where
 atapicam.ko was loaded:
 
 (gdb) add-symbol-file atapicam.ko.debug R
 
 (you should find a file atapicam.ko.debug in your kernel build tree).
 
 From there you should (hopefully) be able to get a correct backtrace
 from within GDB.
 
 Thomas.
 

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Mon, 26 Feb 2007 15:23:24 -0800

 > So, now, first thing, it would be helpful if you could send me the
 > output of "objdump --disassemble -S atapi-cam.o" (where atapi-cam.o is
 > the file from your kernel build tree under /usr/obj/.../<kernconf>).
 
 The text is below. It's huge, though, so I don't know if GNATs will
 like this large of a text reply or not. If so, I will gzip the output
 up and send it directly to you.
 
 > Second, I think I know why gdb was rather terse about your backtrace:
 > atapicam.ko is a dynamically loaded module, so you need to do an
 > additional step in order to have it recognized by the debugger.
 
 It would probably just be easier to build atapicam into the kernel so
 I can get you a proper backtrace. I built it as a module so I could
 play with the different camcontrol debug flags to see if using only -c
 or -I, for example, would avoid the panic and still get you some
 marginal information. I'll just build it in from now on, so that I can
 provide the backtrace in textual form.
 
 Below is the requested output of the objdump command in its entirety.
 
 Thanks,
 Josh
 
 
 
 atapi-cam.o:     file format elf32-i386-freebsd
 
 Disassembly of section .text:
 
 00000000 <atapi_cam_identify>:
 MODULE_DEPEND(atapicam, cam, 1, 1, 1);
 
 static void
 atapi_cam_identify(device_t *dev, device_t parent)
 {
        0:	55                   	push   %ebp
 	struct atapi_xpt_softc *scp =
        1:	b9 00 01 00 00       	mov    $0x100,%ecx
        6:	89 e5                	mov    %esp,%ebp
        8:	83 ec 14             	sub    $0x14,%esp
        b:	89 75 fc             	mov    %esi,0xfffffffc(%ebp)
        e:	be 01 01 00 00       	mov    $0x101,%esi
       13:	89 5d f8             	mov    %ebx,0xfffffff8(%ebp)
       16:	8b 5d 0c             	mov    0xc(%ebp),%ebx
       19:	89 74 24 08          	mov    %esi,0x8(%esp)
       1d:	89 4c 24 04          	mov    %ecx,0x4(%esp)
       21:	c7 04 24 54 02 00 00 	movl   $0x254,(%esp)
       28:	e8 fc ff ff ff       	call   29 <atapi_cam_identify+0x29>
 	    malloc (sizeof (struct atapi_xpt_softc), M_ATACAM, M_NOWAIT|M_ZERO);
 	device_t child;
 
 	if (scp == NULL) {
       2d:	85 c0                	test   %eax,%eax
       2f:	89 c6                	mov    %eax,%esi
       31:	74 6d                	je     a0 <atapi_cam_identify+0xa0>
 		printf ("atapi_cam_identify: out of memory");
 		return;
 	}
 
 	/* Assume one atapicam instance per parent channel instance. */
 	child = device_add_child(parent, "atapicam", -1);
       33:	89 1c 24             	mov    %ebx,(%esp)
       36:	ba ff ff ff ff       	mov    $0xffffffff,%edx
       3b:	b8 08 00 00 00       	mov    $0x8,%eax
       40:	89 54 24 08          	mov    %edx,0x8(%esp)
       44:	89 44 24 04          	mov    %eax,0x4(%esp)
       48:	e8 fc ff ff ff       	call   49 <atapi_cam_identify+0x49>
 	if (child == NULL) {
       4d:	85 c0                	test   %eax,%eax
       4f:	89 c3                	mov    %eax,%ebx
       51:	74 25                	je     78 <atapi_cam_identify+0x78>
 		printf ("atapi_cam_identify: out of memory, can't add child");
 		free (scp, M_ATACAM);
 		return;
 	}
 	scp->atapi_cam_dev.unit = -1;
       53:	c7 46 04 ff ff ff ff 	movl   $0xffffffff,0x4(%esi)
 	scp->atapi_cam_dev.dev  = child;
       5a:	89 06                	mov    %eax,(%esi)
 	device_quiet(child);
       5c:	89 04 24             	mov    %eax,(%esp)
       5f:	e8 fc ff ff ff       	call   60 <atapi_cam_identify+0x60>
 	device_set_softc(child, scp);
       64:	89 75 0c             	mov    %esi,0xc(%ebp)
 }
       67:	8b 75 fc             	mov    0xfffffffc(%ebp),%esi
       6a:	89 5d 08             	mov    %ebx,0x8(%ebp)
       6d:	8b 5d f8             	mov    0xfffffff8(%ebp),%ebx
       70:	89 ec                	mov    %ebp,%esp
       72:	5d                   	pop    %ebp
       73:	e9 fc ff ff ff       	jmp    74 <atapi_cam_identify+0x74>
       78:	c7 04 24 33 00 00 00 	movl   $0x33,(%esp)
       7f:	e8 fc ff ff ff       	call   80 <atapi_cam_identify+0x80>
       84:	89 75 08             	mov    %esi,0x8(%ebp)
       87:	8b 5d f8             	mov    0xfffffff8(%ebp),%ebx
       8a:	8b 75 fc             	mov    0xfffffffc(%ebp),%esi
       8d:	c7 45 0c 00 01 00 00 	movl   $0x100,0xc(%ebp)
       94:	89 ec                	mov    %ebp,%esp
       96:	5d                   	pop    %ebp
       97:	e9 fc ff ff ff       	jmp    98 <atapi_cam_identify+0x98>
       9c:	8d 74 26 00          	lea    0x0(%esi),%esi
       a0:	c7 45 08 66 00 00 00 	movl   $0x66,0x8(%ebp)
       a7:	8b 5d f8             	mov    0xfffffff8(%ebp),%ebx
       aa:	8b 75 fc             	mov    0xfffffffc(%ebp),%esi
       ad:	89 ec                	mov    %ebp,%esp
       af:	5d                   	pop    %ebp
       b0:	e9 fc ff ff ff       	jmp    b1 <atapi_cam_identify+0xb1>
       b5:	8d 74 26 00          	lea    0x0(%esi),%esi
       b9:	8d bc 27 00 00 00 00 	lea    0x0(%edi),%edi
 
 000000c0 <atapi_cam_probe>:
 
 static int
 atapi_cam_probe(device_t dev)
 {
       c0:	55                   	push   %ebp
       c1:	89 e5                	mov    %esp,%ebp
       c3:	53                   	push   %ebx
       c4:	83 ec 08             	sub    $0x8,%esp
       c7:	8b 5d 08             	mov    0x8(%ebp),%ebx
 	struct ata_device *atadev = device_get_softc (dev);
       ca:	89 1c 24             	mov    %ebx,(%esp)
       cd:	e8 fc ff ff ff       	call   ce <atapi_cam_probe+0xe>
 
 	KASSERT(atadev != NULL, ("expect valid struct ata_device"));
       d2:	85 c0                	test   %eax,%eax
       d4:	74 27                	je     fd <atapi_cam_probe+0x3d>
 	if (atadev->unit < 0) {
       d6:	8b 40 04             	mov    0x4(%eax),%eax
 		device_set_desc(dev, "ATAPI CAM Attachment");
 		return (0);
 	} else {
 		return ENXIO;
       d9:	ba 06 00 00 00       	mov    $0x6,%edx
       de:	85 c0                	test   %eax,%eax
       e0:	79 13                	jns    f5 <atapi_cam_probe+0x35>
       e2:	89 1c 24             	mov    %ebx,(%esp)
       e5:	b8 88 00 00 00       	mov    $0x88,%eax
       ea:	89 44 24 04          	mov    %eax,0x4(%esp)
       ee:	e8 fc ff ff ff       	call   ef <atapi_cam_probe+0x2f>
       f3:	31 d2                	xor    %edx,%edx
 	}
 }
       f5:	83 c4 08             	add    $0x8,%esp
       f8:	89 d0                	mov    %edx,%eax
       fa:	5b                   	pop    %ebx
       fb:	5d                   	pop    %ebp
       fc:	c3                   	ret
       fd:	c7 04 24 9d 00 00 00 	movl   $0x9d,(%esp)
      104:	e8 fc ff ff ff       	call   105 <atapi_cam_probe+0x45>
      109:	8d b4 26 00 00 00 00 	lea    0x0(%esi),%esi
 
 00000110 <reinit_bus>:
 
 static int
 atapi_cam_attach(device_t dev)
 {
     struct atapi_xpt_softc *scp = NULL;
     struct cam_devq *devq = NULL;
     struct cam_sim *sim = NULL;
     struct cam_path *path = NULL;
     int unit, error;
 
     scp = (struct atapi_xpt_softc *)device_get_softc(dev);
     if (scp == NULL) {
 	device_printf(dev, "Cannot get softc\n");
 	return (ENOMEM);
     }
 
     mtx_init(&scp->state_lock, "ATAPICAM lock", NULL, MTX_DEF);
 
     scp->dev = dev;
     scp->parent = device_get_parent(dev);
     scp->ata_ch = device_get_softc(scp->parent);
     TAILQ_INIT(&scp->pending_hcbs);
     unit = device_get_unit(dev);
 
     if ((devq = cam_simq_alloc(16)) == NULL) {
 	error = ENOMEM;
 	goto out;
     }
 
     if ((sim = cam_sim_alloc(atapi_action, atapi_poll, "ata",
 		 (void *)scp, unit, 1, 1, devq)) == NULL) {
 	error = ENOMEM;
 	goto out;
     }
     scp->sim = sim;
 
     if (xpt_bus_register(sim, 0) != CAM_SUCCESS) {
 	error = EINVAL;
 	goto out;
     }
     scp->flags |= BUS_REGISTERED;
 
     if (xpt_create_path(&path, /*periph*/ NULL,
 		cam_sim_path(sim), CAM_TARGET_WILDCARD,
 		CAM_LUN_WILDCARD) != CAM_REQ_CMP) {
 	error = ENOMEM;
 	goto out;
     }
     scp->path = path;
 
     CAM_DEBUG(path, CAM_DEBUG_TRACE, ("Registered SIM for ata%d\n", unit));
 
     setup_async_cb(scp, AC_LOST_DEVICE);
     reinit_bus(scp, cold ? BOOT_ATTACH : ATTACH);
     error = 0;
 
 out:
     if (error != 0)
 	free_softc(scp);
 
     return (error);
 }
 
 static int
 atapi_cam_detach(device_t dev)
 {
     struct atapi_xpt_softc *scp = device_get_softc(dev);
 
     mtx_lock(&Giant);
     xpt_freeze_simq(scp->sim, 1 /*count*/);
     mtx_unlock(&Giant);
     mtx_lock(&scp->state_lock);
     scp->flags |= DETACHING;
     mtx_unlock(&scp->state_lock);
     free_softc(scp);
     return (0);
 }
 
 static int
 atapi_cam_reinit(device_t dev) {
     struct atapi_xpt_softc *scp = device_get_softc(dev);
 
     /*
      * scp might be null if the bus is being reinitialised during
      * the boot-up sequence, before the ATAPI bus is registered.
      */
 
     if (scp != NULL) {
 	reinit_bus(scp, RESET);
     }
     return (0);
 }
 
 static void
 reinit_bus(struct atapi_xpt_softc *scp, enum reinit_reason reason) {
      110:	55                   	push   %ebp
      111:	89 e5                	mov    %esp,%ebp
      113:	57                   	push   %edi
      114:	89 d7                	mov    %edx,%edi
      116:	56                   	push   %esi
      117:	89 c6                	mov    %eax,%esi
     struct ata_device *atadev;
     device_t *children;
     int nchildren, i;
 
     if (device_get_children(scp->parent, &children, &nchildren) != 0) {
      119:	8d 45 f0             	lea    0xfffffff0(%ebp),%eax
      11c:	53                   	push   %ebx
      11d:	83 ec 24             	sub    $0x24,%esp
      120:	89 44 24 08          	mov    %eax,0x8(%esp)
      124:	8d 45 ec             	lea    0xffffffec(%ebp),%eax
      127:	89 44 24 04          	mov    %eax,0x4(%esp)
      12b:	8b 86 18 02 00 00    	mov    0x218(%esi),%eax
      131:	89 04 24             	mov    %eax,(%esp)
      134:	e8 fc ff ff ff       	call   135 <reinit_bus+0x25>
      139:	85 c0                	test   %eax,%eax
      13b:	74 08                	je     145 <reinit_bus+0x35>
 	return;
     }
 
     mtx_lock(&scp->state_lock);
     scp->atadev[0] = NULL;
     scp->atadev[1] = NULL;
 
     for (i = 0; i < nchildren; i++) {
 	/* XXX Does the child need to actually be attached yet? */
 	if (children[i] != NULL) {
 	    atadev = device_get_softc(children[i]);
 	    if ((atadev->unit == ATA_MASTER) &&
 		(scp->ata_ch->devices & ATA_ATAPI_MASTER) != 0)
 		scp->atadev[0] = atadev;
 	    if ((atadev->unit == ATA_SLAVE) &&
 		(scp->ata_ch->devices & ATA_ATAPI_SLAVE) != 0)
 		scp->atadev[1] = atadev;
 	}
     }
     mtx_unlock(&scp->state_lock);
     free(children, M_TEMP);
 
     switch (reason) {
 	case BOOT_ATTACH:
 	    break;
 	case RESET:
 	    xpt_async(AC_BUS_RESET, scp->path, NULL);
 	    /*FALLTHROUGH*/
 	case ATTACH:
 	    cam_rescan(scp->sim);
 	    break;
     }
 }
      13d:	83 c4 24             	add    $0x24,%esp
      140:	5b                   	pop    %ebx
      141:	5e                   	pop    %esi
      142:	5f                   	pop    %edi
      143:	5d                   	pop    %ebp
      144:	c3                   	ret
      145:	b8 1e 01 00 00       	mov    $0x11e,%eax
      14a:	31 db                	xor    %ebx,%ebx
      14c:	89 44 24 0c          	mov    %eax,0xc(%esp)
      150:	b8 bc 00 00 00       	mov    $0xbc,%eax
      155:	89 44 24 08          	mov    %eax,0x8(%esp)
      159:	31 c0                	xor    %eax,%eax
      15b:	89 44 24 04          	mov    %eax,0x4(%esp)
      15f:	8d 86 3c 02 00 00    	lea    0x23c(%esi),%eax
      165:	89 45 e4             	mov    %eax,0xffffffe4(%ebp)
      168:	89 04 24             	mov    %eax,(%esp)
      16b:	e8 fc ff ff ff       	call   16c <reinit_bus+0x5c>
      170:	31 c0                	xor    %eax,%eax
      172:	89 86 34 02 00 00    	mov    %eax,0x234(%esi)
      178:	31 c0                	xor    %eax,%eax
      17a:	89 86 38 02 00 00    	mov    %eax,0x238(%esi)
      180:	8b 55 f0             	mov    0xfffffff0(%ebp),%edx
      183:	39 d3                	cmp    %edx,%ebx
      185:	7d 1c                	jge    1a3 <reinit_bus+0x93>
      187:	89 f6                	mov    %esi,%esi
      189:	8d bc 27 00 00 00 00 	lea    0x0(%edi),%edi
      190:	8b 45 ec             	mov    0xffffffec(%ebp),%eax
      193:	8b 04 98             	mov    (%eax,%ebx,4),%eax
      196:	85 c0                	test   %eax,%eax
      198:	0f 85 22 01 00 00    	jne    2c0 <reinit_bus+0x1b0>
      19e:	43                   	inc    %ebx
      19f:	39 d3                	cmp    %edx,%ebx
      1a1:	7c ed                	jl     190 <reinit_bus+0x80>
      1a3:	8b 45 e4             	mov    0xffffffe4(%ebp),%eax
      1a6:	31 d2                	xor    %edx,%edx
      1a8:	b9 bc 00 00 00       	mov    $0xbc,%ecx
      1ad:	89 4c 24 08          	mov    %ecx,0x8(%esp)
      1b1:	bb 2e 01 00 00       	mov    $0x12e,%ebx
      1b6:	89 54 24 04          	mov    %edx,0x4(%esp)
      1ba:	89 04 24             	mov    %eax,(%esp)
      1bd:	89 5c 24 0c          	mov    %ebx,0xc(%esp)
      1c1:	e8 fc ff ff ff       	call   1c2 <reinit_bus+0xb2>
      1c6:	b8 00 00 00 00       	mov    $0x0,%eax
      1cb:	89 44 24 04          	mov    %eax,0x4(%esp)
      1cf:	8b 45 ec             	mov    0xffffffec(%ebp),%eax
      1d2:	89 04 24             	mov    %eax,(%esp)
      1d5:	e8 fc ff ff ff       	call   1d6 <reinit_bus+0xc6>
      1da:	83 ff 01             	cmp    $0x1,%edi
      1dd:	74 25                	je     204 <reinit_bus+0xf4>
      1df:	83 ff 02             	cmp    $0x2,%edi
      1e2:	0f 85 55 ff ff ff    	jne    13d <reinit_bus+0x2d>
      1e8:	31 c0                	xor    %eax,%eax
      1ea:	89 44 24 08          	mov    %eax,0x8(%esp)
      1ee:	8b 86 20 02 00 00    	mov    0x220(%esi),%eax
      1f4:	c7 04 24 01 00 00 00 	movl   $0x1,(%esp)
      1fb:	89 44 24 04          	mov    %eax,0x4(%esp)
      1ff:	e8 fc ff ff ff       	call   200 <reinit_bus+0xf0>
 
 static void
 setup_async_cb(struct atapi_xpt_softc *scp, uint32_t events)
 {
     struct ccb_setasync csa;
 
     mtx_lock(&Giant);
     xpt_setup_ccb(&csa.ccb_h, scp->path, /*priority*/ 5);
     csa.ccb_h.func_code = XPT_SASYNC_CB;
     csa.event_enable = events;
     csa.callback = &atapi_async;
     csa.callback_arg = scp->sim;
     xpt_action((union ccb *) &csa);
     mtx_unlock(&Giant);
 }
 
 static void
 atapi_action(struct cam_sim *sim, union ccb *ccb)
 {
     struct atapi_xpt_softc *softc = (struct atapi_xpt_softc*)cam_sim_softc(sim);
     struct ccb_hdr *ccb_h = &ccb->ccb_h;
     struct atapi_hcb *hcb = NULL;
     struct ata_request *request = NULL;
     int unit = cam_sim_unit(sim);
     int bus = cam_sim_bus(sim);
     int len;
     char *buf;
 
     switch (ccb_h->func_code) {
     case XPT_PATH_INQ: {
 	struct ccb_pathinq *cpi = &ccb->cpi;
 	int tid = ccb_h->target_id;
 
 	cpi->version_num = 1;
 	cpi->hba_inquiry = 0;
 	cpi->target_sprt = 0;
 	cpi->hba_misc = PIM_NO_6_BYTE;
 	cpi->hba_eng_cnt = 0;
 	bzero(cpi->vuhba_flags, sizeof(cpi->vuhba_flags));
 	cpi->max_target = 1;
 	cpi->max_lun = 0;
 	cpi->async_flags = 0;
 	cpi->hpath_id = 0;
 	cpi->initiator_id = 7;
 	strncpy(cpi->sim_vid, "FreeBSD", sizeof(cpi->sim_vid));
 	strncpy(cpi->hba_vid, "ATAPI", sizeof(cpi->hba_vid));
 	strncpy(cpi->dev_name, cam_sim_name(sim), sizeof cpi->dev_name);
 	cpi->unit_number = cam_sim_unit(sim);
 	cpi->bus_id = cam_sim_bus(sim);
 	cpi->base_transfer_speed = 3300;
 	cpi->transport = XPORT_ATA;
 	cpi->transport_version = 2;
 	cpi->protocol = PROTO_SCSI;
 	cpi->protocol_version = SCSI_REV_2;
 
 	if (softc->ata_ch && tid != CAM_TARGET_WILDCARD) {
 	    mtx_lock(&softc->state_lock);
 	    if (softc->atadev[tid] == NULL) {
 		ccb->ccb_h.status = CAM_DEV_NOT_THERE;
 		xpt_done(ccb);
 		mtx_unlock(&softc->state_lock);
 		return;
 	    }
 	    switch (softc->atadev[ccb_h->target_id]->mode) {
 	    case ATA_PIO1:
 		cpi->base_transfer_speed = 5200;
 		break;
 	    case ATA_PIO2:
 		cpi->base_transfer_speed = 7000;
 		break;
 	    case ATA_PIO3:
 		cpi->base_transfer_speed = 11000;
 		break;
 	    case ATA_PIO4:
 	    case ATA_DMA:
 	    case ATA_WDMA2:
 		cpi->base_transfer_speed = 16000;
 		break;
 	    case ATA_UDMA2:
 		cpi->base_transfer_speed = 33000;
 		break;
 	    case ATA_UDMA4:
 		cpi->base_transfer_speed = 66000;
 		break;
 	    case ATA_UDMA5:
 		cpi->base_transfer_speed = 100000;
 		break;
 	    case ATA_UDMA6:
 		cpi->base_transfer_speed = 133000;
 		break;
 	    default:
 		break;
 	    }
 	    mtx_unlock(&softc->state_lock);
 	}
 	ccb->ccb_h.status = CAM_REQ_CMP;
 	xpt_done(ccb);
 	return;
     }
 
     case XPT_RESET_DEV: {
 	int tid = ccb_h->target_id;
 
 	CAM_DEBUG(ccb->ccb_h.path, CAM_DEBUG_SUBTRACE, ("dev reset\n"));
 	ata_controlcmd(softc->atadev[tid]->dev, ATA_DEVICE_RESET, 0, 0, 0);
 	ccb->ccb_h.status = CAM_REQ_CMP;
 	xpt_done(ccb);
 	return;
     }
 
     case XPT_RESET_BUS:
 	CAM_DEBUG(ccb->ccb_h.path, CAM_DEBUG_SUBTRACE, ("bus reset\n"));
 	ata_reinit(softc->parent);
 	ccb->ccb_h.status = CAM_REQ_CMP;
 	xpt_done(ccb);
 	return;
 
     case XPT_SET_TRAN_SETTINGS:
 	/* ignore these, we're not doing SCSI here */
 	CAM_DEBUG(ccb->ccb_h.path, CAM_DEBUG_SUBTRACE,
 		  ("SET_TRAN_SETTINGS not supported\n"));
 	ccb->ccb_h.status = CAM_FUNC_NOTAVAIL;
 	xpt_done(ccb);
 	return;
 
     case XPT_GET_TRAN_SETTINGS: {
 	struct ccb_trans_settings *cts = &ccb->cts;
 	cts->protocol = PROTO_SCSI;
 	cts->protocol_version = SCSI_REV_2;
 	cts->transport = XPORT_ATA;
 	cts->transport_version = XPORT_VERSION_UNSPECIFIED;
     	cts->proto_specific.valid = 0;
     	cts->xport_specific.valid = 0;
 	/* nothing more to do */
 	ccb->ccb_h.status = CAM_REQ_CMP;
 	CAM_DEBUG(ccb->ccb_h.path, CAM_DEBUG_SUBTRACE, ("GET_TRAN_SETTINGS\n"));
 	xpt_done(ccb);
 	return;
     }
 
     case XPT_CALC_GEOMETRY: {
 	CAM_DEBUG(ccb->ccb_h.path, CAM_DEBUG_SUBTRACE, ("CALC_GEOMETRY\n"));
 	cam_calc_geometry(&ccb->ccg, /*extended*/1);
 	xpt_done(ccb);
 	return;
     }
 
     case XPT_SCSI_IO: {
 	struct ccb_scsiio *csio = &ccb->csio;
 	int tid = ccb_h->target_id, lid = ccb_h->target_lun;
 	int request_flags = ATA_R_QUIET | ATA_R_ATAPI;
 
 	CAM_DEBUG(ccb_h->path, CAM_DEBUG_SUBTRACE, ("XPT_SCSI_IO\n"));
 
 	mtx_lock(&softc->state_lock);
 	if (softc->flags & DETACHING) {
 	    ccb->ccb_h.status = CAM_REQ_ABORTED;
 	    xpt_done(ccb);
 	    mtx_unlock(&softc->state_lock);
 	    return;
 	}
 
 	if (softc->atadev[tid] == NULL) {
 	    ccb->ccb_h.status = CAM_DEV_NOT_THERE;
 	    xpt_done(ccb);
 	    mtx_unlock(&softc->state_lock);
 	    return;
 	}
 
 	/* check that this request was not aborted already */
 	if ((ccb_h->status & CAM_STATUS_MASK) != CAM_REQ_INPROG) {
 	    printf("XPT_SCSI_IO received but already in progress?\n");
 	    xpt_done(ccb);
 	    mtx_unlock(&softc->state_lock);
 	    return;
 	}
 	if (lid > 0) {
 	    CAM_DEBUG(ccb_h->path, CAM_DEBUG_SUBTRACE,
 		      ("SCSI IO received for invalid lun %d\n", lid));
 	    goto action_invalid;
 	}
 	if (csio->cdb_len > sizeof request->u.atapi.ccb) {
 	    CAM_DEBUG(ccb_h->path, CAM_DEBUG_SUBTRACE,
 		("CAM CCB too long for ATAPI"));
 	    goto action_invalid;
 	}
 	if ((ccb_h->flags & CAM_SCATTER_VALID)) {
 	    /* scatter-gather not supported */
 	    xpt_print_path(ccb_h->path);
 	    printf("ATAPI/CAM does not support scatter-gather yet!\n");
 	    goto action_invalid;
 	}
 
 	switch (ccb_h->flags & CAM_DIR_MASK) {
 	case CAM_DIR_IN:
 	     request_flags |= ATA_R_READ|ATA_R_DMA;
 	     break;
 	case CAM_DIR_OUT:
 	     request_flags |= ATA_R_WRITE|ATA_R_DMA;
 	     break;
 	case CAM_DIR_NONE:
 	     /* No flags need to be set */
 	     break;
 	default:
 	     device_printf(softc->dev, "unknown IO operation\n");
 	     goto action_invalid;
 	}
 	if (softc->atadev[tid]->mode < ATA_DMA)
 	    request_flags &= ~ATA_R_DMA;
 
 	if ((hcb = allocate_hcb(softc, unit, bus, ccb)) == NULL) {
 	    printf("cannot allocate ATAPI/CAM hcb\n");
 	    goto action_oom;
 	}
 	if ((request = ata_alloc_request()) == NULL) {
 	    printf("cannot allocate ATAPI/CAM request\n");
 	    goto action_oom;
 	}
 
 	bcopy((ccb_h->flags & CAM_CDB_POINTER) ?
 	      csio->cdb_io.cdb_ptr : csio->cdb_io.cdb_bytes,
 	      request->u.atapi.ccb, csio->cdb_len);
 #ifdef CAMDEBUG
 	if (CAM_DEBUGGED(ccb_h->path, CAM_DEBUG_CDB)) {
 		char cdb_str[(SCSI_MAX_CDBLEN * 3) + 1];
 
 		printf("atapi_action: hcb@%p: %s\n", hcb,
 		       scsi_cdb_string(request->u.atapi.ccb, cdb_str, sizeof(cdb_str)));
 	}
 #endif
 
 	len = csio->dxfer_len;
 	buf = csio->data_ptr;
 
 	/* some SCSI commands require special processing */
 	switch (request->u.atapi.ccb[0]) {
 	case INQUIRY: {
 	    /*
 	     * many ATAPI devices seem to report more than
 	     * SHORT_INQUIRY_LENGTH bytes of available INQUIRY
 	     * information, but respond with some incorrect condition
 	     * when actually asked for it, so we are going to pretend
 	     * that only SHORT_INQUIRY_LENGTH are expected, anyway.
 	     */
 	    struct scsi_inquiry *inq = (struct scsi_inquiry *)
 &request->u.atapi.ccb[0];
 
 	    if (inq->byte2 == 0 && inq->page_code == 0 &&
 		inq->length > SHORT_INQUIRY_LENGTH) {
 		bzero(buf, len);
 		len = inq->length = SHORT_INQUIRY_LENGTH;
 	    }
 	    break;
 	}
 	case READ_6:
 	    /* FALLTHROUGH */
 
 	case WRITE_6:
 	    CAM_DEBUG(ccb_h->path, CAM_DEBUG_SUBTRACE,
 		      ("Translating %s into _10 equivalent\n",
 		      (request->u.atapi.ccb[0] == READ_6) ? "READ_6" : "WRITE_6"));
 	    request->u.atapi.ccb[0] |= 0x20;
 	    request->u.atapi.ccb[9] = request->u.atapi.ccb[5];
 	    request->u.atapi.ccb[8] = request->u.atapi.ccb[4];
 	    request->u.atapi.ccb[7] = 0;
 	    request->u.atapi.ccb[6] = 0;
 	    request->u.atapi.ccb[5] = request->u.atapi.ccb[3];
 	    request->u.atapi.ccb[4] = request->u.atapi.ccb[2];
 	    request->u.atapi.ccb[3] = request->u.atapi.ccb[1] & 0x1f;
 	    request->u.atapi.ccb[2] = 0;
 	    request->u.atapi.ccb[1] = 0;
 	    break;
 	}
 
 	if ((ccb_h->flags & CAM_DIR_MASK) == CAM_DIR_IN && (len & 1)) {
 	    /* ATA always transfers an even number of bytes */
 	    if ((buf = hcb->dxfer_alloc
 		 = malloc(++len, M_ATACAM, M_NOWAIT | M_ZERO)) == NULL) {
 		printf("cannot allocate ATAPI/CAM buffer\n");
 		goto action_oom;
 	    }
 	}
 	request->dev = softc->atadev[tid]->dev;
 	request->driver = hcb;
 	request->data = buf;
 	request->bytecount = len;
 	request->transfersize = min(request->bytecount, 65534);
 	request->timeout = ccb_h->timeout / 1000; /* XXX lost granularity */
 	request->retries = 2;
 	request->callback = &atapi_cb;
 	request->flags = request_flags;
 
 	TAILQ_INSERT_TAIL(&softc->pending_hcbs, hcb, chain);
 	hcb->flags |= QUEUED;
 	ccb_h->status |= CAM_SIM_QUEUED;
 	mtx_unlock(&softc->state_lock);
 
 	ata_queue_request(request);
 	return;
     }
 
     default:
 	CAM_DEBUG(ccb_h->path, CAM_DEBUG_SUBTRACE,
 		  ("unsupported function code 0x%02x\n", ccb_h->func_code));
 	goto action_invalid;
     }
 
     /* NOTREACHED */
 
 action_oom:
     if (request != NULL)
 	ata_free_request(request);
     if (hcb != NULL)
 	free_hcb(hcb);
     mtx_unlock(&softc->state_lock);
     mtx_lock(&Giant);
     xpt_print_path(ccb_h->path);
     printf("out of memory, freezing queue.\n");
     softc->flags |= RESOURCE_SHORTAGE;
     xpt_freeze_simq(sim, /*count*/ 1);
     mtx_unlock(&Giant);
     ccb_h->status = CAM_REQUEUE_REQ;
     xpt_done(ccb);
     return;
 
 action_invalid:
     mtx_unlock(&softc->state_lock);
     ccb_h->status = CAM_REQ_INVALID;
     xpt_done(ccb);
     return;
 }
 
 static void
 atapi_poll(struct cam_sim *sim)
 {
     /* do nothing - we do not actually service any interrupts */
     printf("atapi_poll called!\n");
 }
 
 static void
 atapi_cb(struct ata_request *request)
 {
     struct atapi_xpt_softc *scp;
     struct atapi_hcb *hcb;
     struct ccb_scsiio *csio;
     u_int32_t rc;
 
     hcb = (struct atapi_hcb *)request->driver;
     scp = hcb->softc;
     csio = &hcb->ccb->csio;
 
 #ifdef CAMDEBUG
 # define err (request->u.atapi.sense.key)
     if (CAM_DEBUGGED(csio->ccb_h.path, CAM_DEBUG_CDB)) {
 	printf("atapi_cb: hcb@%p error = %02x: (sk = %02x%s%s%s)\n",
 	       hcb, err, err >> 4,
 	       (err & 4) ? " ABRT" : "",
 	       (err & 2) ? " EOM" : "",
 	       (err & 1) ? " ILI" : "");
 	printf("dev %s: cmd %02x status %02x result %02x\n",
 	    device_get_nameunit(request->dev), request->u.atapi.ccb[0],
 	    request->status, request->result);
     }
 #endif
 
     if ((hcb->flags & AUTOSENSE) != 0) {
 	rc = CAM_SCSI_STATUS_ERROR;
 	if (request->result == 0) {
 	    csio->ccb_h.status |= CAM_AUTOSNS_VALID;
 	}
     } else if (request->result != 0) {
 	rc = CAM_SCSI_STATUS_ERROR;
 	csio->scsi_status = SCSI_STATUS_CHECK_COND;
 
 	if ((csio->ccb_h.flags & CAM_DIS_AUTOSENSE) == 0) {
 #if 0
 	    static const int8_t ccb[16] = { ATAPI_REQUEST_SENSE, 0, 0, 0,
 		sizeof(struct atapi_sense), 0, 0, 0, 0, 0, 0,
 		0, 0, 0, 0, 0 };
 
 	    bcopy (ccb, request->u.atapi.ccb, sizeof ccb);
 	    request->data = (caddr_t)&csio->sense_data;
 	    request->bytecount = sizeof(struct atapi_sense);
 	    request->transfersize = min(request->bytecount, 65534);
 	    request->timeout = csio->ccb_h.timeout / 1000;
 	    request->retries = 2;
 	    request->flags = ATA_R_QUIET|ATA_R_ATAPI|ATA_R_IMMEDIATE;
 	    hcb->flags |= AUTOSENSE;
 
 	    ata_queue_request(request);
 	    return;
 #else
 	    /* The ATA driver has already requested sense for us. */
 	    if (request->error == 0) {
 		/* The ATA autosense suceeded. */
 		bcopy (&request->u.atapi.sense, &csio->sense_data, sizeof(struct
 atapi_sense));
 		csio->ccb_h.status |= CAM_AUTOSNS_VALID;
 	    }
 #endif
 	}
     } else {
 	rc = CAM_REQ_CMP;
 	csio->scsi_status = SCSI_STATUS_OK;
 	if (((csio->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) &&
 	    hcb->dxfer_alloc != NULL)
 	{
 	    bcopy(hcb->dxfer_alloc, csio->data_ptr, csio->dxfer_len);
 	}
     }
 
     mtx_lock(&scp->state_lock);
     free_hcb_and_ccb_done(hcb, rc);
     mtx_unlock(&scp->state_lock);
 
     ata_free_request(request);
 }
 
 static void
 free_hcb_and_ccb_done(struct atapi_hcb *hcb, u_int32_t status)
 {
     struct atapi_xpt_softc *softc;
     union ccb *ccb;
 
     if (hcb == NULL)
 	return;
 
     softc = hcb->softc;
     ccb = hcb->ccb;
 
     /* we're about to free a hcb, so the shortage has ended */
     if (softc->flags & RESOURCE_SHORTAGE) {
 	softc->flags &= ~RESOURCE_SHORTAGE;
 	status |= CAM_RELEASE_SIMQ;
     }
     free_hcb(hcb);
     ccb->ccb_h.status =
 	status | (ccb->ccb_h.status & ~(CAM_STATUS_MASK | CAM_SIM_QUEUED));
     mtx_lock(&Giant);
     xpt_done(ccb);
     mtx_unlock(&Giant);
 }
 
 static void
 atapi_async(void *callback_arg, u_int32_t code,
 	     struct cam_path* path, void *arg)
 {
     struct atapi_xpt_softc *softc;
     struct cam_sim *sim;
     int targ;
 
     GIANT_REQUIRED;
 
     sim = (struct cam_sim *) callback_arg;
     softc = (struct atapi_xpt_softc *) cam_sim_softc(sim);
     switch (code) {
     case AC_LOST_DEVICE:
 	targ = xpt_path_target_id(path);
 	xpt_print_path(path);
 	if (targ == -1)
 		printf("Lost host adapter\n");
 	else
 		printf("Lost target %d???\n", targ);
 	break;
 
     default:
 	break;
     }
 }
 
 static void
 cam_rescan_callback(struct cam_periph *periph, union ccb *ccb)
 {
 	if (ccb->ccb_h.status != CAM_REQ_CMP) {
 	    CAM_DEBUG(ccb->ccb_h.path, CAM_DEBUG_TRACE,
 		      ("Rescan failed, 0x%04x\n", ccb->ccb_h.status));
 	} else {
 	    CAM_DEBUG(ccb->ccb_h.path, CAM_DEBUG_TRACE,
 		      ("Rescan succeeded\n"));
 	}
 	xpt_free_path(ccb->ccb_h.path);
 	free(ccb, M_ATACAM);
 }
 
 static void
 cam_rescan(struct cam_sim *sim)
 {
     struct cam_path *path;
     union ccb *ccb = malloc(sizeof(union ccb), M_ATACAM, M_WAITOK | M_ZERO);
      204:	b8 02 01 00 00       	mov    $0x102,%eax
      209:	8b 9e 24 02 00 00    	mov    0x224(%esi),%ebx
      20f:	c7 04 24 60 02 00 00 	movl   $0x260,(%esp)
 
     mtx_lock(&Giant);
      216:	31 ff                	xor    %edi,%edi
      218:	89 44 24 08          	mov    %eax,0x8(%esp)
      21c:	b8 00 01 00 00       	mov    $0x100,%eax
      221:	89 44 24 04          	mov    %eax,0x4(%esp)
      225:	e8 fc ff ff ff       	call   226 <reinit_bus+0x116>
      22a:	89 7c 24 04          	mov    %edi,0x4(%esp)
      22e:	89 c6                	mov    %eax,%esi
      230:	b8 24 03 00 00       	mov    $0x324,%eax
      235:	89 44 24 0c          	mov    %eax,0xc(%esp)
      239:	b8 bc 00 00 00       	mov    $0xbc,%eax
      23e:	89 44 24 08          	mov    %eax,0x8(%esp)
      242:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)
      249:	e8 fc ff ff ff       	call   24a <reinit_bus+0x13a>
 
 static __inline u_int32_t
 cam_sim_path(struct cam_sim *sim)
 {
 	return (sim->path_id);
      24e:	8b 43 10             	mov    0x10(%ebx),%eax
      251:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx
      256:	ba ff ff ff ff       	mov    $0xffffffff,%edx
      25b:	89 4c 24 10          	mov    %ecx,0x10(%esp)
      25f:	89 54 24 0c          	mov    %edx,0xc(%esp)
      263:	89 44 24 08          	mov    %eax,0x8(%esp)
      267:	a1 00 00 00 00       	mov    0x0,%eax
      26c:	89 44 24 04          	mov    %eax,0x4(%esp)
      270:	8d 45 e8             	lea    0xffffffe8(%ebp),%eax
      273:	89 04 24             	mov    %eax,(%esp)
      276:	e8 fc ff ff ff       	call   277 <reinit_bus+0x167>
      27b:	48                   	dec    %eax
      27c:	0f 84 8f 00 00 00    	je     311 <reinit_bus+0x201>
     if (xpt_create_path(&path, xpt_periph, cam_sim_path(sim),
 			CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD) != CAM_REQ_CMP) {
 	mtx_unlock(&Giant);
      282:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)
      289:	31 c9                	xor    %ecx,%ecx
      28b:	bf 27 03 00 00       	mov    $0x327,%edi
      290:	89 7c 24 0c          	mov    %edi,0xc(%esp)
      294:	bb bc 00 00 00       	mov    $0xbc,%ebx
      299:	89 5c 24 08          	mov    %ebx,0x8(%esp)
      29d:	89 4c 24 04          	mov    %ecx,0x4(%esp)
      2a1:	e8 fc ff ff ff       	call   2a2 <reinit_bus+0x192>
 	free(ccb, M_ATACAM);
      2a6:	89 34 24             	mov    %esi,(%esp)
      2a9:	ba 00 01 00 00       	mov    $0x100,%edx
      2ae:	89 54 24 04          	mov    %edx,0x4(%esp)
      2b2:	e8 fc ff ff ff       	call   2b3 <reinit_bus+0x1a3>
      2b7:	e9 81 fe ff ff       	jmp    13d <reinit_bus+0x2d>
      2bc:	8d 74 26 00          	lea    0x0(%esi),%esi
      2c0:	89 04 24             	mov    %eax,(%esp)
      2c3:	e8 fc ff ff ff       	call   2c4 <reinit_bus+0x1b4>
      2c8:	89 c2                	mov    %eax,%edx
      2ca:	8b 40 04             	mov    0x4(%eax),%eax
      2cd:	85 c0                	test   %eax,%eax
      2cf:	75 18                	jne    2e9 <reinit_bus+0x1d9>
      2d1:	8b 86 1c 02 00 00    	mov    0x21c(%esi),%eax
      2d7:	f6 80 e8 00 00 00 04 	testb  $0x4,0xe8(%eax)
      2de:	74 0e                	je     2ee <reinit_bus+0x1de>
      2e0:	89 96 34 02 00 00    	mov    %edx,0x234(%esi)
      2e6:	8b 42 04             	mov    0x4(%edx),%eax
      2e9:	83 f8 10             	cmp    $0x10,%eax
      2ec:	74 09                	je     2f7 <reinit_bus+0x1e7>
      2ee:	8b 55 f0             	mov    0xfffffff0(%ebp),%edx
      2f1:	43                   	inc    %ebx
      2f2:	e9 a8 fe ff ff       	jmp    19f <reinit_bus+0x8f>
      2f7:	8b 86 1c 02 00 00    	mov    0x21c(%esi),%eax
      2fd:	f6 80 e8 00 00 00 08 	testb  $0x8,0xe8(%eax)
      304:	74 e8                	je     2ee <reinit_bus+0x1de>
      306:	89 96 38 02 00 00    	mov    %edx,0x238(%esi)
      30c:	8b 55 f0             	mov    0xfffffff0(%ebp),%edx
      30f:	eb e0                	jmp    2f1 <reinit_bus+0x1e1>
 	return;
     }
 
     CAM_DEBUG(ccb->ccb_h.path, CAM_DEBUG_TRACE, ("Rescanning ATAPI bus.\n"));
      311:	f6 05 00 00 00 00 02 	testb  $0x2,0x0
      318:	74 0a                	je     324 <reinit_bus+0x214>
      31a:	8b 15 00 00 00 00    	mov    0x0,%edx
      320:	85 d2                	test   %edx,%edx
      322:	75 5e                	jne    382 <reinit_bus+0x272>
     xpt_setup_ccb(&ccb->ccb_h, path, 5/*priority (low)*/);
      324:	89 34 24             	mov    %esi,(%esp)
      327:	b8 05 00 00 00       	mov    $0x5,%eax
      32c:	89 44 24 08          	mov    %eax,0x8(%esp)
      330:	8b 45 e8             	mov    0xffffffe8(%ebp),%eax
      333:	89 44 24 04          	mov    %eax,0x4(%esp)
      337:	e8 fc ff ff ff       	call   338 <reinit_bus+0x228>
     ccb->ccb_h.func_code = XPT_SCAN_BUS;
      33c:	c7 46 2c 08 07 00 00 	movl   $0x708,0x2c(%esi)
     ccb->ccb_h.cbfcnp = cam_rescan_callback;
      343:	c7 46 28 90 17 00 00 	movl   $0x1790,0x28(%esi)
     ccb->crcn.flags = CAM_FLAG_NONE;
      34a:	c7 46 60 00 00 00 00 	movl   $0x0,0x60(%esi)
     xpt_action(ccb);
      351:	89 34 24             	mov    %esi,(%esp)
      354:	e8 fc ff ff ff       	call   355 <reinit_bus+0x245>
     /* scan is in progress now */
     mtx_unlock(&Giant);
      359:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)
      360:	b8 33 03 00 00       	mov    $0x333,%eax
      365:	89 44 24 0c          	mov    %eax,0xc(%esp)
      369:	b8 bc 00 00 00       	mov    $0xbc,%eax
      36e:	89 44 24 08          	mov    %eax,0x8(%esp)
      372:	31 c0                	xor    %eax,%eax
      374:	89 44 24 04          	mov    %eax,0x4(%esp)
      378:	e8 fc ff ff ff       	call   379 <reinit_bus+0x269>
      37d:	e9 bb fd ff ff       	jmp    13d <reinit_bus+0x2d>
      382:	8b 46 34             	mov    0x34(%esi),%eax
      385:	89 14 24             	mov    %edx,(%esp)
      388:	89 44 24 04          	mov    %eax,0x4(%esp)
      38c:	e8 fc ff ff ff       	call   38d <reinit_bus+0x27d>
      391:	85 c0                	test   %eax,%eax
      393:	78 8f                	js     324 <reinit_bus+0x214>
      395:	8b 46 34             	mov    0x34(%esi),%eax
      398:	89 44 24 04          	mov    %eax,0x4(%esp)
      39c:	a1 00 00 00 00       	mov    0x0,%eax
      3a1:	89 04 24             	mov    %eax,(%esp)
      3a4:	e8 fc ff ff ff       	call   3a5 <reinit_bus+0x295>
      3a9:	48                   	dec    %eax
      3aa:	0f 8f 74 ff ff ff    	jg     324 <reinit_bus+0x214>
      3b0:	8b 46 34             	mov    0x34(%esi),%eax
      3b3:	89 04 24             	mov    %eax,(%esp)
      3b6:	e8 fc ff ff ff       	call   3b7 <reinit_bus+0x2a7>
      3bb:	c7 04 24 fb 00 00 00 	movl   $0xfb,(%esp)
      3c2:	e8 fc ff ff ff       	call   3c3 <reinit_bus+0x2b3>
      3c7:	a1 00 00 00 00       	mov    0x0,%eax
      3cc:	85 c0                	test   %eax,%eax
      3ce:	0f 84 50 ff ff ff    	je     324 <reinit_bus+0x214>
      3d4:	89 04 24             	mov    %eax,(%esp)
      3d7:	e8 fc ff ff ff       	call   3d8 <reinit_bus+0x2c8>
      3dc:	e9 43 ff ff ff       	jmp    324 <reinit_bus+0x214>
      3e1:	eb 0d                	jmp    3f0 <atapi_cam_reinit>
      3e3:	90                   	nop
      3e4:	90                   	nop
      3e5:	90                   	nop
      3e6:	90                   	nop
      3e7:	90                   	nop
      3e8:	90                   	nop
      3e9:	90                   	nop
      3ea:	90                   	nop
      3eb:	90                   	nop
      3ec:	90                   	nop
      3ed:	90                   	nop
      3ee:	90                   	nop
      3ef:	90                   	nop
 
 000003f0 <atapi_cam_reinit>:
      3f0:	55                   	push   %ebp
      3f1:	89 e5                	mov    %esp,%ebp
      3f3:	83 ec 04             	sub    $0x4,%esp
      3f6:	8b 45 08             	mov    0x8(%ebp),%eax
      3f9:	89 04 24             	mov    %eax,(%esp)
      3fc:	e8 fc ff ff ff       	call   3fd <atapi_cam_reinit+0xd>
      401:	85 c0                	test   %eax,%eax
      403:	74 0a                	je     40f <atapi_cam_reinit+0x1f>
      405:	ba 02 00 00 00       	mov    $0x2,%edx
      40a:	e8 01 fd ff ff       	call   110 <reinit_bus>
      40f:	c9                   	leave
      410:	31 c0                	xor    %eax,%eax
      412:	c3                   	ret
      413:	8d b6 00 00 00 00    	lea    0x0(%esi),%esi
      419:	8d bc 27 00 00 00 00 	lea    0x0(%edi),%edi
 
 00000420 <setup_async_cb>:
      420:	55                   	push   %ebp
      421:	89 e5                	mov    %esp,%ebp
      423:	81 ec 8c 00 00 00    	sub    $0x8c,%esp
      429:	89 75 f8             	mov    %esi,0xfffffff8(%ebp)
      42c:	89 c6                	mov    %eax,%esi
      42e:	b8 42 01 00 00       	mov    $0x142,%eax
      433:	89 44 24 0c          	mov    %eax,0xc(%esp)
      437:	b8 bc 00 00 00       	mov    $0xbc,%eax
      43c:	89 44 24 08          	mov    %eax,0x8(%esp)
      440:	31 c0                	xor    %eax,%eax
      442:	89 5d f4             	mov    %ebx,0xfffffff4(%ebp)
      445:	bb 05 00 00 00       	mov    $0x5,%ebx
      44a:	89 7d fc             	mov    %edi,0xfffffffc(%ebp)
      44d:	89 d7                	mov    %edx,%edi
      44f:	89 44 24 04          	mov    %eax,0x4(%esp)
      453:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)
      45a:	e8 fc ff ff ff       	call   45b <setup_async_cb+0x3b>
      45f:	89 5c 24 08          	mov    %ebx,0x8(%esp)
      463:	8b 86 20 02 00 00    	mov    0x220(%esi),%eax
      469:	8d 5d 84             	lea    0xffffff84(%ebp),%ebx
      46c:	89 1c 24             	mov    %ebx,(%esp)
      46f:	89 44 24 04          	mov    %eax,0x4(%esp)
      473:	e8 fc ff ff ff       	call   474 <setup_async_cb+0x54>
      478:	89 7d e4             	mov    %edi,0xffffffe4(%ebp)
      47b:	8b 86 24 02 00 00    	mov    0x224(%esi),%eax
      481:	89 1c 24             	mov    %ebx,(%esp)
      484:	c7 45 b0 06 00 00 00 	movl   $0x6,0xffffffb0(%ebp)
      48b:	89 45 ec             	mov    %eax,0xffffffec(%ebp)
      48e:	c7 45 e8 f0 16 00 00 	movl   $0x16f0,0xffffffe8(%ebp)
      495:	e8 fc ff ff ff       	call   496 <setup_async_cb+0x76>
      49a:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)
      4a1:	b9 49 01 00 00       	mov    $0x149,%ecx
      4a6:	ba bc 00 00 00       	mov    $0xbc,%edx
      4ab:	89 4c 24 0c          	mov    %ecx,0xc(%esp)
      4af:	31 c0                	xor    %eax,%eax
      4b1:	89 54 24 08          	mov    %edx,0x8(%esp)
      4b5:	89 44 24 04          	mov    %eax,0x4(%esp)
      4b9:	e8 fc ff ff ff       	call   4ba <setup_async_cb+0x9a>
      4be:	8b 5d f4             	mov    0xfffffff4(%ebp),%ebx
      4c1:	8b 75 f8             	mov    0xfffffff8(%ebp),%esi
      4c4:	8b 7d fc             	mov    0xfffffffc(%ebp),%edi
      4c7:	89 ec                	mov    %ebp,%esp
      4c9:	5d                   	pop    %ebp
      4ca:	c3                   	ret
      4cb:	90                   	nop
      4cc:	8d 74 26 00          	lea    0x0(%esi),%esi
 
 000004d0 <free_hcb>:
 }
 
 static struct atapi_hcb *
 allocate_hcb(struct atapi_xpt_softc *softc, int unit, int bus, union ccb *ccb)
 {
     struct atapi_hcb *hcb = (struct atapi_hcb *)
     malloc(sizeof(struct atapi_hcb), M_ATACAM, M_NOWAIT | M_ZERO);
 
     if (hcb != NULL) {
 	hcb->softc = softc;
 	hcb->unit = unit;
 	hcb->bus = bus;
 	hcb->ccb = ccb;
     }
     return hcb;
 }
 
 static void
 free_hcb(struct atapi_hcb *hcb)
 {
      4d0:	55                   	push   %ebp
      4d1:	89 e5                	mov    %esp,%ebp
      4d3:	53                   	push   %ebx
      4d4:	83 ec 08             	sub    $0x8,%esp
      4d7:	89 c3                	mov    %eax,%ebx
     if ((hcb->flags & QUEUED) != 0)
      4d9:	f6 40 18 01          	testb  $0x1,0x18(%eax)
      4dd:	74 21                	je     500 <free_hcb+0x30>
 	TAILQ_REMOVE(&hcb->softc->pending_hcbs, hcb, chain);
      4df:	8b 48 20             	mov    0x20(%eax),%ecx
      4e2:	85 c9                	test   %ecx,%ecx
      4e4:	75 3a                	jne    520 <free_hcb+0x50>
      4e6:	8b 53 24             	mov    0x24(%ebx),%edx
      4e9:	39 1a                	cmp    %ebx,(%edx)
      4eb:	0f 85 81 00 00 00    	jne    572 <free_hcb+0xa2>
      4f1:	85 c9                	test   %ecx,%ecx
      4f3:	74 6b                	je     560 <free_hcb+0x90>
      4f5:	89 51 24             	mov    %edx,0x24(%ecx)
      4f8:	8b 43 24             	mov    0x24(%ebx),%eax
      4fb:	89 08                	mov    %ecx,(%eax)
      4fd:	8d 76 00             	lea    0x0(%esi),%esi
     if (hcb->dxfer_alloc != NULL)
      500:	8b 43 1c             	mov    0x1c(%ebx),%eax
      503:	85 c0                	test   %eax,%eax
      505:	75 31                	jne    538 <free_hcb+0x68>
 	free(hcb->dxfer_alloc, M_ATACAM);
     free(hcb, M_ATACAM);
      507:	89 1c 24             	mov    %ebx,(%esp)
      50a:	b8 00 01 00 00       	mov    $0x100,%eax
      50f:	89 44 24 04          	mov    %eax,0x4(%esp)
      513:	e8 fc ff ff ff       	call   514 <free_hcb+0x44>
      518:	83 c4 08             	add    $0x8,%esp
      51b:	5b                   	pop    %ebx
      51c:	5d                   	pop    %ebp
      51d:	c3                   	ret
      51e:	89 f6                	mov    %esi,%esi
      520:	8d 40 20             	lea    0x20(%eax),%eax
      523:	39 41 24             	cmp    %eax,0x24(%ecx)
      526:	74 be                	je     4e6 <free_hcb+0x16>
      528:	89 5c 24 04          	mov    %ebx,0x4(%esp)
      52c:	c7 04 24 12 01 00 00 	movl   $0x112,(%esp)
      533:	e8 fc ff ff ff       	call   534 <free_hcb+0x64>
      538:	89 04 24             	mov    %eax,(%esp)
      53b:	ba 00 01 00 00       	mov    $0x100,%edx
      540:	89 54 24 04          	mov    %edx,0x4(%esp)
      544:	e8 fc ff ff ff       	call   545 <free_hcb+0x75>
      549:	89 1c 24             	mov    %ebx,(%esp)
      54c:	b8 00 01 00 00       	mov    $0x100,%eax
      551:	89 44 24 04          	mov    %eax,0x4(%esp)
      555:	e8 fc ff ff ff       	call   556 <free_hcb+0x86>
      55a:	83 c4 08             	add    $0x8,%esp
      55d:	5b                   	pop    %ebx
      55e:	5d                   	pop    %ebp
      55f:	c3                   	ret
      560:	8b 03                	mov    (%ebx),%eax
      562:	89 90 30 02 00 00    	mov    %edx,0x230(%eax)
      568:	8b 4b 20             	mov    0x20(%ebx),%ecx
      56b:	8b 43 24             	mov    0x24(%ebx),%eax
      56e:	89 08                	mov    %ecx,(%eax)
      570:	eb 8e                	jmp    500 <free_hcb+0x30>
      572:	89 5c 24 04          	mov    %ebx,0x4(%esp)
      576:	c7 04 24 34 01 00 00 	movl   $0x134,(%esp)
      57d:	e8 fc ff ff ff       	call   57e <free_hcb+0xae>
      582:	8d b4 26 00 00 00 00 	lea    0x0(%esi),%esi
      589:	8d bc 27 00 00 00 00 	lea    0x0(%edi),%edi
 
 00000590 <atapi_action>:
      590:	55                   	push   %ebp
      591:	89 e5                	mov    %esp,%ebp
      593:	81 ec 94 00 00 00    	sub    $0x94,%esp
      599:	89 75 f8             	mov    %esi,0xfffffff8(%ebp)
      59c:	8b 75 08             	mov    0x8(%ebp),%esi
      59f:	89 5d f4             	mov    %ebx,0xfffffff4(%ebp)
      5a2:	8b 5d 0c             	mov    0xc(%ebp),%ebx
      5a5:	89 7d fc             	mov    %edi,0xfffffffc(%ebp)
 
 static __inline u_int32_t
 cam_sim_unit(struct cam_sim *sim)
 {
 	return (sim->unit_number);
      5a8:	8b 46 14             	mov    0x14(%esi),%eax
      5ab:	8b 7e 0c             	mov    0xc(%esi),%edi
      5ae:	89 45 ac             	mov    %eax,0xffffffac(%ebp)
 }
 
 static __inline u_int32_t
 cam_sim_bus(struct cam_sim *sim)
 {
 	return (sim->bus_id);
      5b1:	8b 56 18             	mov    0x18(%esi),%edx
      5b4:	89 55 a8             	mov    %edx,0xffffffa8(%ebp)
      5b7:	8b 43 2c             	mov    0x2c(%ebx),%eax
      5ba:	83 f8 17             	cmp    $0x17,%eax
      5bd:	0f 84 b3 00 00 00    	je     676 <atapi_action+0xe6>
      5c3:	77 6b                	ja     630 <atapi_action+0xa0>
      5c5:	83 f8 15             	cmp    $0x15,%eax
      5c8:	0f 84 d2 02 00 00    	je     8a0 <atapi_action+0x310>
      5ce:	0f 87 32 01 00 00    	ja     706 <atapi_action+0x176>
      5d4:	83 f8 04             	cmp    $0x4,%eax
      5d7:	0f 84 57 05 00 00    	je     b34 <atapi_action+0x5a4>
      5dd:	f6 05 00 00 00 00 04 	testb  $0x4,0x0
      5e4:	8d 87 3c 02 00 00    	lea    0x23c(%edi),%eax
      5ea:	89 45 88             	mov    %eax,0xffffff88(%ebp)
      5ed:	74 11                	je     600 <atapi_action+0x70>
      5ef:	8b 15 00 00 00 00    	mov    0x0,%edx
      5f5:	85 d2                	test   %edx,%edx
      5f7:	0f 85 55 04 00 00    	jne    a52 <atapi_action+0x4c2>
      5fd:	8d 76 00             	lea    0x0(%esi),%esi
      600:	8b 45 88             	mov    0xffffff88(%ebp),%eax
      603:	31 c9                	xor    %ecx,%ecx
      605:	bf 81 02 00 00       	mov    $0x281,%edi
      60a:	89 7c 24 0c          	mov    %edi,0xc(%esp)
      60e:	be bc 00 00 00       	mov    $0xbc,%esi
      613:	89 74 24 08          	mov    %esi,0x8(%esp)
      617:	89 4c 24 04          	mov    %ecx,0x4(%esp)
      61b:	89 04 24             	mov    %eax,(%esp)
      61e:	e8 fc ff ff ff       	call   61f <atapi_action+0x8f>
      623:	c7 43 30 06 00 00 00 	movl   $0x6,0x30(%ebx)
      62a:	eb 64                	jmp    690 <atapi_action+0x100>
      62c:	8d 74 26 00          	lea    0x0(%esi),%esi
      630:	3d 01 09 00 00       	cmp    $0x901,%eax
      635:	0f 84 55 01 00 00    	je     790 <atapi_action+0x200>
      63b:	0f 87 ef 00 00 00    	ja     730 <atapi_action+0x1a0>
      641:	3d 11 04 00 00       	cmp    $0x411,%eax
      646:	75 95                	jne    5dd <atapi_action+0x4d>
      648:	f6 05 00 00 00 00 04 	testb  $0x4,0x0
      64f:	74 0e                	je     65f <atapi_action+0xcf>
      651:	8b 15 00 00 00 00    	mov    0x0,%edx
      657:	85 d2                	test   %edx,%edx
      659:	0f 85 81 07 00 00    	jne    de0 <atapi_action+0x850>
      65f:	8b 87 18 02 00 00    	mov    0x218(%edi),%eax
      665:	89 04 24             	mov    %eax,(%esp)
      668:	e8 fc ff ff ff       	call   669 <atapi_action+0xd9>
      66d:	c7 43 30 01 00 00 00 	movl   $0x1,0x30(%ebx)
      674:	eb 1a                	jmp    690 <atapi_action+0x100>
      676:	f6 05 00 00 00 00 04 	testb  $0x4,0x0
      67d:	75 26                	jne    6a5 <atapi_action+0x115>
      67f:	89 1c 24             	mov    %ebx,(%esp)
      682:	b8 01 00 00 00       	mov    $0x1,%eax
      687:	89 44 24 04          	mov    %eax,0x4(%esp)
      68b:	e8 fc ff ff ff       	call   68c <atapi_action+0xfc>
      690:	89 1c 24             	mov    %ebx,(%esp)
      693:	e8 fc ff ff ff       	call   694 <atapi_action+0x104>
      698:	8b 5d f4             	mov    0xfffffff4(%ebp),%ebx
      69b:	8b 75 f8             	mov    0xfffffff8(%ebp),%esi
      69e:	8b 7d fc             	mov    0xfffffffc(%ebp),%edi
      6a1:	89 ec                	mov    %ebp,%esp
      6a3:	5d                   	pop    %ebp
      6a4:	c3                   	ret
      6a5:	8b 15 00 00 00 00    	mov    0x0,%edx
      6ab:	85 d2                	test   %edx,%edx
      6ad:	74 d0                	je     67f <atapi_action+0xef>
      6af:	8b 43 34             	mov    0x34(%ebx),%eax
      6b2:	89 14 24             	mov    %edx,(%esp)
      6b5:	89 44 24 04          	mov    %eax,0x4(%esp)
      6b9:	e8 fc ff ff ff       	call   6ba <atapi_action+0x12a>
      6be:	85 c0                	test   %eax,%eax
      6c0:	78 bd                	js     67f <atapi_action+0xef>
      6c2:	8b 43 34             	mov    0x34(%ebx),%eax
      6c5:	89 44 24 04          	mov    %eax,0x4(%esp)
      6c9:	a1 00 00 00 00       	mov    0x0,%eax
      6ce:	89 04 24             	mov    %eax,(%esp)
      6d1:	e8 fc ff ff ff       	call   6d2 <atapi_action+0x142>
      6d6:	48                   	dec    %eax
      6d7:	7f a6                	jg     67f <atapi_action+0xef>
      6d9:	8b 43 34             	mov    0x34(%ebx),%eax
      6dc:	89 04 24             	mov    %eax,(%esp)
      6df:	e8 fc ff ff ff       	call   6e0 <atapi_action+0x150>
      6e4:	c7 04 24 56 01 00 00 	movl   $0x156,(%esp)
      6eb:	e8 fc ff ff ff       	call   6ec <atapi_action+0x15c>
      6f0:	a1 00 00 00 00       	mov    0x0,%eax
      6f5:	85 c0                	test   %eax,%eax
      6f7:	74 86                	je     67f <atapi_action+0xef>
      6f9:	89 04 24             	mov    %eax,(%esp)
      6fc:	e8 fc ff ff ff       	call   6fd <atapi_action+0x16d>
      701:	e9 79 ff ff ff       	jmp    67f <atapi_action+0xef>
      706:	f6 05 00 00 00 00 04 	testb  $0x4,0x0
      70d:	74 0e                	je     71d <atapi_action+0x18d>
      70f:	8b 15 00 00 00 00    	mov    0x0,%edx
      715:	85 d2                	test   %edx,%edx
      717:	0f 85 33 02 00 00    	jne    950 <atapi_action+0x3c0>
      71d:	c7 43 30 3a 00 00 00 	movl   $0x3a,0x30(%ebx)
      724:	e9 67 ff ff ff       	jmp    690 <atapi_action+0x100>
      729:	8d b4 26 00 00 00 00 	lea    0x0(%esi),%esi
      730:	3d 12 09 00 00       	cmp    $0x912,%eax
      735:	0f 85 a2 fe ff ff    	jne    5dd <atapi_action+0x4d>
      73b:	f6 05 00 00 00 00 04 	testb  $0x4,0x0
      742:	8b 73 3c             	mov    0x3c(%ebx),%esi
      745:	74 0e                	je     755 <atapi_action+0x1c5>
      747:	8b 15 00 00 00 00    	mov    0x0,%edx
      74d:	85 d2                	test   %edx,%edx
      74f:	0f 85 23 06 00 00    	jne    d78 <atapi_action+0x7e8>
      755:	31 c0                	xor    %eax,%eax
      757:	31 c9                	xor    %ecx,%ecx
      759:	31 d2                	xor    %edx,%edx
      75b:	89 44 24 14          	mov    %eax,0x14(%esp)
      75f:	31 c0                	xor    %eax,%eax
      761:	89 44 24 08          	mov    %eax,0x8(%esp)
      765:	b8 08 00 00 00       	mov    $0x8,%eax
      76a:	89 4c 24 0c          	mov    %ecx,0xc(%esp)
      76e:	89 54 24 10          	mov    %edx,0x10(%esp)
      772:	89 44 24 04          	mov    %eax,0x4(%esp)
      776:	8b 84 b7 34 02 00 00 	mov    0x234(%edi,%esi,4),%eax
      77d:	8b 00                	mov    (%eax),%eax
      77f:	89 04 24             	mov    %eax,(%esp)
      782:	e8 fc ff ff ff       	call   783 <atapi_action+0x1f3>
      787:	e9 e1 fe ff ff       	jmp    66d <atapi_action+0xdd>
      78c:	8d 74 26 00          	lea    0x0(%esi),%esi
      790:	f6 05 00 00 00 00 04 	testb  $0x4,0x0
      797:	8b 53 3c             	mov    0x3c(%ebx),%edx
      79a:	89 55 98             	mov    %edx,0xffffff98(%ebp)
      79d:	8b 43 40             	mov    0x40(%ebx),%eax
      7a0:	c7 45 90 28 00 00 00 	movl   $0x28,0xffffff90(%ebp)
      7a7:	89 45 94             	mov    %eax,0xffffff94(%ebp)
      7aa:	74 0e                	je     7ba <atapi_action+0x22a>
      7ac:	8b 15 00 00 00 00    	mov    0x0,%edx
      7b2:	85 d2                	test   %edx,%edx
      7b4:	0f 85 f9 01 00 00    	jne    9b3 <atapi_action+0x423>
      7ba:	b8 d6 01 00 00       	mov    $0x1d6,%eax
      7bf:	8d 97 3c 02 00 00    	lea    0x23c(%edi),%edx
      7c5:	89 44 24 0c          	mov    %eax,0xc(%esp)
      7c9:	b8 bc 00 00 00       	mov    $0xbc,%eax
      7ce:	89 44 24 08          	mov    %eax,0x8(%esp)
      7d2:	31 c0                	xor    %eax,%eax
      7d4:	89 44 24 04          	mov    %eax,0x4(%esp)
      7d8:	89 55 88             	mov    %edx,0xffffff88(%ebp)
      7db:	89 14 24             	mov    %edx,(%esp)
      7de:	e8 fc ff ff ff       	call   7df <atapi_action+0x24f>
      7e3:	f6 87 28 02 00 00 04 	testb  $0x4,0x228(%edi)
      7ea:	0f 85 f0 02 00 00    	jne    ae0 <atapi_action+0x550>
      7f0:	8b 45 98             	mov    0xffffff98(%ebp),%eax
      7f3:	8b 94 87 34 02 00 00 	mov    0x234(%edi,%eax,4),%edx
      7fa:	85 d2                	test   %edx,%edx
      7fc:	0f 84 fb 02 00 00    	je     afd <atapi_action+0x56d>
      802:	f6 43 30 3f          	testb  $0x3f,0x30(%ebx)
      806:	0f 85 0a 02 00 00    	jne    a16 <atapi_action+0x486>
      80c:	8b 45 94             	mov    0xffffff94(%ebp),%eax
      80f:	85 c0                	test   %eax,%eax
      811:	0f 8e 0e 05 00 00    	jle    d25 <atapi_action+0x795>
      817:	f6 05 00 00 00 00 04 	testb  $0x4,0x0
      81e:	0f 84 dc fd ff ff    	je     600 <atapi_action+0x70>
      824:	8b 15 00 00 00 00    	mov    0x0,%edx
      82a:	85 d2                	test   %edx,%edx
      82c:	0f 84 ce fd ff ff    	je     600 <atapi_action+0x70>
      832:	8b 43 34             	mov    0x34(%ebx),%eax
      835:	89 14 24             	mov    %edx,(%esp)
      838:	89 44 24 04          	mov    %eax,0x4(%esp)
      83c:	e8 fc ff ff ff       	call   83d <atapi_action+0x2ad>
      841:	85 c0                	test   %eax,%eax
      843:	0f 88 b7 fd ff ff    	js     600 <atapi_action+0x70>
      849:	8b 43 34             	mov    0x34(%ebx),%eax
      84c:	89 44 24 04          	mov    %eax,0x4(%esp)
      850:	a1 00 00 00 00       	mov    0x0,%eax
      855:	89 04 24             	mov    %eax,(%esp)
      858:	e8 fc ff ff ff       	call   859 <atapi_action+0x2c9>
      85d:	48                   	dec    %eax
      85e:	0f 8f 9c fd ff ff    	jg     600 <atapi_action+0x70>
      864:	8b 43 34             	mov    0x34(%ebx),%eax
      867:	89 04 24             	mov    %eax,(%esp)
      86a:	e8 fc ff ff ff       	call   86b <atapi_action+0x2db>
      86f:	c7 04 24 65 01 00 00 	movl   $0x165,(%esp)
      876:	8b 55 94             	mov    0xffffff94(%ebp),%edx
      879:	89 54 24 04          	mov    %edx,0x4(%esp)
      87d:	e8 fc ff ff ff       	call   87e <atapi_action+0x2ee>
      882:	a1 00 00 00 00       	mov    0x0,%eax
      887:	85 c0                	test   %eax,%eax
      889:	0f 84 71 fd ff ff    	je     600 <atapi_action+0x70>
      88f:	89 04 24             	mov    %eax,(%esp)
      892:	e8 fc ff ff ff       	call   893 <atapi_action+0x303>
      897:	e9 64 fd ff ff       	jmp    600 <atapi_action+0x70>
      89c:	8d 74 26 00          	lea    0x0(%esi),%esi
      8a0:	c7 43 64 02 00 00 00 	movl   $0x2,0x64(%ebx)
      8a7:	c7 43 68 02 00 00 00 	movl   $0x2,0x68(%ebx)
      8ae:	c7 43 6c 07 00 00 00 	movl   $0x7,0x6c(%ebx)
      8b5:	c7 43 70 ff ff ff ff 	movl   $0xffffffff,0x70(%ebx)
      8bc:	c7 43 74 00 00 00 00 	movl   $0x0,0x74(%ebx)
      8c3:	c7 43 7c 00 00 00 00 	movl   $0x0,0x7c(%ebx)
      8ca:	c7 43 30 01 00 00 00 	movl   $0x1,0x30(%ebx)
      8d1:	f6 05 00 00 00 00 04 	testb  $0x4,0x0
      8d8:	0f 84 b2 fd ff ff    	je     690 <atapi_action+0x100>
      8de:	8b 15 00 00 00 00    	mov    0x0,%edx
      8e4:	85 d2                	test   %edx,%edx
      8e6:	0f 84 a4 fd ff ff    	je     690 <atapi_action+0x100>
      8ec:	8b 43 34             	mov    0x34(%ebx),%eax
      8ef:	89 14 24             	mov    %edx,(%esp)
      8f2:	89 44 24 04          	mov    %eax,0x4(%esp)
      8f6:	e8 fc ff ff ff       	call   8f7 <atapi_action+0x367>
      8fb:	85 c0                	test   %eax,%eax
      8fd:	0f 88 8d fd ff ff    	js     690 <atapi_action+0x100>
      903:	8b 43 34             	mov    0x34(%ebx),%eax
      906:	89 44 24 04          	mov    %eax,0x4(%esp)
      90a:	a1 00 00 00 00       	mov    0x0,%eax
      90f:	89 04 24             	mov    %eax,(%esp)
      912:	e8 fc ff ff ff       	call   913 <atapi_action+0x383>
      917:	48                   	dec    %eax
      918:	0f 8f 72 fd ff ff    	jg     690 <atapi_action+0x100>
      91e:	8b 43 34             	mov    0x34(%ebx),%eax
      921:	89 04 24             	mov    %eax,(%esp)
      924:	e8 fc ff ff ff       	call   925 <atapi_action+0x395>
      929:	c7 04 24 8a 01 00 00 	movl   $0x18a,(%esp)
      930:	e8 fc ff ff ff       	call   931 <atapi_action+0x3a1>
      935:	a1 00 00 00 00       	mov    0x0,%eax
      93a:	85 c0                	test   %eax,%eax
      93c:	0f 84 4e fd ff ff    	je     690 <atapi_action+0x100>
      942:	89 04 24             	mov    %eax,(%esp)
      945:	e8 fc ff ff ff       	call   946 <atapi_action+0x3b6>
      94a:	e9 41 fd ff ff       	jmp    690 <atapi_action+0x100>
      94f:	90                   	nop
      950:	8b 43 34             	mov    0x34(%ebx),%eax
      953:	89 14 24             	mov    %edx,(%esp)
      956:	89 44 24 04          	mov    %eax,0x4(%esp)
      95a:	e8 fc ff ff ff       	call   95b <atapi_action+0x3cb>
      95f:	85 c0                	test   %eax,%eax
      961:	0f 88 b6 fd ff ff    	js     71d <atapi_action+0x18d>
      967:	8b 43 34             	mov    0x34(%ebx),%eax
      96a:	89 44 24 04          	mov    %eax,0x4(%esp)
      96e:	a1 00 00 00 00       	mov    0x0,%eax
      973:	89 04 24             	mov    %eax,(%esp)
      976:	e8 fc ff ff ff       	call   977 <atapi_action+0x3e7>
      97b:	48                   	dec    %eax
      97c:	0f 8f 9b fd ff ff    	jg     71d <atapi_action+0x18d>
      982:	8b 43 34             	mov    0x34(%ebx),%eax
      985:	89 04 24             	mov    %eax,(%esp)
      988:	e8 fc ff ff ff       	call   989 <atapi_action+0x3f9>
      98d:	c7 04 24 9d 01 00 00 	movl   $0x19d,(%esp)
      994:	e8 fc ff ff ff       	call   995 <atapi_action+0x405>
      999:	a1 00 00 00 00       	mov    0x0,%eax
      99e:	85 c0                	test   %eax,%eax
      9a0:	0f 84 77 fd ff ff    	je     71d <atapi_action+0x18d>
      9a6:	89 04 24             	mov    %eax,(%esp)
      9a9:	e8 fc ff ff ff       	call   9aa <atapi_action+0x41a>
      9ae:	e9 6a fd ff ff       	jmp    71d <atapi_action+0x18d>
      9b3:	8b 43 34             	mov    0x34(%ebx),%eax
      9b6:	89 14 24             	mov    %edx,(%esp)
      9b9:	89 44 24 04          	mov    %eax,0x4(%esp)
      9bd:	e8 fc ff ff ff       	call   9be <atapi_action+0x42e>
      9c2:	85 c0                	test   %eax,%eax
      9c4:	0f 88 f0 fd ff ff    	js     7ba <atapi_action+0x22a>
      9ca:	8b 43 34             	mov    0x34(%ebx),%eax
      9cd:	89 44 24 04          	mov    %eax,0x4(%esp)
      9d1:	a1 00 00 00 00       	mov    0x0,%eax
      9d6:	89 04 24             	mov    %eax,(%esp)
      9d9:	e8 fc ff ff ff       	call   9da <atapi_action+0x44a>
      9de:	48                   	dec    %eax
      9df:	0f 8f d5 fd ff ff    	jg     7ba <atapi_action+0x22a>
      9e5:	8b 43 34             	mov    0x34(%ebx),%eax
      9e8:	89 04 24             	mov    %eax,(%esp)
      9eb:	e8 fc ff ff ff       	call   9ec <atapi_action+0x45c>
      9f0:	c7 04 24 be 01 00 00 	movl   $0x1be,(%esp)
      9f7:	e8 fc ff ff ff       	call   9f8 <atapi_action+0x468>
      9fc:	a1 00 00 00 00       	mov    0x0,%eax
      a01:	85 c0                	test   %eax,%eax
      a03:	0f 84 b1 fd ff ff    	je     7ba <atapi_action+0x22a>
      a09:	89 04 24             	mov    %eax,(%esp)
      a0c:	e8 fc ff ff ff       	call   a0d <atapi_action+0x47d>
      a11:	e9 a4 fd ff ff       	jmp    7ba <atapi_action+0x22a>
      a16:	c7 04 24 cb 01 00 00 	movl   $0x1cb,(%esp)
      a1d:	e8 fc ff ff ff       	call   a1e <atapi_action+0x48e>
      a22:	89 1c 24             	mov    %ebx,(%esp)
      a25:	e8 fc ff ff ff       	call   a26 <atapi_action+0x496>
      a2a:	b8 e9 01 00 00       	mov    $0x1e9,%eax
      a2f:	89 44 24 0c          	mov    %eax,0xc(%esp)
      a33:	b8 bc 00 00 00       	mov    $0xbc,%eax
      a38:	89 44 24 08          	mov    %eax,0x8(%esp)
      a3c:	31 c0                	xor    %eax,%eax
      a3e:	89 44 24 04          	mov    %eax,0x4(%esp)
      a42:	8b 45 88             	mov    0xffffff88(%ebp),%eax
      a45:	89 04 24             	mov    %eax,(%esp)
      a48:	e8 fc ff ff ff       	call   a49 <atapi_action+0x4b9>
      a4d:	e9 46 fc ff ff       	jmp    698 <atapi_action+0x108>
      a52:	8b 43 34             	mov    0x34(%ebx),%eax
      a55:	89 14 24             	mov    %edx,(%esp)
      a58:	89 44 24 04          	mov    %eax,0x4(%esp)
      a5c:	e8 fc ff ff ff       	call   a5d <atapi_action+0x4cd>
      a61:	85 c0                	test   %eax,%eax
      a63:	8d 97 3c 02 00 00    	lea    0x23c(%edi),%edx
      a69:	89 55 88             	mov    %edx,0xffffff88(%ebp)
      a6c:	0f 88 8e fb ff ff    	js     600 <atapi_action+0x70>
      a72:	8b 43 34             	mov    0x34(%ebx),%eax
      a75:	89 44 24 04          	mov    %eax,0x4(%esp)
      a79:	a1 00 00 00 00       	mov    0x0,%eax
      a7e:	89 04 24             	mov    %eax,(%esp)
      a81:	e8 fc ff ff ff       	call   a82 <atapi_action+0x4f2>
      a86:	48                   	dec    %eax
      a87:	8d 97 3c 02 00 00    	lea    0x23c(%edi),%edx
      a8d:	89 55 88             	mov    %edx,0xffffff88(%ebp)
      a90:	0f 8f 6a fb ff ff    	jg     600 <atapi_action+0x70>
      a96:	8b 43 34             	mov    0x34(%ebx),%eax
      a99:	89 04 24             	mov    %eax,(%esp)
      a9c:	e8 fc ff ff ff       	call   a9d <atapi_action+0x50d>
      aa1:	8b 43 2c             	mov    0x2c(%ebx),%eax
      aa4:	c7 04 24 fa 01 00 00 	movl   $0x1fa,(%esp)
      aab:	89 44 24 04          	mov    %eax,0x4(%esp)
      aaf:	e8 fc ff ff ff       	call   ab0 <atapi_action+0x520>
      ab4:	a1 00 00 00 00       	mov    0x0,%eax
      ab9:	8d 97 3c 02 00 00    	lea    0x23c(%edi),%edx
      abf:	89 55 88             	mov    %edx,0xffffff88(%ebp)
      ac2:	85 c0                	test   %eax,%eax
      ac4:	0f 84 36 fb ff ff    	je     600 <atapi_action+0x70>
      aca:	89 04 24             	mov    %eax,(%esp)
      acd:	81 c7 3c 02 00 00    	add    $0x23c,%edi
      ad3:	e8 fc ff ff ff       	call   ad4 <atapi_action+0x544>
      ad8:	89 7d 88             	mov    %edi,0xffffff88(%ebp)
      adb:	e9 20 fb ff ff       	jmp    600 <atapi_action+0x70>
      ae0:	c7 43 30 02 00 00 00 	movl   $0x2,0x30(%ebx)
      ae7:	89 1c 24             	mov    %ebx,(%esp)
      aea:	e8 fc ff ff ff       	call   aeb <atapi_action+0x55b>
      aef:	b9 da 01 00 00       	mov    $0x1da,%ecx
      af4:	89 4c 24 0c          	mov    %ecx,0xc(%esp)
      af8:	e9 36 ff ff ff       	jmp    a33 <atapi_action+0x4a3>
      afd:	c7 43 30 08 00 00 00 	movl   $0x8,0x30(%ebx)
      b04:	89 1c 24             	mov    %ebx,(%esp)
      b07:	e8 fc ff ff ff       	call   b08 <atapi_action+0x578>
      b0c:	ba e1 01 00 00       	mov    $0x1e1,%edx
      b11:	89 54 24 0c          	mov    %edx,0xc(%esp)
      b15:	8b 55 88             	mov    0xffffff88(%ebp),%edx
      b18:	b8 bc 00 00 00       	mov    $0xbc,%eax
      b1d:	89 44 24 08          	mov    %eax,0x8(%esp)
      b21:	31 c0                	xor    %eax,%eax
      b23:	89 44 24 04          	mov    %eax,0x4(%esp)
      b27:	89 14 24             	mov    %edx,(%esp)
      b2a:	e8 fc ff ff ff       	call   b2b <atapi_action+0x59b>
      b2f:	e9 64 fb ff ff       	jmp    698 <atapi_action+0x108>
      b34:	8b 43 3c             	mov    0x3c(%ebx),%eax
      b37:	89 45 9c             	mov    %eax,0xffffff9c(%ebp)
      b3a:	b8 0e 00 00 00       	mov    $0xe,%eax
      b3f:	c6 43 60 01          	movb   $0x1,0x60(%ebx)
      b43:	c6 43 61 00          	movb   $0x0,0x61(%ebx)
      b47:	c6 43 62 00          	movb   $0x0,0x62(%ebx)
      b4b:	c6 43 63 08          	movb   $0x8,0x63(%ebx)
      b4f:	66 c7 43 64 00 00    	movw   $0x0,0x64(%ebx)
      b55:	89 44 24 04          	mov    %eax,0x4(%esp)
      b59:	8d 43 66             	lea    0x66(%ebx),%eax
      b5c:	89 04 24             	mov    %eax,(%esp)
      b5f:	e8 fc ff ff ff       	call   b60 <atapi_action+0x5d0>
      b64:	c7 43 74 01 00 00 00 	movl   $0x1,0x74(%ebx)
      b6b:	31 c0                	xor    %eax,%eax
      b6d:	89 83 80 00 00 00    	mov    %eax,0x80(%ebx)
      b73:	b8 07 00 00 00       	mov    $0x7,%eax
      b78:	89 83 84 00 00 00    	mov    %eax,0x84(%ebx)
      b7e:	b8 10 00 00 00       	mov    $0x10,%eax
      b83:	c7 43 78 00 00 00 00 	movl   $0x0,0x78(%ebx)
      b8a:	c7 43 7c 00 00 00 00 	movl   $0x0,0x7c(%ebx)
      b91:	89 44 24 08          	mov    %eax,0x8(%esp)
      b95:	b8 1c 02 00 00       	mov    $0x21c,%eax
      b9a:	89 44 24 04          	mov    %eax,0x4(%esp)
      b9e:	8d 83 88 00 00 00    	lea    0x88(%ebx),%eax
      ba4:	89 04 24             	mov    %eax,(%esp)
      ba7:	e8 fc ff ff ff       	call   ba8 <atapi_action+0x618>
      bac:	b8 10 00 00 00       	mov    $0x10,%eax
      bb1:	b9 24 02 00 00       	mov    $0x224,%ecx
      bb6:	89 44 24 08          	mov    %eax,0x8(%esp)
      bba:	8d 83 98 00 00 00    	lea    0x98(%ebx),%eax
      bc0:	89 4c 24 04          	mov    %ecx,0x4(%esp)
      bc4:	89 04 24             	mov    %eax,(%esp)
      bc7:	e8 fc ff ff ff       	call   bc8 <atapi_action+0x638>
 
 static __inline const char *
 cam_sim_name(struct cam_sim *sim)
 {
 	return (sim->sim_name);
      bcc:	8b 46 08             	mov    0x8(%esi),%eax
      bcf:	ba 10 00 00 00       	mov    $0x10,%edx
      bd4:	89 54 24 08          	mov    %edx,0x8(%esp)
      bd8:	89 44 24 04          	mov    %eax,0x4(%esp)
      bdc:	8d 83 a8 00 00 00    	lea    0xa8(%ebx),%eax
      be2:	89 04 24             	mov    %eax,(%esp)
      be5:	e8 fc ff ff ff       	call   be6 <atapi_action+0x656>
 }
 
 static __inline void *
 cam_sim_softc(struct cam_sim *sim)
 {
 	return (sim->softc);
 }
 
 static __inline u_int32_t
 cam_sim_unit(struct cam_sim *sim)
 {
 	return (sim->unit_number);
      bea:	8b 46 14             	mov    0x14(%esi),%eax
      bed:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)
 }
 
 static __inline u_int32_t
 cam_sim_bus(struct cam_sim *sim)
 {
 	return (sim->bus_id);
      bf3:	8b 46 18             	mov    0x18(%esi),%eax
      bf6:	be 02 00 00 00       	mov    $0x2,%esi
      bfb:	89 b3 c8 00 00 00    	mov    %esi,0xc8(%ebx)
 }
 
 static __inline u_int32_t
 cam_sim_bus(struct cam_sim *sim)
 {
      c01:	89 83 bc 00 00 00    	mov    %eax,0xbc(%ebx)
      c07:	b8 e4 0c 00 00       	mov    $0xce4,%eax
      c0c:	89 83 c0 00 00 00    	mov    %eax,0xc0(%ebx)
      c12:	b8 07 00 00 00       	mov    $0x7,%eax
      c17:	89 83 cc 00 00 00    	mov    %eax,0xcc(%ebx)
      c1d:	b8 02 00 00 00       	mov    $0x2,%eax
      c22:	89 83 d0 00 00 00    	mov    %eax,0xd0(%ebx)
      c28:	b8 02 00 00 00       	mov    $0x2,%eax
      c2d:	89 83 c4 00 00 00    	mov    %eax,0xc4(%ebx)
      c33:	8b 8f 1c 02 00 00    	mov    0x21c(%edi),%ecx
      c39:	85 c9                	test   %ecx,%ecx
      c3b:	0f 95 c2             	setne  %dl
      c3e:	31 c0                	xor    %eax,%eax
      c40:	83 7d 9c ff          	cmpl   $0xffffffff,0xffffff9c(%ebp)
      c44:	0f 95 c0             	setne  %al
      c47:	85 c2                	test   %eax,%edx
      c49:	0f 84 1e fa ff ff    	je     66d <atapi_action+0xdd>
      c4f:	ba 74 01 00 00       	mov    $0x174,%edx
      c54:	b8 bc 00 00 00       	mov    $0xbc,%eax
      c59:	89 54 24 0c          	mov    %edx,0xc(%esp)
      c5d:	8d 97 3c 02 00 00    	lea    0x23c(%edi),%edx
      c63:	89 44 24 08          	mov    %eax,0x8(%esp)
      c67:	31 c0                	xor    %eax,%eax
      c69:	89 44 24 04          	mov    %eax,0x4(%esp)
      c6d:	89 55 88             	mov    %edx,0xffffff88(%ebp)
      c70:	89 14 24             	mov    %edx,(%esp)
      c73:	e8 fc ff ff ff       	call   c74 <atapi_action+0x6e4>
      c78:	8b 45 9c             	mov    0xffffff9c(%ebp),%eax
      c7b:	8b 84 87 34 02 00 00 	mov    0x234(%edi,%eax,4),%eax
      c82:	85 c0                	test   %eax,%eax
      c84:	0f 84 26 02 00 00    	je     eb0 <atapi_action+0x920>
      c8a:	8b 43 3c             	mov    0x3c(%ebx),%eax
      c8d:	8b 84 87 34 02 00 00 	mov    0x234(%edi,%eax,4),%eax
      c94:	8b 80 08 02 00 00    	mov    0x208(%eax),%eax
      c9a:	83 e8 09             	sub    $0x9,%eax
      c9d:	83 f8 3d             	cmp    $0x3d,%eax
      ca0:	77 12                	ja     cb4 <atapi_action+0x724>
      ca2:	ff 24 85 00 00 00 00 	jmp    *0x0(,%eax,4)
      ca9:	b8 88 07 02 00       	mov    $0x20788,%eax
      cae:	89 83 c0 00 00 00    	mov    %eax,0xc0(%ebx)
      cb4:	b8 99 01 00 00       	mov    $0x199,%eax
      cb9:	89 44 24 0c          	mov    %eax,0xc(%esp)
      cbd:	b8 bc 00 00 00       	mov    $0xbc,%eax
      cc2:	89 44 24 08          	mov    %eax,0x8(%esp)
      cc6:	31 c0                	xor    %eax,%eax
      cc8:	89 44 24 04          	mov    %eax,0x4(%esp)
      ccc:	8b 45 88             	mov    0xffffff88(%ebp),%eax
      ccf:	89 04 24             	mov    %eax,(%esp)
      cd2:	e8 fc ff ff ff       	call   cd3 <atapi_action+0x743>
      cd7:	e9 91 f9 ff ff       	jmp    66d <atapi_action+0xdd>
      cdc:	b8 a0 86 01 00       	mov    $0x186a0,%eax
      ce1:	eb cb                	jmp    cae <atapi_action+0x71e>
      ce3:	ba d0 01 01 00       	mov    $0x101d0,%edx
      ce8:	89 93 c0 00 00 00    	mov    %edx,0xc0(%ebx)
      cee:	eb c4                	jmp    cb4 <atapi_action+0x724>
      cf0:	b9 e8 80 00 00       	mov    $0x80e8,%ecx
      cf5:	89 8b c0 00 00 00    	mov    %ecx,0xc0(%ebx)
      cfb:	eb b7                	jmp    cb4 <atapi_action+0x724>
      cfd:	be 80 3e 00 00       	mov    $0x3e80,%esi
      d02:	89 b3 c0 00 00 00    	mov    %esi,0xc0(%ebx)
      d08:	eb aa                	jmp    cb4 <atapi_action+0x724>
      d0a:	bf f8 2a 00 00       	mov    $0x2af8,%edi
      d0f:	89 bb c0 00 00 00    	mov    %edi,0xc0(%ebx)
      d15:	eb 9d                	jmp    cb4 <atapi_action+0x724>
      d17:	b8 58 1b 00 00       	mov    $0x1b58,%eax
      d1c:	eb 90                	jmp    cae <atapi_action+0x71e>
      d1e:	b8 50 14 00 00       	mov    $0x1450,%eax
      d23:	eb 89                	jmp    cae <atapi_action+0x71e>
      d25:	80 bb 91 00 00 00 10 	cmpb   $0x10,0x91(%ebx)
      d2c:	0f 87 11 01 00 00    	ja     e43 <atapi_action+0x8b3>
      d32:	8b 43 44             	mov    0x44(%ebx),%eax
      d35:	a8 10                	test   $0x10,%al
      d37:	0f 85 78 03 00 00    	jne    10b5 <atapi_action+0xb25>
      d3d:	25 c0 00 00 00       	and    $0xc0,%eax
      d42:	3d 80 00 00 00       	cmp    $0x80,%eax
      d47:	0f 84 5c 03 00 00    	je     10a9 <atapi_action+0xb19>
      d4d:	0f 87 7a 01 00 00    	ja     ecd <atapi_action+0x93d>
      d53:	83 f8 40             	cmp    $0x40,%eax
      d56:	0f 84 d4 04 00 00    	je     1230 <atapi_action+0xca0>
      d5c:	be 2a 02 00 00       	mov    $0x22a,%esi
      d61:	89 74 24 04          	mov    %esi,0x4(%esp)
      d65:	8b 87 14 02 00 00    	mov    0x214(%edi),%eax
      d6b:	89 04 24             	mov    %eax,(%esp)
      d6e:	e8 fc ff ff ff       	call   d6f <atapi_action+0x7df>
      d73:	e9 88 f8 ff ff       	jmp    600 <atapi_action+0x70>
      d78:	8b 43 34             	mov    0x34(%ebx),%eax
      d7b:	89 14 24             	mov    %edx,(%esp)
      d7e:	89 44 24 04          	mov    %eax,0x4(%esp)
      d82:	e8 fc ff ff ff       	call   d83 <atapi_action+0x7f3>
      d87:	85 c0                	test   %eax,%eax
      d89:	0f 88 c6 f9 ff ff    	js     755 <atapi_action+0x1c5>
      d8f:	8b 43 34             	mov    0x34(%ebx),%eax
      d92:	89 44 24 04          	mov    %eax,0x4(%esp)
      d96:	a1 00 00 00 00       	mov    0x0,%eax
      d9b:	89 04 24             	mov    %eax,(%esp)
      d9e:	e8 fc ff ff ff       	call   d9f <atapi_action+0x80f>
      da3:	48                   	dec    %eax
      da4:	0f 8f ab f9 ff ff    	jg     755 <atapi_action+0x1c5>
      daa:	8b 43 34             	mov    0x34(%ebx),%eax
      dad:	89 04 24             	mov    %eax,(%esp)
      db0:	e8 fc ff ff ff       	call   db1 <atapi_action+0x821>
      db5:	c7 04 24 40 02 00 00 	movl   $0x240,(%esp)
      dbc:	e8 fc ff ff ff       	call   dbd <atapi_action+0x82d>
      dc1:	a1 00 00 00 00       	mov    0x0,%eax
      dc6:	85 c0                	test   %eax,%eax
      dc8:	0f 84 87 f9 ff ff    	je     755 <atapi_action+0x1c5>
      dce:	89 04 24             	mov    %eax,(%esp)
      dd1:	e8 fc ff ff ff       	call   dd2 <atapi_action+0x842>
      dd6:	e9 7a f9 ff ff       	jmp    755 <atapi_action+0x1c5>
      ddb:	90                   	nop
      ddc:	8d 74 26 00          	lea    0x0(%esi),%esi
      de0:	8b 43 34             	mov    0x34(%ebx),%eax
      de3:	89 14 24             	mov    %edx,(%esp)
      de6:	89 44 24 04          	mov    %eax,0x4(%esp)
      dea:	e8 fc ff ff ff       	call   deb <atapi_action+0x85b>
      def:	85 c0                	test   %eax,%eax
      df1:	0f 88 68 f8 ff ff    	js     65f <atapi_action+0xcf>
      df7:	8b 43 34             	mov    0x34(%ebx),%eax
      dfa:	89 44 24 04          	mov    %eax,0x4(%esp)
      dfe:	a1 00 00 00 00       	mov    0x0,%eax
      e03:	89 04 24             	mov    %eax,(%esp)
      e06:	e8 fc ff ff ff       	call   e07 <atapi_action+0x877>
      e0b:	48                   	dec    %eax
      e0c:	0f 8f 4d f8 ff ff    	jg     65f <atapi_action+0xcf>
      e12:	8b 43 34             	mov    0x34(%ebx),%eax
      e15:	89 04 24             	mov    %eax,(%esp)
      e18:	e8 fc ff ff ff       	call   e19 <atapi_action+0x889>
      e1d:	c7 04 24 4b 02 00 00 	movl   $0x24b,(%esp)
      e24:	e8 fc ff ff ff       	call   e25 <atapi_action+0x895>
      e29:	a1 00 00 00 00       	mov    0x0,%eax
      e2e:	85 c0                	test   %eax,%eax
      e30:	0f 84 29 f8 ff ff    	je     65f <atapi_action+0xcf>
      e36:	89 04 24             	mov    %eax,(%esp)
      e39:	e8 fc ff ff ff       	call   e3a <atapi_action+0x8aa>
      e3e:	e9 1c f8 ff ff       	jmp    65f <atapi_action+0xcf>
      e43:	f6 05 00 00 00 00 04 	testb  $0x4,0x0
      e4a:	0f 84 b0 f7 ff ff    	je     600 <atapi_action+0x70>
      e50:	8b 15 00 00 00 00    	mov    0x0,%edx
      e56:	85 d2                	test   %edx,%edx
      e58:	0f 84 a2 f7 ff ff    	je     600 <atapi_action+0x70>
      e5e:	8b 43 34             	mov    0x34(%ebx),%eax
      e61:	89 14 24             	mov    %edx,(%esp)
      e64:	89 44 24 04          	mov    %eax,0x4(%esp)
      e68:	e8 fc ff ff ff       	call   e69 <atapi_action+0x8d9>
      e6d:	85 c0                	test   %eax,%eax
      e6f:	0f 88 8b f7 ff ff    	js     600 <atapi_action+0x70>
      e75:	8b 43 34             	mov    0x34(%ebx),%eax
      e78:	89 44 24 04          	mov    %eax,0x4(%esp)
      e7c:	a1 00 00 00 00       	mov    0x0,%eax
      e81:	89 04 24             	mov    %eax,(%esp)
      e84:	e8 fc ff ff ff       	call   e85 <atapi_action+0x8f5>
      e89:	48                   	dec    %eax
      e8a:	0f 8f 70 f7 ff ff    	jg     600 <atapi_action+0x70>
      e90:	8b 43 34             	mov    0x34(%ebx),%eax
      e93:	89 04 24             	mov    %eax,(%esp)
      e96:	e8 fc ff ff ff       	call   e97 <atapi_action+0x907>
      e9b:	c7 04 24 56 02 00 00 	movl   $0x256,(%esp)
      ea2:	e8 fc ff ff ff       	call   ea3 <atapi_action+0x913>
      ea7:	e9 d6 f9 ff ff       	jmp    882 <atapi_action+0x2f2>
      eac:	8d 74 26 00          	lea    0x0(%esi),%esi
      eb0:	c7 43 30 08 00 00 00 	movl   $0x8,0x30(%ebx)
      eb7:	89 1c 24             	mov    %ebx,(%esp)
      eba:	e8 fc ff ff ff       	call   ebb <atapi_action+0x92b>
      ebf:	b8 78 01 00 00       	mov    $0x178,%eax
      ec4:	89 44 24 0c          	mov    %eax,0xc(%esp)
      ec8:	e9 48 fc ff ff       	jmp    b15 <atapi_action+0x585>
      ecd:	3d c0 00 00 00       	cmp    $0xc0,%eax
      ed2:	0f 85 84 fe ff ff    	jne    d5c <atapi_action+0x7cc>
      ed8:	8b 45 90             	mov    0xffffff90(%ebp),%eax
      edb:	b9 01 01 00 00       	mov    $0x101,%ecx
      ee0:	83 e0 ef             	and    $0xffffffef,%eax
      ee3:	83 ba 08 02 00 00 0f 	cmpl   $0xf,0x208(%edx)
      eea:	ba 00 01 00 00       	mov    $0x100,%edx
      eef:	89 4c 24 08          	mov    %ecx,0x8(%esp)
      ef3:	0f 4f 45 90          	cmovg  0xffffff90(%ebp),%eax
      ef7:	89 54 24 04          	mov    %edx,0x4(%esp)
      efb:	c7 04 24 28 00 00 00 	movl   $0x28,(%esp)
      f02:	89 45 90             	mov    %eax,0xffffff90(%ebp)
      f05:	e8 fc ff ff ff       	call   f06 <atapi_action+0x976>
      f0a:	89 45 8c             	mov    %eax,0xffffff8c(%ebp)
      f0d:	85 c0                	test   %eax,%eax
      f0f:	0f 84 19 02 00 00    	je     112e <atapi_action+0xb9e>
      f15:	8b 45 8c             	mov    0xffffff8c(%ebp),%eax
      f18:	89 38                	mov    %edi,(%eax)
      f1a:	8b 55 ac             	mov    0xffffffac(%ebp),%edx
      f1d:	89 50 04             	mov    %edx,0x4(%eax)
      f20:	8b 55 a8             	mov    0xffffffa8(%ebp),%edx
      f23:	89 58 14             	mov    %ebx,0x14(%eax)
      f26:	89 50 08             	mov    %edx,0x8(%eax)
 
 static __inline void *
 uma_zalloc(uma_zone_t zone, int flags)
 {
 	return uma_zalloc_arg(zone, NULL, flags);
      f29:	b8 01 01 00 00       	mov    $0x101,%eax
      f2e:	89 44 24 08          	mov    %eax,0x8(%esp)
      f32:	31 c0                	xor    %eax,%eax
      f34:	89 44 24 04          	mov    %eax,0x4(%esp)
      f38:	a1 00 00 00 00       	mov    0x0,%eax
      f3d:	89 04 24             	mov    %eax,(%esp)
      f40:	e8 fc ff ff ff       	call   f41 <atapi_action+0x9b1>
      f45:	89 45 b0             	mov    %eax,0xffffffb0(%ebp)
      f48:	85 c0                	test   %eax,%eax
      f4a:	0f 84 16 04 00 00    	je     1366 <atapi_action+0xdd6>
      f50:	0f b6 83 91 00 00 00 	movzbl 0x91(%ebx),%eax
      f57:	89 44 24 08          	mov    %eax,0x8(%esp)
      f5b:	8b 45 b0             	mov    0xffffffb0(%ebp),%eax
      f5e:	83 c0 08             	add    $0x8,%eax
      f61:	89 45 84             	mov    %eax,0xffffff84(%ebp)
      f64:	89 44 24 04          	mov    %eax,0x4(%esp)
      f68:	8d 83 9c 00 00 00    	lea    0x9c(%ebx),%eax
      f6e:	f6 43 44 01          	testb  $0x1,0x44(%ebx)
      f72:	74 06                	je     f7a <atapi_action+0x9ea>
      f74:	8b 83 9c 00 00 00    	mov    0x9c(%ebx),%eax
      f7a:	89 04 24             	mov    %eax,(%esp)
      f7d:	e8 fc ff ff ff       	call   f7e <atapi_action+0x9ee>
      f82:	f6 05 00 00 00 00 08 	testb  $0x8,0x0
      f89:	74 0e                	je     f99 <atapi_action+0xa09>
      f8b:	8b 15 00 00 00 00    	mov    0x0,%edx
      f91:	85 d2                	test   %edx,%edx
      f93:	0f 85 29 03 00 00    	jne    12c2 <atapi_action+0xd32>
      f99:	8b 53 6c             	mov    0x6c(%ebx),%edx
      f9c:	89 55 a4             	mov    %edx,0xffffffa4(%ebp)
      f9f:	8b 43 68             	mov    0x68(%ebx),%eax
      fa2:	89 45 a0             	mov    %eax,0xffffffa0(%ebp)
      fa5:	8b 45 b0             	mov    0xffffffb0(%ebp),%eax
      fa8:	0f b6 50 08          	movzbl 0x8(%eax),%edx
      fac:	0f b6 c2             	movzbl %dl,%eax
      faf:	83 f8 0a             	cmp    $0xa,%eax
      fb2:	0f 84 19 01 00 00    	je     10d1 <atapi_action+0xb41>
      fb8:	0f 8f 22 02 00 00    	jg     11e0 <atapi_action+0xc50>
      fbe:	83 f8 08             	cmp    $0x8,%eax
      fc1:	0f 84 0a 01 00 00    	je     10d1 <atapi_action+0xb41>
      fc7:	8b 43 44             	mov    0x44(%ebx),%eax
      fca:	25 c0 00 00 00       	and    $0xc0,%eax
      fcf:	83 f8 40             	cmp    $0x40,%eax
      fd2:	0f 84 64 02 00 00    	je     123c <atapi_action+0xcac>
      fd8:	8b 55 98             	mov    0xffffff98(%ebp),%edx
      fdb:	8b 84 97 34 02 00 00 	mov    0x234(%edi,%edx,4),%eax
      fe2:	8b 55 b0             	mov    0xffffffb0(%ebp),%edx
      fe5:	8b 00                	mov    (%eax),%eax
      fe7:	89 02                	mov    %eax,(%edx)
      fe9:	8b 45 8c             	mov    0xffffff8c(%ebp),%eax
      fec:	89 82 b4 00 00 00    	mov    %eax,0xb4(%edx)
      ff2:	8b 45 a0             	mov    0xffffffa0(%ebp),%eax
      ff5:	89 42 34             	mov    %eax,0x34(%edx)
      ff8:	8b 45 a4             	mov    0xffffffa4(%ebp),%eax
      ffb:	89 42 2c             	mov    %eax,0x2c(%edx)
 static __inline int imin(int a, int b) { return (a < b ? a : b); }
 static __inline long lmax(long a, long b) { return (a > b ? a : b); }
 static __inline long lmin(long a, long b) { return (a < b ? a : b); }
 static __inline u_int max(u_int a, u_int b) { return (a > b ? a : b); }
 static __inline u_int min(u_int a, u_int b) { return (a < b ? a : b); }
      ffe:	b8 fe ff 00 00       	mov    $0xfffe,%eax
     1003:	3b 45 a4             	cmp    0xffffffa4(%ebp),%eax
     1006:	0f 47 45 a4          	cmova  0xffffffa4(%ebp),%eax
     100a:	89 42 30             	mov    %eax,0x30(%edx)
     100d:	b8 d3 4d 62 10       	mov    $0x10624dd3,%eax
     1012:	f7 63 58             	mull   0x58(%ebx)
     1015:	8b 45 b0             	mov    0xffffffb0(%ebp),%eax
     1018:	c7 40 74 02 00 00 00 	movl   $0x2,0x74(%eax)
     101f:	c1 ea 06             	shr    $0x6,%edx
     1022:	89 50 78             	mov    %edx,0x78(%eax)
     1025:	c7 40 48 80 14 00 00 	movl   $0x1480,0x48(%eax)
     102c:	8b 55 90             	mov    0xffffff90(%ebp),%edx
     102f:	89 50 38             	mov    %edx,0x38(%eax)
     1032:	8b 87 30 02 00 00    	mov    0x230(%edi),%eax
     1038:	8b 00                	mov    (%eax),%eax
     103a:	85 c0                	test   %eax,%eax
     103c:	0f 85 77 03 00 00    	jne    13b9 <atapi_action+0xe29>
     1042:	8b 45 8c             	mov    0xffffff8c(%ebp),%eax
     1045:	be bc 00 00 00       	mov    $0xbc,%esi
     104a:	c7 40 20 00 00 00 00 	movl   $0x0,0x20(%eax)
     1051:	8b 87 30 02 00 00    	mov    0x230(%edi),%eax
     1057:	8b 55 8c             	mov    0xffffff8c(%ebp),%edx
     105a:	89 42 24             	mov    %eax,0x24(%edx)
     105d:	8b 87 30 02 00 00    	mov    0x230(%edi),%eax
     1063:	89 10                	mov    %edx,(%eax)
     1065:	89 d0                	mov    %edx,%eax
     1067:	83 c0 20             	add    $0x20,%eax
     106a:	89 87 30 02 00 00    	mov    %eax,0x230(%edi)
     1070:	bf 62 02 00 00       	mov    $0x262,%edi
     1075:	83 4a 18 01          	orl    $0x1,0x18(%edx)
     1079:	81 4b 30 00 02 00 00 	orl    $0x200,0x30(%ebx)
     1080:	31 db                	xor    %ebx,%ebx
     1082:	89 7c 24 0c          	mov    %edi,0xc(%esp)
     1086:	8b 45 88             	mov    0xffffff88(%ebp),%eax
     1089:	89 74 24 08          	mov    %esi,0x8(%esp)
     108d:	89 5c 24 04          	mov    %ebx,0x4(%esp)
     1091:	89 04 24             	mov    %eax,(%esp)
     1094:	e8 fc ff ff ff       	call   1095 <atapi_action+0xb05>
     1099:	8b 55 b0             	mov    0xffffffb0(%ebp),%edx
     109c:	89 14 24             	mov    %edx,(%esp)
     109f:	e8 fc ff ff ff       	call   10a0 <atapi_action+0xb10>
     10a4:	e9 ef f5 ff ff       	jmp    698 <atapi_action+0x108>
     10a9:	c7 45 90 3c 00 00 00 	movl   $0x3c,0xffffff90(%ebp)
     10b0:	e9 23 fe ff ff       	jmp    ed8 <atapi_action+0x948>
     10b5:	8b 43 34             	mov    0x34(%ebx),%eax
     10b8:	89 04 24             	mov    %eax,(%esp)
     10bb:	e8 fc ff ff ff       	call   10bc <atapi_action+0xb2c>
     10c0:	c7 04 24 71 02 00 00 	movl   $0x271,(%esp)
     10c7:	e8 fc ff ff ff       	call   10c8 <atapi_action+0xb38>
     10cc:	e9 2f f5 ff ff       	jmp    600 <atapi_action+0x70>
     10d1:	f6 05 00 00 00 00 04 	testb  $0x4,0x0
     10d8:	74 0e                	je     10e8 <atapi_action+0xb58>
     10da:	8b 0d 00 00 00 00    	mov    0x0,%ecx
     10e0:	85 c9                	test   %ecx,%ecx
     10e2:	0f 85 48 02 00 00    	jne    1330 <atapi_action+0xda0>
     10e8:	8b 45 b0             	mov    0xffffffb0(%ebp),%eax
     10eb:	80 ca 20             	or     $0x20,%dl
     10ee:	88 50 08             	mov    %dl,0x8(%eax)
     10f1:	8b 55 b0             	mov    0xffffffb0(%ebp),%edx
     10f4:	0f b6 42 0d          	movzbl 0xd(%edx),%eax
     10f8:	c6 42 0f 00          	movb   $0x0,0xf(%edx)
     10fc:	c6 42 0e 00          	movb   $0x0,0xe(%edx)
     1100:	88 42 11             	mov    %al,0x11(%edx)
     1103:	0f b6 42 0c          	movzbl 0xc(%edx),%eax
     1107:	88 42 10             	mov    %al,0x10(%edx)
     110a:	0f b6 42 0b          	movzbl 0xb(%edx),%eax
     110e:	88 42 0d             	mov    %al,0xd(%edx)
     1111:	0f b6 42 0a          	movzbl 0xa(%edx),%eax
     1115:	c6 42 0a 00          	movb   $0x0,0xa(%edx)
     1119:	88 42 0c             	mov    %al,0xc(%edx)
     111c:	0f b6 42 09          	movzbl 0x9(%edx),%eax
     1120:	c6 42 09 00          	movb   $0x0,0x9(%edx)
     1124:	24 1f                	and    $0x1f,%al
     1126:	88 42 0b             	mov    %al,0xb(%edx)
     1129:	e9 99 fe ff ff       	jmp    fc7 <atapi_action+0xa37>
     112e:	c7 04 24 a1 02 00 00 	movl   $0x2a1,(%esp)
     1135:	e8 fc ff ff ff       	call   1136 <atapi_action+0xba6>
     113a:	8b 55 88             	mov    0xffffff88(%ebp),%edx
     113d:	b8 75 02 00 00       	mov    $0x275,%eax
     1142:	31 c9                	xor    %ecx,%ecx
     1144:	89 44 24 0c          	mov    %eax,0xc(%esp)
     1148:	b8 bc 00 00 00       	mov    $0xbc,%eax
     114d:	89 4c 24 04          	mov    %ecx,0x4(%esp)
     1151:	89 44 24 08          	mov    %eax,0x8(%esp)
     1155:	89 14 24             	mov    %edx,(%esp)
     1158:	e8 fc ff ff ff       	call   1159 <atapi_action+0xbc9>
     115d:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)
     1164:	b8 bc 00 00 00       	mov    $0xbc,%eax
     1169:	ba 76 02 00 00       	mov    $0x276,%edx
     116e:	89 44 24 08          	mov    %eax,0x8(%esp)
     1172:	31 c0                	xor    %eax,%eax
     1174:	89 54 24 0c          	mov    %edx,0xc(%esp)
     1178:	89 44 24 04          	mov    %eax,0x4(%esp)
     117c:	e8 fc ff ff ff       	call   117d <atapi_action+0xbed>
     1181:	8b 43 34             	mov    0x34(%ebx),%eax
     1184:	89 04 24             	mov    %eax,(%esp)
     1187:	e8 fc ff ff ff       	call   1188 <atapi_action+0xbf8>
     118c:	c7 04 24 c0 02 00 00 	movl   $0x2c0,(%esp)
     1193:	e8 fc ff ff ff       	call   1194 <atapi_action+0xc04>
     1198:	83 8f 28 02 00 00 02 	orl    $0x2,0x228(%edi)
     119f:	b8 01 00 00 00       	mov    $0x1,%eax
     11a4:	89 44 24 04          	mov    %eax,0x4(%esp)
     11a8:	89 34 24             	mov    %esi,(%esp)
     11ab:	e8 fc ff ff ff       	call   11ac <atapi_action+0xc1c>
     11b0:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)
     11b7:	b8 7b 02 00 00       	mov    $0x27b,%eax
     11bc:	89 44 24 0c          	mov    %eax,0xc(%esp)
     11c0:	b8 bc 00 00 00       	mov    $0xbc,%eax
     11c5:	89 44 24 08          	mov    %eax,0x8(%esp)
     11c9:	31 c0                	xor    %eax,%eax
     11cb:	89 44 24 04          	mov    %eax,0x4(%esp)
     11cf:	e8 fc ff ff ff       	call   11d0 <atapi_action+0xc40>
     11d4:	c7 43 30 1b 00 00 00 	movl   $0x1b,0x30(%ebx)
     11db:	e9 b0 f4 ff ff       	jmp    690 <atapi_action+0x100>
     11e0:	83 f8 12             	cmp    $0x12,%eax
     11e3:	0f 85 de fd ff ff    	jne    fc7 <atapi_action+0xa37>
     11e9:	8b 55 84             	mov    0xffffff84(%ebp),%edx
     11ec:	80 7a 01 00          	cmpb   $0x0,0x1(%edx)
     11f0:	0f 85 d1 fd ff ff    	jne    fc7 <atapi_action+0xa37>
     11f6:	80 7a 02 00          	cmpb   $0x0,0x2(%edx)
     11fa:	0f 85 c7 fd ff ff    	jne    fc7 <atapi_action+0xa37>
     1200:	80 7a 04 24          	cmpb   $0x24,0x4(%edx)
     1204:	0f 86 bd fd ff ff    	jbe    fc7 <atapi_action+0xa37>
     120a:	8b 45 a4             	mov    0xffffffa4(%ebp),%eax
     120d:	8b 55 a0             	mov    0xffffffa0(%ebp),%edx
     1210:	89 44 24 04          	mov    %eax,0x4(%esp)
     1214:	89 14 24             	mov    %edx,(%esp)
     1217:	e8 fc ff ff ff       	call   1218 <atapi_action+0xc88>
     121c:	8b 45 84             	mov    0xffffff84(%ebp),%eax
     121f:	c6 40 04 24          	movb   $0x24,0x4(%eax)
     1223:	c7 45 a4 24 00 00 00 	movl   $0x24,0xffffffa4(%ebp)
     122a:	e9 98 fd ff ff       	jmp    fc7 <atapi_action+0xa37>
     122f:	90                   	nop
     1230:	c7 45 90 3a 00 00 00 	movl   $0x3a,0xffffff90(%ebp)
     1237:	e9 9c fc ff ff       	jmp    ed8 <atapi_action+0x948>
     123c:	f6 45 a4 01          	testb  $0x1,0xffffffa4(%ebp)
     1240:	0f 84 92 fd ff ff    	je     fd8 <atapi_action+0xa48>
     1246:	ff 45 a4             	incl   0xffffffa4(%ebp)
     1249:	b8 01 01 00 00       	mov    $0x101,%eax
     124e:	89 44 24 08          	mov    %eax,0x8(%esp)
     1252:	b8 00 01 00 00       	mov    $0x100,%eax
     1257:	89 44 24 04          	mov    %eax,0x4(%esp)
     125b:	8b 45 a4             	mov    0xffffffa4(%ebp),%eax
     125e:	89 04 24             	mov    %eax,(%esp)
     1261:	e8 fc ff ff ff       	call   1262 <atapi_action+0xcd2>
     1266:	8b 55 8c             	mov    0xffffff8c(%ebp),%edx
     1269:	85 c0                	test   %eax,%eax
     126b:	89 42 1c             	mov    %eax,0x1c(%edx)
     126e:	89 45 a0             	mov    %eax,0xffffffa0(%ebp)
     1271:	0f 85 61 fd ff ff    	jne    fd8 <atapi_action+0xa48>
     1277:	c7 04 24 e0 02 00 00 	movl   $0x2e0,(%esp)
     127e:	e8 fc ff ff ff       	call   127f <atapi_action+0xcef>
     1283:	8b 4d b0             	mov    0xffffffb0(%ebp),%ecx
     1286:	85 c9                	test   %ecx,%ecx
     1288:	74 20                	je     12aa <atapi_action+0xd1a>
     128a:	8b 45 b0             	mov    0xffffffb0(%ebp),%eax
     128d:	f6 40 3b 40          	testb  $0x40,0x3b(%eax)
     1291:	75 17                	jne    12aa <atapi_action+0xd1a>
 
 static __inline void
 uma_zfree(uma_zone_t zone, void *item)
 {
 	uma_zfree_arg(zone, item, NULL);
     1293:	89 44 24 04          	mov    %eax,0x4(%esp)
     1297:	a1 00 00 00 00       	mov    0x0,%eax
     129c:	31 d2                	xor    %edx,%edx
     129e:	89 54 24 08          	mov    %edx,0x8(%esp)
     12a2:	89 04 24             	mov    %eax,(%esp)
     12a5:	e8 fc ff ff ff       	call   12a6 <atapi_action+0xd16>
     12aa:	8b 45 8c             	mov    0xffffff8c(%ebp),%eax
     12ad:	85 c0                	test   %eax,%eax
     12af:	0f 84 85 fe ff ff    	je     113a <atapi_action+0xbaa>
     12b5:	8b 45 8c             	mov    0xffffff8c(%ebp),%eax
     12b8:	e8 13 f2 ff ff       	call   4d0 <free_hcb>
     12bd:	e9 78 fe ff ff       	jmp    113a <atapi_action+0xbaa>
     12c2:	8b 43 34             	mov    0x34(%ebx),%eax
     12c5:	89 14 24             	mov    %edx,(%esp)
     12c8:	89 44 24 04          	mov    %eax,0x4(%esp)
     12cc:	e8 fc ff ff ff       	call   12cd <atapi_action+0xd3d>
     12d1:	85 c0                	test   %eax,%eax
     12d3:	0f 88 c0 fc ff ff    	js     f99 <atapi_action+0xa09>
     12d9:	8b 43 34             	mov    0x34(%ebx),%eax
     12dc:	89 44 24 04          	mov    %eax,0x4(%esp)
     12e0:	a1 00 00 00 00       	mov    0x0,%eax
     12e5:	89 04 24             	mov    %eax,(%esp)
     12e8:	e8 fc ff ff ff       	call   12e9 <atapi_action+0xd59>
     12ed:	48                   	dec    %eax
     12ee:	0f 8f a5 fc ff ff    	jg     f99 <atapi_action+0xa09>
     12f4:	8b 55 84             	mov    0xffffff84(%ebp),%edx
     12f7:	b8 31 00 00 00       	mov    $0x31,%eax
     12fc:	89 44 24 08          	mov    %eax,0x8(%esp)
     1300:	8d 45 b4             	lea    0xffffffb4(%ebp),%eax
     1303:	89 44 24 04          	mov    %eax,0x4(%esp)
     1307:	89 14 24             	mov    %edx,(%esp)
     130a:	e8 fc ff ff ff       	call   130b <atapi_action+0xd7b>
     130f:	89 44 24 08          	mov    %eax,0x8(%esp)
     1313:	8b 45 8c             	mov    0xffffff8c(%ebp),%eax
     1316:	c7 04 24 02 03 00 00 	movl   $0x302,(%esp)
     131d:	89 44 24 04          	mov    %eax,0x4(%esp)
     1321:	e8 fc ff ff ff       	call   1322 <atapi_action+0xd92>
     1326:	e9 6e fc ff ff       	jmp    f99 <atapi_action+0xa09>
     132b:	90                   	nop
     132c:	8d 74 26 00          	lea    0x0(%esi),%esi
     1330:	8b 43 34             	mov    0x34(%ebx),%eax
     1333:	89 0c 24             	mov    %ecx,(%esp)
     1336:	89 44 24 04          	mov    %eax,0x4(%esp)
     133a:	e8 fc ff ff ff       	call   133b <atapi_action+0xdab>
     133f:	85 c0                	test   %eax,%eax
     1341:	78 17                	js     135a <atapi_action+0xdca>
     1343:	8b 43 34             	mov    0x34(%ebx),%eax
     1346:	89 44 24 04          	mov    %eax,0x4(%esp)
     134a:	a1 00 00 00 00       	mov    0x0,%eax
     134f:	89 04 24             	mov    %eax,(%esp)
     1352:	e8 fc ff ff ff       	call   1353 <atapi_action+0xdc3>
     1357:	48                   	dec    %eax
     1358:	7e 1d                	jle    1377 <atapi_action+0xde7>
     135a:	8b 45 b0             	mov    0xffffffb0(%ebp),%eax
     135d:	0f b6 50 08          	movzbl 0x8(%eax),%edx
     1361:	e9 82 fd ff ff       	jmp    10e8 <atapi_action+0xb58>
     1366:	c7 04 24 1c 03 00 00 	movl   $0x31c,(%esp)
     136d:	e8 fc ff ff ff       	call   136e <atapi_action+0xdde>
     1372:	e9 33 ff ff ff       	jmp    12aa <atapi_action+0xd1a>
     1377:	8b 43 34             	mov    0x34(%ebx),%eax
     137a:	89 04 24             	mov    %eax,(%esp)
     137d:	e8 fc ff ff ff       	call   137e <atapi_action+0xdee>
     1382:	8b 55 b0             	mov    0xffffffb0(%ebp),%edx
     1385:	b8 3f 03 00 00       	mov    $0x33f,%eax
     138a:	80 7a 08 08          	cmpb   $0x8,0x8(%edx)
     138e:	ba 46 03 00 00       	mov    $0x346,%edx
     1393:	c7 04 24 4e 03 00 00 	movl   $0x34e,(%esp)
     139a:	0f 45 c2             	cmovne %edx,%eax
     139d:	89 44 24 04          	mov    %eax,0x4(%esp)
     13a1:	e8 fc ff ff ff       	call   13a2 <atapi_action+0xe12>
     13a6:	a1 00 00 00 00       	mov    0x0,%eax
     13ab:	85 c0                	test   %eax,%eax
     13ad:	74 ab                	je     135a <atapi_action+0xdca>
     13af:	89 04 24             	mov    %eax,(%esp)
     13b2:	e8 fc ff ff ff       	call   13b3 <atapi_action+0xe23>
     13b7:	eb a1                	jmp    135a <atapi_action+0xdca>
     13b9:	c7 04 24 72 03 00 00 	movl   $0x372,(%esp)
     13c0:	8d 87 2c 02 00 00    	lea    0x22c(%edi),%eax
     13c6:	89 44 24 04          	mov    %eax,0x4(%esp)
     13ca:	e8 fc ff ff ff       	call   13cb <atapi_action+0xe3b>
     13cf:	90                   	nop
 
 000013d0 <atapi_poll>:
     13d0:	55                   	push   %ebp
     13d1:	89 e5                	mov    %esp,%ebp
     13d3:	c7 45 08 97 03 00 00 	movl   $0x397,0x8(%ebp)
     13da:	5d                   	pop    %ebp
     13db:	e9 fc ff ff ff       	jmp    13dc <atapi_poll+0xc>
 
 000013e0 <free_hcb_and_ccb_done>:
     13e0:	55                   	push   %ebp
     13e1:	89 e5                	mov    %esp,%ebp
     13e3:	56                   	push   %esi
     13e4:	89 d6                	mov    %edx,%esi
     13e6:	53                   	push   %ebx
     13e7:	83 ec 10             	sub    $0x10,%esp
     13ea:	85 c0                	test   %eax,%eax
     13ec:	74 72                	je     1460 <free_hcb_and_ccb_done+0x80>
     13ee:	8b 08                	mov    (%eax),%ecx
     13f0:	8b 58 14             	mov    0x14(%eax),%ebx
     13f3:	8b 91 28 02 00 00    	mov    0x228(%ecx),%edx
     13f9:	f6 c2 02             	test   $0x2,%dl
     13fc:	75 69                	jne    1467 <free_hcb_and_ccb_done+0x87>
     13fe:	e8 cd f0 ff ff       	call   4d0 <free_hcb>
     1403:	8b 43 30             	mov    0x30(%ebx),%eax
     1406:	25 c0 fd ff ff       	and    $0xfffffdc0,%eax
     140b:	09 f0                	or     %esi,%eax
     140d:	89 43 30             	mov    %eax,0x30(%ebx)
     1410:	b8 f0 02 00 00       	mov    $0x2f0,%eax
     1415:	31 f6                	xor    %esi,%esi
     1417:	89 44 24 0c          	mov    %eax,0xc(%esp)
     141b:	b8 bc 00 00 00       	mov    $0xbc,%eax
     1420:	89 44 24 08          	mov    %eax,0x8(%esp)
     1424:	89 74 24 04          	mov    %esi,0x4(%esp)
     1428:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)
     142f:	e8 fc ff ff ff       	call   1430 <free_hcb_and_ccb_done+0x50>
     1434:	89 1c 24             	mov    %ebx,(%esp)
     1437:	bb f2 02 00 00       	mov    $0x2f2,%ebx
     143c:	e8 fc ff ff ff       	call   143d <free_hcb_and_ccb_done+0x5d>
     1441:	89 5c 24 0c          	mov    %ebx,0xc(%esp)
     1445:	b9 bc 00 00 00       	mov    $0xbc,%ecx
     144a:	31 d2                	xor    %edx,%edx
     144c:	89 4c 24 08          	mov    %ecx,0x8(%esp)
     1450:	89 54 24 04          	mov    %edx,0x4(%esp)
     1454:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)
     145b:	e8 fc ff ff ff       	call   145c <free_hcb_and_ccb_done+0x7c>
     1460:	83 c4 10             	add    $0x10,%esp
     1463:	5b                   	pop    %ebx
     1464:	5e                   	pop    %esi
     1465:	5d                   	pop    %ebp
     1466:	c3                   	ret
     1467:	83 e2 fd             	and    $0xfffffffd,%edx
     146a:	81 ce 00 01 00 00    	or     $0x100,%esi
     1470:	89 91 28 02 00 00    	mov    %edx,0x228(%ecx)
     1476:	eb 86                	jmp    13fe <free_hcb_and_ccb_done+0x1e>
     1478:	90                   	nop
     1479:	8d b4 26 00 00 00 00 	lea    0x0(%esi),%esi
 
 00001480 <atapi_cb>:
     1480:	55                   	push   %ebp
     1481:	89 e5                	mov    %esp,%ebp
     1483:	83 ec 30             	sub    $0x30,%esp
     1486:	89 5d f4             	mov    %ebx,0xfffffff4(%ebp)
     1489:	8b 45 08             	mov    0x8(%ebp),%eax
     148c:	89 75 f8             	mov    %esi,0xfffffff8(%ebp)
     148f:	89 7d fc             	mov    %edi,0xfffffffc(%ebp)
     1492:	8b b0 b4 00 00 00    	mov    0xb4(%eax),%esi
     1498:	f6 05 00 00 00 00 08 	testb  $0x8,0x0
     149f:	8b 16                	mov    (%esi),%edx
     14a1:	89 55 f0             	mov    %edx,0xfffffff0(%ebp)
     14a4:	8b 7e 14             	mov    0x14(%esi),%edi
     14a7:	74 0e                	je     14b7 <atapi_cb+0x37>
     14a9:	8b 15 00 00 00 00    	mov    0x0,%edx
     14af:	85 d2                	test   %edx,%edx
     14b1:	0f 85 69 01 00 00    	jne    1620 <atapi_cb+0x1a0>
     14b7:	f6 46 18 02          	testb  $0x2,0x18(%esi)
     14bb:	0f 84 8f 00 00 00    	je     1550 <atapi_cb+0xd0>
     14c1:	c7 45 ec 0c 00 00 00 	movl   $0xc,0xffffffec(%ebp)
     14c8:	8b 45 08             	mov    0x8(%ebp),%eax
     14cb:	8b 40 44             	mov    0x44(%eax),%eax
     14ce:	85 c0                	test   %eax,%eax
     14d0:	0f 84 ca 00 00 00    	je     15a0 <atapi_cb+0x120>
     14d6:	8d 76 00             	lea    0x0(%esi),%esi
     14d9:	8d bc 27 00 00 00 00 	lea    0x0(%edi),%edi
     14e0:	b9 bc 00 00 00       	mov    $0xbc,%ecx
     14e5:	31 d2                	xor    %edx,%edx
     14e7:	bb d5 02 00 00       	mov    $0x2d5,%ebx
     14ec:	89 4c 24 08          	mov    %ecx,0x8(%esp)
     14f0:	89 54 24 04          	mov    %edx,0x4(%esp)
     14f4:	89 5c 24 0c          	mov    %ebx,0xc(%esp)
     14f8:	8b 5d f0             	mov    0xfffffff0(%ebp),%ebx
     14fb:	81 c3 3c 02 00 00    	add    $0x23c,%ebx
     1501:	89 1c 24             	mov    %ebx,(%esp)
     1504:	e8 fc ff ff ff       	call   1505 <atapi_cb+0x85>
     1509:	8b 55 ec             	mov    0xffffffec(%ebp),%edx
     150c:	89 f0                	mov    %esi,%eax
     150e:	e8 cd fe ff ff       	call   13e0 <free_hcb_and_ccb_done>
     1513:	89 1c 24             	mov    %ebx,(%esp)
     1516:	b8 d7 02 00 00       	mov    $0x2d7,%eax
     151b:	89 44 24 0c          	mov    %eax,0xc(%esp)
     151f:	b8 bc 00 00 00       	mov    $0xbc,%eax
     1524:	89 44 24 08          	mov    %eax,0x8(%esp)
     1528:	31 c0                	xor    %eax,%eax
     152a:	89 44 24 04          	mov    %eax,0x4(%esp)
     152e:	e8 fc ff ff ff       	call   152f <atapi_cb+0xaf>
     1533:	8b 4d 08             	mov    0x8(%ebp),%ecx
     1536:	f6 41 3b 40          	testb  $0x40,0x3b(%ecx)
     153a:	0f 84 b8 00 00 00    	je     15f8 <atapi_cb+0x178>
     1540:	8b 5d f4             	mov    0xfffffff4(%ebp),%ebx
     1543:	8b 75 f8             	mov    0xfffffff8(%ebp),%esi
     1546:	8b 7d fc             	mov    0xfffffffc(%ebp),%edi
     1549:	89 ec                	mov    %ebp,%esp
     154b:	5d                   	pop    %ebp
     154c:	c3                   	ret
     154d:	8d 76 00             	lea    0x0(%esi),%esi
     1550:	8b 55 08             	mov    0x8(%ebp),%edx
     1553:	8b 42 44             	mov    0x44(%edx),%eax
     1556:	85 c0                	test   %eax,%eax
     1558:	74 56                	je     15b0 <atapi_cb+0x130>
     155a:	c7 45 ec 0c 00 00 00 	movl   $0xc,0xffffffec(%ebp)
     1561:	f6 47 44 20          	testb  $0x20,0x44(%edi)
     1565:	c6 87 94 00 00 00 02 	movb   $0x2,0x94(%edi)
     156c:	0f 85 6e ff ff ff    	jne    14e0 <atapi_cb+0x60>
     1572:	80 7a 3d 00          	cmpb   $0x0,0x3d(%edx)
     1576:	0f 85 64 ff ff ff    	jne    14e0 <atapi_cb+0x60>
     157c:	b8 12 00 00 00       	mov    $0x12,%eax
     1581:	89 44 24 08          	mov    %eax,0x8(%esp)
     1585:	8d 47 70             	lea    0x70(%edi),%eax
     1588:	89 44 24 04          	mov    %eax,0x4(%esp)
     158c:	89 d0                	mov    %edx,%eax
     158e:	83 c0 18             	add    $0x18,%eax
     1591:	89 04 24             	mov    %eax,(%esp)
     1594:	e8 fc ff ff ff       	call   1595 <atapi_cb+0x115>
     1599:	8d b4 26 00 00 00 00 	lea    0x0(%esi),%esi
     15a0:	81 4f 30 80 00 00 00 	orl    $0x80,0x30(%edi)
     15a7:	e9 34 ff ff ff       	jmp    14e0 <atapi_cb+0x60>
     15ac:	8d 74 26 00          	lea    0x0(%esi),%esi
     15b0:	c7 45 ec 01 00 00 00 	movl   $0x1,0xffffffec(%ebp)
     15b7:	8b 47 44             	mov    0x44(%edi),%eax
     15ba:	c6 87 94 00 00 00 00 	movb   $0x0,0x94(%edi)
     15c1:	25 c0 00 00 00       	and    $0xc0,%eax
     15c6:	83 f8 40             	cmp    $0x40,%eax
     15c9:	0f 85 11 ff ff ff    	jne    14e0 <atapi_cb+0x60>
     15cf:	8b 46 1c             	mov    0x1c(%esi),%eax
     15d2:	85 c0                	test   %eax,%eax
     15d4:	0f 84 06 ff ff ff    	je     14e0 <atapi_cb+0x60>
     15da:	8b 47 6c             	mov    0x6c(%edi),%eax
     15dd:	89 44 24 08          	mov    %eax,0x8(%esp)
     15e1:	8b 47 68             	mov    0x68(%edi),%eax
     15e4:	89 44 24 04          	mov    %eax,0x4(%esp)
     15e8:	8b 46 1c             	mov    0x1c(%esi),%eax
     15eb:	89 04 24             	mov    %eax,(%esp)
     15ee:	e8 fc ff ff ff       	call   15ef <atapi_cb+0x16f>
     15f3:	e9 e8 fe ff ff       	jmp    14e0 <atapi_cb+0x60>
 
 static __inline void
 uma_zfree(uma_zone_t zone, void *item)
 {
 	uma_zfree_arg(zone, item, NULL);
     15f8:	89 4c 24 04          	mov    %ecx,0x4(%esp)
     15fc:	31 c0                	xor    %eax,%eax
     15fe:	89 44 24 08          	mov    %eax,0x8(%esp)
     1602:	a1 00 00 00 00       	mov    0x0,%eax
     1607:	89 04 24             	mov    %eax,(%esp)
     160a:	e8 fc ff ff ff       	call   160b <atapi_cb+0x18b>
     160f:	8b 5d f4             	mov    0xfffffff4(%ebp),%ebx
     1612:	8b 75 f8             	mov    0xfffffff8(%ebp),%esi
     1615:	8b 7d fc             	mov    0xfffffffc(%ebp),%edi
     1618:	89 ec                	mov    %ebp,%esp
     161a:	5d                   	pop    %ebp
     161b:	c3                   	ret
     161c:	8d 74 26 00          	lea    0x0(%esi),%esi
     1620:	8b 47 34             	mov    0x34(%edi),%eax
     1623:	89 14 24             	mov    %edx,(%esp)
     1626:	89 44 24 04          	mov    %eax,0x4(%esp)
     162a:	e8 fc ff ff ff       	call   162b <atapi_cb+0x1ab>
     162f:	85 c0                	test   %eax,%eax
     1631:	0f 88 80 fe ff ff    	js     14b7 <atapi_cb+0x37>
     1637:	8b 47 34             	mov    0x34(%edi),%eax
     163a:	89 44 24 04          	mov    %eax,0x4(%esp)
     163e:	a1 00 00 00 00       	mov    0x0,%eax
     1643:	89 04 24             	mov    %eax,(%esp)
     1646:	e8 fc ff ff ff       	call   1647 <atapi_cb+0x1c7>
     164b:	48                   	dec    %eax
     164c:	0f 8f 65 fe ff ff    	jg     14b7 <atapi_cb+0x37>
     1652:	8b 45 08             	mov    0x8(%ebp),%eax
     1655:	ba ab 03 00 00       	mov    $0x3ab,%edx
     165a:	0f b6 48 1a          	movzbl 0x1a(%eax),%ecx
     165e:	b8 ac 03 00 00       	mov    $0x3ac,%eax
     1663:	89 74 24 04          	mov    %esi,0x4(%esp)
     1667:	c7 04 24 b1 03 00 00 	movl   $0x3b1,(%esp)
     166e:	0f b6 d9             	movzbl %cl,%ebx
     1671:	f6 c3 01             	test   $0x1,%bl
     1674:	0f 44 c2             	cmove  %edx,%eax
     1677:	f6 c3 02             	test   $0x2,%bl
     167a:	89 44 24 18          	mov    %eax,0x18(%esp)
     167e:	b8 e3 03 00 00       	mov    $0x3e3,%eax
     1683:	0f 44 c2             	cmove  %edx,%eax
     1686:	f6 c3 04             	test   $0x4,%bl
     1689:	89 44 24 14          	mov    %eax,0x14(%esp)
     168d:	b8 e8 03 00 00       	mov    $0x3e8,%eax
     1692:	0f 44 c2             	cmove  %edx,%eax
     1695:	c0 e9 04             	shr    $0x4,%cl
     1698:	89 44 24 10          	mov    %eax,0x10(%esp)
     169c:	0f b6 c1             	movzbl %cl,%eax
     169f:	89 44 24 0c          	mov    %eax,0xc(%esp)
     16a3:	89 5c 24 08          	mov    %ebx,0x8(%esp)
     16a7:	e8 fc ff ff ff       	call   16a8 <atapi_cb+0x228>
     16ac:	8b 55 08             	mov    0x8(%ebp),%edx
     16af:	8b 02                	mov    (%edx),%eax
     16b1:	89 04 24             	mov    %eax,(%esp)
     16b4:	e8 fc ff ff ff       	call   16b5 <atapi_cb+0x235>
     16b9:	8b 4d 08             	mov    0x8(%ebp),%ecx
     16bc:	8b 51 44             	mov    0x44(%ecx),%edx
     16bf:	89 54 24 10          	mov    %edx,0x10(%esp)
     16c3:	0f b6 51 3c          	movzbl 0x3c(%ecx),%edx
     16c7:	89 54 24 0c          	mov    %edx,0xc(%esp)
     16cb:	0f b6 51 08          	movzbl 0x8(%ecx),%edx
     16cf:	89 44 24 04          	mov    %eax,0x4(%esp)
     16d3:	c7 04 24 ee 03 00 00 	movl   $0x3ee,(%esp)
     16da:	89 54 24 08          	mov    %edx,0x8(%esp)
     16de:	e8 fc ff ff ff       	call   16df <atapi_cb+0x25f>
     16e3:	e9 cf fd ff ff       	jmp    14b7 <atapi_cb+0x37>
     16e8:	90                   	nop
     16e9:	8d b4 26 00 00 00 00 	lea    0x0(%esi),%esi
 
 000016f0 <atapi_async>:
     16f0:	55                   	push   %ebp
     16f1:	b8 bc 00 00 00       	mov    $0xbc,%eax
     16f6:	89 e5                	mov    %esp,%ebp
     16f8:	83 ec 18             	sub    $0x18,%esp
     16fb:	89 5d f8             	mov    %ebx,0xfffffff8(%ebp)
     16fe:	8b 5d 0c             	mov    0xc(%ebp),%ebx
     1701:	89 75 fc             	mov    %esi,0xfffffffc(%ebp)
     1704:	ba fd 02 00 00       	mov    $0x2fd,%edx
     1709:	8b 75 10             	mov    0x10(%ebp),%esi
     170c:	89 44 24 08          	mov    %eax,0x8(%esp)
     1710:	b8 01 00 00 00       	mov    $0x1,%eax
     1715:	89 54 24 0c          	mov    %edx,0xc(%esp)
     1719:	89 44 24 04          	mov    %eax,0x4(%esp)
     171d:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)
     1724:	e8 fc ff ff ff       	call   1725 <atapi_async+0x35>
     1729:	81 fb 00 01 00 00    	cmp    $0x100,%ebx
     172f:	74 0f                	je     1740 <atapi_async+0x50>
     1731:	8b 5d f8             	mov    0xfffffff8(%ebp),%ebx
     1734:	8b 75 fc             	mov    0xfffffffc(%ebp),%esi
     1737:	89 ec                	mov    %ebp,%esp
     1739:	5d                   	pop    %ebp
     173a:	c3                   	ret
     173b:	90                   	nop
     173c:	8d 74 26 00          	lea    0x0(%esi),%esi
     1740:	89 34 24             	mov    %esi,(%esp)
     1743:	e8 fc ff ff ff       	call   1744 <atapi_async+0x54>
     1748:	89 34 24             	mov    %esi,(%esp)
     174b:	89 c3                	mov    %eax,%ebx
     174d:	e8 fc ff ff ff       	call   174e <atapi_async+0x5e>
     1752:	83 fb ff             	cmp    $0xffffffff,%ebx
     1755:	74 18                	je     176f <atapi_async+0x7f>
     1757:	89 5d 0c             	mov    %ebx,0xc(%ebp)
     175a:	8b 75 fc             	mov    0xfffffffc(%ebp),%esi
     175d:	8b 5d f8             	mov    0xfffffff8(%ebp),%ebx
     1760:	c7 45 08 18 04 00 00 	movl   $0x418,0x8(%ebp)
     1767:	89 ec                	mov    %ebp,%esp
     1769:	5d                   	pop    %ebp
     176a:	e9 fc ff ff ff       	jmp    176b <atapi_async+0x7b>
     176f:	c7 45 08 2b 04 00 00 	movl   $0x42b,0x8(%ebp)
     1776:	8b 5d f8             	mov    0xfffffff8(%ebp),%ebx
     1779:	8b 75 fc             	mov    0xfffffffc(%ebp),%esi
     177c:	89 ec                	mov    %ebp,%esp
     177e:	5d                   	pop    %ebp
     177f:	e9 fc ff ff ff       	jmp    1780 <atapi_async+0x90>
     1784:	8d b6 00 00 00 00    	lea    0x0(%esi),%esi
     178a:	8d bf 00 00 00 00    	lea    0x0(%edi),%edi
 
 00001790 <cam_rescan_callback>:
     1790:	55                   	push   %ebp
     1791:	89 e5                	mov    %esp,%ebp
     1793:	53                   	push   %ebx
     1794:	83 ec 08             	sub    $0x8,%esp
     1797:	8b 5d 0c             	mov    0xc(%ebp),%ebx
     179a:	83 7b 30 01          	cmpl   $0x1,0x30(%ebx)
     179e:	74 40                	je     17e0 <cam_rescan_callback+0x50>
     17a0:	f6 05 00 00 00 00 02 	testb  $0x2,0x0
     17a7:	74 17                	je     17c0 <cam_rescan_callback+0x30>
     17a9:	8b 15 00 00 00 00    	mov    0x0,%edx
     17af:	85 d2                	test   %edx,%edx
     17b1:	0f 85 99 00 00 00    	jne    1850 <cam_rescan_callback+0xc0>
     17b7:	89 f6                	mov    %esi,%esi
     17b9:	8d bc 27 00 00 00 00 	lea    0x0(%edi),%edi
     17c0:	8b 43 34             	mov    0x34(%ebx),%eax
     17c3:	89 04 24             	mov    %eax,(%esp)
     17c6:	e8 fc ff ff ff       	call   17c7 <cam_rescan_callback+0x37>
     17cb:	c7 45 0c 00 01 00 00 	movl   $0x100,0xc(%ebp)
     17d2:	89 5d 08             	mov    %ebx,0x8(%ebp)
     17d5:	83 c4 08             	add    $0x8,%esp
     17d8:	5b                   	pop    %ebx
     17d9:	5d                   	pop    %ebp
     17da:	e9 fc ff ff ff       	jmp    17db <cam_rescan_callback+0x4b>
     17df:	90                   	nop
     17e0:	f6 05 00 00 00 00 02 	testb  $0x2,0x0
     17e7:	74 d7                	je     17c0 <cam_rescan_callback+0x30>
     17e9:	8b 15 00 00 00 00    	mov    0x0,%edx
     17ef:	85 d2                	test   %edx,%edx
     17f1:	74 cd                	je     17c0 <cam_rescan_callback+0x30>
     17f3:	8b 43 34             	mov    0x34(%ebx),%eax
     17f6:	89 14 24             	mov    %edx,(%esp)
     17f9:	89 44 24 04          	mov    %eax,0x4(%esp)
     17fd:	e8 fc ff ff ff       	call   17fe <cam_rescan_callback+0x6e>
     1802:	85 c0                	test   %eax,%eax
     1804:	78 ba                	js     17c0 <cam_rescan_callback+0x30>
     1806:	8b 43 34             	mov    0x34(%ebx),%eax
     1809:	89 44 24 04          	mov    %eax,0x4(%esp)
     180d:	a1 00 00 00 00       	mov    0x0,%eax
     1812:	89 04 24             	mov    %eax,(%esp)
     1815:	e8 fc ff ff ff       	call   1816 <cam_rescan_callback+0x86>
     181a:	48                   	dec    %eax
     181b:	7f a3                	jg     17c0 <cam_rescan_callback+0x30>
     181d:	8b 43 34             	mov    0x34(%ebx),%eax
     1820:	89 04 24             	mov    %eax,(%esp)
     1823:	e8 fc ff ff ff       	call   1824 <cam_rescan_callback+0x94>
     1828:	c7 04 24 3e 04 00 00 	movl   $0x43e,(%esp)
     182f:	e8 fc ff ff ff       	call   1830 <cam_rescan_callback+0xa0>
     1834:	a1 00 00 00 00       	mov    0x0,%eax
     1839:	85 c0                	test   %eax,%eax
     183b:	74 83                	je     17c0 <cam_rescan_callback+0x30>
     183d:	89 04 24             	mov    %eax,(%esp)
     1840:	e8 fc ff ff ff       	call   1841 <cam_rescan_callback+0xb1>
     1845:	e9 76 ff ff ff       	jmp    17c0 <cam_rescan_callback+0x30>
     184a:	8d b6 00 00 00 00    	lea    0x0(%esi),%esi
     1850:	8b 43 34             	mov    0x34(%ebx),%eax
     1853:	89 14 24             	mov    %edx,(%esp)
     1856:	89 44 24 04          	mov    %eax,0x4(%esp)
     185a:	e8 fc ff ff ff       	call   185b <cam_rescan_callback+0xcb>
     185f:	85 c0                	test   %eax,%eax
     1861:	0f 88 59 ff ff ff    	js     17c0 <cam_rescan_callback+0x30>
     1867:	8b 43 34             	mov    0x34(%ebx),%eax
     186a:	89 44 24 04          	mov    %eax,0x4(%esp)
     186e:	a1 00 00 00 00       	mov    0x0,%eax
     1873:	89 04 24             	mov    %eax,(%esp)
     1876:	e8 fc ff ff ff       	call   1877 <cam_rescan_callback+0xe7>
     187b:	48                   	dec    %eax
     187c:	0f 8f 3e ff ff ff    	jg     17c0 <cam_rescan_callback+0x30>
     1882:	8b 43 34             	mov    0x34(%ebx),%eax
     1885:	89 04 24             	mov    %eax,(%esp)
     1888:	e8 fc ff ff ff       	call   1889 <cam_rescan_callback+0xf9>
     188d:	8b 43 30             	mov    0x30(%ebx),%eax
     1890:	c7 04 24 50 04 00 00 	movl   $0x450,(%esp)
     1897:	89 44 24 04          	mov    %eax,0x4(%esp)
     189b:	e8 fc ff ff ff       	call   189c <cam_rescan_callback+0x10c>
     18a0:	eb 92                	jmp    1834 <cam_rescan_callback+0xa4>
     18a2:	8d b4 26 00 00 00 00 	lea    0x0(%esi),%esi
     18a9:	8d bc 27 00 00 00 00 	lea    0x0(%edi),%edi
 
 000018b0 <free_softc>:
 }
 
 static void
 free_softc(struct atapi_xpt_softc *scp)
 {
     18b0:	55                   	push   %ebp
     18b1:	89 e5                	mov    %esp,%ebp
     18b3:	57                   	push   %edi
     18b4:	56                   	push   %esi
     18b5:	89 c6                	mov    %eax,%esi
     18b7:	53                   	push   %ebx
     18b8:	83 ec 10             	sub    $0x10,%esp
     struct atapi_hcb *hcb;
 
     if (scp != NULL) {
     18bb:	85 c0                	test   %eax,%eax
     18bd:	0f 84 f9 00 00 00    	je     19bc <free_softc+0x10c>
 	mtx_lock(&scp->state_lock);
     18c3:	b9 55 03 00 00       	mov    $0x355,%ecx
     18c8:	ba bc 00 00 00       	mov    $0xbc,%edx
     18cd:	31 c0                	xor    %eax,%eax
     18cf:	89 4c 24 0c          	mov    %ecx,0xc(%esp)
     18d3:	8d be 3c 02 00 00    	lea    0x23c(%esi),%edi
     18d9:	89 54 24 08          	mov    %edx,0x8(%esp)
     18dd:	89 44 24 04          	mov    %eax,0x4(%esp)
     18e1:	89 3c 24             	mov    %edi,(%esp)
     18e4:	e8 fc ff ff ff       	call   18e5 <free_softc+0x35>
 	TAILQ_FOREACH(hcb, &scp->pending_hcbs, chain) {
     18e9:	8b 9e 2c 02 00 00    	mov    0x22c(%esi),%ebx
     18ef:	eb 0f                	jmp    1900 <free_softc+0x50>
 	    free_hcb_and_ccb_done(hcb, CAM_UNREC_HBA_ERROR);
     18f1:	89 d8                	mov    %ebx,%eax
     18f3:	ba 19 00 00 00       	mov    $0x19,%edx
     18f8:	e8 e3 fa ff ff       	call   13e0 <free_hcb_and_ccb_done>
     18fd:	8b 5b 20             	mov    0x20(%ebx),%ebx
     1900:	85 db                	test   %ebx,%ebx
     1902:	75 ed                	jne    18f1 <free_softc+0x41>
 	}
 	mtx_unlock(&scp->state_lock);
     1904:	89 3c 24             	mov    %edi,(%esp)
     1907:	b8 59 03 00 00       	mov    $0x359,%eax
 	mtx_lock(&Giant);
     190c:	31 db                	xor    %ebx,%ebx
     190e:	89 44 24 0c          	mov    %eax,0xc(%esp)
     1912:	b8 bc 00 00 00       	mov    $0xbc,%eax
     1917:	89 44 24 08          	mov    %eax,0x8(%esp)
     191b:	31 c0                	xor    %eax,%eax
     191d:	89 44 24 04          	mov    %eax,0x4(%esp)
     1921:	e8 fc ff ff ff       	call   1922 <free_softc+0x72>
     1926:	89 5c 24 04          	mov    %ebx,0x4(%esp)
     192a:	b8 5a 03 00 00       	mov    $0x35a,%eax
     192f:	89 44 24 0c          	mov    %eax,0xc(%esp)
     1933:	b8 bc 00 00 00       	mov    $0xbc,%eax
     1938:	89 44 24 08          	mov    %eax,0x8(%esp)
     193c:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)
     1943:	e8 fc ff ff ff       	call   1944 <free_softc+0x94>
 	if (scp->path != NULL) {
     1948:	8b 8e 20 02 00 00    	mov    0x220(%esi),%ecx
     194e:	85 c9                	test   %ecx,%ecx
     1950:	0f 85 a7 00 00 00    	jne    19fd <free_softc+0x14d>
 	    setup_async_cb(scp, 0);
 	    xpt_free_path(scp->path);
 	}
 	if ((scp->flags & BUS_REGISTERED) != 0) {
     1956:	f6 86 28 02 00 00 01 	testb  $0x1,0x228(%esi)
     195d:	75 7a                	jne    19d9 <free_softc+0x129>
 	    if (xpt_bus_deregister(cam_sim_path(scp->sim)) == CAM_REQ_CMP)
 		scp->flags &= ~BUS_REGISTERED;
 	}
 	if (scp->sim != NULL) {
     195f:	8b 86 24 02 00 00    	mov    0x224(%esi),%eax
     1965:	85 c0                	test   %eax,%eax
     1967:	74 27                	je     1990 <free_softc+0xe0>
 	    if ((scp->flags & BUS_REGISTERED) == 0)
     1969:	f6 86 28 02 00 00 01 	testb  $0x1,0x228(%esi)
     1970:	75 52                	jne    19c4 <free_softc+0x114>
 		cam_sim_free(scp->sim, /*free_devq*/TRUE);
     1972:	89 04 24             	mov    %eax,(%esp)
     1975:	ba 01 00 00 00       	mov    $0x1,%edx
     197a:	89 54 24 04          	mov    %edx,0x4(%esp)
     197e:	e8 fc ff ff ff       	call   197f <free_softc+0xcf>
     1983:	8d b6 00 00 00 00    	lea    0x0(%esi),%esi
     1989:	8d bc 27 00 00 00 00 	lea    0x0(%edi),%edi
 	    else
 		printf("Can't free %s SIM (still registered)\n",
 		       cam_sim_name(scp->sim));
 	}
 	mtx_unlock(&Giant);
     1990:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)
     1997:	31 c9                	xor    %ecx,%ecx
     1999:	be 6a 03 00 00       	mov    $0x36a,%esi
     199e:	89 74 24 0c          	mov    %esi,0xc(%esp)
     19a2:	bb bc 00 00 00       	mov    $0xbc,%ebx
     19a7:	89 5c 24 08          	mov    %ebx,0x8(%esp)
     19ab:	89 4c 24 04          	mov    %ecx,0x4(%esp)
     19af:	e8 fc ff ff ff       	call   19b0 <free_softc+0x100>
 	mtx_destroy(&scp->state_lock);
     19b4:	89 3c 24             	mov    %edi,(%esp)
     19b7:	e8 fc ff ff ff       	call   19b8 <free_softc+0x108>
     }
 }
     19bc:	83 c4 10             	add    $0x10,%esp
     19bf:	5b                   	pop    %ebx
     19c0:	5e                   	pop    %esi
     19c1:	5f                   	pop    %edi
     19c2:	5d                   	pop    %ebp
     19c3:	c3                   	ret
 
 static __inline const char *
 cam_sim_name(struct cam_sim *sim)
 {
 	return (sim->sim_name);
     19c4:	8b 40 08             	mov    0x8(%eax),%eax
     19c7:	c7 04 24 67 04 00 00 	movl   $0x467,(%esp)
     19ce:	89 44 24 04          	mov    %eax,0x4(%esp)
     19d2:	e8 fc ff ff ff       	call   19d3 <free_softc+0x123>
     19d7:	eb b7                	jmp    1990 <free_softc+0xe0>
     19d9:	8b 86 24 02 00 00    	mov    0x224(%esi),%eax
     19df:	8b 40 10             	mov    0x10(%eax),%eax
     19e2:	89 04 24             	mov    %eax,(%esp)
     19e5:	e8 fc ff ff ff       	call   19e6 <free_softc+0x136>
     19ea:	48                   	dec    %eax
     19eb:	0f 85 6e ff ff ff    	jne    195f <free_softc+0xaf>
     19f1:	83 a6 28 02 00 00 fe 	andl   $0xfffffffe,0x228(%esi)
     19f8:	e9 62 ff ff ff       	jmp    195f <free_softc+0xaf>
     19fd:	89 f0                	mov    %esi,%eax
     19ff:	31 d2                	xor    %edx,%edx
     1a01:	e8 1a ea ff ff       	call   420 <setup_async_cb>
     1a06:	8b 86 20 02 00 00    	mov    0x220(%esi),%eax
     1a0c:	89 04 24             	mov    %eax,(%esp)
     1a0f:	e8 fc ff ff ff       	call   1a10 <free_softc+0x160>
     1a14:	e9 3d ff ff ff       	jmp    1956 <free_softc+0xa6>
     1a19:	8d b4 26 00 00 00 00 	lea    0x0(%esi),%esi
 
 00001a20 <atapi_cam_detach>:
     1a20:	55                   	push   %ebp
     1a21:	89 e5                	mov    %esp,%ebp
     1a23:	56                   	push   %esi
     1a24:	be fd 00 00 00       	mov    $0xfd,%esi
     1a29:	53                   	push   %ebx
     1a2a:	83 ec 10             	sub    $0x10,%esp
     1a2d:	8b 45 08             	mov    0x8(%ebp),%eax
     1a30:	89 04 24             	mov    %eax,(%esp)
     1a33:	e8 fc ff ff ff       	call   1a34 <atapi_cam_detach+0x14>
     1a38:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)
     1a3f:	89 c3                	mov    %eax,%ebx
     1a41:	b8 fb 00 00 00       	mov    $0xfb,%eax
     1a46:	89 44 24 0c          	mov    %eax,0xc(%esp)
     1a4a:	b8 bc 00 00 00       	mov    $0xbc,%eax
     1a4f:	89 44 24 08          	mov    %eax,0x8(%esp)
     1a53:	31 c0                	xor    %eax,%eax
     1a55:	89 44 24 04          	mov    %eax,0x4(%esp)
     1a59:	e8 fc ff ff ff       	call   1a5a <atapi_cam_detach+0x3a>
     1a5e:	b8 01 00 00 00       	mov    $0x1,%eax
     1a63:	89 44 24 04          	mov    %eax,0x4(%esp)
     1a67:	8b 83 24 02 00 00    	mov    0x224(%ebx),%eax
     1a6d:	89 04 24             	mov    %eax,(%esp)
     1a70:	e8 fc ff ff ff       	call   1a71 <atapi_cam_detach+0x51>
     1a75:	89 74 24 0c          	mov    %esi,0xc(%esp)
     1a79:	b9 bc 00 00 00       	mov    $0xbc,%ecx
     1a7e:	31 d2                	xor    %edx,%edx
     1a80:	89 4c 24 08          	mov    %ecx,0x8(%esp)
     1a84:	8d b3 3c 02 00 00    	lea    0x23c(%ebx),%esi
     1a8a:	89 54 24 04          	mov    %edx,0x4(%esp)
     1a8e:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)
     1a95:	e8 fc ff ff ff       	call   1a96 <atapi_cam_detach+0x76>
     1a9a:	89 34 24             	mov    %esi,(%esp)
     1a9d:	b8 fe 00 00 00       	mov    $0xfe,%eax
     1aa2:	89 44 24 0c          	mov    %eax,0xc(%esp)
     1aa6:	b8 bc 00 00 00       	mov    $0xbc,%eax
     1aab:	89 44 24 08          	mov    %eax,0x8(%esp)
     1aaf:	31 c0                	xor    %eax,%eax
     1ab1:	89 44 24 04          	mov    %eax,0x4(%esp)
     1ab5:	e8 fc ff ff ff       	call   1ab6 <atapi_cam_detach+0x96>
     1aba:	83 8b 28 02 00 00 04 	orl    $0x4,0x228(%ebx)
     1ac1:	b8 00 01 00 00       	mov    $0x100,%eax
     1ac6:	89 44 24 0c          	mov    %eax,0xc(%esp)
     1aca:	b8 bc 00 00 00       	mov    $0xbc,%eax
     1acf:	89 44 24 08          	mov    %eax,0x8(%esp)
     1ad3:	31 c0                	xor    %eax,%eax
     1ad5:	89 44 24 04          	mov    %eax,0x4(%esp)
     1ad9:	89 34 24             	mov    %esi,(%esp)
     1adc:	e8 fc ff ff ff       	call   1add <atapi_cam_detach+0xbd>
     1ae1:	89 d8                	mov    %ebx,%eax
     1ae3:	e8 c8 fd ff ff       	call   18b0 <free_softc>
     1ae8:	83 c4 10             	add    $0x10,%esp
     1aeb:	31 c0                	xor    %eax,%eax
     1aed:	5b                   	pop    %ebx
     1aee:	5e                   	pop    %esi
     1aef:	5d                   	pop    %ebp
     1af0:	c3                   	ret
     1af1:	eb 0d                	jmp    1b00 <atapi_cam_attach>
     1af3:	90                   	nop
     1af4:	90                   	nop
     1af5:	90                   	nop
     1af6:	90                   	nop
     1af7:	90                   	nop
     1af8:	90                   	nop
     1af9:	90                   	nop
     1afa:	90                   	nop
     1afb:	90                   	nop
     1afc:	90                   	nop
     1afd:	90                   	nop
     1afe:	90                   	nop
     1aff:	90                   	nop
 
 00001b00 <atapi_cam_attach>:
     1b00:	55                   	push   %ebp
     1b01:	89 e5                	mov    %esp,%ebp
     1b03:	57                   	push   %edi
     1b04:	56                   	push   %esi
     1b05:	53                   	push   %ebx
     1b06:	83 ec 28             	sub    $0x28,%esp
     1b09:	8b 75 08             	mov    0x8(%ebp),%esi
     1b0c:	c7 45 f0 00 00 00 00 	movl   $0x0,0xfffffff0(%ebp)
     1b13:	89 34 24             	mov    %esi,(%esp)
     1b16:	e8 fc ff ff ff       	call   1b17 <atapi_cam_attach+0x17>
     1b1b:	85 c0                	test   %eax,%eax
     1b1d:	89 c3                	mov    %eax,%ebx
     1b1f:	0f 84 cb 01 00 00    	je     1cf0 <atapi_cam_attach+0x1f0>
     1b25:	b8 8d 04 00 00       	mov    $0x48d,%eax
     1b2a:	31 c9                	xor    %ecx,%ecx
     1b2c:	31 d2                	xor    %edx,%edx
     1b2e:	89 44 24 04          	mov    %eax,0x4(%esp)
     1b32:	8d 83 3c 02 00 00    	lea    0x23c(%ebx),%eax
     1b38:	bf 0c 00 00 00       	mov    $0xc,%edi
     1b3d:	89 4c 24 0c          	mov    %ecx,0xc(%esp)
     1b41:	89 54 24 08          	mov    %edx,0x8(%esp)
     1b45:	89 04 24             	mov    %eax,(%esp)
     1b48:	e8 fc ff ff ff       	call   1b49 <atapi_cam_attach+0x49>
     1b4d:	89 b3 14 02 00 00    	mov    %esi,0x214(%ebx)
     1b53:	89 34 24             	mov    %esi,(%esp)
     1b56:	e8 fc ff ff ff       	call   1b57 <atapi_cam_attach+0x57>
     1b5b:	89 83 18 02 00 00    	mov    %eax,0x218(%ebx)
     1b61:	89 04 24             	mov    %eax,(%esp)
     1b64:	e8 fc ff ff ff       	call   1b65 <atapi_cam_attach+0x65>
     1b69:	89 83 1c 02 00 00    	mov    %eax,0x21c(%ebx)
     1b6f:	31 c0                	xor    %eax,%eax
     1b71:	89 83 2c 02 00 00    	mov    %eax,0x22c(%ebx)
     1b77:	8d 83 2c 02 00 00    	lea    0x22c(%ebx),%eax
     1b7d:	89 83 30 02 00 00    	mov    %eax,0x230(%ebx)
     1b83:	89 34 24             	mov    %esi,(%esp)
     1b86:	e8 fc ff ff ff       	call   1b87 <atapi_cam_attach+0x87>
     1b8b:	89 45 ec             	mov    %eax,0xffffffec(%ebp)
     1b8e:	c7 04 24 10 00 00 00 	movl   $0x10,(%esp)
     1b95:	e8 fc ff ff ff       	call   1b96 <atapi_cam_attach+0x96>
     1b9a:	85 c0                	test   %eax,%eax
     1b9c:	0f 84 9e 00 00 00    	je     1c40 <atapi_cam_attach+0x140>
     1ba2:	89 44 24 1c          	mov    %eax,0x1c(%esp)
     1ba6:	b8 01 00 00 00       	mov    $0x1,%eax
     1bab:	89 44 24 18          	mov    %eax,0x18(%esp)
     1baf:	b8 01 00 00 00       	mov    $0x1,%eax
     1bb4:	89 44 24 14          	mov    %eax,0x14(%esp)
     1bb8:	8b 45 ec             	mov    0xffffffec(%ebp),%eax
     1bbb:	89 5c 24 0c          	mov    %ebx,0xc(%esp)
     1bbf:	c7 04 24 90 05 00 00 	movl   $0x590,(%esp)
     1bc6:	89 44 24 10          	mov    %eax,0x10(%esp)
     1bca:	b8 04 00 00 00       	mov    $0x4,%eax
     1bcf:	89 44 24 08          	mov    %eax,0x8(%esp)
     1bd3:	b8 d0 13 00 00       	mov    $0x13d0,%eax
     1bd8:	89 44 24 04          	mov    %eax,0x4(%esp)
     1bdc:	e8 fc ff ff ff       	call   1bdd <atapi_cam_attach+0xdd>
     1be1:	85 c0                	test   %eax,%eax
     1be3:	89 c6                	mov    %eax,%esi
     1be5:	74 59                	je     1c40 <atapi_cam_attach+0x140>
     1be7:	89 83 24 02 00 00    	mov    %eax,0x224(%ebx)
     1bed:	31 ff                	xor    %edi,%edi
     1bef:	89 7c 24 04          	mov    %edi,0x4(%esp)
     1bf3:	bf 16 00 00 00       	mov    $0x16,%edi
     1bf8:	89 04 24             	mov    %eax,(%esp)
     1bfb:	e8 fc ff ff ff       	call   1bfc <atapi_cam_attach+0xfc>
     1c00:	85 c0                	test   %eax,%eax
     1c02:	75 3c                	jne    1c40 <atapi_cam_attach+0x140>
     1c04:	83 8b 28 02 00 00 01 	orl    $0x1,0x228(%ebx)
 };
 
 static __inline u_int32_t
 cam_sim_path(struct cam_sim *sim)
 {
     1c0b:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx
     1c10:	ba ff ff ff ff       	mov    $0xffffffff,%edx
     1c15:	bf 0c 00 00 00       	mov    $0xc,%edi
 
 static __inline u_int32_t
 cam_sim_path(struct cam_sim *sim)
 {
 	return (sim->path_id);
     1c1a:	8b 46 10             	mov    0x10(%esi),%eax
     1c1d:	89 4c 24 10          	mov    %ecx,0x10(%esp)
     1c21:	89 54 24 0c          	mov    %edx,0xc(%esp)
     1c25:	89 44 24 08          	mov    %eax,0x8(%esp)
     1c29:	31 c0                	xor    %eax,%eax
     1c2b:	89 44 24 04          	mov    %eax,0x4(%esp)
     1c2f:	8d 45 f0             	lea    0xfffffff0(%ebp),%eax
     1c32:	89 04 24             	mov    %eax,(%esp)
     1c35:	e8 fc ff ff ff       	call   1c36 <atapi_cam_attach+0x136>
     1c3a:	48                   	dec    %eax
     1c3b:	74 14                	je     1c51 <atapi_cam_attach+0x151>
     1c3d:	8d 76 00             	lea    0x0(%esi),%esi
     1c40:	89 d8                	mov    %ebx,%eax
     1c42:	e8 69 fc ff ff       	call   18b0 <free_softc>
     1c47:	89 f8                	mov    %edi,%eax
     1c49:	83 c4 28             	add    $0x28,%esp
     1c4c:	5b                   	pop    %ebx
     1c4d:	5e                   	pop    %esi
     1c4e:	5f                   	pop    %edi
     1c4f:	5d                   	pop    %ebp
     1c50:	c3                   	ret
     1c51:	8b 45 f0             	mov    0xfffffff0(%ebp),%eax
     1c54:	89 83 20 02 00 00    	mov    %eax,0x220(%ebx)
     1c5a:	f6 05 00 00 00 00 02 	testb  $0x2,0x0
     1c61:	74 0a                	je     1c6d <atapi_cam_attach+0x16d>
     1c63:	8b 15 00 00 00 00    	mov    0x0,%edx
     1c69:	85 d2                	test   %edx,%edx
     1c6b:	75 23                	jne    1c90 <atapi_cam_attach+0x190>
     1c6d:	ba 00 01 00 00       	mov    $0x100,%edx
     1c72:	89 d8                	mov    %ebx,%eax
     1c74:	e8 a7 e7 ff ff       	call   420 <setup_async_cb>
     1c79:	31 d2                	xor    %edx,%edx
     1c7b:	83 3d 00 00 00 00 00 	cmpl   $0x0,0x0
     1c82:	89 d8                	mov    %ebx,%eax
     1c84:	0f 94 c2             	sete   %dl
     1c87:	e8 84 e4 ff ff       	call   110 <reinit_bus>
     1c8c:	31 ff                	xor    %edi,%edi
     1c8e:	eb b7                	jmp    1c47 <atapi_cam_attach+0x147>
     1c90:	89 14 24             	mov    %edx,(%esp)
     1c93:	8b 45 f0             	mov    0xfffffff0(%ebp),%eax
     1c96:	89 44 24 04          	mov    %eax,0x4(%esp)
     1c9a:	e8 fc ff ff ff       	call   1c9b <atapi_cam_attach+0x19b>
     1c9f:	85 c0                	test   %eax,%eax
     1ca1:	78 ca                	js     1c6d <atapi_cam_attach+0x16d>
     1ca3:	8b 45 f0             	mov    0xfffffff0(%ebp),%eax
     1ca6:	89 44 24 04          	mov    %eax,0x4(%esp)
     1caa:	a1 00 00 00 00       	mov    0x0,%eax
     1caf:	89 04 24             	mov    %eax,(%esp)
     1cb2:	e8 fc ff ff ff       	call   1cb3 <atapi_cam_attach+0x1b3>
     1cb7:	48                   	dec    %eax
     1cb8:	7f b3                	jg     1c6d <atapi_cam_attach+0x16d>
     1cba:	8b 45 f0             	mov    0xfffffff0(%ebp),%eax
     1cbd:	89 04 24             	mov    %eax,(%esp)
     1cc0:	e8 fc ff ff ff       	call   1cc1 <atapi_cam_attach+0x1c1>
     1cc5:	c7 04 24 9b 04 00 00 	movl   $0x49b,(%esp)
     1ccc:	8b 45 ec             	mov    0xffffffec(%ebp),%eax
     1ccf:	89 44 24 04          	mov    %eax,0x4(%esp)
     1cd3:	e8 fc ff ff ff       	call   1cd4 <atapi_cam_attach+0x1d4>
     1cd8:	a1 00 00 00 00       	mov    0x0,%eax
     1cdd:	85 c0                	test   %eax,%eax
     1cdf:	74 8c                	je     1c6d <atapi_cam_attach+0x16d>
     1ce1:	89 04 24             	mov    %eax,(%esp)
     1ce4:	e8 fc ff ff ff       	call   1ce5 <atapi_cam_attach+0x1e5>
     1ce9:	eb 82                	jmp    1c6d <atapi_cam_attach+0x16d>
     1ceb:	90                   	nop
     1cec:	8d 74 26 00          	lea    0x0(%esi),%esi
     1cf0:	89 34 24             	mov    %esi,(%esp)
     1cf3:	bb b5 04 00 00       	mov    $0x4b5,%ebx
     1cf8:	89 5c 24 04          	mov    %ebx,0x4(%esp)
     1cfc:	e8 fc ff ff ff       	call   1cfd <atapi_cam_attach+0x1fd>
     1d01:	b8 0c 00 00 00       	mov    $0xc,%eax
     1d06:	e9 3e ff ff ff       	jmp    1c49 <atapi_cam_attach+0x149>
     1d0b:	90                   	nop
     1d0c:	8d 74 26 00          	lea    0x0(%esi),%esi
 
 00001d10 <atapi_cam_event_handler>:
 
 static int
 atapi_cam_event_handler(module_t mod, int what, void *arg) {
     1d10:	55                   	push   %ebp
     1d11:	89 e5                	mov    %esp,%ebp
     1d13:	83 ec 1c             	sub    $0x1c,%esp
     device_t *devlist;
     int devcount;
 
     switch (what) {
     1d16:	83 7d 0c 01          	cmpl   $0x1,0xc(%ebp)
     1d1a:	89 5d f8             	mov    %ebx,0xfffffff8(%ebp)
     1d1d:	89 75 fc             	mov    %esi,0xfffffffc(%ebp)
     1d20:	74 0e                	je     1d30 <atapi_cam_event_handler+0x20>
 	case MOD_UNLOAD:
 	    if (devclass_get_devices(atapi_cam_devclass, &devlist, &devcount)
 		  != 0)
 		return ENXIO;
 	    if (devlist != NULL) {
 		while (devlist != NULL && devcount > 0) {
 		    device_t child = devlist[--devcount];
 		    struct atapi_xpt_softc *scp = device_get_softc(child);
 
 		    device_delete_child(device_get_parent(child),child);
 		    if (scp != NULL)
 			free(scp, M_ATACAM);
 		}
 		free(devlist, M_TEMP);
 	    }
 	    break;
 
 	default:
 	    break;
     }
     return 0;
     1d22:	31 d2                	xor    %edx,%edx
 }
     1d24:	8b 5d f8             	mov    0xfffffff8(%ebp),%ebx
     1d27:	89 d0                	mov    %edx,%eax
     1d29:	8b 75 fc             	mov    0xfffffffc(%ebp),%esi
     1d2c:	89 ec                	mov    %ebp,%esp
     1d2e:	5d                   	pop    %ebp
     1d2f:	c3                   	ret
     1d30:	8d 45 f4             	lea    0xfffffff4(%ebp),%eax
     1d33:	89 44 24 08          	mov    %eax,0x8(%esp)
     1d37:	8d 45 f0             	lea    0xfffffff0(%ebp),%eax
     1d3a:	89 44 24 04          	mov    %eax,0x4(%esp)
     1d3e:	a1 00 00 00 00       	mov    0x0,%eax
     1d43:	89 04 24             	mov    %eax,(%esp)
     1d46:	e8 fc ff ff ff       	call   1d47 <atapi_cam_event_handler+0x37>
     1d4b:	85 c0                	test   %eax,%eax
     1d4d:	ba 06 00 00 00       	mov    $0x6,%edx
     1d52:	75 d0                	jne    1d24 <atapi_cam_event_handler+0x14>
     1d54:	8b 55 f0             	mov    0xfffffff0(%ebp),%edx
     1d57:	85 d2                	test   %edx,%edx
     1d59:	74 c7                	je     1d22 <atapi_cam_event_handler+0x12>
     1d5b:	eb 44                	jmp    1da1 <atapi_cam_event_handler+0x91>
     1d5d:	8d 76 00             	lea    0x0(%esi),%esi
     1d60:	48                   	dec    %eax
     1d61:	89 45 f4             	mov    %eax,0xfffffff4(%ebp)
     1d64:	8b 1c 82             	mov    (%edx,%eax,4),%ebx
     1d67:	89 1c 24             	mov    %ebx,(%esp)
     1d6a:	e8 fc ff ff ff       	call   1d6b <atapi_cam_event_handler+0x5b>
     1d6f:	89 1c 24             	mov    %ebx,(%esp)
     1d72:	89 c6                	mov    %eax,%esi
     1d74:	e8 fc ff ff ff       	call   1d75 <atapi_cam_event_handler+0x65>
     1d79:	89 04 24             	mov    %eax,(%esp)
     1d7c:	89 5c 24 04          	mov    %ebx,0x4(%esp)
     1d80:	e8 fc ff ff ff       	call   1d81 <atapi_cam_event_handler+0x71>
     1d85:	85 f6                	test   %esi,%esi
     1d87:	74 11                	je     1d9a <atapi_cam_event_handler+0x8a>
     1d89:	89 34 24             	mov    %esi,(%esp)
     1d8c:	b8 00 01 00 00       	mov    $0x100,%eax
     1d91:	89 44 24 04          	mov    %eax,0x4(%esp)
     1d95:	e8 fc ff ff ff       	call   1d96 <atapi_cam_event_handler+0x86>
     1d9a:	8b 55 f0             	mov    0xfffffff0(%ebp),%edx
     1d9d:	85 d2                	test   %edx,%edx
     1d9f:	74 07                	je     1da8 <atapi_cam_event_handler+0x98>
     1da1:	8b 45 f4             	mov    0xfffffff4(%ebp),%eax
     1da4:	85 c0                	test   %eax,%eax
     1da6:	7f b8                	jg     1d60 <atapi_cam_event_handler+0x50>
     1da8:	89 14 24             	mov    %edx,(%esp)
     1dab:	be 00 00 00 00       	mov    $0x0,%esi
     1db0:	89 74 24 04          	mov    %esi,0x4(%esp)
     1db4:	e8 fc ff ff ff       	call   1db5 <atapi_cam_event_handler+0xa5>
     1db9:	e9 64 ff ff ff       	jmp    1d22 <atapi_cam_event_handler+0x12>

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>,
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 27 Feb 2007 00:52:03 +0100

 * Josh Carroll, 2007-02-27 :
 
 > It would probably just be easier to build atapicam into the kernel so
 > I can get you a proper backtrace.
 
 Well you can try that as well indeed. Will certainly make life easier,
 but on the other hand who knows whether this will change the symptom...
 Worth trying, in any case.
 
 > atapi-cam.o:     file format elf32-i386-freebsd
 > 
 > Disassembly of section .text:
 > 
 > 00000000 <atapi_cam_identify>:
 > MODULE_DEPEND(atapicam, cam, 1, 1, 1);
 > 
 > static void
 > atapi_cam_identify(device_t *dev, device_t parent)
 > {
 >       0:	55                   	push   %ebp
 > 	struct atapi_xpt_softc *scp =
 >       1:	b9 00 01 00 00       	mov    $0x100,%ecx
 >       6:	89 e5                	mov    %esp,%ebp
 >       8:	83 ec 14             	sub    $0x14,%esp
 >       b:	89 75 fc             	mov    %esi,0xfffffffc(%ebp)
 >       e:	be 01 01 00 00       	mov    $0x101,%esi
 
 Mmmm. I'm a bit puzzled, because the code I see here is a bit different.
 Are you using any special make.conf options?
 
 Well in any case this dump proved extremely valuable because I was
 finally able to identify the point where we crash, and I think we
 definitely have a real bug there. A patch is attached, could you please
 test it (in addition to whatever you had at this point, which as far as
 I can gather from prior discussion, consists in the 1st + 3rd patches
 I sent you so far).
 
 Thomas.
 
 Index: sys/dev/ata/atapi-cam.c
 ===================================================================
 RCS file: /space/mirror/ncvs/src/sys/dev/ata/atapi-cam.c,v
 retrieving revision 1.46
 diff -u -r1.46 atapi-cam.c
 --- sys/dev/ata/atapi-cam.c	2 Nov 2006 00:54:35 -0000	1.46
 +++ sys/dev/ata/atapi-cam.c	26 Feb 2007 23:47:52 -0000
 @@ -807,7 +809,7 @@
  	return;
      }
  
 -    CAM_DEBUG(ccb->ccb_h.path, CAM_DEBUG_TRACE, ("Rescanning ATAPI bus.\n"));
 +    CAM_DEBUG(path, CAM_DEBUG_TRACE, ("Rescanning ATAPI bus.\n"));
      xpt_setup_ccb(&ccb->ccb_h, path, 5/*priority (low)*/);
      ccb->ccb_h.func_code = XPT_SCAN_BUS;
      ccb->ccb_h.cbfcnp = cam_rescan_callback;

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Mon, 26 Feb 2007 16:26:36 -0800

 > Well you can try that as well indeed. Will certainly make life easier,
 > but on the other hand who knows whether this will change the symptom...
 > Worth trying, in any case.
 
 Sure, for the testing with new patch, I'll include atapicam in the kernel.
 
 > Mmmm. I'm a bit puzzled, because the code I see here is a bit different.
 > Are you using any special make.conf options?
 
 Yes, sorry. I do have some things in make.conf. I will disable all
 that for future debug builds. I should have done this from the get go!
 I apologize for that.
 
 > Well in any case this dump proved extremely valuable because I was
 > finally able to identify the point where we crash, and I think we
 > definitely have a real bug there. A patch is attached, could you please
 > test it (in addition to whatever you had at this point, which as far as
 > I can gather from prior discussion, consists in the 1st + 3rd patches
 > I sent you so far).
 
 Great! I'm glad it helped. I will go ahead and add this patch to what
 I have now (should still be patch-1 and patch-3, I'm not cvsup'ing so
 that we're dealing with a consistent set of sources).

 Manually adding to audit trail from misfiled PR caught in spamtrap:

 Date: Sun, 25 Feb 2007 15:14:17 -0800
 From: "Josh Carroll" <josh.carroll@gmail.com>

 > no idea why you can't get a trace from the core file. What does gdb say?

 It does not recognize the vmcore file's format (but I'm sure what I'm
 running, gdb /boot/kernel/kernel.debug /var/crash/vmcore.3, is wrong).
 What should I run to have gdb have a go at reading the file?

 > If you can get the bt output from DDB, that will be helpful as well.
 > As alternatives to transcribing these by hand, you can connect a
 > serial console and capture the output, or if that's not practical to
 > you, just let me access a screen picture.

 Unfortunately I don't have access to a serial console. I've attached a
 couple of pictures, though.

 Thanks,
 Josh

 [bugmeister note: since these were too large for GNATS, they have been moved:
   http://people.freebsd.org/~linimon/tmp/panic_after_kldload.jpg
   http://people.freebsd.org/~linimon/tmp/back_trace_page_2.jpg
 ]

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Mon, 26 Feb 2007 18:22:24 -0800

 > Basically you need to traverse the linker_files chained list until you
 > find the entry for atapicam.ko, then make a note of the "address" member
 > of this entry. This is the address atapicam.ko has been loaded at.
 
 Unfortunately, since it panics immediately after the kldload, I can't
 see the load address to add to the offset. Unless this is somewhere in
 the panic output itself, I'm afraid I won't be able to get a backtrace
 with it as a kld.
 
 Furthermore, it appears as though at some point, dumpdev ceased to be
 a tunable option recognized by loader(8), so I can't set a dump
 device. Hence, I can't get a backtrace (unless I transcribe it) from a
 kernel with atapicam built in. I'm poking through the source to see if
 I can hard-code it for now, but it doesn't appear as though there's a
 way to save a dump when the panic happens during the kernel
 initialization. Thoughts on how I can make this work, short of hacking
 the source to hard-code a dumpdev?
 
 Thanks,
 Josh

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Mon, 26 Feb 2007 19:52:08 -0800

 Thomas,
 
 I still get a panic about the mutex Giant on line 4152 of cam_xpt.c
 with the new patch (patch-1, patch-3, patch-4). However, removing the
 GIANT_REQUIRED call on that line (which I think this is essentially
 your patch-3?), I am able to boot without a panic! The box does
 eventually lock up entirely (no panic), but it was up long enough for
 me to run dmesg.
 
 Unfortunately, I cannot write to any of my disks, since I'm in single
 user mode and cannot re-mount rw (mount hangs). I was able to bring up
 my internal interface up and pipe the dmesg -a output over ssh to my
 laptop (found at the end of this message).
 
 Looks like we're much closer to being able to actually debug the code itself :)
 
 Thanks for your hard work and persistence on this! I really appreciate
 your work.
 
 Regards,
 Josh
 
 
 lass 9/0, rev 2.00/1.00, addr 1> on usb2
 uhub2: 4 ports with 4 removable, self powered
 pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
 pci3: <ACPI PCI bus> on pcib2
 pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
 pci2: <ACPI PCI bus> on pcib3
 atapci0: <JMicron JMB363 SATA300 controller> mem 0xfe8fe000-0xfe8fffff
 irq 16 at device 0.0 on pci2
 atapci0: AHCI Version 01.00 controller with 2 ports detected
 ata0: <ATA channel 0> on atapci0
 ata0: [ITHREAD]
 ata1: <ATA channel 1> on atapci0
 ata1: [ITHREAD]
 atapci1: <JMicron JMB363 UDMA133 controller> port
 0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb40f
 at device 0.1 on pci2
 atapci1: [ITHREAD]
 ata2: <ATA channel 0> on atapci1
 ata2: [ITHREAD]
 uhci2: <UHCI (generic) USB controller> port 0xd800-0xd81f irq 23 at
 device 29.0 on pci0
 uhci2: [GIANT-LOCKED]
 uhci2: [ITHREAD]
 usb3: <UHCI (generic) USB controller> on uhci2
 usb3: USB revision 1.0
 uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
 uhub3: 2 ports with 2 removable, self powered
 uhci3: <UHCI (generic) USB controller> port 0xd880-0xd89f irq 19 at
 device 29.1 on pci0
 uhci3: [GIANT-LOCKED]
 uhci3: [ITHREAD]
 usb4: <UHCI (generic) USB controller> on uhci3
 usb4: USB revision 1.0
 uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
 uhub4: 2 ports with 2 removable, self powered
 uhci4: <UHCI (generic) USB controller> port 0xdc00-0xdc1f irq 18 at
 device 29.2 on pci0
 uhci4: [GIANT-LOCKED]
 uhci4: [ITHREAD]
 usb5: <UHCI (generic) USB controller> on uhci4
 usb5: USB revision 1.0
 uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
 uhub5: 2 ports with 2 removable, self powered
 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfebff000-0xfebff3ff
 irq 23 at device 29.7 on pci0
 ehci1: [GIANT-LOCKED]
 ehci1: [ITHREAD]
 usb6: EHCI version 1.0
 usb6: companion controllers, 2 ports each: usb3 usb4 usb5
 usb6: <EHCI (generic) USB 2.0 controller> on ehci1
 usb6: USB revision 2.0
 uhub6: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb6
 uhub6: 6 ports with 6 removable, self powered
 pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pci4: <ACPI PCI bus> on pcib4
 em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xcc00-0xcc3f mem 0xfeae0000-0xfeafffff,0xfeac0000-0xfeadffff irq 22
 at device 1.0 on pci4
 em0: Ethernet address: 00:0e:0c:6c:b9:16
 em0: [FILTER]
 em1: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xc880-0xc8bf mem 0xfea80000-0xfea9ffff,0xfea60000-0xfea7ffff irq 23
 at device 2.0 on pci4
 em1: Ethernet address: 00:0e:0c:6c:b9:0a
 em1: [FILTER]
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci2: <Intel ICH8 SATA300 controller> port
 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe41f
 mem 0xfebff800-0xfebfffff irq 19 at device 31.2 on pci0
 atapci2: [ITHREAD]
 atapci2: AHCI Version 01.10 controller with 4 ports detected
 ata3: <ATA channel 0> on atapci2
 ata3: [ITHREAD]
 ata4: <ATA channel 1> on atapci2
 ata4: [ITHREAD]
 ata5: <ATA channel 2> on atapci2
 ata5: port not implemented
 ata5: [ITHREAD]
 ata6: <ATA channel 3> on atapci2
 ata6: port not implemented
 ata6: [ITHREAD]
 ata7: <ATA channel 4> on atapci2
 ata7: [ITHREAD]
 ata8: <ATA channel 5> on atapci2
 ata8: [ITHREAD]
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 acpi_button0: <Power Button> on acpi0
 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 sio0: [FILTER]
 fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq
 2 on acpi0
 fdc0: [FILTER]
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
 Timecounter "HPET" frequency 14318180 Hz quality 2000
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 atkbd0: [ITHREAD]
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: [GIANT-LOCKED]
 psm0: [ITHREAD]
 psm0: model IntelliMouse, device ID 3
 pmtimer0 on isa0
 orm0: <ISA Option ROMs> at iomem 0xd2000-0xd2fff,0xd3000-0xd3fff pnpid
 ORM0000 on isa0
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 ppbus0: <Parallel port bus> on ppc0
 plip0: <PLIP network interface> on ppbus0
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ppc0: [GIANT-LOCKED]
 ppc0: [ITHREAD]
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 ugen0: <APC Back-UPS ES 500 FW:801.e5.D USB FW:e5, class 0/0, rev
 1.10/1.06, addr 2> on uhub3
 Timecounters tick every 1.000 msec
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (noperiph:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:-1:-1): xpt_async
 (noperiph:ata0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): Registered SIM for ata0
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_compile_path
 (xpt0:ata0:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_scan_bus
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:0:0): xpt_compile_path
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:0:0): xpt_compile_path
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_scan_lun
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_done
 (xpt0:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_compile_path
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:1:0): xpt_compile_path
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_scan_lun
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_done
 (xpt0:ata0:0:1:0): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (noperiph:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_async
 (noperiph:ata1:0:-1:-1): xpt_release_path
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): Registered SIM for ata1
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_compile_path
 (xpt0:ata1:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_scan_bus
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:0:0): xpt_compile_path
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:0:0): xpt_compile_path
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_scan_lun
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_done
 (xpt0:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_compile_path
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:1:0): xpt_compile_path
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_scan_lun
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata0:0:0:0): camisr
 (xpt0:ata0:0:0:0): xpt_scan_bus
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_free_path
 (xpt0:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:1:0): camisr
 (xpt0:ata0:0:1:0): xpt_scan_bus
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_free_path
 (xpt0:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:-1:-1): xpt_done
 (xpt0:ata1:0:0:0): camisr
 (xpt0:ata1:0:0:0): xpt_scan_bus
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_free_path
 (xpt0:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:1:0): camisr
 (xpt0:ata1:0:1:0): xpt_scan_bus
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_free_path
 (xpt0:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:-1:-1): xpt_done
 (xpt0:ata0:0:-1:-1): camisr
 (xpt0:ata0:0:-1:-1): Rescan succeeded
 (xpt0:ata0:0:-1:-1): xpt_free_path
 (xpt0:ata0:0:-1:-1): xpt_release_path
 (xpt0:ata1:0:-1:-1): camisr
 (xpt0:ata1:0:-1:-1): Rescan succeeded
 (xpt0:ata1:0:-1:-1): xpt_free_path
 (xpt0:ata1:0:-1:-1): xpt_release_path
 ad4: 152627MB <WDC WD1600JB-00EVA0 15.05R15> at ata2-master UDMA100
 acd0: DVDR <SONY DVD RW DRU-800A/KY06> at ata2-slave UDMA66
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (noperiph:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:-1:-1): xpt_release_path
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): Registered SIM for ata2
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_compile_path
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 24 0
 (xpt0:ata2:0:0:0): camisr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 ad6: 381553MB <Seagate ST3400633AS 3.AAH> at ata3-master SATA150
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (noperiph:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:-1:-1): xpt_async
 (noperiph:ata3:0:-1:-1): xpt_release_path
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): Registered SIM for ata3
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_compile_path
 (xpt0:ata3:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_scan_bus
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:0:0): xpt_compile_path
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:0:0): xpt_compile_path
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_scan_lun
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_done
 (xpt0:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_compile_path
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:1:0): xpt_compile_path
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_scan_lun
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:0:0): camisr
 (xpt0:ata3:0:0:0): xpt_scan_bus
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_free_path
 (xpt0:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:1:0): camisr
 (xpt0:ata3:0:1:0): xpt_scan_bus
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_free_path
 (xpt0:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:-1:-1): xpt_done
 (xpt0:ata3:0:-1:-1): camisr
 (xpt0:ata3:0:-1:-1): Rescan succeeded
 (xpt0:ata3:0:-1:-1): xpt_free_path
 (xpt0:ata3:0:-1:-1): xpt_release_path
 ad8: 114440MB <Seagate ST3120026AS 8.05> at ata4-master SATA150
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (noperiph:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:-1:-1): xpt_async
 (noperiph:ata4:0:-1:-1): xpt_release_path
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): Registered SIM for ata4
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_compile_path
 (xpt0:ata4:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_scan_bus
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:0:0): xpt_compile_path
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:0:0): xpt_compile_path
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_scan_lun
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_done
 (xpt0:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_compile_path
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:1:0): xpt_compile_path
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_scan_lun
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_done
 (xpt0:ata4:0:1:0): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (noperiph:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_async
 (noperiph:ata5:0:-1:-1): xpt_release_path
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): Registered SIM for ata5
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_compile_path
 (xpt0:ata5:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_scan_bus
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:0:0): xpt_compile_path
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:0:0): xpt_compile_path
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_scan_lun
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_done
 (xpt0:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_compile_path
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:1:0): xpt_compile_path
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_scan_lun
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_done
 (xpt0:ata5:0:1:0): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (noperiph:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_async
 (noperiph:ata6:0:-1:-1): xpt_release_path
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): Registered SIM for ata6
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_compile_path
 (xpt0:ata6:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_scan_bus
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:0:0): xpt_compile_path
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:0:0): xpt_compile_path
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_scan_lun
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_done
 (xpt0:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_compile_path
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:1:0): xpt_compile_path
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_scan_lun
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_done
 (xpt0:ata6:0:1:0): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (noperiph:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_async
 (noperiph:ata7:0:-1:-1): xpt_release_path
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): Registered SIM for ata7
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_compile_path
 (xpt0:ata7:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_scan_bus
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:0:0): xpt_compile_path
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:0:0): xpt_compile_path
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_scan_lun
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_done
 (xpt0:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_compile_path
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:1:0): xpt_compile_path
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_scan_lun
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_done
 (xpt0:ata7:0:1:0): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (noperiph:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_async
 (noperiph:ata8:0:-1:-1): xpt_release_path
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): Registered SIM for ata8
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_compile_path
 (xpt0:ata8:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_scan_bus
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:0:0): xpt_compile_path
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:0:0): xpt_compile_path
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_scan_lun
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_done
 (xpt0:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_compile_path
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:1:0): xpt_compile_path
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_scan_lun
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_done
 (xpt0:ata8:0:1:0): xpt_done
 SMP: AP CPU #1 Launched!
 (xpt0:ata4:0:0:0): camisr
 (xpt0:ata4:0:0:0): xpt_scan_bus
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_free_path
 (xpt0:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:1:0): camisr
 (xpt0:ata4:0:1:0): xpt_scan_bus
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_free_path
 (xpt0:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:-1:-1): xpt_done
 (xpt0:ata5:0:0:0): camisr
 (xpt0:ata5:0:0:0): xpt_scan_bus
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_free_path
 (xpt0:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:1:0): camisr
 (xpt0:ata5:0:1:0): xpt_scan_bus
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_free_path
 (xpt0:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:-1:-1): xpt_done
 (xpt0:ata6:0:0:0): camisr
 (xpt0:ata6:0:0:0): xpt_scan_bus
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_free_path
 (xpt0:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:1:0): camisr
 (xpt0:ata6:0:1:0): xpt_scan_bus
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_free_path
 (xpt0:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:-1:-1): xpt_done
 (xpt0:ata7:0:0:0): camisr
 (xpt0:ata7:0:0:0): xpt_scan_bus
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_free_path
 (xpt0:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:1:0): camisr
 (xpt0:ata7:0:1:0): xpt_scan_bus
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_free_path
 (xpt0:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:-1:-1): xpt_done
 (xpt0:ata8:0:0:0): camisr
 (xpt0:ata8:0:0:0): xpt_scan_bus
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_free_path
 (xpt0:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:1:0): camisr
 (xpt0:ata8:0:1:0): xpt_scan_bus
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_free_path
 (xpt0:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:-1:-1): xpt_done
 (xpt0:ata4:0:-1:-1): camisr
 (xpt0:ata4:0:-1:-1): Rescan succeeded
 (xpt0:ata4:0:-1:-1): xpt_free_path
 (xpt0:ata4:0:-1:-1): xpt_release_path
 (xpt0:ata5:0:-1:-1): camisr
 (xpt0:ata5:0:-1:-1): Rescan succeeded
 (xpt0:ata5:0:-1:-1): xpt_free_path
 (xpt0:ata5:0:-1:-1): xpt_release_path
 (xpt0:ata6:0:-1:-1): camisr
 (xpt0:ata6:0:-1:-1): Rescan succeeded
 (xpt0:ata6:0:-1:-1): xpt_free_path
 (xpt0:ata6:0:-1:-1): xpt_release_path
 (xpt0:ata7:0:-1:-1): camisr
 (xpt0:ata7:0:-1:-1): Rescan succeeded
 (xpt0:ata7:0:-1:-1): xpt_free_path
 (xpt0:ata7:0:-1:-1): xpt_release_path
 (xpt0:ata8:0:-1:-1): camisr
 (xpt0:ata8:0:-1:-1): Rescan succeeded
 (xpt0:ata8:0:-1:-1): xpt_free_path
 (xpt0:ata8:0:-1:-1): xpt_release_path
 Trying to mount root from ufs:/dev/ad10s1a
 
 Manual root filesystem specification:
   <fstype>:<device>  Mount <device> using filesystem <fstype>
                        eg. ufs:da0s1a
   ?                  List valid disk boot devices
   <empty line>       Abort manual input
 
 mountroot> /dev/ad6s1a
 Trying to mount root from /dev/ad6s1a
 
 Manual root filesystem specification:
   <fstype>:<device>  Mount <device> using filesystem <fstype>
                        eg. ufs:da0s1a
   ?                  List valid disk boot devices
   <empty line>       Abort manual input
 
 mountroot> ufs:/dev/ad6s1a
 Trying to mount root from ufs:/dev/ad6s1a
 atapi_action: hcb@0xc54cc680: 12 0 0 0 24 0
 atapi_cb: hcb@0xc54cc680 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 lock order reversal: (Giant after non-sleepable)
  1st 0xc52f8a3c ATAPICAM lock (ATAPICAM lock) @
 /usr/src/sys/dev/ata/atapi-cam.c:725
  2nd 0xc0a55168 Giant (Giant) @ /usr/src/sys/dev/ata/atapi-cam.c:752
 KDB: stack backtrace:
 db_trace_self_wrapper(c0953fb5) at db_trace_self_wrapper+0x25
 kdb_backtrace(0,ffffffff,c0a63fb0,c0a65d88,c09fd2c4,...) at kdb_backtrace+0x29
 witness_checkorder(c0a55168,9,c091d0c1,2f0) at witness_checkorder+0x586
 _mtx_lock_flags(c0a55168,0,c091d0c1,2f0,c54cc680,...) at _mtx_lock_flags+0x84
 free_hcb_and_ccb_done(c54cc680,1,c52f8a3c,0,c091d0c1,...) at
 free_hcb_and_ccb_done+0x56
 atapi_cb(c546ae40) at atapi_cb+0x184
 ata_completed(c546ae40,1) at ata_completed+0x4f0
 taskqueue_run(c5173b00,e3cbace4,c06b3095,0,c51a04e0,...) at taskqueue_run+0xc8
 taskqueue_swi_run(0) at taskqueue_swi_run+0xe
 ithread_execute_handlers(c5168000,c5173a80) at ithread_execute_handlers+0x119
 ithread_loop(c51a04e0,e3cbad38) at ithread_loop+0x67
 fork_exit(c06b3154,c51a04e0,e3cbad38) at fork_exit+0xac
 fork_trampoline() at fork_trampoline+0x8
 --- trap 0, eip = 0, esp = 0xe3cbad70, ebp = 0 ---
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 60 0
 atapi_action: hcb@0xc549c740: 12 0 0 0 60 0
 atapi_cb: hcb@0xc549c740 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 atapi_action: hcb@0xc54cc640: 0 0 0 0 0 0
 atapi_cb: hcb@0xc54cc640 error = 02: (sk = 00 EOM)
 dev acd0: cmd 03 status 50 result 05
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_async
 (pass0:ata2:0:1:0): xpt_compile_path
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_compile_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 atapi_action: hcb@0xc54cc600: 25 0 0 0 0 0 0 0 0 0
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_free_path
 (probe0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): camisr
 (xpt0:ata2:0:1:0): xpt_scan_bus
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_free_path
 (xpt0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:-1:-1): xpt_done
 (xpt0:ata2:0:-1:-1): camisr
 (xpt0:ata2:0:-1:-1): Rescan succeeded
 (xpt0:ata2:0:-1:-1): xpt_free_path
 (xpt0:ata2:0:-1:-1): xpt_release_path
 Enter root password, or ^D to go multi-user
 Password:
 
 
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_compile_path
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 (xpt0:ata2:0:0:0): camisr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 (xpt0:ata2:0:0:0): camisr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 a(txappti0_:cabt:a 2h:c0b:@0:00x)c:5 4ccacm6i0s0r e
 r(rxoprt 0=: at0a02:: (0s:k0 :=0 )0:0 )xp
 td_esvc aanc_db0u:s c
 m(dx pt205: asttaa2t:u0s: 00:00 )r:e sxupltt_ s0e5tu
 p_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 cd0 at ata2 bus 0 target 1 lun 0
 cd0: <SONY DVD RW DRU-800A KY06> Removable CD-ROM SCSI-0 device
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_done
 cd0: 66.000MB/s transfers
 cd0: \M^Q
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 
 atapi_action: hcb@0xc549d800: 0 0 0 0 0 0
 atapi_cb: hcb@0xc549d800 error = 02: (sk = 00 EOM)
 dev acd0: cmd 03 status 50 result 05
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): entering cdstart
 (probe0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
 atapi_action: hcb@0xc549d840: 1e 0 0 0 1 0
 atapi_cb: hcb@0xc549d840 error = 00: (sk = 00)
 dev acd0: cmd 1e status 50 result 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 24 0
 atapi_action: hcb@0xc549d900: 12 0 0 0 24 0
 (cd0:ata2:0:1:0): entering cdsize
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 atapi_cb: hcb@0xc549d900 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): entering cdstart
 (probe0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 atapi_action: hcb@0xc549c240: 25 0 0 0 0 0 0 0 0 0
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 (xpt0:ata2:0:0:0): camisr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 (xpt0:ata2:0:0:0): camisr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 a(txappti0_:cabt:a 2h:c0b:@0:00x)c:5 4c9acm24i0s re
 r(rxoprt 0=: a0t0a:2 :(0s:k0 :=0 )0:0 )x
 pdte_vs caacnd_0b:u sc
 m(dx p2t50 :sattaat2u:s0 :000: 0r)es:u lxtp t0_5se
 tup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 60 0
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 atapi_action: hcb@0xc54cc100: 12 0 0 0 60 0
 atapi_cb: hcb@0xc54cc100 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): entering cdstart
 (probe0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
 atapi_action: hcb@0xc549c180: 43 0 0 0 0 0 0 0 4 0
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 (xpt0:ata2:0:0:0): camisr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 
 At this point, I piped the output over to my laptop, and reset the box.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/103602: commit references a PR
Date: Tue, 27 Feb 2007 09:00:57 +0000 (UTC)

 thomas      2007-02-27 09:00:51 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/dev/ata          atapi-cam.c 
   Log:
   (cam_rescan): Do not reference ccb->ccb_h.path in CAM_DEBUG call before
   it is initialized; use path instead.
   
   This change fixes a panic when using atapicam in conjunction with CAMDEBUG,
   which has been described under kern/103602.
   
   Thanks to Josh Carroll <josh.carroll@gmail.com> for providing the traces
   that allowed identifying this problem.
   
   PR:             kern/103602
   MFC after:      1 week
   
   Revision  Changes    Path
   1.47      +2 -2      src/sys/dev/ata/atapi-cam.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>,
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Wed, 28 Feb 2007 01:00:22 +0100

 * Josh Carroll, 2007-02-27 :
 
 > I still get a panic about the mutex Giant on line 4152 of cam_xpt.c
 > with the new patch (patch-1, patch-3, patch-4). However, removing the
 > GIANT_REQUIRED call on that line (which I think this is essentially
 > your patch-3?), I am able to boot without a panic! The box does
 > eventually lock up entirely (no panic), but it was up long enough for
 > me to run dmesg.
 
 Mmm. Removing GIANT_REQUIRED from anywhere can hide a bug, but won't
 resolve anything.
 
 This is a bit tricky to investigate, because the failed assertion we see
 with GIANT_REQUIRED is not directly related to the bug we're
 investigating, but to the fact that we're enabling CAMDEBUG in
 conjunction with ATAPI/CAM -- not a very usual combination.
 
 > Looks like we're much closer to being able to actually debug the code 
 > itself :)
 
 Yes. My suggestion for now would be to cvsup a fresh kernel (this will
 include the latest patch I sent you) and to apply just the NO_SERIAL
 quirk entry and the new attached patch below, which removes one
 CAM_DEBUG call from xpt_done, which might otherwise cause us trouble
 with the Giant lock. I'm attaching a new combined patch to this message.
 
 What would be interesting next would be to press Ctrl+Alt+Esc when the
 machine freezes. If we're lucky, this will drop you into DDB, from which
 you can use the 'panic' command to get a crash dump.
 
 Thomas.
 
 Index: sys/cam/cam_xpt.c
 ===================================================================
 RCS file: /space/mirror/ncvs/src/sys/cam/cam_xpt.c,v
 retrieving revision 1.174
 diff -u -r1.174 cam_xpt.c
 --- sys/cam/cam_xpt.c	23 Feb 2007 05:47:36 -0000	1.174
 +++ sys/cam/cam_xpt.c	27 Feb 2007 23:20:56 -0000
 @@ -256,6 +256,11 @@
  static struct xpt_quirk_entry xpt_quirk_table[] = 
  {
  	{
 +		/* Hangs on INQUIRY with EVPD flag??? */
 +		{ T_CDROM, SIP_MEDIA_REMOVABLE, sony, "DVD RW DRU*", "*" },
 +		CAM_QUIRK_NOSERIAL, /*mintags*/0, /*maxtags*/0
 +	},
 +	{
  		/* Reports QUEUE FULL for temporary resource shortages */
  		{ T_DIRECT, SIP_MEDIA_FIXED, quantum, "XP39100*", "*" },
  		/*quirks*/0, /*mintags*/24, /*maxtags*/32
 @@ -4902,7 +4907,16 @@
  
  	s = splcam();
  
 +	/*
 +	 * ??? CAM_DEBUG calls xpt_path_comp, which requires Giant to be
 +	 * asserted, but we can't guarantee that in xpt_done, so let's have
 +	 * just a printf here instead.
 +	 */
 +#if 0
  	CAM_DEBUG(done_ccb->ccb_h.path, CAM_DEBUG_TRACE, ("xpt_done\n"));
 +#elif defined(CAMDEBUG)
 +	printf ("(somedev): xpt_done\n");
 +#endif
  	if ((done_ccb->ccb_h.func_code & XPT_FC_QUEUED) != 0) {
  		/*
  		 * Queue up the request for handling by our SWI handler

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 27 Feb 2007 19:36:29 -0800

 > Yes. My suggestion for now would be to cvsup a fresh kernel (this will
 > include the latest patch I sent you) and to apply just the NO_SERIAL
 > quirk entry and the new attached patch below, which removes one
 > CAM_DEBUG call from xpt_done, which might otherwise cause us trouble
 > with the Giant lock. I'm attaching a new combined patch to this message.
 
 I applied the combined patch, but I'm still getting the "mutex Giant
 not owned at /usr/src/sys/cam/cam_xpt.c:4152" panic (transcribed
 backtrace is below).
 
 Was the dmesg output from the previous update not useful because of my
 removal of the GIANT_REQUIRED then?
 
 Thanks,
 Josh
 
 
 atapi_action: hcb@0xc54cc680: 12 0 0 0 24 0
 panic: mutex Giant not owned at /usr/src/sys/cam/cam_xpt.c:4152
 cpuid = 1
 KDB: enter: panic
 [thread pid 20 tid 100024 ]
 Stopped at    kdb_enter+0x2b: nop
 db> bt
 Tracing pid 20 tid 100024 td 0xc5221360
 kdb_enter(c094ff75) at kdb_enter+0x2b
 panic(c094f26f,c0967622,c0907038,1038,c5410b50,...) at panic+0x11c
 _mtx_assert(c0a53be8,1,c0907038,1038,c52f5000,...) at _mtx_assert+0x66
 xpt_path_comp(c5410660,c5410b50) at xpt_path_comp+0x21
 atapi_cb(c54693c0) at atapi_cb+0x42
 ata_completed(c54693c0,1) at ata_completed+0x4f0
 taskqueue_run(c5173600,e570bce4,c06b2fd9,0,c52167a0,...) at taskqueue_run+0xc?
 taskqueue_swi_run(0) at taskqueue_swi_run+0xe
 ithread_execute_handlers(c52206c0,c5173580) at ithread_execute_handlers+0x121
 ithread_loop(c52167a0,e570bd38) at ithread_loop+0x67
 fork_exit(c06b3098,c52167a0,e570bd38) at fork_exit+0xac
 fork_trampoline() at fork_trampoline+0x8
 --- trap 0, eip = 0, esp = 0xe570bd70, ebp = 0 ---
 db>

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>,
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Sun, 4 Mar 2007 23:46:38 +0100

 * Josh Carroll, 2007-02-28 :
 
 > I applied the combined patch, but I'm still getting the "mutex Giant
 > not owned at /usr/src/sys/cam/cam_xpt.c:4152" panic (transcribed
 > backtrace is below).
 > 
 > Was the dmesg output from the previous update not useful because of my
 > removal of the GIANT_REQUIRED then?
 
 Mfff. Oh well. OK, can you try the enclosed patch instead of what
 you currently have? It's a bit more risky, but I really can't see how
 it could really break more stuff in practice, now that we closed the
 loop on the null pointer dereference in cam_rescan.
 
 Thomas.
 
 Index: cam/cam_xpt.c
 ===================================================================
 RCS file: /space/mirror/ncvs/src/sys/cam/cam_xpt.c,v
 retrieving revision 1.174
 diff -u -r1.174 cam_xpt.c
 --- cam/cam_xpt.c	23 Feb 2007 05:47:36 -0000	1.174
 +++ cam/cam_xpt.c	4 Mar 2007 22:45:57 -0000
 @@ -256,6 +256,11 @@
  static struct xpt_quirk_entry xpt_quirk_table[] = 
  {
  	{
 +		/* Hangs on INQUIRY with EVPD flag??? */
 +		{ T_CDROM, SIP_MEDIA_REMOVABLE, sony, "DVD RW DRU*", "*" },
 +		CAM_QUIRK_NOSERIAL, /*mintags*/0, /*maxtags*/0
 +	},
 +	{
  		/* Reports QUEUE FULL for temporary resource shortages */
  		{ T_DIRECT, SIP_MEDIA_FIXED, quantum, "XP39100*", "*" },
  		/*quirks*/0, /*mintags*/24, /*maxtags*/32
 @@ -4144,7 +4149,7 @@
  int
  xpt_path_comp(struct cam_path *path1, struct cam_path *path2)
  {
 -	GIANT_REQUIRED;
 +	/* GIANT_REQUIRED; */
  
  	int retval = 0;
  
 @@ -4180,7 +4185,7 @@
  void
  xpt_print_path(struct cam_path *path)
  {
 -	GIANT_REQUIRED;
 +	/* GIANT_REQUIRED; */
  
  	if (path == NULL)
  		printf("(nopath): ");

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Sun, 4 Mar 2007 21:57:44 -0800

 > Mfff. Oh well. OK, can you try the enclosed patch instead of what
 > you currently have? It's a bit more risky, but I really can't see how
 > it could really break more stuff in practice, now that we closed the
 > loop on the null pointer dereference in cam_rescan.
 
 No panic with this patch, though eventually it does hang.
 ctrl-alt-esc'ing into ddb to do a backtrace and it's just a backtrace
 that looks like a keyboard interrupt. Nothing to do with cam or atapi.
 
 I was able to get the output of dmesg -a (I booted with boot_verbose
 set), which is below. Interestingly enough, before it locks up, I do
 see a /dev/cd0. However, the interrupts increase dramatically if I
 watch vmstat -i as before.
 
 Here's the dmesg output:
 
 
 usb2: USB revision 2.0
 uhub2: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
 uhub2: 4 ports with 4 removable, self powered
 pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
 pcib2:   secondary bus     3
 pcib2:   subordinate bus   3
 pcib2:   I/O decode        0x0-0x0
 pcib2:   prefetched decode 0xdfe00000-0xdfefffff
 pci3: <ACPI PCI bus> on pcib2
 pci3: physical bus=3
 pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
 pcib3:   secondary bus     2
 pcib3:   subordinate bus   2
 pcib3:   I/O decode        0xb000-0xbfff
 pcib3:   memory decode     0xfe800000-0xfe8fffff
 pcib3:   no prefetched decode
 pci2: <ACPI PCI bus> on pcib3
 pci2: physical bus=2
 found->	vendor=0x197b, dev=0x2363, revid=0x02
 	bus=2, slot=0, func=0
 	class=01-06-01, hdrtype=0x00, mfdev=1
 	cmdreg=0x0007, statreg=0x0010, cachelnsz=8 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	powerspec 2  supports D0 D3  current D0
 	map[24]: type 1, range 32, base 0xfe8fe000, size 13, enabled
 pcib3: requested memory range 0xfe8fe000-0xfe8fffff: good
 pcib3: matched entry for 2.0.INTA
 pcib3: slot 0 INTA hardwired to IRQ 16
 found->	vendor=0x197b, dev=0x2363, revid=0x02
 	bus=2, slot=0, func=1
 	class=01-01-85, hdrtype=0x00, mfdev=0
 	cmdreg=0x0007, statreg=0x0010, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=255
 	powerspec 2  supports D0 D3  current D0
 	map[10]: type 4, range 32, base 0xbc00, size  3, enabled
 pcib3: requested I/O range 0xbc00-0xbc07: in range
 	map[14]: type 4, range 32, base 0xb880, size  2, enabled
 pcib3: requested I/O range 0xb880-0xb883: in range
 	map[18]: type 4, range 32, base 0xb800, size  3, enabled
 pcib3: requested I/O range 0xb800-0xb807: in range
 	map[1c]: type 4, range 32, base 0xb480, size  2, enabled
 pcib3: requested I/O range 0xb480-0xb483: in range
 	map[20]: type 4, range 32, base 0xb400, size  4, enabled
 pcib3: requested I/O range 0xb400-0xb40f: in range
 atapci0: <JMicron JMB363 SATA300 controller> mem 0xfe8fe000-0xfe8fffff
 irq 16 at device 0.0 on pci2
 atapci0: Reserved 0x2000 bytes for rid 0x24 type 3 at 0xfe8fe000
 atapci0: AHCI Version 01.00 controller with 2 ports detected
 ata0: <ATA channel 0> on atapci0
 ata0: SATA connect status=00000000
 ioapic0: routing intpin 14 (ISA IRQ 14) to vector 52
 ata0: [MPSAFE]
 ata0: [ITHREAD]
 ata1: <ATA channel 1> on atapci0
 ata1: SATA connect status=00000000
 ioapic0: routing intpin 15 (ISA IRQ 15) to vector 53
 ata1: [MPSAFE]
 ata1: [ITHREAD]
 atapci1: <JMicron JMB363 UDMA133 controller> port
 0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb40f
 at device 0.1 on pci2
 atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0xb400
 pcib3: matched entry for 2.0.INTB
 pcib3: slot 0 INTB hardwired to IRQ 17
 atapci1: [MPSAFE]
 atapci1: [ITHREAD]
 ata2: <ATA channel 0> on atapci1
 atapci1: Reserved 0x8 bytes for rid 0x10 type 4 at 0xbc00
 atapci1: Reserved 0x4 bytes for rid 0x14 type 4 at 0xb880
 ata2: reset tp1 mask=03 ostat0=50 ostat1=00
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 ata2: [MPSAFE]
 ata2: [ITHREAD]
 uhci2: <UHCI (generic) USB controller> port 0xd800-0xd81f irq 23 at
 device 29.0 on pci0
 uhci2: Reserved 0x20 bytes for rid 0x20 type 4 at 0xd800
 ioapic0: routing intpin 23 (PCI IRQ 23) to vector 54
 uhci2: [GIANT-LOCKED]
 uhci2: [ITHREAD]
 usb3: <UHCI (generic) USB controller> on uhci2
 usb3: USB revision 1.0
 uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
 uhub3: 2 ports with 2 removable, self powered
 uhci3: <UHCI (generic) USB controller> port 0xd880-0xd89f irq 19 at
 device 29.1 on pci0
 uhci3: Reserved 0x20 bytes for rid 0x20 type 4 at 0xd880
 ioapic0: routing intpin 19 (PCI IRQ 19) to vector 55
 uhci3: [GIANT-LOCKED]
 uhci3: [ITHREAD]
 usb4: <UHCI (generic) USB controller> on uhci3
 usb4: USB revision 1.0
 uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
 uhub4: 2 ports with 2 removable, self powered
 uhci4: <UHCI (generic) USB controller> port 0xdc00-0xdc1f irq 18 at
 device 29.2 on pci0
 uhci4: Reserved 0x20 bytes for rid 0x20 type 4 at 0xdc00
 uhci4: [GIANT-LOCKED]
 uhci4: [ITHREAD]
 usb5: <UHCI (generic) USB controller> on uhci4
 usb5: USB revision 1.0
 uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
 uhub5: 2 ports with 2 removable, self powered
 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfebff000-0xfebff3ff
 irq 23 at device 29.7 on pci0
 ehci1: Reserved 0x400 bytes for rid 0x10 type 3 at 0xfebff000
 ehci1: [GIANT-LOCKED]
 ehci1: [ITHREAD]
 usb6: EHCI version 1.0
 usb6: companion controllers, 2 ports each: usb3 usb4 usb5
 usb6: <EHCI (generic) USB 2.0 controller> on ehci1
 usb6: USB revision 2.0
 uhub6: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb6
 uhub6: 6 ports with 6 removable, self powered
 pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pcib4:   secondary bus     4
 pcib4:   subordinate bus   4
 pcib4:   I/O decode        0xc000-0xcfff
 pcib4:   memory decode     0xfe900000-0xfeafffff
 pcib4:   no prefetched decode
 pcib4:   Subtractively decoded bridge.
 pci4: <ACPI PCI bus> on pcib4
 pci4: physical bus=4
 found->	vendor=0x8086, dev=0x1076, revid=0x00
 	bus=4, slot=1, func=0
 	class=02-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0017, statreg=0x0230, cachelnsz=8 (dwords)
 	lattimer=0x40 (1920 ns), mingnt=0xff (63750 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=14
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message, 64 bit
 	map[10]: type 1, range 32, base 0xfeae0000, size 17, enabled
 pcib4: requested memory range 0xfeae0000-0xfeafffff: good
 	map[14]: type 1, range 32, base 0xfeac0000, size 17, enabled
 pcib4: requested memory range 0xfeac0000-0xfeadffff: good
 	map[18]: type 4, range 32, base 0xcc00, size  6, enabled
 pcib4: requested I/O range 0xcc00-0xcc3f: in range
 pcib4: matched entry for 4.1.INTA
 pcib4: slot 1 INTA hardwired to IRQ 22
 found->	vendor=0x8086, dev=0x1076, revid=0x00
 	bus=4, slot=2, func=0
 	class=02-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0017, statreg=0x0230, cachelnsz=8 (dwords)
 	lattimer=0x40 (1920 ns), mingnt=0xff (63750 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=3
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message, 64 bit
 	map[10]: type 1, range 32, base 0xfea80000, size 17, enabled
 pcib4: requested memory range 0xfea80000-0xfea9ffff: good
 	map[14]: type 1, range 32, base 0xfea60000, size 17, enabled
 pcib4: requested memory range 0xfea60000-0xfea7ffff: good
 	map[18]: type 4, range 32, base 0xc880, size  6, enabled
 pcib4: requested I/O range 0xc880-0xc8bf: in range
 pcib4: matched entry for 4.2.INTA
 pcib4: slot 2 INTA hardwired to IRQ 23
 em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xcc00-0xcc3f mem 0xfeae0000-0xfeafffff,0xfeac0000-0xfeadffff irq 22
 at device 1.0 on pci4
 em0: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xfeae0000
 em0: Reserved 0x40 bytes for rid 0x18 type 4 at 0xcc00
 em0: attempting to allocate 1 MSI vectors (1 supported)
 msi: routing MSI IRQ 256 to vector 56
 em0: using IRQ 256 for MSI
 em0: bpf attached
 em0: Ethernet address: 00:0e:0c:6c:b9:16
 em0: [FILTER]
 em1: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xc880-0xc8bf mem 0xfea80000-0xfea9ffff,0xfea60000-0xfea7ffff irq 23
 at device 2.0 on pci4
 em1: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xfea80000
 em1: Reserved 0x40 bytes for rid 0x18 type 4 at 0xc880
 em1: attempting to allocate 1 MSI vectors (1 supported)
 msi: routing MSI IRQ 257 to vector 57
 em1: using IRQ 257 for MSI
 em1: bpf attached
 em1: Ethernet address: 00:0e:0c:6c:b9:0a
 em1: [FILTER]
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci2: <Intel ICH8 SATA300 controller> port
 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe41f
 mem 0xfebff800-0xfebfffff irq 19 at device 31.2 on pci0
 atapci2: Reserved 0x20 bytes for rid 0x20 type 4 at 0xe400
 atapci2: [MPSAFE]
 atapci2: [ITHREAD]
 atapci2: Reserved 0x800 bytes for rid 0x24 type 3 at 0xfebff800
 atapci2: AHCI Version 01.10 controller with 4 ports detected
 ata3: <ATA channel 0> on atapci2
 ata3: SATA connect ready time=0ms
 ata3: sata_connect devices=0x1<ATA_MASTER>
 ata3: [MPSAFE]
 ata3: [ITHREAD]
 ata4: <ATA channel 1> on atapci2
 ata4: SATA connect ready time=0ms
 ata4: sata_connect devices=0x1<ATA_MASTER>
 ata4: [MPSAFE]
 ata4: [ITHREAD]
 ata5: <ATA channel 2> on atapci2
 ata5: port not implemented
 ata5: SATA connect status=00000000
 ata5: [MPSAFE]
 ata5: [ITHREAD]
 ata6: <ATA channel 3> on atapci2
 ata6: port not implemented
 ata6: SATA connect status=00000000
 ata6: [MPSAFE]
 ata6: [ITHREAD]
 ata7: <ATA channel 4> on atapci2
 ata7: SATA connect status=00000000
 ata7: [MPSAFE]
 ata7: [ITHREAD]
 ata8: <ATA channel 5> on atapci2
 ata8: SATA connect status=00000000
 ata8: [MPSAFE]
 ata8: [ITHREAD]
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 acpi_button0: <Power Button> on acpi0
 sio0: irq maps: 0xcc29 0xcc39 0xcc29 0xcc29
 sio0: irq maps: 0xcc29 0xcc39 0xcc29 0xcc29
 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 ioapic0: routing intpin 4 (ISA IRQ 4) to vector 58
 sio0: [FILTER]
 fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq
 2 on acpi0
 fdc0: ic_type 90 part_id 80
 ioapic0: routing intpin 6 (ISA IRQ 6) to vector 59
 fdc0: [FILTER]
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
 acpi_hpet0: vend: 0x8086 rev: 0x1 num: 1 hz: 14318180 opts: leg_route count_size
 Timecounter "HPET" frequency 14318180 Hz quality 2000
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 atkbd: the current kbd controller command byte 0065
 atkbd: keyboard ID 0x41ab (2)
 kbd0 at atkbd0
 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
 ioapic0: routing intpin 1 (ISA IRQ 1) to vector 60
 atkbd0: [GIANT-LOCKED]
 atkbd0: [ITHREAD]
 psm0: unable to allocate IRQ
 psmcpnp0: <PS/2 mouse port> irq 12 on acpi0
 psm0: current command byte:0065
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 ioapic0: routing intpin 12 (ISA IRQ 12) to vector 61
 psm0: [GIANT-LOCKED]
 psm0: [ITHREAD]
 psm0: model IntelliMouse, device ID 3-00, 3 buttons
 psm0: config:00000000, flags:00000008, packet size:4
 psm0: syncmask:08, syncbits:00
 unknown: status reg test failed ff
 unknown: status reg test failed ff
 unknown: status reg test failed ff
 unknown: status reg test failed ff
 unknown: status reg test failed ff
 unknown: status reg test failed ff
 ex_isa_identify()
 atkbdc: atkbdc0 already exists; skipping it
 fdc: fdc0 already exists; skipping it
 sio: sio0 already exists; skipping it
 pnp_identify: Trying Read_Port at 203
 pnp_identify: Trying Read_Port at 243
 pnp_identify: Trying Read_Port at 283
 pnp_identify: Trying Read_Port at 2c3
 pnp_identify: Trying Read_Port at 303
 pnp_identify: Trying Read_Port at 343
 pnp_identify: Trying Read_Port at 383
 pnp_identify: Trying Read_Port at 3c3
 PNP Identify complete
 ahc_isa_probe 11: ioport 0xbc00 alloc failed
 ahc_isa_probe 12: ioport 0xcc00 alloc failed
 ahc_isa_probe 13: ioport 0xdc00 alloc failed
 ahc_isa_probe 14: ioport 0xec00 alloc failed
 sc: sc0 already exists; skipping it
 vga: vga0 already exists; skipping it
 isa_probe_children: disabling PnP devices
 isa_probe_children: probing non-PnP devices
 pmtimer0 on isa0
 orm0: <ISA Option ROMs> at iomem 0xd2000-0xd2fff,0xd3000-0xd3fff pnpid
 ORM0000 on isa0
 adv0: not probed (disabled)
 aha0: not probed (disabled)
 aic0: not probed (disabled)
 bt0: not probed (disabled)
 cs0: not probed (disabled)
 ed0: not probed (disabled)
 fe0: not probed (disabled)
 ie0: not probed (disabled)
 lnc0: not probed (disabled)
 ppc0: parallel port found at 0x378
 ppc0: using extended I/O port range
 ppc0: ECP SPP ECP+EPP SPP
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 ppbus0: <Parallel port bus> on ppc0
 plip0: <PLIP network interface> on ppbus0
 plip0: bpf attached
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ioapic0: routing intpin 7 (ISA IRQ 7) to vector 62
 ppc0: [GIANT-LOCKED]
 ppc0: [ITHREAD]
 fb: new array size 4
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sc0: fb0, kbd1, terminal emulator: sc (syscons terminal)
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 sio1: irq maps: 0xcca9 0xcca9 0xcca9 0xcca9
 sio1: probe failed test(s): 0 1 2 4 6 7 9
 sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
 sio2: not probed (disabled)
 sio3: not probed (disabled)
 sn0: not probed (disabled)
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 vt0: not probed (disabled)
 isa_probe_children: probing PnP devices
 ugen0: <APC Back-UPS ES 500 FW:801.e5.D USB FW:e5, class 0/0, rev
 1.10/1.06, addr 2> on uhub3
 Device configuration finished.
 Reducing kern.maxvnodes 134081 -> 100000
 procfs registered
 lapic: Divisor 2, Frequency 200000975 hz
 Timecounter "TSC" frequency 3200015536 Hz quality -100
 Timecounters tick every 1.000 msec
 lo0: bpf attached
 rr232x: no controller detected.
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (noperiph:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:-1:-1): xpt_async
 (noperiph:ata0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): Registered SIM for ata0
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_compile_path
 (xpt0:ata0:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_scan_bus
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:0:0): xpt_compile_path
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:0:0): xpt_compile_path
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_scan_lun
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_done
 (xpt0:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_compile_path
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:1:0): xpt_compile_path
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_scan_lun
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_done
 (xpt0:ata0:0:1:0): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (noperiph:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_async
 (noperiph:ata1:0:-1:-1): xpt_release_path
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): Registered SIM for ata1
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_compile_path
 (xpt0:ata1:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_scan_bus
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:0:0): xpt_compile_path
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:0:0): xpt_compile_path
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_scan_lun
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_done
 (xpt0:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_compile_path
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:1:0): xpt_compile_path
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_scan_lun
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata0:0:0:0): camisr
 (xpt0:ata0:0:0:0): xpt_scan_bus
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_free_path
 (xpt0:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:1:0): camisr
 (xpt0:ata0:0:1:0): xpt_scan_bus
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_free_path
 (xpt0:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:-1:-1): xpt_done
 (xpt0:ata1:0:0:0): camisr
 (xpt0:ata1:0:0:0): xpt_scan_bus
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_free_path
 (xpt0:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:1:0): camisr
 (xpt0:ata1:0:1:0): xpt_scan_bus
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_free_path
 (xpt0:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:-1:-1): xpt_done
 (xpt0:ata0:0:-1:-1): camisr
 (xpt0:ata0:0:-1:-1): Rescan succeeded
 (xpt0:ata0:0:-1:-1): xpt_free_path
 (xpt0:ata0:0:-1:-1): xpt_release_path
 (xpt0:ata1:0:-1:-1): camisr
 (xpt0:ata1:0:-1:-1): Rescan succeeded
 (xpt0:ata1:0:-1:-1): xpt_free_path
 (xpt0:ata1:0:-1:-1): xpt_release_path
 ata2-slave: pio=PIO4 wdma=WDMA2 udma=UDMA66 cable=40 wire
 ata2-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=80 wire
 ad4: 152627MB <WDC WD1600JB-00EVA0 15.05R15> at ata2-master UDMA100
 ad4: 312581808 sectors [310101C/16H/63S] 16 sectors/interrupt 1 depth queue
 ad4: JMicron check1 failed
 ad4: Adaptec check1 failed
 ad4: LSI (v3) check1 failed
 ad4: LSI (v2) check1 failed
 ad4: FreeBSD check1 failed
 acd0: <SONY DVD RW DRU-800A/KY06> DVDR drive at ata2 as slave
 acd0: read 8268KB/s (8268KB/s) write 8268KB/s (8268KB/s), 2048KB buffer, UDMA66
 acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, packet
 acd0: Writes: CDR, CDRW, DVDR, test write, burnproof
 acd0: Audio: play, 256 volume levels
 acd0: Mechanism: ejectable tray, unlocked
 acd0: Medium: no/blank disc
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (noperiph:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:-1:-1): xpt_release_path
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): Registered SIM for ata2
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_compile_path
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 24 0
 (xpt0:ata2:0:0:0): camisr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 ata3-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire
 ad6: 381553MB <Seagate ST3400633AS 3.AAH> at ata3-master SATA150
 ad6: 781420655 sectors [775218C/16H/63S] 16 sectors/interrupt 1 depth queue
 ad6: Intel check1 failed
 ad6: Adaptec check1 failed
 ad6: LSI (v3) check1 failed
 ad6: LSI (v2) check1 failed
 ad6: FreeBSD check1 failed
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (noperiph:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:-1:-1): xpt_async
 (noperiph:ata3:0:-1:-1): xpt_release_path
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): Registered SIM for ata3
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_compile_path
 (xpt0:ata3:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_scan_bus
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:0:0): xpt_compile_path
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:0:0): xpt_compile_path
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_scan_lun
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_done
 (xpt0:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_compile_path
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:1:0): xpt_compile_path
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_scan_lun
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:0:0): camisr
 (xpt0:ata3:0:0:0): xpt_scan_bus
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_free_path
 (xpt0:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:1:0): camisr
 (xpt0:ata3:0:1:0): xpt_scan_bus
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_free_path
 (xpt0:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:-1:-1): xpt_done
 (xpt0:ata3:0:-1:-1): camisr
 (xpt0:ata3:0:-1:-1): Rescan succeeded
 (xpt0:ata3:0:-1:-1): xpt_free_path
 (xpt0:ata3:0:-1:-1): xpt_release_path
 ata4-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire
 ad8: 114440MB <Seagate ST3120026AS 8.05> at ata4-master SATA150
 ad8: 234375000 sectors [232514C/16H/63S] 16 sectors/interrupt 1 depth queue
 ad8: Intel check1 failed
 ad8: Adaptec check1 failed
 ad8: LSI (v3) check1 failed
 ad8: LSI (v2) check1 failed
 ad8: FreeBSD check1 failed
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (noperiph:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:-1:-1): xpt_async
 (noperiph:ata4:0:-1:-1): xpt_release_path
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): Registered SIM for ata4
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_compile_path
 (xpt0:ata4:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_scan_bus
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:0:0): xpt_compile_path
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:0:0): xpt_compile_path
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_scan_lun
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_done
 (xpt0:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_compile_path
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:1:0): xpt_compile_path
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_scan_lun
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_done
 (xpt0:ata4:0:1:0): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (noperiph:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_async
 (noperiph:ata5:0:-1:-1): xpt_release_path
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): Registered SIM for ata5
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_compile_path
 (xpt0:ata5:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_scan_bus
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:0:0): xpt_compile_path
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:0:0): xpt_compile_path
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_scan_lun
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_done
 (xpt0:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_compile_path
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:1:0): xpt_compile_path
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_scan_lun
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_done
 (xpt0:ata5:0:1:0): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (noperiph:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_async
 (noperiph:ata6:0:-1:-1): xpt_release_path
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): Registered SIM for ata6
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_compile_path
 (xpt0:ata6:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_scan_bus
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:0:0): xpt_compile_path
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:0:0): xpt_compile_path
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_scan_lun
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_done
 (xpt0:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_compile_path
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:1:0): xpt_compile_path
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_scan_lun
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_done
 (xpt0:ata6:0:1:0): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (noperiph:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_async
 (noperiph:ata7:0:-1:-1): xpt_release_path
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): Registered SIM for ata7
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_compile_path
 (xpt0:ata7:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_scan_bus
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:0:0): xpt_compile_path
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:0:0): xpt_compile_path
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_scan_lun
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_done
 (xpt0:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_compile_path
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:1:0): xpt_compile_path
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_scan_lun
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_done
 (xpt0:ata7:0:1:0): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (noperiph:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_async
 (noperiph:ata8:0:-1:-1): xpt_release_path
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): Registered SIM for ata8
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_compile_path
 (xpt0:ata8:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_scan_bus
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:0:0): xpt_compile_path
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:0:0): xpt_compile_path
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_scan_lun
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_done
 (xpt0:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_compile_path
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:1:0): xpt_compile_path
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_scan_lun
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_done
 (xpt0:ata8:0:1:0): xpt_done
 ATA PseudoRAID loaded
 SMP: AP CPU #1 Launched!
 cpu1 AP:
      ID: 0x01000000   VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
   lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
   timer: 0x000200ef therm: 0x00010000 err: 0x00010000 pcm: 0x00010000
 ioapic0: Assigning ISA IRQ 1 to local APIC 0
 ioapic0: Assigning ISA IRQ 4 to local APIC 1
 ioapic0: Assigning ISA IRQ 6 to local APIC 0
 ioapic0: Assigning ISA IRQ 7 to local APIC 1
 ioapic0: Assigning ISA IRQ 9 to local APIC 0
 ioapic0: Assigning ISA IRQ 12 to local APIC 1
 ioapic0: Assigning ISA IRQ 14 to local APIC 0
 ioapic0: Assigning ISA IRQ 15 to local APIC 1
 ioapic0: Assigning PCI IRQ 16 to local APIC 0
 ioapic0: Assigning PCI IRQ 17 to local APIC 1
 ioapic0: Assigning PCI IRQ 18 to local APIC 0
 ioapic0: Assigning PCI IRQ 19 to local APIC 1
 ioapic0: Assigning PCI IRQ 23 to local APIC 0
 msi: Assigning MSI IRQ 256 to local APIC 1
 msi: Assigning MSI IRQ 257 to local APIC 0
 (xpt0:ata4:0:0:0): camisr
 (xpt0:ata4:0:0:0): xpt_scan_bus
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_free_path
 (xpt0:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:1:0): camisr
 (xpt0:ata4:0:1:0): xpt_scan_bus
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_free_path
 (xpt0:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:-1:-1): xpt_done
 (xpt0:ata5:0:0:0): camisr
 (xpt0:ata5:0:0:0): xpt_scan_bus
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_free_path
 (xpt0:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:1:0): camisr
 (xpt0:ata5:0:1:0): xpt_scan_bus
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_free_path
 (xpt0:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:-1:-1): xpt_done
 (xpt0:ata6:0:0:0): camisr
 (xpt0:ata6:0:0:0): xpt_scan_bus
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_free_path
 (xpt0:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:1:0): camisr
 (xpt0:ata6:0:1:0): xpt_scan_bus
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_free_path
 (xpt0:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:-1:-1): xpt_done
 (xpt0:ata7:0:0:0): camisr
 (xpt0:ata7:0:0:0): xpt_scan_bus
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_free_path
 (xpt0:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:1:0): camisr
 (xpt0:ata7:0:1:0): xpt_scan_bus
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_free_path
 (xpt0:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:-1:-1): xpt_done
 (xpt0:ata8:0:0:0): camisr
 (xpt0:ata8:0:0:0): xpt_scan_bus
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_free_path
 (xpt0:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:1:0): camisr
 (xpt0:ata8:0:1:0): xpt_scan_bus
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_free_path
 (xpt0:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:-1:-1): xpt_done
 (xpt0:ata4:0:-1:-1): camisr
 (xpt0:ata4:0:-1:-1): Rescan succeeded
 (xpt0:ata4:0:-1:-1): xpt_free_path
 (xpt0:ata4:0:-1:-1): xpt_release_path
 (xpt0:ata5:0:-1:-1): camisr
 (xpt0:ata5:0:-1:-1): Rescan succeeded
 (xpt0:ata5:0:-1:-1): xpt_free_path
 (xpt0:ata5:0:-1:-1): xpt_release_path
 (xpt0:ata6:0:-1:-1): camisr
 (xpt0:ata6:0:-1:-1): Rescan succeeded
 (xpt0:ata6:0:-1:-1): xpt_free_path
 (xpt0:ata6:0:-1:-1): xpt_release_path
 (xpt0:ata7:0:-1:-1): camisr
 (xpt0:ata7:0:-1:-1): Rescan succeeded
 (xpt0:ata7:0:-1:-1): xpt_free_path
 (xpt0:ata7:0:-1:-1): xpt_release_path
 (xpt0:ata8:0:-1:-1): camisr
 (xpt0:ata8:0:-1:-1): Rescan succeeded
 (xpt0:ata8:0:-1:-1): xpt_free_path
 (xpt0:ata8:0:-1:-1): xpt_release_path
 GEOM: new disk ad4
 GEOM: new disk ad6
 GEOM: new disk ad8
 Trying to mount root from ufs:/dev/ad10s1a
 
 Manual root filesystem specification:
   <fstype>:<device>  Mount <device> using filesystem <fstype>
                        eg. ufs:da0s1a
   ?                  List valid disk boot devices
   <empty line>       Abort manual input
 
 mountroot> ufs:/dev/ad6s1a
 Trying to mount root from ufs:/dev/ad6s1a
 atapi_action: hcb@0xc54cc6c0: 12 0 0 0 24 0
 atapi_cb: hcb@0xc54cc6c0 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 60 0
 atapi_action: hcb@0xc549c700: 12 0 0 0 60 0
 atapi_cb: hcb@0xc549c700 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): Down reving Protocol Version from 2 to 0?
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 atapi_action: hcb@0xc549c6c0: 0 0 0 0 0 0
 atapi_cb: hcb@0xc549c6c0 error = 02: (sk = 00 EOM)
 dev acd0: cmd 03 status 50 result 05
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_async
 (pass0:ata2:0:1:0): xpt_compile_path
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 pass0 at ata2 bus 0 target 1 lun 0
 pass0: <SONY DVD RW DRU-800A KY06> Removable CD-ROM SCSI-0 device
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): xpt_done
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): xpt_done
 pass0: 66.000MB/s transfers
 (cd0:ata2:0:1:0): xpt_compile_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_actionG
 E(OcMd:0 :naetwa 2d:i0s:k1 :c0d)0:
 xpt_schedule
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 atapi_action: hcb@0xc54cc680: 25 0 0 0 0 0 0 0 0 0
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_free_path
 (probe0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): camisr
 (xpt0:ata2:0:1:0): xpt_scan_bus
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_free_path
 (xpt0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:-1:-1): xpt_done
 (xpt0:ata2:0:-1:-1): camisr
 (xpt0:ata2:0:-1:-1): Rescan succeeded
 (xpt0:ata2:0:-1:-1): xpt_free_path
 (xpt0:ata2:0:-1:-1): xpt_release_path
 start_init: trying /sbin/init
 Enter root password, or ^D to go multi-user
 Password:
 
 Enter full pathname of shell or RETURN for /bin/sh:
 
 ata2: reiniting channel ..
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_compile_path
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 a(txap2t:0 :raetian2i:t0 :d0o:n0e) :. .ca
 misr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 
 ata2: reiniting channel ..
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_compile_path
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 a(txap2t:0 :raetian2i:t0 :d0o:n0e) :. .ca
 misr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 
 ata2: reiniting channel ..
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 a(txap2t:0 :raetian2i:t0 :d0o:n0e) :. .ca
 misr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>,
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Mon, 5 Mar 2007 16:21:34 +0100

 * Josh Carroll, 2007-03-05 :
 
 > I was able to get the output of dmesg -a (I booted with boot_verbose
 > set), which is below. Interestingly enough, before it locks up, I do
 > see a /dev/cd0. However, the interrupts increase dramatically if I
 > watch vmstat -i as before.
 
 I don't see cd0 anywhere in the trace you provided, I see the drive
 attached only as pass0, can you clarify where you see it?
 
 > pass0 at ata2 bus 0 target 1 lun 0
 > pass0: <SONY DVD RW DRU-800A KY06> Removable CD-ROM SCSI-0 device
 
 Also, can you enable the CAM_DEBUG_SUBTRACE and CAM_DEBUG_CDB flags in
 CAM_DEBUG_FLAGS, in addition to what you currently have? This will
 provide more information as to what is going on in ATAPI/CAM.
 
 While we're at it, please also apply the following patch, which will
 turn on some additional traces on the ATA side.
 
 Thanks,
 Thomas.
 
 Index: sys/dev/ata/ata-all.h
 ===================================================================
 RCS file: /space/mirror/ncvs/src/sys/dev/ata/ata-all.h,v
 retrieving revision 1.120
 diff -u -r1.120 ata-all.h
 --- sys/dev/ata/ata-all.h	21 Feb 2007 19:07:18 -0000	1.120
 +++ sys/dev/ata/ata-all.h	5 Mar 2007 15:11:02 -0000
 @@ -380,7 +380,7 @@
  };
  
  /* define this for debugging request processing */
 -#if 0
 +#if 1
  #define ATA_DEBUG_RQ(request, string) \
      { \
      if (request->flags & ATA_R_DEBUG) \
 Index: sys/dev/ata/atapi-cam.c
 ===================================================================
 RCS file: /space/mirror/ncvs/src/sys/dev/ata/atapi-cam.c,v
 retrieving revision 1.47
 diff -u -r1.47 atapi-cam.c
 --- sys/dev/ata/atapi-cam.c	27 Feb 2007 09:00:51 -0000	1.47
 +++ sys/dev/ata/atapi-cam.c	5 Mar 2007 15:19:32 -0000
 @@ -542,6 +542,9 @@
  		printf("atapi_action: hcb@%p: %s\n", hcb,
  		       scsi_cdb_string(request->u.atapi.ccb, cdb_str, sizeof(cdb_str)));
  	}
 +	if (CAM_DEBUGGED(ccb_h->path, CAM_DEBUG_SUBTRACE)) {
 +		request_flags |= ATA_R_DEBUG;
 +	}
  #endif
  
  	len = csio->dxfer_len;

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Mon, 5 Mar 2007 08:37:43 -0800

 > I don't see cd0 anywhere in the trace you provided, I see the drive
 > attached only as pass0, can you clarify where you see it?
 
 I saw an entry in /dev for /dev/cd0 along with /dev/acd0
 
 > Also, can you enable the CAM_DEBUG_SUBTRACE and CAM_DEBUG_CDB flags in
 > CAM_DEBUG_FLAGS, in addition to what you currently have? This will
 > provide more information as to what is going on in ATAPI/CAM.
 >
 > While we're at it, please also apply the following patch, which will
 > turn on some additional traces on the ATA side.
 
 I enabled all the available CAMDEBUG options and included the ata
 patch. The verbose dmesg output is below. I had to increase the
 MSGBUF_SIZE in the kernel so it wouldn't get truncated. I do see some
 references to cd0 in this dmesg output.
 
 Thanks,
 Josh
 
 
 Copyright (c) 1992-2007 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.0-CURRENT #15: Mon Mar  5 07:59:17 PST 2007
     root@pflog.net:/usr/obj/usr/src/sys/DEBLIN
 WARNING: WITNESS option enabled, expect reduced performance.
 Using 64 colors for the VM-PQ tuning (4096, 16)
 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0c28000.
 Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0c28194.
 Calibrating clock(s) ... i8254 clock: 1193140 Hz
 CLK_USE_I8254_CALIBRATION not specified - using default frequency
 Timecounter "i8254" frequency 1193182 Hz quality 0
 Calibrating TSC clock ... TSC clock: 3200016664 Hz
 CPU: Intel(R) Core(TM)2 CPU         X6900  @ 3.20GHz (3200.02-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,XTPR,<b15>>
   AMD Features=0x20100000<NX,LM>
   AMD Features2=0x1<LAHF>
   Cores per package: 2
 
 Instruction TLB: 4 KB Pages, 4-way set associative, 128 entries
 1st-level instruction cache: 32 KB, 8-way set associative, 64 byte line size
 1st-level data cache: 32 KB, 8-way set associative, 64 byte line size
 L2 cache: 4096 kbytes, 16-way associative, 64 bytes/line
 real memory  = 2147024896 (2047 MB)
 Physical memory chunk(s):
 0x0000000000001000 - 0x000000000009dfff, 643072 bytes (157 pages)
 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
 0x0000000001028000 - 0x000000007da55fff, 2091048960 bytes (510510 pages)
 avail memory = 2090582016 (1993 MB)
 MP Configuration Table version 1.4 found at 0xc00e3e20
 Table 'FACP' at 0x7ff90290
 Table 'APIC' at 0x7ff90390
 MADT: Found table at 0x7ff90390
 APIC: Using the MADT enumerator.
 MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
 SMP: Added CPU 0 (AP)
 MADT: Found CPU APIC ID 1 ACPI ID 2: enabled
 SMP: Added CPU 1 (AP)
 MADT: Found CPU APIC ID 130 ACPI ID 3: disabled
 MADT: Found CPU APIC ID 131 ACPI ID 4: disabled
 INTR: Adding local APIC 0 as a target
 ACPI APIC Table: <MSTEST OEMAPIC >
 INTR: Adding local APIC 1 as a target
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 bios32: Found BIOS32 Service Directory header at 0xc00f0000
 bios32: Entry = 0xf0010 (c00f0010)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0xf0000+0x31
 pnpbios: Found PnP BIOS data at 0xc00f65f0
 pnpbios: Entry = f0000:798a  Rev = 1.0
 Other BIOS signatures found:
 APIC: CPU 0 has ACPI ID 1
 APIC: CPU 1 has ACPI ID 2
 MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000
 ioapic0: Routing external 8259A's -> intpin 0
 MADT: Interrupt override: source 0, irq 2
 ioapic0: Routing IRQ 0 -> intpin 2
 MADT: Interrupt override: source 9, irq 9
 ioapic0: intpin 9 trigger: level
 ioapic0 <Version 2.0> irqs 0-23 on motherboard
 cpu0 BSP:
      ID: 0x00000000   VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
   lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
   timer: 0x000100ef therm: 0x00010000 err: 0x0001000f pcm: 0x00010000
 ath_rate: version 1.2 <SampleRate bit-rate selection algorithm>
 wlan: <802.11 Link Layer>
 random: <entropy source, Software, Yarrow>
 nfslock: pseudo-device
 io: <I/O>
 kbd: new array size 4
 kbd1 at kbdmux0
 mem: <memory>
 Pentium Pro MTRR support enabled
 null: <null device, zero device>
 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 rr232x: RocketRAID 232x controller driver v1.02 (Mar  5 2007 07:58:45)
 npx0: INT 16 interface
 acpi0: <KOZIRO FRONTIER> on motherboard
 ioapic0: routing intpin 9 (ISA IRQ 9) to vector 48
 acpi0: [MPSAFE]
 acpi0: [ITHREAD]
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000094
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=29a08086)
 pcibios: BIOS version 3.00
 acpi_bus_number: root bus has no _BBN, assuming 0
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 AcpiOsDerivePciId: bus 0 dev 0 func 0
 acpi_bus_number: root bus has no _BBN, assuming 0
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 AcpiOsDerivePciId: bus 0 dev 31 func 0
 acpi0: Power Button (fixed)
 acpi0: wakeup code va 0xd9184000 pa 0x9d000
 ACPI timer: 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 -> 10
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
 pci_link0:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0   11   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0   11   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
 pci_link1:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0    5   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0    5   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
 pci_link2:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0   15   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0   15   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
 pci_link3:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0   10   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0   10   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
 pci_link4:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0  255   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
 pci_link5:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0  255   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0  255   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
 pci_link6:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0   14   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0   14   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
 pci_link7:        Index  IRQ  Rtd  Ref  IRQs
   Initial Probe       0    3   N     0  3 4 5 6 7 10 11 12 14 15
   Validation          0    3   N     0  3 4 5 6 7 10 11 12 14 15
   After Disable       0  255   N     0  3 4 5 6 7 10 11 12 14 15
 cpu0: <ACPI CPU> on acpi0
 cpu0: switching to generic Cx mode
 cpu1: <ACPI CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pci0: physical bus=0
 found->	vendor=0x8086, dev=0x29a0, revid=0x02
 	bus=0, slot=0, func=0
 	class=06-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0006, statreg=0x2090, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x8086, dev=0x29a1, revid=0x02
 	bus=0, slot=1, func=0
 	class=06-04-00, hdrtype=0x01, mfdev=0
 	cmdreg=0x0107, statreg=0x0010, cachelnsz=8 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x0a (2500 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	powerspec 3  supports D0 D3  current D0
 	MSI supports 1 message
 pcib0: matched entry for 0.1.INTA
 pcib0: slot 1 INTA hardwired to IRQ 16
 found->	vendor=0x8086, dev=0x2834, revid=0x02
 	bus=0, slot=26, func=0
 	class=0c-03-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	map[20]: type 4, range 32, base 0xe000, size  5, enabled
 pcib0: matched entry for 0.26.INTA
 pcib0: slot 26 INTA hardwired to IRQ 16
 found->	vendor=0x8086, dev=0x2835, revid=0x02
 	bus=0, slot=26, func=1
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=5
 	map[20]: type 4, range 32, base 0xe080, size  5, enabled
 pcib0: matched entry for 0.26.INTB
 pcib0: slot 26 INTB hardwired to IRQ 17
 found->	vendor=0x8086, dev=0x283a, revid=0x02
 	bus=0, slot=26, func=7
 	class=0c-03-20, hdrtype=0x00, mfdev=0
 	cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=c, irq=15
 	powerspec 2  supports D0 D3  current D0
 	map[10]: type 1, range 32, base 0xfebff400, size 10, enabled
 pcib0: matched entry for 0.26.INTC
 pcib0: slot 26 INTC hardwired to IRQ 18
 found->	vendor=0x8086, dev=0x283f, revid=0x02
 	bus=0, slot=28, func=0
 	class=06-04-00, hdrtype=0x01, mfdev=1
 	cmdreg=0x0106, statreg=0x0010, cachelnsz=8 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message
 pcib0: matched entry for 0.28.INTA
 pcib0: slot 28 INTA hardwired to IRQ 16
 found->	vendor=0x8086, dev=0x2847, revid=0x02
 	bus=0, slot=28, func=4
 	class=06-04-00, hdrtype=0x01, mfdev=1
 	cmdreg=0x0107, statreg=0x0010, cachelnsz=8 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message
 pcib0: matched entry for 0.28.INTA
 pcib0: slot 28 INTA hardwired to IRQ 16
 found->	vendor=0x8086, dev=0x2830, revid=0x02
 	bus=0, slot=29, func=0
 	class=0c-03-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=3
 	map[20]: type 4, range 32, base 0xd800, size  5, enabled
 pcib0: matched entry for 0.29.INTA
 pcib0: slot 29 INTA hardwired to IRQ 23
 found->	vendor=0x8086, dev=0x2831, revid=0x02
 	bus=0, slot=29, func=1
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=10
 	map[20]: type 4, range 32, base 0xd880, size  5, enabled
 pcib0: matched entry for 0.29.INTB
 pcib0: slot 29 INTB hardwired to IRQ 19
 found->	vendor=0x8086, dev=0x2832, revid=0x02
 	bus=0, slot=29, func=2
 	class=0c-03-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=c, irq=15
 	map[20]: type 4, range 32, base 0xdc00, size  5, enabled
 pcib0: matched entry for 0.29.INTC
 pcib0: slot 29 INTC hardwired to IRQ 18
 found->	vendor=0x8086, dev=0x2836, revid=0x02
 	bus=0, slot=29, func=7
 	class=0c-03-20, hdrtype=0x00, mfdev=0
 	cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=3
 	powerspec 2  supports D0 D3  current D0
 	map[10]: type 1, range 32, base 0xfebff000, size 10, enabled
 pcib0: matched entry for 0.29.INTA
 pcib0: slot 29 INTA hardwired to IRQ 23
 found->	vendor=0x8086, dev=0x244e, revid=0xf2
 	bus=0, slot=30, func=0
 	class=06-04-01, hdrtype=0x01, mfdev=0
 	cmdreg=0x0107, statreg=0x0010, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x8086, dev=0x2810, revid=0x02
 	bus=0, slot=31, func=0
 	class=06-01-00, hdrtype=0x00, mfdev=1
 	cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x8086, dev=0x2824, revid=0x02
 	bus=0, slot=31, func=2
 	class=01-06-01, hdrtype=0x00, mfdev=0
 	cmdreg=0x0007, statreg=0x02b0, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=10
 	powerspec 3  supports D0 D3  current D0
 	MSI supports 16 messages
 	map[10]: type 4, range 32, base 0xec00, size  3, enabled
 	map[14]: type 4, range 32, base 0xe880, size  2, enabled
 	map[18]: type 4, range 32, base 0xe800, size  3, enabled
 	map[1c]: type 4, range 32, base 0xe480, size  2, enabled
 	map[20]: type 4, range 32, base 0xe400, size  5, enabled
 	map[24]: type 1, range 32, base 0xfebff800, size 11, enabled
 pcib0: matched entry for 0.31.INTB
 pcib0: slot 31 INTB hardwired to IRQ 19
 found->	vendor=0x8086, dev=0x283e, revid=0x02
 	bus=0, slot=31, func=3
 	class=0c-05-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=c, irq=10
 	map[10]: type 1, range 32, base 0, size  8, memory disabled
 	map[20]: type 4, range 32, base 0x400, size  5, enabled
 pcib0: matched entry for 0.31.INTC
 pcib0: slot 31 INTC hardwired to IRQ 18
 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
 pcib1:   secondary bus     1
 pcib1:   subordinate bus   1
 pcib1:   I/O decode        0xf000-0xfff
 pcib1:   memory decode     0xfa700000-0xfe7fffff
 pcib1:   prefetched decode 0xbfe00000-0xdfdfffff
 pci1: <ACPI PCI bus> on pcib1
 pci1: physical bus=1
 found->	vendor=0x10de, dev=0x0163, revid=0xa1
 	bus=1, slot=0, func=0
 	class=03-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0007, statreg=0x0010, cachelnsz=8 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message, 64 bit
 	map[10]: type 1, range 32, base 0xfd000000, size 24, enabled
 pcib1: requested memory range 0xfd000000-0xfdffffff: good
 	map[14]: type 3, range 64, base 0xc0000000, size 28, enabled
 pcib1: requested memory range 0xc0000000-0xcfffffff: good
 	map[1c]: type 1, range 64, base 0xfc000000, size 24, enabled
 pcib1: requested memory range 0xfc000000-0xfcffffff: good
 pcib1: matched entry for 1.0.INTA
 pcib1: slot 0 INTA hardwired to IRQ 16
 vgapci0: <VGA-compatible display> mem
 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff irq
 16 at device 0.0 on pci1
 uhci0: <UHCI (generic) USB controller> port 0xe000-0xe01f irq 16 at
 device 26.0 on pci0
 uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xe000
 ioapic0: routing intpin 16 (PCI IRQ 16) to vector 49
 uhci0: [GIANT-LOCKED]
 uhci0: [ITHREAD]
 usb0: <UHCI (generic) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
 uhub0: 2 ports with 2 removable, self powered
 uhci1: <UHCI (generic) USB controller> port 0xe080-0xe09f irq 17 at
 device 26.1 on pci0
 uhci1: Reserved 0x20 bytes for rid 0x20 type 4 at 0xe080
 ioapic0: routing intpin 17 (PCI IRQ 17) to vector 50
 uhci1: [GIANT-LOCKED]
 uhci1: [ITHREAD]
 usb1: <UHCI (generic) USB controller> on uhci1
 usb1: USB revision 1.0
 uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
 uhub1: 2 ports with 2 removable, self powered
 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfebff400-0xfebff7ff
 irq 18 at device 26.7 on pci0
 ehci0: Reserved 0x400 bytes for rid 0x10 type 3 at 0xfebff400
 ioapic0: routing intpin 18 (PCI IRQ 18) to vector 51
 ehci0: [GIANT-LOCKED]
 ehci0: [ITHREAD]
 usb2: EHCI version 1.0
 usb2: companion controllers, 2 ports each: usb0 usb1
 usb2: <EHCI (generic) USB 2.0 controller> on ehci0
 usb2: USB revision 2.0
 uhub2: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
 uhub2: 4 ports with 4 removable, self powered
 pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
 pcib2:   secondary bus     3
 pcib2:   subordinate bus   3
 pcib2:   I/O decode        0x0-0x0
 pcib2:   prefetched decode 0xdfe00000-0xdfefffff
 pci3: <ACPI PCI bus> on pcib2
 pci3: physical bus=3
 pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
 pcib3:   secondary bus     2
 pcib3:   subordinate bus   2
 pcib3:   I/O decode        0xb000-0xbfff
 pcib3:   memory decode     0xfe800000-0xfe8fffff
 pcib3:   no prefetched decode
 pci2: <ACPI PCI bus> on pcib3
 pci2: physical bus=2
 found->	vendor=0x197b, dev=0x2363, revid=0x02
 	bus=2, slot=0, func=0
 	class=01-06-01, hdrtype=0x00, mfdev=1
 	cmdreg=0x0007, statreg=0x0010, cachelnsz=8 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=11
 	powerspec 2  supports D0 D3  current D0
 	map[24]: type 1, range 32, base 0xfe8fe000, size 13, enabled
 pcib3: requested memory range 0xfe8fe000-0xfe8fffff: good
 pcib3: matched entry for 2.0.INTA
 pcib3: slot 0 INTA hardwired to IRQ 16
 found->	vendor=0x197b, dev=0x2363, revid=0x02
 	bus=2, slot=0, func=1
 	class=01-01-85, hdrtype=0x00, mfdev=0
 	cmdreg=0x0007, statreg=0x0010, cachelnsz=0 (dwords)
 	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 	intpin=b, irq=255
 	powerspec 2  supports D0 D3  current D0
 	map[10]: type 4, range 32, base 0xbc00, size  3, enabled
 pcib3: requested I/O range 0xbc00-0xbc07: in range
 	map[14]: type 4, range 32, base 0xb880, size  2, enabled
 pcib3: requested I/O range 0xb880-0xb883: in range
 	map[18]: type 4, range 32, base 0xb800, size  3, enabled
 pcib3: requested I/O range 0xb800-0xb807: in range
 	map[1c]: type 4, range 32, base 0xb480, size  2, enabled
 pcib3: requested I/O range 0xb480-0xb483: in range
 	map[20]: type 4, range 32, base 0xb400, size  4, enabled
 pcib3: requested I/O range 0xb400-0xb40f: in range
 atapci0: <JMicron JMB363 SATA300 controller> mem 0xfe8fe000-0xfe8fffff
 irq 16 at device 0.0 on pci2
 atapci0: Reserved 0x2000 bytes for rid 0x24 type 3 at 0xfe8fe000
 atapci0: AHCI Version 01.00 controller with 2 ports detected
 ata0: <ATA channel 0> on atapci0
 ata0: SATA connect status=00000000
 ioapic0: routing intpin 14 (ISA IRQ 14) to vector 52
 ata0: [MPSAFE]
 ata0: [ITHREAD]
 ata1: <ATA channel 1> on atapci0
 ata1: SATA connect status=00000000
 ioapic0: routing intpin 15 (ISA IRQ 15) to vector 53
 ata1: [MPSAFE]
 ata1: [ITHREAD]
 atapci1: <JMicron JMB363 UDMA133 controller> port
 0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb40f
 at device 0.1 on pci2
 atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0xb400
 pcib3: matched entry for 2.0.INTB
 pcib3: slot 0 INTB hardwired to IRQ 17
 atapci1: [MPSAFE]
 atapci1: [ITHREAD]
 ata2: <ATA channel 0> on atapci1
 atapci1: Reserved 0x8 bytes for rid 0x10 type 4 at 0xbc00
 atapci1: Reserved 0x4 bytes for rid 0x14 type 4 at 0xb880
 ata2: reset tp1 mask=03 ostat0=50 ostat1=00
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 ata2: [MPSAFE]
 ata2: [ITHREAD]
 uhci2: <UHCI (generic) USB controller> port 0xd800-0xd81f irq 23 at
 device 29.0 on pci0
 uhci2: Reserved 0x20 bytes for rid 0x20 type 4 at 0xd800
 ioapic0: routing intpin 23 (PCI IRQ 23) to vector 54
 uhci2: [GIANT-LOCKED]
 uhci2: [ITHREAD]
 usb3: <UHCI (generic) USB controller> on uhci2
 usb3: USB revision 1.0
 uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
 uhub3: 2 ports with 2 removable, self powered
 uhci3: <UHCI (generic) USB controller> port 0xd880-0xd89f irq 19 at
 device 29.1 on pci0
 uhci3: Reserved 0x20 bytes for rid 0x20 type 4 at 0xd880
 ioapic0: routing intpin 19 (PCI IRQ 19) to vector 55
 uhci3: [GIANT-LOCKED]
 uhci3: [ITHREAD]
 usb4: <UHCI (generic) USB controller> on uhci3
 usb4: USB revision 1.0
 uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
 uhub4: 2 ports with 2 removable, self powered
 uhci4: <UHCI (generic) USB controller> port 0xdc00-0xdc1f irq 18 at
 device 29.2 on pci0
 uhci4: Reserved 0x20 bytes for rid 0x20 type 4 at 0xdc00
 uhci4: [GIANT-LOCKED]
 uhci4: [ITHREAD]
 usb5: <UHCI (generic) USB controller> on uhci4
 usb5: USB revision 1.0
 uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
 uhub5: 2 ports with 2 removable, self powered
 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfebff000-0xfebff3ff
 irq 23 at device 29.7 on pci0
 ehci1: Reserved 0x400 bytes for rid 0x10 type 3 at 0xfebff000
 ehci1: [GIANT-LOCKED]
 ehci1: [ITHREAD]
 usb6: EHCI version 1.0
 usb6: companion controllers, 2 ports each: usb3 usb4 usb5
 usb6: <EHCI (generic) USB 2.0 controller> on ehci1
 usb6: USB revision 2.0
 uhub6: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb6
 uhub6: 6 ports with 6 removable, self powered
 pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pcib4:   secondary bus     4
 pcib4:   subordinate bus   4
 pcib4:   I/O decode        0xc000-0xcfff
 pcib4:   memory decode     0xfe900000-0xfeafffff
 pcib4:   no prefetched decode
 pcib4:   Subtractively decoded bridge.
 pci4: <ACPI PCI bus> on pcib4
 pci4: physical bus=4
 found->	vendor=0x8086, dev=0x1076, revid=0x00
 	bus=4, slot=1, func=0
 	class=02-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0017, statreg=0x0230, cachelnsz=8 (dwords)
 	lattimer=0x40 (1920 ns), mingnt=0xff (63750 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=14
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message, 64 bit
 	map[10]: type 1, range 32, base 0xfeae0000, size 17, enabled
 pcib4: requested memory range 0xfeae0000-0xfeafffff: good
 	map[14]: type 1, range 32, base 0xfeac0000, size 17, enabled
 pcib4: requested memory range 0xfeac0000-0xfeadffff: good
 	map[18]: type 4, range 32, base 0xcc00, size  6, enabled
 pcib4: requested I/O range 0xcc00-0xcc3f: in range
 pcib4: matched entry for 4.1.INTA
 pcib4: slot 1 INTA hardwired to IRQ 22
 found->	vendor=0x8086, dev=0x1076, revid=0x00
 	bus=4, slot=2, func=0
 	class=02-00-00, hdrtype=0x00, mfdev=0
 	cmdreg=0x0017, statreg=0x0230, cachelnsz=8 (dwords)
 	lattimer=0x40 (1920 ns), mingnt=0xff (63750 ns), maxlat=0x00 (0 ns)
 	intpin=a, irq=3
 	powerspec 2  supports D0 D3  current D0
 	MSI supports 1 message, 64 bit
 	map[10]: type 1, range 32, base 0xfea80000, size 17, enabled
 pcib4: requested memory range 0xfea80000-0xfea9ffff: good
 	map[14]: type 1, range 32, base 0xfea60000, size 17, enabled
 pcib4: requested memory range 0xfea60000-0xfea7ffff: good
 	map[18]: type 4, range 32, base 0xc880, size  6, enabled
 pcib4: requested I/O range 0xc880-0xc8bf: in range
 pcib4: matched entry for 4.2.INTA
 pcib4: slot 2 INTA hardwired to IRQ 23
 em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xcc00-0xcc3f mem 0xfeae0000-0xfeafffff,0xfeac0000-0xfeadffff irq 22
 at device 1.0 on pci4
 em0: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xfeae0000
 em0: Reserved 0x40 bytes for rid 0x18 type 4 at 0xcc00
 em0: attempting to allocate 1 MSI vectors (1 supported)
 msi: routing MSI IRQ 256 to vector 56
 em0: using IRQ 256 for MSI
 em0: bpf attached
 em0: Ethernet address: 00:0e:0c:6c:b9:16
 em0: [FILTER]
 em1: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xc880-0xc8bf mem 0xfea80000-0xfea9ffff,0xfea60000-0xfea7ffff irq 23
 at device 2.0 on pci4
 em1: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xfea80000
 em1: Reserved 0x40 bytes for rid 0x18 type 4 at 0xc880
 em1: attempting to allocate 1 MSI vectors (1 supported)
 msi: routing MSI IRQ 257 to vector 57
 em1: using IRQ 257 for MSI
 em1: bpf attached
 em1: Ethernet address: 00:0e:0c:6c:b9:0a
 em1: [FILTER]
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci2: <Intel ICH8 SATA300 controller> port
 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe41f
 mem 0xfebff800-0xfebfffff irq 19 at device 31.2 on pci0
 atapci2: Reserved 0x20 bytes for rid 0x20 type 4 at 0xe400
 atapci2: [MPSAFE]
 atapci2: [ITHREAD]
 atapci2: Reserved 0x800 bytes for rid 0x24 type 3 at 0xfebff800
 atapci2: AHCI Version 01.10 controller with 4 ports detected
 ata3: <ATA channel 0> on atapci2
 ata3: SATA connect ready time=0ms
 ata3: sata_connect devices=0x1<ATA_MASTER>
 ata3: [MPSAFE]
 ata3: [ITHREAD]
 ata4: <ATA channel 1> on atapci2
 ata4: SATA connect ready time=0ms
 ata4: sata_connect devices=0x1<ATA_MASTER>
 ata4: [MPSAFE]
 ata4: [ITHREAD]
 ata5: <ATA channel 2> on atapci2
 ata5: port not implemented
 ata5: SATA connect status=00000000
 ata5: [MPSAFE]
 ata5: [ITHREAD]
 ata6: <ATA channel 3> on atapci2
 ata6: port not implemented
 ata6: SATA connect status=00000000
 ata6: [MPSAFE]
 ata6: [ITHREAD]
 ata7: <ATA channel 4> on atapci2
 ata7: SATA connect status=00000000
 ata7: [MPSAFE]
 ata7: [ITHREAD]
 ata8: <ATA channel 5> on atapci2
 ata8: SATA connect status=00000000
 ata8: [MPSAFE]
 ata8: [ITHREAD]
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 acpi_button0: <Power Button> on acpi0
 sio0: irq maps: 0xcc29 0xcc39 0xcc29 0xcc29
 sio0: irq maps: 0xcc29 0xcc39 0xcc29 0xcc29
 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 ioapic0: routing intpin 4 (ISA IRQ 4) to vector 58
 sio0: [FILTER]
 fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq
 2 on acpi0
 fdc0: ic_type 90 part_id 80
 ioapic0: routing intpin 6 (ISA IRQ 6) to vector 59
 fdc0: [FILTER]
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
 acpi_hpet0: vend: 0x8086 rev: 0x1 num: 1 hz: 14318180 opts: leg_route count_size
 Timecounter "HPET" frequency 14318180 Hz quality 2000
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 atkbd: the current kbd controller command byte 0065
 atkbd: keyboard ID 0x41ab (2)
 kbd0 at atkbd0
 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
 ioapic0: routing intpin 1 (ISA IRQ 1) to vector 60
 atkbd0: [GIANT-LOCKED]
 atkbd0: [ITHREAD]
 psm0: unable to allocate IRQ
 psmcpnp0: <PS/2 mouse port> irq 12 on acpi0
 psm0: current command byte:0065
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 ioapic0: routing intpin 12 (ISA IRQ 12) to vector 61
 psm0: [GIANT-LOCKED]
 psm0: [ITHREAD]
 psm0: model IntelliMouse, device ID 3-00, 3 buttons
 psm0: config:00000000, flags:00000008, packet size:4
 psm0: syncmask:08, syncbits:00
 unknown: status reg test failed ff
 unknown: status reg test failed ff
 unknown: status reg test failed ff
 unknown: status reg test failed ff
 unknown: status reg test failed ff
 unknown: status reg test failed ff
 ex_isa_identify()
 atkbdc: atkbdc0 already exists; skipping it
 fdc: fdc0 already exists; skipping it
 sio: sio0 already exists; skipping it
 pnp_identify: Trying Read_Port at 203
 pnp_identify: Trying Read_Port at 243
 pnp_identify: Trying Read_Port at 283
 pnp_identify: Trying Read_Port at 2c3
 pnp_identify: Trying Read_Port at 303
 pnp_identify: Trying Read_Port at 343
 pnp_identify: Trying Read_Port at 383
 pnp_identify: Trying Read_Port at 3c3
 PNP Identify complete
 ahc_isa_probe 11: ioport 0xbc00 alloc failed
 ahc_isa_probe 12: ioport 0xcc00 alloc failed
 ahc_isa_probe 13: ioport 0xdc00 alloc failed
 ahc_isa_probe 14: ioport 0xec00 alloc failed
 sc: sc0 already exists; skipping it
 vga: vga0 already exists; skipping it
 isa_probe_children: disabling PnP devices
 isa_probe_children: probing non-PnP devices
 pmtimer0 on isa0
 orm0: <ISA Option ROMs> at iomem 0xd2000-0xd2fff,0xd3000-0xd3fff pnpid
 ORM0000 on isa0
 adv0: not probed (disabled)
 aha0: not probed (disabled)
 aic0: not probed (disabled)
 bt0: not probed (disabled)
 cs0: not probed (disabled)
 ed0: not probed (disabled)
 fe0: not probed (disabled)
 ie0: not probed (disabled)
 lnc0: not probed (disabled)
 ppc0: parallel port found at 0x378
 ppc0: using extended I/O port range
 ppc0: ECP SPP ECP+EPP SPP
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 ppbus0: <Parallel port bus> on ppc0
 plip0: <PLIP network interface> on ppbus0
 plip0: bpf attached
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ioapic0: routing intpin 7 (ISA IRQ 7) to vector 62
 ppc0: [GIANT-LOCKED]
 ppc0: [ITHREAD]
 fb: new array size 4
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sc0: fb0, kbd1, terminal emulator: sc (syscons terminal)
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 sio1: irq maps: 0xcca9 0xcca9 0xcca9 0xcca9
 sio1: probe failed test(s): 0 1 2 4 6 7 9
 sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
 sio2: not probed (disabled)
 sio3: not probed (disabled)
 sn0: not probed (disabled)
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 vt0: not probed (disabled)
 isa_probe_children: probing PnP devices
 ugen0: <APC Back-UPS ES 500 FW:801.e5.D USB FW:e5, class 0/0, rev
 1.10/1.06, addr 2> on uhub3
 Device configuration finished.
 Reducing kern.maxvnodes 134022 -> 100000
 procfs registered
 lapic: Divisor 2, Frequency 200001046 hz
 Timecounter "TSC" frequency 3200016664 Hz quality -100
 Timecounters tick every 1.000 msec
 lo0: bpf attached
 rr232x: no controller detected.
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (noperiph:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:-1:-1): xpt_async
 (noperiph:ata0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): Registered SIM for ata0
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_compile_path
 (xpt0:ata0:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_scan_bus
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:0:0): xpt_compile_path
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:0:0): xpt_compile_path
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_scan_lun
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_done
 (xpt0:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_compile_path
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:1:0): xpt_compile_path
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_scan_lun
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_done
 (xpt0:ata0:0:1:0): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (noperiph:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_async
 (noperiph:ata1:0:-1:-1): xpt_release_path
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): Registered SIM for ata1
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_compile_path
 (xpt0:ata1:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_scan_bus
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:0:0): xpt_compile_path
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:0:0): xpt_compile_path
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_scan_lun
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_done
 (xpt0:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_compile_path
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:1:0): xpt_compile_path
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_scan_lun
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata0:0:0:0): camisr
 (xpt0:ata0:0:0:0): xpt_scan_bus
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_free_path
 (xpt0:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:1:0): camisr
 (xpt0:ata0:0:1:0): xpt_scan_bus
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_free_path
 (xpt0:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:-1:-1): xpt_done
 (xpt0:ata1:0:0:0): camisr
 (xpt0:ata1:0:0:0): xpt_scan_bus
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_free_path
 (xpt0:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:1:0): camisr
 (xpt0:ata1:0:1:0): xpt_scan_bus
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_free_path
 (xpt0:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:-1:-1): xpt_done
 (xpt0:ata0:0:-1:-1): camisr
 (xpt0:ata0:0:-1:-1): Rescan succeeded
 (xpt0:ata0:0:-1:-1): xpt_free_path
 (xpt0:ata0:0:-1:-1): xpt_release_path
 (xpt0:ata1:0:-1:-1): camisr
 (xpt0:ata1:0:-1:-1): Rescan succeeded
 (xpt0:ata1:0:-1:-1): xpt_free_path
 (xpt0:ata1:0:-1:-1): xpt_release_path
 ata2-slave: pio=PIO4 wdma=WDMA2 udma=UDMA66 cable=40 wire
 ata2-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=80 wire
 ad4: 152627MB <WDC WD1600JB-00EVA0 15.05R15> at ata2-master UDMA100
 ad4: 312581808 sectors [310101C/16H/63S] 16 sectors/interrupt 1 depth queue
 ad4: JMicron check1 failed
 ad4: Adaptec check1 failed
 ad4: LSI (v3) check1 failed
 ad4: LSI (v2) check1 failed
 ad4: FreeBSD check1 failed
 acd0: <SONY DVD RW DRU-800A/KY06> DVDR drive at ata2 as slave
 acd0: read 8268KB/s (8268KB/s) write 8268KB/s (8268KB/s), 2048KB buffer, UDMA66
 acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, packet
 acd0: Writes: CDR, CDRW, DVDR, test write, burnproof
 acd0: Audio: play, 256 volume levels
 acd0: Mechanism: ejectable tray, unlocked
 acd0: Medium: no/blank disc
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (noperiph:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:-1:-1): xpt_release_path
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): Registered SIM for ata2
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_compile_path
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 24 0
 (xpt0:ata2:0:0:0): camisr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 ata3-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire
 ad6: 381553MB <Seagate ST3400633AS 3.AAH> at ata3-master SATA150
 ad6: 781420655 sectors [775218C/16H/63S] 16 sectors/interrupt 1 depth queue
 ad6: Intel check1 failed
 ad6: Adaptec check1 failed
 ad6: LSI (v3) check1 failed
 ad6: LSI (v2) check1 failed
 ad6: FreeBSD check1 failed
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (noperiph:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:-1:-1): xpt_async
 (noperiph:ata3:0:-1:-1): xpt_release_path
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): Registered SIM for ata3
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_compile_path
 (xpt0:ata3:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_scan_bus
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:0:0): xpt_compile_path
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:0:0): xpt_compile_path
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_scan_lun
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_done
 (xpt0:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_compile_path
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:1:0): xpt_compile_path
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_scan_lun
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:0:0): camisr
 (xpt0:ata3:0:0:0): xpt_scan_bus
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_free_path
 (xpt0:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:1:0): camisr
 (xpt0:ata3:0:1:0): xpt_scan_bus
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_free_path
 (xpt0:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:-1:-1): xpt_done
 (xpt0:ata3:0:-1:-1): camisr
 (xpt0:ata3:0:-1:-1): Rescan succeeded
 (xpt0:ata3:0:-1:-1): xpt_free_path
 (xpt0:ata3:0:-1:-1): xpt_release_path
 ata4-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire
 ad8: 114440MB <Seagate ST3120026AS 8.05> at ata4-master SATA150
 ad8: 234375000 sectors [232514C/16H/63S] 16 sectors/interrupt 1 depth queue
 ad8: Intel check1 failed
 ad8: Adaptec check1 failed
 ad8: LSI (v3) check1 failed
 ad8: LSI (v2) check1 failed
 ad8: FreeBSD check1 failed
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (noperiph:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:-1:-1): xpt_async
 (noperiph:ata4:0:-1:-1): xpt_release_path
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): Registered SIM for ata4
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_compile_path
 (xpt0:ata4:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_scan_bus
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:0:0): xpt_compile_path
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:0:0): xpt_compile_path
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_scan_lun
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_done
 (xpt0:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_compile_path
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:1:0): xpt_compile_path
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_scan_lun
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_done
 (xpt0:ata4:0:1:0): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (noperiph:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_async
 (noperiph:ata5:0:-1:-1): xpt_release_path
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): Registered SIM for ata5
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_compile_path
 (xpt0:ata5:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_scan_bus
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:0:0): xpt_compile_path
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:0:0): xpt_compile_path
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_scan_lun
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_done
 (xpt0:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_compile_path
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:1:0): xpt_compile_path
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_scan_lun
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_done
 (xpt0:ata5:0:1:0): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (noperiph:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_async
 (noperiph:ata6:0:-1:-1): xpt_release_path
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): Registered SIM for ata6
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_compile_path
 (xpt0:ata6:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_scan_bus
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:0:0): xpt_compile_path
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:0:0): xpt_compile_path
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_scan_lun
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_done
 (xpt0:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_compile_path
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:1:0): xpt_compile_path
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_scan_lun
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_done
 (xpt0:ata6:0:1:0): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (noperiph:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_async
 (noperiph:ata7:0:-1:-1): xpt_release_path
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): Registered SIM for ata7
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_compile_path
 (xpt0:ata7:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_scan_bus
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:0:0): xpt_compile_path
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:0:0): xpt_compile_path
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_scan_lun
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_done
 (xpt0:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_compile_path
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:1:0): xpt_compile_path
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_scan_lun
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_done
 (xpt0:ata7:0:1:0): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (noperiph:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_async
 (noperiph:ata8:0:-1:-1): xpt_release_path
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): Registered SIM for ata8
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_compile_path
 (xpt0:ata8:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_scan_bus
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:0:0): xpt_compile_path
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:0:0): xpt_compile_path
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_scan_lun
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_done
 (xpt0:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_compile_path
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:1:0): xpt_compile_path
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_scan_lun
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_done
 (xpt0:ata8:0:1:0): xpt_done
 ATA PseudoRAID loaded
 SMP: AP CPU #1 Launched!
 cpu1 AP:
      ID: 0x01000000   VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
   lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
   timer: 0x000200ef therm: 0x00010000 err: 0x00010000 pcm: 0x00010000
 ioapic0: Assigning ISA IRQ 1 to local APIC 0
 ioapic0: Assigning ISA IRQ 4 to local APIC 1
 ioapic0: Assigning ISA IRQ 6 to local APIC 0
 ioapic0: Assigning ISA IRQ 7 to local APIC 1
 ioapic0: Assigning ISA IRQ 9 to local APIC 0
 ioapic0: Assigning ISA IRQ 12 to local APIC 1
 ioapic0: Assigning ISA IRQ 14 to local APIC 0
 ioapic0: Assigning ISA IRQ 15 to local APIC 1
 ioapic0: Assigning PCI IRQ 16 to local APIC 0
 ioapic0: Assigning PCI IRQ 17 to local APIC 1
 ioapic0: Assigning PCI IRQ 18 to local APIC 0
 ioapic0: Assigning PCI IRQ 19 to local APIC 1
 ioapic0: Assigning PCI IRQ 23 to local APIC 0
 msi: Assigning MSI IRQ 256 to local APIC 1
 msi: Assigning MSI IRQ 257 to local APIC 0
 (xpt0:ata4:0:0:0): camisr
 (xpt0:ata4:0:0:0): xpt_scan_bus
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_free_path
 (xpt0:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:1:0): camisr
 (xpt0:ata4:0:1:0): xpt_scan_bus
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_free_path
 (xpt0:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:-1:-1): xpt_done
 (xpt0:ata5:0:0:0): camisr
 (xpt0:ata5:0:0:0): xpt_scan_bus
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_free_path
 (xpt0:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:1:0): camisr
 (xpt0:ata5:0:1:0): xpt_scan_bus
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_free_path
 (xpt0:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:-1:-1): xpt_done
 (xpt0:ata6:0:0:0): camisr
 (xpt0:ata6:0:0:0): xpt_scan_bus
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_free_path
 (xpt0:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:1:0): camisr
 (xpt0:ata6:0:1:0): xpt_scan_bus
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_free_path
 (xpt0:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:-1:-1): xpt_done
 (xpt0:ata7:0:0:0): camisr
 (xpt0:ata7:0:0:0): xpt_scan_bus
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_free_path
 (xpt0:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:1:0): camisr
 (xpt0:ata7:0:1:0): xpt_scan_bus
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_free_path
 (xpt0:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:-1:-1): xpt_done
 (xpt0:ata8:0:0:0): camisr
 (xpt0:ata8:0:0:0): xpt_scan_bus
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_free_path
 (xpt0:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:1:0): camisr
 (xpt0:ata8:0:1:0): xpt_scan_bus
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_free_path
 (xpt0:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:-1:-1): xpt_done
 (xpt0:ata4:0:-1:-1): camisr
 (xpt0:ata4:0:-1:-1): Rescan succeeded
 (xpt0:ata4:0:-1:-1): xpt_free_path
 (xpt0:ata4:0:-1:-1): xpt_release_path
 (xpt0:ata5:0:-1:-1): camisr
 (xpt0:ata5:0:-1:-1): Rescan succeeded
 (xpt0:ata5:0:-1:-1): xpt_free_path
 (xpt0:ata5:0:-1:-1): xpt_release_path
 (xpt0:ata6:0:-1:-1): camisr
 (xpt0:ata6:0:-1:-1): Rescan succeeded
 (xpt0:ata6:0:-1:-1): xpt_free_path
 (xpt0:ata6:0:-1:-1): xpt_release_path
 (xpt0:ata7:0:-1:-1): camisr
 (xpt0:ata7:0:-1:-1): Rescan succeeded
 (xpt0:ata7:0:-1:-1): xpt_free_path
 (xpt0:ata7:0:-1:-1): xpt_release_path
 (xpt0:ata8:0:-1:-1): camisr
 (xpt0:ata8:0:-1:-1): Rescan succeeded
 (xpt0:ata8:0:-1:-1): xpt_free_path
 (xpt0:ata8:0:-1:-1): xpt_release_path
 GEOM: new disk ad4
 GEOM: new disk ad6
 GEOM: new disk ad8
 Trying to mount root from ufs:/dev/ad10s1a
 
 Manual root filesystem specification:
   <fstype>:<device>  Mount <device> using filesystem <fstype>
                        eg. ufs:da0s1a
   ?                  List valid disk boot devices
   <empty line>       Abort manual input
 
 mountroot> ufs:/dev/ad6s1a
 Trying to mount root from ufs:/dev/ad6s1a
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8600: 12 0 0 0 24 0
 acd0: req=0xc5584480 INQUIRY queued
 acd0: req=0xc5584480 INQUIRY starting
 acd0: req=0xc5584480 INQUIRY begin transaction
 acd0: req=0xc5584480 INQUIRY interrupt
 acd0: req=0xc5584480 INQUIRY end transaction
 acd0: req=0xc5584480 INQUIRY finish taskqueue_swi
 acd0: req=0xc5584480 INQUIRY completed entered
 acd0: req=0xc5584480 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc55b8600 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 60 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55887c0: 12 0 0 0 60 0
 acd0: req=0xc55ba300 INQUIRY queued
 acd0: req=0xc55ba300 INQUIRY starting
 acd0: req=0xc55ba300 INQUIRY begin transaction
 acd0: req=0xc55ba300 INQUIRY interrupt
 acd0: req=0xc55ba300 INQUIRY end transaction
 acd0: req=0xc55ba300 INQUIRY finish taskqueue_swi
 acd0: req=0xc55ba300 INQUIRY completed entered
 acd0: req=0xc55ba300 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc55887c0 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (probe0:ata2:0:1:0): xpt_done
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): Down reving Protocol Version from 2 to 0?
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (probe0:ata2:0:1:0): xpt_done
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x1, entries == 1, openings == 16, active == 0
 cam_debug: xpt_schedule_dev
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b85c0: 0 0 0 0 0 0
 acd0: req=0xc5584540 TEST_UNIT_READY queued
 acd0: req=0xc5584540 TEST_UNIT_READY starting
 acd0: req=0xc5584540 TEST_UNIT_READY begin transaction
 acd0: req=0xc5584540 TEST_UNIT_READY interrupt
 acd0: req=0xc5584540 TEST_UNIT_READY end transaction
 acd0: req=0xc5584540 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc5584540 TEST_UNIT_READY completed entered
 atapi_cb: hcb@0xc55b85c0 error = 02: (sk = 00 EOM)
 dev acd0: cmd 03 status 50 result 05
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_async
 (pass0:ata2:0:1:0): xpt_compile_path
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 pass0 at ata2 bus 0 target 1 lun 0
 pass0: <SONY DVD RW DRU-800A KY06> Removable CD-ROM SCSI-0 device
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 (pass0:ata2:0:1:0): xpt_done
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): xpt_done
 pass0: 66.000MB/s transfers
 (cd0:ata2:0:1:0): xpt_compile_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_release_ccb
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8580: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5584600 READ_CAPACITY queued
 acd0: req=0xc5584600 READ_CAPACITY starting
 acd0: req=0xc5584600 READ_CAPACITY begin transaction
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_free_path
 (probe0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): camisr
 (xpt0:ata2:0:1:0): xpt_scan_bus
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_free_path
 (xpt0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:-1:-1): xpt_done
 (xpt0:ata2:0:-1:-1): camisr
 (xpt0:ata2:0:-1:-1): Rescan succeeded
 (xpt0:ata2:0:-1:-1): xpt_free_path
 (xpt0:ata2:0:-1:-1): xpt_release_path
 GEOM: new disk cd0
 start_init: trying /sbin/init
 Enter root password, or ^D to go multi-user
 Password:
 
 Enter full pathname of shell or RETURN for /bin/sh:
 
 acd0: req=0xc5584600 READ_CAPACITY timeout
 acd0: req=0xc5584600 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5584600 READ_CAPACITY completed entered
 ata2: reiniting channel ..
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_compile_path
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 a(txap2t:0 :raetian2i:t0 :d0o:n0e) :. .ca
 misr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 ata2: reiniting channel ..
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 a(txap2t:0 :raetian2i:t0 :d0o:n0e) :. .ca
 misr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 ata2: reiniting channel ..
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 a(txap2t:0 :raetian2i:t0 :d0o:n0e) :. .ca
 maitsarpi
 _(cxbp:t 0h:cabt@a20:x0c:505:b08)5:8 0x petr_rsocra n=_ b0u0:s
 ((sxkp t=0 :0a0t)a
 2d:e0v: 0:a0c)d:0 :x pctm_ds e2t5u ps_tcactbus
  (0x0p tr0e:sautlat2 :005:0
 :(0c)d:0 :xaptta_2a:c0t:i1o:n0)
 :( xxpptt0_:daotnae2:
 0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 cd0 at ata2 bus 0 target 1 lun 0
 cd0: <SONY DVD RW DRU-800A KY06> Removable CD-ROM SCSI-0 device
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): GET_TRAN_SETTINGS
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_done
 cd0: 66.000MB/s transfers
 cd0: \M-4\M-,\M-%\M-@8,\M-[\M-c\M-5\M-pk\M-@\M^VJ\M^U\M-@\M^^\^C
 cam_debug: xpt_release_ccb
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589840: 0 0 0 0 0 0
 acd0: req=0xc55840c0 TEST_UNIT_READY queued
 acd0: req=0xc55840c0 TEST_UNIT_READY starting
 acd0: req=0xc55840c0 TEST_UNIT_READY begin transaction
 acd0: req=0xc55840c0 TEST_UNIT_READY interrupt
 acd0: req=0xc55840c0 TEST_UNIT_READY end transaction
 acd0: req=0xc55840c0 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc55840c0 TEST_UNIT_READY completed entered
 atapi_cb: hcb@0xc5589840 error = 02: (sk = 00 EOM)
 dev acd0: cmd 03 status 50 result 05
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): error 6
 (probe0:ata2:0:1:0): Unretryable Error
 cam_debug: xpt_release_ccb
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588380: 1e 0 0 0 1 0
 acd0: req=0xc55556c0 PREVENT_ALLOW queued
 acd0: req=0xc55556c0 PREVENT_ALLOW starting
 acd0: req=0xc55556c0 PREVENT_ALLOW begin transaction
 acd0: req=0xc55556c0 PREVENT_ALLOW interrupt
 acd0: req=0xc55556c0 PREVENT_ALLOW end transaction
 acd0: req=0xc55556c0 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc55556c0 PREVENT_ALLOW completed entered
 acd0: req=0xc55556c0 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc5588380 error = 00: (sk = 00)
 dev acd0: cmd 1e status 50 result 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 24 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588340: 12 0 0 0 24 0
 acd0: req=0xc55563c0 INQUIRY queued
 acd0: req=0xc55563c0 INQUIRY starting
 acd0: req=0xc55563c0 INQUIRY begin transaction
 (cd0:ata2:0:1:0): entering cdsize
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 acd0: req=0xc55563c0 INQUIRY interrupt
 acd0: req=0xc55563c0 INQUIRY end transaction
 acd0: req=0xc55563c0 INQUIRY finish taskqueue_swi
 acd0: req=0xc55563c0 INQUIRY completed entered
 acd0: req=0xc55563c0 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc5588340 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 cam_debug: xpt_release_ccb
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588300: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc55ba240 READ_CAPACITY queued
 acd0: req=0xc55ba240 READ_CAPACITY starting
 acd0: req=0xc55ba240 READ_CAPACITY begin transaction
 acd0: req=0xc55ba240 READ_CAPACITY timeout
 acd0: req=0xc55ba240 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc55ba240 READ_CAPACITY completed entered
 ata2: reiniting channel ..
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 a(txap2t:0 :raetian2i:t0 :d0o:n0e) :. .ca
 misr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 ata2: reiniting channel ..
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 a(txap2t:0 :raetian2i:t0 :d0o:n0e) :. .ca
 misr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 ata2: reiniting channel ..
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 a(txap2t:0 :raetian2i:t0 :d0o:n0e) :. .ca
 maitsarpi
 _(cxbp:t 0h:cabt@a20:x0c:505:808)3:0 0x petr_rsocra n=_ 0b0u:s
 ((sxkp t=0 :0a0t)a
 2d:e0v: 0:a0c)d:0 :x pctm_ds e2t5u ps_tcactbus
  (0x0p tr0e:sautlat2 :005:0
 :(0c)d:0 :xaptta_2a:c0t:i1o:n0)
 :( xxpptt0_:daotnae2:
 0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 cam_debug: xpt_release_ccb
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 60 0
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589680: 12 0 0 0 60 0
 acd0: req=0xc55ba3c0 INQUIRY queued
 acd0: req=0xc55ba3c0 INQUIRY starting
 acd0: req=0xc55ba3c0 INQUIRY begin transaction
 acd0: req=0xc55ba3c0 INQUIRY interrupt
 acd0: req=0xc55ba3c0 INQUIRY end transaction
 acd0: req=0xc55ba3c0 INQUIRY finish taskqueue_swi
 acd0: req=0xc55ba3c0 INQUIRY completed entered
 acd0: req=0xc55ba3c0 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc5589680 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (probe0:ata2:0:1:0): xpt_done
 cam_debug: xpt_release_ccb
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588240: 43 0 0 0 0 0 0 0 4 0
 acd0: req=0xc5556e40 READ_TOC queued
 acd0: req=0xc5556e40 READ_TOC starting
 acd0: req=0xc5556e40 READ_TOC begin transaction
 acd0: req=0xc5556e40 READ_TOC timeout
 acd0: req=0xc5556e40 READ_TOC finish taskqueue_swi
 acd0: req=0xc5556e40 READ_TOC completed entered
 ata2: reiniting channel ..
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 a(txap2t:0 :raetian2i:t0 :d0o:n0e) :. .ca
 misr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 ata2: reiniting channel ..
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 a(txap2t:0 :raetian2i:t0 :d0o:n0e) :. .ca
 misr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 ata2: reiniting channel ..
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 a(txap2t:0 :raetian2i:t0 :d0o:n0e) :. .ca
 maitsarpi
 _(cxbp:t 0h:catba@20x:c05:508:802)4:0  xeprtr_osrc a=n _b0u0s:
 ((sxkp t=0 :0a0ta)2
 :d0e:v0 :a0c)d:0 :x pctm_ds et4u3p _sctcabtu
 s( x0p0t 0r:eastual2t: 00:50:
 0()c:d 0x:patt_aa2c:t0i:o1n:0
 )(:x pxtp0t:_adtoan2e:0
 :0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 cam_debug: xpt_release_ccb
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): probedone
 cam_debug: xpt_release_ccb
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x1, entries == 1, openings == 16, active == 0
 cam_debug: xpt_schedule_dev
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 (xpt0:ata2:0:1:0): camisr
 (xpt0:ata2:0:1:0): xpt_scan_bus
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_free_path
 (xpt0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:-1:-1): xpt_done
 (xpt0:ata2:0:-1:-1): camisr
 (xpt0:ata2:0:-1:-1): Rescan succeeded
 (xpt0:ata2:0:-1:-1): xpt_free_path
 (xpt0:ata2:0:-1:-1): xpt_release_path
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589740: 0 0 0 0 0 0
 acd0: req=0xc5584900 TEST_UNIT_READY queued
 acd0: req=0xc5584900 TEST_UNIT_READY starting
 acd0: req=0xc5584900 TEST_UNIT_READY begin transaction
 acd0: req=0xc5584900 TEST_UNIT_READY interrupt
 acd0: req=0xc5584900 TEST_UNIT_READY end transaction
 acd0: req=0xc5584900 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc5584900 TEST_UNIT_READY completed entered
 atapi_cb: hcb@0xc5589740 error = 02: (sk = 00 EOM)
 dev acd0: cmd 03 status 50 result 05
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): error 6
 (probe0:ata2:0:1:0): Unretryable Error
 cam_debug: xpt_release_ccb
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 0 0 14 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589780: 43 2 0 0 0 0 0 0 14 0
 acd0: req=0xc5584780 READ_TOC queued
 acd0: req=0xc5584780 READ_TOC starting
 acd0: req=0xc5584780 READ_TOC begin transaction
 acd0: req=0xc5584780 READ_TOC timeout
 acd0: req=0xc5584780 READ_TOC finish taskqueue_swi
 acd0: req=0xc5584780 READ_TOC completed entered
 ata2: reiniting channel ..
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>,
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 6 Mar 2007 01:24:56 +0100

 * Josh Carroll, 2007-03-05 :
 
 > I enabled all the available CAMDEBUG options and included the ata
 > patch. The verbose dmesg output is below. I had to increase the
 > MSGBUF_SIZE in the kernel so it wouldn't get truncated. I do see some
 > references to cd0 in this dmesg output.
 
 OK, good, now we see a little bit more what is happening. It appears
 that some requests from the SCSI cd driver are timing out, and causing
 reinitializations of the ATA channel. This is not abnormal per se, and
 should not cause the system to hang, though.
 
 > (cd0:ata2:0:1:0): XPT_SCSI_IO
 > atapi_action: hcb@0xc5589780: 43 2 0 0 0 0 0 0 14 0
 > acd0: req=0xc5584780 READ_TOC queued
 > acd0: req=0xc5584780 READ_TOC starting
 > acd0: req=0xc5584780 READ_TOC begin transaction
 > acd0: req=0xc5584780 READ_TOC timeout
 > acd0: req=0xc5584780 READ_TOC finish taskqueue_swi
 > acd0: req=0xc5584780 READ_TOC completed entered
 > ata2: reiniting channel ..
 > ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 
 Is that the end of what you are seeing? No trace after that? (That's
 suprising because if you get that far in ata_generic_reset you should at
 least reach the line
                 device_printf(dev,
                               "stat0=0x%02x err=0x%02x lsb=0x%02x msb=0x%02x\n",
                               stat0, err, lsb, msb);
 
 Thomas.
 

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Mon, 5 Mar 2007 16:30:23 -0800

 > OK, good, now we see a little bit more what is happening. It appears
 > that some requests from the SCSI cd driver are timing out, and causing
 > reinitializations of the ATA channel. This is not abnormal per se, and
 > should not cause the system to hang, though.
 
 I'm not seeing a huge amount of output from the debug messages that
 would correspond with the enormous interrupt rate, either. From what I
 can tell, the reinit is happening every few seconds or so, but the
 interrupts are increasing 80k-100k per second, as you know.
 
 > Is that the end of what you are seeing? No trace after that? (That's
 > suprising because if you get that far in ata_generic_reset you should at
 > least reach the line
 >                 device_printf(dev,
 >                               "stat0=0x%02x err=0x%02x lsb=0x%02x msb=0x%02x\n",
 >                               stat0, err, lsb, msb);
 
 The end corresponds to when I ran the dmesg -a | ssh ... command. I
 see that particular printf a few times in the dmesg output:
 
 % grep stat0 dmesg.patch-7
 ata2: reset tp1 mask=03 ostat0=50 ostat1=00
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
 ata2: reset tp2 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
 ata2: reset tp1 mask=03 ostat0=50 ostat1=51
 ata2: stat0=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
 
 Thanks,
 Josh

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>,
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 6 Mar 2007 01:34:16 +0100

 * Thomas Quinot, 2007-03-06 :
 
 > OK, good, now we see a little bit more what is happening. It appears
 > that some requests from the SCSI cd driver are timing out, and causing
 > reinitializations of the ATA channel. This is not abnormal per se, and
 > should not cause the system to hang, though.
 
 Also, please find attached a new patch that you can apply in addition to
 what you already have. Here's what it does:
   * remove the ATA_R_QUIET from ATAPI requests that are generated by
     ATAPI/CAM, so that we get more diagnostics from the ATA layer;
   * set the retry count to 0 so that the ATA layer does not perform any
     retries (in CAM context, the CAM layer should take care of that);
   * avoids rescanning the ATAPI bus if the devices have not changed
     (this might reduce the amount of noise we get in the traces, at
     least making investigation less awkward).
 
 Thomas.
 
 Index: atapi-cam.c
 ===================================================================
 RCS file: /space/mirror/ncvs/src/sys/dev/ata/atapi-cam.c,v
 retrieving revision 1.47
 diff -u -r1.47 atapi-cam.c
 --- atapi-cam.c	27 Feb 2007 09:00:51 -0000	1.47
 +++ atapi-cam.c	6 Mar 2007 00:07:29 -0000
 @@ -275,15 +275,17 @@
  
  static void
  reinit_bus(struct atapi_xpt_softc *scp, enum reinit_reason reason) {
 -    struct ata_device *atadev;
 +    struct ata_device *old_atadev[2];
      device_t *children;
 -    int nchildren, i;
 +    int nchildren, i, dev_changed;
  
      if (device_get_children(scp->parent, &children, &nchildren) != 0) {
  	return;
      }
  
      mtx_lock(&scp->state_lock);
 +    old_atadev[0] = scp->atadev[0];
 +    old_atadev[1] = scp->atadev[1];
      scp->atadev[0] = NULL;
      scp->atadev[1] = NULL;
  
 @@ -299,6 +301,8 @@
  		scp->atadev[1] = atadev;
  	}
      }
 +    dev_changed = (old_atadev[0] != scp->atadev[0])
 +	       || (old_atadev[1] != scp->atadev[1]);
      mtx_unlock(&scp->state_lock);
      free(children, M_TEMP);
  
 @@ -307,6 +311,10 @@
  	    break;
  	case RESET:
  	    xpt_async(AC_BUS_RESET, scp->path, NULL);
 +
 +	    if (!dev_changed)
 +		break;
 +
  	    /*FALLTHROUGH*/
  	case ATTACH:
  	    cam_rescan(scp->sim);
 @@ -463,7 +471,7 @@
      case XPT_SCSI_IO: {
  	struct ccb_scsiio *csio = &ccb->csio;
  	int tid = ccb_h->target_id, lid = ccb_h->target_lun;
 -	int request_flags = ATA_R_QUIET | ATA_R_ATAPI;
 +	int request_flags = ATA_R_ATAPI;
  
  	CAM_DEBUG(ccb_h->path, CAM_DEBUG_SUBTRACE, ("XPT_SCSI_IO\n"));
  
 @@ -600,10 +611,15 @@
  	request->bytecount = len;
  	request->transfersize = min(request->bytecount, 65534);
  	request->timeout = ccb_h->timeout / 1000; /* XXX lost granularity */
 -	request->retries = 2;
  	request->callback = &atapi_cb;
  	request->flags = request_flags;
  
 +	/*
 +	 * No retries are to be performed at the ATA level; any retries
 +	 * will be done by CAM.
 +	 */
 +	request->retries = 0;
 +
  	TAILQ_INSERT_TAIL(&softc->pending_hcbs, hcb, chain);
  	hcb->flags |= QUEUED;
  	ccb_h->status |= CAM_SIM_QUEUED;

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" <sos@deepcore.dk>, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Mon, 5 Mar 2007 18:44:01 -0800

 > Also, please find attached a new patch that you can apply in addition to
 > what you already have.
 
 I had to add:
 
 struct ata_device *atadev;
 
 to the reinit_bus function, since it wasn't declared in that scope. I
 let it run for a couple of minutes. Here is the dmesg output:
 
 Copyright (c) 1992-2007 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.0-CURRENT #16: Mon Mar  5 17:30:47 PST 2007
     root@pflog.net:/usr/obj/usr/src/sys/DEBLIN
 WARNING: WITNESS option enabled, expect reduced performance.
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Core(TM)2 CPU         X6900  @ 3.20GHz (3200.02-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,XTPR,<b15>>
   AMD Features=0x20100000<NX,LM>
   AMD Features2=0x1<LAHF>
   Cores per package: 2
 real memory  = 2147024896 (2047 MB)
 avail memory = 2090582016 (1993 MB)
 ACPI APIC Table: <MSTEST OEMAPIC >
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 ioapic0 <Version 2.0> irqs 0-23 on motherboard
 kbd1 at kbdmux0
 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 acpi0: <KOZIRO FRONTIER> on motherboard
 acpi0: [ITHREAD]
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi0: Power Button (fixed)
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
 cpu0: <ACPI CPU> on acpi0
 cpu1: <ACPI CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
 pci1: <ACPI PCI bus> on pcib1
 vgapci0: <VGA-compatible display> mem
 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff irq
 16 at device 0.0 on pci1
 uhci0: <UHCI (generic) USB controller> port 0xe000-0xe01f irq 16 at
 device 26.0 on pci0
 uhci0: [GIANT-LOCKED]
 uhci0: [ITHREAD]
 usb0: <UHCI (generic) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
 uhub0: 2 ports with 2 removable, self powered
 uhci1: <UHCI (generic) USB controller> port 0xe080-0xe09f irq 17 at
 device 26.1 on pci0
 uhci1: [GIANT-LOCKED]
 uhci1: [ITHREAD]
 usb1: <UHCI (generic) USB controller> on uhci1
 usb1: USB revision 1.0
 uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
 uhub1: 2 ports with 2 removable, self powered
 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfebff400-0xfebff7ff
 irq 18 at device 26.7 on pci0
 ehci0: [GIANT-LOCKED]
 ehci0: [ITHREAD]
 usb2: EHCI version 1.0
 usb2: companion controllers, 2 ports each: usb0 usb1
 usb2: <EHCI (generic) USB 2.0 controller> on ehci0
 usb2: USB revision 2.0
 uhub2: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
 uhub2: 4 ports with 4 removable, self powered
 pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
 pci3: <ACPI PCI bus> on pcib2
 pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
 pci2: <ACPI PCI bus> on pcib3
 atapci0: <JMicron JMB363 SATA300 controller> mem 0xfe8fe000-0xfe8fffff
 irq 16 at device 0.0 on pci2
 atapci0: AHCI Version 01.00 controller with 2 ports detected
 ata0: <ATA channel 0> on atapci0
 ata0: [ITHREAD]
 ata1: <ATA channel 1> on atapci0
 ata1: [ITHREAD]
 atapci1: <JMicron JMB363 UDMA133 controller> port
 0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb40f
 at device 0.1 on pci2
 atapci1: [ITHREAD]
 ata2: <ATA channel 0> on atapci1
 ata2: [ITHREAD]
 uhci2: <UHCI (generic) USB controller> port 0xd800-0xd81f irq 23 at
 device 29.0 on pci0
 uhci2: [GIANT-LOCKED]
 uhci2: [ITHREAD]
 usb3: <UHCI (generic) USB controller> on uhci2
 usb3: USB revision 1.0
 uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
 uhub3: 2 ports with 2 removable, self powered
 uhci3: <UHCI (generic) USB controller> port 0xd880-0xd89f irq 19 at
 device 29.1 on pci0
 uhci3: [GIANT-LOCKED]
 uhci3: [ITHREAD]
 usb4: <UHCI (generic) USB controller> on uhci3
 usb4: USB revision 1.0
 uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
 uhub4: 2 ports with 2 removable, self powered
 uhci4: <UHCI (generic) USB controller> port 0xdc00-0xdc1f irq 18 at
 device 29.2 on pci0
 uhci4: [GIANT-LOCKED]
 uhci4: [ITHREAD]
 usb5: <UHCI (generic) USB controller> on uhci4
 usb5: USB revision 1.0
 uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
 uhub5: 2 ports with 2 removable, self powered
 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfebff000-0xfebff3ff
 irq 23 at device 29.7 on pci0
 ehci1: [GIANT-LOCKED]
 ehci1: [ITHREAD]
 usb6: EHCI version 1.0
 usb6: companion controllers, 2 ports each: usb3 usb4 usb5
 usb6: <EHCI (generic) USB 2.0 controller> on ehci1
 usb6: USB revision 2.0
 uhub6: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb6
 uhub6: 6 ports with 6 removable, self powered
 pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pci4: <ACPI PCI bus> on pcib4
 em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xcc00-0xcc3f mem 0xfeae0000-0xfeafffff,0xfeac0000-0xfeadffff irq 22
 at device 1.0 on pci4
 em0: Ethernet address: 00:0e:0c:6c:b9:16
 em0: [FILTER]
 em1: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xc880-0xc8bf mem 0xfea80000-0xfea9ffff,0xfea60000-0xfea7ffff irq 23
 at device 2.0 on pci4
 em1: Ethernet address: 00:0e:0c:6c:b9:0a
 em1: [FILTER]
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci2: <Intel ICH8 SATA300 controller> port
 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe41f
 mem 0xfebff800-0xfebfffff irq 19 at device 31.2 on pci0
 atapci2: [ITHREAD]
 atapci2: AHCI Version 01.10 controller with 4 ports detected
 ata3: <ATA channel 0> on atapci2
 ata3: [ITHREAD]
 ata4: <ATA channel 1> on atapci2
 ata4: [ITHREAD]
 ata5: <ATA channel 2> on atapci2
 ata5: port not implemented
 ata5: [ITHREAD]
 ata6: <ATA channel 3> on atapci2
 ata6: port not implemented
 ata6: [ITHREAD]
 ata7: <ATA channel 4> on atapci2
 ata7: [ITHREAD]
 ata8: <ATA channel 5> on atapci2
 ata8: [ITHREAD]
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 acpi_button0: <Power Button> on acpi0
 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 sio0: [FILTER]
 fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq
 2 on acpi0
 fdc0: [FILTER]
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
 Timecounter "HPET" frequency 14318180 Hz quality 2000
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 atkbd0: [ITHREAD]
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: [GIANT-LOCKED]
 psm0: [ITHREAD]
 psm0: model IntelliMouse, device ID 3
 pmtimer0 on isa0
 orm0: <ISA Option ROMs> at iomem 0xd2000-0xd2fff,0xd3000-0xd3fff pnpid
 ORM0000 on isa0
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 ppbus0: <Parallel port bus> on ppc0
 plip0: <PLIP network interface> on ppbus0
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ppc0: [GIANT-LOCKED]
 ppc0: [ITHREAD]
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 ugen0: <APC Back-UPS ES 500 FW:801.e5.D USB FW:e5, class 0/0, rev
 1.10/1.06, addr 2> on uhub3
 Timecounters tick every 1.000 msec
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (noperiph:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:-1:-1): xpt_async
 (noperiph:ata0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): Registered SIM for ata0
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_compile_path
 (xpt0:ata0:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_scan_bus
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:0:0): xpt_compile_path
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:0:0): xpt_compile_path
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_scan_lun
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_done
 (xpt0:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_compile_path
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:1:0): xpt_compile_path
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_scan_lun
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_done
 (xpt0:ata0:0:1:0): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (noperiph:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_async
 (noperiph:ata1:0:-1:-1): xpt_release_path
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): Registered SIM for ata1
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_compile_path
 (xpt0:ata1:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_scan_bus
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:0:0): xpt_compile_path
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:0:0): xpt_compile_path
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_scan_lun
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_done
 (xpt0:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_compile_path
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:1:0): xpt_compile_path
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_scan_lun
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata0:0:0:0): camisr
 (xpt0:ata0:0:0:0): xpt_scan_bus
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_free_path
 (xpt0:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:1:0): camisr
 (xpt0:ata0:0:1:0): xpt_scan_bus
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_free_path
 (xpt0:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:-1:-1): xpt_done
 (xpt0:ata1:0:0:0): camisr
 (xpt0:ata1:0:0:0): xpt_scan_bus
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_free_path
 (xpt0:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:1:0): camisr
 (xpt0:ata1:0:1:0): xpt_scan_bus
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_free_path
 (xpt0:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:-1:-1): xpt_done
 (xpt0:ata0:0:-1:-1): camisr
 (xpt0:ata0:0:-1:-1): Rescan succeeded
 (xpt0:ata0:0:-1:-1): xpt_free_path
 (xpt0:ata0:0:-1:-1): xpt_release_path
 (xpt0:ata1:0:-1:-1): camisr
 (xpt0:ata1:0:-1:-1): Rescan succeeded
 (xpt0:ata1:0:-1:-1): xpt_free_path
 (xpt0:ata1:0:-1:-1): xpt_release_path
 ad4: 152627MB <WDC WD1600JB-00EVA0 15.05R15> at ata2-master UDMA100
 acd0: DVDR <SONY DVD RW DRU-800A/KY06> at ata2-slave UDMA66
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (noperiph:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:-1:-1): xpt_release_path
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): Registered SIM for ata2
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_compile_path
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 24 0
 (xpt0:ata2:0:0:0): camisr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 ad6: 381553MB <Seagate ST3400633AS 3.AAH> at ata3-master SATA150
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (noperiph:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:-1:-1): xpt_async
 (noperiph:ata3:0:-1:-1): xpt_release_path
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): Registered SIM for ata3
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_compile_path
 (xpt0:ata3:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_scan_bus
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:0:0): xpt_compile_path
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:0:0): xpt_compile_path
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_scan_lun
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_done
 (xpt0:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_compile_path
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:1:0): xpt_compile_path
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_scan_lun
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:0:0): camisr
 (xpt0:ata3:0:0:0): xpt_scan_bus
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_free_path
 (xpt0:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:1:0): camisr
 (xpt0:ata3:0:1:0): xpt_scan_bus
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_free_path
 (xpt0:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:-1:-1): xpt_done
 (xpt0:ata3:0:-1:-1): camisr
 (xpt0:ata3:0:-1:-1): Rescan succeeded
 (xpt0:ata3:0:-1:-1): xpt_free_path
 (xpt0:ata3:0:-1:-1): xpt_release_path
 ad8: 114440MB <Seagate ST3120026AS 8.05> at ata4-master SATA150
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (noperiph:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:-1:-1): xpt_async
 (noperiph:ata4:0:-1:-1): xpt_release_path
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): Registered SIM for ata4
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_compile_path
 (xpt0:ata4:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_scan_bus
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:0:0): xpt_compile_path
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:0:0): xpt_compile_path
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_scan_lun
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_done
 (xpt0:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_compile_path
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:1:0): xpt_compile_path
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_scan_lun
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_done
 (xpt0:ata4:0:1:0): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (noperiph:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_async
 (noperiph:ata5:0:-1:-1): xpt_release_path
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): Registered SIM for ata5
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_compile_path
 (xpt0:ata5:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_scan_bus
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:0:0): xpt_compile_path
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:0:0): xpt_compile_path
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_scan_lun
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_done
 (xpt0:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_compile_path
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:1:0): xpt_compile_path
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_scan_lun
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_done
 (xpt0:ata5:0:1:0): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (noperiph:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_async
 (noperiph:ata6:0:-1:-1): xpt_release_path
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): Registered SIM for ata6
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_compile_path
 (xpt0:ata6:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_scan_bus
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:0:0): xpt_compile_path
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:0:0): xpt_compile_path
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_scan_lun
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_done
 (xpt0:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_compile_path
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:1:0): xpt_compile_path
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_scan_lun
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_done
 (xpt0:ata6:0:1:0): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (noperiph:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_async
 (noperiph:ata7:0:-1:-1): xpt_release_path
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): Registered SIM for ata7
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_compile_path
 (xpt0:ata7:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_scan_bus
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:0:0): xpt_compile_path
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:0:0): xpt_compile_path
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_scan_lun
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_done
 (xpt0:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_compile_path
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:1:0): xpt_compile_path
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_scan_lun
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_done
 (xpt0:ata7:0:1:0): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (noperiph:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_async
 (noperiph:ata8:0:-1:-1): xpt_release_path
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): Registered SIM for ata8
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_compile_path
 (xpt0:ata8:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_scan_bus
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:0:0): xpt_compile_path
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:0:0): xpt_compile_path
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_scan_lun
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_done
 (xpt0:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_compile_path
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:1:0): xpt_compile_path
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_scan_lun
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_done
 (xpt0:ata8:0:1:0): xpt_done
 SMP: AP CPU #1 Launched!
 (xpt0:ata4:0:0:0): camisr
 (xpt0:ata4:0:0:0): xpt_scan_bus
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_free_path
 (xpt0:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:1:0): camisr
 (xpt0:ata4:0:1:0): xpt_scan_bus
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_free_path
 (xpt0:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:-1:-1): xpt_done
 (xpt0:ata5:0:0:0): camisr
 (xpt0:ata5:0:0:0): xpt_scan_bus
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_free_path
 (xpt0:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:1:0): camisr
 (xpt0:ata5:0:1:0): xpt_scan_bus
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_free_path
 (xpt0:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:-1:-1): xpt_done
 (xpt0:ata6:0:0:0): camisr
 (xpt0:ata6:0:0:0): xpt_scan_bus
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_free_path
 (xpt0:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:1:0): camisr
 (xpt0:ata6:0:1:0): xpt_scan_bus
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_free_path
 (xpt0:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:-1:-1): xpt_done
 (xpt0:ata7:0:0:0): camisr
 (xpt0:ata7:0:0:0): xpt_scan_bus
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_free_path
 (xpt0:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:1:0): camisr
 (xpt0:ata7:0:1:0): xpt_scan_bus
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_free_path
 (xpt0:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:-1:-1): xpt_done
 (xpt0:ata8:0:0:0): camisr
 (xpt0:ata8:0:0:0): xpt_scan_bus
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_free_path
 (xpt0:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:1:0): camisr
 (xpt0:ata8:0:1:0): xpt_scan_bus
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_free_path
 (xpt0:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:-1:-1): xpt_done
 (xpt0:ata4:0:-1:-1): camisr
 (xpt0:ata4:0:-1:-1): Rescan succeeded
 (xpt0:ata4:0:-1:-1): xpt_free_path
 (xpt0:ata4:0:-1:-1): xpt_release_path
 (xpt0:ata5:0:-1:-1): camisr
 (xpt0:ata5:0:-1:-1): Rescan succeeded
 (xpt0:ata5:0:-1:-1): xpt_free_path
 (xpt0:ata5:0:-1:-1): xpt_release_path
 (xpt0:ata6:0:-1:-1): camisr
 (xpt0:ata6:0:-1:-1): Rescan succeeded
 (xpt0:ata6:0:-1:-1): xpt_free_path
 (xpt0:ata6:0:-1:-1): xpt_release_path
 (xpt0:ata7:0:-1:-1): camisr
 (xpt0:ata7:0:-1:-1): Rescan succeeded
 (xpt0:ata7:0:-1:-1): xpt_free_path
 (xpt0:ata7:0:-1:-1): xpt_release_path
 (xpt0:ata8:0:-1:-1): camisr
 (xpt0:ata8:0:-1:-1): Rescan succeeded
 (xpt0:ata8:0:-1:-1): xpt_free_path
 (xpt0:ata8:0:-1:-1): xpt_release_path
 Trying to mount root from ufs:/dev/ad10s1a
 
 Manual root filesystem specification:
   <fstype>:<device>  Mount <device> using filesystem <fstype>
                        eg. ufs:da0s1a
   ?                  List valid disk boot devices
   <empty line>       Abort manual input
 
 mountroot> ufs:/dev/ad6s1a
 Trying to mount root from ufs:/dev/ad6s1a
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55ba940: 12 0 0 0 24 0
 acd0: req=0xc5555540 INQUIRY queued
 acd0: req=0xc5555540 INQUIRY starting
 acd0: req=0xc5555540 INQUIRY begin transaction
 acd0: req=0xc5555540 INQUIRY interrupt
 acd0: req=0xc5555540 INQUIRY end transaction
 acd0: req=0xc5555540 INQUIRY finish taskqueue_swi
 acd0: req=0xc5555540 INQUIRY completed entered
 acd0: req=0xc5555540 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc55ba940 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 60 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588780: 12 0 0 0 60 0
 acd0: req=0xc5556240 INQUIRY queued
 acd0: req=0xc5556240 INQUIRY starting
 acd0: req=0xc5556240 INQUIRY begin transaction
 acd0: req=0xc5556240 INQUIRY interrupt
 acd0: req=0xc5556240 INQUIRY end transaction
 acd0: req=0xc5556240 INQUIRY finish taskqueue_swi
 acd0: req=0xc5556240 INQUIRY completed entered
 acd0: req=0xc5556240 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc5588780 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (probe0:ata2:0:1:0): xpt_done
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (probe0:ata2:0:1:0): xpt_done
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x1, entries == 1, openings == 16, active == 0
 cam_debug: xpt_schedule_dev
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55ba900: 0 0 0 0 0 0
 acd0: req=0xc55826c0 TEST_UNIT_READY queued
 acd0: req=0xc55826c0 TEST_UNIT_READY starting
 acd0: req=0xc55826c0 TEST_UNIT_READY begin transaction
 acd0: req=0xc55826c0 TEST_UNIT_READY interrupt
 acd0: req=0xc55826c0 TEST_UNIT_READY end transaction
 acd0: req=0xc55826c0 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc55826c0 TEST_UNIT_READY completed entered
 atapi_cb: hcb@0xc55ba900 error = 02: (sk = 00 EOM)
 dev acd0: cmd 03 status 50 result 05
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_async
 (pass0:ata2:0:1:0): xpt_compile_path
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_compile_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_release_ccb
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588740: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc55563c0 READ_CAPACITY queued
 acd0: req=0xc55563c0 READ_CAPACITY starting
 acd0: req=0xc55563c0 READ_CAPACITY begin transaction
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_free_path
 (probe0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): camisr
 (xpt0:ata2:0:1:0): xpt_scan_bus
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_free_path
 (xpt0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:-1:-1): xpt_done
 (xpt0:ata2:0:-1:-1): camisr
 (xpt0:ata2:0:-1:-1): Rescan succeeded
 (xpt0:ata2:0:-1:-1): xpt_free_path
 (xpt0:ata2:0:-1:-1): xpt_release_path
 acd0: req=0xc55563c0 READ_CAPACITY timeout
 acd0: req=0xc55563c0 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc55563c0 READ_CAPACITY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: req=0xc55563c0 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc5588740 error = 00: (sk = 00)
 dev acd0: cmd 25 status 00 result 05
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 cd0 at ata2 bus 0 target 1 lun 0
 cd0: <SONY DVD RW DRU-800A KY06> Removable CD-ROM SCSI-0 device
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): GET_TRAN_SETTINGS
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_done
 cd0: 66.000MB/s transfers
 cd0: \^T\M--\M-%\M-@8,\M-[\M-c\M-}\M-pk\M-@\M-vJ\M^U\M-@\M^^\^C
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589380: 1e 0 0 0 1 0
 acd0: req=0xc5555d80 PREVENT_ALLOW queued
 acd0: req=0xc5555d80 PREVENT_ALLOW starting
 acd0: req=0xc5555d80 PREVENT_ALLOW begin transaction
 acd0: req=0xc5555d80 PREVENT_ALLOW interrupt
 acd0: req=0xc5555d80 PREVENT_ALLOW end transaction
 acd0: req=0xc5555d80 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc5555d80 PREVENT_ALLOW completed entered
 acd0: req=0xc5555d80 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc5589380 error = 00: (sk = 00)
 dev acd0: cmd 1e status 50 result 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdsize
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589380: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5582300 READ_CAPACITY queued
 acd0: req=0xc5582300 READ_CAPACITY starting
 acd0: req=0xc5582300 READ_CAPACITY begin transaction
 acd0: req=0xc5582300 READ_CAPACITY timeout
 acd0: req=0xc5582300 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5582300 READ_CAPACITY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: req=0xc5582300 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc5589380 error = 00: (sk = 00)
 dev acd0: cmd 25 status 00 result 05
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55bac40: 43 0 0 0 0 0 0 0 4 0
 acd0: req=0xc5556a80 READ_TOC queued
 acd0: req=0xc5556a80 READ_TOC starting
 acd0: req=0xc5556a80 READ_TOC begin transaction
 acd0: req=0xc5556a80 READ_TOC timeout
 acd0: req=0xc5556a80 READ_TOC finish taskqueue_swi
 acd0: req=0xc5556a80 READ_TOC completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_TOC timed out
 acd0: req=0xc5556a80 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc55bac40 error = 00: (sk = 00)
 dev acd0: cmd 43 status 00 result 05
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 0 0 14 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55ba300: 43 2 0 0 0 0 0 0 14 0
 acd0: req=0xc5555c00 READ_TOC queued
 acd0: req=0xc5555c00 READ_TOC starting
 acd0: req=0xc5555c00 READ_TOC begin transaction
 acd0: req=0xc5555c00 READ_TOC timeout
 acd0: req=0xc5555c00 READ_TOC finish taskqueue_swi
 acd0: req=0xc5555c00 READ_TOC completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_TOC timed out
 acd0: req=0xc5555c00 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc55ba300 error = 00: (sk = 00)
 dev acd0: cmd 43 status 00 result 05
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 aa 0 c 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55bab80: 43 2 0 0 0 0 aa 0 c 0
 acd0: req=0xc55829c0 READ_TOC queued
 acd0: req=0xc55829c0 READ_TOC starting
 acd0: req=0xc55829c0 READ_TOC begin transaction

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/103602: commit references a PR
Date: Tue,  6 Mar 2007 16:56:56 +0000 (UTC)

 thomas      2007-03-06 16:56:51 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     sys/dev/ata          atapi-cam.c 
   Log:
   MFC rev. 1.47:
   (cam_rescan): Do not reference ccb->ccb_h.path in CAM_DEBUG call before
   it is initialized; use path instead.
   PR: kern/103602
   
   Revision  Changes    Path
   1.42.2.2  +2 -2      src/sys/dev/ata/atapi-cam.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: Josh Carroll <josh.carroll@gmail.com>
Cc: bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Thu, 8 Mar 2007 16:17:16 +0100

 * Josh Carroll, 2007-03-06 :
 
 >  (probe0:ata2:0:1:0): probestart
 >  (probe0:ata2:0:1:0): xpt_action
 >  (probe0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 >  cam_debug: xpt_schedule_dev
 >  cam_debug: Inserting onto queue
 >  cam_debug: xpt_run_dev_sendq
 >  cam_debug: running device 0xc53bbc00
 >  (probe0:ata2:0:1:0): XPT_SCSI_IO
 >  atapi_action: hcb@0xc55ba900: 0 0 0 0 0 0
 >  acd0: req=0xc55826c0 TEST_UNIT_READY queued
 >  acd0: req=0xc55826c0 TEST_UNIT_READY starting
 >  acd0: req=0xc55826c0 TEST_UNIT_READY begin transaction
 >  acd0: req=0xc55826c0 TEST_UNIT_READY interrupt
 >  acd0: req=0xc55826c0 TEST_UNIT_READY end transaction
 >  acd0: req=0xc55826c0 TEST_UNIT_READY finish taskqueue_swi
 >  acd0: req=0xc55826c0 TEST_UNIT_READY completed entered
 >  atapi_cb: hcb@0xc55ba900 error = 02: (sk = 00 EOM)
 >  dev acd0: cmd 03 status 50 result 05
 
 OK, this seems to be the crucial point. Before this everything seems to
 work normally, after this all ATAPI commands seem to time out. Let's
 make the ATA layer a bit more verbose yet... (Patch attached).
 
 Thanks!
 Thomas.
 
 Index: ata-queue.c
 ===================================================================
 RCS file: /space/mirror/ncvs/src/sys/dev/ata/ata-queue.c,v
 retrieving revision 1.68
 diff -u -r1.68 ata-queue.c
 --- ata-queue.c	21 Feb 2007 19:07:18 -0000	1.68
 +++ ata-queue.c	8 Mar 2007 15:15:21 -0000
 @@ -381,6 +381,7 @@
  					sizeof(struct atapi_sense),
  					0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
  
 +	    ATA_DEBUG_RQ(request, "autoissue request sense");
  	    request->u.atapi.saved_cmd = request->u.atapi.ccb[0];
  	    bcopy(ccb, request->u.atapi.ccb, 16);
  	    request->data = (caddr_t)&request->u.atapi.sense;
 @@ -388,9 +389,8 @@
  	    request->donecount = 0;
  	    request->transfersize = sizeof(struct atapi_sense);
  	    request->timeout = 5;
 -	    request->flags &= (ATA_R_ATAPI | ATA_R_QUIET);
 +	    request->flags &= (ATA_R_ATAPI | ATA_R_QUIET | ATA_R_DEBUG);
  	    request->flags |= (ATA_R_READ | ATA_R_AT_HEAD | ATA_R_REQUEUE);
 -	    ATA_DEBUG_RQ(request, "autoissue request sense");
  	    ata_queue_request(request);
  	    return;
  	}

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Thu, 8 Mar 2007 10:50:28 -0800

 > OK, this seems to be the crucial point. Before this everything seems to
 > work normally, after this all ATAPI commands seem to time out. Let's
 > make the ATA layer a bit more verbose yet... (Patch attached).
 
 The system panics after a few minutes, but here is the dmesg output up
 until that point, and below that is the panic output and the output
 from the console prior to the panic (which I wasn't able to capture
 with the dmesg output):
 
 Copyright (c) 1992-2007 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.0-CURRENT #17: Thu Mar  8 07:38:03 PST 2007
     root@pflog.net:/usr/obj/usr/src/sys/DEBLIN
 WARNING: WITNESS option enabled, expect reduced performance.
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Core(TM)2 CPU         X6900  @ 3.20GHz (3200.01-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,XTPR,<b15>>
   AMD Features=0x20100000<NX,LM>
   AMD Features2=0x1<LAHF>
   Cores per package: 2
 real memory  = 2147024896 (2047 MB)
 avail memory = 2090582016 (1993 MB)
 ACPI APIC Table: <MSTEST OEMAPIC >
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 ioapic0 <Version 2.0> irqs 0-23 on motherboard
 kbd1 at kbdmux0
 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 acpi0: <KOZIRO FRONTIER> on motherboard
 acpi0: [ITHREAD]
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi0: Power Button (fixed)
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
 cpu0: <ACPI CPU> on acpi0
 cpu1: <ACPI CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
 pci1: <ACPI PCI bus> on pcib1
 vgapci0: <VGA-compatible display> mem
 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff irq
 16 at device 0.0 on pci1
 uhci0: <UHCI (generic) USB controller> port 0xe000-0xe01f irq 16 at
 device 26.0 on pci0
 uhci0: [GIANT-LOCKED]
 uhci0: [ITHREAD]
 usb0: <UHCI (generic) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
 uhub0: 2 ports with 2 removable, self powered
 uhci1: <UHCI (generic) USB controller> port 0xe080-0xe09f irq 17 at
 device 26.1 on pci0
 uhci1: [GIANT-LOCKED]
 uhci1: [ITHREAD]
 usb1: <UHCI (generic) USB controller> on uhci1
 usb1: USB revision 1.0
 uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
 uhub1: 2 ports with 2 removable, self powered
 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfebff400-0xfebff7ff
 irq 18 at device 26.7 on pci0
 ehci0: [GIANT-LOCKED]
 ehci0: [ITHREAD]
 usb2: EHCI version 1.0
 usb2: companion controllers, 2 ports each: usb0 usb1
 usb2: <EHCI (generic) USB 2.0 controller> on ehci0
 usb2: USB revision 2.0
 uhub2: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
 uhub2: 4 ports with 4 removable, self powered
 pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
 pci3: <ACPI PCI bus> on pcib2
 pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
 pci2: <ACPI PCI bus> on pcib3
 atapci0: <JMicron JMB363 SATA300 controller> mem 0xfe8fe000-0xfe8fffff
 irq 16 at device 0.0 on pci2
 atapci0: AHCI Version 01.00 controller with 2 ports detected
 ata0: <ATA channel 0> on atapci0
 ata0: [ITHREAD]
 ata1: <ATA channel 1> on atapci0
 ata1: [ITHREAD]
 atapci1: <JMicron JMB363 UDMA133 controller> port
 0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb40f
 at device 0.1 on pci2
 atapci1: [ITHREAD]
 ata2: <ATA channel 0> on atapci1
 ata2: [ITHREAD]
 uhci2: <UHCI (generic) USB controller> port 0xd800-0xd81f irq 23 at
 device 29.0 on pci0
 uhci2: [GIANT-LOCKED]
 uhci2: [ITHREAD]
 usb3: <UHCI (generic) USB controller> on uhci2
 usb3: USB revision 1.0
 uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
 uhub3: 2 ports with 2 removable, self powered
 uhci3: <UHCI (generic) USB controller> port 0xd880-0xd89f irq 19 at
 device 29.1 on pci0
 uhci3: [GIANT-LOCKED]
 uhci3: [ITHREAD]
 usb4: <UHCI (generic) USB controller> on uhci3
 usb4: USB revision 1.0
 uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
 uhub4: 2 ports with 2 removable, self powered
 uhci4: <UHCI (generic) USB controller> port 0xdc00-0xdc1f irq 18 at
 device 29.2 on pci0
 uhci4: [GIANT-LOCKED]
 uhci4: [ITHREAD]
 usb5: <UHCI (generic) USB controller> on uhci4
 usb5: USB revision 1.0
 uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
 uhub5: 2 ports with 2 removable, self powered
 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfebff000-0xfebff3ff
 irq 23 at device 29.7 on pci0
 ehci1: [GIANT-LOCKED]
 ehci1: [ITHREAD]
 usb6: EHCI version 1.0
 usb6: companion controllers, 2 ports each: usb3 usb4 usb5
 usb6: <EHCI (generic) USB 2.0 controller> on ehci1
 usb6: USB revision 2.0
 uhub6: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb6
 uhub6: 6 ports with 6 removable, self powered
 pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pci4: <ACPI PCI bus> on pcib4
 em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xcc00-0xcc3f mem 0xfeae0000-0xfeafffff,0xfeac0000-0xfeadffff irq 22
 at device 1.0 on pci4
 em0: Ethernet address: 00:0e:0c:6c:b9:16
 em0: [FILTER]
 em1: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xc880-0xc8bf mem 0xfea80000-0xfea9ffff,0xfea60000-0xfea7ffff irq 23
 at device 2.0 on pci4
 em1: Ethernet address: 00:0e:0c:6c:b9:0a
 em1: [FILTER]
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci2: <Intel ICH8 SATA300 controller> port
 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe41f
 mem 0xfebff800-0xfebfffff irq 19 at device 31.2 on pci0
 atapci2: [ITHREAD]
 atapci2: AHCI Version 01.10 controller with 4 ports detected
 ata3: <ATA channel 0> on atapci2
 ata3: [ITHREAD]
 ata4: <ATA channel 1> on atapci2
 ata4: [ITHREAD]
 ata5: <ATA channel 2> on atapci2
 ata5: port not implemented
 ata5: [ITHREAD]
 ata6: <ATA channel 3> on atapci2
 ata6: port not implemented
 ata6: [ITHREAD]
 ata7: <ATA channel 4> on atapci2
 ata7: [ITHREAD]
 ata8: <ATA channel 5> on atapci2
 ata8: [ITHREAD]
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 acpi_button0: <Power Button> on acpi0
 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 sio0: [FILTER]
 fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq
 2 on acpi0
 fdc0: [FILTER]
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
 Timecounter "HPET" frequency 14318180 Hz quality 2000
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 atkbd0: [ITHREAD]
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: [GIANT-LOCKED]
 psm0: [ITHREAD]
 psm0: model IntelliMouse, device ID 3
 pmtimer0 on isa0
 orm0: <ISA Option ROMs> at iomem 0xd2000-0xd2fff,0xd3000-0xd3fff pnpid
 ORM0000 on isa0
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 ppbus0: <Parallel port bus> on ppc0
 plip0: <PLIP network interface> on ppbus0
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ppc0: [GIANT-LOCKED]
 ppc0: [ITHREAD]
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 ugen0: <APC Back-UPS ES 500 FW:801.e5.D USB FW:e5, class 0/0, rev
 1.10/1.06, addr 2> on uhub3
 Timecounters tick every 1.000 msec
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (noperiph:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:-1:-1): xpt_async
 (noperiph:ata0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): Registered SIM for ata0
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_compile_path
 (xpt0:ata0:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_scan_bus
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:0:0): xpt_compile_path
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:0:0): xpt_compile_path
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_scan_lun
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_done
 (xpt0:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_compile_path
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:1:0): xpt_compile_path
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_scan_lun
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_done
 (xpt0:ata0:0:1:0): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (noperiph:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_async
 (noperiph:ata1:0:-1:-1): xpt_release_path
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): Registered SIM for ata1
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_compile_path
 (xpt0:ata1:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_scan_bus
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:0:0): xpt_compile_path
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:0:0): xpt_compile_path
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_scan_lun
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_done
 (xpt0:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_compile_path
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:1:0): xpt_compile_path
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_scan_lun
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata0:0:0:0): camisr
 (xpt0:ata0:0:0:0): xpt_scan_bus
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_free_path
 (xpt0:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:1:0): camisr
 (xpt0:ata0:0:1:0): xpt_scan_bus
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_free_path
 (xpt0:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:-1:-1): xpt_done
 (xpt0:ata1:0:0:0): camisr
 (xpt0:ata1:0:0:0): xpt_scan_bus
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_free_path
 (xpt0:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:1:0): camisr
 (xpt0:ata1:0:1:0): xpt_scan_bus
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_free_path
 (xpt0:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:-1:-1): xpt_done
 (xpt0:ata0:0:-1:-1): camisr
 (xpt0:ata0:0:-1:-1): Rescan succeeded
 (xpt0:ata0:0:-1:-1): xpt_free_path
 (xpt0:ata0:0:-1:-1): xpt_release_path
 (xpt0:ata1:0:-1:-1): camisr
 (xpt0:ata1:0:-1:-1): Rescan succeeded
 (xpt0:ata1:0:-1:-1): xpt_free_path
 (xpt0:ata1:0:-1:-1): xpt_release_path
 ad4: 152627MB <WDC WD1600JB-00EVA0 15.05R15> at ata2-master UDMA100
 acd0: DVDR <SONY DVD RW DRU-800A/KY06> at ata2-slave UDMA66
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (noperiph:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:-1:-1): xpt_release_path
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): Registered SIM for ata2
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_compile_path
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 24 0
 (xpt0:ata2:0:0:0): camisr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 ad6: 381553MB <Seagate ST3400633AS 3.AAH> at ata3-master SATA150
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (noperiph:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:-1:-1): xpt_async
 (noperiph:ata3:0:-1:-1): xpt_release_path
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): Registered SIM for ata3
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_compile_path
 (xpt0:ata3:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_scan_bus
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:0:0): xpt_compile_path
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:0:0): xpt_compile_path
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_scan_lun
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_done
 (xpt0:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_compile_path
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:1:0): xpt_compile_path
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_scan_lun
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:0:0): camisr
 (xpt0:ata3:0:0:0): xpt_scan_bus
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_free_path
 (xpt0:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:1:0): camisr
 (xpt0:ata3:0:1:0): xpt_scan_bus
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_free_path
 (xpt0:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:-1:-1): xpt_done
 (xpt0:ata3:0:-1:-1): camisr
 (xpt0:ata3:0:-1:-1): Rescan succeeded
 (xpt0:ata3:0:-1:-1): xpt_free_path
 (xpt0:ata3:0:-1:-1): xpt_release_path
 ad8: 114440MB <Seagate ST3120026AS 8.05> at ata4-master SATA150
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (noperiph:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:-1:-1): xpt_async
 (noperiph:ata4:0:-1:-1): xpt_release_path
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): Registered SIM for ata4
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_compile_path
 (xpt0:ata4:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_scan_bus
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:0:0): xpt_compile_path
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:0:0): xpt_compile_path
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_scan_lun
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_done
 (xpt0:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_compile_path
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:1:0): xpt_compile_path
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_scan_lun
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_done
 (xpt0:ata4:0:1:0): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (noperiph:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_async
 (noperiph:ata5:0:-1:-1): xpt_release_path
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): Registered SIM for ata5
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_compile_path
 (xpt0:ata5:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_scan_bus
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:0:0): xpt_compile_path
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:0:0): xpt_compile_path
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_scan_lun
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_done
 (xpt0:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_compile_path
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:1:0): xpt_compile_path
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_scan_lun
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_done
 (xpt0:ata5:0:1:0): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (noperiph:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_async
 (noperiph:ata6:0:-1:-1): xpt_release_path
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): Registered SIM for ata6
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_compile_path
 (xpt0:ata6:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_scan_bus
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:0:0): xpt_compile_path
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:0:0): xpt_compile_path
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_scan_lun
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_done
 (xpt0:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_compile_path
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:1:0): xpt_compile_path
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_scan_lun
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_done
 (xpt0:ata6:0:1:0): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (noperiph:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_async
 (noperiph:ata7:0:-1:-1): xpt_release_path
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): Registered SIM for ata7
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_compile_path
 (xpt0:ata7:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_scan_bus
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:0:0): xpt_compile_path
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:0:0): xpt_compile_path
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_scan_lun
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_done
 (xpt0:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_compile_path
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:1:0): xpt_compile_path
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_scan_lun
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_done
 (xpt0:ata7:0:1:0): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (noperiph:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_async
 (noperiph:ata8:0:-1:-1): xpt_release_path
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): Registered SIM for ata8
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_compile_path
 (xpt0:ata8:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_scan_bus
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:0:0): xpt_compile_path
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:0:0): xpt_compile_path
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_scan_lun
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_done
 (xpt0:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_compile_path
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:1:0): xpt_compile_path
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_scan_lun
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_done
 (xpt0:ata8:0:1:0): xpt_done
 SMP: AP CPU #1 Launched!
 (xpt0:ata4:0:0:0): camisr
 (xpt0:ata4:0:0:0): xpt_scan_bus
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_free_path
 (xpt0:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:1:0): camisr
 (xpt0:ata4:0:1:0): xpt_scan_bus
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_free_path
 (xpt0:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:-1:-1): xpt_done
 (xpt0:ata5:0:0:0): camisr
 (xpt0:ata5:0:0:0): xpt_scan_bus
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_free_path
 (xpt0:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:1:0): camisr
 (xpt0:ata5:0:1:0): xpt_scan_bus
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_free_path
 (xpt0:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:-1:-1): xpt_done
 (xpt0:ata6:0:0:0): camisr
 (xpt0:ata6:0:0:0): xpt_scan_bus
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_free_path
 (xpt0:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:1:0): camisr
 (xpt0:ata6:0:1:0): xpt_scan_bus
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_free_path
 (xpt0:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:-1:-1): xpt_done
 (xpt0:ata7:0:0:0): camisr
 (xpt0:ata7:0:0:0): xpt_scan_bus
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_free_path
 (xpt0:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:1:0): camisr
 (xpt0:ata7:0:1:0): xpt_scan_bus
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_free_path
 (xpt0:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:-1:-1): xpt_done
 (xpt0:ata8:0:0:0): camisr
 (xpt0:ata8:0:0:0): xpt_scan_bus
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_free_path
 (xpt0:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:1:0): camisr
 (xpt0:ata8:0:1:0): xpt_scan_bus
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_free_path
 (xpt0:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:-1:-1): xpt_done
 (xpt0:ata4:0:-1:-1): camisr
 (xpt0:ata4:0:-1:-1): Rescan succeeded
 (xpt0:ata4:0:-1:-1): xpt_free_path
 (xpt0:ata4:0:-1:-1): xpt_release_path
 (xpt0:ata5:0:-1:-1): camisr
 (xpt0:ata5:0:-1:-1): Rescan succeeded
 (xpt0:ata5:0:-1:-1): xpt_free_path
 (xpt0:ata5:0:-1:-1): xpt_release_path
 (xpt0:ata6:0:-1:-1): camisr
 (xpt0:ata6:0:-1:-1): Rescan succeeded
 (xpt0:ata6:0:-1:-1): xpt_free_path
 (xpt0:ata6:0:-1:-1): xpt_release_path
 (xpt0:ata7:0:-1:-1): camisr
 (xpt0:ata7:0:-1:-1): Rescan succeeded
 (xpt0:ata7:0:-1:-1): xpt_free_path
 (xpt0:ata7:0:-1:-1): xpt_release_path
 (xpt0:ata8:0:-1:-1): camisr
 (xpt0:ata8:0:-1:-1): Rescan succeeded
 (xpt0:ata8:0:-1:-1): xpt_free_path
 (xpt0:ata8:0:-1:-1): xpt_release_path
 Trying to mount root from ufs:/dev/ad10s1a
 
 Manual root filesystem specification:
   <fstype>:<device>  Mount <device> using filesystem <fstype>
                        eg. ufs:da0s1a
   ?                  List valid disk boot devices
   <empty line>       Abort manual input
 
 mountroot> ufs:/dev/ad6s1a
 Trying to mount root from ufs:/dev/ad6s1a
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8640: 12 0 0 0 24 0
 acd0: req=0xc5555240 INQUIRY queued
 acd0: req=0xc5555240 INQUIRY starting
 acd0: req=0xc5555240 INQUIRY begin transaction
 acd0: req=0xc5555240 INQUIRY interrupt
 acd0: req=0xc5555240 INQUIRY end transaction
 acd0: req=0xc5555240 INQUIRY finish taskqueue_swi
 acd0: req=0xc5555240 INQUIRY completed entered
 acd0: req=0xc5555240 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc55b8640 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 60 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588780: 12 0 0 0 60 0
 acd0: req=0xc5555c00 INQUIRY queued
 acd0: req=0xc5555c00 INQUIRY starting
 acd0: req=0xc5555c00 INQUIRY begin transaction
 acd0: req=0xc5555c00 INQUIRY interrupt
 acd0: req=0xc5555c00 INQUIRY end transaction
 acd0: req=0xc5555c00 INQUIRY finish taskqueue_swi
 acd0: req=0xc5555c00 INQUIRY completed entered
 acd0: req=0xc5555c00 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc5588780 error = 00: (sk = 00)
 dev acd0: cmd 12 status 50 result 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (probe0:ata2:0:1:0): xpt_done
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (probe0:ata2:0:1:0): xpt_done
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x1, entries == 1, openings == 16, active == 0
 cam_debug: xpt_schedule_dev
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8600: 0 0 0 0 0 0
 acd0: req=0xc5583540 TEST_UNIT_READY queued
 acd0: req=0xc5583540 TEST_UNIT_READY starting
 acd0: req=0xc5583540 TEST_UNIT_READY begin transaction
 acd0: req=0xc5583540 TEST_UNIT_READY interrupt
 acd0: req=0xc5583540 TEST_UNIT_READY end transaction
 acd0: req=0xc5583540 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc5583540 TEST_UNIT_READY completed entered
 acd0: req=0xc5583540 TEST_UNIT_READY autoissue request sense
 acd0: req=0xc5583540 REQUEST_SENSE queued
 acd0: req=0xc5583540 REQUEST_SENSE starting
 acd0: req=0xc5583540 REQUEST_SENSE begin transaction
 acd0: req=0xc5583540 REQUEST_SENSE interrupt
 acd0: req=0xc5583540 REQUEST_SENSE end transaction
 acd0: req=0xc5583540 TEST_UNIT_READY interrupt
 acd0: req=0xc5583540 TEST_UNIT_READY end transaction
 acd0: req=0xc5583540 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc5583540 TEST_UNIT_READY completed entered
 acd0: req=0xc5583540 TEST_UNIT_READY completed callback/wakeup
 atapi_cb: hcb@0xc55b8600 error = 02: (sk = 00 EOM)
 dev acd0: cmd 03 status 50 result 05
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_async
 (pass0:ata2:0:1:0): xpt_compile_path
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_compile_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_release_ccb
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588740: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5555cc0 READ_CAPACITY queued
 acd0: req=0xc5555cc0 READ_CAPACITY starting
 acd0: req=0xc5555cc0 READ_CAPACITY begin transaction
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_free_path
 (probe0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): camisr
 (xpt0:ata2:0:1:0): xpt_scan_bus
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_free_path
 (xpt0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:-1:-1): xpt_done
 (xpt0:ata2:0:-1:-1): camisr
 (xpt0:ata2:0:-1:-1): Rescan succeeded
 (xpt0:ata2:0:-1:-1): xpt_free_path
 (xpt0:ata2:0:-1:-1): xpt_release_path
 Enter root password, or ^D to go multi-user
 Password:
 
 Enter full pathname of shell or RETURN for /bin/sh:
 acd0: req=0xc5555cc0 READ_CAPACITY timeout
 acd0: req=0xc5555cc0 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5555cc0 READ_CAPACITY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: req=0xc5555cc0 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc5588740 error = 00: (sk = 00)
 dev acd0: cmd 25 status 00 result 05
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 cd0 at ata2 bus 0 target 1 lun 0
 cd0: <SONY DVD RW DRU-800A KY06> Removable CD-ROM SCSI-0 device
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): GET_TRAN_SETTINGS
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_done
 cd0: 66.000MB/s transfers
 cd0: \^T\M--\M-%\M-@8,\M-[\M-c\M-y\M-pk\M-@\M-vJ\M^U\M-@\M^^\^C
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55893c0: 1e 0 0 0 1 0
 acd0: req=0xc5583cc0 PREVENT_ALLOW queued
 acd0: req=0xc5583cc0 PREVENT_ALLOW starting
 acd0: req=0xc5583cc0 PREVENT_ALLOW begin transaction
 acd0: req=0xc5583cc0 PREVENT_ALLOW interrupt
 acd0: req=0xc5583cc0 PREVENT_ALLOW end transaction
 acd0: req=0xc5583cc0 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc5583cc0 PREVENT_ALLOW completed entered
 acd0: req=0xc5583cc0 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc55893c0 error = 00: (sk = 00)
 dev acd0: cmd 1e status 50 result 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdsize
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588580: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5555e40 READ_CAPACITY queued
 acd0: req=0xc5555e40 READ_CAPACITY starting
 acd0: req=0xc5555e40 READ_CAPACITY begin transaction
 acd0: req=0xc5555e40 READ_CAPACITY timeout
 acd0: req=0xc5555e40 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5555e40 READ_CAPACITY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: req=0xc5555e40 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc5588580 error = 00: (sk = 00)
 dev acd0: cmd 25 status 00 result 05
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588ac0: 43 0 0 0 0 0 0 0 4 0
 acd0: req=0xc5583cc0 READ_TOC queued
 acd0: req=0xc5583cc0 READ_TOC starting
 acd0: req=0xc5583cc0 READ_TOC begin transaction
 
 acd0: req=0xc5583cc0 READ_TOC timeout
 acd0: req=0xc5583cc0 READ_TOC finish taskqueue_swi
 acd0: req=0xc5583cc0 READ_TOC completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_TOC timed out
 acd0: req=0xc5583cc0 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc5588ac0 error = 00: (sk = 00)
 dev acd0: cmd 43 status 00 result 05
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 0 0 14 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589d80: 43 2 0 0 0 0 0 0 14 0
 acd0: req=0xc5583c00 READ_TOC queued
 acd0: req=0xc5583c00 READ_TOC starting
 acd0: req=0xc5583c00 READ_TOC begin transaction
 acd0: req=0xc5583c00 READ_TOC timeout
 acd0: req=0xc5583c00 READ_TOC finish taskqueue_swi
 acd0: req=0xc5583c00 READ_TOC completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_TOC timed out
 acd0: req=0xc5583c00 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc5589d80 error = 00: (sk = 00)
 dev acd0: cmd 43 status 00 result 05
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 aa 0 c 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588d00: 43 2 0 0 0 0 aa 0 c 0
 acd0: req=0xc5555780 READ_TOC queued
 acd0: req=0xc5555780 READ_TOC starting
 acd0: req=0xc5555780 READ_TOC begin transaction
 em1: watchdog timeout -- resetting
 em1: watchdog timeout -- resetting
 acd0: req=0xc5555780 READ_TOC timeout
 acd0: req=0xc5555780 READ_TOC finish taskqueue_swi
 acd0: req=0xc5555780 READ_TOC completed entered
 ad4: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout -
 completing request directly
 ad4: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout -
 completing request directly
 em1: watchdog timeout -- resetting
 ad4: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout -
 completing request directly
 ad4: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout -
 completing request directly
 ad4: WARNING - SET_MULTI taskqueue timeout - completing request directly
 
 
 console output prior to the panic:
 
 (noperhiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_TOC timed out
 acd0: req=0xc5583780 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc5588700 error = 00: (sk = 00)
 dev acd0: cmd 43 status 00 result 05
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 cam_debug: xpt_release_ccb
 (cd0: ata2:0:1:0): leaving cdopen
 panic: g_read_data(): invalid length 3737169374
 cpuid = 1
 KDB: enter: panic
 [thread pid 2 tid 100001 ]
 Stopped at kdb_enter+0x2b: nop
 db>
 
 
 Panic backtrace:
 
 Tracing pid 2 tid 100001 td 0xc51f1d80
 kdb_enter(c095044d) at kdb_enter+0x2b
 panic(c0949a62,dec0adde,0,c55d9d00,c5587b80,...) at panic+0x11c
 g_read_data(c55b8580,0,0,dec0adde,0,0) at g_read_data+0x50
 g_mbr_taste(c0a1e760,c55d9d00,0,c55d9c80,3e8,...) at g_mbr_taste+0x103
 g_new_provider_event(c55d9d00,0,66666667,e3d8ecec,c068966d,...) at
 g_new_provider_event+0x6e
 one_event(e3d8ed04,c068a921,258,190,c068a8b4,...) at one_event+0x18a
 g_run_events(258,190,c068a8b4,c068a8b4,e3d8ed24,...) at g_run_events+0x9
 g_event_procbody(0,e3d8ed38) at g_event_procbody+0x6d
 fork_exit(c068a8b4,0,e3d8ed38) at fork_exit+0xac
 fork_trampoline() at fork_trampoline+0x8
 --- trap 0, eip = 0, esp = 0xe3d8ed70, ebp = 0 ---
 db>
 
 Thanks,
 Josh

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Thu, 8 Mar 2007 13:24:43 -0800

 Thomas,
 
 There is some odd output in dmesg that I have been meaning to ask
 about (specifically whether it's significant to this problem):
 
 cd0: 66.000MB/s transfers
 cd0: \\^T\\M--\\M-%\\M-@8,\\M-[\\M-c\\M-y\\M-pk\\M-@\\M-vJ\\M^U\\M-@\\M^^\\^C
 cam_debug: xpt_release_ccb
 
 On the screen, I see odd ASCII characters, but I guess dmesg stores
 them as control characters. Anyway, do you think this is significant?
 Since there is no disc in the drive, shouldn't I see the following?
 
 cd0: Attempt to query device size failed: NOT READY, Medium not present
 
 Just wondering why I'm seeing garbage and whether it's related.
 
 Thanks,
 Josh

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Fri, 9 Mar 2007 02:56:21 +0100

 * Josh Carroll, 2007-03-08 :
 
 > The system panics after a few minutes, but here is the dmesg output up
 > until that point, and below that is the panic output and the output
 > from the console prior to the panic (which I wasn't able to capture
 > with the dmesg output):
 
 OK, it looks to me like we're really missing a reporting circuitry for
 the case of an ATAPI request that times out. Attached to this message is
 a new patch that adds the missing code. It also fixes some incorrect
 reporting.  Please apply it in addition to the previous ones.
 
 Thanks!
 Thomas.
 
 Index: atapi-cam.c
 ===================================================================
 RCS file: /space/mirror/ncvs/src/sys/dev/ata/atapi-cam.c,v
 retrieving revision 1.47
 diff -u -r1.47 atapi-cam.c
 --- atapi-cam.c	27 Feb 2007 09:00:51 -0000	1.47
 +++ atapi-cam.c	9 Mar 2007 01:50:16 -0000
 @@ -666,14 +682,14 @@
  #ifdef CAMDEBUG
  # define err (request->u.atapi.sense.key)
      if (CAM_DEBUGGED(csio->ccb_h.path, CAM_DEBUG_CDB)) {
 -	printf("atapi_cb: hcb@%p error = %02x: (sk = %02x%s%s%s)\n",
 -	       hcb, err, err >> 4,
 -	       (err & 4) ? " ABRT" : "",
 -	       (err & 2) ? " EOM" : "",
 -	       (err & 1) ? " ILI" : "");
 -	printf("dev %s: cmd %02x status %02x result %02x\n",
 -	    device_get_nameunit(request->dev), request->u.atapi.ccb[0],
 -	    request->status, request->result);
 +	printf("atapi_cb: hcb@%p sense = %02x: sk = %01x%s%s%s)\n",
 +	       hcb, err, err & 0x0f,
 +	       (err & 0x80) ? ", Filemark" : "",
 +	       (err & 0x40) ? ", EOM" : "",
 +	       (err & 0x20) ? ", ILI" : "");
 +	device_printf("cmd %s status %02x result %02x error %02x\n",
 +	    request->dev, ata_cmd2str(request),
 +	    request->status, request->result, request->error);
      }
  #endif
  
 @@ -683,8 +699,12 @@
  	    csio->ccb_h.status |= CAM_AUTOSNS_VALID;
  	}
      } else if (request->result != 0) {
 -	rc = CAM_SCSI_STATUS_ERROR;
 -	csio->scsi_status = SCSI_STATUS_CHECK_COND;
 +	if ((request->flags & ATA_R_TIMEOUT) != 0) {
 +	    rc = CAM_CMD_TIMEOUT;
 +	} else {
 +	    rc = CAM_SCSI_STATUS_ERROR;
 +	    csio->scsi_status = SCSI_STATUS_CHECK_COND;
 +	}
  
  	if ((csio->ccb_h.flags & CAM_DIS_AUTOSENSE) == 0) {
  #if 0

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Thu, 8 Mar 2007 20:03:55 -0800

 > OK, it looks to me like we're really missing a reporting circuitry for
 > the case of an ATAPI request that times out. Attached to this message is
 > a new patch that adds the missing code. It also fixes some incorrect
 > reporting.  Please apply it in addition to the previous ones.
 
 It looks like we're getting really close to finding out what's going
 on here. I had some very interesting results with the inclusion of the
 latest patch.
 
 First, I noticed that the console messages stopped only a minute or
 two into the boot, and the system was stable. I looked at vmstat -i,
 and sure enough the interrupt storm had stopped! The strange thing,
 though, is that prior to this patch (I think from about patch-5 on) I
 had a /dev/cd0 entry and the interrupt storm continued. This time, I
 don't get a /dev/cd0. However, this is without a disc in the drive.
 
 I booted with a canon printer installation cd in the drive, and the
 dmesg output is much different. Not only did I get a /dev/cd0, but
 there was no interrupt storm at all! I could even mount and poke
 around with mount_cd9660 /dev/cd0 /mnt. I then tried to put in a blank
 DVD-R disc, and as soon as I did that and tried to run growisofs on
 it, the console hung and I got a lot of messages that look similar to
 the debug messages when there was no disc in the drive.
 
 Below is the dmesg output from the boot without the cd in the drive.
 After that, I've included the dmesg output from a boot with the CD in
 the drive, and the attempt to run growisofs on a blank DVD-R.
 
 Thanks,
 Josh
 
 
 dmesg (no cd in the drive, interrupt storm stopped when the console
 messages stopped):
 
 Copyright (c) 1992-2007 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.0-CURRENT #18: Thu Mar  8 18:29:38 PST 2007
     root@pflog.net:/usr/obj/usr/src/sys/DEBLIN
 WARNING: WITNESS option enabled, expect reduced performance.
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Core(TM)2 CPU         X6900  @ 3.20GHz (3200.02-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,XTPR,<b15>>
   AMD Features=0x20100000<NX,LM>
   AMD Features2=0x1<LAHF>
   Cores per package: 2
 real memory  = 2147024896 (2047 MB)
 avail memory = 2090582016 (1993 MB)
 ACPI APIC Table: <MSTEST OEMAPIC >
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 ioapic0 <Version 2.0> irqs 0-23 on motherboard
 kbd1 at kbdmux0
 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 acpi0: <KOZIRO FRONTIER> on motherboard
 acpi0: [ITHREAD]
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi0: Power Button (fixed)
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
 cpu0: <ACPI CPU> on acpi0
 cpu1: <ACPI CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
 pci1: <ACPI PCI bus> on pcib1
 vgapci0: <VGA-compatible display> mem
 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff irq
 16 at device 0.0 on pci1
 uhci0: <UHCI (generic) USB controller> port 0xe000-0xe01f irq 16 at
 device 26.0 on pci0
 uhci0: [GIANT-LOCKED]
 uhci0: [ITHREAD]
 usb0: <UHCI (generic) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
 uhub0: 2 ports with 2 removable, self powered
 uhci1: <UHCI (generic) USB controller> port 0xe080-0xe09f irq 17 at
 device 26.1 on pci0
 uhci1: [GIANT-LOCKED]
 uhci1: [ITHREAD]
 usb1: <UHCI (generic) USB controller> on uhci1
 usb1: USB revision 1.0
 uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
 uhub1: 2 ports with 2 removable, self powered
 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfebff400-0xfebff7ff
 irq 18 at device 26.7 on pci0
 ehci0: [GIANT-LOCKED]
 ehci0: [ITHREAD]
 usb2: EHCI version 1.0
 usb2: companion controllers, 2 ports each: usb0 usb1
 usb2: <EHCI (generic) USB 2.0 controller> on ehci0
 usb2: USB revision 2.0
 uhub2: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
 uhub2: 4 ports with 4 removable, self powered
 pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
 pci3: <ACPI PCI bus> on pcib2
 pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
 pci2: <ACPI PCI bus> on pcib3
 atapci0: <JMicron JMB363 SATA300 controller> mem 0xfe8fe000-0xfe8fffff
 irq 16 at device 0.0 on pci2
 atapci0: AHCI Version 01.00 controller with 2 ports detected
 ata0: <ATA channel 0> on atapci0
 ata0: [ITHREAD]
 ata1: <ATA channel 1> on atapci0
 ata1: [ITHREAD]
 atapci1: <JMicron JMB363 UDMA133 controller> port
 0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb40f
 at device 0.1 on pci2
 atapci1: [ITHREAD]
 ata2: <ATA channel 0> on atapci1
 ata2: [ITHREAD]
 uhci2: <UHCI (generic) USB controller> port 0xd800-0xd81f irq 23 at
 device 29.0 on pci0
 uhci2: [GIANT-LOCKED]
 uhci2: [ITHREAD]
 usb3: <UHCI (generic) USB controller> on uhci2
 usb3: USB revision 1.0
 uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
 uhub3: 2 ports with 2 removable, self powered
 uhci3: <UHCI (generic) USB controller> port 0xd880-0xd89f irq 19 at
 device 29.1 on pci0
 uhci3: [GIANT-LOCKED]
 uhci3: [ITHREAD]
 usb4: <UHCI (generic) USB controller> on uhci3
 usb4: USB revision 1.0
 uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
 uhub4: 2 ports with 2 removable, self powered
 uhci4: <UHCI (generic) USB controller> port 0xdc00-0xdc1f irq 18 at
 device 29.2 on pci0
 uhci4: [GIANT-LOCKED]
 uhci4: [ITHREAD]
 usb5: <UHCI (generic) USB controller> on uhci4
 usb5: USB revision 1.0
 uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
 uhub5: 2 ports with 2 removable, self powered
 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfebff000-0xfebff3ff
 irq 23 at device 29.7 on pci0
 ehci1: [GIANT-LOCKED]
 ehci1: [ITHREAD]
 usb6: EHCI version 1.0
 usb6: companion controllers, 2 ports each: usb3 usb4 usb5
 usb6: <EHCI (generic) USB 2.0 controller> on ehci1
 usb6: USB revision 2.0
 uhub6: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb6
 uhub6: 6 ports with 6 removable, self powered
 pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pci4: <ACPI PCI bus> on pcib4
 em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xcc00-0xcc3f mem 0xfeae0000-0xfeafffff,0xfeac0000-0xfeadffff irq 22
 at device 1.0 on pci4
 em0: Ethernet address: 00:0e:0c:6c:b9:16
 em0: [FILTER]
 em1: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xc880-0xc8bf mem 0xfea80000-0xfea9ffff,0xfea60000-0xfea7ffff irq 23
 at device 2.0 on pci4
 em1: Ethernet address: 00:0e:0c:6c:b9:0a
 em1: [FILTER]
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci2: <Intel ICH8 SATA300 controller> port
 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe41f
 mem 0xfebff800-0xfebfffff irq 19 at device 31.2 on pci0
 atapci2: [ITHREAD]
 atapci2: AHCI Version 01.10 controller with 4 ports detected
 ata3: <ATA channel 0> on atapci2
 ata3: [ITHREAD]
 ata4: <ATA channel 1> on atapci2
 ata4: [ITHREAD]
 ata5: <ATA channel 2> on atapci2
 ata5: port not implemented
 ata5: [ITHREAD]
 ata6: <ATA channel 3> on atapci2
 ata6: port not implemented
 ata6: [ITHREAD]
 ata7: <ATA channel 4> on atapci2
 ata7: [ITHREAD]
 ata8: <ATA channel 5> on atapci2
 ata8: [ITHREAD]
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 acpi_button0: <Power Button> on acpi0
 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 sio0: [FILTER]
 fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq
 2 on acpi0
 fdc0: [FILTER]
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
 Timecounter "HPET" frequency 14318180 Hz quality 2000
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 atkbd0: [ITHREAD]
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: [GIANT-LOCKED]
 psm0: [ITHREAD]
 psm0: model IntelliMouse, device ID 3
 pmtimer0 on isa0
 orm0: <ISA Option ROMs> at iomem 0xd2000-0xd2fff,0xd3000-0xd3fff pnpid
 ORM0000 on isa0
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 ppbus0: <Parallel port bus> on ppc0
 plip0: <PLIP network interface> on ppbus0
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ppc0: [GIANT-LOCKED]
 ppc0: [ITHREAD]
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 ugen0: <APC Back-UPS ES 500 FW:801.e5.D USB FW:e5, class 0/0, rev
 1.10/1.06, addr 2> on uhub3
 Timecounters tick every 1.000 msec
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (noperiph:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:-1:-1): xpt_async
 (noperiph:ata0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): Registered SIM for ata0
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_compile_path
 (xpt0:ata0:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_scan_bus
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:0:0): xpt_compile_path
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:0:0): xpt_compile_path
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_scan_lun
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_done
 (xpt0:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_compile_path
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:1:0): xpt_compile_path
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_scan_lun
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_done
 (xpt0:ata0:0:1:0): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (noperiph:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_async
 (noperiph:ata1:0:-1:-1): xpt_release_path
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): Registered SIM for ata1
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_compile_path
 (xpt0:ata1:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_scan_bus
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:0:0): xpt_compile_path
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:0:0): xpt_compile_path
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_scan_lun
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_done
 (xpt0:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_compile_path
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:1:0): xpt_compile_path
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_scan_lun
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata0:0:0:0): camisr
 (xpt0:ata0:0:0:0): xpt_scan_bus
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_free_path
 (xpt0:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:1:0): camisr
 (xpt0:ata0:0:1:0): xpt_scan_bus
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_free_path
 (xpt0:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:-1:-1): xpt_done
 (xpt0:ata1:0:0:0): camisr
 (xpt0:ata1:0:0:0): xpt_scan_bus
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_free_path
 (xpt0:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:1:0): camisr
 (xpt0:ata1:0:1:0): xpt_scan_bus
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_free_path
 (xpt0:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:-1:-1): xpt_done
 (xpt0:ata0:0:-1:-1): camisr
 (xpt0:ata0:0:-1:-1): Rescan succeeded
 (xpt0:ata0:0:-1:-1): xpt_free_path
 (xpt0:ata0:0:-1:-1): xpt_release_path
 (xpt0:ata1:0:-1:-1): camisr
 (xpt0:ata1:0:-1:-1): Rescan succeeded
 (xpt0:ata1:0:-1:-1): xpt_free_path
 (xpt0:ata1:0:-1:-1): xpt_release_path
 ad4: 152627MB <WDC WD1600JB-00EVA0 15.05R15> at ata2-master UDMA100
 acd0: DVDR <SONY DVD RW DRU-800A/KY06> at ata2-slave UDMA66
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (noperiph:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:-1:-1): xpt_release_path
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): Registered SIM for ata2
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_compile_path
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 24 0
 (xpt0:ata2:0:0:0): camisr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 ad6: 381553MB <Seagate ST3400633AS 3.AAH> at ata3-master SATA150
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (noperiph:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:-1:-1): xpt_async
 (noperiph:ata3:0:-1:-1): xpt_release_path
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): Registered SIM for ata3
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_compile_path
 (xpt0:ata3:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_scan_bus
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:0:0): xpt_compile_path
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:0:0): xpt_compile_path
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_scan_lun
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_done
 (xpt0:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_compile_path
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:1:0): xpt_compile_path
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_scan_lun
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:0:0): camisr
 (xpt0:ata3:0:0:0): xpt_scan_bus
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_free_path
 (xpt0:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:1:0): camisr
 (xpt0:ata3:0:1:0): xpt_scan_bus
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_free_path
 (xpt0:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:-1:-1): xpt_done
 (xpt0:ata3:0:-1:-1): camisr
 (xpt0:ata3:0:-1:-1): Rescan succeeded
 (xpt0:ata3:0:-1:-1): xpt_free_path
 (xpt0:ata3:0:-1:-1): xpt_release_path
 ad8: 114440MB <Seagate ST3120026AS 8.05> at ata4-master SATA150
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (noperiph:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:-1:-1): xpt_async
 (noperiph:ata4:0:-1:-1): xpt_release_path
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): Registered SIM for ata4
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_compile_path
 (xpt0:ata4:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_scan_bus
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:0:0): xpt_compile_path
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:0:0): xpt_compile_path
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_scan_lun
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_done
 (xpt0:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_compile_path
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:1:0): xpt_compile_path
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_scan_lun
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_done
 (xpt0:ata4:0:1:0): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (noperiph:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_async
 (noperiph:ata5:0:-1:-1): xpt_release_path
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): Registered SIM for ata5
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_compile_path
 (xpt0:ata5:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_scan_bus
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:0:0): xpt_compile_path
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:0:0): xpt_compile_path
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_scan_lun
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_done
 (xpt0:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_compile_path
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:1:0): xpt_compile_path
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_scan_lun
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_done
 (xpt0:ata5:0:1:0): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (noperiph:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_async
 (noperiph:ata6:0:-1:-1): xpt_release_path
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): Registered SIM for ata6
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_compile_path
 (xpt0:ata6:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_scan_bus
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:0:0): xpt_compile_path
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:0:0): xpt_compile_path
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_scan_lun
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_done
 (xpt0:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_compile_path
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:1:0): xpt_compile_path
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_scan_lun
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_done
 (xpt0:ata6:0:1:0): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (noperiph:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_async
 (noperiph:ata7:0:-1:-1): xpt_release_path
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): Registered SIM for ata7
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_compile_path
 (xpt0:ata7:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_scan_bus
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:0:0): xpt_compile_path
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:0:0): xpt_compile_path
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_scan_lun
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_done
 (xpt0:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_compile_path
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:1:0): xpt_compile_path
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_scan_lun
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_done
 (xpt0:ata7:0:1:0): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (noperiph:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_async
 (noperiph:ata8:0:-1:-1): xpt_release_path
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): Registered SIM for ata8
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_compile_path
 (xpt0:ata8:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_scan_bus
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:0:0): xpt_compile_path
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:0:0): xpt_compile_path
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_scan_lun
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_done
 (xpt0:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_compile_path
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:1:0): xpt_compile_path
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_scan_lun
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_done
 (xpt0:ata8:0:1:0): xpt_done
 SMP: AP CPU #1 Launched!
 (xpt0:ata4:0:0:0): camisr
 (xpt0:ata4:0:0:0): xpt_scan_bus
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_free_path
 (xpt0:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:1:0): camisr
 (xpt0:ata4:0:1:0): xpt_scan_bus
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_free_path
 (xpt0:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:-1:-1): xpt_done
 (xpt0:ata5:0:0:0): camisr
 (xpt0:ata5:0:0:0): xpt_scan_bus
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_free_path
 (xpt0:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:1:0): camisr
 (xpt0:ata5:0:1:0): xpt_scan_bus
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_free_path
 (xpt0:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:-1:-1): xpt_done
 (xpt0:ata6:0:0:0): camisr
 (xpt0:ata6:0:0:0): xpt_scan_bus
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_free_path
 (xpt0:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:1:0): camisr
 (xpt0:ata6:0:1:0): xpt_scan_bus
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_free_path
 (xpt0:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:-1:-1): xpt_done
 (xpt0:ata7:0:0:0): camisr
 (xpt0:ata7:0:0:0): xpt_scan_bus
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_free_path
 (xpt0:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:1:0): camisr
 (xpt0:ata7:0:1:0): xpt_scan_bus
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_free_path
 (xpt0:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:-1:-1): xpt_done
 (xpt0:ata8:0:0:0): camisr
 (xpt0:ata8:0:0:0): xpt_scan_bus
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_free_path
 (xpt0:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:1:0): camisr
 (xpt0:ata8:0:1:0): xpt_scan_bus
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_free_path
 (xpt0:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:-1:-1): xpt_done
 (xpt0:ata4:0:-1:-1): camisr
 (xpt0:ata4:0:-1:-1): Rescan succeeded
 (xpt0:ata4:0:-1:-1): xpt_free_path
 (xpt0:ata4:0:-1:-1): xpt_release_path
 (xpt0:ata5:0:-1:-1): camisr
 (xpt0:ata5:0:-1:-1): Rescan succeeded
 (xpt0:ata5:0:-1:-1): xpt_free_path
 (xpt0:ata5:0:-1:-1): xpt_release_path
 (xpt0:ata6:0:-1:-1): camisr
 (xpt0:ata6:0:-1:-1): Rescan succeeded
 (xpt0:ata6:0:-1:-1): xpt_free_path
 (xpt0:ata6:0:-1:-1): xpt_release_path
 (xpt0:ata7:0:-1:-1): camisr
 (xpt0:ata7:0:-1:-1): Rescan succeeded
 (xpt0:ata7:0:-1:-1): xpt_free_path
 (xpt0:ata7:0:-1:-1): xpt_release_path
 (xpt0:ata8:0:-1:-1): camisr
 (xpt0:ata8:0:-1:-1): Rescan succeeded
 (xpt0:ata8:0:-1:-1): xpt_free_path
 (xpt0:ata8:0:-1:-1): xpt_release_path
 Trying to mount root from ufs:/dev/ad10s1a
 
 Manual root filesystem specification:
   <fstype>:<device>  Mount <device> using filesystem <fstype>
                        eg. ufs:da0s1a
   ?                  List valid disk boot devices
   <empty line>       Abort manual input
 
 mountroot> ufs:/dev/ad6s1a
 Trying to mount root from ufs:/dev/ad6s1a
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55ba8c0: 12 0 0 0 24 0
 acd0: req=0xc5555240 INQUIRY queued
 acd0: req=0xc5555240 INQUIRY starting
 acd0: req=0xc5555240 INQUIRY begin transaction
 acd0: req=0xc5555240 INQUIRY interrupt
 acd0: req=0xc5555240 INQUIRY end transaction
 acd0: req=0xc5555240 INQUIRY finish taskqueue_swi
 acd0: req=0xc5555240 INQUIRY completed entered
 acd0: req=0xc5555240 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc55ba8c0 sense = 00: sk = 0)
 acd0: cmd INQUIRY status 50 result 00 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 60 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588800: 12 0 0 0 60 0
 acd0: req=0xc5555b40 INQUIRY queued
 acd0: req=0xc5555b40 INQUIRY starting
 acd0: req=0xc5555b40 INQUIRY begin transaction
 acd0: req=0xc5555b40 INQUIRY interrupt
 acd0: req=0xc5555b40 INQUIRY end transaction
 acd0: req=0xc5555b40 INQUIRY finish taskqueue_swi
 acd0: req=0xc5555b40 INQUIRY completed entered
 acd0: req=0xc5555b40 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc5588800 sense = 00: sk = 0)
 acd0: cmd INQUIRY status 50 result 00 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (probe0:ata2:0:1:0): xpt_done
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (probe0:ata2:0:1:0): xpt_done
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x1, entries == 1, openings == 16, active == 0
 cam_debug: xpt_schedule_dev
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55ba880: 0 0 0 0 0 0
 acd0: req=0xc5555840 TEST_UNIT_READY queued
 acd0: req=0xc5555840 TEST_UNIT_READY starting
 acd0: req=0xc5555840 TEST_UNIT_READY begin transaction
 acd0: req=0xc5555840 TEST_UNIT_READY interrupt
 acd0: req=0xc5555840 TEST_UNIT_READY end transaction
 acd0: req=0xc5555840 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc5555840 TEST_UNIT_READY completed entered
 acd0: req=0xc5555840 TEST_UNIT_READY autoissue request sense
 acd0: req=0xc5555840 REQUEST_SENSE queued
 acd0: req=0xc5555840 REQUEST_SENSE starting
 acd0: req=0xc5555840 REQUEST_SENSE begin transaction
 acd0: req=0xc5555840 REQUEST_SENSE interrupt
 acd0: req=0xc5555840 REQUEST_SENSE end transaction
 acd0: req=0xc5555840 TEST_UNIT_READY interrupt
 acd0: req=0xc5555840 TEST_UNIT_READY end transaction
 acd0: req=0xc5555840 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc5555840 TEST_UNIT_READY completed entered
 acd0: req=0xc5555840 TEST_UNIT_READY completed callback/wakeup
 atapi_cb: hcb@0xc55ba880 sense = 02: sk = 2)
 acd0: cmd TEST_UNIT_READY status 50 result 05 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_async
 (pass0:ata2:0:1:0): xpt_compile_path
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_compile_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_release_ccb
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55887c0: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5555d80 READ_CAPACITY queued
 acd0: req=0xc5555d80 READ_CAPACITY starting
 acd0: req=0xc5555d80 READ_CAPACITY begin transaction
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_free_path
 (probe0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): camisr
 (xpt0:ata2:0:1:0): xpt_scan_bus
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_free_path
 (xpt0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:-1:-1): xpt_done
 (xpt0:ata2:0:-1:-1): camisr
 (xpt0:ata2:0:-1:-1): Rescan succeeded
 (xpt0:ata2:0:-1:-1): xpt_free_path
 (xpt0:ata2:0:-1:-1): xpt_release_path
 Enter root password, or ^D to go multi-user
 Password:
 
 Enter full pathname of shell or RETURN for /bin/sh:
 \\[\\033[01;31m\\]\\u\\[\\033[00m\\]@
 \^[[1m\^[[7m#\^[[27m\^[[1m\^[[m
 \^[[m\^[[27m\^[[J\^[[1;31mroot\^[[0m@:~#
 \^[[K
 s
 \^Hsh
 \^H\^Hs \^H
 \^H \^H
 
 \^[[1m\^[[7m#\^[[27m\^[[1m\^[[m
 \^[[m\^[[27m\^[[J\^[[1;31mroot\^[[0m@:~#
 \^[[K
 
 \^[[1m\^[[7m#\^[[27m\^[[1m\^[[m
 \^[[m\^[[27m\^[[J\^[[1;31mroot\^[[0m@:~#
 \^[[K
 acd0: req=0xc5555d80 READ_CAPACITY timeout
 acd0: req=0xc5555d80 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5555d80 READ_CAPACITY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: req=0xc5555d80 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc55887c0 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 00 result 05 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55897c0: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5556c00 READ_CAPACITY queued
 acd0: req=0xc5556c00 READ_CAPACITY starting
 acd0: req=0xc5556c00 READ_CAPACITY begin transaction
 acd0: req=0xc5556c00 READ_CAPACITY timeout
 acd0: req=0xc5556c00 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5556c00 READ_CAPACITY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: req=0xc5556c00 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc55897c0 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 00 result 05 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 (cd0:ata2:0:1:0): Sense Error Code 0x0
 (cd0:ata2:0:1:0): fatal error, failed to attach to device
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): lost device
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588700: 1e 0 0 0 1 0
 acd0: req=0xc5556000 PREVENT_ALLOW queued
 acd0: req=0xc5556000 PREVENT_ALLOW starting
 acd0: req=0xc5556000 PREVENT_ALLOW begin transaction
 acd0: req=0xc5556000 PREVENT_ALLOW interrupt
 acd0: req=0xc5556000 PREVENT_ALLOW end transaction
 acd0: req=0xc5556000 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc5556000 PREVENT_ALLOW completed entered
 acd0: req=0xc5556000 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc5588700 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdsize
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589800: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5556c00 READ_CAPACITY queued
 acd0: req=0xc5556c00 READ_CAPACITY starting
 acd0: req=0xc5556c00 READ_CAPACITY begin transaction
 acd0: req=0xc5556c00 READ_CAPACITY timeout
 acd0: req=0xc5556c00 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5556c00 READ_CAPACITY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: req=0xc5556c00 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc5589800 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 00 result 05 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589840: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5555c00 READ_CAPACITY queued
 acd0: req=0xc5555c00 READ_CAPACITY starting
 acd0: req=0xc5555c00 READ_CAPACITY begin transaction
 acd0: req=0xc5555c00 READ_CAPACITY timeout
 acd0: req=0xc5555c00 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5555c00 READ_CAPACITY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: req=0xc5555c00 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc5589840 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 00 result 05 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55886c0: 1e 0 0 0 0 0
 acd0: req=0xc5555840 PREVENT_ALLOW queued
 acd0: req=0xc5555840 PREVENT_ALLOW starting
 acd0: req=0xc5555840 PREVENT_ALLOW begin transaction
 acd0: req=0xc5555840 PREVENT_ALLOW interrupt
 acd0: req=0xc5555840 PREVENT_ALLOW end transaction
 acd0: req=0xc5555840 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc5555840 PREVENT_ALLOW completed entered
 acd0: req=0xc5555840 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc55886c0 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): leaving cdopen
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): removing device entry
 (cd0:ata2:0:1:0): xpt_free_path
 (cd0:ata2:0:1:0): xpt_release_path
 
 
 
 And here's the dmesg output from a boot with a normal CD in the drive,
 mounting and ls'ing in the mount point and umount'ing the drive, then
 trying to run growisofs on a blank DVD-R:
 
 Copyright (c) 1992-2007 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.0-CURRENT #18: Thu Mar  8 18:29:38 PST 2007
     root@pflog.net:/usr/obj/usr/src/sys/DEBLIN
 WARNING: WITNESS option enabled, expect reduced performance.
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Core(TM)2 CPU         X6900  @ 3.20GHz (3200.01-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,XTPR,<b15>>
   AMD Features=0x20100000<NX,LM>
   AMD Features2=0x1<LAHF>
   Cores per package: 2
 real memory  = 2147024896 (2047 MB)
 avail memory = 2090582016 (1993 MB)
 ACPI APIC Table: <MSTEST OEMAPIC >
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 ioapic0 <Version 2.0> irqs 0-23 on motherboard
 kbd1 at kbdmux0
 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 acpi0: <KOZIRO FRONTIER> on motherboard
 acpi0: [ITHREAD]
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi0: Power Button (fixed)
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
 cpu0: <ACPI CPU> on acpi0
 cpu1: <ACPI CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
 pci1: <ACPI PCI bus> on pcib1
 vgapci0: <VGA-compatible display> mem
 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff irq
 16 at device 0.0 on pci1
 uhci0: <UHCI (generic) USB controller> port 0xe000-0xe01f irq 16 at
 device 26.0 on pci0
 uhci0: [GIANT-LOCKED]
 uhci0: [ITHREAD]
 usb0: <UHCI (generic) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
 uhub0: 2 ports with 2 removable, self powered
 uhci1: <UHCI (generic) USB controller> port 0xe080-0xe09f irq 17 at
 device 26.1 on pci0
 uhci1: [GIANT-LOCKED]
 uhci1: [ITHREAD]
 usb1: <UHCI (generic) USB controller> on uhci1
 usb1: USB revision 1.0
 uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
 uhub1: 2 ports with 2 removable, self powered
 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfebff400-0xfebff7ff
 irq 18 at device 26.7 on pci0
 ehci0: [GIANT-LOCKED]
 ehci0: [ITHREAD]
 usb2: EHCI version 1.0
 usb2: companion controllers, 2 ports each: usb0 usb1
 usb2: <EHCI (generic) USB 2.0 controller> on ehci0
 usb2: USB revision 2.0
 uhub2: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
 uhub2: 4 ports with 4 removable, self powered
 pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
 pci3: <ACPI PCI bus> on pcib2
 pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
 pci2: <ACPI PCI bus> on pcib3
 atapci0: <JMicron JMB363 SATA300 controller> mem 0xfe8fe000-0xfe8fffff
 irq 16 at device 0.0 on pci2
 atapci0: AHCI Version 01.00 controller with 2 ports detected
 ata0: <ATA channel 0> on atapci0
 ata0: [ITHREAD]
 ata1: <ATA channel 1> on atapci0
 ata1: [ITHREAD]
 atapci1: <JMicron JMB363 UDMA133 controller> port
 0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb40f
 at device 0.1 on pci2
 atapci1: [ITHREAD]
 ata2: <ATA channel 0> on atapci1
 ata2: [ITHREAD]
 uhci2: <UHCI (generic) USB controller> port 0xd800-0xd81f irq 23 at
 device 29.0 on pci0
 uhci2: [GIANT-LOCKED]
 uhci2: [ITHREAD]
 usb3: <UHCI (generic) USB controller> on uhci2
 usb3: USB revision 1.0
 uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
 uhub3: 2 ports with 2 removable, self powered
 uhci3: <UHCI (generic) USB controller> port 0xd880-0xd89f irq 19 at
 device 29.1 on pci0
 uhci3: [GIANT-LOCKED]
 uhci3: [ITHREAD]
 usb4: <UHCI (generic) USB controller> on uhci3
 usb4: USB revision 1.0
 uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
 uhub4: 2 ports with 2 removable, self powered
 uhci4: <UHCI (generic) USB controller> port 0xdc00-0xdc1f irq 18 at
 device 29.2 on pci0
 uhci4: [GIANT-LOCKED]
 uhci4: [ITHREAD]
 usb5: <UHCI (generic) USB controller> on uhci4
 usb5: USB revision 1.0
 uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
 uhub5: 2 ports with 2 removable, self powered
 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfebff000-0xfebff3ff
 irq 23 at device 29.7 on pci0
 ehci1: [GIANT-LOCKED]
 ehci1: [ITHREAD]
 usb6: EHCI version 1.0
 usb6: companion controllers, 2 ports each: usb3 usb4 usb5
 usb6: <EHCI (generic) USB 2.0 controller> on ehci1
 usb6: USB revision 2.0
 uhub6: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb6
 uhub6: 6 ports with 6 removable, self powered
 pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pci4: <ACPI PCI bus> on pcib4
 em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xcc00-0xcc3f mem 0xfeae0000-0xfeafffff,0xfeac0000-0xfeadffff irq 22
 at device 1.0 on pci4
 em0: Ethernet address: 00:0e:0c:6c:b9:16
 em0: [FILTER]
 em1: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xc880-0xc8bf mem 0xfea80000-0xfea9ffff,0xfea60000-0xfea7ffff irq 23
 at device 2.0 on pci4
 em1: Ethernet address: 00:0e:0c:6c:b9:0a
 em1: [FILTER]
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci2: <Intel ICH8 SATA300 controller> port
 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe41f
 mem 0xfebff800-0xfebfffff irq 19 at device 31.2 on pci0
 atapci2: [ITHREAD]
 atapci2: AHCI Version 01.10 controller with 4 ports detected
 ata3: <ATA channel 0> on atapci2
 ata3: [ITHREAD]
 ata4: <ATA channel 1> on atapci2
 ata4: [ITHREAD]
 ata5: <ATA channel 2> on atapci2
 ata5: port not implemented
 ata5: [ITHREAD]
 ata6: <ATA channel 3> on atapci2
 ata6: port not implemented
 ata6: [ITHREAD]
 ata7: <ATA channel 4> on atapci2
 ata7: [ITHREAD]
 ata8: <ATA channel 5> on atapci2
 ata8: [ITHREAD]
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 acpi_button0: <Power Button> on acpi0
 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 sio0: [FILTER]
 fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq
 2 on acpi0
 fdc0: [FILTER]
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
 Timecounter "HPET" frequency 14318180 Hz quality 2000
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 atkbd0: [ITHREAD]
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: [GIANT-LOCKED]
 psm0: [ITHREAD]
 psm0: model IntelliMouse, device ID 3
 pmtimer0 on isa0
 orm0: <ISA Option ROMs> at iomem 0xd2000-0xd2fff,0xd3000-0xd3fff pnpid
 ORM0000 on isa0
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 ppbus0: <Parallel port bus> on ppc0
 plip0: <PLIP network interface> on ppbus0
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ppc0: [GIANT-LOCKED]
 ppc0: [ITHREAD]
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 ugen0: <APC Back-UPS ES 500 FW:801.e5.D USB FW:e5, class 0/0, rev
 1.10/1.06, addr 2> on uhub3
 Timecounters tick every 1.000 msec
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (noperiph:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:-1:-1): xpt_async
 (noperiph:ata0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): Registered SIM for ata0
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_compile_path
 (xpt0:ata0:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_scan_bus
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:0:0): xpt_compile_path
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:0:0): xpt_compile_path
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_scan_lun
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_done
 (xpt0:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_compile_path
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:1:0): xpt_compile_path
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_scan_lun
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_done
 (xpt0:ata0:0:1:0): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (noperiph:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_async
 (noperiph:ata1:0:-1:-1): xpt_release_path
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): Registered SIM for ata1
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_compile_path
 (xpt0:ata1:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_scan_bus
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:0:0): xpt_compile_path
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:0:0): xpt_compile_path
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_scan_lun
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_done
 (xpt0:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_compile_path
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:1:0): xpt_compile_path
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_scan_lun
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata0:0:0:0): camisr
 (xpt0:ata0:0:0:0): xpt_scan_bus
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_free_path
 (xpt0:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:1:0): camisr
 (xpt0:ata0:0:1:0): xpt_scan_bus
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_free_path
 (xpt0:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:-1:-1): xpt_done
 (xpt0:ata1:0:0:0): camisr
 (xpt0:ata1:0:0:0): xpt_scan_bus
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_free_path
 (xpt0:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:1:0): camisr
 (xpt0:ata1:0:1:0): xpt_scan_bus
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_free_path
 (xpt0:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:-1:-1): xpt_done
 (xpt0:ata0:0:-1:-1): camisr
 (xpt0:ata0:0:-1:-1): Rescan succeeded
 (xpt0:ata0:0:-1:-1): xpt_free_path
 (xpt0:ata0:0:-1:-1): xpt_release_path
 (xpt0:ata1:0:-1:-1): camisr
 (xpt0:ata1:0:-1:-1): Rescan succeeded
 (xpt0:ata1:0:-1:-1): xpt_free_path
 (xpt0:ata1:0:-1:-1): xpt_release_path
 ad4: 152627MB <WDC WD1600JB-00EVA0 15.05R15> at ata2-master UDMA100
 acd0: DVDR <SONY DVD RW DRU-800A/KY06> at ata2-slave UDMA66
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (noperiph:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:-1:-1): xpt_release_path
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): Registered SIM for ata2
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_compile_path
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 24 0
 (xpt0:ata2:0:0:0): camisr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 ad6: 381553MB <Seagate ST3400633AS 3.AAH> at ata3-master SATA150
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (noperiph:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:-1:-1): xpt_async
 (noperiph:ata3:0:-1:-1): xpt_release_path
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): Registered SIM for ata3
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_compile_path
 (xpt0:ata3:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_scan_bus
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:0:0): xpt_compile_path
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:0:0): xpt_compile_path
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_scan_lun
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_done
 (xpt0:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_compile_path
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:1:0): xpt_compile_path
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_scan_lun
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:0:0): camisr
 (xpt0:ata3:0:0:0): xpt_scan_bus
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_free_path
 (xpt0:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:1:0): camisr
 (xpt0:ata3:0:1:0): xpt_scan_bus
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_free_path
 (xpt0:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:-1:-1): xpt_done
 (xpt0:ata3:0:-1:-1): camisr
 (xpt0:ata3:0:-1:-1): Rescan succeeded
 (xpt0:ata3:0:-1:-1): xpt_free_path
 (xpt0:ata3:0:-1:-1): xpt_release_path
 ad8: 114440MB <Seagate ST3120026AS 8.05> at ata4-master SATA150
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (noperiph:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:-1:-1): xpt_async
 (noperiph:ata4:0:-1:-1): xpt_release_path
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): Registered SIM for ata4
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_compile_path
 (xpt0:ata4:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_scan_bus
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:0:0): xpt_compile_path
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:0:0): xpt_compile_path
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_scan_lun
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_done
 (xpt0:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_compile_path
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:1:0): xpt_compile_path
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_scan_lun
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_done
 (xpt0:ata4:0:1:0): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (noperiph:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_async
 (noperiph:ata5:0:-1:-1): xpt_release_path
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): Registered SIM for ata5
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_compile_path
 (xpt0:ata5:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_scan_bus
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:0:0): xpt_compile_path
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:0:0): xpt_compile_path
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_scan_lun
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_done
 (xpt0:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_compile_path
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:1:0): xpt_compile_path
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_scan_lun
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_done
 (xpt0:ata5:0:1:0): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (noperiph:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_async
 (noperiph:ata6:0:-1:-1): xpt_release_path
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): Registered SIM for ata6
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_compile_path
 (xpt0:ata6:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_scan_bus
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:0:0): xpt_compile_path
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:0:0): xpt_compile_path
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_scan_lun
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_done
 (xpt0:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_compile_path
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:1:0): xpt_compile_path
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_scan_lun
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_done
 (xpt0:ata6:0:1:0): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (noperiph:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_async
 (noperiph:ata7:0:-1:-1): xpt_release_path
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): Registered SIM for ata7
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_compile_path
 (xpt0:ata7:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_scan_bus
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:0:0): xpt_compile_path
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:0:0): xpt_compile_path
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_scan_lun
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_done
 (xpt0:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_compile_path
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:1:0): xpt_compile_path
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_scan_lun
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_done
 (xpt0:ata7:0:1:0): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (noperiph:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_async
 (noperiph:ata8:0:-1:-1): xpt_release_path
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): Registered SIM for ata8
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_compile_path
 (xpt0:ata8:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_scan_bus
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:0:0): xpt_compile_path
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:0:0): xpt_compile_path
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_scan_lun
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_done
 (xpt0:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_compile_path
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:1:0): xpt_compile_path
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_scan_lun
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_done
 (xpt0:ata8:0:1:0): xpt_done
 SMP: AP CPU #1 Launched!
 (xpt0:ata4:0:0:0): camisr
 (xpt0:ata4:0:0:0): xpt_scan_bus
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_free_path
 (xpt0:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:1:0): camisr
 (xpt0:ata4:0:1:0): xpt_scan_bus
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_free_path
 (xpt0:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:-1:-1): xpt_done
 (xpt0:ata5:0:0:0): camisr
 (xpt0:ata5:0:0:0): xpt_scan_bus
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_free_path
 (xpt0:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:1:0): camisr
 (xpt0:ata5:0:1:0): xpt_scan_bus
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_free_path
 (xpt0:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:-1:-1): xpt_done
 (xpt0:ata6:0:0:0): camisr
 (xpt0:ata6:0:0:0): xpt_scan_bus
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_free_path
 (xpt0:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:1:0): camisr
 (xpt0:ata6:0:1:0): xpt_scan_bus
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_free_path
 (xpt0:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:-1:-1): xpt_done
 (xpt0:ata7:0:0:0): camisr
 (xpt0:ata7:0:0:0): xpt_scan_bus
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_free_path
 (xpt0:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:1:0): camisr
 (xpt0:ata7:0:1:0): xpt_scan_bus
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_free_path
 (xpt0:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:-1:-1): xpt_done
 (xpt0:ata8:0:0:0): camisr
 (xpt0:ata8:0:0:0): xpt_scan_bus
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_free_path
 (xpt0:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:1:0): camisr
 (xpt0:ata8:0:1:0): xpt_scan_bus
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_free_path
 (xpt0:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:-1:-1): xpt_done
 (xpt0:ata4:0:-1:-1): camisr
 (xpt0:ata4:0:-1:-1): Rescan succeeded
 (xpt0:ata4:0:-1:-1): xpt_free_path
 (xpt0:ata4:0:-1:-1): xpt_release_path
 (xpt0:ata5:0:-1:-1): camisr
 (xpt0:ata5:0:-1:-1): Rescan succeeded
 (xpt0:ata5:0:-1:-1): xpt_free_path
 (xpt0:ata5:0:-1:-1): xpt_release_path
 (xpt0:ata6:0:-1:-1): camisr
 (xpt0:ata6:0:-1:-1): Rescan succeeded
 (xpt0:ata6:0:-1:-1): xpt_free_path
 (xpt0:ata6:0:-1:-1): xpt_release_path
 (xpt0:ata7:0:-1:-1): camisr
 (xpt0:ata7:0:-1:-1): Rescan succeeded
 (xpt0:ata7:0:-1:-1): xpt_free_path
 (xpt0:ata7:0:-1:-1): xpt_release_path
 (xpt0:ata8:0:-1:-1): camisr
 (xpt0:ata8:0:-1:-1): Rescan succeeded
 (xpt0:ata8:0:-1:-1): xpt_free_path
 (xpt0:ata8:0:-1:-1): xpt_release_path
 GEOM_LABEL: Label for provider acd0 is iso9660/iP4000_01.
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc555c200: 12 0 0 0 24 0
 acd0: req=0xc5556540 INQUIRY queued
 acd0: req=0xc5556540 INQUIRY starting
 acd0: req=0xc5556540 INQUIRY begin transaction
 acd0: req=0xc5556540 INQUIRY interrupt
 acd0: req=0xc5556540 INQUIRY end transaction
 acd0: req=0xc5556540 INQUIRY finish taskqueue_swi
 acd0: req=0xc5556540 INQUIRY completed entered
 acd0: req=0xc5556540 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc555c200 sense = 00: sk = 0)
 acd0: cmd INQUIRY status 50 result 00 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 60 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589340: 12 0 0 0 60 0
 acd0: req=0xc55829c0 INQUIRY queued
 acd0: req=0xc55829c0 INQUIRY starting
 acd0: req=0xc55829c0 INQUIRY begin transaction
 acd0: req=0xc55829c0 INQUIRY interrupt
 acd0: req=0xc55829c0 INQUIRY end transaction
 acd0: req=0xc55829c0 INQUIRY finish taskqueue_swi
 acd0: req=0xc55829c0 INQUIRY completed entered
 acd0: req=0xc55829c0 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc5589340 sense = 00: sk = 0)
 acd0: cmd INQUIRY status 50 result 00 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (probe0:ata2:0:1:0): xpt_done
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (probe0:ata2:0:1:0): xpt_done
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x1, entries == 1, openings == 16, active == 0
 cam_debug: xpt_schedule_dev
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589300: 0 0 0 0 0 0
 acd0: req=0xc5582900 TEST_UNIT_READY queued
 acd0: req=0xc5582900 TEST_UNIT_READY starting
 acd0: req=0xc5582900 TEST_UNIT_READY begin transaction
 acd0: req=0xc5582900 TEST_UNIT_READY interrupt
 acd0: req=0xc5582900 TEST_UNIT_READY end transaction
 acd0: req=0xc5582900 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc5582900 TEST_UNIT_READY completed entered
 acd0: req=0xc5582900 TEST_UNIT_READY completed callback/wakeup
 atapi_cb: hcb@0xc5589300 sense = 00: sk = 0)
 acd0: cmd TEST_UNIT_READY status 50 result 00 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_async
 (pass0:ata2:0:1:0): xpt_compile_path
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_compile_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_release_ccb
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55892c0: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5582840 READ_CAPACITY queued
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_free_path
 (probe0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): camisr
 (xpt0:ata2:0:1:0): xpt_scan_bus
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_free_path
 (xpt0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:-1:-1): xpt_done
 (xpt0:ata2:0:-1:-1): camisr
 (xpt0:ata2:0:-1:-1): Rescan succeeded
 (xpt0:ata2:0:-1:-1): xpt_free_path
 (xpt0:ata2:0:-1:-1): xpt_release_path
 acd0: req=0xc5582840 READ_CAPACITY starting
 acd0: req=0xc5582840 READ_CAPACITY begin transaction
 acd0: req=0xc5582840 READ_CAPACITY interrupt
 acd0: req=0xc5582840 READ_CAPACITY end transaction
 acd0: req=0xc5582840 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5582840 READ_CAPACITY completed entered
 acd0: req=0xc5582840 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc55892c0 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cd0 at ata2 bus 0 target 1 lun 0
 cd0: <SONY DVD RW DRU-800A KY06> Removable CD-ROM SCSI-0 device
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): GET_TRAN_SETTINGS
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_done
 cd0: 66.000MB/s transfers
 cd0: cd present [78339 x 2048 byte records]
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588940: 1e 0 0 0 1 0
 acd0: req=0xc5555240 PREVENT_ALLOW queued
 acd0: req=0xc5555240 PREVENT_ALLOW starting
 acd0: req=0xc5555240 PREVENT_ALLOW begin transaction
 acd0: req=0xc5555240 PREVENT_ALLOW interrupt
 acd0: req=0xc5555240 PREVENT_ALLOW end transaction
 acd0: req=0xc5555240 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc5555240 PREVENT_ALLOW completed entered
 acd0: req=0xc5555240 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc5588940 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdsize
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588900: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5582000 READ_CAPACITY queued
 acd0: req=0xc5582000 READ_CAPACITY starting
 acd0: req=0xc5582000 READ_CAPACITY begin transaction
 acd0: req=0xc5582000 READ_CAPACITY interrupt
 acd0: req=0xc5582000 READ_CAPACITY end transaction
 acd0: req=0xc5582000 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5582000 READ_CAPACITY completed entered
 acd0: req=0xc5582000 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc5588900 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55888c0: 43 0 0 0 0 0 0 0 4 0
 acd0: req=0xc5556180 READ_TOC queued
 acd0: req=0xc5556180 READ_TOC starting
 acd0: req=0xc5556180 READ_TOC begin transaction
 acd0: req=0xc5556180 READ_TOC interrupt
 acd0: req=0xc5556180 READ_TOC end transaction
 acd0: req=0xc5556180 READ_TOC finish taskqueue_swi
 acd0: req=0xc5556180 READ_TOC completed entered
 acd0: req=0xc5556180 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc55888c0 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 1 0 14 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588880: 43 2 0 0 0 0 1 0 14 0
 acd0: req=0xc55560c0 READ_TOC queued
 acd0: req=0xc55560c0 READ_TOC starting
 acd0: req=0xc55560c0 READ_TOC begin transaction
 acd0: req=0xc55560c0 READ_TOC interrupt
 acd0: req=0xc55560c0 READ_TOC end transaction
 acd0: req=0xc55560c0 READ_TOC finish taskqueue_swi
 acd0: req=0xc55560c0 READ_TOC completed entered
 acd0: req=0xc55560c0 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc5588880 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 aa 0 c 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588840: 43 2 0 0 0 0 aa 0 c 0
 acd0: req=0xc55ba3c0 READ_TOC queued
 acd0: req=0xc55ba3c0 READ_TOC starting
 acd0: req=0xc55ba3c0 READ_TOC begin transaction
 acd0: req=0xc55ba3c0 READ_TOC interrupt
 acd0: req=0xc55ba3c0 READ_TOC end transaction
 acd0: req=0xc55ba3c0 READ_TOC finish taskqueue_swi
 acd0: req=0xc55ba3c0 READ_TOC completed entered
 acd0: req=0xc55ba3c0 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc5588840 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): leaving cdopen
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 0000:01: 2048
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588800: 28 0 0 0 0 0 0 0 1 0
 acd0: req=0xc55ba300 READ_BIG queued
 acd0: req=0xc55ba300 READ_BIG starting
 acd0: req=0xc55ba300 READ_BIG begin transaction
 acd0: req=0xc55ba300 READ_BIG interrupt
 acd0: req=0xc55ba300 READ_BIG end transaction
 acd0: req=0xc55ba300 READ_BIG finish taskqueue_swi
 acd0: req=0xc55ba300 READ_BIG completed entered
 acd0: req=0xc55ba300 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc5588800 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55887c0: 1e 0 0 0 0 0
 acd0: req=0xc55ba240 PREVENT_ALLOW queued
 acd0: req=0xc55ba240 PREVENT_ALLOW starting
 acd0: req=0xc55ba240 PREVENT_ALLOW begin transaction
 acd0: req=0xc55ba240 PREVENT_ALLOW interrupt
 acd0: req=0xc55ba240 PREVENT_ALLOW end transaction
 acd0: req=0xc55ba240 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc55ba240 PREVENT_ALLOW completed entered
 acd0: req=0xc55ba240 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc55887c0 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588740: 1e 0 0 0 1 0
 acd0: req=0xc55ba180 PREVENT_ALLOW queued
 acd0: req=0xc55ba180 PREVENT_ALLOW starting
 acd0: req=0xc55ba180 PREVENT_ALLOW begin transaction
 acd0: req=0xc55ba180 PREVENT_ALLOW interrupt
 acd0: req=0xc55ba180 PREVENT_ALLOW end transaction
 acd0: req=0xc55ba180 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc55ba180 PREVENT_ALLOW completed entered
 acd0: req=0xc55ba180 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc5588740 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdsize
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588700: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5582d80 READ_CAPACITY queued
 acd0: req=0xc5582d80 READ_CAPACITY starting
 acd0: req=0xc5582d80 READ_CAPACITY begin transaction
 acd0: req=0xc5582d80 READ_CAPACITY interrupt
 acd0: req=0xc5582d80 READ_CAPACITY end transaction
 acd0: req=0xc5582d80 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5582d80 READ_CAPACITY completed entered
 acd0: req=0xc5582d80 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc5588700 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8a00: 43 0 0 0 0 0 0 0 4 0
 acd0: req=0xc55829c0 READ_TOC queued
 acd0: req=0xc55829c0 READ_TOC starting
 acd0: req=0xc55829c0 READ_TOC begin transaction
 acd0: req=0xc55829c0 READ_TOC interrupt
 acd0: req=0xc55829c0 READ_TOC end transaction
 acd0: req=0xc55829c0 READ_TOC finish taskqueue_swi
 acd0: req=0xc55829c0 READ_TOC completed entered
 acd0: req=0xc55829c0 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc55b8a00 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 1 0 14 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55886c0: 43 2 0 0 0 0 1 0 14 0
 acd0: req=0xc5555600 READ_TOC queued
 acd0: req=0xc5555600 READ_TOC starting
 acd0: req=0xc5555600 READ_TOC begin transaction
 acd0: req=0xc5555600 READ_TOC interrupt
 acd0: req=0xc5555600 READ_TOC end transaction
 acd0: req=0xc5555600 READ_TOC finish taskqueue_swi
 acd0: req=0xc5555600 READ_TOC completed entered
 acd0: req=0xc5555600 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc55886c0 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 aa 0 c 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588680: 43 2 0 0 0 0 aa 0 c 0
 acd0: req=0xc5556480 READ_TOC queued
 acd0: req=0xc5556480 READ_TOC starting
 acd0: req=0xc5556480 READ_TOC begin transaction
 acd0: req=0xc5556480 READ_TOC interrupt
 acd0: req=0xc5556480 READ_TOC end transaction
 acd0: req=0xc5556480 READ_TOC finish taskqueue_swi
 acd0: req=0xc5556480 READ_TOC completed entered
 acd0: req=0xc5556480 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc5588680 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): leaving cdopen
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 0001:01: 2048
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 1 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b89c0: 28 0 0 0 0 1 0 0 1 0
 acd0: req=0xc5555900 READ_BIG queued
 acd0: req=0xc5555900 READ_BIG starting
 acd0: req=0xc5555900 READ_BIG begin transaction
 acd0: req=0xc5555900 READ_BIG interrupt
 acd0: req=0xc5555900 READ_BIG end transaction
 acd0: req=0xc5555900 READ_BIG finish taskqueue_swi
 acd0: req=0xc5555900 READ_BIG completed entered
 acd0: req=0xc5555900 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc55b89c0 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 0000:01: 2048
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8980: 28 0 0 0 0 0 0 0 1 0
 acd0: req=0xc5555840 READ_BIG queued
 acd0: req=0xc5555840 READ_BIG starting
 acd0: req=0xc5555840 READ_BIG begin transaction
 acd0: req=0xc5555840 READ_BIG interrupt
 acd0: req=0xc5555840 READ_BIG end transaction
 acd0: req=0xc5555840 READ_BIG finish taskqueue_swi
 acd0: req=0xc5555840 READ_BIG completed entered
 acd0: req=0xc5555840 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc55b8980 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 0000:01: 2048
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8940: 28 0 0 0 0 0 0 0 1 0
 acd0: req=0xc5556900 READ_BIG queued
 acd0: req=0xc5556900 READ_BIG starting
 acd0: req=0xc5556900 READ_BIG begin transaction
 acd0: req=0xc5556900 READ_BIG interrupt
 acd0: req=0xc5556900 READ_BIG end transaction
 acd0: req=0xc5556900 READ_BIG finish taskqueue_swi
 acd0: req=0xc5556900 READ_BIG completed entered
 acd0: req=0xc5556900 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc55b8940 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8900: 1e 0 0 0 0 0
 acd0: req=0xc5556840 PREVENT_ALLOW queued
 acd0: req=0xc5556840 PREVENT_ALLOW starting
 acd0: req=0xc5556840 PREVENT_ALLOW begin transaction
 acd0: req=0xc5556840 PREVENT_ALLOW interrupt
 acd0: req=0xc5556840 PREVENT_ALLOW end transaction
 acd0: req=0xc5556840 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc5556840 PREVENT_ALLOW completed entered
 acd0: req=0xc5556840 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc55b8900 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588600: 1e 0 0 0 1 0
 acd0: req=0xc55823c0 PREVENT_ALLOW queued
 acd0: req=0xc55823c0 PREVENT_ALLOW starting
 acd0: req=0xc55823c0 PREVENT_ALLOW begin transaction
 acd0: req=0xc55823c0 PREVENT_ALLOW interrupt
 acd0: req=0xc55823c0 PREVENT_ALLOW end transaction
 acd0: req=0xc55823c0 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc55823c0 PREVENT_ALLOW completed entered
 acd0: req=0xc55823c0 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc5588600 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdsize
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b88c0: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5555540 READ_CAPACITY queued
 acd0: req=0xc5555540 READ_CAPACITY starting
 acd0: req=0xc5555540 READ_CAPACITY begin transaction
 acd0: req=0xc5555540 READ_CAPACITY interrupt
 acd0: req=0xc5555540 READ_CAPACITY end transaction
 acd0: req=0xc5555540 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5555540 READ_CAPACITY completed entered
 acd0: req=0xc5555540 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc55b88c0 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8880: 43 0 0 0 0 0 0 0 4 0
 acd0: req=0xc5555780 READ_TOC queued
 acd0: req=0xc5555780 READ_TOC starting
 acd0: req=0xc5555780 READ_TOC begin transaction
 acd0: req=0xc5555780 READ_TOC interrupt
 acd0: req=0xc5555780 READ_TOC end transaction
 acd0: req=0xc5555780 READ_TOC finish taskqueue_swi
 acd0: req=0xc5555780 READ_TOC completed entered
 acd0: req=0xc5555780 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc55b8880 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 1 0 14 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55885c0: 43 2 0 0 0 0 1 0 14 0
 acd0: req=0xc55563c0 READ_TOC queued
 acd0: req=0xc55563c0 READ_TOC starting
 acd0: req=0xc55563c0 READ_TOC begin transaction
 acd0: req=0xc55563c0 READ_TOC interrupt
 acd0: req=0xc55563c0 READ_TOC end transaction
 acd0: req=0xc55563c0 READ_TOC finish taskqueue_swi
 acd0: req=0xc55563c0 READ_TOC completed entered
 acd0: req=0xc55563c0 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc55885c0 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 aa 0 c 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588580: 43 2 0 0 0 0 aa 0 c 0
 acd0: req=0xc55556c0 READ_TOC queued
 acd0: req=0xc55556c0 READ_TOC starting
 acd0: req=0xc55556c0 READ_TOC begin transaction
 acd0: req=0xc55556c0 READ_TOC interrupt
 acd0: req=0xc55556c0 READ_TOC end transaction
 acd0: req=0xc55556c0 READ_TOC finish taskqueue_swi
 acd0: req=0xc55556c0 READ_TOC completed entered
 acd0: req=0xc55556c0 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc5588580 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): leaving cdopen
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 0000:01: 2048
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8840: 28 0 0 0 0 0 0 0 1 0
 acd0: req=0xc5556240 READ_BIG queued
 acd0: req=0xc5556240 READ_BIG starting
 acd0: req=0xc5556240 READ_BIG begin transaction
 acd0: req=0xc5556240 READ_BIG interrupt
 acd0: req=0xc5556240 READ_BIG end transaction
 acd0: req=0xc5556240 READ_BIG finish taskqueue_swi
 acd0: req=0xc5556240 READ_BIG completed entered
 acd0: req=0xc5556240 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc55b8840 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8800: 1e 0 0 0 0 0
 acd0: req=0xc5582c00 PREVENT_ALLOW queued
 acd0: req=0xc5582c00 PREVENT_ALLOW starting
 acd0: req=0xc5582c00 PREVENT_ALLOW begin transaction
 acd0: req=0xc5582c00 PREVENT_ALLOW interrupt
 acd0: req=0xc5582c00 PREVENT_ALLOW end transaction
 acd0: req=0xc5582c00 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc5582c00 PREVENT_ALLOW completed entered
 acd0: req=0xc5582c00 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc55b8800 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588500: 1e 0 0 0 1 0
 acd0: req=0xc55569c0 PREVENT_ALLOW queued
 acd0: req=0xc55569c0 PREVENT_ALLOW starting
 acd0: req=0xc55569c0 PREVENT_ALLOW begin transaction
 acd0: req=0xc55569c0 PREVENT_ALLOW interrupt
 acd0: req=0xc55569c0 PREVENT_ALLOW end transaction
 acd0: req=0xc55569c0 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc55569c0 PREVENT_ALLOW completed entered
 acd0: req=0xc55569c0 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc5588500 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdsize
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55884c0: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5556c00 READ_CAPACITY queued
 acd0: req=0xc5556c00 READ_CAPACITY starting
 acd0: req=0xc5556c00 READ_CAPACITY begin transaction
 acd0: req=0xc5556c00 READ_CAPACITY interrupt
 acd0: req=0xc5556c00 READ_CAPACITY end transaction
 acd0: req=0xc5556c00 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5556c00 READ_CAPACITY completed entered
 acd0: req=0xc5556c00 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc55884c0 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588480: 43 0 0 0 0 0 0 0 4 0
 acd0: req=0xc55559c0 READ_TOC queued
 acd0: req=0xc55559c0 READ_TOC starting
 acd0: req=0xc55559c0 READ_TOC begin transaction
 acd0: req=0xc55559c0 READ_TOC interrupt
 acd0: req=0xc55559c0 READ_TOC end transaction
 acd0: req=0xc55559c0 READ_TOC finish taskqueue_swi
 acd0: req=0xc55559c0 READ_TOC completed entered
 acd0: req=0xc55559c0 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc5588480 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 1 0 14 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588440: 43 2 0 0 0 0 1 0 14 0
 acd0: req=0xc5555a80 READ_TOC queued
 acd0: req=0xc5555a80 READ_TOC starting
 acd0: req=0xc5555a80 READ_TOC begin transaction
 acd0: req=0xc5555a80 READ_TOC interrupt
 acd0: req=0xc5555a80 READ_TOC end transaction
 acd0: req=0xc5555a80 READ_TOC finish taskqueue_swi
 acd0: req=0xc5555a80 READ_TOC completed entered
 acd0: req=0xc5555a80 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc5588440 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 aa 0 c 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588400: 43 2 0 0 0 0 aa 0 c 0
 acd0: req=0xc5555b40 READ_TOC queued
 acd0: req=0xc5555b40 READ_TOC starting
 acd0: req=0xc5555b40 READ_TOC begin transaction
 acd0: req=0xc5555b40 READ_TOC interrupt
 acd0: req=0xc5555b40 READ_TOC end transaction
 acd0: req=0xc5555b40 READ_TOC finish taskqueue_swi
 acd0: req=0xc5555b40 READ_TOC completed entered
 acd0: req=0xc5555b40 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc5588400 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): leaving cdopen
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 01322:01: 2048
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 1 32 2 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b87c0: 28 0 0 1 32 2 0 0 1 0
 acd0: req=0xc5555a80 READ_BIG queued
 acd0: req=0xc5555a80 READ_BIG starting
 acd0: req=0xc5555a80 READ_BIG begin transaction
 acd0: req=0xc5555a80 READ_BIG interrupt
 acd0: req=0xc5555a80 READ_BIG end transaction
 acd0: req=0xc5555a80 READ_BIG finish taskqueue_swi
 acd0: req=0xc5555a80 READ_BIG completed entered
 acd0: req=0xc5555a80 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc55b87c0 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 00020:04: 8192
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 20 0 0 4 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55883c0: 28 0 0 0 0 20 0 0 4 0
 acd0: req=0xc5556a80 READ_BIG queued
 acd0: req=0xc5556a80 READ_BIG starting
 acd0: req=0xc5556a80 READ_BIG begin transaction
 acd0: req=0xc5556a80 READ_BIG interrupt
 acd0: req=0xc5556a80 READ_BIG end transaction
 acd0: req=0xc5556a80 READ_BIG finish taskqueue_swi
 acd0: req=0xc5556a80 READ_BIG completed entered
 acd0: req=0xc5556a80 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc55883c0 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 0004:04: 8192
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 4 0 0 4 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588380: 28 0 0 0 0 4 0 0 4 0
 acd0: req=0xc5555c00 READ_BIG queued
 acd0: req=0xc5555c00 READ_BIG starting
 acd0: req=0xc5555c00 READ_BIG begin transaction
 acd0: req=0xc5555c00 READ_BIG interrupt
 acd0: req=0xc5555c00 READ_BIG end transaction
 acd0: req=0xc5555c00 READ_BIG finish taskqueue_swi
 acd0: req=0xc5555c00 READ_BIG completed entered
 acd0: req=0xc5555c00 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc5588380 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 0000:04: 8192
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 0 0 0 4 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8780: 28 0 0 0 0 0 0 0 4 0
 acd0: req=0xc55559c0 READ_BIG queued
 acd0: req=0xc55559c0 READ_BIG starting
 acd0: req=0xc55559c0 READ_BIG begin transaction
 acd0: req=0xc55559c0 READ_BIG interrupt
 acd0: req=0xc55559c0 READ_BIG end transaction
 acd0: req=0xc55559c0 READ_BIG finish taskqueue_swi
 acd0: req=0xc55559c0 READ_BIG completed entered
 acd0: req=0xc55559c0 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc55b8780 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 00080:04: 8192
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 80 0 0 4 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588340: 28 0 0 0 0 80 0 0 4 0
 acd0: req=0xc5556b40 READ_BIG queued
 acd0: req=0xc5556b40 READ_BIG starting
 acd0: req=0xc5556b40 READ_BIG begin transaction
 acd0: req=0xc5556b40 READ_BIG interrupt
 acd0: req=0xc5556b40 READ_BIG end transaction
 acd0: req=0xc5556b40 READ_BIG finish taskqueue_swi
 acd0: req=0xc5556b40 READ_BIG completed entered
 acd0: req=0xc5556b40 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc5588340 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 00010:01: 2048
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 10 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8740: 28 0 0 0 0 10 0 0 1 0
 acd0: req=0xc5556c00 READ_BIG queued
 acd0: req=0xc5556c00 READ_BIG starting
 acd0: req=0xc5556c00 READ_BIG begin transaction
 acd0: req=0xc5556c00 READ_BIG interrupt
 acd0: req=0xc5556c00 READ_BIG end transaction
 acd0: req=0xc5556c00 READ_BIG finish taskqueue_swi
 acd0: req=0xc5556c00 READ_BIG completed entered
 acd0: req=0xc5556c00 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc55b8740 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 0000:01: 2048
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588300: 28 0 0 0 0 0 0 0 1 0
 acd0: req=0xc5556d80 READ_BIG queued
 acd0: req=0xc5556d80 READ_BIG starting
 acd0: req=0xc5556d80 READ_BIG begin transaction
 acd0: req=0xc5556d80 READ_BIG interrupt
 acd0: req=0xc5556d80 READ_BIG end transaction
 acd0: req=0xc5556d80 READ_BIG finish taskqueue_swi
 acd0: req=0xc5556d80 READ_BIG completed entered
 acd0: req=0xc5556d80 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc5588300 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 0004:01: 2048
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 4 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55882c0: 28 0 0 0 0 4 0 0 1 0
 acd0: req=0xc5556cc0 READ_BIG queued
 acd0: req=0xc5556cc0 READ_BIG starting
 acd0: req=0xc5556cc0 READ_BIG begin transaction
 acd0: req=0xc5556cc0 READ_BIG interrupt
 acd0: req=0xc5556cc0 READ_BIG end transaction
 acd0: req=0xc5556cc0 READ_BIG finish taskqueue_swi
 acd0: req=0xc5556cc0 READ_BIG completed entered
 acd0: req=0xc5556cc0 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc55882c0 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 00020:01: 2048
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 20 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588280: 28 0 0 0 0 20 0 0 1 0
 acd0: req=0xc5555cc0 READ_BIG queued
 acd0: req=0xc5555cc0 READ_BIG starting
 acd0: req=0xc5555cc0 READ_BIG begin transaction
 acd0: req=0xc5555cc0 READ_BIG interrupt
 acd0: req=0xc5555cc0 READ_BIG end transaction
 acd0: req=0xc5555cc0 READ_BIG finish taskqueue_swi
 acd0: req=0xc5555cc0 READ_BIG completed entered
 acd0: req=0xc5555cc0 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc5588280 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 0000:01: 2048
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8700: 28 0 0 0 0 0 0 0 1 0
 acd0: req=0xc5556cc0 READ_BIG queued
 acd0: req=0xc5556cc0 READ_BIG starting
 acd0: req=0xc5556cc0 READ_BIG begin transaction
 acd0: req=0xc5556cc0 READ_BIG interrupt
 acd0: req=0xc5556cc0 READ_BIG end transaction
 acd0: req=0xc5556cc0 READ_BIG finish taskqueue_swi
 acd0: req=0xc5556cc0 READ_BIG completed entered
 acd0: req=0xc5556cc0 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc55b8700 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b86c0: 1e 0 0 0 0 0
 acd0: req=0xc5556d80 PREVENT_ALLOW queued
 acd0: req=0xc5556d80 PREVENT_ALLOW starting
 acd0: req=0xc5556d80 PREVENT_ALLOW begin transaction
 acd0: req=0xc5556d80 PREVENT_ALLOW interrupt
 acd0: req=0xc5556d80 PREVENT_ALLOW end transaction
 acd0: req=0xc5556d80 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc5556d80 PREVENT_ALLOW completed entered
 acd0: req=0xc5556d80 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc55b86c0 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 Trying to mount root from ufs:/dev/ad10s1a
 
 Manual root filesystem specification:
   <fstype>:<device>  Mount <device> using filesystem <fstype>
                        eg. ufs:da0s1a
   ?                  List valid disk boot devices
   <empty line>       Abort manual input
 
 mountroot> ufs:/dev/ad6s1a
 Trying to mount root from ufs:/dev/ad6s1a
 Enter root password, or ^D to go multi-user
 Password:
 
 Enter full pathname of shell or RETURN for /bin/sh:
 \\[\\033[01;31m\\]\\u\\[\\033[00m\\]@
 \^[[1m\^[[7m#\^[[27m\^[[1m\^[[m
 \^[[m\^[[27m\^[[J\^[[1;31mroot\^[[0m@:~#
 \^[[K
 l
 \^Hls
 
 -
 l
 d
 
 /
 d
 e
 v
 /
 *
 c
 d
 *
 
 \^[[0mcrw-r-----    1 root     operator   0,  85 Mar  8 10:51
 \^[[01;33m/dev/acd0\^[[0m
 crw-r-----    1 root     operator   0,  89 Mar  8 10:51
 \^[[01;33m/dev/acd0t01\^[[0m
 crw-r-----    1 root     operator   0, 107 Mar  8 10:51 \^[[01;33m/dev/cd0\^[[0m
 \^[[m
 \^[[1m\^[[7m#\^[[27m\^[[1m\^[[m
 \^[[m\^[[27m\^[[J\^[[1;31mroot\^[[0m@:~#
 \^[[K
 v
 \^Hvm
 s
 t
 a
 t
 
 -
 i
 
 interrupt                          total       rate
 irq1: atkbd0                         127          5
 irq6: fdc0                            10          0
 irq17: uhci1+                        320         12
 irq19: uhci3+                       1165         46
 irq23: uhci2 ehci1                     1          0
 cpu0: timer                        49347       1973
 irq256: em0                            1          0
 irq257: em1                            1          0
 cpu1: timer                        48787       1951
 Total                              99759       3990
 \^[[1m\^[[7m#\^[[27m\^[[1m\^[[m
 \^[[m\^[[27m\^[[J\^[[1;31mroot\^[[0m@:~#
 \^[[K
 
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55885c0: 1e 0 0 0 1 0
 acd0: req=0xc5556240 PREVENT_ALLOW queued
 acd0: req=0xc5556240 PREVENT_ALLOW starting
 acd0: req=0xc5556240 PREVENT_ALLOW begin transaction
 acd0: req=0xc5556240 PREVENT_ALLOW interrupt
 acd0: req=0xc5556240 PREVENT_ALLOW end transaction
 acd0: req=0xc5556240 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc5556240 PREVENT_ALLOW completed entered
 acd0: req=0xc5556240 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc55885c0 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdsize
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8880: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5556cc0 READ_CAPACITY queued
 acd0: req=0xc5556cc0 READ_CAPACITY starting
 acd0: req=0xc5556cc0 READ_CAPACITY begin transaction
 acd0: req=0xc5556cc0 READ_CAPACITY interrupt
 acd0: req=0xc5556cc0 READ_CAPACITY end transaction
 acd0: req=0xc5556cc0 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5556cc0 READ_CAPACITY completed entered
 acd0: req=0xc5556cc0 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc55b8880 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589b80: 43 0 0 0 0 0 0 0 4 0
 acd0: req=0xc55569c0 READ_TOC queued
 acd0: req=0xc55569c0 READ_TOC starting
 acd0: req=0xc55569c0 READ_TOC begin transaction
 acd0: req=0xc55569c0 READ_TOC interrupt
 acd0: req=0xc55569c0 READ_TOC end transaction
 acd0: req=0xc55569c0 READ_TOC finish taskqueue_swi
 acd0: req=0xc55569c0 READ_TOC completed entered
 acd0: req=0xc55569c0 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc5589b80 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 1 0 14 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589b40: 43 2 0 0 0 0 1 0 14 0
 acd0: req=0xc5582cc0 READ_TOC queued
 acd0: req=0xc5582cc0 READ_TOC starting
 acd0: req=0xc5582cc0 READ_TOC begin transaction
 acd0: req=0xc5582cc0 READ_TOC interrupt
 acd0: req=0xc5582cc0 READ_TOC end transaction
 acd0: req=0xc5582cc0 READ_TOC finish taskqueue_swi
 acd0: req=0xc5582cc0 READ_TOC completed entered
 acd0: req=0xc5582cc0 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc5589b40 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 aa 0 c 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588600: 43 2 0 0 0 0 aa 0 c 0
 acd0: req=0xc5582c00 READ_TOC queued
 acd0: req=0xc5582c00 READ_TOC starting
 acd0: req=0xc5582c00 READ_TOC begin transaction
 acd0: req=0xc5582c00 READ_TOC interrupt
 acd0: req=0xc5582c00 READ_TOC end transaction
 acd0: req=0xc5582c00 READ_TOC finish taskqueue_swi
 acd0: req=0xc5582c00 READ_TOC completed entered
 acd0: req=0xc5582c00 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc5588600 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): leaving cdopen
 (cd0:ata2:0:1:0): entering cdioctl
 (cd0:ata2:0:1:0): trying to do ioctl 0x40046304
 (cd0:ata2:0:1:0): trying to do CDIOREADTOCHEADER
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8940: 43 0 0 0 0 0 0 0 4 0
 acd0: req=0xc5555480 READ_TOC queued
 acd0: req=0xc5555480 READ_TOC starting
 acd0: req=0xc5555480 READ_TOC begin transaction
 acd0: req=0xc5555480 READ_TOC interrupt
 acd0: req=0xc5555480 READ_TOC end transaction
 acd0: req=0xc5555480 READ_TOC finish taskqueue_swi
 acd0: req=0xc5555480 READ_TOC completed entered
 acd0: req=0xc5555480 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc55b8940 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): leaving cdioctl
 (cd0:ata2:0:1:0): entering cdioctl
 (cd0:ata2:0:1:0): trying to do ioctl 0xc0086305
 (cd0:ata2:0:1:0): trying to do CDIOREADTOCENTRYS
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8980: 43 0 0 0 0 0 0 0 4 0
 acd0: req=0xc5555d80 READ_TOC queued
 acd0: req=0xc5555d80 READ_TOC starting
 acd0: req=0xc5555d80 READ_TOC begin transaction
 acd0: req=0xc5555d80 READ_TOC interrupt
 acd0: req=0xc5555d80 READ_TOC end transaction
 acd0: req=0xc5555d80 READ_TOC finish taskqueue_swi
 acd0: req=0xc5555d80 READ_TOC completed entered
 acd0: req=0xc5555d80 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc55b8980 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 1 0 c 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8c80: 43 0 0 0 0 0 1 0 c 0
 acd0: req=0xc5556600 READ_TOC queued
 acd0: req=0xc5556600 READ_TOC starting
 acd0: req=0xc5556600 READ_TOC begin transaction
 acd0: req=0xc5556600 READ_TOC interrupt
 acd0: req=0xc5556600 READ_TOC end transaction
 acd0: req=0xc5556600 READ_TOC finish taskqueue_swi
 acd0: req=0xc5556600 READ_TOC completed entered
 acd0: req=0xc5556600 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc55b8c80 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): leaving cdioctl
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b89c0: 1e 0 0 0 0 0
 acd0: req=0xc5555cc0 PREVENT_ALLOW queued
 acd0: req=0xc5555cc0 PREVENT_ALLOW starting
 acd0: req=0xc5555cc0 PREVENT_ALLOW begin transaction
 acd0: req=0xc5555cc0 PREVENT_ALLOW interrupt
 acd0: req=0xc5555cc0 PREVENT_ALLOW end transaction
 acd0: req=0xc5555cc0 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc5555cc0 PREVENT_ALLOW completed entered
 acd0: req=0xc5555cc0 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc55b89c0 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588680: 1e 0 0 0 1 0
 acd0: req=0xc5582180 PREVENT_ALLOW queued
 acd0: req=0xc5582180 PREVENT_ALLOW starting
 acd0: req=0xc5582180 PREVENT_ALLOW begin transaction
 acd0: req=0xc5582180 PREVENT_ALLOW interrupt
 acd0: req=0xc5582180 PREVENT_ALLOW end transaction
 acd0: req=0xc5582180 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc5582180 PREVENT_ALLOW completed entered
 acd0: req=0xc5582180 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc5588680 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdsize
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b88c0: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5582cc0 READ_CAPACITY queued
 acd0: req=0xc5582cc0 READ_CAPACITY starting
 acd0: req=0xc5582cc0 READ_CAPACITY begin transaction
 acd0: req=0xc5582cc0 READ_CAPACITY interrupt
 acd0: req=0xc5582cc0 READ_CAPACITY end transaction
 acd0: req=0xc5582cc0 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5582cc0 READ_CAPACITY completed entered
 acd0: req=0xc5582cc0 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc55b88c0 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55886c0: 43 0 0 0 0 0 0 0 4 0
 acd0: req=0xc5556000 READ_TOC queued
 acd0: req=0xc5556000 READ_TOC starting
 acd0: req=0xc5556000 READ_TOC begin transaction
 acd0: req=0xc5556000 READ_TOC interrupt
 acd0: req=0xc5556000 READ_TOC end transaction
 acd0: req=0xc5556000 READ_TOC finish taskqueue_swi
 acd0: req=0xc5556000 READ_TOC completed entered
 acd0: req=0xc5556000 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc55886c0 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 1 0 14 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8a00: 43 2 0 0 0 0 1 0 14 0
 acd0: req=0xc5555cc0 READ_TOC queued
 acd0: req=0xc5555cc0 READ_TOC starting
 acd0: req=0xc5555cc0 READ_TOC begin transaction
 acd0: req=0xc5555cc0 READ_TOC interrupt
 acd0: req=0xc5555cc0 READ_TOC end transaction
 acd0: req=0xc5555cc0 READ_TOC finish taskqueue_swi
 acd0: req=0xc5555cc0 READ_TOC completed entered
 acd0: req=0xc5555cc0 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc55b8a00 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 2 0 0 0 0 aa 0 c 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b9040: 43 2 0 0 0 0 aa 0 c 0
 acd0: req=0xc5556600 READ_TOC queued
 acd0: req=0xc5556600 READ_TOC starting
 acd0: req=0xc5556600 READ_TOC begin transaction
 acd0: req=0xc5556600 READ_TOC interrupt
 acd0: req=0xc5556600 READ_TOC end transaction
 acd0: req=0xc5556600 READ_TOC finish taskqueue_swi
 acd0: req=0xc5556600 READ_TOC completed entered
 acd0: req=0xc5556600 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc55b9040 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): leaving cdopen
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 00010:01: 2048
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 10 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588a00: 28 0 0 0 0 10 0 0 1 0
 acd0: req=0xc5555d80 READ_BIG queued
 acd0: req=0xc5555d80 READ_BIG starting
 acd0: req=0xc5555d80 READ_BIG begin transaction
 acd0: req=0xc5555d80 READ_BIG interrupt
 acd0: req=0xc5555d80 READ_BIG end transaction
 acd0: req=0xc5555d80 READ_BIG finish taskqueue_swi
 acd0: req=0xc5555d80 READ_BIG completed entered
 acd0: req=0xc5555d80 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc5588a00 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 00011:01: 2048
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 11 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588700: 28 0 0 0 0 11 0 0 1 0
 acd0: req=0xc5555480 READ_BIG queued
 acd0: req=0xc5555480 READ_BIG starting
 acd0: req=0xc5555480 READ_BIG begin transaction
 acd0: req=0xc5555480 READ_BIG interrupt
 acd0: req=0xc5555480 READ_BIG end transaction
 acd0: req=0xc5555480 READ_BIG finish taskqueue_swi
 acd0: req=0xc5555480 READ_BIG completed entered
 acd0: req=0xc5555480 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc5588700 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 00016:01: 2048
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 16 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588840: 28 0 0 0 0 16 0 0 1 0
 acd0: req=0xc5582c00 READ_BIG queued
 acd0: req=0xc5582c00 READ_BIG starting
 acd0: req=0xc5582c00 READ_BIG begin transaction
 acd0: req=0xc5582c00 READ_BIG interrupt
 acd0: req=0xc5582c00 READ_BIG end transaction
 acd0: req=0xc5582c00 READ_BIG finish taskqueue_swi
 acd0: req=0xc5582c00 READ_BIG completed entered
 acd0: req=0xc5582c00 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc5588840 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdstrategy
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): 10byte: 00016:01: 2048
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ(10). CDB: 28 0 0 0 0 16 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588a00: 28 0 0 0 0 16 0 0 1 0
 acd0: req=0xc5582900 READ_BIG queued
 acd0: req=0xc5582900 READ_BIG starting
 acd0: req=0xc5582900 READ_BIG begin transaction
 acd0: req=0xc5582900 READ_BIG interrupt
 acd0: req=0xc5582900 READ_BIG end transaction
 acd0: req=0xc5582900 READ_BIG finish taskqueue_swi
 acd0: req=0xc5582900 READ_BIG completed entered
 acd0: req=0xc5582900 READ_BIG completed callback/wakeup
 atapi_cb: hcb@0xc5588a00 sense = 00: sk = 0)
 acd0: cmd READ_BIG status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588700: 1e 0 0 0 0 0
 acd0: req=0xc5555300 PREVENT_ALLOW queued
 acd0: req=0xc5555300 PREVENT_ALLOW starting
 acd0: req=0xc5555300 PREVENT_ALLOW begin transaction
 acd0: req=0xc5555300 PREVENT_ALLOW interrupt
 acd0: req=0xc5555300 PREVENT_ALLOW end transaction
 acd0: req=0xc5555300 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc5555300 PREVENT_ALLOW completed entered
 acd0: req=0xc5555300 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc5588700 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8100: 1e 0 0 0 1 0
 acd0: req=0xc55829c0 PREVENT_ALLOW queued
 acd0: req=0xc55829c0 PREVENT_ALLOW starting
 acd0: req=0xc55829c0 PREVENT_ALLOW begin transaction
 acd0: req=0xc55829c0 PREVENT_ALLOW interrupt
 acd0: req=0xc55829c0 PREVENT_ALLOW end transaction
 acd0: req=0xc55829c0 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc55829c0 PREVENT_ALLOW completed entered
 acd0: req=0xc55829c0 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc55b8100 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdsize
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8140: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc55ba180 READ_CAPACITY queued
 acd0: req=0xc55ba180 READ_CAPACITY starting
 acd0: req=0xc55ba180 READ_CAPACITY begin transaction
 acd0: req=0xc55ba180 READ_CAPACITY timeout
 acd0: req=0xc55ba180 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc55ba180 READ_CAPACITY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: req=0xc55ba180 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc55b8140 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 00 result 05 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589340: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5555a80 READ_CAPACITY queued
 acd0: req=0xc5555a80 READ_CAPACITY starting
 acd0: req=0xc5555a80 READ_CAPACITY begin transaction
 acd0: req=0xc5555a80 READ_CAPACITY interrupt
 acd0: req=0xc5555a80 READ_CAPACITY end transaction
 acd0: req=0xc5555a80 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5555a80 READ_CAPACITY completed entered
 acd0: req=0xc5555a80 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc5589340 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589b80: 43 0 0 0 0 0 0 0 4 0
 acd0: req=0xc55826c0 READ_TOC queued
 acd0: req=0xc55826c0 READ_TOC starting
 acd0: req=0xc55826c0 READ_TOC begin transaction
 acd0: req=0xc55826c0 READ_TOC timeout
 acd0: req=0xc55826c0 READ_TOC finish taskqueue_swi
 acd0: req=0xc55826c0 READ_TOC completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_TOC timed out
 acd0: req=0xc55826c0 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc5589b80 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 00 result 05 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b81c0: 43 0 0 0 0 0 0 0 4 0
 acd0: req=0xc5555840 READ_TOC queued
 acd0: req=0xc5555840 READ_TOC starting
 acd0: req=0xc5555840 READ_TOC begin transaction
 acd0: req=0xc5555840 READ_TOC timeout
 acd0: req=0xc5555840 READ_TOC finish taskqueue_swi
 acd0: req=0xc5555840 READ_TOC completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_TOC timed out
 acd0: req=0xc5555840 READ_TOC completed callback/wakeup
 atapi_cb: hcb@0xc55b81c0 sense = 00: sk = 0)
 acd0: cmd READ_TOC status 00 result 05 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): leaving cdopen

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Fri, 9 Mar 2007 09:50:56 +0100

 * Josh Carroll, 2007-03-09 :
 
 > It looks like we're getting really close to finding out what's going
 > on here. I had some very interesting results with the inclusion of the
 > latest patch.
 
 Good! Looks like we are starting to get the situation under control!
 
 > had a /dev/cd0 entry and the interrupt storm continued. This time, I
 > don't get a /dev/cd0. However, this is without a disc in the drive.
 
 OK, so it really looks like the issue has to do with your hardware
 configuration timing out some commands instead of reporting an error
 status.
 
 > I booted with a canon printer installation cd in the drive, and the
 > dmesg output is much different. Not only did I get a /dev/cd0, but
 > there was no interrupt storm at all! I could even mount and poke
 > around with mount_cd9660 /dev/cd0 /mnt. I then tried to put in a blank
 > DVD-R disc, and as soon as I did that and tried to run growisofs on
 > it, the console hung and I got a lot of messages that look similar to
 > the debug messages when there was no disc in the drive.
 
 OK, that's good to know!
 
 > (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 > (cd0:ata2:0:1:0): Sense Error Code 0x0
 > (cd0:ata2:0:1:0): fatal error, failed to attach to device
 
 OK, this command timed out, and we take that as a fatal error, maybe we
 can do better than that. The patch attached to this message might help
 in this case.
 
 Thomas.
 
 --- atapi-cam.c.1	Fri Mar  9 09:28:23 2007
 +++ atapi-cam.c	Fri Mar  9 09:46:21 2007
 @@ -704,31 +704,31 @@
  	} else {
  	    rc = CAM_SCSI_STATUS_ERROR;
  	    csio->scsi_status = SCSI_STATUS_CHECK_COND;
 -	}
  
 -	if ((csio->ccb_h.flags & CAM_DIS_AUTOSENSE) == 0) {
 +	    if ((csio->ccb_h.flags & CAM_DIS_AUTOSENSE) == 0) {
  #if 0
 -	    static const int8_t ccb[16] = { ATAPI_REQUEST_SENSE, 0, 0, 0,
 -		sizeof(struct atapi_sense), 0, 0, 0, 0, 0, 0,
 -		0, 0, 0, 0, 0 };
 +		static const int8_t ccb[16] = { ATAPI_REQUEST_SENSE, 0, 0, 0,
 +		    sizeof(struct atapi_sense), 0, 0, 0, 0, 0, 0,
 +		    0, 0, 0, 0, 0 };
  
 -	    bcopy (ccb, request->u.atapi.ccb, sizeof ccb);
 -	    request->data = (caddr_t)&csio->sense_data;
 -	    request->bytecount = sizeof(struct atapi_sense);
 -	    request->transfersize = min(request->bytecount, 65534);
 -	    request->timeout = csio->ccb_h.timeout / 1000;
 -	    request->retries = 2;
 -	    request->flags = ATA_R_QUIET|ATA_R_ATAPI|ATA_R_IMMEDIATE;
 -	    hcb->flags |= AUTOSENSE;
 +		bcopy (ccb, request->u.atapi.ccb, sizeof ccb);
 +		request->data = (caddr_t)&csio->sense_data;
 +		request->bytecount = sizeof(struct atapi_sense);
 +		request->transfersize = min(request->bytecount, 65534);
 +		request->timeout = csio->ccb_h.timeout / 1000;
 +		request->retries = 2;
 +		request->flags = ATA_R_QUIET|ATA_R_ATAPI|ATA_R_IMMEDIATE;
 +		hcb->flags |= AUTOSENSE;
  
 -	    ata_queue_request(request);
 -	    return;
 +		ata_queue_request(request);
 +		return;
  #else
 -	    /* The ATA driver has already requested sense for us. */
 -	    if (request->error == 0) {
 -		/* The ATA autosense suceeded. */
 -		bcopy (&request->u.atapi.sense, &csio->sense_data, sizeof(struct atapi_sense));
 -		csio->ccb_h.status |= CAM_AUTOSNS_VALID;
 +		/* The ATA driver has already requested sense for us. */
 +		if (request->error == 0) {
 +		    /* The ATA autosense suceeded. */
 +		    bcopy (&request->u.atapi.sense, &csio->sense_data, sizeof(struct atapi_sense));
 +		    csio->ccb_h.status |= CAM_AUTOSNS_VALID;
 +		}
  	    }
  #endif
  	}

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Fri, 9 Mar 2007 09:24:49 -0800

 > > had a /dev/cd0 entry and the interrupt storm continued. This time, I
 > > don't get a /dev/cd0. However, this is without a disc in the drive.
 >
 > OK, so it really looks like the issue has to do with your hardware
 > configuration timing out some commands instead of reporting an error
 > status.
 
 I just noticed that without a disc in the drive, I do have a /dev/cd0
 entry for a while. It seems to disappear after the PREVENT_ALLOW stuff
 from dmesg. Unfortunately, I can't send the entire dmesg output
 without a cd at boot time, since the 1MB dmesg buffer was thoroughly
 overwritten as soon as I started burning the cd.
 
 > OK, this command timed out, and we take that as a fatal error, maybe we
 > can do better than that. The patch attached to this message might help
 > in this case.
 
 Ok! With the new patch, I am able to burn a cd, IF I have a disc in
 the drive at boot time! I'm not sure if it's 100%, as it seemed to
 hang for a long time when I first ran the growisofs command, and it
 hang after the session was closed. I ctrl-c'd the growisofs command,
 and I was then able to mount the disc! Even though I couldn't send the
 full dmesg output since it was truncated, I've included a snippet of
 the dmesg output towards the end of the burn, though. It looks like
 when I had to ctrl-c the growisofs command it was in a loop (the
 "TEST_UNIT_READ" output). Prior to that, the WRITE_BIG messages appear
 as it's writing the disc.
 
 Thanks,
 Josh
 
 
 dmesg output with no disc in the drive:
 
 Copyright (c) 1992-2007 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.0-CURRENT #19: Fri Mar  9 07:57:24 PST 2007
     root@pflog.net:/usr/obj/usr/src/sys/DEBLIN
 WARNING: WITNESS option enabled, expect reduced performance.
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Core(TM)2 CPU         X6900  @ 3.20GHz (3200.02-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,XTPR,<b15>>
   AMD Features=0x20100000<NX,LM>
   AMD Features2=0x1<LAHF>
   Cores per package: 2
 real memory  = 2147024896 (2047 MB)
 avail memory = 2090582016 (1993 MB)
 ACPI APIC Table: <MSTEST OEMAPIC >
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 ioapic0 <Version 2.0> irqs 0-23 on motherboard
 kbd1 at kbdmux0
 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 acpi0: <KOZIRO FRONTIER> on motherboard
 acpi0: [ITHREAD]
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi0: Power Button (fixed)
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
 cpu0: <ACPI CPU> on acpi0
 cpu1: <ACPI CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
 pci1: <ACPI PCI bus> on pcib1
 vgapci0: <VGA-compatible display> mem
 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff irq
 16 at device 0.0 on pci1
 uhci0: <UHCI (generic) USB controller> port 0xe000-0xe01f irq 16 at
 device 26.0 on pci0
 uhci0: [GIANT-LOCKED]
 uhci0: [ITHREAD]
 usb0: <UHCI (generic) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
 uhub0: 2 ports with 2 removable, self powered
 uhci1: <UHCI (generic) USB controller> port 0xe080-0xe09f irq 17 at
 device 26.1 on pci0
 uhci1: [GIANT-LOCKED]
 uhci1: [ITHREAD]
 usb1: <UHCI (generic) USB controller> on uhci1
 usb1: USB revision 1.0
 uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
 uhub1: 2 ports with 2 removable, self powered
 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfebff400-0xfebff7ff
 irq 18 at device 26.7 on pci0
 ehci0: [GIANT-LOCKED]
 ehci0: [ITHREAD]
 usb2: EHCI version 1.0
 usb2: companion controllers, 2 ports each: usb0 usb1
 usb2: <EHCI (generic) USB 2.0 controller> on ehci0
 usb2: USB revision 2.0
 uhub2: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
 uhub2: 4 ports with 4 removable, self powered
 pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
 pci3: <ACPI PCI bus> on pcib2
 pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
 pci2: <ACPI PCI bus> on pcib3
 atapci0: <JMicron JMB363 SATA300 controller> mem 0xfe8fe000-0xfe8fffff
 irq 16 at device 0.0 on pci2
 atapci0: AHCI Version 01.00 controller with 2 ports detected
 ata0: <ATA channel 0> on atapci0
 ata0: [ITHREAD]
 ata1: <ATA channel 1> on atapci0
 ata1: [ITHREAD]
 atapci1: <JMicron JMB363 UDMA133 controller> port
 0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb40f
 at device 0.1 on pci2
 atapci1: [ITHREAD]
 ata2: <ATA channel 0> on atapci1
 ata2: [ITHREAD]
 uhci2: <UHCI (generic) USB controller> port 0xd800-0xd81f irq 23 at
 device 29.0 on pci0
 uhci2: [GIANT-LOCKED]
 uhci2: [ITHREAD]
 usb3: <UHCI (generic) USB controller> on uhci2
 usb3: USB revision 1.0
 uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
 uhub3: 2 ports with 2 removable, self powered
 uhci3: <UHCI (generic) USB controller> port 0xd880-0xd89f irq 19 at
 device 29.1 on pci0
 uhci3: [GIANT-LOCKED]
 uhci3: [ITHREAD]
 usb4: <UHCI (generic) USB controller> on uhci3
 usb4: USB revision 1.0
 uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
 uhub4: 2 ports with 2 removable, self powered
 uhci4: <UHCI (generic) USB controller> port 0xdc00-0xdc1f irq 18 at
 device 29.2 on pci0
 uhci4: [GIANT-LOCKED]
 uhci4: [ITHREAD]
 usb5: <UHCI (generic) USB controller> on uhci4
 usb5: USB revision 1.0
 uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
 uhub5: 2 ports with 2 removable, self powered
 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfebff000-0xfebff3ff
 irq 23 at device 29.7 on pci0
 ehci1: [GIANT-LOCKED]
 ehci1: [ITHREAD]
 usb6: EHCI version 1.0
 usb6: companion controllers, 2 ports each: usb3 usb4 usb5
 usb6: <EHCI (generic) USB 2.0 controller> on ehci1
 usb6: USB revision 2.0
 uhub6: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb6
 uhub6: 6 ports with 6 removable, self powered
 pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pci4: <ACPI PCI bus> on pcib4
 em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xcc00-0xcc3f mem 0xfeae0000-0xfeafffff,0xfeac0000-0xfeadffff irq 22
 at device 1.0 on pci4
 em0: Ethernet address: 00:0e:0c:6c:b9:16
 em0: [FILTER]
 em1: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xc880-0xc8bf mem 0xfea80000-0xfea9ffff,0xfea60000-0xfea7ffff irq 23
 at device 2.0 on pci4
 em1: Ethernet address: 00:0e:0c:6c:b9:0a
 em1: [FILTER]
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci2: <Intel ICH8 SATA300 controller> port
 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe41f
 mem 0xfebff800-0xfebfffff irq 19 at device 31.2 on pci0
 atapci2: [ITHREAD]
 atapci2: AHCI Version 01.10 controller with 4 ports detected
 ata3: <ATA channel 0> on atapci2
 ata3: [ITHREAD]
 ata4: <ATA channel 1> on atapci2
 ata4: [ITHREAD]
 ata5: <ATA channel 2> on atapci2
 ata5: port not implemented
 ata5: [ITHREAD]
 ata6: <ATA channel 3> on atapci2
 ata6: port not implemented
 ata6: [ITHREAD]
 ata7: <ATA channel 4> on atapci2
 ata7: [ITHREAD]
 ata8: <ATA channel 5> on atapci2
 ata8: [ITHREAD]
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 acpi_button0: <Power Button> on acpi0
 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 sio0: [FILTER]
 fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq
 2 on acpi0
 fdc0: [FILTER]
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
 Timecounter "HPET" frequency 14318180 Hz quality 2000
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 atkbd0: [ITHREAD]
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: [GIANT-LOCKED]
 psm0: [ITHREAD]
 psm0: model IntelliMouse, device ID 3
 pmtimer0 on isa0
 orm0: <ISA Option ROMs> at iomem 0xd2000-0xd2fff,0xd3000-0xd3fff pnpid
 ORM0000 on isa0
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 ppbus0: <Parallel port bus> on ppc0
 plip0: <PLIP network interface> on ppbus0
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ppc0: [GIANT-LOCKED]
 ppc0: [ITHREAD]
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 ugen0: <APC Back-UPS ES 500 FW:801.e5.D USB FW:e5, class 0/0, rev
 1.10/1.06, addr 2> on uhub3
 Timecounters tick every 1.000 msec
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (noperiph:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:-1:-1): xpt_async
 (noperiph:ata0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): Registered SIM for ata0
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_compile_path
 (xpt0:ata0:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_scan_bus
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:0:0): xpt_compile_path
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:0:0): xpt_compile_path
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_scan_lun
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_done
 (xpt0:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_compile_path
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:1:0): xpt_compile_path
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_scan_lun
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_done
 (xpt0:ata0:0:1:0): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (noperiph:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_async
 (noperiph:ata1:0:-1:-1): xpt_release_path
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): Registered SIM for ata1
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_compile_path
 (xpt0:ata1:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_scan_bus
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:0:0): xpt_compile_path
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:0:0): xpt_compile_path
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_scan_lun
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_done
 (xpt0:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_compile_path
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:1:0): xpt_compile_path
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_scan_lun
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata0:0:0:0): camisr
 (xpt0:ata0:0:0:0): xpt_scan_bus
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_free_path
 (xpt0:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:1:0): camisr
 (xpt0:ata0:0:1:0): xpt_scan_bus
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_free_path
 (xpt0:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:-1:-1): xpt_done
 (xpt0:ata1:0:0:0): camisr
 (xpt0:ata1:0:0:0): xpt_scan_bus
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_free_path
 (xpt0:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:1:0): camisr
 (xpt0:ata1:0:1:0): xpt_scan_bus
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_free_path
 (xpt0:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:-1:-1): xpt_done
 (xpt0:ata0:0:-1:-1): camisr
 (xpt0:ata0:0:-1:-1): Rescan succeeded
 (xpt0:ata0:0:-1:-1): xpt_free_path
 (xpt0:ata0:0:-1:-1): xpt_release_path
 (xpt0:ata1:0:-1:-1): camisr
 (xpt0:ata1:0:-1:-1): Rescan succeeded
 (xpt0:ata1:0:-1:-1): xpt_free_path
 (xpt0:ata1:0:-1:-1): xpt_release_path
 ad4: 152627MB <WDC WD1600JB-00EVA0 15.05R15> at ata2-master UDMA100
 acd0: DVDR <SONY DVD RW DRU-800A/KY06> at ata2-slave UDMA66
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (noperiph:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:-1:-1): xpt_release_path
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): Registered SIM for ata2
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_compile_path
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 24 0
 (xpt0:ata2:0:0:0): camisr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 ad6: 381553MB <Seagate ST3400633AS 3.AAH> at ata3-master SATA150
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (noperiph:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:-1:-1): xpt_async
 (noperiph:ata3:0:-1:-1): xpt_release_path
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): Registered SIM for ata3
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_compile_path
 (xpt0:ata3:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_scan_bus
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:0:0): xpt_compile_path
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:0:0): xpt_compile_path
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_scan_lun
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_done
 (xpt0:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_compile_path
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:1:0): xpt_compile_path
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_scan_lun
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:0:0): camisr
 (xpt0:ata3:0:0:0): xpt_scan_bus
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_free_path
 (xpt0:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:1:0): camisr
 (xpt0:ata3:0:1:0): xpt_scan_bus
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_free_path
 (xpt0:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:-1:-1): xpt_done
 (xpt0:ata3:0:-1:-1): camisr
 (xpt0:ata3:0:-1:-1): Rescan succeeded
 (xpt0:ata3:0:-1:-1): xpt_free_path
 (xpt0:ata3:0:-1:-1): xpt_release_path
 ad8: 114440MB <Seagate ST3120026AS 8.05> at ata4-master SATA150
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (noperiph:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:-1:-1): xpt_async
 (noperiph:ata4:0:-1:-1): xpt_release_path
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): Registered SIM for ata4
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_compile_path
 (xpt0:ata4:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_scan_bus
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:0:0): xpt_compile_path
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:0:0): xpt_compile_path
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_scan_lun
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_done
 (xpt0:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_compile_path
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:1:0): xpt_compile_path
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_scan_lun
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_done
 (xpt0:ata4:0:1:0): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (noperiph:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_async
 (noperiph:ata5:0:-1:-1): xpt_release_path
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): Registered SIM for ata5
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_compile_path
 (xpt0:ata5:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_scan_bus
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:0:0): xpt_compile_path
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:0:0): xpt_compile_path
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_scan_lun
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_done
 (xpt0:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_compile_path
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:1:0): xpt_compile_path
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_scan_lun
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_done
 (xpt0:ata5:0:1:0): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (noperiph:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_async
 (noperiph:ata6:0:-1:-1): xpt_release_path
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): Registered SIM for ata6
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_compile_path
 (xpt0:ata6:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_scan_bus
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:0:0): xpt_compile_path
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:0:0): xpt_compile_path
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_scan_lun
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_done
 (xpt0:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_compile_path
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:1:0): xpt_compile_path
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_scan_lun
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_done
 (xpt0:ata6:0:1:0): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (noperiph:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_async
 (noperiph:ata7:0:-1:-1): xpt_release_path
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): Registered SIM for ata7
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_compile_path
 (xpt0:ata7:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_scan_bus
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:0:0): xpt_compile_path
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:0:0): xpt_compile_path
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_scan_lun
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_done
 (xpt0:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_compile_path
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:1:0): xpt_compile_path
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_scan_lun
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_done
 (xpt0:ata7:0:1:0): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (noperiph:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_async
 (noperiph:ata8:0:-1:-1): xpt_release_path
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): Registered SIM for ata8
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_compile_path
 (xpt0:ata8:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_scan_bus
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:0:0): xpt_compile_path
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:0:0): xpt_compile_path
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_scan_lun
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_done
 (xpt0:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_compile_path
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:1:0): xpt_compile_path
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_scan_lun
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_done
 (xpt0:ata8:0:1:0): xpt_done
 SMP: AP CPU #1 Launched!
 (xpt0:ata4:0:0:0): camisr
 (xpt0:ata4:0:0:0): xpt_scan_bus
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_free_path
 (xpt0:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:1:0): camisr
 (xpt0:ata4:0:1:0): xpt_scan_bus
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_free_path
 (xpt0:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:-1:-1): xpt_done
 (xpt0:ata5:0:0:0): camisr
 (xpt0:ata5:0:0:0): xpt_scan_bus
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_free_path
 (xpt0:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:1:0): camisr
 (xpt0:ata5:0:1:0): xpt_scan_bus
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_free_path
 (xpt0:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:-1:-1): xpt_done
 (xpt0:ata6:0:0:0): camisr
 (xpt0:ata6:0:0:0): xpt_scan_bus
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_free_path
 (xpt0:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:1:0): camisr
 (xpt0:ata6:0:1:0): xpt_scan_bus
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_free_path
 (xpt0:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:-1:-1): xpt_done
 (xpt0:ata7:0:0:0): camisr
 (xpt0:ata7:0:0:0): xpt_scan_bus
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_free_path
 (xpt0:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:1:0): camisr
 (xpt0:ata7:0:1:0): xpt_scan_bus
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_free_path
 (xpt0:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:-1:-1): xpt_done
 (xpt0:ata8:0:0:0): camisr
 (xpt0:ata8:0:0:0): xpt_scan_bus
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_free_path
 (xpt0:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:1:0): camisr
 (xpt0:ata8:0:1:0): xpt_scan_bus
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_free_path
 (xpt0:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:-1:-1): xpt_done
 (xpt0:ata4:0:-1:-1): camisr
 (xpt0:ata4:0:-1:-1): Rescan succeeded
 (xpt0:ata4:0:-1:-1): xpt_free_path
 (xpt0:ata4:0:-1:-1): xpt_release_path
 (xpt0:ata5:0:-1:-1): camisr
 (xpt0:ata5:0:-1:-1): Rescan succeeded
 (xpt0:ata5:0:-1:-1): xpt_free_path
 (xpt0:ata5:0:-1:-1): xpt_release_path
 (xpt0:ata6:0:-1:-1): camisr
 (xpt0:ata6:0:-1:-1): Rescan succeeded
 (xpt0:ata6:0:-1:-1): xpt_free_path
 (xpt0:ata6:0:-1:-1): xpt_release_path
 (xpt0:ata7:0:-1:-1): camisr
 (xpt0:ata7:0:-1:-1): Rescan succeeded
 (xpt0:ata7:0:-1:-1): xpt_free_path
 (xpt0:ata7:0:-1:-1): xpt_release_path
 (xpt0:ata8:0:-1:-1): camisr
 (xpt0:ata8:0:-1:-1): Rescan succeeded
 (xpt0:ata8:0:-1:-1): xpt_free_path
 (xpt0:ata8:0:-1:-1): xpt_release_path
 Trying to mount root from ufs:/dev/ad10s1a
 
 Manual root filesystem specification:
   <fstype>:<device>  Mount <device> using filesystem <fstype>
                        eg. ufs:da0s1a
   ?                  List valid disk boot devices
   <empty line>       Abort manual input
 
 mountroot> ufs:/dev/ad6s1a
 Trying to mount root from ufs:/dev/ad6s1a
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55ba9c0: 12 0 0 0 24 0
 acd0: req=0xc55823c0 INQUIRY queued
 acd0: req=0xc55823c0 INQUIRY starting
 acd0: req=0xc55823c0 INQUIRY begin transaction
 acd0: req=0xc55823c0 INQUIRY interrupt
 acd0: req=0xc55823c0 INQUIRY end transaction
 acd0: req=0xc55823c0 INQUIRY finish taskqueue_swi
 acd0: req=0xc55823c0 INQUIRY completed entered
 acd0: req=0xc55823c0 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc55ba9c0 sense = 00: sk = 0)
 acd0: cmd INQUIRY status 50 result 00 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 60 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588700: 12 0 0 0 60 0
 acd0: req=0xc55829c0 INQUIRY queued
 acd0: req=0xc55829c0 INQUIRY starting
 acd0: req=0xc55829c0 INQUIRY begin transaction
 acd0: req=0xc55829c0 INQUIRY interrupt
 acd0: req=0xc55829c0 INQUIRY end transaction
 acd0: req=0xc55829c0 INQUIRY finish taskqueue_swi
 acd0: req=0xc55829c0 INQUIRY completed entered
 acd0: req=0xc55829c0 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc5588700 sense = 00: sk = 0)
 acd0: cmd INQUIRY status 50 result 00 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (probe0:ata2:0:1:0): xpt_done
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (probe0:ata2:0:1:0): xpt_done
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x1, entries == 1, openings == 16, active == 0
 cam_debug: xpt_schedule_dev
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55ba980: 0 0 0 0 0 0
 acd0: req=0xc5555180 TEST_UNIT_READY queued
 acd0: req=0xc5555180 TEST_UNIT_READY starting
 acd0: req=0xc5555180 TEST_UNIT_READY begin transaction
 acd0: req=0xc5555180 TEST_UNIT_READY interrupt
 acd0: req=0xc5555180 TEST_UNIT_READY end transaction
 acd0: req=0xc5555180 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc5555180 TEST_UNIT_READY completed entered
 acd0: req=0xc5555180 TEST_UNIT_READY autoissue request sense
 acd0: req=0xc5555180 REQUEST_SENSE queued
 acd0: req=0xc5555180 REQUEST_SENSE starting
 acd0: req=0xc5555180 REQUEST_SENSE begin transaction
 acd0: req=0xc5555180 REQUEST_SENSE interrupt
 acd0: req=0xc5555180 REQUEST_SENSE end transaction
 acd0: req=0xc5555180 TEST_UNIT_READY interrupt
 acd0: req=0xc5555180 TEST_UNIT_READY end transaction
 acd0: req=0xc5555180 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc5555180 TEST_UNIT_READY completed entered
 acd0: req=0xc5555180 TEST_UNIT_READY completed callback/wakeup
 atapi_cb: hcb@0xc55ba980 sense = 02: sk = 2)
 acd0: cmd TEST_UNIT_READY status 50 result 05 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_async
 (pass0:ata2:0:1:0): xpt_compile_path
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_compile_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_release_ccb
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55886c0: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5582000 READ_CAPACITY queued
 acd0: req=0xc5582000 READ_CAPACITY starting
 acd0: req=0xc5582000 READ_CAPACITY begin transaction
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_free_path
 (probe0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): camisr
 (xpt0:ata2:0:1:0): xpt_scan_bus
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_free_path
 (xpt0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:-1:-1): xpt_done
 (xpt0:ata2:0:-1:-1): camisr
 (xpt0:ata2:0:-1:-1): Rescan succeeded
 (xpt0:ata2:0:-1:-1): xpt_free_path
 (xpt0:ata2:0:-1:-1): xpt_release_path
 Enter root password, or ^D to go multi-user
 Password:
 
 Enter full pathname of shell or RETURN for /bin/sh:
 
 l
 \^Hls
 
 -
 l
 d
 
 /
 d
 e
 v
 /
 *
 c
 d
 *
 
 \^[[0mcrw-r-----    1 root     operator   0,  85 Mar  9 00:08
 \^[[01;33m/dev/acd0\^[[0m
 crw-r-----    1 root     operator   0, 113 Mar  9 00:08 \^[[01;33m/dev/cd0\^[[0m
 \^[[m
 \^[[1m\^[[7m#\^[[27m\^[[1m\^[[m
 \^[[m\^[[27m\^[[J\^[[1;31mroot\^[[0m@:~#
 \^[[K
 acd0: req=0xc5582000 READ_CAPACITY timeout
 acd0: req=0xc5582000 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5582000 READ_CAPACITY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: req=0xc5582000 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc55886c0 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 00 result 05 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588d80: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc55823c0 READ_CAPACITY queued
 acd0: req=0xc55823c0 READ_CAPACITY starting
 acd0: req=0xc55823c0 READ_CAPACITY timeout
 acd0: req=0xc55823c0 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc55823c0 READ_CAPACITY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: req=0xc55823c0 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc5588d80 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 00 result 05 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): got CAM status 0xb
 (cd0:ata2:0:1:0): fatal error, failed to attach to device
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): lost device
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589e80: 1e 0 0 0 1 0
 acd0: req=0xc55560c0 PREVENT_ALLOW queued
 acd0: req=0xc55560c0 PREVENT_ALLOW starting
 acd0: req=0xc55560c0 PREVENT_ALLOW begin transaction
 acd0: req=0xc55560c0 PREVENT_ALLOW interrupt
 acd0: req=0xc55560c0 PREVENT_ALLOW end transaction
 acd0: req=0xc55560c0 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc55560c0 PREVENT_ALLOW completed entered
 acd0: req=0xc55560c0 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc5589e80 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdsize
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55ba000: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5556900 READ_CAPACITY queued
 acd0: req=0xc5556900 READ_CAPACITY starting
 acd0: req=0xc5556900 READ_CAPACITY begin transaction
 acd0: req=0xc5556900 READ_CAPACITY timeout
 acd0: req=0xc5556900 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5556900 READ_CAPACITY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: req=0xc5556900 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc55ba000 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 00 result 05 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588600: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5582a80 READ_CAPACITY queued
 acd0: req=0xc5582a80 READ_CAPACITY starting
 acd0: req=0xc5582a80 READ_CAPACITY begin transaction
 acd0: req=0xc5582a80 READ_CAPACITY timeout
 acd0: req=0xc5582a80 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5582a80 READ_CAPACITY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: req=0xc5582a80 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc5588600 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 00 result 05 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc555d440: 1e 0 0 0 0 0
 acd0: req=0xc55550c0 PREVENT_ALLOW queued
 acd0: req=0xc55550c0 PREVENT_ALLOW starting
 acd0: req=0xc55550c0 PREVENT_ALLOW begin transaction
 acd0: req=0xc55550c0 PREVENT_ALLOW interrupt
 acd0: req=0xc55550c0 PREVENT_ALLOW end transaction
 acd0: req=0xc55550c0 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc55550c0 PREVENT_ALLOW completed entered
 acd0: req=0xc55550c0 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc555d440 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): leaving cdopen
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): removing device entry
 (cd0:ata2:0:1:0): xpt_free_path
 (cd0:ata2:0:1:0): xpt_release_path
 
 
 Partial dmesg output while writing a disc:
 
 pass0:ata2:0:1:0): xpt_done
 (pass0:ata2:0:1:0): camisr
 cam_debug: xpt_release_ccb
 (pass0:ata2:0:1:0): entering cdgetccb
 (pass0:ata2:0:1:0): xpt_schedule
 (pass0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (pass0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): WRITE(10). CDB: 2a 0 0 1 31 b0 0 0 10 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc555cd00: 2a 0 0 1 31 b0 0 0 10 0
 acd0: req=0xc5583300 WRITE_BIG queued
 acd0: req=0xc5583300 WRITE_BIG starting
 acd0: req=0xc5583300 WRITE_BIG begin transaction
 acd0: req=0xc5583300 WRITE_BIG interrupt
 acd0: req=0xc5583300 WRITE_BIG end transaction
 acd0: req=0xc5583300 WRITE_BIG finish taskqueue_swi
 acd0: req=0xc5583300 WRITE_BIG completed entered
 acd0: req=0xc5583300 WRITE_BIG completed callback/wakeup
 atapi_cb: hcb@0xc555cd00 sense = 00: sk = 0)
 acd0: cmd WRITE_BIG status 50 result 00 error 00
 (pass0:ata2:0:1:0): xpt_done
 (pass0:ata2:0:1:0): camisr
 cam_debug: xpt_release_ccb
 (pass0:ata2:0:1:0): entering cdgetccb
 (pass0:ata2:0:1:0): xpt_schedule
 (pass0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (pass0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): WRITE(10). CDB: 2a 0 0 1 31 c0 0 0 10 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b84c0: 2a 0 0 1 31 c0 0 0 10 0
 acd0: req=0xc5583e40 WRITE_BIG queued
 acd0: req=0xc5583e40 WRITE_BIG starting
 acd0: req=0xc5583e40 WRITE_BIG begin transaction
 acd0: req=0xc5583e40 WRITE_BIG interrupt
 acd0: req=0xc5583e40 WRITE_BIG end transaction
 acd0: req=0xc5583e40 WRITE_BIG finish taskqueue_swi
 acd0: req=0xc5583e40 WRITE_BIG completed entered
 acd0: req=0xc5583e40 WRITE_BIG completed callback/wakeup
 atapi_cb: hcb@0xc55b84c0 sense = 00: sk = 0)
 acd0: cmd WRITE_BIG status 50 result 00 error 00
 (pass0:ata2:0:1:0): xpt_done
 (pass0:ata2:0:1:0): camisr
 cam_debug: xpt_release_ccb
 (pass0:ata2:0:1:0): entering cdgetccb
 (pass0:ata2:0:1:0): xpt_schedule
 (pass0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (pass0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): WRITE(10). CDB: 2a 0 0 1 31 d0 0 0 10 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589540: 2a 0 0 1 31 d0 0 0 10 0
 acd0: req=0xc55839c0 WRITE_BIG queued
 acd0: req=0xc55839c0 WRITE_BIG starting
 acd0: req=0xc55839c0 WRITE_BIG begin transaction
 acd0: req=0xc55839c0 WRITE_BIG interrupt
 acd0: req=0xc55839c0 WRITE_BIG end transaction
 acd0: req=0xc55839c0 WRITE_BIG finish taskqueue_swi
 acd0: req=0xc55839c0 WRITE_BIG completed entered
 acd0: req=0xc55839c0 WRITE_BIG completed callback/wakeup
 atapi_cb: hcb@0xc5589540 sense = 00: sk = 0)
 acd0: cmd WRITE_BIG status 50 result 00 error 00
 (pass0:ata2:0:1:0): xpt_done
 (pass0:ata2:0:1:0): camisr
 cam_debug: xpt_release_ccb
 (pass0:ata2:0:1:0): entering cdgetccb
 (pass0:ata2:0:1:0): xpt_schedule
 (pass0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (pass0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): WRITE(10). CDB: 2a 0 0 1 31 e0 0 0 10 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5589400: 2a 0 0 1 31 e0 0 0 10 0
 acd0: req=0xc5583780 WRITE_BIG queued
 acd0: req=0xc5583780 WRITE_BIG starting
 acd0: req=0xc5583780 WRITE_BIG begin transaction
 acd0: req=0xc5583780 WRITE_BIG interrupt
 acd0: req=0xc5583780 WRITE_BIG end transaction
 acd0: req=0xc5583780 WRITE_BIG finish taskqueue_swi
 acd0: req=0xc5583780 WRITE_BIG completed entered
 acd0: req=0xc5583780 WRITE_BIG completed callback/wakeup
 atapi_cb: hcb@0xc5589400 sense = 00: sk = 0)
 acd0: cmd WRITE_BIG status 50 result 00 error 00
 (pass0:ata2:0:1:0): xpt_done
 (pass0:ata2:0:1:0): camisr
 cam_debug: xpt_release_ccb
 (pass0:ata2:0:1:0): entering cdgetccb
 (pass0:ata2:0:1:0): xpt_schedule
 (pass0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (pass0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): WRITE(10). CDB: 2a 0 0 1 31 f0 0 0 10 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588080: 2a 0 0 1 31 f0 0 0 10 0
 acd0: req=0xc5583d80 WRITE_BIG queued
 acd0: req=0xc5583d80 WRITE_BIG starting
 acd0: req=0xc5583d80 WRITE_BIG begin transaction
 acd0: req=0xc5583d80 WRITE_BIG interrupt
 acd0: req=0xc5583d80 WRITE_BIG end transaction
 acd0: req=0xc5583d80 WRITE_BIG finish taskqueue_swi
 acd0: req=0xc5583d80 WRITE_BIG completed entered
 acd0: req=0xc5583d80 WRITE_BIG completed callback/wakeup
 atapi_cb: hcb@0xc5588080 sense = 00: sk = 0)
 acd0: cmd WRITE_BIG status 50 result 00 error 00
 (pass0:ata2:0:1:0): xpt_done
 (pass0:ata2:0:1:0): camisr
 cam_debug: xpt_release_ccb
 (pass0:ata2:0:1:0): entering cdgetccb
 (pass0:ata2:0:1:0): xpt_schedule
 (pass0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (pass0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): WRITE(10). CDB: 2a 0 0 1 32 0 0 0 10 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8480: 2a 0 0 1 32 0 0 0 10 0
 acd0: req=0xc5583a80 WRITE_BIG queued
 acd0: req=0xc5583a80 WRITE_BIG starting
 acd0: req=0xc5583a80 WRITE_BIG begin transaction
 acd0: req=0xc5583a80 WRITE_BIG interrupt
 acd0: req=0xc5583a80 WRITE_BIG end transaction
 acd0: req=0xc5583a80 WRITE_BIG finish taskqueue_swi
 acd0: req=0xc5583a80 WRITE_BIG completed entered
 acd0: req=0xc5583a80 WRITE_BIG completed callback/wakeup
 atapi_cb: hcb@0xc55b8480 sense = 00: sk = 0)
 acd0: cmd WRITE_BIG status 50 result 00 error 00
 (pass0:ata2:0:1:0): xpt_done
 (pass0:ata2:0:1:0): camisr
 cam_debug: xpt_release_ccb
 builtin_dd: 78352*2KB out @ average 1.4x1385KBps
 /dev/pass0: flushing cache
 (pass0:ata2:0:1:0): entering cdgetccb
 (pass0:ata2:0:1:0): xpt_schedule
 (pass0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (pass0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): SYNCHRONIZE CACHE. CDB: 35 2 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b96c0: 35 2 0 0 0 0 0 0 0 0
 acd0: req=0xc55bc3c0 SYNCHRONIZE_CACHE queued
 acd0: req=0xc55bc3c0 SYNCHRONIZE_CACHE starting
 acd0: req=0xc55bc3c0 SYNCHRONIZE_CACHE begin transaction
 acd0: req=0xc55bc3c0 SYNCHRONIZE_CACHE interrupt
 acd0: req=0xc55bc3c0 SYNCHRONIZE_CACHE end transaction
 acd0: req=0xc55bc3c0 SYNCHRONIZE_CACHE finish taskqueue_swi
 acd0: req=0xc55bc3c0 SYNCHRONIZE_CACHE completed entered
 acd0: req=0xc55bc3c0 SYNCHRONIZE_CACHE completed callback/wakeup
 atapi_cb: hcb@0xc55b96c0 sense = 00: sk = 0)
 acd0: cmd SYNCHRONIZE_CACHE status 40 result 00 error 00
 (pass0:ata2:0:1:0): xpt_done
 (pass0:ata2:0:1:0): camisr
 cam_debug: xpt_release_ccb
 (pass0:ata2:0:1:0): entering cdgetccb
 (pass0:ata2:0:1:0): xpt_schedule
 (pass0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (pass0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5588940: 0 0 0 0 0 0
 acd0: req=0xc5583d80 TEST_UNIT_READY queued
 acd0: req=0xc5583d80 TEST_UNIT_READY starting
 acd0: req=0xc5583d80 TEST_UNIT_READY begin transaction
 acd0: req=0xc5583d80 TEST_UNIT_READY interrupt
 acd0: req=0xc5583d80 TEST_UNIT_READY end transaction
 acd0: req=0xc5583d80 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc5583d80 TEST_UNIT_READY completed entered
 acd0: req=0xc5583d80 TEST_UNIT_READY completed callback/wakeup
 atapi_cb: hcb@0xc5588940 sense = 00: sk = 0)
 acd0: cmd TEST_UNIT_READY status 50 result 00 error 00
 ...

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Fri, 9 Mar 2007 19:22:53 +0100

 * Josh Carroll, 2007-03-09 :
 
 > Ok! With the new patch, I am able to burn a cd, IF I have a disc in
 > the drive at boot time! I'm not sure if it's 100%, as it seemed to
 > hang for a long time when I first ran the growisofs command, and it
 > hang after the session was closed. I ctrl-c'd the growisofs command,
 > and I was then able to mount the disc! Even though I couldn't send the
 > full dmesg output since it was truncated, I've included a snippet of
 > the dmesg output towards the end of the burn, though. It looks like
 > when I had to ctrl-c the growisofs command it was in a loop (the
 > "TEST_UNIT_READ" output). Prior to that, the WRITE_BIG messages appear
 > as it's writing the disc.
 
 OK, we're getting closer. So, to summarize:
   * if there's a CD in the drive at boot time, things work OK
   * if not the cd0 entry appears transiently and then disappears
 
 Right?
 
 So, it would be interesting to run the following experiment:
 
  * boot with a CD in the drive
  * remove the CD
  * run this command (TEST UNIT READY):
    camcontrol cmd cd0 -v -t 20 -c "0 0 0 0 0 0"
 
  * run this command (READ CD RECORDED CAPACITY):
    camcontrol cmd cd0 -v -t 20 -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4"
    (I want to see whether it times out or returns with an error)
    (if it times out with -t 20 (20 seconds) please try 40 and 60...)
 
  * Assuming it times out, run it again without -v:
    camcontrol cmd cd0 -t 20 -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4"
    and then this one (REQUEST SENSE):
    camcontrol cmd cd0 -t 20 -c "03 0 0 0 12 0" -i 18 \
       "{Valid} b1 {RespCode} b7
        {Obsolete} i1
        {Filemark} b1 {EOM} b1 {ILI} b1 {Reserved} b1 {SenseKey} b4
        {Info} i4 {AddLen} i1 {CommSpec} i4
        {ASC} i1 {ASCQ} i1 {FRU} i1 {SKSV} b1 {SKS} b23"
 
  * put back the CD in the drive
  * run the READ CD RECORDED CAPACITY command again:
    camcontrol cmd cd0 -v -t 20 -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4"
    (I assume it should work this time)
 
 My current idea is that your drive returns a timeout, instead of an
 error condition, whenever a command other than TEST UNIT READY
 is attempted and there's no disc in the drive.
 
 If that's indeed the case, then we'll have to fix the attachment
 circuitry for the "cd" driver so that it does not require a completed
 READ CD CAPACITY (by completed I mean either succesful or returning
 immediately with a NOT READY sense key, as opposed to timing out).
 
 Thomas.
 

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Fri, 9 Mar 2007 14:46:40 -0800

 > OK, we're getting closer. So, to summarize:
 >   * if there's a CD in the drive at boot time, things work OK
 >   * if not the cd0 entry appears transiently and then disappears
 
 Exactly, it appears to work with a cd in the drive, and I get a
 transient cd0 dev entry without the disc. Below is the output from
 each command you requested. I got a timeout in the last read capacity
 command, even after the prior steps. I sent a TEST UNIT READY command,
 then it worked, though.
 
 >  * run this command (TEST UNIT READY):
 >    camcontrol cmd cd0 -v -t 20 -c "0 0 0 0 0 0"
 
 (pass0:ata2:0:1:0): entering cdgetccb
 (pass0:ata2:0:1:0): xpt_schedule
 (pass0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (pass0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): xpt_action
 cam_debug: xpt_release_ccb
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): xpt_done
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 (pass0:ata2:0:1:0): xpt_done
 (pass0:ata2:0:1:0): entering cdgetccb
 (pass0:ata2:0:1:0): xpt_schedule
 (pass0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (pass0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8440: 0 0 0 0 0 0
 acd0: req=0xc5582540 TEST_UNIT_READY queued
 acd0: req=0xc5582540 TEST_UNIT_READY starting
 acd0: req=0xc5582540 TEST_UNIT_READY begin transaction
 acd0: req=0xc5582540 TEST_UNIT_READY interrupt
 acd0: req=0xc5582540 TEST_UNIT_READY end transaction
 acd0: req=0xc5582540 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc5582540 TEST_UNIT_READY completed entered
 acd0: req=0xc5582540 TEST_UNIT_READY autoissue request sense
 acd0: req=0xc5582540 REQUEST_SENSE queued
 acd0: req=0xc5582540 REQUEST_SENSE starting
 acd0: req=0xc5582540 REQUEST_SENSE begin transaction
 acd0: req=0xc5582540 REQUEST_SENSE interrupt
 acd0: req=0xc5582540 REQUEST_SENSE end transaction
 acd0: req=0xc5582540 TEST_UNIT_READY interrupt
 acd0: req=0xc5582540 TEST_UNIT_READY end transaction
 acd0: req=0xc5582540 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc5582540 TEST_UNIT_READY completed entered
 acd0: req=0xc5582540 TEST_UNIT_READY completed callback/wakeup
 atapi_cb: hcb@0xc55b8440 sense = 02: sk = 2)
 acd0: cmd TEST_UNIT_READY status 50 result 05 error 00
 (pass0:ata2:0:1:0): xpt_done
 (pass0:ata2:0:1:0): camisr
 cam_debug: xpt_release_ccb
 
 
 >  * run this command (READ CD RECORDED CAPACITY):
 >    camcontrol cmd cd0 -v -t 20 -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4"
 
 This times out with 20, 40 and 60 seconds. Here's the output from the
 20 second timeout period:
 
 2617:cam_debug: xpt_release_ccb
 2618:(pass0:ata2:0:1:0): entering cdgetccb
 2619:(pass0:ata2:0:1:0): xpt_schedule
 2620:(pass0:ata2:0:1:0):    added periph to queue
 2621:cam_debug: xpt_schedule_dev
 2622:cam_debug: Inserting onto queue
 2623:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2624:cam_debug: xpt_run_dev_allocq
 2625:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2626:cam_debug: running device 0xc53bbc00
 2627:(pass0:ata2:0:1:0): xpt_setup_ccb
 2628:cam_debug: calling periph start
 2629:(pass0:ata2:0:1:0): xpt_setup_ccb
 2630:(pass0:ata2:0:1:0): xpt_action
 2631:(pass0:ata2:0:1:0): xpt_action
 2632:cam_debug: xpt_release_ccb
 2633:(pass0:ata2:0:1:0): xpt_setup_ccb
 2634:(pass0:ata2:0:1:0): xpt_action
 2635:(pass0:ata2:0:1:0): xpt_done
 2636:(pass0:ata2:0:1:0): xpt_setup_ccb
 2637:(pass0:ata2:0:1:0): xpt_action
 2638:(pass0:ata2:0:1:0): xpt_setup_ccb
 2639:(pass0:ata2:0:1:0): xpt_action
 2640:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2641:(pass0:ata2:0:1:0): xpt_done
 2642:(pass0:ata2:0:1:0): entering cdgetccb
 2643:(pass0:ata2:0:1:0): xpt_schedule
 2644:(pass0:ata2:0:1:0):    added periph to queue
 2645:cam_debug: xpt_schedule_dev
 2646:cam_debug: Inserting onto queue
 2647:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2648:cam_debug: xpt_run_dev_allocq
 2649:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2650:cam_debug: running device 0xc53bbc00
 2651:(pass0:ata2:0:1:0): xpt_setup_ccb
 2652:cam_debug: calling periph start
 2653:(pass0:ata2:0:1:0): xpt_action
 2654:(pass0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 2655:cam_debug: xpt_schedule_dev
 2656:cam_debug: Inserting onto queue
 2657:cam_debug: xpt_run_dev_sendq
 2658:cam_debug: running device 0xc53bbc00
 2659:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2660:atapi_action: hcb@0xc55b8700: 25 0 0 0 0 0 0 0 0 0
 2661:acd0: req=0xc5556cc0 READ_CAPACITY queued
 2662:acd0: req=0xc5556cc0 READ_CAPACITY starting
 2663:acd0: req=0xc5556cc0 READ_CAPACITY begin transaction
 2664:acd0: req=0xc5556cc0 READ_CAPACITY timeout
 2665:acd0: req=0xc5556cc0 READ_CAPACITY finish taskqueue_swi
 2666:acd0: req=0xc5556cc0 READ_CAPACITY completed entered
 2667:(noperiph:ata2:0:-1:-1): xpt_async
 2668:(noperiph:ata2:0:1:0): xpt_compile_path
 2669:(noperiph:ata2:0:1:0): xpt_release_path
 2670:(cd0:ata2:0:1:0): xpt_setup_ccb
 2671:(cd0:ata2:0:1:0): xpt_action
 2672:(cd0:ata2:0:1:0): xpt_setup_ccb
 2673:(cd0:ata2:0:1:0): xpt_action
 2674:(cd0:ata2:0:1:0): xpt_setup_ccb
 2675:(cd0:ata2:0:1:0): xpt_action
 2676:acd0: FAILURE - READ_CAPACITY timed out
 2677:acd0: req=0xc5556cc0 READ_CAPACITY completed callback/wakeup
 2678:atapi_cb: hcb@0xc55b8700 sense = 00: sk = 0)
 2679:acd0: cmd READ_CAPACITY status 00 result 05 error 00
 2680:(pass0:ata2:0:1:0): xpt_done
 2681:(pass0:ata2:0:1:0): camisr
 2682:cam_debug: xpt_release_ccb
 
 
 >  * Assuming it times out, run it again without -v:
 >    camcontrol cmd cd0 -t 20 -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4"
 >    and then this one (REQUEST SENSE):
 >    camcontrol cmd cd0 -t 20 -c "03 0 0 0 12 0" -i 18 \
 >       "{Valid} b1 {RespCode} b7
 >        {Obsolete} i1
 >        {Filemark} b1 {EOM} b1 {ILI} b1 {Reserved} b1 {SenseKey} b4
 >        {Info} i4 {AddLen} i1 {CommSpec} i4
 >        {ASC} i1 {ASCQ} i1 {FRU} i1 {SKSV} b1 {SKS} b23"
 
 2812:cam_debug: xpt_release_ccb
 2813:(pass0:ata2:0:1:0): entering cdgetccb
 2814:(pass0:ata2:0:1:0): xpt_schedule
 2815:(pass0:ata2:0:1:0):    added periph to queue
 2816:cam_debug: xpt_schedule_dev
 2817:cam_debug: Inserting onto queue
 2818:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2819:cam_debug: xpt_run_dev_allocq
 2820:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2821:cam_debug: running device 0xc53bbc00
 2822:(pass0:ata2:0:1:0): xpt_setup_ccb
 2823:cam_debug: calling periph start
 2824:(pass0:ata2:0:1:0): xpt_setup_ccb
 2825:(pass0:ata2:0:1:0): xpt_action
 2826:(pass0:ata2:0:1:0): xpt_action
 2827:cam_debug: xpt_release_ccb
 2828:(pass0:ata2:0:1:0): xpt_setup_ccb
 2829:(pass0:ata2:0:1:0): xpt_action
 2830:(pass0:ata2:0:1:0): xpt_done
 2831:(pass0:ata2:0:1:0): xpt_setup_ccb
 2832:(pass0:ata2:0:1:0): xpt_action
 2833:(pass0:ata2:0:1:0): xpt_setup_ccb
 2834:(pass0:ata2:0:1:0): xpt_action
 2835:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2836:(pass0:ata2:0:1:0): xpt_done
 2837:(pass0:ata2:0:1:0): entering cdgetccb
 2838:(pass0:ata2:0:1:0): xpt_schedule
 2839:(pass0:ata2:0:1:0):    added periph to queue
 2840:cam_debug: xpt_schedule_dev
 2841:cam_debug: Inserting onto queue
 2842:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2843:cam_debug: xpt_run_dev_allocq
 2844:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2845:cam_debug: running device 0xc53bbc00
 2846:(pass0:ata2:0:1:0): xpt_setup_ccb
 2847:cam_debug: calling periph start
 2848:(pass0:ata2:0:1:0): xpt_action
 2849:(pass0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 2850:cam_debug: xpt_schedule_dev
 2851:cam_debug: Inserting onto queue
 2852:cam_debug: xpt_run_dev_sendq
 2853:cam_debug: running device 0xc53bbc00
 2854:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2855:atapi_action: hcb@0xc55885c0: 25 0 0 0 0 0 0 0 0 0
 2856:acd0: req=0xc5582b40 READ_CAPACITY queued
 2857:acd0: req=0xc5582b40 READ_CAPACITY starting
 2858:acd0: req=0xc5582b40 READ_CAPACITY begin transaction
 2859:acd0: req=0xc5582b40 READ_CAPACITY timeout
 2860:acd0: req=0xc5582b40 READ_CAPACITY finish taskqueue_swi
 2861:acd0: req=0xc5582b40 READ_CAPACITY completed entered
 2862:(noperiph:ata2:0:-1:-1): xpt_async
 2863:(noperiph:ata2:0:1:0): xpt_compile_path
 2864:(noperiph:ata2:0:1:0): xpt_release_path
 2865:(cd0:ata2:0:1:0): xpt_setup_ccb
 2866:(cd0:ata2:0:1:0): xpt_action
 2867:(cd0:ata2:0:1:0): xpt_setup_ccb
 2868:(cd0:ata2:0:1:0): xpt_action
 2869:(cd0:ata2:0:1:0): xpt_setup_ccb
 2870:(cd0:ata2:0:1:0): xpt_action
 2871:acd0: FAILURE - READ_CAPACITY timed out
 2872:acd0: req=0xc5582b40 READ_CAPACITY completed callback/wakeup
 2873:atapi_cb: hcb@0xc55885c0 sense = 00: sk = 0)
 2874:acd0: cmd READ_CAPACITY status 00 result 05 error 00
 2875:(pass0:ata2:0:1:0): xpt_done
 2876:(pass0:ata2:0:1:0): camisr
 2877:cam_debug: xpt_release_ccb
 2878:(pass0:ata2:0:1:0): entering cdgetccb
 2879:(pass0:ata2:0:1:0): xpt_schedule
 2880:(pass0:ata2:0:1:0):    added periph to queue
 2881:cam_debug: xpt_schedule_dev
 2882:cam_debug: Inserting onto queue
 2883:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2884:cam_debug: xpt_run_dev_allocq
 2885:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2886:cam_debug: running device 0xc53bbc00
 2887:(pass0:ata2:0:1:0): xpt_setup_ccb
 2888:cam_debug: calling periph start
 2889:(pass0:ata2:0:1:0): xpt_setup_ccb
 2890:(pass0:ata2:0:1:0): xpt_action
 2891:(pass0:ata2:0:1:0): xpt_action
 2892:cam_debug: xpt_release_ccb
 2893:(pass0:ata2:0:1:0): xpt_setup_ccb
 2894:(pass0:ata2:0:1:0): xpt_action
 2895:(pass0:ata2:0:1:0): xpt_done
 2896:(pass0:ata2:0:1:0): xpt_setup_ccb
 2897:(pass0:ata2:0:1:0): xpt_action
 2898:(pass0:ata2:0:1:0): xpt_setup_ccb
 2899:(pass0:ata2:0:1:0): xpt_action
 2900:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2901:(pass0:ata2:0:1:0): xpt_done
 2902:(pass0:ata2:0:1:0): entering cdgetccb
 2903:(pass0:ata2:0:1:0): xpt_schedule
 2904:(pass0:ata2:0:1:0):    added periph to queue
 2905:cam_debug: xpt_schedule_dev
 2906:cam_debug: Inserting onto queue
 2907:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2908:cam_debug: xpt_run_dev_allocq
 2909:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2910:cam_debug: running device 0xc53bbc00
 2911:(pass0:ata2:0:1:0): xpt_setup_ccb
 2912:cam_debug: calling periph start
 2913:(pass0:ata2:0:1:0): xpt_action
 2914:(pass0:ata2:0:1:0): REQUEST SENSE. CDB: 3 0 0 0 12 0
 2915:cam_debug: xpt_schedule_dev
 2916:cam_debug: Inserting onto queue
 2917:cam_debug: xpt_run_dev_sendq
 2918:cam_debug: running device 0xc53bbc00
 2919:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2920:atapi_action: hcb@0xc5588780: 3 0 0 0 12 0
 2921:acd0: req=0xc5582d80 REQUEST_SENSE queued
 2922:acd0: req=0xc5582d80 REQUEST_SENSE starting
 2923:acd0: req=0xc5582d80 REQUEST_SENSE begin transaction
 2924:acd0: req=0xc5582d80 REQUEST_SENSE interrupt
 2925:acd0: req=0xc5582d80 REQUEST_SENSE end transaction
 2926:acd0: req=0xc5582d80 REQUEST_SENSE finish taskqueue_swi
 2927:acd0: req=0xc5582d80 REQUEST_SENSE completed entered
 2928:acd0: req=0xc5582d80 REQUEST_SENSE completed callback/wakeup
 2929:atapi_cb: hcb@0xc5588780 sense = 00: sk = 0)
 2930:acd0: cmd REQUEST_SENSE status 50 result 00 error 00
 2931:(pass0:ata2:0:1:0): xpt_done
 2932:(pass0:ata2:0:1:0): camisr
 2933:cam_debug: xpt_release_ccb
 
 
 >  * put back the CD in the drive
 >  * run the READ CD RECORDED CAPACITY command again:
 >    camcontrol cmd cd0 -v -t 20 -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4"
 >    (I assume it should work this time)
 
 Output prior to sending the TEST UNIT READY command:
 
 2812:cam_debug: xpt_release_ccb
 2813:(pass0:ata2:0:1:0): entering cdgetccb
 2814:(pass0:ata2:0:1:0): xpt_schedule
 2815:(pass0:ata2:0:1:0):    added periph to queue
 2816:cam_debug: xpt_schedule_dev
 2817:cam_debug: Inserting onto queue
 2818:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2819:cam_debug: xpt_run_dev_allocq
 2820:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2821:cam_debug: running device 0xc53bbc00
 2822:(pass0:ata2:0:1:0): xpt_setup_ccb
 2823:cam_debug: calling periph start
 2824:(pass0:ata2:0:1:0): xpt_setup_ccb
 2825:(pass0:ata2:0:1:0): xpt_action
 2826:(pass0:ata2:0:1:0): xpt_action
 2827:cam_debug: xpt_release_ccb
 2828:(pass0:ata2:0:1:0): xpt_setup_ccb
 2829:(pass0:ata2:0:1:0): xpt_action
 2830:(pass0:ata2:0:1:0): xpt_done
 2831:(pass0:ata2:0:1:0): xpt_setup_ccb
 2832:(pass0:ata2:0:1:0): xpt_action
 2833:(pass0:ata2:0:1:0): xpt_setup_ccb
 2834:(pass0:ata2:0:1:0): xpt_action
 2835:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2836:(pass0:ata2:0:1:0): xpt_done
 2837:(pass0:ata2:0:1:0): entering cdgetccb
 2838:(pass0:ata2:0:1:0): xpt_schedule
 2839:(pass0:ata2:0:1:0):    added periph to queue
 2840:cam_debug: xpt_schedule_dev
 2841:cam_debug: Inserting onto queue
 2842:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2843:cam_debug: xpt_run_dev_allocq
 2844:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2845:cam_debug: running device 0xc53bbc00
 2846:(pass0:ata2:0:1:0): xpt_setup_ccb
 2847:cam_debug: calling periph start
 2848:(pass0:ata2:0:1:0): xpt_action
 2849:(pass0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 2850:cam_debug: xpt_schedule_dev
 2851:cam_debug: Inserting onto queue
 2852:cam_debug: xpt_run_dev_sendq
 2853:cam_debug: running device 0xc53bbc00
 2854:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2855:atapi_action: hcb@0xc55885c0: 25 0 0 0 0 0 0 0 0 0
 2856:acd0: req=0xc5582b40 READ_CAPACITY queued
 2857:acd0: req=0xc5582b40 READ_CAPACITY starting
 2858:acd0: req=0xc5582b40 READ_CAPACITY begin transaction
 2859:acd0: req=0xc5582b40 READ_CAPACITY timeout
 2860:acd0: req=0xc5582b40 READ_CAPACITY finish taskqueue_swi
 2861:acd0: req=0xc5582b40 READ_CAPACITY completed entered
 2862:(noperiph:ata2:0:-1:-1): xpt_async
 2863:(noperiph:ata2:0:1:0): xpt_compile_path
 2864:(noperiph:ata2:0:1:0): xpt_release_path
 2865:(cd0:ata2:0:1:0): xpt_setup_ccb
 2866:(cd0:ata2:0:1:0): xpt_action
 2867:(cd0:ata2:0:1:0): xpt_setup_ccb
 2868:(cd0:ata2:0:1:0): xpt_action
 2869:(cd0:ata2:0:1:0): xpt_setup_ccb
 2870:(cd0:ata2:0:1:0): xpt_action
 2871:acd0: FAILURE - READ_CAPACITY timed out
 2872:acd0: req=0xc5582b40 READ_CAPACITY completed callback/wakeup
 2873:atapi_cb: hcb@0xc55885c0 sense = 00: sk = 0)
 2874:acd0: cmd READ_CAPACITY status 00 result 05 error 00
 2875:(pass0:ata2:0:1:0): xpt_done
 2876:(pass0:ata2:0:1:0): camisr
 2877:cam_debug: xpt_release_ccb
 2878:(pass0:ata2:0:1:0): entering cdgetccb
 2879:(pass0:ata2:0:1:0): xpt_schedule
 2880:(pass0:ata2:0:1:0):    added periph to queue
 2881:cam_debug: xpt_schedule_dev
 2882:cam_debug: Inserting onto queue
 2883:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2884:cam_debug: xpt_run_dev_allocq
 2885:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2886:cam_debug: running device 0xc53bbc00
 2887:(pass0:ata2:0:1:0): xpt_setup_ccb
 2888:cam_debug: calling periph start
 2889:(pass0:ata2:0:1:0): xpt_setup_ccb
 2890:(pass0:ata2:0:1:0): xpt_action
 2891:(pass0:ata2:0:1:0): xpt_action
 2892:cam_debug: xpt_release_ccb
 2893:(pass0:ata2:0:1:0): xpt_setup_ccb
 2894:(pass0:ata2:0:1:0): xpt_action
 2895:(pass0:ata2:0:1:0): xpt_done
 2896:(pass0:ata2:0:1:0): xpt_setup_ccb
 2897:(pass0:ata2:0:1:0): xpt_action
 2898:(pass0:ata2:0:1:0): xpt_setup_ccb
 2899:(pass0:ata2:0:1:0): xpt_action
 2900:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2901:(pass0:ata2:0:1:0): xpt_done
 2902:(pass0:ata2:0:1:0): entering cdgetccb
 2903:(pass0:ata2:0:1:0): xpt_schedule
 2904:(pass0:ata2:0:1:0):    added periph to queue
 2905:cam_debug: xpt_schedule_dev
 2906:cam_debug: Inserting onto queue
 2907:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2908:cam_debug: xpt_run_dev_allocq
 2909:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2910:cam_debug: running device 0xc53bbc00
 2911:(pass0:ata2:0:1:0): xpt_setup_ccb
 2912:cam_debug: calling periph start
 2913:(pass0:ata2:0:1:0): xpt_action
 2914:(pass0:ata2:0:1:0): REQUEST SENSE. CDB: 3 0 0 0 12 0
 2915:cam_debug: xpt_schedule_dev
 2916:cam_debug: Inserting onto queue
 2917:cam_debug: xpt_run_dev_sendq
 2918:cam_debug: running device 0xc53bbc00
 2919:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2920:atapi_action: hcb@0xc5588780: 3 0 0 0 12 0
 2921:acd0: req=0xc5582d80 REQUEST_SENSE queued
 2922:acd0: req=0xc5582d80 REQUEST_SENSE starting
 2923:acd0: req=0xc5582d80 REQUEST_SENSE begin transaction
 2924:acd0: req=0xc5582d80 REQUEST_SENSE interrupt
 2925:acd0: req=0xc5582d80 REQUEST_SENSE end transaction
 2926:acd0: req=0xc5582d80 REQUEST_SENSE finish taskqueue_swi
 2927:acd0: req=0xc5582d80 REQUEST_SENSE completed entered
 2928:acd0: req=0xc5582d80 REQUEST_SENSE completed callback/wakeup
 2929:atapi_cb: hcb@0xc5588780 sense = 00: sk = 0)
 2930:acd0: cmd REQUEST_SENSE status 50 result 00 error 00
 2931:(pass0:ata2:0:1:0): xpt_done
 2932:(pass0:ata2:0:1:0): camisr
 2933:cam_debug: xpt_release_ccb
 2934:(pass0:ata2:0:1:0): entering cdgetccb
 2935:(pass0:ata2:0:1:0): xpt_schedule
 2936:(pass0:ata2:0:1:0):    added periph to queue
 2937:cam_debug: xpt_schedule_dev
 2938:cam_debug: Inserting onto queue
 2939:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2940:cam_debug: xpt_run_dev_allocq
 2941:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2942:cam_debug: running device 0xc53bbc00
 2943:(pass0:ata2:0:1:0): xpt_setup_ccb
 2944:cam_debug: calling periph start
 2945:(pass0:ata2:0:1:0): xpt_setup_ccb
 2946:(pass0:ata2:0:1:0): xpt_action
 2947:(pass0:ata2:0:1:0): xpt_action
 2948:cam_debug: xpt_release_ccb
 2949:(pass0:ata2:0:1:0): xpt_setup_ccb
 2950:(pass0:ata2:0:1:0): xpt_action
 2951:(pass0:ata2:0:1:0): xpt_done
 2952:(pass0:ata2:0:1:0): xpt_setup_ccb
 2953:(pass0:ata2:0:1:0): xpt_action
 2954:(pass0:ata2:0:1:0): xpt_setup_ccb
 2955:(pass0:ata2:0:1:0): xpt_action
 2956:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2957:(pass0:ata2:0:1:0): xpt_done
 2958:(pass0:ata2:0:1:0): entering cdgetccb
 2959:(pass0:ata2:0:1:0): xpt_schedule
 2960:(pass0:ata2:0:1:0):    added periph to queue
 2961:cam_debug: xpt_schedule_dev
 2962:cam_debug: Inserting onto queue
 2963:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2964:cam_debug: xpt_run_dev_allocq
 2965:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2966:cam_debug: running device 0xc53bbc00
 2967:(pass0:ata2:0:1:0): xpt_setup_ccb
 2968:cam_debug: calling periph start
 2969:(pass0:ata2:0:1:0): xpt_action
 2970:(pass0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 2971:cam_debug: xpt_schedule_dev
 2972:cam_debug: Inserting onto queue
 2973:cam_debug: xpt_run_dev_sendq
 2974:cam_debug: running device 0xc53bbc00
 2975:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2976:atapi_action: hcb@0xc55897c0: 25 0 0 0 0 0 0 0 0 0
 2977:acd0: req=0xc55823c0 READ_CAPACITY queued
 2978:acd0: req=0xc55823c0 READ_CAPACITY starting
 2979:acd0: req=0xc55823c0 READ_CAPACITY begin transaction
 2980:acd0: req=0xc55823c0 READ_CAPACITY timeout
 2981:acd0: req=0xc55823c0 READ_CAPACITY finish taskqueue_swi
 2982:acd0: req=0xc55823c0 READ_CAPACITY completed entered
 2983:(noperiph:ata2:0:-1:-1): xpt_async
 2984:(noperiph:ata2:0:1:0): xpt_compile_path
 2985:(noperiph:ata2:0:1:0): xpt_release_path
 2986:(cd0:ata2:0:1:0): xpt_setup_ccb
 2987:(cd0:ata2:0:1:0): xpt_action
 2988:(cd0:ata2:0:1:0): xpt_setup_ccb
 2989:(cd0:ata2:0:1:0): xpt_action
 2990:(cd0:ata2:0:1:0): xpt_setup_ccb
 2991:(cd0:ata2:0:1:0): xpt_action
 2992:acd0: FAILURE - READ_CAPACITY timed out
 2993:acd0: req=0xc55823c0 READ_CAPACITY completed callback/wakeup
 2994:atapi_cb: hcb@0xc55897c0 sense = 00: sk = 0)
 2995:acd0: cmd READ_CAPACITY status 00 result 05 error 00
 2996:(pass0:ata2:0:1:0): xpt_done
 2997:(pass0:ata2:0:1:0): camisr
 2998:cam_debug: xpt_release_ccb
 
 And here's the output after a TEST UNIT READY command, then the read
 capacity command (it worked):
 
 2812:cam_debug: xpt_release_ccb
 2813:(pass0:ata2:0:1:0): entering cdgetccb
 2814:(pass0:ata2:0:1:0): xpt_schedule
 2815:(pass0:ata2:0:1:0):    added periph to queue
 2816:cam_debug: xpt_schedule_dev
 2817:cam_debug: Inserting onto queue
 2818:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2819:cam_debug: xpt_run_dev_allocq
 2820:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2821:cam_debug: running device 0xc53bbc00
 2822:(pass0:ata2:0:1:0): xpt_setup_ccb
 2823:cam_debug: calling periph start
 2824:(pass0:ata2:0:1:0): xpt_setup_ccb
 2825:(pass0:ata2:0:1:0): xpt_action
 2826:(pass0:ata2:0:1:0): xpt_action
 2827:cam_debug: xpt_release_ccb
 2828:(pass0:ata2:0:1:0): xpt_setup_ccb
 2829:(pass0:ata2:0:1:0): xpt_action
 2830:(pass0:ata2:0:1:0): xpt_done
 2831:(pass0:ata2:0:1:0): xpt_setup_ccb
 2832:(pass0:ata2:0:1:0): xpt_action
 2833:(pass0:ata2:0:1:0): xpt_setup_ccb
 2834:(pass0:ata2:0:1:0): xpt_action
 2835:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2836:(pass0:ata2:0:1:0): xpt_done
 2837:(pass0:ata2:0:1:0): entering cdgetccb
 2838:(pass0:ata2:0:1:0): xpt_schedule
 2839:(pass0:ata2:0:1:0):    added periph to queue
 2840:cam_debug: xpt_schedule_dev
 2841:cam_debug: Inserting onto queue
 2842:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2843:cam_debug: xpt_run_dev_allocq
 2844:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2845:cam_debug: running device 0xc53bbc00
 2846:(pass0:ata2:0:1:0): xpt_setup_ccb
 2847:cam_debug: calling periph start
 2848:(pass0:ata2:0:1:0): xpt_action
 2849:(pass0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 2850:cam_debug: xpt_schedule_dev
 2851:cam_debug: Inserting onto queue
 2852:cam_debug: xpt_run_dev_sendq
 2853:cam_debug: running device 0xc53bbc00
 2854:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2855:atapi_action: hcb@0xc55885c0: 25 0 0 0 0 0 0 0 0 0
 2856:acd0: req=0xc5582b40 READ_CAPACITY queued
 2857:acd0: req=0xc5582b40 READ_CAPACITY starting
 2858:acd0: req=0xc5582b40 READ_CAPACITY begin transaction
 2859:acd0: req=0xc5582b40 READ_CAPACITY timeout
 2860:acd0: req=0xc5582b40 READ_CAPACITY finish taskqueue_swi
 2861:acd0: req=0xc5582b40 READ_CAPACITY completed entered
 2862:(noperiph:ata2:0:-1:-1): xpt_async
 2863:(noperiph:ata2:0:1:0): xpt_compile_path
 2864:(noperiph:ata2:0:1:0): xpt_release_path
 2865:(cd0:ata2:0:1:0): xpt_setup_ccb
 2866:(cd0:ata2:0:1:0): xpt_action
 2867:(cd0:ata2:0:1:0): xpt_setup_ccb
 2868:(cd0:ata2:0:1:0): xpt_action
 2869:(cd0:ata2:0:1:0): xpt_setup_ccb
 2870:(cd0:ata2:0:1:0): xpt_action
 2871:acd0: FAILURE - READ_CAPACITY timed out
 2872:acd0: req=0xc5582b40 READ_CAPACITY completed callback/wakeup
 2873:atapi_cb: hcb@0xc55885c0 sense = 00: sk = 0)
 2874:acd0: cmd READ_CAPACITY status 00 result 05 error 00
 2875:(pass0:ata2:0:1:0): xpt_done
 2876:(pass0:ata2:0:1:0): camisr
 2877:cam_debug: xpt_release_ccb
 2878:(pass0:ata2:0:1:0): entering cdgetccb
 2879:(pass0:ata2:0:1:0): xpt_schedule
 2880:(pass0:ata2:0:1:0):    added periph to queue
 2881:cam_debug: xpt_schedule_dev
 2882:cam_debug: Inserting onto queue
 2883:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2884:cam_debug: xpt_run_dev_allocq
 2885:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2886:cam_debug: running device 0xc53bbc00
 2887:(pass0:ata2:0:1:0): xpt_setup_ccb
 2888:cam_debug: calling periph start
 2889:(pass0:ata2:0:1:0): xpt_setup_ccb
 2890:(pass0:ata2:0:1:0): xpt_action
 2891:(pass0:ata2:0:1:0): xpt_action
 2892:cam_debug: xpt_release_ccb
 2893:(pass0:ata2:0:1:0): xpt_setup_ccb
 2894:(pass0:ata2:0:1:0): xpt_action
 2895:(pass0:ata2:0:1:0): xpt_done
 2896:(pass0:ata2:0:1:0): xpt_setup_ccb
 2897:(pass0:ata2:0:1:0): xpt_action
 2898:(pass0:ata2:0:1:0): xpt_setup_ccb
 2899:(pass0:ata2:0:1:0): xpt_action
 2900:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2901:(pass0:ata2:0:1:0): xpt_done
 2902:(pass0:ata2:0:1:0): entering cdgetccb
 2903:(pass0:ata2:0:1:0): xpt_schedule
 2904:(pass0:ata2:0:1:0):    added periph to queue
 2905:cam_debug: xpt_schedule_dev
 2906:cam_debug: Inserting onto queue
 2907:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2908:cam_debug: xpt_run_dev_allocq
 2909:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2910:cam_debug: running device 0xc53bbc00
 2911:(pass0:ata2:0:1:0): xpt_setup_ccb
 2912:cam_debug: calling periph start
 2913:(pass0:ata2:0:1:0): xpt_action
 2914:(pass0:ata2:0:1:0): REQUEST SENSE. CDB: 3 0 0 0 12 0
 2915:cam_debug: xpt_schedule_dev
 2916:cam_debug: Inserting onto queue
 2917:cam_debug: xpt_run_dev_sendq
 2918:cam_debug: running device 0xc53bbc00
 2919:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2920:atapi_action: hcb@0xc5588780: 3 0 0 0 12 0
 2921:acd0: req=0xc5582d80 REQUEST_SENSE queued
 2922:acd0: req=0xc5582d80 REQUEST_SENSE starting
 2923:acd0: req=0xc5582d80 REQUEST_SENSE begin transaction
 2924:acd0: req=0xc5582d80 REQUEST_SENSE interrupt
 2925:acd0: req=0xc5582d80 REQUEST_SENSE end transaction
 2926:acd0: req=0xc5582d80 REQUEST_SENSE finish taskqueue_swi
 2927:acd0: req=0xc5582d80 REQUEST_SENSE completed entered
 2928:acd0: req=0xc5582d80 REQUEST_SENSE completed callback/wakeup
 2929:atapi_cb: hcb@0xc5588780 sense = 00: sk = 0)
 2930:acd0: cmd REQUEST_SENSE status 50 result 00 error 00
 2931:(pass0:ata2:0:1:0): xpt_done
 2932:(pass0:ata2:0:1:0): camisr
 2933:cam_debug: xpt_release_ccb
 2934:(pass0:ata2:0:1:0): entering cdgetccb
 2935:(pass0:ata2:0:1:0): xpt_schedule
 2936:(pass0:ata2:0:1:0):    added periph to queue
 2937:cam_debug: xpt_schedule_dev
 2938:cam_debug: Inserting onto queue
 2939:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2940:cam_debug: xpt_run_dev_allocq
 2941:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2942:cam_debug: running device 0xc53bbc00
 2943:(pass0:ata2:0:1:0): xpt_setup_ccb
 2944:cam_debug: calling periph start
 2945:(pass0:ata2:0:1:0): xpt_setup_ccb
 2946:(pass0:ata2:0:1:0): xpt_action
 2947:(pass0:ata2:0:1:0): xpt_action
 2948:cam_debug: xpt_release_ccb
 2949:(pass0:ata2:0:1:0): xpt_setup_ccb
 2950:(pass0:ata2:0:1:0): xpt_action
 2951:(pass0:ata2:0:1:0): xpt_done
 2952:(pass0:ata2:0:1:0): xpt_setup_ccb
 2953:(pass0:ata2:0:1:0): xpt_action
 2954:(pass0:ata2:0:1:0): xpt_setup_ccb
 2955:(pass0:ata2:0:1:0): xpt_action
 2956:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2957:(pass0:ata2:0:1:0): xpt_done
 2958:(pass0:ata2:0:1:0): entering cdgetccb
 2959:(pass0:ata2:0:1:0): xpt_schedule
 2960:(pass0:ata2:0:1:0):    added periph to queue
 2961:cam_debug: xpt_schedule_dev
 2962:cam_debug: Inserting onto queue
 2963:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2964:cam_debug: xpt_run_dev_allocq
 2965:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 2966:cam_debug: running device 0xc53bbc00
 2967:(pass0:ata2:0:1:0): xpt_setup_ccb
 2968:cam_debug: calling periph start
 2969:(pass0:ata2:0:1:0): xpt_action
 2970:(pass0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 2971:cam_debug: xpt_schedule_dev
 2972:cam_debug: Inserting onto queue
 2973:cam_debug: xpt_run_dev_sendq
 2974:cam_debug: running device 0xc53bbc00
 2975:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2976:atapi_action: hcb@0xc55897c0: 25 0 0 0 0 0 0 0 0 0
 2977:acd0: req=0xc55823c0 READ_CAPACITY queued
 2978:acd0: req=0xc55823c0 READ_CAPACITY starting
 2979:acd0: req=0xc55823c0 READ_CAPACITY begin transaction
 2980:acd0: req=0xc55823c0 READ_CAPACITY timeout
 2981:acd0: req=0xc55823c0 READ_CAPACITY finish taskqueue_swi
 2982:acd0: req=0xc55823c0 READ_CAPACITY completed entered
 2983:(noperiph:ata2:0:-1:-1): xpt_async
 2984:(noperiph:ata2:0:1:0): xpt_compile_path
 2985:(noperiph:ata2:0:1:0): xpt_release_path
 2986:(cd0:ata2:0:1:0): xpt_setup_ccb
 2987:(cd0:ata2:0:1:0): xpt_action
 2988:(cd0:ata2:0:1:0): xpt_setup_ccb
 2989:(cd0:ata2:0:1:0): xpt_action
 2990:(cd0:ata2:0:1:0): xpt_setup_ccb
 2991:(cd0:ata2:0:1:0): xpt_action
 2992:acd0: FAILURE - READ_CAPACITY timed out
 2993:acd0: req=0xc55823c0 READ_CAPACITY completed callback/wakeup
 2994:atapi_cb: hcb@0xc55897c0 sense = 00: sk = 0)
 2995:acd0: cmd READ_CAPACITY status 00 result 05 error 00
 2996:(pass0:ata2:0:1:0): xpt_done
 2997:(pass0:ata2:0:1:0): camisr
 2998:cam_debug: xpt_release_ccb
 2999:(pass0:ata2:0:1:0): entering cdgetccb
 3000:(pass0:ata2:0:1:0): xpt_schedule
 3001:(pass0:ata2:0:1:0):    added periph to queue
 3002:cam_debug: xpt_schedule_dev
 3003:cam_debug: Inserting onto queue
 3004:(pass0:ata2:0:1:0):    calling xpt_run_devq
 3005:cam_debug: xpt_run_dev_allocq
 3006:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 3007:cam_debug: running device 0xc53bbc00
 3008:(pass0:ata2:0:1:0): xpt_setup_ccb
 3009:cam_debug: calling periph start
 3010:(pass0:ata2:0:1:0): xpt_setup_ccb
 3011:(pass0:ata2:0:1:0): xpt_action
 3012:(pass0:ata2:0:1:0): xpt_action
 3013:cam_debug: xpt_release_ccb
 3014:(pass0:ata2:0:1:0): xpt_setup_ccb
 3015:(pass0:ata2:0:1:0): xpt_action
 3016:(pass0:ata2:0:1:0): xpt_done
 3017:(pass0:ata2:0:1:0): xpt_setup_ccb
 3018:(pass0:ata2:0:1:0): xpt_action
 3019:(pass0:ata2:0:1:0): xpt_setup_ccb
 3020:(pass0:ata2:0:1:0): xpt_action
 3021:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 3022:(pass0:ata2:0:1:0): xpt_done
 3023:(pass0:ata2:0:1:0): entering cdgetccb
 3024:(pass0:ata2:0:1:0): xpt_schedule
 3025:(pass0:ata2:0:1:0):    added periph to queue
 3026:cam_debug: xpt_schedule_dev
 3027:cam_debug: Inserting onto queue
 3028:(pass0:ata2:0:1:0):    calling xpt_run_devq
 3029:cam_debug: xpt_run_dev_allocq
 3030:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 3031:cam_debug: running device 0xc53bbc00
 3032:(pass0:ata2:0:1:0): xpt_setup_ccb
 3033:cam_debug: calling periph start
 3034:(pass0:ata2:0:1:0): xpt_action
 3035:(pass0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 3036:cam_debug: xpt_schedule_dev
 3037:cam_debug: Inserting onto queue
 3038:cam_debug: xpt_run_dev_sendq
 3039:cam_debug: running device 0xc53bbc00
 3040:(pass0:ata2:0:1:0): XPT_SCSI_IO
 3041:atapi_action: hcb@0xc55b8900: 0 0 0 0 0 0
 3042:acd0: req=0xc5556780 TEST_UNIT_READY queued
 3043:acd0: req=0xc5556780 TEST_UNIT_READY starting
 3044:acd0: req=0xc5556780 TEST_UNIT_READY begin transaction
 3045:acd0: req=0xc5556780 TEST_UNIT_READY interrupt
 3046:acd0: req=0xc5556780 TEST_UNIT_READY end transaction
 3047:acd0: req=0xc5556780 TEST_UNIT_READY finish taskqueue_swi
 3048:acd0: req=0xc5556780 TEST_UNIT_READY completed entered
 3049:acd0: req=0xc5556780 TEST_UNIT_READY completed callback/wakeup
 3050:atapi_cb: hcb@0xc55b8900 sense = 00: sk = 0)
 3051:acd0: cmd TEST_UNIT_READY status 50 result 00 error 00
 3052:(pass0:ata2:0:1:0): xpt_done
 3053:(pass0:ata2:0:1:0): camisr
 3054:cam_debug: xpt_release_ccb
 3055:(pass0:ata2:0:1:0): entering cdgetccb
 3056:(pass0:ata2:0:1:0): xpt_schedule
 3057:(pass0:ata2:0:1:0):    added periph to queue
 3058:cam_debug: xpt_schedule_dev
 3059:cam_debug: Inserting onto queue
 3060:(pass0:ata2:0:1:0):    calling xpt_run_devq
 3061:cam_debug: xpt_run_dev_allocq
 3062:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 3063:cam_debug: running device 0xc53bbc00
 3064:(pass0:ata2:0:1:0): xpt_setup_ccb
 3065:cam_debug: calling periph start
 3066:(pass0:ata2:0:1:0): xpt_setup_ccb
 3067:(pass0:ata2:0:1:0): xpt_action
 3068:(pass0:ata2:0:1:0): xpt_action
 3069:cam_debug: xpt_release_ccb
 3070:(pass0:ata2:0:1:0): xpt_setup_ccb
 3071:(pass0:ata2:0:1:0): xpt_action
 3072:(pass0:ata2:0:1:0): xpt_done
 3073:(pass0:ata2:0:1:0): xpt_setup_ccb
 3074:(pass0:ata2:0:1:0): xpt_action
 3075:(pass0:ata2:0:1:0): xpt_setup_ccb
 3076:(pass0:ata2:0:1:0): xpt_action
 3077:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 3078:(pass0:ata2:0:1:0): xpt_done
 3079:(pass0:ata2:0:1:0): entering cdgetccb
 3080:(pass0:ata2:0:1:0): xpt_schedule
 3081:(pass0:ata2:0:1:0):    added periph to queue
 3082:cam_debug: xpt_schedule_dev
 3083:cam_debug: Inserting onto queue
 3084:(pass0:ata2:0:1:0):    calling xpt_run_devq
 3085:cam_debug: xpt_run_dev_allocq
 3086:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 3087:cam_debug: running device 0xc53bbc00
 3088:(pass0:ata2:0:1:0): xpt_setup_ccb
 3089:cam_debug: calling periph start
 3090:(pass0:ata2:0:1:0): xpt_action
 3091:(pass0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 3092:cam_debug: xpt_schedule_dev
 3093:cam_debug: Inserting onto queue
 3094:cam_debug: xpt_run_dev_sendq
 3095:cam_debug: running device 0xc53bbc00
 3096:(pass0:ata2:0:1:0): XPT_SCSI_IO
 3097:atapi_action: hcb@0xc55b8700: 25 0 0 0 0 0 0 0 0 0
 3098:acd0: req=0xc5556600 READ_CAPACITY queued
 3099:acd0: req=0xc5556600 READ_CAPACITY starting
 3100:acd0: req=0xc5556600 READ_CAPACITY begin transaction
 3101:acd0: req=0xc5556600 READ_CAPACITY interrupt
 3102:acd0: req=0xc5556600 READ_CAPACITY end transaction
 3103:acd0: req=0xc5556600 READ_CAPACITY finish taskqueue_swi
 3104:acd0: req=0xc5556600 READ_CAPACITY completed entered
 3105:acd0: req=0xc5556600 READ_CAPACITY completed callback/wakeup
 3106:atapi_cb: hcb@0xc55b8700 sense = 00: sk = 0)
 3107:acd0: cmd READ_CAPACITY status 50 result 00 error 00
 3108:(pass0:ata2:0:1:0): xpt_done
 3109:(pass0:ata2:0:1:0): camisr
 3110:cam_debug: xpt_release_ccb
 
 Thanks!
 Josh

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/103602: commit references a PR
Date: Tue, 13 Mar 2007 20:38:24 +0000 (UTC)

 thomas      2007-03-13 20:38:16 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/dev/ata          atapi-cam.c 
   Log:
   (reinit_bus): When the ATAPI bus is reset, do not schedule an automated
    CAM rescan if the ATAPI device entries have not changed.
   
   The ATAPI bus may be reset for a variety of reasons, including any time an
   ATAPI request times out. It is not necessary to rescan at the CAM level
   in such a case, unless a device has appeared or disappeared, or has
   otherwise changed.
   
   PR:             kern/103602
   MFC after:      2 weeks
   
   Revision  Changes    Path
   1.48      +10 -2     src/sys/dev/ata/atapi-cam.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/103602: commit references a PR
Date: Tue, 13 Mar 2007 20:42:58 +0000 (UTC)

 thomas      2007-03-13 20:42:49 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/dev/ata          atapi-cam.c 
   Log:
   (atapi_action): Improve error reporting by removing ATA_R_QUIET flag
    from ATAPI requests. If CAM debugging is enabled, also mark ATAPI
    requests with ATA_R_DEBUG flag.
   
   (atapi_cb): Report ATAPI timeouts to the CAM layer.
    Fix incorrect debugging traces in the presence of ATAPI errors.
   
   PR:             kern/103602
   MFC after:      2 weeks
   
   Revision  Changes    Path
   1.49      +48 -32    src/sys/dev/ata/atapi-cam.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 13 Mar 2007 21:46:48 +0100

 * Josh Carroll, 2007-03-09 :
 
 > Exactly, it appears to work with a cd in the drive, and I get a
 > transient cd0 dev entry without the disc. Below is the output from
 > each command you requested. I got a timeout in the last read capacity
 > command, even after the prior steps. I sent a TEST UNIT READY command,
 > then it worked, though.
 
 OK, thanks for the traces.
 
 It's now clear that we had missing code to handle ATAPI command timeouts
 at the ATAPI/CAM level, and I've now committed the required fixes there.
 
 Additionally, it's clear from the latest traces you provided that your
 drive seems to has a strange behaviour which we are not dealing well at
 the SCSI level, so I'll take this second issue with the maintainers of
 the SCSI code. In the meantime, as we discussed, a work-around is to
 ensure that you have a valid CD in the drive at boot time.
 
 Thomas.
 

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: freebsd-scsi@freebsd.org
Cc: bug-followup@freebsd.org, josh.carroll@gmail.com
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Tue, 13 Mar 2007 21:57:31 +0100

 SCSI guys,
 
 kern/103602 is a long-standing issue with a Sony DVD drive that has a
 strange behaviour (failing to attach and causing an interrupt storm).
 
 One aspect of this PR was that an ATAPI command timing out was not
 correctly reported by the ATAPI/CAM SIM to the XPT layer. This has been
 fixed in atapi-cam.c rev. 1.49.
 
 Now we have a second issue: if there is no disc in the drive, it
 times out a READ CD CAPACITY (and any subsequent retry, even if a disc
 is then inserted in the drive), instead of returning an appropriate
 error (the expected behaviour would be a NOT READY sense key and a
 MEDIUM NOT PRESENT ASC). A TEST UNIT READY command seems to behave
 properly (reporting the appropriate error if no disc is present,
 reporting no error and resetting the drive to a proper state if
 one is).
 
 The timeout causes the unit to fail to attach at boot time if no disc is
 present. How should we deal with this situation? One possible option is
 to make sure that we first issue a TEST UNIT READY at attach time prior
 to issuing READ CD CAPACITY, and not issue the second command if the TUR
 returned a NOT READY status.
 
 The traces below show how the drive behaves in response to TEST UNIT
 READY and READ CD CAPACITY in various cases. Complete boot messages are
 available in the PR history.
 
 Thomas.
 
 ----- Forwarded message from Josh Carroll <josh.carroll@gmail.com> -----
 
 From: Josh Carroll <josh.carroll@gmail.com>
 Reply-To: josh.carroll@psualum.com
 To: Thomas Quinot <thomas@freebsd.org>
 Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
 Cc: bug-followup@freebsd.org
 In-Reply-To: <20070309182253.GA3998@melamine.cuivre.fr.eu.org>
 
 >OK, we're getting closer. So, to summarize:
 >  * if there's a CD in the drive at boot time, things work OK
 >  * if not the cd0 entry appears transiently and then disappears
 
 Exactly, it appears to work with a cd in the drive, and I get a
 transient cd0 dev entry without the disc. Below is the output from
 each command you requested. I got a timeout in the last read capacity
 command, even after the prior steps. I sent a TEST UNIT READY command,
 then it worked, though.
 
 > * run this command (TEST UNIT READY):
 >   camcontrol cmd cd0 -v -t 20 -c "0 0 0 0 0 0"
 
 (pass0:ata2:0:1:0): entering cdgetccb
 (pass0:ata2:0:1:0): xpt_schedule
 (pass0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (pass0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): xpt_action
 cam_debug: xpt_release_ccb
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): xpt_done
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 (pass0:ata2:0:1:0): xpt_done
 (pass0:ata2:0:1:0): entering cdgetccb
 (pass0:ata2:0:1:0): xpt_schedule
 (pass0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (pass0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (pass0:ata2:0:1:0): xpt_action
 (pass0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53bbc00
 (pass0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc55b8440: 0 0 0 0 0 0
 acd0: req=0xc5582540 TEST_UNIT_READY queued
 acd0: req=0xc5582540 TEST_UNIT_READY starting
 acd0: req=0xc5582540 TEST_UNIT_READY begin transaction
 acd0: req=0xc5582540 TEST_UNIT_READY interrupt
 acd0: req=0xc5582540 TEST_UNIT_READY end transaction
 acd0: req=0xc5582540 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc5582540 TEST_UNIT_READY completed entered
 acd0: req=0xc5582540 TEST_UNIT_READY autoissue request sense
 acd0: req=0xc5582540 REQUEST_SENSE queued
 acd0: req=0xc5582540 REQUEST_SENSE starting
 acd0: req=0xc5582540 REQUEST_SENSE begin transaction
 acd0: req=0xc5582540 REQUEST_SENSE interrupt
 acd0: req=0xc5582540 REQUEST_SENSE end transaction
 acd0: req=0xc5582540 TEST_UNIT_READY interrupt
 acd0: req=0xc5582540 TEST_UNIT_READY end transaction
 acd0: req=0xc5582540 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc5582540 TEST_UNIT_READY completed entered
 acd0: req=0xc5582540 TEST_UNIT_READY completed callback/wakeup
 atapi_cb: hcb@0xc55b8440 sense = 02: sk = 2)
 acd0: cmd TEST_UNIT_READY status 50 result 05 error 00
 (pass0:ata2:0:1:0): xpt_done
 (pass0:ata2:0:1:0): camisr
 cam_debug: xpt_release_ccb
 
 
 > * run this command (READ CD RECORDED CAPACITY):
 >   camcontrol cmd cd0 -v -t 20 -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4"
 
 This times out with 20, 40 and 60 seconds. Here's the output from the
 20 second timeout period:
 
 2617:cam_debug: xpt_release_ccb
 2618:(pass0:ata2:0:1:0): entering cdgetccb
 2619:(pass0:ata2:0:1:0): xpt_schedule
 2620:(pass0:ata2:0:1:0):    added periph to queue
 2621:cam_debug: xpt_schedule_dev
 2622:cam_debug: Inserting onto queue
 2623:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2624:cam_debug: xpt_run_dev_allocq
 2625:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2626:cam_debug: running device 0xc53bbc00
 2627:(pass0:ata2:0:1:0): xpt_setup_ccb
 2628:cam_debug: calling periph start
 2629:(pass0:ata2:0:1:0): xpt_setup_ccb
 2630:(pass0:ata2:0:1:0): xpt_action
 2631:(pass0:ata2:0:1:0): xpt_action
 2632:cam_debug: xpt_release_ccb
 2633:(pass0:ata2:0:1:0): xpt_setup_ccb
 2634:(pass0:ata2:0:1:0): xpt_action
 2635:(pass0:ata2:0:1:0): xpt_done
 2636:(pass0:ata2:0:1:0): xpt_setup_ccb
 2637:(pass0:ata2:0:1:0): xpt_action
 2638:(pass0:ata2:0:1:0): xpt_setup_ccb
 2639:(pass0:ata2:0:1:0): xpt_action
 2640:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2641:(pass0:ata2:0:1:0): xpt_done
 2642:(pass0:ata2:0:1:0): entering cdgetccb
 2643:(pass0:ata2:0:1:0): xpt_schedule
 2644:(pass0:ata2:0:1:0):    added periph to queue
 2645:cam_debug: xpt_schedule_dev
 2646:cam_debug: Inserting onto queue
 2647:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2648:cam_debug: xpt_run_dev_allocq
 2649:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2650:cam_debug: running device 0xc53bbc00
 2651:(pass0:ata2:0:1:0): xpt_setup_ccb
 2652:cam_debug: calling periph start
 2653:(pass0:ata2:0:1:0): xpt_action
 2654:(pass0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 2655:cam_debug: xpt_schedule_dev
 2656:cam_debug: Inserting onto queue
 2657:cam_debug: xpt_run_dev_sendq
 2658:cam_debug: running device 0xc53bbc00
 2659:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2660:atapi_action: hcb@0xc55b8700: 25 0 0 0 0 0 0 0 0 0
 2661:acd0: req=0xc5556cc0 READ_CAPACITY queued
 2662:acd0: req=0xc5556cc0 READ_CAPACITY starting
 2663:acd0: req=0xc5556cc0 READ_CAPACITY begin transaction
 2664:acd0: req=0xc5556cc0 READ_CAPACITY timeout
 2665:acd0: req=0xc5556cc0 READ_CAPACITY finish taskqueue_swi
 2666:acd0: req=0xc5556cc0 READ_CAPACITY completed entered
 2667:(noperiph:ata2:0:-1:-1): xpt_async
 2668:(noperiph:ata2:0:1:0): xpt_compile_path
 2669:(noperiph:ata2:0:1:0): xpt_release_path
 2670:(cd0:ata2:0:1:0): xpt_setup_ccb
 2671:(cd0:ata2:0:1:0): xpt_action
 2672:(cd0:ata2:0:1:0): xpt_setup_ccb
 2673:(cd0:ata2:0:1:0): xpt_action
 2674:(cd0:ata2:0:1:0): xpt_setup_ccb
 2675:(cd0:ata2:0:1:0): xpt_action
 2676:acd0: FAILURE - READ_CAPACITY timed out
 2677:acd0: req=0xc5556cc0 READ_CAPACITY completed callback/wakeup
 2678:atapi_cb: hcb@0xc55b8700 sense = 00: sk = 0)
 2679:acd0: cmd READ_CAPACITY status 00 result 05 error 00
 2680:(pass0:ata2:0:1:0): xpt_done
 2681:(pass0:ata2:0:1:0): camisr
 2682:cam_debug: xpt_release_ccb
 
 
 > * Assuming it times out, run it again without -v:
 >   camcontrol cmd cd0 -t 20 -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4"
 >   and then this one (REQUEST SENSE):
 >   camcontrol cmd cd0 -t 20 -c "03 0 0 0 12 0" -i 18 \
 >      "{Valid} b1 {RespCode} b7
 >       {Obsolete} i1
 >       {Filemark} b1 {EOM} b1 {ILI} b1 {Reserved} b1 {SenseKey} b4
 >       {Info} i4 {AddLen} i1 {CommSpec} i4
 >       {ASC} i1 {ASCQ} i1 {FRU} i1 {SKSV} b1 {SKS} b23"
 
 2812:cam_debug: xpt_release_ccb
 2813:(pass0:ata2:0:1:0): entering cdgetccb
 2814:(pass0:ata2:0:1:0): xpt_schedule
 2815:(pass0:ata2:0:1:0):    added periph to queue
 2816:cam_debug: xpt_schedule_dev
 2817:cam_debug: Inserting onto queue
 2818:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2819:cam_debug: xpt_run_dev_allocq
 2820:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2821:cam_debug: running device 0xc53bbc00
 2822:(pass0:ata2:0:1:0): xpt_setup_ccb
 2823:cam_debug: calling periph start
 2824:(pass0:ata2:0:1:0): xpt_setup_ccb
 2825:(pass0:ata2:0:1:0): xpt_action
 2826:(pass0:ata2:0:1:0): xpt_action
 2827:cam_debug: xpt_release_ccb
 2828:(pass0:ata2:0:1:0): xpt_setup_ccb
 2829:(pass0:ata2:0:1:0): xpt_action
 2830:(pass0:ata2:0:1:0): xpt_done
 2831:(pass0:ata2:0:1:0): xpt_setup_ccb
 2832:(pass0:ata2:0:1:0): xpt_action
 2833:(pass0:ata2:0:1:0): xpt_setup_ccb
 2834:(pass0:ata2:0:1:0): xpt_action
 2835:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2836:(pass0:ata2:0:1:0): xpt_done
 2837:(pass0:ata2:0:1:0): entering cdgetccb
 2838:(pass0:ata2:0:1:0): xpt_schedule
 2839:(pass0:ata2:0:1:0):    added periph to queue
 2840:cam_debug: xpt_schedule_dev
 2841:cam_debug: Inserting onto queue
 2842:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2843:cam_debug: xpt_run_dev_allocq
 2844:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2845:cam_debug: running device 0xc53bbc00
 2846:(pass0:ata2:0:1:0): xpt_setup_ccb
 2847:cam_debug: calling periph start
 2848:(pass0:ata2:0:1:0): xpt_action
 2849:(pass0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 2850:cam_debug: xpt_schedule_dev
 2851:cam_debug: Inserting onto queue
 2852:cam_debug: xpt_run_dev_sendq
 2853:cam_debug: running device 0xc53bbc00
 2854:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2855:atapi_action: hcb@0xc55885c0: 25 0 0 0 0 0 0 0 0 0
 2856:acd0: req=0xc5582b40 READ_CAPACITY queued
 2857:acd0: req=0xc5582b40 READ_CAPACITY starting
 2858:acd0: req=0xc5582b40 READ_CAPACITY begin transaction
 2859:acd0: req=0xc5582b40 READ_CAPACITY timeout
 2860:acd0: req=0xc5582b40 READ_CAPACITY finish taskqueue_swi
 2861:acd0: req=0xc5582b40 READ_CAPACITY completed entered
 2862:(noperiph:ata2:0:-1:-1): xpt_async
 2863:(noperiph:ata2:0:1:0): xpt_compile_path
 2864:(noperiph:ata2:0:1:0): xpt_release_path
 2865:(cd0:ata2:0:1:0): xpt_setup_ccb
 2866:(cd0:ata2:0:1:0): xpt_action
 2867:(cd0:ata2:0:1:0): xpt_setup_ccb
 2868:(cd0:ata2:0:1:0): xpt_action
 2869:(cd0:ata2:0:1:0): xpt_setup_ccb
 2870:(cd0:ata2:0:1:0): xpt_action
 2871:acd0: FAILURE - READ_CAPACITY timed out
 2872:acd0: req=0xc5582b40 READ_CAPACITY completed callback/wakeup
 2873:atapi_cb: hcb@0xc55885c0 sense = 00: sk = 0)
 2874:acd0: cmd READ_CAPACITY status 00 result 05 error 00
 2875:(pass0:ata2:0:1:0): xpt_done
 2876:(pass0:ata2:0:1:0): camisr
 2877:cam_debug: xpt_release_ccb
 2878:(pass0:ata2:0:1:0): entering cdgetccb
 2879:(pass0:ata2:0:1:0): xpt_schedule
 2880:(pass0:ata2:0:1:0):    added periph to queue
 2881:cam_debug: xpt_schedule_dev
 2882:cam_debug: Inserting onto queue
 2883:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2884:cam_debug: xpt_run_dev_allocq
 2885:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2886:cam_debug: running device 0xc53bbc00
 2887:(pass0:ata2:0:1:0): xpt_setup_ccb
 2888:cam_debug: calling periph start
 2889:(pass0:ata2:0:1:0): xpt_setup_ccb
 2890:(pass0:ata2:0:1:0): xpt_action
 2891:(pass0:ata2:0:1:0): xpt_action
 2892:cam_debug: xpt_release_ccb
 2893:(pass0:ata2:0:1:0): xpt_setup_ccb
 2894:(pass0:ata2:0:1:0): xpt_action
 2895:(pass0:ata2:0:1:0): xpt_done
 2896:(pass0:ata2:0:1:0): xpt_setup_ccb
 2897:(pass0:ata2:0:1:0): xpt_action
 2898:(pass0:ata2:0:1:0): xpt_setup_ccb
 2899:(pass0:ata2:0:1:0): xpt_action
 2900:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2901:(pass0:ata2:0:1:0): xpt_done
 2902:(pass0:ata2:0:1:0): entering cdgetccb
 2903:(pass0:ata2:0:1:0): xpt_schedule
 2904:(pass0:ata2:0:1:0):    added periph to queue
 2905:cam_debug: xpt_schedule_dev
 2906:cam_debug: Inserting onto queue
 2907:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2908:cam_debug: xpt_run_dev_allocq
 2909:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2910:cam_debug: running device 0xc53bbc00
 2911:(pass0:ata2:0:1:0): xpt_setup_ccb
 2912:cam_debug: calling periph start
 2913:(pass0:ata2:0:1:0): xpt_action
 2914:(pass0:ata2:0:1:0): REQUEST SENSE. CDB: 3 0 0 0 12 0
 2915:cam_debug: xpt_schedule_dev
 2916:cam_debug: Inserting onto queue
 2917:cam_debug: xpt_run_dev_sendq
 2918:cam_debug: running device 0xc53bbc00
 2919:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2920:atapi_action: hcb@0xc5588780: 3 0 0 0 12 0
 2921:acd0: req=0xc5582d80 REQUEST_SENSE queued
 2922:acd0: req=0xc5582d80 REQUEST_SENSE starting
 2923:acd0: req=0xc5582d80 REQUEST_SENSE begin transaction
 2924:acd0: req=0xc5582d80 REQUEST_SENSE interrupt
 2925:acd0: req=0xc5582d80 REQUEST_SENSE end transaction
 2926:acd0: req=0xc5582d80 REQUEST_SENSE finish taskqueue_swi
 2927:acd0: req=0xc5582d80 REQUEST_SENSE completed entered
 2928:acd0: req=0xc5582d80 REQUEST_SENSE completed callback/wakeup
 2929:atapi_cb: hcb@0xc5588780 sense = 00: sk = 0)
 2930:acd0: cmd REQUEST_SENSE status 50 result 00 error 00
 2931:(pass0:ata2:0:1:0): xpt_done
 2932:(pass0:ata2:0:1:0): camisr
 2933:cam_debug: xpt_release_ccb
 
 
 > * put back the CD in the drive
 > * run the READ CD RECORDED CAPACITY command again:
 >   camcontrol cmd cd0 -v -t 20 -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4"
 >   (I assume it should work this time)
 
 Output prior to sending the TEST UNIT READY command:
 
 2812:cam_debug: xpt_release_ccb
 2813:(pass0:ata2:0:1:0): entering cdgetccb
 2814:(pass0:ata2:0:1:0): xpt_schedule
 2815:(pass0:ata2:0:1:0):    added periph to queue
 2816:cam_debug: xpt_schedule_dev
 2817:cam_debug: Inserting onto queue
 2818:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2819:cam_debug: xpt_run_dev_allocq
 2820:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2821:cam_debug: running device 0xc53bbc00
 2822:(pass0:ata2:0:1:0): xpt_setup_ccb
 2823:cam_debug: calling periph start
 2824:(pass0:ata2:0:1:0): xpt_setup_ccb
 2825:(pass0:ata2:0:1:0): xpt_action
 2826:(pass0:ata2:0:1:0): xpt_action
 2827:cam_debug: xpt_release_ccb
 2828:(pass0:ata2:0:1:0): xpt_setup_ccb
 2829:(pass0:ata2:0:1:0): xpt_action
 2830:(pass0:ata2:0:1:0): xpt_done
 2831:(pass0:ata2:0:1:0): xpt_setup_ccb
 2832:(pass0:ata2:0:1:0): xpt_action
 2833:(pass0:ata2:0:1:0): xpt_setup_ccb
 2834:(pass0:ata2:0:1:0): xpt_action
 2835:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2836:(pass0:ata2:0:1:0): xpt_done
 2837:(pass0:ata2:0:1:0): entering cdgetccb
 2838:(pass0:ata2:0:1:0): xpt_schedule
 2839:(pass0:ata2:0:1:0):    added periph to queue
 2840:cam_debug: xpt_schedule_dev
 2841:cam_debug: Inserting onto queue
 2842:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2843:cam_debug: xpt_run_dev_allocq
 2844:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2845:cam_debug: running device 0xc53bbc00
 2846:(pass0:ata2:0:1:0): xpt_setup_ccb
 2847:cam_debug: calling periph start
 2848:(pass0:ata2:0:1:0): xpt_action
 2849:(pass0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 2850:cam_debug: xpt_schedule_dev
 2851:cam_debug: Inserting onto queue
 2852:cam_debug: xpt_run_dev_sendq
 2853:cam_debug: running device 0xc53bbc00
 2854:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2855:atapi_action: hcb@0xc55885c0: 25 0 0 0 0 0 0 0 0 0
 2856:acd0: req=0xc5582b40 READ_CAPACITY queued
 2857:acd0: req=0xc5582b40 READ_CAPACITY starting
 2858:acd0: req=0xc5582b40 READ_CAPACITY begin transaction
 2859:acd0: req=0xc5582b40 READ_CAPACITY timeout
 2860:acd0: req=0xc5582b40 READ_CAPACITY finish taskqueue_swi
 2861:acd0: req=0xc5582b40 READ_CAPACITY completed entered
 2862:(noperiph:ata2:0:-1:-1): xpt_async
 2863:(noperiph:ata2:0:1:0): xpt_compile_path
 2864:(noperiph:ata2:0:1:0): xpt_release_path
 2865:(cd0:ata2:0:1:0): xpt_setup_ccb
 2866:(cd0:ata2:0:1:0): xpt_action
 2867:(cd0:ata2:0:1:0): xpt_setup_ccb
 2868:(cd0:ata2:0:1:0): xpt_action
 2869:(cd0:ata2:0:1:0): xpt_setup_ccb
 2870:(cd0:ata2:0:1:0): xpt_action
 2871:acd0: FAILURE - READ_CAPACITY timed out
 2872:acd0: req=0xc5582b40 READ_CAPACITY completed callback/wakeup
 2873:atapi_cb: hcb@0xc55885c0 sense = 00: sk = 0)
 2874:acd0: cmd READ_CAPACITY status 00 result 05 error 00
 2875:(pass0:ata2:0:1:0): xpt_done
 2876:(pass0:ata2:0:1:0): camisr
 2877:cam_debug: xpt_release_ccb
 2878:(pass0:ata2:0:1:0): entering cdgetccb
 2879:(pass0:ata2:0:1:0): xpt_schedule
 2880:(pass0:ata2:0:1:0):    added periph to queue
 2881:cam_debug: xpt_schedule_dev
 2882:cam_debug: Inserting onto queue
 2883:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2884:cam_debug: xpt_run_dev_allocq
 2885:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2886:cam_debug: running device 0xc53bbc00
 2887:(pass0:ata2:0:1:0): xpt_setup_ccb
 2888:cam_debug: calling periph start
 2889:(pass0:ata2:0:1:0): xpt_setup_ccb
 2890:(pass0:ata2:0:1:0): xpt_action
 2891:(pass0:ata2:0:1:0): xpt_action
 2892:cam_debug: xpt_release_ccb
 2893:(pass0:ata2:0:1:0): xpt_setup_ccb
 2894:(pass0:ata2:0:1:0): xpt_action
 2895:(pass0:ata2:0:1:0): xpt_done
 2896:(pass0:ata2:0:1:0): xpt_setup_ccb
 2897:(pass0:ata2:0:1:0): xpt_action
 2898:(pass0:ata2:0:1:0): xpt_setup_ccb
 2899:(pass0:ata2:0:1:0): xpt_action
 2900:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2901:(pass0:ata2:0:1:0): xpt_done
 2902:(pass0:ata2:0:1:0): entering cdgetccb
 2903:(pass0:ata2:0:1:0): xpt_schedule
 2904:(pass0:ata2:0:1:0):    added periph to queue
 2905:cam_debug: xpt_schedule_dev
 2906:cam_debug: Inserting onto queue
 2907:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2908:cam_debug: xpt_run_dev_allocq
 2909:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2910:cam_debug: running device 0xc53bbc00
 2911:(pass0:ata2:0:1:0): xpt_setup_ccb
 2912:cam_debug: calling periph start
 2913:(pass0:ata2:0:1:0): xpt_action
 2914:(pass0:ata2:0:1:0): REQUEST SENSE. CDB: 3 0 0 0 12 0
 2915:cam_debug: xpt_schedule_dev
 2916:cam_debug: Inserting onto queue
 2917:cam_debug: xpt_run_dev_sendq
 2918:cam_debug: running device 0xc53bbc00
 2919:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2920:atapi_action: hcb@0xc5588780: 3 0 0 0 12 0
 2921:acd0: req=0xc5582d80 REQUEST_SENSE queued
 2922:acd0: req=0xc5582d80 REQUEST_SENSE starting
 2923:acd0: req=0xc5582d80 REQUEST_SENSE begin transaction
 2924:acd0: req=0xc5582d80 REQUEST_SENSE interrupt
 2925:acd0: req=0xc5582d80 REQUEST_SENSE end transaction
 2926:acd0: req=0xc5582d80 REQUEST_SENSE finish taskqueue_swi
 2927:acd0: req=0xc5582d80 REQUEST_SENSE completed entered
 2928:acd0: req=0xc5582d80 REQUEST_SENSE completed callback/wakeup
 2929:atapi_cb: hcb@0xc5588780 sense = 00: sk = 0)
 2930:acd0: cmd REQUEST_SENSE status 50 result 00 error 00
 2931:(pass0:ata2:0:1:0): xpt_done
 2932:(pass0:ata2:0:1:0): camisr
 2933:cam_debug: xpt_release_ccb
 2934:(pass0:ata2:0:1:0): entering cdgetccb
 2935:(pass0:ata2:0:1:0): xpt_schedule
 2936:(pass0:ata2:0:1:0):    added periph to queue
 2937:cam_debug: xpt_schedule_dev
 2938:cam_debug: Inserting onto queue
 2939:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2940:cam_debug: xpt_run_dev_allocq
 2941:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2942:cam_debug: running device 0xc53bbc00
 2943:(pass0:ata2:0:1:0): xpt_setup_ccb
 2944:cam_debug: calling periph start
 2945:(pass0:ata2:0:1:0): xpt_setup_ccb
 2946:(pass0:ata2:0:1:0): xpt_action
 2947:(pass0:ata2:0:1:0): xpt_action
 2948:cam_debug: xpt_release_ccb
 2949:(pass0:ata2:0:1:0): xpt_setup_ccb
 2950:(pass0:ata2:0:1:0): xpt_action
 2951:(pass0:ata2:0:1:0): xpt_done
 2952:(pass0:ata2:0:1:0): xpt_setup_ccb
 2953:(pass0:ata2:0:1:0): xpt_action
 2954:(pass0:ata2:0:1:0): xpt_setup_ccb
 2955:(pass0:ata2:0:1:0): xpt_action
 2956:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2957:(pass0:ata2:0:1:0): xpt_done
 2958:(pass0:ata2:0:1:0): entering cdgetccb
 2959:(pass0:ata2:0:1:0): xpt_schedule
 2960:(pass0:ata2:0:1:0):    added periph to queue
 2961:cam_debug: xpt_schedule_dev
 2962:cam_debug: Inserting onto queue
 2963:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2964:cam_debug: xpt_run_dev_allocq
 2965:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2966:cam_debug: running device 0xc53bbc00
 2967:(pass0:ata2:0:1:0): xpt_setup_ccb
 2968:cam_debug: calling periph start
 2969:(pass0:ata2:0:1:0): xpt_action
 2970:(pass0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 2971:cam_debug: xpt_schedule_dev
 2972:cam_debug: Inserting onto queue
 2973:cam_debug: xpt_run_dev_sendq
 2974:cam_debug: running device 0xc53bbc00
 2975:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2976:atapi_action: hcb@0xc55897c0: 25 0 0 0 0 0 0 0 0 0
 2977:acd0: req=0xc55823c0 READ_CAPACITY queued
 2978:acd0: req=0xc55823c0 READ_CAPACITY starting
 2979:acd0: req=0xc55823c0 READ_CAPACITY begin transaction
 2980:acd0: req=0xc55823c0 READ_CAPACITY timeout
 2981:acd0: req=0xc55823c0 READ_CAPACITY finish taskqueue_swi
 2982:acd0: req=0xc55823c0 READ_CAPACITY completed entered
 2983:(noperiph:ata2:0:-1:-1): xpt_async
 2984:(noperiph:ata2:0:1:0): xpt_compile_path
 2985:(noperiph:ata2:0:1:0): xpt_release_path
 2986:(cd0:ata2:0:1:0): xpt_setup_ccb
 2987:(cd0:ata2:0:1:0): xpt_action
 2988:(cd0:ata2:0:1:0): xpt_setup_ccb
 2989:(cd0:ata2:0:1:0): xpt_action
 2990:(cd0:ata2:0:1:0): xpt_setup_ccb
 2991:(cd0:ata2:0:1:0): xpt_action
 2992:acd0: FAILURE - READ_CAPACITY timed out
 2993:acd0: req=0xc55823c0 READ_CAPACITY completed callback/wakeup
 2994:atapi_cb: hcb@0xc55897c0 sense = 00: sk = 0)
 2995:acd0: cmd READ_CAPACITY status 00 result 05 error 00
 2996:(pass0:ata2:0:1:0): xpt_done
 2997:(pass0:ata2:0:1:0): camisr
 2998:cam_debug: xpt_release_ccb
 
 And here's the output after a TEST UNIT READY command, then the read
 capacity command (it worked):
 
 2812:cam_debug: xpt_release_ccb
 2813:(pass0:ata2:0:1:0): entering cdgetccb
 2814:(pass0:ata2:0:1:0): xpt_schedule
 2815:(pass0:ata2:0:1:0):    added periph to queue
 2816:cam_debug: xpt_schedule_dev
 2817:cam_debug: Inserting onto queue
 2818:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2819:cam_debug: xpt_run_dev_allocq
 2820:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2821:cam_debug: running device 0xc53bbc00
 2822:(pass0:ata2:0:1:0): xpt_setup_ccb
 2823:cam_debug: calling periph start
 2824:(pass0:ata2:0:1:0): xpt_setup_ccb
 2825:(pass0:ata2:0:1:0): xpt_action
 2826:(pass0:ata2:0:1:0): xpt_action
 2827:cam_debug: xpt_release_ccb
 2828:(pass0:ata2:0:1:0): xpt_setup_ccb
 2829:(pass0:ata2:0:1:0): xpt_action
 2830:(pass0:ata2:0:1:0): xpt_done
 2831:(pass0:ata2:0:1:0): xpt_setup_ccb
 2832:(pass0:ata2:0:1:0): xpt_action
 2833:(pass0:ata2:0:1:0): xpt_setup_ccb
 2834:(pass0:ata2:0:1:0): xpt_action
 2835:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2836:(pass0:ata2:0:1:0): xpt_done
 2837:(pass0:ata2:0:1:0): entering cdgetccb
 2838:(pass0:ata2:0:1:0): xpt_schedule
 2839:(pass0:ata2:0:1:0):    added periph to queue
 2840:cam_debug: xpt_schedule_dev
 2841:cam_debug: Inserting onto queue
 2842:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2843:cam_debug: xpt_run_dev_allocq
 2844:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2845:cam_debug: running device 0xc53bbc00
 2846:(pass0:ata2:0:1:0): xpt_setup_ccb
 2847:cam_debug: calling periph start
 2848:(pass0:ata2:0:1:0): xpt_action
 2849:(pass0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 2850:cam_debug: xpt_schedule_dev
 2851:cam_debug: Inserting onto queue
 2852:cam_debug: xpt_run_dev_sendq
 2853:cam_debug: running device 0xc53bbc00
 2854:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2855:atapi_action: hcb@0xc55885c0: 25 0 0 0 0 0 0 0 0 0
 2856:acd0: req=0xc5582b40 READ_CAPACITY queued
 2857:acd0: req=0xc5582b40 READ_CAPACITY starting
 2858:acd0: req=0xc5582b40 READ_CAPACITY begin transaction
 2859:acd0: req=0xc5582b40 READ_CAPACITY timeout
 2860:acd0: req=0xc5582b40 READ_CAPACITY finish taskqueue_swi
 2861:acd0: req=0xc5582b40 READ_CAPACITY completed entered
 2862:(noperiph:ata2:0:-1:-1): xpt_async
 2863:(noperiph:ata2:0:1:0): xpt_compile_path
 2864:(noperiph:ata2:0:1:0): xpt_release_path
 2865:(cd0:ata2:0:1:0): xpt_setup_ccb
 2866:(cd0:ata2:0:1:0): xpt_action
 2867:(cd0:ata2:0:1:0): xpt_setup_ccb
 2868:(cd0:ata2:0:1:0): xpt_action
 2869:(cd0:ata2:0:1:0): xpt_setup_ccb
 2870:(cd0:ata2:0:1:0): xpt_action
 2871:acd0: FAILURE - READ_CAPACITY timed out
 2872:acd0: req=0xc5582b40 READ_CAPACITY completed callback/wakeup
 2873:atapi_cb: hcb@0xc55885c0 sense = 00: sk = 0)
 2874:acd0: cmd READ_CAPACITY status 00 result 05 error 00
 2875:(pass0:ata2:0:1:0): xpt_done
 2876:(pass0:ata2:0:1:0): camisr
 2877:cam_debug: xpt_release_ccb
 2878:(pass0:ata2:0:1:0): entering cdgetccb
 2879:(pass0:ata2:0:1:0): xpt_schedule
 2880:(pass0:ata2:0:1:0):    added periph to queue
 2881:cam_debug: xpt_schedule_dev
 2882:cam_debug: Inserting onto queue
 2883:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2884:cam_debug: xpt_run_dev_allocq
 2885:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2886:cam_debug: running device 0xc53bbc00
 2887:(pass0:ata2:0:1:0): xpt_setup_ccb
 2888:cam_debug: calling periph start
 2889:(pass0:ata2:0:1:0): xpt_setup_ccb
 2890:(pass0:ata2:0:1:0): xpt_action
 2891:(pass0:ata2:0:1:0): xpt_action
 2892:cam_debug: xpt_release_ccb
 2893:(pass0:ata2:0:1:0): xpt_setup_ccb
 2894:(pass0:ata2:0:1:0): xpt_action
 2895:(pass0:ata2:0:1:0): xpt_done
 2896:(pass0:ata2:0:1:0): xpt_setup_ccb
 2897:(pass0:ata2:0:1:0): xpt_action
 2898:(pass0:ata2:0:1:0): xpt_setup_ccb
 2899:(pass0:ata2:0:1:0): xpt_action
 2900:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2901:(pass0:ata2:0:1:0): xpt_done
 2902:(pass0:ata2:0:1:0): entering cdgetccb
 2903:(pass0:ata2:0:1:0): xpt_schedule
 2904:(pass0:ata2:0:1:0):    added periph to queue
 2905:cam_debug: xpt_schedule_dev
 2906:cam_debug: Inserting onto queue
 2907:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2908:cam_debug: xpt_run_dev_allocq
 2909:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2910:cam_debug: running device 0xc53bbc00
 2911:(pass0:ata2:0:1:0): xpt_setup_ccb
 2912:cam_debug: calling periph start
 2913:(pass0:ata2:0:1:0): xpt_action
 2914:(pass0:ata2:0:1:0): REQUEST SENSE. CDB: 3 0 0 0 12 0
 2915:cam_debug: xpt_schedule_dev
 2916:cam_debug: Inserting onto queue
 2917:cam_debug: xpt_run_dev_sendq
 2918:cam_debug: running device 0xc53bbc00
 2919:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2920:atapi_action: hcb@0xc5588780: 3 0 0 0 12 0
 2921:acd0: req=0xc5582d80 REQUEST_SENSE queued
 2922:acd0: req=0xc5582d80 REQUEST_SENSE starting
 2923:acd0: req=0xc5582d80 REQUEST_SENSE begin transaction
 2924:acd0: req=0xc5582d80 REQUEST_SENSE interrupt
 2925:acd0: req=0xc5582d80 REQUEST_SENSE end transaction
 2926:acd0: req=0xc5582d80 REQUEST_SENSE finish taskqueue_swi
 2927:acd0: req=0xc5582d80 REQUEST_SENSE completed entered
 2928:acd0: req=0xc5582d80 REQUEST_SENSE completed callback/wakeup
 2929:atapi_cb: hcb@0xc5588780 sense = 00: sk = 0)
 2930:acd0: cmd REQUEST_SENSE status 50 result 00 error 00
 2931:(pass0:ata2:0:1:0): xpt_done
 2932:(pass0:ata2:0:1:0): camisr
 2933:cam_debug: xpt_release_ccb
 2934:(pass0:ata2:0:1:0): entering cdgetccb
 2935:(pass0:ata2:0:1:0): xpt_schedule
 2936:(pass0:ata2:0:1:0):    added periph to queue
 2937:cam_debug: xpt_schedule_dev
 2938:cam_debug: Inserting onto queue
 2939:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2940:cam_debug: xpt_run_dev_allocq
 2941:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2942:cam_debug: running device 0xc53bbc00
 2943:(pass0:ata2:0:1:0): xpt_setup_ccb
 2944:cam_debug: calling periph start
 2945:(pass0:ata2:0:1:0): xpt_setup_ccb
 2946:(pass0:ata2:0:1:0): xpt_action
 2947:(pass0:ata2:0:1:0): xpt_action
 2948:cam_debug: xpt_release_ccb
 2949:(pass0:ata2:0:1:0): xpt_setup_ccb
 2950:(pass0:ata2:0:1:0): xpt_action
 2951:(pass0:ata2:0:1:0): xpt_done
 2952:(pass0:ata2:0:1:0): xpt_setup_ccb
 2953:(pass0:ata2:0:1:0): xpt_action
 2954:(pass0:ata2:0:1:0): xpt_setup_ccb
 2955:(pass0:ata2:0:1:0): xpt_action
 2956:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 2957:(pass0:ata2:0:1:0): xpt_done
 2958:(pass0:ata2:0:1:0): entering cdgetccb
 2959:(pass0:ata2:0:1:0): xpt_schedule
 2960:(pass0:ata2:0:1:0):    added periph to queue
 2961:cam_debug: xpt_schedule_dev
 2962:cam_debug: Inserting onto queue
 2963:(pass0:ata2:0:1:0):    calling xpt_run_devq
 2964:cam_debug: xpt_run_dev_allocq
 2965:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 2966:cam_debug: running device 0xc53bbc00
 2967:(pass0:ata2:0:1:0): xpt_setup_ccb
 2968:cam_debug: calling periph start
 2969:(pass0:ata2:0:1:0): xpt_action
 2970:(pass0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 2971:cam_debug: xpt_schedule_dev
 2972:cam_debug: Inserting onto queue
 2973:cam_debug: xpt_run_dev_sendq
 2974:cam_debug: running device 0xc53bbc00
 2975:(pass0:ata2:0:1:0): XPT_SCSI_IO
 2976:atapi_action: hcb@0xc55897c0: 25 0 0 0 0 0 0 0 0 0
 2977:acd0: req=0xc55823c0 READ_CAPACITY queued
 2978:acd0: req=0xc55823c0 READ_CAPACITY starting
 2979:acd0: req=0xc55823c0 READ_CAPACITY begin transaction
 2980:acd0: req=0xc55823c0 READ_CAPACITY timeout
 2981:acd0: req=0xc55823c0 READ_CAPACITY finish taskqueue_swi
 2982:acd0: req=0xc55823c0 READ_CAPACITY completed entered
 2983:(noperiph:ata2:0:-1:-1): xpt_async
 2984:(noperiph:ata2:0:1:0): xpt_compile_path
 2985:(noperiph:ata2:0:1:0): xpt_release_path
 2986:(cd0:ata2:0:1:0): xpt_setup_ccb
 2987:(cd0:ata2:0:1:0): xpt_action
 2988:(cd0:ata2:0:1:0): xpt_setup_ccb
 2989:(cd0:ata2:0:1:0): xpt_action
 2990:(cd0:ata2:0:1:0): xpt_setup_ccb
 2991:(cd0:ata2:0:1:0): xpt_action
 2992:acd0: FAILURE - READ_CAPACITY timed out
 2993:acd0: req=0xc55823c0 READ_CAPACITY completed callback/wakeup
 2994:atapi_cb: hcb@0xc55897c0 sense = 00: sk = 0)
 2995:acd0: cmd READ_CAPACITY status 00 result 05 error 00
 2996:(pass0:ata2:0:1:0): xpt_done
 2997:(pass0:ata2:0:1:0): camisr
 2998:cam_debug: xpt_release_ccb
 2999:(pass0:ata2:0:1:0): entering cdgetccb
 3000:(pass0:ata2:0:1:0): xpt_schedule
 3001:(pass0:ata2:0:1:0):    added periph to queue
 3002:cam_debug: xpt_schedule_dev
 3003:cam_debug: Inserting onto queue
 3004:(pass0:ata2:0:1:0):    calling xpt_run_devq
 3005:cam_debug: xpt_run_dev_allocq
 3006:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 3007:cam_debug: running device 0xc53bbc00
 3008:(pass0:ata2:0:1:0): xpt_setup_ccb
 3009:cam_debug: calling periph start
 3010:(pass0:ata2:0:1:0): xpt_setup_ccb
 3011:(pass0:ata2:0:1:0): xpt_action
 3012:(pass0:ata2:0:1:0): xpt_action
 3013:cam_debug: xpt_release_ccb
 3014:(pass0:ata2:0:1:0): xpt_setup_ccb
 3015:(pass0:ata2:0:1:0): xpt_action
 3016:(pass0:ata2:0:1:0): xpt_done
 3017:(pass0:ata2:0:1:0): xpt_setup_ccb
 3018:(pass0:ata2:0:1:0): xpt_action
 3019:(pass0:ata2:0:1:0): xpt_setup_ccb
 3020:(pass0:ata2:0:1:0): xpt_action
 3021:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 3022:(pass0:ata2:0:1:0): xpt_done
 3023:(pass0:ata2:0:1:0): entering cdgetccb
 3024:(pass0:ata2:0:1:0): xpt_schedule
 3025:(pass0:ata2:0:1:0):    added periph to queue
 3026:cam_debug: xpt_schedule_dev
 3027:cam_debug: Inserting onto queue
 3028:(pass0:ata2:0:1:0):    calling xpt_run_devq
 3029:cam_debug: xpt_run_dev_allocq
 3030:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 3031:cam_debug: running device 0xc53bbc00
 3032:(pass0:ata2:0:1:0): xpt_setup_ccb
 3033:cam_debug: calling periph start
 3034:(pass0:ata2:0:1:0): xpt_action
 3035:(pass0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 3036:cam_debug: xpt_schedule_dev
 3037:cam_debug: Inserting onto queue
 3038:cam_debug: xpt_run_dev_sendq
 3039:cam_debug: running device 0xc53bbc00
 3040:(pass0:ata2:0:1:0): XPT_SCSI_IO
 3041:atapi_action: hcb@0xc55b8900: 0 0 0 0 0 0
 3042:acd0: req=0xc5556780 TEST_UNIT_READY queued
 3043:acd0: req=0xc5556780 TEST_UNIT_READY starting
 3044:acd0: req=0xc5556780 TEST_UNIT_READY begin transaction
 3045:acd0: req=0xc5556780 TEST_UNIT_READY interrupt
 3046:acd0: req=0xc5556780 TEST_UNIT_READY end transaction
 3047:acd0: req=0xc5556780 TEST_UNIT_READY finish taskqueue_swi
 3048:acd0: req=0xc5556780 TEST_UNIT_READY completed entered
 3049:acd0: req=0xc5556780 TEST_UNIT_READY completed callback/wakeup
 3050:atapi_cb: hcb@0xc55b8900 sense = 00: sk = 0)
 3051:acd0: cmd TEST_UNIT_READY status 50 result 00 error 00
 3052:(pass0:ata2:0:1:0): xpt_done
 3053:(pass0:ata2:0:1:0): camisr
 3054:cam_debug: xpt_release_ccb
 3055:(pass0:ata2:0:1:0): entering cdgetccb
 3056:(pass0:ata2:0:1:0): xpt_schedule
 3057:(pass0:ata2:0:1:0):    added periph to queue
 3058:cam_debug: xpt_schedule_dev
 3059:cam_debug: Inserting onto queue
 3060:(pass0:ata2:0:1:0):    calling xpt_run_devq
 3061:cam_debug: xpt_run_dev_allocq
 3062:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 3063:cam_debug: running device 0xc53bbc00
 3064:(pass0:ata2:0:1:0): xpt_setup_ccb
 3065:cam_debug: calling periph start
 3066:(pass0:ata2:0:1:0): xpt_setup_ccb
 3067:(pass0:ata2:0:1:0): xpt_action
 3068:(pass0:ata2:0:1:0): xpt_action
 3069:cam_debug: xpt_release_ccb
 3070:(pass0:ata2:0:1:0): xpt_setup_ccb
 3071:(pass0:ata2:0:1:0): xpt_action
 3072:(pass0:ata2:0:1:0): xpt_done
 3073:(pass0:ata2:0:1:0): xpt_setup_ccb
 3074:(pass0:ata2:0:1:0): xpt_action
 3075:(pass0:ata2:0:1:0): xpt_setup_ccb
 3076:(pass0:ata2:0:1:0): xpt_action
 3077:(pass0:ata2:0:1:0): GET_TRAN_SETTINGS
 3078:(pass0:ata2:0:1:0): xpt_done
 3079:(pass0:ata2:0:1:0): entering cdgetccb
 3080:(pass0:ata2:0:1:0): xpt_schedule
 3081:(pass0:ata2:0:1:0):    added periph to queue
 3082:cam_debug: xpt_schedule_dev
 3083:cam_debug: Inserting onto queue
 3084:(pass0:ata2:0:1:0):    calling xpt_run_devq
 3085:cam_debug: xpt_run_dev_allocq
 3086:cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active 
 == 0
 3087:cam_debug: running device 0xc53bbc00
 3088:(pass0:ata2:0:1:0): xpt_setup_ccb
 3089:cam_debug: calling periph start
 3090:(pass0:ata2:0:1:0): xpt_action
 3091:(pass0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 3092:cam_debug: xpt_schedule_dev
 3093:cam_debug: Inserting onto queue
 3094:cam_debug: xpt_run_dev_sendq
 3095:cam_debug: running device 0xc53bbc00
 3096:(pass0:ata2:0:1:0): XPT_SCSI_IO
 3097:atapi_action: hcb@0xc55b8700: 25 0 0 0 0 0 0 0 0 0
 3098:acd0: req=0xc5556600 READ_CAPACITY queued
 3099:acd0: req=0xc5556600 READ_CAPACITY starting
 3100:acd0: req=0xc5556600 READ_CAPACITY begin transaction
 3101:acd0: req=0xc5556600 READ_CAPACITY interrupt
 3102:acd0: req=0xc5556600 READ_CAPACITY end transaction
 3103:acd0: req=0xc5556600 READ_CAPACITY finish taskqueue_swi
 3104:acd0: req=0xc5556600 READ_CAPACITY completed entered
 3105:acd0: req=0xc5556600 READ_CAPACITY completed callback/wakeup
 3106:atapi_cb: hcb@0xc55b8700 sense = 00: sk = 0)
 3107:acd0: cmd READ_CAPACITY status 50 result 00 error 00
 3108:(pass0:ata2:0:1:0): xpt_done
 3109:(pass0:ata2:0:1:0): camisr
 3110:cam_debug: xpt_release_ccb
 
 Thanks!
 Josh
 
 ----- End forwarded message -----
 
 Thomas.
 

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 13 Mar 2007 14:00:51 -0700

 > It's now clear that we had missing code to handle ATAPI command timeouts
 > at the ATAPI/CAM level, and I've now committed the required fixes there.
 
 I think there have been a total of 11 patches in the process of
 debugging this. I saw that one of the patches was MFC'd (related to
 CAMDEBUG), which patch(es) actually fixed the ATAPI command timeout
 stuff? In other words, which patches can I play with to back patch my
 6.2-RELEASE tree? Or should I wait until they're MFC'd to do that?
 
 > Additionally, it's clear from the latest traces you provided that your
 > drive seems to has a strange behaviour which we are not dealing well at
 > the SCSI level, so I'll take this second issue with the maintainers of
 > the SCSI code. In the meantime, as we discussed, a work-around is to
 > ensure that you have a valid CD in the drive at boot time.
 
 What's odd is that it does this for numerous drives. I tried a SATA
 drive, another PATA drive and even this drive on a PATA<->SATA
 converter. And other folks are having the same problem with this
 particular chipset (Intel P965). Is there something that could be
 strange about the chipset or FreeBSD's interaction with it that would
 cause this? Unless this particular trait is shared with all those
 other devices, it seems like an issue with the chipset. Especially
 since I tried the SATA DVD burner on both the Intel ICH8 controller
 and the JMicron controller.
 
 I suppose it wouldn't hurt to try another drive again to see if it can
 boot and use atapicam without a CD in the drive. Worst case scenario I
 just return it, if I have the same symptoms. I'll try that tonight if
 I can and report back.
 
 Thanks again for your help!
 Josh

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 13 Mar 2007 14:00:51 -0700

 > It's now clear that we had missing code to handle ATAPI command timeouts
 > at the ATAPI/CAM level, and I've now committed the required fixes there.
 
 I think there have been a total of 11 patches in the process of
 debugging this. I saw that one of the patches was MFC'd (related to
 CAMDEBUG), which patch(es) actually fixed the ATAPI command timeout
 stuff? In other words, which patches can I play with to back patch my
 6.2-RELEASE tree? Or should I wait until they're MFC'd to do that?
 
 > Additionally, it's clear from the latest traces you provided that your
 > drive seems to has a strange behaviour which we are not dealing well at
 > the SCSI level, so I'll take this second issue with the maintainers of
 > the SCSI code. In the meantime, as we discussed, a work-around is to
 > ensure that you have a valid CD in the drive at boot time.
 
 What's odd is that it does this for numerous drives. I tried a SATA
 drive, another PATA drive and even this drive on a PATA<->SATA
 converter. And other folks are having the same problem with this
 particular chipset (Intel P965). Is there something that could be
 strange about the chipset or FreeBSD's interaction with it that would
 cause this? Unless this particular trait is shared with all those
 other devices, it seems like an issue with the chipset. Especially
 since I tried the SATA DVD burner on both the Intel ICH8 controller
 and the JMicron controller.
 
 I suppose it wouldn't hurt to try another drive again to see if it can
 boot and use atapicam without a CD in the drive. Worst case scenario I
 just return it, if I have the same symptoms. I'll try that tonight if
 I can and report back.
 
 Thanks again for your help!
 Josh

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 13 Mar 2007 22:11:09 +0100

 * Josh Carroll, 2007-03-13 :
 
 > I think there have been a total of 11 patches in the process of
 > debugging this. I saw that one of the patches was MFC'd (related to
 > CAMDEBUG), which patch(es) actually fixed the ATAPI command timeout
 > stuff? In other words, which patches can I play with to back patch my
 > 6.2-RELEASE tree? Or should I wait until they're MFC'd to do that?
 
 The patch that fixes the timeout problem is atapi-cam.c rev. 1.49.
 You might also need the "no systematic rescan" patch (rev. 1.48).
 
 > >Additionally, it's clear from the latest traces you provided that your
 > >drive seems to has a strange behaviour which we are not dealing well at
 > >the SCSI level, so I'll take this second issue with the maintainers of
 > >the SCSI code. In the meantime, as we discussed, a work-around is to
 > >ensure that you have a valid CD in the drive at boot time.
 > 
 > What's odd is that it does this for numerous drives. I tried a SATA
 > drive, another PATA drive and even this drive on a PATA<->SATA
 > converter. And other folks are having the same problem with this
 > particular chipset (Intel P965). Is there something that could be
 > strange about the chipset or FreeBSD's interaction with it that would
 > cause this?
 
 Unclear to me how this could be the case, but if it's the only common
 point across all configurations that exhibit this particular problem,
 then certainly we shouldn't rule out a possible relationship.
 
 Thomas.
 

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: Scott Long <scottl@samsco.org>
Cc: josh.carroll@gmail.com, freebsd-scsi@freebsd.org,
	bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Tue, 13 Mar 2007 23:01:29 +0100

 * Scott Long, 2007-03-13 :
 
 > >I'm confused.  CAM actually sends a READ_CAPACITY command to the drive, 
 > >not a READ_CD_CAPACITY command.  Are you saying that issuing both a
 > >READ_CAPACITY and a READ_CD_CAPACITY to an empty Sony drive results in
 > >the same bad behavior?
 
 Er, now *I* am confused. As I understand it, READ CAPACITY and READ CD
 RECORDED CAPACITY both refer to the same opcode (0x25), READ CAPACITY
 being the SBC terminology, while READ CD RECORDED CAPACITY is the MMC
 terminology.
 
 > Actually, I take that back, adding a TUR phase isn't as hard as I
 > thought.  I'd like to know if doing a READ_CD_CAPACITY makes a
 > difference, though.
 
 Josh can probably test some commands and report the results, if you send
 him some camcontrol cmd's to experiment with.
 
 Thomas.
 

From: Scott Long <scottl@samsco.org>
To: Thomas Quinot <thomas@freebsd.org>
Cc: josh.carroll@gmail.com, freebsd-scsi@freebsd.org, bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc
 is in
Date: Tue, 13 Mar 2007 15:45:33 -0600

 Scott Long wrote:
 > Thomas Quinot wrote:
 >> SCSI guys,
 >>
 >> kern/103602 is a long-standing issue with a Sony DVD drive that has a
 >> strange behaviour (failing to attach and causing an interrupt storm).
 >>
 >> One aspect of this PR was that an ATAPI command timing out was not
 >> correctly reported by the ATAPI/CAM SIM to the XPT layer. This has been
 >> fixed in atapi-cam.c rev. 1.49.
 >>
 >> Now we have a second issue: if there is no disc in the drive, it
 >> times out a READ CD CAPACITY (and any subsequent retry, even if a disc
 >> is then inserted in the drive), instead of returning an appropriate
 >> error (the expected behaviour would be a NOT READY sense key and a
 >> MEDIUM NOT PRESENT ASC). A TEST UNIT READY command seems to behave
 >> properly (reporting the appropriate error if no disc is present,
 >> reporting no error and resetting the drive to a proper state if
 >> one is).
 >>
 >> The timeout causes the unit to fail to attach at boot time if no disc is
 >> present. How should we deal with this situation? One possible option is
 >> to make sure that we first issue a TEST UNIT READY at attach time prior
 >> to issuing READ CD CAPACITY, and not issue the second command if the TUR
 >> returned a NOT READY status.
 >>
 >> The traces below show how the drive behaves in response to TEST UNIT
 >> READY and READ CD CAPACITY in various cases. Complete boot messages are
 >> available in the PR history.
 >>
 >> Thomas.
 >>
 > 
 > I'm confused.  CAM actually sends a READ_CAPACITY command to the drive, 
 > not a READ_CD_CAPACITY command.  Are you saying that issuing both a
 > READ_CAPACITY and a READ_CD_CAPACITY to an empty Sony drive results in
 > the same bad behavior?
 > 
 > Re-arranging the probe process to issue a TUR first is tricky.  I'd 
 > rather not do it if possible.
 > 
 
 Actually, I take that back, adding a TUR phase isn't as hard as I
 thought.  I'd like to know if doing a READ_CD_CAPACITY makes a
 difference, though.
 
 Scott

From: Scott Long <scottl@samsco.org>
To: Thomas Quinot <thomas@freebsd.org>
Cc: freebsd-scsi@freebsd.org, josh.carroll@gmail.com, bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc
 is in
Date: Tue, 13 Mar 2007 15:39:27 -0600

 Thomas Quinot wrote:
 > SCSI guys,
 > 
 > kern/103602 is a long-standing issue with a Sony DVD drive that has a
 > strange behaviour (failing to attach and causing an interrupt storm).
 > 
 > One aspect of this PR was that an ATAPI command timing out was not
 > correctly reported by the ATAPI/CAM SIM to the XPT layer. This has been
 > fixed in atapi-cam.c rev. 1.49.
 > 
 > Now we have a second issue: if there is no disc in the drive, it
 > times out a READ CD CAPACITY (and any subsequent retry, even if a disc
 > is then inserted in the drive), instead of returning an appropriate
 > error (the expected behaviour would be a NOT READY sense key and a
 > MEDIUM NOT PRESENT ASC). A TEST UNIT READY command seems to behave
 > properly (reporting the appropriate error if no disc is present,
 > reporting no error and resetting the drive to a proper state if
 > one is).
 > 
 > The timeout causes the unit to fail to attach at boot time if no disc is
 > present. How should we deal with this situation? One possible option is
 > to make sure that we first issue a TEST UNIT READY at attach time prior
 > to issuing READ CD CAPACITY, and not issue the second command if the TUR
 > returned a NOT READY status.
 > 
 > The traces below show how the drive behaves in response to TEST UNIT
 > READY and READ CD CAPACITY in various cases. Complete boot messages are
 > available in the PR history.
 > 
 > Thomas.
 > 
 
 I'm confused.  CAM actually sends a READ_CAPACITY command to the drive, 
 not a READ_CD_CAPACITY command.  Are you saying that issuing both a
 READ_CAPACITY and a READ_CD_CAPACITY to an empty Sony drive results in
 the same bad behavior?
 
 Re-arranging the probe process to issue a TUR first is tricky.  I'd 
 rather not do it if possible.
 
 Scott

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "Scott Long" <scottl@samsco.org>, freebsd-scsi@freebsd.org, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Tue, 13 Mar 2007 21:06:45 -0700

 Hi Scott/Thomas,
 
 I bought a Pioneer DVR-112D IDE DVD-RW drive to see if the timeouts
 were specific to my Sony DRU-800A, but I had no luck with it, either.
 In fact, it wouldn't even work with a disc in the drive as the Sony
 does. It times out on INQUIRY (dmesg attached below). I'm hoping this
 is a valid data point for this issue - it definitely seems to point
 towards something that's not drive dependent. Although I was hoping
 it'd act the same way as the Sony.
 
 Anyway, below is the dmesg from a boot without a disc in the drive
 (the same INQUIRY failures happen with a disc in the drive).
 
 Thanks,
 Josh
 
 
 Copyright (c) 1992-2007 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.0-CURRENT #19: Fri Mar  9 07:57:24 PST 2007
     root@pflog.net:/usr/obj/usr/src/sys/DEBLIN
 WARNING: WITNESS option enabled, expect reduced performance.
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Core(TM)2 CPU         X6900  @ 3.20GHz (3200.01-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,XTPR,<b15>>
   AMD Features=0x20100000<NX,LM>
   AMD Features2=0x1<LAHF>
   Cores per package: 2
 real memory  = 2147024896 (2047 MB)
 avail memory = 2090582016 (1993 MB)
 ACPI APIC Table: <MSTEST OEMAPIC >
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 ioapic0 <Version 2.0> irqs 0-23 on motherboard
 kbd1 at kbdmux0
 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 acpi0: <KOZIRO FRONTIER> on motherboard
 acpi0: [ITHREAD]
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi_bus_number: can't get _ADR
 acpi0: Power Button (fixed)
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
 cpu0: <ACPI CPU> on acpi0
 cpu1: <ACPI CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
 pci1: <ACPI PCI bus> on pcib1
 vgapci0: <VGA-compatible display> mem
 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff irq
 16 at device 0.0 on pci1
 uhci0: <UHCI (generic) USB controller> port 0xe000-0xe01f irq 16 at
 device 26.0 on pci0
 uhci0: [GIANT-LOCKED]
 uhci0: [ITHREAD]
 usb0: <UHCI (generic) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
 uhub0: 2 ports with 2 removable, self powered
 uhci1: <UHCI (generic) USB controller> port 0xe080-0xe09f irq 17 at
 device 26.1 on pci0
 uhci1: [GIANT-LOCKED]
 uhci1: [ITHREAD]
 usb1: <UHCI (generic) USB controller> on uhci1
 usb1: USB revision 1.0
 uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
 uhub1: 2 ports with 2 removable, self powered
 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfebff400-0xfebff7ff
 irq 18 at device 26.7 on pci0
 ehci0: [GIANT-LOCKED]
 ehci0: [ITHREAD]
 usb2: EHCI version 1.0
 usb2: companion controllers, 2 ports each: usb0 usb1
 usb2: <EHCI (generic) USB 2.0 controller> on ehci0
 usb2: USB revision 2.0
 uhub2: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
 uhub2: 4 ports with 4 removable, self powered
 pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
 pci3: <ACPI PCI bus> on pcib2
 pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
 pci2: <ACPI PCI bus> on pcib3
 atapci0: <JMicron JMB363 SATA300 controller> port
 0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb40f
 mem 0xfe8fe000-0xfe8fffff irq 16 at device 0.0 on pci2
 atapci0: [ITHREAD]
 atapci0: AHCI Version 01.00 controller with 2 ports detected
 ata2: <ATA channel 0> on atapci0
 ata2: [ITHREAD]
 ata3: <ATA channel 1> on atapci0
 ata3: [ITHREAD]
 ata4: <ATA channel 2> on atapci0
 ata4: [ITHREAD]
 uhci2: <UHCI (generic) USB controller> port 0xd800-0xd81f irq 23 at
 device 29.0 on pci0
 uhci2: [GIANT-LOCKED]
 uhci2: [ITHREAD]
 usb3: <UHCI (generic) USB controller> on uhci2
 usb3: USB revision 1.0
 uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
 uhub3: 2 ports with 2 removable, self powered
 uhci3: <UHCI (generic) USB controller> port 0xd880-0xd89f irq 19 at
 device 29.1 on pci0
 uhci3: [GIANT-LOCKED]
 uhci3: [ITHREAD]
 usb4: <UHCI (generic) USB controller> on uhci3
 usb4: USB revision 1.0
 uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
 uhub4: 2 ports with 2 removable, self powered
 uhci4: <UHCI (generic) USB controller> port 0xdc00-0xdc1f irq 18 at
 device 29.2 on pci0
 uhci4: [GIANT-LOCKED]
 uhci4: [ITHREAD]
 usb5: <UHCI (generic) USB controller> on uhci4
 usb5: USB revision 1.0
 uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
 uhub5: 2 ports with 2 removable, self powered
 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfebff000-0xfebff3ff
 irq 23 at device 29.7 on pci0
 ehci1: [GIANT-LOCKED]
 ehci1: [ITHREAD]
 usb6: EHCI version 1.0
 usb6: companion controllers, 2 ports each: usb3 usb4 usb5
 usb6: <EHCI (generic) USB 2.0 controller> on ehci1
 usb6: USB revision 2.0
 uhub6: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb6
 uhub6: 6 ports with 6 removable, self powered
 pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pci4: <ACPI PCI bus> on pcib4
 em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xcc00-0xcc3f mem 0xfeae0000-0xfeafffff,0xfeac0000-0xfeadffff irq 22
 at device 1.0 on pci4
 em0: Ethernet address: 00:0e:0c:6c:b9:16
 em0: [FILTER]
 em1: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
 0xc880-0xc8bf mem 0xfea80000-0xfea9ffff,0xfea60000-0xfea7ffff irq 23
 at device 2.0 on pci4
 em1: Ethernet address: 00:0e:0c:6c:b9:0a
 em1: [FILTER]
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci1: <Intel ICH8 SATA300 controller> port
 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe41f
 mem 0xfebff800-0xfebfffff irq 19 at device 31.2 on pci0
 atapci1: [ITHREAD]
 atapci1: AHCI Version 01.10 controller with 4 ports detected
 ata5: <ATA channel 0> on atapci1
 ata5: [ITHREAD]
 ata6: <ATA channel 1> on atapci1
 ata6: [ITHREAD]
 ata7: <ATA channel 2> on atapci1
 ata7: port not implemented
 ata7: [ITHREAD]
 ata8: <ATA channel 3> on atapci1
 ata8: port not implemented
 ata8: [ITHREAD]
 ata9: <ATA channel 4> on atapci1
 ata9: [ITHREAD]
 ata10: <ATA channel 5> on atapci1
 ata10: [ITHREAD]
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 acpi_button0: <Power Button> on acpi0
 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 sio0: [FILTER]
 fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq
 2 on acpi0
 fdc0: [FILTER]
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
 Timecounter "HPET" frequency 14318180 Hz quality 2000
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 atkbd0: [ITHREAD]
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: [GIANT-LOCKED]
 psm0: [ITHREAD]
 psm0: model IntelliMouse, device ID 3
 pmtimer0 on isa0
 orm0: <ISA Option ROMs> at iomem 0xd2000-0xd2fff,0xd3000-0xd3fff pnpid
 ORM0000 on isa0
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 ppbus0: <Parallel port bus> on ppc0
 plip0: <PLIP network interface> on ppbus0
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 ppc0: [GIANT-LOCKED]
 ppc0: [ITHREAD]
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 ugen0: <APC Back-UPS ES 500 FW:801.e5.D USB FW:e5, class 0/0, rev
 1.10/1.06, addr 2> on uhub3
 Timecounters tick every 1.000 msec
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:xpt0:0:-1:-1): xpt_compile_path
 (noperiph:xpt0:0:-1:-1): xpt_setup_ccb
 (noperiph:xpt0:0:-1:-1): xpt_action
 (noperiph:xpt0:0:-1:-1): xpt_free_path
 (noperiph:xpt0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (noperiph:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:-1:-1): xpt_async
 (noperiph:ata0:0:-1:-1): xpt_release_path
 (noperiph:ata0:0:-1:-1): xpt_compile_path
 (noperiph:ata0:0:-1:-1): Registered SIM for ata0
 (noperiph:ata0:0:-1:-1): xpt_setup_ccb
 (noperiph:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_compile_path
 (xpt0:ata0:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_scan_bus
 (xpt0:ata0:0:-1:-1): xpt_setup_ccb
 (xpt0:ata0:0:-1:-1): xpt_action
 (xpt0:ata0:0:-1:-1): xpt_done
 (noperiph:ata0:0:0:0): xpt_compile_path
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_setup_ccb
 (noperiph:ata0:0:0:0): xpt_action
 (noperiph:ata0:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:0:0): xpt_compile_path
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_scan_lun
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_done
 (xpt0:ata0:0:0:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_compile_path
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_setup_ccb
 (noperiph:ata0:0:1:0): xpt_action
 (noperiph:ata0:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata0:0:1:0): xpt_done
 (noperiph:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:1:0): xpt_compile_path
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_scan_lun
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_done
 (xpt0:ata0:0:1:0): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (noperiph:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:-1:-1): xpt_async
 (noperiph:ata1:0:-1:-1): xpt_release_path
 (noperiph:ata1:0:-1:-1): xpt_compile_path
 (noperiph:ata1:0:-1:-1): Registered SIM for ata1
 (noperiph:ata1:0:-1:-1): xpt_setup_ccb
 (noperiph:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_compile_path
 (xpt0:ata1:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_scan_bus
 (xpt0:ata1:0:-1:-1): xpt_setup_ccb
 (xpt0:ata1:0:-1:-1): xpt_action
 (xpt0:ata1:0:-1:-1): xpt_done
 (noperiph:ata1:0:0:0): xpt_compile_path
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_setup_ccb
 (noperiph:ata1:0:0:0): xpt_action
 (noperiph:ata1:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:0:0): xpt_compile_path
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_scan_lun
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_done
 (xpt0:ata1:0:0:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_compile_path
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_setup_ccb
 (noperiph:ata1:0:1:0): xpt_action
 (noperiph:ata1:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata1:0:1:0): xpt_done
 (noperiph:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:1:0): xpt_compile_path
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_scan_lun
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata1:0:1:0): xpt_done
 (xpt0:ata0:0:0:0): camisr
 (xpt0:ata0:0:0:0): xpt_scan_bus
 (xpt0:ata0:0:0:0): xpt_setup_ccb
 (xpt0:ata0:0:0:0): xpt_action
 (xpt0:ata0:0:0:0): xpt_free_path
 (xpt0:ata0:0:0:0): xpt_release_path
 (xpt0:ata0:0:1:0): camisr
 (xpt0:ata0:0:1:0): xpt_scan_bus
 (xpt0:ata0:0:1:0): xpt_setup_ccb
 (xpt0:ata0:0:1:0): xpt_action
 (xpt0:ata0:0:1:0): xpt_free_path
 (xpt0:ata0:0:1:0): xpt_release_path
 (xpt0:ata0:0:-1:-1): xpt_done
 (xpt0:ata1:0:0:0): camisr
 (xpt0:ata1:0:0:0): xpt_scan_bus
 (xpt0:ata1:0:0:0): xpt_setup_ccb
 (xpt0:ata1:0:0:0): xpt_action
 (xpt0:ata1:0:0:0): xpt_free_path
 (xpt0:ata1:0:0:0): xpt_release_path
 (xpt0:ata1:0:1:0): camisr
 (xpt0:ata1:0:1:0): xpt_scan_bus
 (xpt0:ata1:0:1:0): xpt_setup_ccb
 (xpt0:ata1:0:1:0): xpt_action
 (xpt0:ata1:0:1:0): xpt_free_path
 (xpt0:ata1:0:1:0): xpt_release_path
 (xpt0:ata1:0:-1:-1): xpt_done
 (xpt0:ata0:0:-1:-1): camisr
 (xpt0:ata0:0:-1:-1): Rescan succeeded
 (xpt0:ata0:0:-1:-1): xpt_free_path
 (xpt0:ata0:0:-1:-1): xpt_release_path
 (xpt0:ata1:0:-1:-1): camisr
 (xpt0:ata1:0:-1:-1): Rescan succeeded
 (xpt0:ata1:0:-1:-1): xpt_free_path
 (xpt0:ata1:0:-1:-1): xpt_release_path
 ad8: 152627MB <WDC WD1600JB-00EVA0 15.05R15> at ata4-master UDMA100
 acd0: DVDR <PIONEER DVD-RW DVR-112D/1.06> at ata4-slave UDMA66
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (noperiph:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:-1:-1): xpt_release_path
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): Registered SIM for ata2
 (noperiph:ata2:0:-1:-1): xpt_setup_ccb
 (noperiph:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_compile_path
 (xpt0:ata2:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_scan_bus
 (xpt0:ata2:0:-1:-1): xpt_setup_ccb
 (xpt0:ata2:0:-1:-1): xpt_action
 (xpt0:ata2:0:-1:-1): xpt_done
 (noperiph:ata2:0:0:0): xpt_compile_path
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_setup_ccb
 (noperiph:ata2:0:0:0): xpt_action
 (noperiph:ata2:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:0:0): xpt_release_path
 (xpt0:ata2:0:0:0): xpt_compile_path
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_scan_lun
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_done
 (xpt0:ata2:0:0:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_setup_ccb
 (noperiph:ata2:0:1:0): xpt_action
 (noperiph:ata2:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata2:0:1:0): xpt_done
 (noperiph:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): xpt_compile_path
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_scan_lun
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_compile_path
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53b6c00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 24 0
 (xpt0:ata2:0:0:0): camisr
 (xpt0:ata2:0:0:0): xpt_scan_bus
 (xpt0:ata2:0:0:0): xpt_setup_ccb
 (xpt0:ata2:0:0:0): xpt_action
 (xpt0:ata2:0:0:0): xpt_free_path
 (xpt0:ata2:0:0:0): xpt_release_path
 ad10: 381553MB <Seagate ST3400633AS 3.AAH> at ata5-master SATA150
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (noperiph:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:-1:-1): xpt_async
 (noperiph:ata3:0:-1:-1): xpt_release_path
 (noperiph:ata3:0:-1:-1): xpt_compile_path
 (noperiph:ata3:0:-1:-1): Registered SIM for ata3
 (noperiph:ata3:0:-1:-1): xpt_setup_ccb
 (noperiph:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_compile_path
 (xpt0:ata3:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_scan_bus
 (xpt0:ata3:0:-1:-1): xpt_setup_ccb
 (xpt0:ata3:0:-1:-1): xpt_action
 (xpt0:ata3:0:-1:-1): xpt_done
 (noperiph:ata3:0:0:0): xpt_compile_path
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_setup_ccb
 (noperiph:ata3:0:0:0): xpt_action
 (noperiph:ata3:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:0:0): xpt_compile_path
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_scan_lun
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_done
 (xpt0:ata3:0:0:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_compile_path
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_setup_ccb
 (noperiph:ata3:0:1:0): xpt_action
 (noperiph:ata3:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata3:0:1:0): xpt_done
 (noperiph:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:1:0): xpt_compile_path
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_scan_lun
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:1:0): xpt_done
 (xpt0:ata3:0:0:0): camisr
 (xpt0:ata3:0:0:0): xpt_scan_bus
 (xpt0:ata3:0:0:0): xpt_setup_ccb
 (xpt0:ata3:0:0:0): xpt_action
 (xpt0:ata3:0:0:0): xpt_free_path
 (xpt0:ata3:0:0:0): xpt_release_path
 (xpt0:ata3:0:1:0): camisr
 (xpt0:ata3:0:1:0): xpt_scan_bus
 (xpt0:ata3:0:1:0): xpt_setup_ccb
 (xpt0:ata3:0:1:0): xpt_action
 (xpt0:ata3:0:1:0): xpt_free_path
 (xpt0:ata3:0:1:0): xpt_release_path
 (xpt0:ata3:0:-1:-1): xpt_done
 (xpt0:ata3:0:-1:-1): camisr
 (xpt0:ata3:0:-1:-1): Rescan succeeded
 (xpt0:ata3:0:-1:-1): xpt_free_path
 (xpt0:ata3:0:-1:-1): xpt_release_path
 ad12: 114440MB <Seagate ST3120026AS 8.05> at ata6-master SATA150
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (noperiph:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:-1:-1): xpt_async
 (noperiph:ata4:0:-1:-1): xpt_release_path
 (noperiph:ata4:0:-1:-1): xpt_compile_path
 (noperiph:ata4:0:-1:-1): Registered SIM for ata4
 (noperiph:ata4:0:-1:-1): xpt_setup_ccb
 (noperiph:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_compile_path
 (xpt0:ata4:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_scan_bus
 (xpt0:ata4:0:-1:-1): xpt_setup_ccb
 (xpt0:ata4:0:-1:-1): xpt_action
 (xpt0:ata4:0:-1:-1): xpt_done
 (noperiph:ata4:0:0:0): xpt_compile_path
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_setup_ccb
 (noperiph:ata4:0:0:0): xpt_action
 (noperiph:ata4:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:0:0): xpt_compile_path
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_scan_lun
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_done
 (xpt0:ata4:0:0:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_compile_path
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_setup_ccb
 (noperiph:ata4:0:1:0): xpt_action
 (noperiph:ata4:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata4:0:1:0): xpt_done
 (noperiph:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:1:0): xpt_compile_path
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_scan_lun
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_done
 (xpt0:ata4:0:1:0): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (noperiph:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:-1:-1): xpt_async
 (noperiph:ata5:0:-1:-1): xpt_release_path
 (noperiph:ata5:0:-1:-1): xpt_compile_path
 (noperiph:ata5:0:-1:-1): Registered SIM for ata5
 (noperiph:ata5:0:-1:-1): xpt_setup_ccb
 (noperiph:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_compile_path
 (xpt0:ata5:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_scan_bus
 (xpt0:ata5:0:-1:-1): xpt_setup_ccb
 (xpt0:ata5:0:-1:-1): xpt_action
 (xpt0:ata5:0:-1:-1): xpt_done
 (noperiph:ata5:0:0:0): xpt_compile_path
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_setup_ccb
 (noperiph:ata5:0:0:0): xpt_action
 (noperiph:ata5:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:0:0): xpt_compile_path
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_scan_lun
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_done
 (xpt0:ata5:0:0:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_compile_path
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_setup_ccb
 (noperiph:ata5:0:1:0): xpt_action
 (noperiph:ata5:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata5:0:1:0): xpt_done
 (noperiph:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:1:0): xpt_compile_path
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_scan_lun
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_done
 (xpt0:ata5:0:1:0): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (noperiph:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:-1:-1): xpt_async
 (noperiph:ata6:0:-1:-1): xpt_release_path
 (noperiph:ata6:0:-1:-1): xpt_compile_path
 (noperiph:ata6:0:-1:-1): Registered SIM for ata6
 (noperiph:ata6:0:-1:-1): xpt_setup_ccb
 (noperiph:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_compile_path
 (xpt0:ata6:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_scan_bus
 (xpt0:ata6:0:-1:-1): xpt_setup_ccb
 (xpt0:ata6:0:-1:-1): xpt_action
 (xpt0:ata6:0:-1:-1): xpt_done
 (noperiph:ata6:0:0:0): xpt_compile_path
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_setup_ccb
 (noperiph:ata6:0:0:0): xpt_action
 (noperiph:ata6:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:0:0): xpt_compile_path
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_scan_lun
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_done
 (xpt0:ata6:0:0:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_compile_path
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_setup_ccb
 (noperiph:ata6:0:1:0): xpt_action
 (noperiph:ata6:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata6:0:1:0): xpt_done
 (noperiph:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:1:0): xpt_compile_path
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_scan_lun
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_done
 (xpt0:ata6:0:1:0): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (noperiph:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:-1:-1): xpt_async
 (noperiph:ata7:0:-1:-1): xpt_release_path
 (noperiph:ata7:0:-1:-1): xpt_compile_path
 (noperiph:ata7:0:-1:-1): Registered SIM for ata7
 (noperiph:ata7:0:-1:-1): xpt_setup_ccb
 (noperiph:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_compile_path
 (xpt0:ata7:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_scan_bus
 (xpt0:ata7:0:-1:-1): xpt_setup_ccb
 (xpt0:ata7:0:-1:-1): xpt_action
 (xpt0:ata7:0:-1:-1): xpt_done
 (noperiph:ata7:0:0:0): xpt_compile_path
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_setup_ccb
 (noperiph:ata7:0:0:0): xpt_action
 (noperiph:ata7:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:0:0): xpt_compile_path
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_scan_lun
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_done
 (xpt0:ata7:0:0:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_compile_path
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_setup_ccb
 (noperiph:ata7:0:1:0): xpt_action
 (noperiph:ata7:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata7:0:1:0): xpt_done
 (noperiph:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:1:0): xpt_compile_path
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_scan_lun
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_done
 (xpt0:ata7:0:1:0): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (noperiph:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:-1:-1): xpt_async
 (noperiph:ata8:0:-1:-1): xpt_release_path
 (noperiph:ata8:0:-1:-1): xpt_compile_path
 (noperiph:ata8:0:-1:-1): Registered SIM for ata8
 (noperiph:ata8:0:-1:-1): xpt_setup_ccb
 (noperiph:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_compile_path
 (xpt0:ata8:0:-1:-1): Rescanning ATAPI bus.
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_scan_bus
 (xpt0:ata8:0:-1:-1): xpt_setup_ccb
 (xpt0:ata8:0:-1:-1): xpt_action
 (xpt0:ata8:0:-1:-1): xpt_done
 (noperiph:ata8:0:0:0): xpt_compile_path
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_setup_ccb
 (noperiph:ata8:0:0:0): xpt_action
 (noperiph:ata8:0:0:0): GET_TRAN_SETTINGS
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:0:0): xpt_compile_path
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_scan_lun
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_done
 (xpt0:ata8:0:0:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_compile_path
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_setup_ccb
 (noperiph:ata8:0:1:0): xpt_action
 (noperiph:ata8:0:1:0): GET_TRAN_SETTINGS
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): SET_TRAN_SETTINGS not supported
 (noperiph:ata8:0:1:0): xpt_done
 (noperiph:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:1:0): xpt_compile_path
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_scan_lun
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_done
 (xpt0:ata8:0:1:0): xpt_done
 SMP: AP CPU #1 Launched!
 (xpt0:ata4:0:0:0): camisr
 (xpt0:ata4:0:0:0): xpt_scan_bus
 (xpt0:ata4:0:0:0): xpt_setup_ccb
 (xpt0:ata4:0:0:0): xpt_action
 (xpt0:ata4:0:0:0): xpt_free_path
 (xpt0:ata4:0:0:0): xpt_release_path
 (xpt0:ata4:0:1:0): camisr
 (xpt0:ata4:0:1:0): xpt_scan_bus
 (xpt0:ata4:0:1:0): xpt_setup_ccb
 (xpt0:ata4:0:1:0): xpt_action
 (xpt0:ata4:0:1:0): xpt_free_path
 (xpt0:ata4:0:1:0): xpt_release_path
 (xpt0:ata4:0:-1:-1): xpt_done
 (xpt0:ata5:0:0:0): camisr
 (xpt0:ata5:0:0:0): xpt_scan_bus
 (xpt0:ata5:0:0:0): xpt_setup_ccb
 (xpt0:ata5:0:0:0): xpt_action
 (xpt0:ata5:0:0:0): xpt_free_path
 (xpt0:ata5:0:0:0): xpt_release_path
 (xpt0:ata5:0:1:0): camisr
 (xpt0:ata5:0:1:0): xpt_scan_bus
 (xpt0:ata5:0:1:0): xpt_setup_ccb
 (xpt0:ata5:0:1:0): xpt_action
 (xpt0:ata5:0:1:0): xpt_free_path
 (xpt0:ata5:0:1:0): xpt_release_path
 (xpt0:ata5:0:-1:-1): xpt_done
 (xpt0:ata6:0:0:0): camisr
 (xpt0:ata6:0:0:0): xpt_scan_bus
 (xpt0:ata6:0:0:0): xpt_setup_ccb
 (xpt0:ata6:0:0:0): xpt_action
 (xpt0:ata6:0:0:0): xpt_free_path
 (xpt0:ata6:0:0:0): xpt_release_path
 (xpt0:ata6:0:1:0): camisr
 (xpt0:ata6:0:1:0): xpt_scan_bus
 (xpt0:ata6:0:1:0): xpt_setup_ccb
 (xpt0:ata6:0:1:0): xpt_action
 (xpt0:ata6:0:1:0): xpt_free_path
 (xpt0:ata6:0:1:0): xpt_release_path
 (xpt0:ata6:0:-1:-1): xpt_done
 (xpt0:ata7:0:0:0): camisr
 (xpt0:ata7:0:0:0): xpt_scan_bus
 (xpt0:ata7:0:0:0): xpt_setup_ccb
 (xpt0:ata7:0:0:0): xpt_action
 (xpt0:ata7:0:0:0): xpt_free_path
 (xpt0:ata7:0:0:0): xpt_release_path
 (xpt0:ata7:0:1:0): camisr
 (xpt0:ata7:0:1:0): xpt_scan_bus
 (xpt0:ata7:0:1:0): xpt_setup_ccb
 (xpt0:ata7:0:1:0): xpt_action
 (xpt0:ata7:0:1:0): xpt_free_path
 (xpt0:ata7:0:1:0): xpt_release_path
 (xpt0:ata7:0:-1:-1): xpt_done
 (xpt0:ata8:0:0:0): camisr
 (xpt0:ata8:0:0:0): xpt_scan_bus
 (xpt0:ata8:0:0:0): xpt_setup_ccb
 (xpt0:ata8:0:0:0): xpt_action
 (xpt0:ata8:0:0:0): xpt_free_path
 (xpt0:ata8:0:0:0): xpt_release_path
 (xpt0:ata8:0:1:0): camisr
 (xpt0:ata8:0:1:0): xpt_scan_bus
 (xpt0:ata8:0:1:0): xpt_setup_ccb
 (xpt0:ata8:0:1:0): xpt_action
 (xpt0:ata8:0:1:0): xpt_free_path
 (xpt0:ata8:0:1:0): xpt_release_path
 (xpt0:ata8:0:-1:-1): xpt_done
 (xpt0:ata4:0:-1:-1): camisr
 (xpt0:ata4:0:-1:-1): Rescan succeeded
 (xpt0:ata4:0:-1:-1): xpt_free_path
 (xpt0:ata4:0:-1:-1): xpt_release_path
 (xpt0:ata5:0:-1:-1): camisr
 (xpt0:ata5:0:-1:-1): Rescan succeeded
 (xpt0:ata5:0:-1:-1): xpt_free_path
 (xpt0:ata5:0:-1:-1): xpt_release_path
 (xpt0:ata6:0:-1:-1): camisr
 (xpt0:ata6:0:-1:-1): Rescan succeeded
 (xpt0:ata6:0:-1:-1): xpt_free_path
 (xpt0:ata6:0:-1:-1): xpt_release_path
 (xpt0:ata7:0:-1:-1): camisr
 (xpt0:ata7:0:-1:-1): Rescan succeeded
 (xpt0:ata7:0:-1:-1): xpt_free_path
 (xpt0:ata7:0:-1:-1): xpt_release_path
 (xpt0:ata8:0:-1:-1): camisr
 (xpt0:ata8:0:-1:-1): Rescan succeeded
 (xpt0:ata8:0:-1:-1): xpt_free_path
 (xpt0:ata8:0:-1:-1): xpt_release_path
 Trying to mount root from ufs:/dev/ad10s1a
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53b6c00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc554e680: 12 0 0 0 24 0
 acd0: req=0xc55889c0 INQUIRY queued
 acd0: req=0xc55889c0 INQUIRY starting
 acd0: req=0xc55889c0 INQUIRY begin transaction
 acd0: req=0xc55889c0 INQUIRY interrupt
 acd0: req=0xc55889c0 INQUIRY end transaction
 acd0: req=0xc55889c0 INQUIRY finish taskqueue_swi
 acd0: req=0xc55889c0 INQUIRY completed entered
 acd0: req=0xc55889c0 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc554e680 sense = 00: sk = 0)
 acd0: cmd INQUIRY status 50 result 00 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53b6c00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 0 0 0 60 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53b6c00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc554e580: 12 0 0 0 60 0
 acd0: req=0xc55883c0 INQUIRY queued
 acd0: req=0xc55883c0 INQUIRY starting
 acd0: req=0xc55883c0 INQUIRY begin transaction
 acd0: req=0xc55883c0 INQUIRY interrupt
 acd0: req=0xc55883c0 INQUIRY end transaction
 acd0: req=0xc55883c0 INQUIRY finish taskqueue_swi
 acd0: req=0xc55883c0 INQUIRY completed entered
 acd0: req=0xc55883c0 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc554e580 sense = 00: sk = 0)
 acd0: cmd INQUIRY status 50 result 00 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (probe0:ata2:0:1:0): xpt_done
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53b6c00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 1 80 0 ff 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53b6c00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc554e4c0: 12 1 80 0 ff 0
 acd0: req=0xc5556180 INQUIRY queued
 acd0: req=0xc5556180 INQUIRY starting
 acd0: req=0xc5556180 INQUIRY begin transaction
 (xpt0:xpt0:0:-1:-1): xpt_action
 acd0: req=0xc5556180 INQUIRY timeout
 acd0: req=0xc5556180 INQUIRY finish taskqueue_swi
 acd0: req=0xc5556180 INQUIRY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 acd0: FAILURE - INQUIRY timed out
 acd0: req=0xc5556180 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc554e4c0 sense = 00: sk = 0)
 acd0: cmd INQUIRY status 00 result 05 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 1 80 0 ff 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53b6c00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc555d500: 12 1 80 0 ff 0
 acd0: req=0xc55889c0 INQUIRY queued
 acd0: req=0xc55889c0 INQUIRY starting
 acd0: req=0xc55889c0 INQUIRY begin transaction
 (xpt0:xpt0:0:-1:-1): xpt_action
 acd0: req=0xc55889c0 INQUIRY timeout
 acd0: req=0xc55889c0 INQUIRY finish taskqueue_swi
 acd0: req=0xc55889c0 INQUIRY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 acd0: FAILURE - INQUIRY timed out
 acd0: req=0xc55889c0 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc555d500 sense = 00: sk = 0)
 acd0: cmd INQUIRY status 00 result 05 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 1 80 0 ff 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53b6c00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc555d540: 12 1 80 0 ff 0
 acd0: req=0xc5588840 INQUIRY queued
 acd0: req=0xc5588840 INQUIRY starting
 acd0: req=0xc5588840 INQUIRY begin transaction
 acd0: req=0xc5588840 INQUIRY timeout
 acd0: req=0xc5588840 INQUIRY finish taskqueue_swi
 acd0: req=0xc5588840 INQUIRY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 acd0: FAILURE - INQUIRY timed out
 acd0: req=0xc5588840 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc555d540 sense = 00: sk = 0)
 acd0: cmd INQUIRY status 00 result 05 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 1 80 0 ff 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53b6c00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5595a00: 12 1 80 0 ff 0
 acd0: req=0xc5555780 INQUIRY queued
 acd0: req=0xc5555780 INQUIRY starting
 acd0: req=0xc5555780 INQUIRY begin transaction
 acd0: req=0xc5555780 INQUIRY timeout
 acd0: req=0xc5555780 INQUIRY finish taskqueue_swi
 acd0: req=0xc5555780 INQUIRY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 acd0: FAILURE - INQUIRY timed out
 acd0: req=0xc5555780 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc5595a00 sense = 00: sk = 0)
 acd0: cmd INQUIRY status 00 result 05 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 1 80 0 ff 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53b6c00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc554e100: 12 1 80 0 ff 0
 acd0: req=0xc5588300 INQUIRY queued
 acd0: req=0xc5588300 INQUIRY starting
 acd0: req=0xc5588300 INQUIRY begin transaction
 acd0: req=0xc5588300 INQUIRY timeout
 acd0: req=0xc5588300 INQUIRY finish taskqueue_swi
 acd0: req=0xc5588300 INQUIRY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 acd0: FAILURE - INQUIRY timed out
 acd0: req=0xc5588300 INQUIRY completed callback/wakeup
 atapi_cb: hcb@0xc554e100 sense = 00: sk = 0)
 acd0: cmd INQUIRY status 00 result 05 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_setup_ccb
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): GET_TRAN_SETTINGS
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): SET_TRAN_SETTINGS not supported
 (probe0:ata2:0:1:0): xpt_done
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53b6c00
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53b6c00
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc555d800: 0 0 0 0 0 0
 acd0: req=0xc5588240 TEST_UNIT_READY queued
 acd0: req=0xc5588240 TEST_UNIT_READY starting
 acd0: req=0xc5588240 TEST_UNIT_READY begin transaction
 acd0: req=0xc5588240 TEST_UNIT_READY interrupt
 acd0: req=0xc5588240 TEST_UNIT_READY end transaction
 acd0: req=0xc5588240 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc5588240 TEST_UNIT_READY completed entered
 acd0: req=0xc5588240 TEST_UNIT_READY autoissue request sense
 acd0: req=0xc5588240 REQUEST_SENSE queued
 acd0: req=0xc5588240 REQUEST_SENSE starting
 acd0: req=0xc5588240 REQUEST_SENSE begin transaction
 acd0: req=0xc5588240 REQUEST_SENSE interrupt
 acd0: req=0xc5588240 REQUEST_SENSE end transaction
 acd0: req=0xc5588240 TEST_UNIT_READY interrupt
 acd0: req=0xc5588240 TEST_UNIT_READY end transaction
 acd0: req=0xc5588240 TEST_UNIT_READY finish taskqueue_swi
 acd0: req=0xc5588240 TEST_UNIT_READY completed entered
 acd0: req=0xc5588240 TEST_UNIT_READY completed callback/wakeup
 atapi_cb: hcb@0xc555d800 sense = 06: sk = 6)
 acd0: cmd TEST_UNIT_READY status 50 result 05 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): xpt_async
 (pass0:ata2:0:1:0): xpt_compile_path
 (pass0:ata2:0:1:0): xpt_setup_ccb
 (pass0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_compile_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_release_ccb
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53b6c00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53b6c00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5595cc0: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc55556c0 READ_CAPACITY queued
 acd0: req=0xc55556c0 READ_CAPACITY starting
 acd0: req=0xc55556c0 READ_CAPACITY begin transaction
 (xpt0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): xpt_free_path
 (probe0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:1:0): camisr
 (xpt0:ata2:0:1:0): xpt_scan_bus
 (xpt0:ata2:0:1:0): xpt_setup_ccb
 (xpt0:ata2:0:1:0): xpt_action
 (xpt0:ata2:0:1:0): xpt_free_path
 (xpt0:ata2:0:1:0): xpt_release_path
 (xpt0:ata2:0:-1:-1): xpt_done
 (xpt0:ata2:0:-1:-1): camisr
 (xpt0:ata2:0:-1:-1): Rescan succeeded
 (xpt0:ata2:0:-1:-1): xpt_free_path
 (xpt0:ata2:0:-1:-1): xpt_release_path
 acd0: req=0xc55556c0 READ_CAPACITY timeout
 acd0: req=0xc55556c0 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc55556c0 READ_CAPACITY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: req=0xc55556c0 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc5595cc0 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 00 result 05 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53b6c00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc555d800: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5556240 READ_CAPACITY queued
 acd0: req=0xc5556240 READ_CAPACITY starting
 acd0: req=0xc5556240 READ_CAPACITY begin transaction
 acd0: req=0xc5556240 READ_CAPACITY timeout
 acd0: req=0xc5556240 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5556240 READ_CAPACITY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: req=0xc5556240 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc555d800 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 00 result 05 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): got CAM status 0xb
 (cd0:ata2:0:1:0): fatal error, failed to attach to device
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): lost device
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53b6c00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53b6c00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc554ed00: 1e 0 0 0 1 0
 acd0: req=0xc5588900 PREVENT_ALLOW queued
 acd0: req=0xc5588900 PREVENT_ALLOW starting
 acd0: req=0xc5588900 PREVENT_ALLOW begin transaction
 acd0: req=0xc5588900 PREVENT_ALLOW interrupt
 acd0: req=0xc5588900 PREVENT_ALLOW end transaction
 acd0: req=0xc5588900 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc5588900 PREVENT_ALLOW completed entered
 acd0: req=0xc5588900 PREVENT_ALLOW autoissue request sense
 acd0: req=0xc5588900 REQUEST_SENSE queued
 acd0: req=0xc5588900 REQUEST_SENSE starting
 acd0: req=0xc5588900 REQUEST_SENSE begin transaction
 acd0: req=0xc5588900 REQUEST_SENSE interrupt
 acd0: req=0xc5588900 REQUEST_SENSE end transaction
 acd0: req=0xc5588900 PREVENT_ALLOW interrupt
 acd0: req=0xc5588900 PREVENT_ALLOW end transaction
 acd0: req=0xc5588900 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc5588900 PREVENT_ALLOW completed entered
 acd0: req=0xc5588900 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc554ed00 sense = 06: sk = 6)
 acd0: cmd PREVENT_ALLOW status 50 result 05 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53b6c00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5595900: 1e 0 0 0 1 0
 acd0: req=0xc5588240 PREVENT_ALLOW queued
 acd0: req=0xc5588240 PREVENT_ALLOW starting
 acd0: req=0xc5588240 PREVENT_ALLOW begin transaction
 acd0: req=0xc5588240 PREVENT_ALLOW interrupt
 acd0: req=0xc5588240 PREVENT_ALLOW end transaction
 acd0: req=0xc5588240 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc5588240 PREVENT_ALLOW completed entered
 acd0: req=0xc5588240 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc5595900 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdsize
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53b6c00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53b6c00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc555c3c0: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5588240 READ_CAPACITY queued
 acd0: req=0xc5588240 READ_CAPACITY starting
 acd0: req=0xc5588240 READ_CAPACITY begin transaction
 acd0: req=0xc5588240 READ_CAPACITY timeout
 acd0: req=0xc5588240 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5588240 READ_CAPACITY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: req=0xc5588240 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc555c3c0 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 00 result 05 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53b6c00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc554e700: 25 0 0 0 0 0 0 0 0 0
 acd0: req=0xc5588780 READ_CAPACITY queued
 acd0: req=0xc5588780 READ_CAPACITY starting
 acd0: req=0xc5588780 READ_CAPACITY begin transaction
 acd0: req=0xc5588780 READ_CAPACITY timeout
 acd0: req=0xc5588780 READ_CAPACITY finish taskqueue_swi
 acd0: req=0xc5588780 READ_CAPACITY completed entered
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:1:0): xpt_compile_path
 (noperiph:ata2:0:1:0): xpt_release_path
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: req=0xc5588780 READ_CAPACITY completed callback/wakeup
 atapi_cb: hcb@0xc554e700 sense = 00: sk = 0)
 acd0: cmd READ_CAPACITY status 00 result 05 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): entering cdgetccb
 (cd0:ata2:0:1:0): xpt_schedule
 (cd0:ata2:0:1:0):    added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (cd0:ata2:0:1:0):    calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc53b6c00
 (cd0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (cd0:ata2:0:1:0): entering cdstart
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53b6c00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc5595840: 1e 0 0 0 0 0
 acd0: req=0xc5588900 PREVENT_ALLOW queued
 acd0: req=0xc5588900 PREVENT_ALLOW starting
 acd0: req=0xc5588900 PREVENT_ALLOW begin transaction
 acd0: req=0xc5588900 PREVENT_ALLOW interrupt
 acd0: req=0xc5588900 PREVENT_ALLOW end transaction
 acd0: req=0xc5588900 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc5588900 PREVENT_ALLOW completed entered
 acd0: req=0xc5588900 PREVENT_ALLOW autoissue request sense
 acd0: req=0xc5588900 REQUEST_SENSE queued
 acd0: req=0xc5588900 REQUEST_SENSE starting
 acd0: req=0xc5588900 REQUEST_SENSE begin transaction
 acd0: req=0xc5588900 REQUEST_SENSE interrupt
 acd0: req=0xc5588900 REQUEST_SENSE end transaction
 acd0: req=0xc5588900 PREVENT_ALLOW interrupt
 acd0: req=0xc5588900 PREVENT_ALLOW end transaction
 acd0: req=0xc5588900 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc5588900 PREVENT_ALLOW completed entered
 acd0: req=0xc5588900 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc5595840 sense = 06: sk = 6)
 acd0: cmd PREVENT_ALLOW status 50 result 05 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 (cd0:ata2:0:1:0): xpt_setup_ccb
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): xpt_action
 (cd0:ata2:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc53b6c00
 (cd0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc554e580: 1e 0 0 0 0 0
 acd0: req=0xc55883c0 PREVENT_ALLOW queued
 acd0: req=0xc55883c0 PREVENT_ALLOW starting
 acd0: req=0xc55883c0 PREVENT_ALLOW begin transaction
 acd0: req=0xc55883c0 PREVENT_ALLOW interrupt
 acd0: req=0xc55883c0 PREVENT_ALLOW end transaction
 acd0: req=0xc55883c0 PREVENT_ALLOW finish taskqueue_swi
 acd0: req=0xc55883c0 PREVENT_ALLOW completed entered
 acd0: req=0xc55883c0 PREVENT_ALLOW completed callback/wakeup
 atapi_cb: hcb@0xc554e580 sense = 00: sk = 0)
 acd0: cmd PREVENT_ALLOW status 50 result 00 error 00
 (cd0:ata2:0:1:0): xpt_done
 (cd0:ata2:0:1:0): camisr
 (cd0:ata2:0:1:0): entering cddone
 (cd0:ata2:0:1:0): trying to wakeup ccbwait
 cam_debug: xpt_release_ccb
 (cd0:ata2:0:1:0): leaving cdopen
 (cd0:ata2:0:1:0): entering cdprevent
 (cd0:ata2:0:1:0): removing device entry
 (cd0:ata2:0:1:0): xpt_free_path
 (cd0:ata2:0:1:0): xpt_release_path

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: Scott Long <scottl@samsco.org>, freebsd-scsi@freebsd.org,
	bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Wed, 14 Mar 2007 07:55:33 +0100

 * Josh Carroll, 2007-03-14 :
 
 > Hi Scott/Thomas,
 > 
 > I bought a Pioneer DVR-112D IDE DVD-RW drive to see if the timeouts
 > were specific to my Sony DRU-800A, but I had no luck with it, either.
 > In fact, it wouldn't even work with a disc in the drive as the Sony
 > does. It times out on INQUIRY (dmesg attached below). I'm hoping this
 > is a valid data point for this issue - it definitely seems to point
 > towards something that's not drive dependent. Although I was hoping
 > it'd act the same way as the Sony.
 > 
 > Anyway, below is the dmesg from a boot without a disc in the drive
 > (the same INQUIRY failures happen with a disc in the drive).
 
 Interesting, the drive times out on the particular INQUIRY to obtain the
 drive serial number... and Josh has been running a kernel with a quirk
 entry that disabled this lookup for the Sony drive.
 
 Thomas.
 

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: Scott Long <scottl@samsco.org>
Cc: josh.carroll@gmail.com, freebsd-scsi@freebsd.org,
	bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Mon, 26 Mar 2007 13:14:53 +0200

 * Scott Long, 2007-03-13 :
 
 > Actually, I take that back, adding a TUR phase isn't as hard as I
 > thought.  I'd like to know if doing a READ_CD_CAPACITY makes a
 > difference, though.
 
 Hi Scott,
 
 Should I implement the TUR phase and send you a patch for review, or are
 you taking care of it?
 
 Thomas.
 

From: Scott Long <scottl@samsco.org>
To: Thomas Quinot <thomas@FreeBSD.ORG>
Cc: josh.carroll@gmail.com, freebsd-scsi@FreeBSD.ORG, bug-followup@FreeBSD.ORG
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc
 is in
Date: Mon, 26 Mar 2007 10:22:14 -0600

 Thomas Quinot wrote:
 > * Scott Long, 2007-03-13 :
 > 
 >> Actually, I take that back, adding a TUR phase isn't as hard as I
 >> thought.  I'd like to know if doing a READ_CD_CAPACITY makes a
 >> difference, though.
 > 
 > Hi Scott,
 > 
 > Should I implement the TUR phase and send you a patch for review, or are
 > you taking care of it?
 > 
 > Thomas.
 > 
 
 Please try the patch at http://people.freebsd.org/~scottl/scsi_cd.tur.diff
 
 Scott
 

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Scott Long" <scottl@samsco.org>
Cc: "Thomas Quinot" <thomas@freebsd.org>, freebsd-scsi@freebsd.org, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Mon, 26 Mar 2007 10:57:20 -0700

 > Please try the patch at http://people.freebsd.org/~scottl/scsi_cd.tur.diff
 
 So with this patch and the other combined atapi-cam patch, I should,
 in theory be able to boot without a CD in the drive and have CAM work?
 Or is this just the first step in getting to that point?
 
 Thanks,
 Josh

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: josh.carroll@psualum.com
Cc: Scott Long <scottl@samsco.org>, freebsd-scsi@freebsd.org,
	bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Mon, 26 Mar 2007 20:00:18 +0200

 * Josh Carroll, 2007-03-26 :
 
 > >Please try the patch at http://people.freebsd.org/~scottl/scsi_cd.tur.diff
 > 
 > So with this patch and the other combined atapi-cam patch, I should,
 > in theory be able to boot without a CD in the drive and have CAM work?
 
 Yes, that's the objective. Scott's patch is the missing piece allowing
 the drive to attach at boot time when there's no drive in it.
 
 Thomas.
 

From: Scott Long <scottl@samsco.org>
To: Thomas Quinot <thomas@FreeBSD.ORG>
Cc: josh.carroll@psualum.com, freebsd-scsi@FreeBSD.ORG,
        bug-followup@FreeBSD.ORG
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc
 is in
Date: Mon, 26 Mar 2007 14:15:37 -0600

 Thomas Quinot wrote:
 > * Josh Carroll, 2007-03-26 :
 > 
 >>> Please try the patch at http://people.freebsd.org/~scottl/scsi_cd.tur.diff
 >> So with this patch and the other combined atapi-cam patch, I should,
 >> in theory be able to boot without a CD in the drive and have CAM work?
 > 
 > Yes, that's the objective. Scott's patch is the missing piece allowing
 > the drive to attach at boot time when there's no drive in it.
 > 
 > Thomas.
 > 
 
 I'll commit it to 6-STABLE and HEAD as soon as I get confirmation that 
 it works.
 
 Scott
 

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Scott Long" <scottl@samsco.org>
Cc: "Thomas Quinot" <thomas@freebsd.org>, freebsd-scsi@freebsd.org, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Mon, 26 Mar 2007 13:18:26 -0700

 > I'll commit it to 6-STABLE and HEAD as soon as I get confirmation that
 > it works.
 
 Thanks for the hard work guys! I plan on testing this in a few hours
 when I get home from work. I'll report back soon.
 
 Regards,
 Josh

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Scott Long" <scottl@samsco.org>
Cc: "Thomas Quinot" <thomas@freebsd.org>, freebsd-scsi@freebsd.org, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Mon, 26 Mar 2007 21:19:00 -0700

 > Thanks for the hard work guys! I plan on testing this in a few hours
 > when I get home from work. I'll report back soon.
 
 Well this is odd. I have the same problem I had with the Pioneer
 drive. Namely, it hangs on the INQUIRY. I had to run this for
 RELENG_6_2 with the cumulative atapi-cam patch and Scott's new patch
 for scsi_cd.c, since I get the mutex Giant not owned panic with my
 snapshot of -CURRENT. I'll try cvsup'ing -CURRENT and re-applying the
 cumulative atapi-cam.c patch and the new scsi_cd.c patch and see if I
 still get the INQUIRY failure.
 
 I had to transcribe this from a digital photo, but here's what I see
 shortly after it prints out the hard drives (e.g. ad10, etc):
 
 acd0: cmd INQUIRY status 50 result 00 error 00
 (probe0:ata2:0:1:0): xpt_done
 (probe0:ata2:0:1:0): camisr
 (probe0:ata2:0:1:0): probedone
 cam_debug: xpt_release_ccb
 (probe0:ata2:0:1:0): xpt_schedule
 (probe0:ata2:0:1:0):   added periph to queue
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 (probe0:ata2:0:1:0):   calling xpt_run_devq
 cam_debug: xpt_run_dev_allocq
 cam_debug:    qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
 cam_debug: running device 0xc6633800
 (probe0:ata2:0:1:0): xpt_setup_ccb
 cam_debug: calling periph start
 (probe0:ata2:0:1:0): probestart
 (probe0:ata2:0:1:0): xpt_action
 (probe0:ata2:0:1:0): INQUIRY. CDB: 12 1 80 0 ff 0
 cam_debug: xpt_schedule_dev
 cam_debug: Inserting onto queue
 cam_debug: xpt_run_dev_sendq
 cam_debug: running device 0xc6633800
 (probe0:ata2:0:1:0): XPT_SCSI_IO
 atapi_action: hcb@0xc67c67c0: 12 1 80 0 ff 0
 (noperiph:ata2:0:-1:-1): xpt_async
 (noperiph:ata2:0:-1:-1): xpt_compile_path
 (noperiph:ata2:0:-1:-1): xpt_release_path
 acd0: FAILURE - INQUIRY timed out
 atapi_cb: hcb@0xc67c67c0 sense = 00: sk = 0
 
 Thanks,
 Josh

From: Scott Long <scottl@samsco.org>
To: josh.carroll@psualum.com
Cc: Thomas Quinot <thomas@freebsd.org>, freebsd-scsi@freebsd.org,
        bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc
 is in
Date: Mon, 26 Mar 2007 22:53:50 -0600

 Josh Carroll wrote:
 >> Thanks for the hard work guys! I plan on testing this in a few hours
 >> when I get home from work. I'll report back soon.
 > 
 > Well this is odd. I have the same problem I had with the Pioneer
 > drive. Namely, it hangs on the INQUIRY. I had to run this for
 > RELENG_6_2 with the cumulative atapi-cam patch and Scott's new patch
 > for scsi_cd.c, since I get the mutex Giant not owned panic with my
 > snapshot of -CURRENT. I'll try cvsup'ing -CURRENT and re-applying the
 > cumulative atapi-cam.c patch and the new scsi_cd.c patch and see if I
 > still get the INQUIRY failure.
 > 
 > I had to transcribe this from a digital photo, but here's what I see
 > shortly after it prints out the hard drives (e.g. ad10, etc):
 
 Ok, so the problem is happening long before the READ_CAPACITY command
 is sent.  If it's dying on the INQ then it's going to be quite a bit
 harder to fix; every device under the sun needs to respond to an INQ
 so that the OS knows what kind of device it is.  Skipping that will make
 the device pretty much useless to the OS.
 
 Scott

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Scott Long" <scottl@samsco.org>
Cc: "Thomas Quinot" <thomas@freebsd.org>, freebsd-scsi@freebsd.org, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Mon, 26 Mar 2007 21:57:50 -0700

 > Ok, so the problem is happening long before the READ_CAPACITY command
 > is sent.  If it's dying on the INQ then it's going to be quite a bit
 > harder to fix; every device under the sun needs to respond to an INQ
 > so that the OS knows what kind of device it is.  Skipping that will make
 > the device pretty much useless to the OS.
 
 I'm rebuilding a -CURRENT kernel with the cumulative and scsi patches
 now. What I didn't realize is the cam_xpt.c patch that adds the quirk
 to work around the serial # lookup wasn't patched in. At least I don't
 think so. I've re-added that patch and I'm trying again and will
 report back.
 
 Sorry for the confusion, hopefully I get past the INQUIRY with the
 cam_xpt.c patch.
 
 Thanks,
 Josh

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Scott Long" <scottl@samsco.org>
Cc: "Thomas Quinot" <thomas@freebsd.org>, freebsd-scsi@freebsd.org, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Mon, 26 Mar 2007 22:11:39 -0700

 Now I'm a bit confused. I'm not sure what I need to patch and what has
 already been committed to -CURRENT. I couldn't apply the cumulative
 patch since it complains about a reverse patch or it already being
 applied. Whether that's the entire patch or not, I don't know.
 
 From what I can tell, I need:
 
 1. cam_xpt.c patch (to work around the serial quirk)
 2. scsi_cd.c patch
 3. atapi-cam.c patch (which I thought was already committed)
 
 cvsup'ing -CURRENT as of about 10pm PST today and applying patches 1
 and 2 mentioned above, I still see an interrupt storm and I see an
 acd0 failure for READ CD CAPACITY.
 
 So I may be missing a patch at this point, or something else is awry.
 Thomas, am I missing something here? Sorry, after not looking at it
 for almost 2 weeks, I don't recall which patches were in place when I
 last tested.
 
 Thanks,
 Josh

From: Scott Long <scottl@samsco.org>
To: josh.carroll@psualum.com
Cc: Thomas Quinot <thomas@freebsd.org>, freebsd-scsi@freebsd.org,
        bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc
 is in
Date: Wed, 28 Mar 2007 11:46:11 -0600

 Josh Carroll wrote:
 >> Ok, so the problem is happening long before the READ_CAPACITY command
 >> is sent.  If it's dying on the INQ then it's going to be quite a bit
 >> harder to fix; every device under the sun needs to respond to an INQ
 >> so that the OS knows what kind of device it is.  Skipping that will make
 >> the device pretty much useless to the OS.
 > 
 > I'm rebuilding a -CURRENT kernel with the cumulative and scsi patches
 > now. What I didn't realize is the cam_xpt.c patch that adds the quirk
 > to work around the serial # lookup wasn't patched in. At least I don't
 > think so. I've re-added that patch and I'm trying again and will
 > report back.
 > 
 > Sorry for the confusion, hopefully I get past the INQUIRY with the
 > cam_xpt.c patch.
 > 
 > Thanks,
 > Josh
 
 Any update on this?
 
 Scott
 

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Scott Long" <scottl@samsco.org>
Cc: "Thomas Quinot" <thomas@freebsd.org>, freebsd-scsi@freebsd.org, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Wed, 28 Mar 2007 15:31:23 -0700

 > Any update on this?
 
 I'm unable to get past the INQUIRY with the cam_xpt.c patch with the
 serial inquiry workaround along with the cam and scsi_cd patches. I'm
 hoping Thomas can provide a cumulative patch from the many we were
 working with to date, as I'm not sure at this point which to use. I
 thought using patches 1-11 from the thread along with your patch and
 the cam_xpt.c patch it would work, but no such luck.
 
 Josh

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/103602: commit references a PR
Date: Thu, 29 Mar 2007 20:08:42 +0000 (UTC)

 thomas      2007-03-29 20:08:32 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     sys/dev/ata          atapi-cam.c 
   Log:
   MFC rev. 1.48:
   (reinit_bus): When the ATAPI bus is reset, do not schedule an automated
    CAM rescan if the ATAPI device entries have not changed.
   
   The ATAPI bus may be reset for a variety of reasons, including any time an
   ATAPI request times out. It is not necessary to rescan at the CAM level
   in such a case, unless a device has appeared or disappeared, or has
   otherwise changed.
   ---
   MFC revs. 1.49 and 1.50:
   (atapi_action): Improve error reporting by removing ATA_R_QUIET flag
    from ATAPI requests. If CAM debugging is enabled, also mark ATAPI
    requests with ATA_R_DEBUG flag.
   
   (atapi_cb): Report ATAPI timeouts to the CAM layer.
    Fix incorrect debugging traces in the presence of ATAPI errors.
   
   PR:     kern/103602
   
   Revision  Changes    Path
   1.42.2.3  +58 -34    src/sys/dev/ata/atapi-cam.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Scott Long" <scottl@samsco.org>
Cc: "Thomas Quinot" <thomas@freebsd.org>, freebsd-scsi@freebsd.org, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Tue, 3 Apr 2007 00:39:39 -0700

 > I'm unable to get past the INQUIRY with the cam_xpt.c patch with the
 > serial inquiry workaround along with the cam and scsi_cd patches.
 
 Ok, I was able to find the right combination of patches to get this to
 work. I cvsup'd today (4/2/2007) so all the patches to the files in
 sys/dev/ata appear to already have been committed. I patched cam_xpt.c
 with the patch that removes "REQUIRE_GIANT" in two places, and sets
 the serial inquiry quirk for my drive. I also patched with Scott's
 scsi_cd.c patch.
 
 Rather than paste thousands of lines of code in this update again, I'm
 throwing the dmesg output up on my web server, so I hope that's ok. I
 figure it's easier to follow without it (the SNR is too high :))
 
 Anyway, I was able to get booted again to test. Without a CD in the
 drive after boot, I get a huge number of interrupts still on the ata
 controller, and I see a lot of READ CAPACITY timeouts. But it finally
 stops and I still have /dev/cd0 and the interrupts are no longer
 "storming". Here is the dmesg output from the start of the boot
 process up to the point where the interrupt storm stops and things
 settle down:
 
 http://pflog.net/atapicam/dmesg.post_boot.gz
 
 I then issued the following cdrecord command:
 
 cdrecord -scanbus
 
 Here is the dmesg output from that command:
 
 http://pflog.net/atapicam/dmesg.cdrecord.scanbus.gz
 
 I then issued a cdrecord command to burn a CD-RW at 4x:
 
 cdrecord -v dev=2,1,0 /path/to/file.iso
 
 There were some long timeouts during which the interrupts were
 storming as well (based on the delta in the # before and after the
 cdrecord command). But it ultimately finished, and I was able to mount
 the resulting burned disc. The only data I could get from dmesg was
 during the tail end of the cd write, since the dmesg buffer was
 clobbered. Here's that dmesg output:
 
 http://pflog.net/atapicam/dmesg.cdrecord.burn.gz
 
 What's odd is the drive still hangs on various commands when there is
 no disc in the drive, or there is a blank CD-RW in the drive. For
 example, trying to mount the blank'd CD-RW disc with /dev/cd0 takes
 almost a few minutes to timeout during which I see:
 
 acd0: FAILURE - READ_TOC timed out    (I see this 6 times)
 g_vfs_done(): cd0[READ(offset=32768, length=2048)]error = 5
 mount_cd9660: /dev/cd0: Input/output error
 
 If I issue the same mount command against /dev/acd0, it immediately
 gives me the Input/output error.
 
 Another note. On a different boot, I tried using cdrecord to blank the
 disc, which worked, though I saw quite a few errors (camcontrol debug
 off prior). The command issued was:
 
 cdrecord dev=2,1,0 blank=fast
 
 The errors I saw in dmesg were:
 
 acd0: FAILURE - READ_DVD_STRUCTURE timed out   (I imagine this is
 because I didn't specify a media type)
 acd0: FAILURE - READ_BUFFER timed out
 acd0: FAILURE - MODE_SELECT_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00  (I
 saw this right before the cdrecord command finished)
 
 I hope this updated info helps. It seems to still hang on the READ
 CAPACITY command, though at least now I'm able to use the device after
 the drive calms down. Though I am still seeing other commands time out
 as well, cdrecord appears to still work albeit very slowly (due in
 part I'm sure to WITNESS, but also due to these multi-second (minute?)
 timeouts).
 
 Thanks,
 Josh

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Scott Long" <scottl@samsco.org>
Cc: "Thomas Quinot" <thomas@freebsd.org>, freebsd-scsi@freebsd.org, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Tue, 3 Apr 2007 21:07:05 -0700

 Thinking out of the box, I decided to use sg3_utils on both the
 semi-working 7.0-CURRENT kernel I had, and on a Linux Knoppix 5.1 live
 CD.
 
 Pretty much every sg utility resulted in a acd0 FAILURE message (I ran
 the commands against /dev/cd0 though of course). Here are the various
 dmesg messages:
 
 acd0: FAILURE - INQUIRY timed out
 acd0: FAILURE - MODE_SENSE_BIG timed out
 acd0: FAILURE - READ_CAPACITY timed out
 acd0: FAILURE - SEND_KEY timed out
 acd0: FAILURE - unknown CMD (0x46) timed out
 
 It seems like every atapi command is timing out when I boot without a
 disc in the drive. The only command that semi-worked was sg_turs.
 Without a CD in the drive, I get the following output:
 
     test unit ready cdb: 00 00 00 00 00 00
 test unit ready: Probably uninitialized data.
   Try to view as SCSI-1 non-extended sense:
   AdValid=0  Error class=0  Error code=0
 
  Raw sense data (in hex):
         00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
         00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 
 If I insert a CD and run it, I get normal output (e.g. matching that
 of what I saw on Knoppix):
 
     test unit ready cdb: 00 00 00 00 00 00
 
 Perhaps there is a subtle difference with TUR with and without a disc,
 which the kernel can sense and take appropriate action? When running
 any of these sg* commands in Knoppix with no disc in the drive, I get
 a message similar to this:
 
 sg_readcap.no_disc.out:READ CAPACITY (10) failed, device not ready
 
 Interestingly, the sg_vpd command fails to read the serial # as well,
 so that is definitely a known bug with this drive I think. Here is the
 sg_vpd output on Knoppix:
 
 Supported VPD pages VPD page:
 fetching VPD page failed
 
 I don't know if the output of any of these sg commands on Knoppix is
 useful (e.g. sg_get_config, sg_modes, sginfo) in terms of finding out
 details of the device, but if interested I've posted a tarball of the
 outputs here:
 
 http://pflog.net/floyd/sg_output.tgz
 
 Anyway, I thought some of this might be useful. At least I hope :)
 
 Josh

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Scott Long" <scottl@samsco.org>, "Thomas Quinot" <thomas@freebsd.org>
Cc: freebsd-scsi@freebsd.org, bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Thu, 12 Apr 2007 09:06:13 -0700

 > Thinking out of the box, I decided to use sg3_utils on both the
 > semi-working 7.0-CURRENT kernel I had, and on a Linux Knoppix 5.1 live
 > CD.
 
 Hi Scott / Thomas,
 
 Is there any update on this? Do you require any additional information
 at this point from my end?
 
 Thanks!
 Josh

From: Scott Long <scottl@samsco.org>
To: josh.carroll@gmail.com
Cc: Thomas Quinot <thomas@freebsd.org>, freebsd-scsi@freebsd.org,
        bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc
 is in
Date: Fri, 13 Apr 2007 23:41:24 -0600

 Josh Carroll wrote:
 >> Thinking out of the box, I decided to use sg3_utils on both the
 >> semi-working 7.0-CURRENT kernel I had, and on a Linux Knoppix 5.1 live
 >> CD.
 > 
 > Hi Scott / Thomas,
 > 
 > Is there any update on this? Do you require any additional information
 > at this point from my end?
 > 
 > Thanks!
 > Josh
 
 Sorry, I'm out of ideas for this problem.  Hopefully Thomas can help you
 out.
 
 Scott
 
Date: Mon, 16 Apr 2007 12:06:20 +0200
From: Thomas Quinot <thomas@FreeBSD.ORG>

 * Josh Carroll, 2007-04-12 :

 > Is there any update on this? Do you require any additional information
 > at this point from my end?

 Sorry for the delay, I've yet to read through your recent messages. I'll
 get back to you as soon as I can analyze the new traces.

 Thomas.


From: Thomas Quinot <thomas@FreeBSD.ORG>
To: Josh Carroll <josh.carroll@gmail.com>
Cc: Scott Long <scottl@samsco.org>, freebsd-scsi@freebsd.org,
	bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Tue, 24 Apr 2007 18:20:08 +0200

 --jRHKVT23PllUwdXP
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 * Josh Carroll, 2007-04-04 :
 
 > Thinking out of the box, I decided to use sg3_utils on both the
 > semi-working 7.0-CURRENT kernel I had, and on a Linux Knoppix 5.1 live
 > CD.
 
 OK, this is a useful experiment. It really looks to me like some error
 condition that *could* be correctly detected (because it *is* detected
 under Knoppix) is *not* correctly detected in FreeBSD, causing various
 commands to time out.
 
 Now what I think would be really useful would be to try to reproduce
 these timeouts with ATAPI/CAM out of the loop, calling directly the
 ATAPI layer instead.
 
 I wrote a small program that tests that, which you'll find attached to
 this message.  You can compile it using:
   gcc -o readcap readcap.c
 
 You can then try:
   $ readcap /dev/acd0
 
 Here's what I observe here, first with no disk in the drive (the
 important item is sk=02, NOT READY), second with a disk in the drive.
 
 $ ./readcap /dev/acd0
 ioctl returned error 5 Input/output error
 Sense data: error=70 sk=02 asc=3a ascq=00
 $ ./readcap /dev/acd0
 ioctl returned error 0 Unknown error: 0
 Sense data: error=00 sk=00 asc=00 ascq=00
 LBA of last sector in last session: 187279
 Sector size: 2048
 
 > Interestingly, the sg_vpd command fails to read the serial # as well,
 > so that is definitely a known bug with this drive I think. Here is the
 > sg_vpd output on Knoppix:
 
 OK, so ultimately we might need to include this quirk anyway. We'll see.
 
 Thomas.
 
 
 --jRHKVT23PllUwdXP
 Content-Type: text/x-csrc; charset=us-ascii
 Content-Disposition: attachment; filename="readcap.c"
 
 /*
  * $Id: //depot/src/readcap.c#2 $
  * Issue a READ CD CAPACITY ATAPI command on an ATAPI drive
  */
 
 #include <sys/types.h>
 #include <sys/ata.h>
 #include <sys/fcntl.h>
 #include <stdio.h>
 #include <strings.h>
 #include <string.h>
 #include <stdlib.h>
 #include <unistd.h>
 
 int
 main (int argc, char **argv) {
   int fd, rc;
   struct ata_ioc_request r;
   unsigned char data[8];
 
   if (argc != 2) {
     fputs ("Usage: readcap <drive>\n", stderr);
     exit (1);
   }
 
   fd = open (argv[1], O_RDONLY);
   if (fd < 0) {
     perror ("open");
     exit (1);
   }
 
   bzero (&r, sizeof r);
   r.u.atapi.ccb[0] = ATAPI_READ_CAPACITY;
   r.data = (caddr_t) &data;
   r.count = sizeof data;
   r.flags = ATA_CMD_ATAPI|ATA_CMD_READ;
 
   r.timeout = 30;
 
   rc = ioctl (fd, IOCATAREQUEST, &r);
   if (rc < 0) {
     perror ("ioctl");
     exit (1);
   }
 
   printf ("ioctl returned error %d %s\n", r.error, strerror (r.error));
   printf ("Sense data: error=%02x sk=%02x asc=%02x ascq=%02x\n",
     r.u.atapi.sense.error, r.u.atapi.sense.key,
     r.u.atapi.sense.asc, r.u.atapi.sense.ascq);
 
   if (r.error == 0) {
      printf ("LBA of last sector in last session: %d\n",
              (((((data[0] << 8) + data[1]) << 8) + data[2]) << 8) + data[3]);
      printf ("Sector size: %d\n",
              (((((data[4] << 8) + data[5]) << 8) + data[6]) << 8) + data[7]);
   }
 
   close (fd);
   return 0;
 }
 
 --jRHKVT23PllUwdXP--

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "Scott Long" <scottl@samsco.org>, freebsd-scsi@freebsd.org, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Tue, 24 Apr 2007 09:29:53 -0700

 > Here's what I observe here, first with no disk in the drive (the
 > important item is sk=02, NOT READY), second with a disk in the drive.
 
 Here is my output (first with no disk, second with). I see sk=02 here as well:
 
 % ./readcap /dev/acd0
 ioctl returned error 5 Input/output error
 Sense data: error=70 sk=02 asc=3a ascq=00
 
 % ./readcap /dev/acd0
 ioctl returned error 0 Unknown error: 0
 Sense data: error=00 sk=00 asc=00 ascq=00
 LBA of last sector in last session: 185805
 Sector size: 2048
 
 So it looks like directly talking to the ATAPI layer works ok here as
 well. At least, my results look the same as yours.
 
 > > Interestingly, the sg_vpd command fails to read the serial # as well,
 > > so that is definitely a known bug with this drive I think. Here is the
 > > sg_vpd output on Knoppix:
 >
 > OK, so ultimately we might need to include this quirk anyway. We'll see.
 
 I was able to boot into Windows XP and run sg_vpd in there as well,
 and it also fails to read the serial number. Just some additional info
 on that. :)
 
 Thanks,
 Josh

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: Josh Carroll <josh.carroll@gmail.com>
Cc: Scott Long <scottl@samsco.org>, freebsd-scsi@freebsd.org,
	bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Tue, 24 Apr 2007 18:58:43 +0200

 --4SFOXa2GPu3tIq4H
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 * Josh Carroll, 2007-04-24 :
 
 > Here is my output (first with no disk, second with). I see sk=02 here as 
 > well:
 > 
 > % ./readcap /dev/acd0
 > ioctl returned error 5 Input/output error
 > Sense data: error=70 sk=02 asc=3a ascq=00
 > 
 > % ./readcap /dev/acd0
 > ioctl returned error 0 Unknown error: 0
 > Sense data: error=00 sk=00 asc=00 ascq=00
 > LBA of last sector in last session: 185805
 > Sector size: 2048
 
 It just occurred to me that there is one point that is different when
 using readcap, compared to sg_readcap+ATAPI/CAM: only in the latter case
 is DMA used.
 
 *And* you mentioned, very early in this PR, that disabling DMA
 altogether made the problem disappear. So, let's try something: enable
 DMA only for READ and WRITE commands (where it's most useful).
 
 Apparently it's not a completely unhead-of situation that some drives
 have problems with DMA for commands other than READ and WRITE, see:
 http://www.mail-archive.com/linux-ide@vger.kernel.org/msg05425.html
 
 Patch attached.
 
 Thomas.
 
 
 --4SFOXa2GPu3tIq4H
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=d
 
 Index: sys/dev/ata/atapi-cam.c
 ===================================================================
 RCS file: /space/mirror/ncvs/src/sys/dev/ata/atapi-cam.c,v
 retrieving revision 1.50
 diff -u -r1.50 atapi-cam.c
 --- sys/dev/ata/atapi-cam.c	14 Mar 2007 01:59:00 -0000	1.50
 +++ sys/dev/ata/atapi-cam.c	24 Apr 2007 16:57:11 -0000
 @@ -516,10 +516,10 @@
  
  	switch (ccb_h->flags & CAM_DIR_MASK) {
  	case CAM_DIR_IN:
 -	     request_flags |= ATA_R_READ|ATA_R_DMA;
 +	     request_flags |= ATA_R_READ;
  	     break;
  	case CAM_DIR_OUT:
 -	     request_flags |= ATA_R_WRITE|ATA_R_DMA;
 +	     request_flags |= ATA_R_WRITE;
  	     break;
  	case CAM_DIR_NONE:
  	     /* No flags need to be set */
 @@ -528,8 +528,6 @@
  	     device_printf(softc->dev, "unknown IO operation\n");
  	     goto action_invalid;
  	}
 -	if (softc->atadev[tid]->mode < ATA_DMA)
 -	    request_flags &= ~ATA_R_DMA;
  
  	if ((hcb = allocate_hcb(softc, unit, bus, ccb)) == NULL) {
  	    printf("cannot allocate ATAPI/CAM hcb\n");
 @@ -594,7 +592,23 @@
  	    request->u.atapi.ccb[3] = request->u.atapi.ccb[1] & 0x1f;
  	    request->u.atapi.ccb[2] = 0;
  	    request->u.atapi.ccb[1] = 0;
 +
 +	case READ_10:
 +	    /* FALLTHROUGH */
 +	case WRITE_10:
 +	    /* FALLTHROUGH */
 +	case READ_12:
 +	    /* FALLTHROUGH */
 +	case WRITE_12:
 +	    /*
 +	     * Enable DMA (if target supports it) for READ and WRITE commands
 +	     * only, as some combinations of drive, controller and chipset do
 +	     * not behave correctly when DMA is enabled for other commands.
 +	     */
 +	    if (softc->atadev[tid]->mode >= ATA_DMA)
 +		request_flags |= ATA_R_DMA;
  	    break;
 +
  	}
  
  	if ((ccb_h->flags & CAM_DIR_MASK) == CAM_DIR_IN && (len & 1)) {
 @@ -616,7 +630,7 @@
  
  	/*
  	 * no retries are to be performed at the ATA level; any retries
 -	 * will be done by CAM .
 +	 * will be done by CAM.
  	 */
  	request->retries = 0;
  
 
 --4SFOXa2GPu3tIq4H--

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "Scott Long" <scottl@samsco.org>, freebsd-scsi@freebsd.org, 
	bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Tue, 24 Apr 2007 11:32:00 -0700

 > *And* you mentioned, very early in this PR, that disabling DMA
 > altogether made the problem disappear. So, let's try something: enable
 > DMA only for READ and WRITE commands (where it's most useful).
 >
 > Apparently it's not a completely unhead-of situation that some drives
 > have problems with DMA for commands other than READ and WRITE, see:
 > http://www.mail-archive.com/linux-ide@vger.kernel.org/msg05425.html
 >
 
 Hi Thomas,
 
 Unfortunately, the other patches along with this produced a panic
 about a MTX not owned, and removing the CAMDEBUG options resulted in a
 different panic about ATAPICAM not locked. I'll look more closely
 tonight to see if I can get the kernel to load without a panic.
 
 Thanks,
 Josh

From: Christian Gusenbauer <c47g@gmx.at>
To: Thomas Quinot <thomas@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: kern/103602: atapi device not working on JMicron 363 Controller
Date: Tue, 24 Apr 2007 20:56:50 +0200

 Hi Thomas!
 
 On Tuesday, 24. April 2007, Thomas Quinot wrote:
 > * Christian Gusenbauer, 2007-04-16 :
 > > I'm having a somewhat similar problem (i386/111419). Today, I found your
 > > reply to Josh' question, but I think your reply is a bit malformed or
 > > something's missing there, because it contains only your signature :-).
 >
 > I guess you are referring to the message dated Mon, 16 Apr 2007 12:06:20
 > (all my previous answers to Josh appear to be correctly displayed in
 > GNATS). My message at that point was that I had not been able yet to
 > analyze Josh's latest traces. Since then I came up with a small program
 > that tests the READ CD CAPACITY command without using ATAPI/CAM, to see
 > whether it makes a difference. See followups on
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/103602
 >
 > (Also, please keep bug-followup included in the Cc: list so that the
 > discussion is properly recorded).
 >
 > Thomas.
 
 I've been in (short) contact with Sren, and I made a test reverting revision 
 1.191 of atapi-cd.c as he suggested. But that did not change anything. Then I 
 put some printfs into the acd_get_progress() function to get the sense values 
 of the ATAPI_READ_CAPACITY command. Here's the output of 
 a "burncd -f /dev/acd0 blank":
 
 get_progress: error=0, sense.error=70 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=70 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=70 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=70 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=70 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=f0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=70 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 get_progress: error=0, sense.error=0 sense.specific=0 sense.specific1=0 
 sense.specific2=0
 
 It looks like to me as the sense values are not filled in correctly at the end 
 and during the blanking operation. Maybe that's the problem of Josh's (and 
 mine (see: http://www.freebsd.org/cgi/query-pr.cgi?pr=111419)) problem?
 
 Ciao,
 Christian.

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "Scott Long" <scottl@samsco.org>, freebsd-scsi@freebsd.org, 
	bug-followup@freebsd.org, c47g@gmx.at
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Tue, 24 Apr 2007 18:45:28 -0700

 > > *And* you mentioned, very early in this PR, that disabling DMA
 > > altogether made the problem disappear. So, let's try something: enable
 > > DMA only for READ and WRITE commands (where it's most useful).
 > >
 > > Apparently it's not a completely unhead-of situation that some drives
 > > have problems with DMA for commands other than READ and WRITE, see:
 > > http://www.mail-archive.com/linux-ide@vger.kernel.org/msg05425.html
 > >
 
 I had to go back to my snapshot of -CURRENT from 4/2 (or so), as I was
 getting panics with -CURRENT cvsup'd as of today.  But with the old
 source, I think disabling DMA except for READ/WRITE did the trick.
 When I run sg_readcap /dev/cd0 now, I get:
 
 READ CAPACITY (10) failed, device not ready
 
 I get this immediately with no delay! I decided to try to burn a disk
 with growisofs,
 which worked, though I saw the following in dmesg (I had disabled
 CAMDEBUG once I knew it was working):
 
 acd0: FAILURE - READ_BUFFER ILLEGAL REQUEST asc=0x24 ascq=0x00
 acd0: FAILURE - MODE_SELECT_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00
 acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00
 
 The disk only burned at 6x, even though the media and drive support
 16x. But that may not be related to the above at all, unless it's
 related to the MODE_SELECT_BIG error?
 
 Thanks,
 Josh

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "Scott Long" <scottl@samsco.org>, freebsd-scsi@freebsd.org, 
	bug-followup@freebsd.org, c47g@gmx.at
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Tue, 24 Apr 2007 21:19:15 -0700

 ------=_Part_169176_7582099.1177474755826
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 I used the following patch (attached) against a RELENG_6_2 src tree,
 and it's working brilliantly. No problems to speak of. I can boot with
 atapicam in the kernel without a disk in the drive and there were no
 hangs at all.
 
 The sg_readcap command still gives (immediately):
 
 READ CAPACITY (10) failed, device not ready
 
 I was able to burn a DVD-R with growisofs and blank and burn a CD-RW
 with cdrecord. So all seems well, though I'll continue to keep an eye
 on it.
 
 I'm not sure which patches need to be committed, etc. But I wanted to
 include the cumulative patch against the 6.2-R src in case it helps
 you decide which code to commit to -CURRENT/etc.
 
 Christian - can you give the attached patch a shot if you've got a
 6.2-R kernel/install handy on your P5B-E?
 
 Thanks for all your help Thomas!
 Josh
 
 ------=_Part_169176_7582099.1177474755826
 Content-Type: application/octet-stream; name=RELENG_6_2.atapicam.patch
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_f0x9z6p0
 Content-Disposition: attachment; filename="RELENG_6_2.atapicam.patch"
 
 ZGlmZiAtdXJOIHN5cy5vbGQvY2FtL2NhbV94cHQuYyBzeXMvY2FtL2NhbV94cHQuYwotLS0gc3lz
 Lm9sZC9jYW0vY2FtX3hwdC5jCVNhdCBTZXAgMjMgMTE6NDI6MDggMjAwNgorKysgc3lzL2NhbS9j
 YW1feHB0LmMJVHVlIEFwciAyNCAxMzozMToyOCAyMDA3CkBAIC0yNTQsNiArMjU0LDExIEBACiBz
 dGF0aWMgc3RydWN0IHhwdF9xdWlya19lbnRyeSB4cHRfcXVpcmtfdGFibGVbXSA9IAogewogCXsK
 KwkJLyogSGFuZ3Mgb24gSU5RVUlSWSB3aXRoIEVWUEQgZmxhZz8/PyAqLworCQl7IFRfQ0RST00s
 IFNJUF9NRURJQV9SRU1PVkFCTEUsIHNvbnksICJEVkQgUlcgRFJVKiIsICIqIiB9LAorCQlDQU1f
 UVVJUktfTk9TRVJJQUwsIC8qbWludGFncyovMCwgLyptYXh0YWdzKi8wCisJfSwKKwl7CiAJCS8q
 IFJlcG9ydHMgUVVFVUUgRlVMTCBmb3IgdGVtcG9yYXJ5IHJlc291cmNlIHNob3J0YWdlcyAqLwog
 CQl7IFRfRElSRUNULCBTSVBfTUVESUFfRklYRUQsIHF1YW50dW0sICJYUDM5MTAwKiIsICIqIiB9
 LAogCQkvKnF1aXJrcyovMCwgLyptaW50YWdzKi8yNCwgLyptYXh0YWdzKi8zMgpkaWZmIC11ck4g
 c3lzLm9sZC9jYW0vc2NzaS9zY3NpX2NkLmMgc3lzL2NhbS9zY3NpL3Njc2lfY2QuYwotLS0gc3lz
 Lm9sZC9jYW0vc2NzaS9zY3NpX2NkLmMJV2VkIEp1bCAyNiAwMDo0ODo1MSAyMDA2CisrKyBzeXMv
 Y2FtL3Njc2kvc2NzaV9jZC5jCVR1ZSBBcHIgMjQgMTM6MzE6MjggMjAwNwpAQCAtMTA3LDkgKzEw
 NywxMCBAQAogfSBjZF9mbGFnczsKIAogdHlwZWRlZiBlbnVtIHsKLQlDRF9DQ0JfUFJPQkUJCT0g
 MHgwMSwKLQlDRF9DQ0JfQlVGRkVSX0lPCT0gMHgwMiwKLQlDRF9DQ0JfV0FJVElORwkJPSAweDAz
 LAorCUNEX0NDQl9QUk9CRV9UVVIJPSAweDAxLAorCUNEX0NDQl9QUk9CRV9SQ0FQCT0gMHgwMiwK
 KwlDRF9DQ0JfQlVGRkVSX0lPCT0gMHgwMywKKwlDRF9DQ0JfV0FJVElORwkJPSAweDA0LAogCUNE
 X0NDQl9UWVBFX01BU0sJPSAweDBGLAogCUNEX0NDQl9SRVRSWV9VQQkJPSAweDEwCiB9IGNkX2Nj
 Yl9zdGF0ZTsKQEAgLTEzNSw3ICsxMzYsOCBAQAogfTsKIAogdHlwZWRlZiBlbnVtIHsKLQlDRF9T
 VEFURV9QUk9CRSwKKwlDRF9TVEFURV9QUk9CRV9SQ0FQLAorCUNEX1NUQVRFX1BST0JFX1RVUiwK
 IAlDRF9TVEFURV9OT1JNQUwKIH0gY2Rfc3RhdGU7CiAKQEAgLTY3NSw3ICs2NzcsNyBAQAogCWJ6
 ZXJvKHNvZnRjLCBzaXplb2YoKnNvZnRjKSk7CiAJTElTVF9JTklUKCZzb2Z0Yy0+cGVuZGluZ19j
 Y2JzKTsKIAlTVEFJTFFfSU5JVCgmc29mdGMtPm1vZGVfcXVldWUpOwotCXNvZnRjLT5zdGF0ZSA9
 IENEX1NUQVRFX1BST0JFOworCXNvZnRjLT5zdGF0ZSA9IENEX1NUQVRFX1BST0JFX1RVUjsKIAli
 aW9xX2luaXQoJnNvZnRjLT5iaW9fcXVldWUpOwogCWlmIChTSURfSVNfUkVNT1ZBQkxFKCZjZ2Qt
 PmlucV9kYXRhKSkKIAkJc29mdGMtPmZsYWdzIHw9IENEX0ZMQUdfRElTQ19SRU1PVkFCTEU7CkBA
 IC0xNTYxLDcgKzE1NjMsMjEgQEAKIAkJfQogCQlicmVhazsKIAl9Ci0JY2FzZSBDRF9TVEFURV9Q
 Uk9CRToKKwljYXNlIENEX1NUQVRFX1BST0JFX1RVUjoKKwl7CisJCWNzaW8gPSAmc3RhcnRfY2Ni
 LT5jc2lvOworCQlzY3NpX3Rlc3RfdW5pdF9yZWFkeShjc2lvLAorCQkJCSAgICAgLypyZXRyaWVz
 Ki80LAorCQkJCSAgICAgY2Rkb25lLAorCQkJCSAgICAgTVNHX1NJTVBMRV9RX1RBRywKKwkJCQkg
 ICAgIFNTRF9GVUxMX1NJWkUsCisJCQkJICAgICAvKnRpbWVvdXQqLzEwMDAwKTsKKwkJc3RhcnRf
 Y2NiLT5jY2JfaC5jY2JfYnAgPSBOVUxMOworCQlzdGFydF9jY2ItPmNjYl9oLmNjYl9zdGF0ZSA9
 IENEX0NDQl9QUk9CRV9UVVI7CisJCXhwdF9hY3Rpb24oc3RhcnRfY2NiKTsKKwkJYnJlYWs7CisJ
 fQorCWNhc2UgQ0RfU1RBVEVfUFJPQkVfUkNBUDoKIAl7CiAKIAkJcmNhcCA9IChzdHJ1Y3Qgc2Nz
 aV9yZWFkX2NhcGFjaXR5X2RhdGEgKiltYWxsb2Moc2l6ZW9mKCpyY2FwKSwKQEAgLTE1ODIsNyAr
 MTU5OCw3IEBACiAJCQkJICAgU1NEX0ZVTExfU0laRSwKIAkJCQkgICAvKnRpbWVvdXQqLzIwMDAw
 KTsKIAkJc3RhcnRfY2NiLT5jY2JfaC5jY2JfYnAgPSBOVUxMOwotCQlzdGFydF9jY2ItPmNjYl9o
 LmNjYl9zdGF0ZSA9IENEX0NDQl9QUk9CRTsKKwkJc3RhcnRfY2NiLT5jY2JfaC5jY2Jfc3RhdGUg
 PSBDRF9DQ0JfUFJPQkVfUkNBUDsKIAkJeHB0X2FjdGlvbihzdGFydF9jY2IpOwogCQlicmVhazsK
 IAl9CkBAIC0xNjczLDcgKzE2ODksMzUgQEAKIAkJYmlvZmluaXNoKGJwLCBOVUxMLCAwKTsKIAkJ
 YnJlYWs7CiAJfQotCWNhc2UgQ0RfQ0NCX1BST0JFOgorCWNhc2UgQ0RfQ0NCX1BST0JFX1RVUjoK
 Kwl7CisJCWlmICgoZG9uZV9jY2ItPmNjYl9oLnN0YXR1cyAmIENBTV9TVEFUVVNfTUFTSykgPT0g
 Q0FNX1JFUV9DTVApIHsKKwkJCXNvZnRjLT5zdGF0ZSA9IENEX1NUQVRFX1BST0JFX1JDQVA7CisJ
 CQl4cHRfcmVsZWFzZV9jY2IoZG9uZV9jY2IpOworCQkJeHB0X3NjaGVkdWxlKHBlcmlwaCwgLypw
 cmlvcml0eSovNSk7CisJCQlyZXR1cm47CisJCX0KKwkJaWYgKChkb25lX2NjYi0+Y2NiX2guc3Rh
 dHVzICYgQ0FNX0RFVl9RRlJaTikgIT0gMCkgeworCQkJLyogRG9uJ3Qgd2VkZ2UgdGhlIHF1ZXVl
 ICovCisJCQljYW1fcmVsZWFzZV9kZXZxKGRvbmVfY2NiLT5jY2JfaC5wYXRoLAorCQkJCQkgLypy
 ZWxzaW1fZmxhZ3MqLzAsCisJCQkJCSAvKnJlZHVjdGlvbiovMCwKKwkJCQkJIC8qdGltZW91dCov
 MCwKKwkJCQkJIC8qZ2V0Y291bnRfb25seSovMCk7CisJCX0KKwkJaWYgKGJvb3R2ZXJib3NlKQor
 CQkJY2FtX2Vycm9yX3ByaW50KGRvbmVfY2NiLCBDQU1fRVNGX0FMTCwgQ0FNX0VQRl9BTEwpOwor
 CQkvKgorCQkgKiBUaGUgVFVSIGdlbmVyYXRlZCBhbiBlcnJvciwgc28gdGhlcmUgbGlrZWx5IGlz
 bid0IG1lZGlhIGluCisJCSAqIHRoZSBkcml2ZS4gIFNvbWUgZHJpdmVzIGxvY2sgdXAgaWYgdGhl
 eSBhcmUgc2VudCBhIHJlYWQKKwkJICogY2FwYWNpdHkgY29tbWFuZCB3aGlsZSBpbiB0aGlzIHN0
 YXRlLCBzbyBhdm9pZCBkb2luZyB0aGF0LgorCQkgKi8KKwkJc29mdGMtPnN0YXRlID0gQ0RfU1RB
 VEVfTk9STUFMOworCQl4cHRfcmVsZWFzZV9jY2IoZG9uZV9jY2IpOworCQljYW1fcGVyaXBoX3Vu
 bG9jayhwZXJpcGgpOworCQlyZXR1cm47CisJfQorCWNhc2UgQ0RfQ0NCX1BST0JFX1JDQVA6CiAJ
 ewogCQlzdHJ1Y3QJICAgc2NzaV9yZWFkX2NhcGFjaXR5X2RhdGEgKnJkY2FwOwogCQljaGFyCSAg
 IGFubm91bmNlX2J1ZlsxMjBdOyAvKgpkaWZmIC11ck4gc3lzLm9sZC9kZXYvYXRhL2F0YXBpLWNh
 bS5jIHN5cy9kZXYvYXRhL2F0YXBpLWNhbS5jCi0tLSBzeXMub2xkL2Rldi9hdGEvYXRhcGktY2Ft
 LmMJVHVlIEFwciAgNCAwOTowNzo0MiAyMDA2CisrKyBzeXMvZGV2L2F0YS9hdGFwaS1jYW0uYwlU
 dWUgQXByIDI0IDEzOjMxOjIyIDIwMDcKQEAgLTUwNSwxMCArNTA1LDEwIEBACiAKIAlzd2l0Y2gg
 KGNjYl9oLT5mbGFncyAmIENBTV9ESVJfTUFTSykgewogCWNhc2UgQ0FNX0RJUl9JTjoKLQkgICAg
 IHJlcXVlc3RfZmxhZ3MgfD0gQVRBX1JfUkVBRHxBVEFfUl9ETUE7CisJICAgICByZXF1ZXN0X2Zs
 YWdzIHw9IEFUQV9SX1JFQUQ7CiAJICAgICBicmVhazsKIAljYXNlIENBTV9ESVJfT1VUOgotCSAg
 ICAgcmVxdWVzdF9mbGFncyB8PSBBVEFfUl9XUklURXxBVEFfUl9ETUE7CisJICAgICByZXF1ZXN0
 X2ZsYWdzIHw9IEFUQV9SX1dSSVRFOwogCSAgICAgYnJlYWs7CiAJY2FzZSBDQU1fRElSX05PTkU6
 CiAJICAgICAvKiBObyBmbGFncyBuZWVkIHRvIGJlIHNldCAqLwpAQCAtNTE3LDggKzUxNyw2IEBA
 CiAJICAgICBkZXZpY2VfcHJpbnRmKHNvZnRjLT5kZXYsICJ1bmtub3duIElPIG9wZXJhdGlvblxu
 Iik7CiAJICAgICBnb3RvIGFjdGlvbl9pbnZhbGlkOwogCX0KLQlpZiAoc29mdGMtPmF0YWRldlt0
 aWRdLT5tb2RlIDwgQVRBX0RNQSkKLQkgICAgcmVxdWVzdF9mbGFncyAmPSB+QVRBX1JfRE1BOwog
 CiAJaWYgKChoY2IgPSBhbGxvY2F0ZV9oY2Ioc29mdGMsIHVuaXQsIGJ1cywgY2NiKSkgPT0gTlVM
 TCkgewogCSAgICBwcmludGYoImNhbm5vdCBhbGxvY2F0ZSBBVEFQSS9DQU0gaGNiXG4iKTsKQEAg
 LTU4MCw3ICs1NzgsMjMgQEAKIAkgICAgcmVxdWVzdC0+dS5hdGFwaS5jY2JbM10gPSByZXF1ZXN0
 LT51LmF0YXBpLmNjYlsxXSAmIDB4MWY7CiAJICAgIHJlcXVlc3QtPnUuYXRhcGkuY2NiWzJdID0g
 MDsKIAkgICAgcmVxdWVzdC0+dS5hdGFwaS5jY2JbMV0gPSAwOworCisJY2FzZSBSRUFEXzEwOgor
 CSAgICAvKiBGQUxMVEhST1VHSCAqLworCWNhc2UgV1JJVEVfMTA6CisJICAgIC8qIEZBTExUSFJP
 VUdIICovCisJY2FzZSBSRUFEXzEyOgorCSAgICAvKiBGQUxMVEhST1VHSCAqLworCWNhc2UgV1JJ
 VEVfMTI6CisJICAgIC8qCisJICAgICAqIEVuYWJsZSBETUEgKGlmIHRhcmdldCBzdXBwb3J0cyBp
 dCkgZm9yIFJFQUQgYW5kIFdSSVRFIGNvbW1hbmRzCisJICAgICAqIG9ubHksIGFzIHNvbWUgY29t
 YmluYXRpb25zIG9mIGRyaXZlLCBjb250cm9sbGVyIGFuZCBjaGlwc2V0IGRvCisJICAgICAqIG5v
 dCBiZWhhdmUgY29ycmVjdGx5IHdoZW4gRE1BIGlzIGVuYWJsZWQgZm9yIG90aGVyIGNvbW1hbmRz
 LgorCSAgICAgKi8KKwkgICAgaWYgKHNvZnRjLT5hdGFkZXZbdGlkXS0+bW9kZSA+PSBBVEFfRE1B
 KQorCQlyZXF1ZXN0X2ZsYWdzIHw9IEFUQV9SX0RNQTsKIAkgICAgYnJlYWs7CisKIAl9CiAKIAlp
 ZiAoKGNjYl9oLT5mbGFncyAmIENBTV9ESVJfTUFTSykgPT0gQ0FNX0RJUl9JTiAmJiAobGVuICYg
 MSkpIHsKQEAgLTc0Niw3ICs3NjAsOSBAQAogICAgIGZyZWVfaGNiKGhjYik7CiAgICAgY2NiLT5j
 Y2JfaC5zdGF0dXMgPQogCXN0YXR1cyB8IChjY2ItPmNjYl9oLnN0YXR1cyAmIH4oQ0FNX1NUQVRV
 U19NQVNLIHwgQ0FNX1NJTV9RVUVVRUQpKTsKKyAgICBtdHhfbG9jaygmR2lhbnQpOwogICAgIHhw
 dF9kb25lKGNjYik7CisgICAgbXR4X3VubG9jaygmR2lhbnQpOwogfQogCiBzdGF0aWMgdm9pZAo=
 
 ------=_Part_169176_7582099.1177474755826--

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "Scott Long" <scottl@samsco.org>, freebsd-scsi@freebsd.org, 
	bug-followup@freebsd.org, c47g@gmx.at
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Tue, 24 Apr 2007 22:44:54 -0700

 Oops, I think gmail attached the patch as a MIME encoded attachment.
 Here's the patch:
 
 
 diff -urN sys.old/cam/cam_xpt.c sys/cam/cam_xpt.c
 --- sys.old/cam/cam_xpt.c	Sat Sep 23 11:42:08 2006
 +++ sys/cam/cam_xpt.c	Tue Apr 24 13:31:28 2007
 @@ -254,6 +254,11 @@
  static struct xpt_quirk_entry xpt_quirk_table[] =
  {
  	{
 +		/* Hangs on INQUIRY with EVPD flag??? */
 +		{ T_CDROM, SIP_MEDIA_REMOVABLE, sony, "DVD RW DRU*", "*" },
 +		CAM_QUIRK_NOSERIAL, /*mintags*/0, /*maxtags*/0
 +	},
 +	{
  		/* Reports QUEUE FULL for temporary resource shortages */
  		{ T_DIRECT, SIP_MEDIA_FIXED, quantum, "XP39100*", "*" },
  		/*quirks*/0, /*mintags*/24, /*maxtags*/32
 diff -urN sys.old/cam/scsi/scsi_cd.c sys/cam/scsi/scsi_cd.c
 --- sys.old/cam/scsi/scsi_cd.c	Wed Jul 26 00:48:51 2006
 +++ sys/cam/scsi/scsi_cd.c	Tue Apr 24 13:31:28 2007
 @@ -107,9 +107,10 @@
  } cd_flags;
 
  typedef enum {
 -	CD_CCB_PROBE		= 0x01,
 -	CD_CCB_BUFFER_IO	= 0x02,
 -	CD_CCB_WAITING		= 0x03,
 +	CD_CCB_PROBE_TUR	= 0x01,
 +	CD_CCB_PROBE_RCAP	= 0x02,
 +	CD_CCB_BUFFER_IO	= 0x03,
 +	CD_CCB_WAITING		= 0x04,
  	CD_CCB_TYPE_MASK	= 0x0F,
  	CD_CCB_RETRY_UA		= 0x10
  } cd_ccb_state;
 @@ -135,7 +136,8 @@
  };
 
  typedef enum {
 -	CD_STATE_PROBE,
 +	CD_STATE_PROBE_RCAP,
 +	CD_STATE_PROBE_TUR,
  	CD_STATE_NORMAL
  } cd_state;
 
 @@ -675,7 +677,7 @@
  	bzero(softc, sizeof(*softc));
  	LIST_INIT(&softc->pending_ccbs);
  	STAILQ_INIT(&softc->mode_queue);
 -	softc->state = CD_STATE_PROBE;
 +	softc->state = CD_STATE_PROBE_TUR;
  	bioq_init(&softc->bio_queue);
  	if (SID_IS_REMOVABLE(&cgd->inq_data))
  		softc->flags |= CD_FLAG_DISC_REMOVABLE;
 @@ -1561,7 +1563,21 @@
  		}
  		break;
  	}
 -	case CD_STATE_PROBE:
 +	case CD_STATE_PROBE_TUR:
 +	{
 +		csio = &start_ccb->csio;
 +		scsi_test_unit_ready(csio,
 +				     /*retries*/4,
 +				     cddone,
 +				     MSG_SIMPLE_Q_TAG,
 +				     SSD_FULL_SIZE,
 +				     /*timeout*/10000);
 +		start_ccb->ccb_h.ccb_bp = NULL;
 +		start_ccb->ccb_h.ccb_state = CD_CCB_PROBE_TUR;
 +		xpt_action(start_ccb);
 +		break;
 +	}
 +	case CD_STATE_PROBE_RCAP:
  	{
 
  		rcap = (struct scsi_read_capacity_data *)malloc(sizeof(*rcap),
 @@ -1582,7 +1598,7 @@
  				   SSD_FULL_SIZE,
  				   /*timeout*/20000);
  		start_ccb->ccb_h.ccb_bp = NULL;
 -		start_ccb->ccb_h.ccb_state = CD_CCB_PROBE;
 +		start_ccb->ccb_h.ccb_state = CD_CCB_PROBE_RCAP;
  		xpt_action(start_ccb);
  		break;
  	}
 @@ -1673,7 +1689,35 @@
  		biofinish(bp, NULL, 0);
  		break;
  	}
 -	case CD_CCB_PROBE:
 +	case CD_CCB_PROBE_TUR:
 +	{
 +		if ((done_ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP) {
 +			softc->state = CD_STATE_PROBE_RCAP;
 +			xpt_release_ccb(done_ccb);
 +			xpt_schedule(periph, /*priority*/5);
 +			return;
 +		}
 +		if ((done_ccb->ccb_h.status & CAM_DEV_QFRZN) != 0) {
 +			/* Don't wedge the queue */
 +			cam_release_devq(done_ccb->ccb_h.path,
 +					 /*relsim_flags*/0,
 +					 /*reduction*/0,
 +					 /*timeout*/0,
 +					 /*getcount_only*/0);
 +		}
 +		if (bootverbose)
 +			cam_error_print(done_ccb, CAM_ESF_ALL, CAM_EPF_ALL);
 +		/*
 +		 * The TUR generated an error, so there likely isn't media in
 +		 * the drive.  Some drives lock up if they are sent a read
 +		 * capacity command while in this state, so avoid doing that.
 +		 */
 +		softc->state = CD_STATE_NORMAL;
 +		xpt_release_ccb(done_ccb);
 +		cam_periph_unlock(periph);
 +		return;
 +	}
 +	case CD_CCB_PROBE_RCAP:
  	{
  		struct	   scsi_read_capacity_data *rdcap;
  		char	   announce_buf[120]; /*
 diff -urN sys.old/dev/ata/atapi-cam.c sys/dev/ata/atapi-cam.c
 --- sys.old/dev/ata/atapi-cam.c	Tue Apr  4 09:07:42 2006
 +++ sys/dev/ata/atapi-cam.c	Tue Apr 24 13:31:22 2007
 @@ -505,10 +505,10 @@
 
  	switch (ccb_h->flags & CAM_DIR_MASK) {
  	case CAM_DIR_IN:
 -	     request_flags |= ATA_R_READ|ATA_R_DMA;
 +	     request_flags |= ATA_R_READ;
  	     break;
  	case CAM_DIR_OUT:
 -	     request_flags |= ATA_R_WRITE|ATA_R_DMA;
 +	     request_flags |= ATA_R_WRITE;
  	     break;
  	case CAM_DIR_NONE:
  	     /* No flags need to be set */
 @@ -517,8 +517,6 @@
  	     device_printf(softc->dev, "unknown IO operation\n");
  	     goto action_invalid;
  	}
 -	if (softc->atadev[tid]->mode < ATA_DMA)
 -	    request_flags &= ~ATA_R_DMA;
 
  	if ((hcb = allocate_hcb(softc, unit, bus, ccb)) == NULL) {
  	    printf("cannot allocate ATAPI/CAM hcb\n");
 @@ -580,7 +578,23 @@
  	    request->u.atapi.ccb[3] = request->u.atapi.ccb[1] & 0x1f;
  	    request->u.atapi.ccb[2] = 0;
  	    request->u.atapi.ccb[1] = 0;
 +
 +	case READ_10:
 +	    /* FALLTHROUGH */
 +	case WRITE_10:
 +	    /* FALLTHROUGH */
 +	case READ_12:
 +	    /* FALLTHROUGH */
 +	case WRITE_12:
 +	    /*
 +	     * Enable DMA (if target supports it) for READ and WRITE commands
 +	     * only, as some combinations of drive, controller and chipset do
 +	     * not behave correctly when DMA is enabled for other commands.
 +	     */
 +	    if (softc->atadev[tid]->mode >= ATA_DMA)
 +		request_flags |= ATA_R_DMA;
  	    break;
 +
  	}
 
  	if ((ccb_h->flags & CAM_DIR_MASK) == CAM_DIR_IN && (len & 1)) {
 @@ -746,7 +760,9 @@
      free_hcb(hcb);
      ccb->ccb_h.status =
  	status | (ccb->ccb_h.status & ~(CAM_STATUS_MASK | CAM_SIM_QUEUED));
 +    mtx_lock(&Giant);
      xpt_done(ccb);
 +    mtx_unlock(&Giant);
  }
 
  static void

From: Christian Gusenbauer <c47g@gmx.at>
To: josh.carroll@gmail.com
Cc: "Thomas Quinot" <thomas@freebsd.org>,
 "Scott Long" <scottl@samsco.org>,
 freebsd-scsi@freebsd.org,
 bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Wed, 25 Apr 2007 20:01:36 +0200

 Hi Josh!
 
 Thanks for your patch. But unfortunately, my problem is a little bit different 
 to yours. I get the errors when accessing the ATA drive using /dev/acd0. My 
 problem doesn't seem to be ATAPI-CAM related.
 
 So, I'm glad that obviously Thomas' last patch solved your problem, but I' 
 afraid, it is not the solution for my problem :-(.
 
 Ciao,
 Christian.
 
 On Wednesday, 25. April 2007, Josh Carroll wrote:
 > I used the following patch (attached) against a RELENG_6_2 src tree,
 > and it's working brilliantly. No problems to speak of. I can boot with
 > atapicam in the kernel without a disk in the drive and there were no
 > hangs at all.
 >
 > The sg_readcap command still gives (immediately):
 >
 > READ CAPACITY (10) failed, device not ready
 >
 > I was able to burn a DVD-R with growisofs and blank and burn a CD-RW
 > with cdrecord. So all seems well, though I'll continue to keep an eye
 > on it.
 >
 > I'm not sure which patches need to be committed, etc. But I wanted to
 > include the cumulative patch against the 6.2-R src in case it helps
 > you decide which code to commit to -CURRENT/etc.
 >
 > Christian - can you give the attached patch a shot if you've got a
 > 6.2-R kernel/install handy on your P5B-E?
 >
 > Thanks for all your help Thomas!
 > Josh
 
 

From: Scott Long <scottl@samsco.org>
To: Christian Gusenbauer <c47g@gmx.at>
Cc: josh.carroll@gmail.com, Thomas Quinot <thomas@freebsd.org>,
        freebsd-scsi@freebsd.org, bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc
 is in
Date: Wed, 25 Apr 2007 15:08:54 -0600

 Are you talking about an ATA disk drive or a SATA CDROM drive?
 
 Scott
 
 
 Christian Gusenbauer wrote:
 > Hi Josh!
 > 
 > Thanks for your patch. But unfortunately, my problem is a little bit different 
 > to yours. I get the errors when accessing the ATA drive using /dev/acd0. My 
 > problem doesn't seem to be ATAPI-CAM related.
 > 
 > So, I'm glad that obviously Thomas' last patch solved your problem, but I' 
 > afraid, it is not the solution for my problem :-(.
 > 
 > Ciao,
 > Christian.
 > 
 > On Wednesday, 25. April 2007, Josh Carroll wrote:
 >> I used the following patch (attached) against a RELENG_6_2 src tree,
 >> and it's working brilliantly. No problems to speak of. I can boot with
 >> atapicam in the kernel without a disk in the drive and there were no
 >> hangs at all.
 >>
 >> The sg_readcap command still gives (immediately):
 >>
 >> READ CAPACITY (10) failed, device not ready
 >>
 >> I was able to burn a DVD-R with growisofs and blank and burn a CD-RW
 >> with cdrecord. So all seems well, though I'll continue to keep an eye
 >> on it.
 >>
 >> I'm not sure which patches need to be committed, etc. But I wanted to
 >> include the cumulative patch against the 6.2-R src in case it helps
 >> you decide which code to commit to -CURRENT/etc.
 >>
 >> Christian - can you give the attached patch a shot if you've got a
 >> 6.2-R kernel/install handy on your P5B-E?
 >>
 >> Thanks for all your help Thomas!
 >> Josh
 > 
 > 
 

From: "Christian Gusenbauer" <c47g@gmx.at>
To: Scott Long <scottl@samsco.org>
Cc: bug-followup@freebsd.org, freebsd-scsi@freebsd.org, thomas@freebsd.org,
 josh.carroll@gmail.com
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is
 in
Date: Thu, 26 Apr 2007 07:09:11 +0200

 Hi Scott!
 
 I'm talking about an ATA DVD writer.
 
 Ciao,
 Christian.
 
 -------- Original-Nachricht --------
 Datum: Wed, 25 Apr 2007 15:08:54 -0600
 Von: Scott Long <scottl@samsco.org>
 An: Christian Gusenbauer <c47g@gmx.at>
 CC: josh.carroll@gmail.com, Thomas Quinot <thomas@freebsd.org>, freebsd-scsi@freebsd.org, bug-followup@freebsd.org
 Betreff: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
 
 > Are you talking about an ATA disk drive or a SATA CDROM drive?
 > 
 > Scott
 > 
 > 
 > Christian Gusenbauer wrote:
 > > Hi Josh!
 > > 
 > > Thanks for your patch. But unfortunately, my problem is a little bit
 > different 
 > > to yours. I get the errors when accessing the ATA drive using /dev/acd0.
 > My 
 > > problem doesn't seem to be ATAPI-CAM related.
 > > 
 > > So, I'm glad that obviously Thomas' last patch solved your problem, but
 > I' 
 > > afraid, it is not the solution for my problem :-(.
 > > 
 > > Ciao,
 > > Christian.
 > > 
 > > On Wednesday, 25. April 2007, Josh Carroll wrote:
 > >> I used the following patch (attached) against a RELENG_6_2 src tree,
 > >> and it's working brilliantly. No problems to speak of. I can boot with
 > >> atapicam in the kernel without a disk in the drive and there were no
 > >> hangs at all.
 > >>
 > >> The sg_readcap command still gives (immediately):
 > >>
 > >> READ CAPACITY (10) failed, device not ready
 > >>
 > >> I was able to burn a DVD-R with growisofs and blank and burn a CD-RW
 > >> with cdrecord. So all seems well, though I'll continue to keep an eye
 > >> on it.
 > >>
 > >> I'm not sure which patches need to be committed, etc. But I wanted to
 > >> include the cumulative patch against the 6.2-R src in case it helps
 > >> you decide which code to commit to -CURRENT/etc.
 > >>
 > >> Christian - can you give the attached patch a shot if you've got a
 > >> 6.2-R kernel/install handy on your P5B-E?
 > >>
 > >> Thanks for all your help Thomas!
 > >> Josh
 > > 
 > > 
 
 -- 
 "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
 Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

From: Scott Long <scottl@samsco.org>
To: Christian Gusenbauer <c47g@gmx.at>
Cc: bug-followup@freebsd.org, freebsd-scsi@freebsd.org, thomas@freebsd.org,
        josh.carroll@gmail.com
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc
 is in
Date: Wed, 25 Apr 2007 23:49:37 -0600

 IDE, not SATA, right?  Just so we have the terms straight, let me explain:
 
 IDE = 40/80 pin ribbon cable, connects motherboard to disk and CD/DVD drives
 
 SATA = 4 pin twisted serial cable.  Connects motherboard to disk and 
 CD/DVD drives
 
 ATA = Command language spoken by _hard_drives_ that are connected via
 IDE or SATA
 
 ATAPI = Command language, similar to SCSI, that is spoken by CD/DVD 
 drives over IDE and SATA
 
 There is no such a thing as an ATA DVD drive, but there are ATAPI DVD
 drives.  The interesting question is whether yours is IDE or SATA.
 
 Scott
 
 Christian Gusenbauer wrote:
 > Hi Scott!
 > 
 > I'm talking about an ATA DVD writer.
 > 
 > Ciao,
 > Christian.
 > 
 > -------- Original-Nachricht --------
 > Datum: Wed, 25 Apr 2007 15:08:54 -0600
 > Von: Scott Long <scottl@samsco.org>
 > An: Christian Gusenbauer <c47g@gmx.at>
 > CC: josh.carroll@gmail.com, Thomas Quinot <thomas@freebsd.org>, freebsd-scsi@freebsd.org, bug-followup@freebsd.org
 > Betreff: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
 > 
 >> Are you talking about an ATA disk drive or a SATA CDROM drive?
 >>
 >> Scott
 >>
 >>
 >> Christian Gusenbauer wrote:
 >>> Hi Josh!
 >>>
 >>> Thanks for your patch. But unfortunately, my problem is a little bit
 >> different 
 >>> to yours. I get the errors when accessing the ATA drive using /dev/acd0.
 >> My 
 >>> problem doesn't seem to be ATAPI-CAM related.
 >>>
 >>> So, I'm glad that obviously Thomas' last patch solved your problem, but
 >> I' 
 >>> afraid, it is not the solution for my problem :-(.
 >>>
 >>> Ciao,
 >>> Christian.
 >>>
 >>> On Wednesday, 25. April 2007, Josh Carroll wrote:
 >>>> I used the following patch (attached) against a RELENG_6_2 src tree,
 >>>> and it's working brilliantly. No problems to speak of. I can boot with
 >>>> atapicam in the kernel without a disk in the drive and there were no
 >>>> hangs at all.
 >>>>
 >>>> The sg_readcap command still gives (immediately):
 >>>>
 >>>> READ CAPACITY (10) failed, device not ready
 >>>>
 >>>> I was able to burn a DVD-R with growisofs and blank and burn a CD-RW
 >>>> with cdrecord. So all seems well, though I'll continue to keep an eye
 >>>> on it.
 >>>>
 >>>> I'm not sure which patches need to be committed, etc. But I wanted to
 >>>> include the cumulative patch against the 6.2-R src in case it helps
 >>>> you decide which code to commit to -CURRENT/etc.
 >>>>
 >>>> Christian - can you give the attached patch a shot if you've got a
 >>>> 6.2-R kernel/install handy on your P5B-E?
 >>>>
 >>>> Thanks for all your help Thomas!
 >>>> Josh
 >>>
 > 
 

From: "Christian Gusenbauer" <chrisg1331@gmx.at>
To: Scott Long <scottl@samsco.org>
Cc: josh.carroll@gmail.com, thomas@freebsd.org, freebsd-scsi@freebsd.org,
 bug-followup@freebsd.org
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is
 in
Date: Thu, 26 Apr 2007 08:04:20 +0200

 Hi Scott!
 
 Ahh, I see. Sorry for the confusion. OK, then it's an IDE one.
 
 Ciao,
 Christian.
 
 -------- Original-Nachricht --------
 Datum: Wed, 25 Apr 2007 23:49:37 -0600
 Von: Scott Long <scottl@samsco.org>
 An: Christian Gusenbauer <c47g@gmx.at>
 CC: bug-followup@freebsd.org, freebsd-scsi@freebsd.org, thomas@freebsd.org, josh.carroll@gmail.com
 Betreff: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
 
 > IDE, not SATA, right?  Just so we have the terms straight, let me explain:
 > 
 > IDE = 40/80 pin ribbon cable, connects motherboard to disk and CD/DVD
 > drives
 > 
 > SATA = 4 pin twisted serial cable.  Connects motherboard to disk and 
 > CD/DVD drives
 > 
 > ATA = Command language spoken by _hard_drives_ that are connected via
 > IDE or SATA
 > 
 > ATAPI = Command language, similar to SCSI, that is spoken by CD/DVD 
 > drives over IDE and SATA
 > 
 > There is no such a thing as an ATA DVD drive, but there are ATAPI DVD
 > drives.  The interesting question is whether yours is IDE or SATA.
 > 
 > Scott
 > 
 > Christian Gusenbauer wrote:
 > > Hi Scott!
 > > 
 > > I'm talking about an ATA DVD writer.
 > > 
 > > Ciao,
 > > Christian.
 > > 
 > > -------- Original-Nachricht --------
 > > Datum: Wed, 25 Apr 2007 15:08:54 -0600
 > > Von: Scott Long <scottl@samsco.org>
 > > An: Christian Gusenbauer <c47g@gmx.at>
 > > CC: josh.carroll@gmail.com, Thomas Quinot <thomas@freebsd.org>,
 > freebsd-scsi@freebsd.org, bug-followup@freebsd.org
 > > Betreff: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no
 > disc is in
 > > 
 > >> Are you talking about an ATA disk drive or a SATA CDROM drive?
 > >>
 > >> Scott
 > >>
 > >>
 > >> Christian Gusenbauer wrote:
 > >>> Hi Josh!
 > >>>
 > >>> Thanks for your patch. But unfortunately, my problem is a little bit
 > >> different 
 > >>> to yours. I get the errors when accessing the ATA drive using
 > /dev/acd0.
 > >> My 
 > >>> problem doesn't seem to be ATAPI-CAM related.
 > >>>
 > >>> So, I'm glad that obviously Thomas' last patch solved your problem,
 > but
 > >> I' 
 > >>> afraid, it is not the solution for my problem :-(.
 > >>>
 > >>> Ciao,
 > >>> Christian.
 > >>>
 > >>> On Wednesday, 25. April 2007, Josh Carroll wrote:
 > >>>> I used the following patch (attached) against a RELENG_6_2 src tree,
 > >>>> and it's working brilliantly. No problems to speak of. I can boot
 > with
 > >>>> atapicam in the kernel without a disk in the drive and there were no
 > >>>> hangs at all.
 > >>>>
 > >>>> The sg_readcap command still gives (immediately):
 > >>>>
 > >>>> READ CAPACITY (10) failed, device not ready
 > >>>>
 > >>>> I was able to burn a DVD-R with growisofs and blank and burn a CD-RW
 > >>>> with cdrecord. So all seems well, though I'll continue to keep an eye
 > >>>> on it.
 > >>>>
 > >>>> I'm not sure which patches need to be committed, etc. But I wanted to
 > >>>> include the cumulative patch against the 6.2-R src in case it helps
 > >>>> you decide which code to commit to -CURRENT/etc.
 > >>>>
 > >>>> Christian - can you give the attached patch a shot if you've got a
 > >>>> 6.2-R kernel/install handy on your P5B-E?
 > >>>>
 > >>>> Thanks for all your help Thomas!
 > >>>> Josh
 > >>>
 > > 
 
 -- 
 "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
 Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/103602: commit references a PR
Date: Mon, 30 Apr 2007 09:34:04 +0000 (UTC)

 thomas      2007-04-30 09:33:57 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/dev/ata          atapi-cam.c 
   Log:
   (atapi_action, case XPT_SCSI_IO): Enable DMA only for READ and WRITE commands
    as some combinations of chipset, controller and target do not behave
    correctly when DMA is enabled for other commands.
   
   PR:             kern/103602
   MFC after:      2 weeks
   
   Revision  Changes    Path
   1.53      +19 -4     src/sys/dev/ata/atapi-cam.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: Josh Carroll <josh.carroll@gmail.com>
Cc: Scott Long <scottl@samsco.org>, freebsd-scsi@freebsd.org,
	bug-followup@freebsd.org, c47g@gmx.at
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Mon, 30 Apr 2007 11:45:15 +0200

 * Josh Carroll, 2007-04-25 :
 
 > I used the following patch (attached) against a RELENG_6_2 src tree,
 > and it's working brilliantly. No problems to speak of. I can boot with
 > atapicam in the kernel without a disk in the drive and there were no
 > hangs at all.
 
 Good! It's relieving that we have finally zeroed in on this one!
 
 I have committed the DMA change to HEAD; I'll wait a bit for things to
 stabilize before merging it into RELENG_6.
 
 Now it would be interesting to test whether the scsi_cd and cam_xpt
 changes are still required in your configuration, or whether they were
 just working around the real underlying issue.
 
 You'll find attached to this message a patch against RELENG_6
 atapi-cam.c (which includes the DMA fix and also a related error
 handling fix from kern/112119). Could you please test whether
 a kernel with:
   - just this patch;
   - this patch + the cam_xpt change (CAM_QUIRK_NOSERIAL)
 works for you?
 
 Thanks!
 Thomas.
 
 Index: atapi-cam.c
 ===================================================================
 RCS file: /space/mirror/ncvs/src/sys/dev/ata/atapi-cam.c,v
 retrieving revision 1.42.2.3
 diff -u -r1.42.2.3 atapi-cam.c
 --- atapi-cam.c	29 Mar 2007 20:08:32 -0000	1.42.2.3
 +++ atapi-cam.c	30 Apr 2007 09:39:46 -0000
 @@ -513,10 +513,10 @@
  
  	switch (ccb_h->flags & CAM_DIR_MASK) {
  	case CAM_DIR_IN:
 -	     request_flags |= ATA_R_READ|ATA_R_DMA;
 +	     request_flags |= ATA_R_READ;
  	     break;
  	case CAM_DIR_OUT:
 -	     request_flags |= ATA_R_WRITE|ATA_R_DMA;
 +	     request_flags |= ATA_R_WRITE;
  	     break;
  	case CAM_DIR_NONE:
  	     /* No flags need to be set */
 @@ -525,8 +525,6 @@
  	     device_printf(softc->dev, "unknown IO operation\n");
  	     goto action_invalid;
  	}
 -	if (softc->atadev[tid]->mode < ATA_DMA)
 -	    request_flags &= ~ATA_R_DMA;
  
  	if ((hcb = allocate_hcb(softc, unit, bus, ccb)) == NULL) {
  	    printf("cannot allocate ATAPI/CAM hcb\n");
 @@ -591,7 +589,24 @@
  	    request->u.atapi.ccb[3] = request->u.atapi.ccb[1] & 0x1f;
  	    request->u.atapi.ccb[2] = 0;
  	    request->u.atapi.ccb[1] = 0;
 +	    /* FALLTHROUGH */
 +
 +	case READ_10:
 +	    /* FALLTHROUGH */
 +	case WRITE_10:
 +	    /* FALLTHROUGH */
 +	case READ_12:
 +	    /* FALLTHROUGH */
 +	case WRITE_12:
 +	    /*
 +	     * Enable DMA (if target supports it) for READ and WRITE commands
 +	     * only, as some combinations of drive, controller and chipset do
 +	     * not behave correctly when DMA is enabled for other commands.
 +	     */
 +	    if (softc->atadev[tid]->mode >= ATA_DMA)
 +		request_flags |= ATA_R_DMA;
  	    break;
 +
  	}
  
  	if ((ccb_h->flags & CAM_DIR_MASK) == CAM_DIR_IN && (len & 1)) {
 @@ -613,7 +628,7 @@
  
  	/*
  	 * no retries are to be performed at the ATA level; any retries
 -	 * will be done by CAM .
 +	 * will be done by CAM.
  	 */
  	request->retries = 0;
  
 @@ -726,7 +741,7 @@
  		 * issued a REQUEST SENSE automatically and that operation
  		 * returned without error.
  		 */
 -		if (request->u.atapi.saved_cmd != 0 && request->error == 0) {
 +		if (request->u.atapi.sense.key != 0 && request->error == 0) {
  		    bcopy (&request->u.atapi.sense, &csio->sense_data, sizeof(struct atapi_sense));
  		    csio->ccb_h.status |= CAM_AUTOSNS_VALID;
  		}

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "Scott Long" <scottl@samsco.org>, freebsd-scsi@freebsd.org, 
	bug-followup@freebsd.org, c47g@gmx.at
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Mon, 30 Apr 2007 18:27:17 -0700

 > Now it would be interesting to test whether the scsi_cd and cam_xpt
 > changes are still required in your configuration, or whether they were
 > just working around the real underlying issue.
 >
 > You'll find attached to this message a patch against RELENG_6
 > atapi-cam.c (which includes the DMA fix and also a related error
 > handling fix from kern/112119). Could you please test whether
 > a kernel with:
 >   - just this patch;
 >   - this patch + the cam_xpt change (CAM_QUIRK_NOSERIAL)
 > works for you?
 
 Hi Thomas,
 
 The patch alone works great! There was no need for the cam_xpt change,
 nor the scsi_cd change. I was able to blank and burn a CD-RW with the
 new kernel just fine with cdrecord.
 
 Thanks,
 Josh

From: "Josh Carroll" <josh.carroll@gmail.com>
To: "Thomas Quinot" <thomas@freebsd.org>
Cc: "Scott Long" <scottl@samsco.org>, freebsd-scsi@freebsd.org, 
	bug-followup@freebsd.org, c47g@gmx.at
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Mon, 30 Apr 2007 20:55:01 -0700

 > The patch alone works great! There was no need for the cam_xpt change,
 > nor the scsi_cd change. I was able to blank and burn a CD-RW with the
 > new kernel just fine with cdrecord.
 
 I forgot to mention, I applied the patch against the 6.2-RELEASE-p4
 source. Two of the hunks failed, but the first was just a different
 between a comment "CAM ." versus "CAM.", so I left that alone. The
 second was because of an if not including the second part of the if
 condition. So I manually made that change. Below is the patch I used
 against RELENG_6_2 src, just in case someone needs it.
 
 Thanks,
 Josh
 
 
 diff -urN sys.old/dev/ata/atapi-cam.c sys/dev/ata/atapi-cam.c
 --- sys.old/dev/ata/atapi-cam.c	Mon Apr 30 20:52:07 2007
 +++ sys/dev/ata/atapi-cam.c	Mon Apr 30 20:53:15 2007
 @@ -505,10 +505,10 @@
 
  	switch (ccb_h->flags & CAM_DIR_MASK) {
  	case CAM_DIR_IN:
 -	     request_flags |= ATA_R_READ|ATA_R_DMA;
 +             request_flags |= ATA_R_READ;
  	     break;
  	case CAM_DIR_OUT:
 -	     request_flags |= ATA_R_WRITE|ATA_R_DMA;
 +             request_flags |= ATA_R_WRITE;
  	     break;
  	case CAM_DIR_NONE:
  	     /* No flags need to be set */
 @@ -517,8 +517,6 @@
  	     device_printf(softc->dev, "unknown IO operation\n");
  	     goto action_invalid;
  	}
 -	if (softc->atadev[tid]->mode < ATA_DMA)
 -	    request_flags &= ~ATA_R_DMA;
 
  	if ((hcb = allocate_hcb(softc, unit, bus, ccb)) == NULL) {
  	    printf("cannot allocate ATAPI/CAM hcb\n");
 @@ -580,7 +578,24 @@
  	    request->u.atapi.ccb[3] = request->u.atapi.ccb[1] & 0x1f;
  	    request->u.atapi.ccb[2] = 0;
  	    request->u.atapi.ccb[1] = 0;
 +            /* FALLTHROUGH */
 +
 +        case READ_10:
 +            /* FALLTHROUGH */
 +        case WRITE_10:
 +            /* FALLTHROUGH */
 +        case READ_12:
 +            /* FALLTHROUGH */
 +        case WRITE_12:
 +            /*
 +             * Enable DMA (if target supports it) for READ and WRITE commands
 +             * only, as some combinations of drive, controller and chipset do
 +             * not behave correctly when DMA is enabled for other commands.
 +             */
 +            if (softc->atadev[tid]->mode >= ATA_DMA)
 +                request_flags |= ATA_R_DMA;
  	    break;
 +
  	}
 
  	if ((ccb_h->flags & CAM_DIR_MASK) == CAM_DIR_IN && (len & 1)) {
 @@ -702,7 +717,7 @@
  	    return;
  #else
  	    /* The ATA driver has already requested sense for us. */
 -	    if (request->error == 0) {
 +		if (request->u.atapi.sense.key != 0 && request->error == 0) {
  		/* The ATA autosense suceeded. */
  		bcopy (&request->u.atapi.sense, &csio->sense_data, sizeof(struct
 atapi_sense));
  		csio->ccb_h.status |= CAM_AUTOSNS_VALID;
State-Changed-From-To: open->patched 
State-Changed-By: thomas 
State-Changed-When: Tue May 1 09:23:16 UTC 2007 
State-Changed-Why:  
Fix committed to HEAD; submitter reports that no additional patch 
is necessary. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103602 

From: Thomas Quinot <thomas@FreeBSD.ORG>
To: Josh Carroll <josh.carroll@gmail.com>
Cc: Scott Long <scottl@samsco.org>, freebsd-scsi@freebsd.org,
	bug-followup@freebsd.org, c47g@gmx.at
Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in
Date: Tue, 1 May 2007 11:22:57 +0200

 * Josh Carroll, 2007-05-01 :
 
 > The patch alone works great! There was no need for the cam_xpt change,
 > nor the scsi_cd change. I was able to blank and burn a CD-RW with the
 > new kernel just fine with cdrecord.
 
 Great, this means that this is all fixed in HEAD now.
 Thanks for your help and patience in investigating this issue!
 
 Thomas.
 
State-Changed-From-To: patched->closed 
State-Changed-By: thomas 
State-Changed-When: Tue May 15 16:19:56 UTC 2007 
State-Changed-Why:  
Patch MFC'd. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103602 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/103602: commit references a PR
Date: Tue, 15 May 2007 16:20:06 +0000 (UTC)

 thomas      2007-05-15 16:19:43 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     sys/dev/ata          atapi-cam.c 
   Log:
   MFC rev. 1.53:
   (atapi_action, case XPT_SCSI_IO): Enable DMA only for READ and WRITE commands
    as some combinations of chipset, controller and target do not behave
    correctly when DMA is enabled for other commands.
   
   PR:             kern/103602
   
   Revision  Changes    Path
   1.42.2.5  +19 -4     src/sys/dev/ata/atapi-cam.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/103602: commit references a PR
Date: Sat,  5 Dec 2009 13:41:04 +0000 (UTC)

 Author: mav
 Date: Sat Dec  5 13:40:51 2009
 New Revision: 200121
 URL: http://svn.freebsd.org/changeset/base/200121
 
 Log:
   Do not ignore device interrupt if bus mastering is still active. It is
   normal in case of media read error and some ATAPI cases, when transfer size
   is unknown beforehand. PCI ATA BM specification tells that in case of such
   underrun driver should just manually stop DMA engine. DMA engine should
   same time guarantie that all bus mastering transfers completed at the moment
   of driver reads interrupt flag asserted.
   This change should fix interrupt storms and command timeouts in many cases.
   
   PR:		kern/103602, sparc64/121539, kern/133122, kern/139654
 
 Modified:
   head/sys/dev/ata/ata-pci.c
 
 Modified: head/sys/dev/ata/ata-pci.c
 ==============================================================================
 --- head/sys/dev/ata/ata-pci.c	Sat Dec  5 13:12:04 2009	(r200120)
 +++ head/sys/dev/ata/ata-pci.c	Sat Dec  5 13:40:51 2009	(r200121)
 @@ -462,8 +462,7 @@ ata_pci_status(device_t dev)
  	 (ch->dma.flags & ATA_DMA_ACTIVE))) {
  	int bmstat = ATA_IDX_INB(ch, ATA_BMSTAT_PORT) & ATA_BMSTAT_MASK;
  
 -	if ((bmstat & (ATA_BMSTAT_ACTIVE | ATA_BMSTAT_INTERRUPT)) !=
 -	    ATA_BMSTAT_INTERRUPT)
 +	if ((bmstat & ATA_BMSTAT_INTERRUPT) == 0)
  	    return 0;
  	ATA_IDX_OUTB(ch, ATA_BMSTAT_PORT, bmstat & ~ATA_BMSTAT_ERROR);
  	DELAY(1);
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: Alexander Best <alexbestms@wwu.de>
To: <bug-followup@FreeBSD.org>,
 <josh.carroll@gmail.com>
Cc:  
Subject: Re: kern/103602: [atapicam] atapi device not working on JMicron 363
 Controller
Date: Sun, 06 Dec 2009 17:05:14 +0100 (CET)

 although this pr has been closed it still exists in all branches and HEAD. the
 changes made in r200121 however finally solve this the issues described in
 this problem report though.
 
 please re-open this pr and set it into patched state. more information can
 also be found in kern/133122 which is a duplicate of this pr however and
 should be closed.
 
 cheers.
 alex
State-Changed-From-To: closed->patched 
State-Changed-By: linimon 
State-Changed-When: Sun Dec 6 22:38:15 UTC 2009 
State-Changed-Why:  
Set as MFC reminder for r200121, per followup from Alexander Best. 


Responsible-Changed-From-To: thomas->mav 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Dec 6 22:38:15 UTC 2009 
Responsible-Changed-Why:  
Over to committer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103602 
State-Changed-From-To: patched->closed 
State-Changed-By: mav 
State-Changed-When: Wed Dec 9 17:23:43 UTC 2009 
State-Changed-Why:  
Patch merged to 7/8-STABLE. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103602 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/103602: commit references a PR
Date: Wed,  9 Dec 2009 17:20:22 +0000 (UTC)

 Author: mav
 Date: Wed Dec  9 17:20:10 2009
 New Revision: 200297
 URL: http://svn.freebsd.org/changeset/base/200297
 
 Log:
   MFC r200121:
   Do not ignore device interrupt if bus mastering is still active. It is
   normal in case of media read error and some ATAPI cases, when transfer size
   is unknown beforehand. PCI ATA BM specification tells that in case of such
   underrun driver should just manually stop DMA engine. DMA engine should
   same time guarantie that all bus mastering transfers completed at the moment
   of driver reads interrupt flag asserted.
   This change fixes interrupt storms and command timeouts in many cases.
   
   PR:             kern/103602, sparc64/121539, kern/133122, kern/139654
 
 Modified:
   stable/8/sys/dev/ata/ata-pci.c
 Directory Properties:
   stable/8/sys/   (props changed)
   stable/8/sys/amd64/include/xen/   (props changed)
   stable/8/sys/cddl/contrib/opensolaris/   (props changed)
   stable/8/sys/contrib/dev/acpica/   (props changed)
   stable/8/sys/contrib/pf/   (props changed)
   stable/8/sys/dev/xen/xenpci/   (props changed)
 
 Modified: stable/8/sys/dev/ata/ata-pci.c
 ==============================================================================
 --- stable/8/sys/dev/ata/ata-pci.c	Wed Dec  9 17:11:09 2009	(r200296)
 +++ stable/8/sys/dev/ata/ata-pci.c	Wed Dec  9 17:20:10 2009	(r200297)
 @@ -462,8 +462,7 @@ ata_pci_status(device_t dev)
  	 (ch->dma.flags & ATA_DMA_ACTIVE))) {
  	int bmstat = ATA_IDX_INB(ch, ATA_BMSTAT_PORT) & ATA_BMSTAT_MASK;
  
 -	if ((bmstat & (ATA_BMSTAT_ACTIVE | ATA_BMSTAT_INTERRUPT)) !=
 -	    ATA_BMSTAT_INTERRUPT)
 +	if ((bmstat & ATA_BMSTAT_INTERRUPT) == 0)
  	    return 0;
  	ATA_IDX_OUTB(ch, ATA_BMSTAT_PORT, bmstat & ~ATA_BMSTAT_ERROR);
  	DELAY(1);
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/103602: commit references a PR
Date: Wed,  9 Dec 2009 17:23:17 +0000 (UTC)

 Author: mav
 Date: Wed Dec  9 17:23:08 2009
 New Revision: 200298
 URL: http://svn.freebsd.org/changeset/base/200298
 
 Log:
   MFC r200121:
   Do not ignore device interrupt if bus mastering is still active. It is
   normal in case of media read error and some ATAPI cases, when transfer size
   is unknown beforehand. PCI ATA BM specification tells that in case of such
   underrun driver should just manually stop DMA engine. DMA engine should
   same time guarantie that all bus mastering transfers completed at the moment
   when driver reads interrupt flag asserted.
   This change fixes interrupt storms and command timeouts in many cases.
   
   PR:             kern/103602, sparc64/121539, kern/133122, kern/139654
 
 Modified:
   stable/7/sys/dev/ata/ata-pci.c
 Directory Properties:
   stable/7/sys/   (props changed)
   stable/7/sys/contrib/pf/   (props changed)
 
 Modified: stable/7/sys/dev/ata/ata-pci.c
 ==============================================================================
 --- stable/7/sys/dev/ata/ata-pci.c	Wed Dec  9 17:20:10 2009	(r200297)
 +++ stable/7/sys/dev/ata/ata-pci.c	Wed Dec  9 17:23:08 2009	(r200298)
 @@ -445,8 +445,7 @@ ata_pci_status(device_t dev)
  		    (ch->dma->flags & ATA_DMA_ACTIVE))) {
  	int bmstat = ATA_IDX_INB(ch, ATA_BMSTAT_PORT) & ATA_BMSTAT_MASK;
  
 -	if ((bmstat & (ATA_BMSTAT_ACTIVE | ATA_BMSTAT_INTERRUPT)) !=
 -	    ATA_BMSTAT_INTERRUPT)
 +	if ((bmstat & ATA_BMSTAT_INTERRUPT) == 0)
  	    return 0;
  	ATA_IDX_OUTB(ch, ATA_BMSTAT_PORT, bmstat & ~ATA_BMSTAT_ERROR);
  	DELAY(1);
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
