Switch from legacy ata(4) to CAM-based ATA

Daniel Braniss danny at cs.huji.ac.il
Wed Apr 20 15:36:29 UTC 2011


> Bruce Cran wrote:
> > On Wed, 20 Apr 2011 12:57:47 +0300
> > Alexander Motin <mav at FreeBSD.org> wrote:
> > 
> >> If somebody has any problems with new ATA stack, please repeat your
> >> tests with latest HEAD code and contact me if problem is still there.
> >> Next three weeks before BSDCan I am going to dedicate to fixing
> >> possibly remaining issues.
> > 
> > I've not checked recently with -current, but at least on the
> > latest 8-stable there's a problem with using ATA_CAM on Xen: during boot
> > there's a pause for a minute after which "run_interrupt_driven_hooks:
> > still waiting after 60 seconds for xpt_config" is displayed.
> 
> Verbose dmesg from the fresh system would be appreciated.
> 
I have a similar problem, but it's under 8.2-stable:
...
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.2-STABLE #43 r4876: Fri Mar 25 12:00:48 IST 2011
    danny at rnd:/home/obj/rnd/r+d/stable/8/sys/HUJI amd64
Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff80f08000.
Preloaded elf obj module "/boot/kernel/geom_stripe.ko" at 0xffffffff80f081a8.
Preloaded elf obj module "/boot/kernel/ahci.ko" at 0xffffffff80f087d8.
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 2261016004 Hz
CPU: Intel(R) Xeon(R) CPU           E5507  @ 2.27GHz (2261.02-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x106a5  Family = 6  Model = 1a  Stepping = 5
  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,
  Features2=0x9ce3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant
real memory  = 25769803776 (24576 MB)
...
ums0: <Mouse> on usbus3
ums0: 3 buttons and [Z] coordinates ID=0
ata2: p0: SATA connect time=0ms status=00000113
ata2: p1: SATA connect timeout status=00000000
ata2: reset tp1 mask=03 ostat0=00 ostat1=00
ata2: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
ata2: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
ata2: reset tp2 stat0=00 stat1=00 devices=0x30000
(aprobe0:ata2:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 00 00 00
(aprobe0:ata2:0:1:0): CAM status: Command timeout
(aprobe0:ata2:0:1:0): SIGNATURE: eb14
run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
ata2: p0: SATA connect time=0ms status=00000113
ata2: p1: SATA connect timeout status=00000000
ata2: reset tp1 mask=03 ostat0=00 ostat1=00
ata2: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
ata2: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
ata2: reset tp2 stat0=00 stat1=00 devices=0x30000
(aprobe0:ata2:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 00 00 00
(aprobe0:ata2:0:1:0): CAM status: Command timeout
pass0 at ata2 bus 0 scbus0 target 0 lun 0
pass0: <TSSTcorp DVD+-RW TS-L633C D250> Removable CD-ROM SCSI-0 device 
pass0: Serial Number e1F3456789KLMN4P
pass0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
ATA PseudoRAID loaded
lapic22: CMCI unmasked
lapic0: CMCI unmasked
SMP: AP CPU #3 Launched!
lapic4: CMCI unmasked
lapic18: CMCI unmasked
...

cheers,
	danny




More information about the freebsd-current mailing list