Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2011 09:34:15 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        freebsd-scsi@freebsd.org, freebsd-current@freebsd.org, John Baldwin <jhb@freebsd.org>
Subject:   Re: multiple issues with devstat_*(9)
Message-ID:  <20110411093415.GA87477@freebsd.org>
In-Reply-To: <4DA2C14F.60905@FreeBSD.org>
References:  <20110331223339.GA13682@freebsd.org> <201104010843.47367.jhb@freebsd.org> <20110404204316.GA11367@freebsd.org> <4D9D9917.3030102@FreeBSD.org> <20110410115644.GA55815@freebsd.org> <4DA210D3.5090807@FreeBSD.org> <20110411025646.GA46088@freebsd.org> <4DA2A33B.8010807@FreeBSD.org> <20110411083821.GA80320@freebsd.org> <4DA2C14F.60905@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon Apr 11 11, Alexander Motin wrote:
> Alexander Best wrote:
> > On Mon Apr 11 11, Alexander Motin wrote:
> >> Alexander Best wrote:
> >>> my cd0 is a pata atapi dvdrom drive and i have the following in my kernel conf:
> >>>
> >>> device          atacore
> >>> device          ahci
> >>> device          atajmicron
> >>> device          atapci
> >>> #device         atapicd
> >>> device          atapicam
> >>>
> >>> device          umass
> >>> device          scbus
> >>> device          cd
> >>> device          pass
> >>> device          da
> >>> device          random
> >>> device          pty
> >>> device          md
> >>>
> >>> the dmesg entries for cd0 are:
> >>>
> >>> cam_periph_alloc: attempt to re-allocate valid device cd0 rejected
> >>> cdasync: Unable to attach new device due to status 0x6
> >>> cd0 at ata2 bus 0 scbus8 target 0 lun 0
> >>> cd0: <HL-DT-ST DVDRAM GSA-H10N JL12> Removable CD-ROM SCSI-0 device 
> >>> cd0: 3.300MB/s transfers
> >>> cd0: cd present [2149024 x 2048 byte records]
> >> Aha, that's it. It is atapicam's lie. atapicam is one of a things that
> >> will go away during migration to CAM ATA. If you remove `device
> >> atapicam`, but add `options ATA_CAM` instead, CAM will manage that bus
> >> directly and report it as ATA.
> > 
> > thanks for the hint. i also read the following in the ahci(4) man page:
> > 
> > "     Driver features include support for Serial ATA and ATAPI devices, ..."
> > 
> > ...does that mean that my DVD drive can also attach to the ahci driver?
> 
> If it is SATA and you connect it to AHCI controller -- yes, it will work
> with ahci(4) controller driver.

no it's PATA. thanks for the help. i'll remove atapicam from my kernel conf
and add ATA_CAM.

maybe we could have a list of supported controllers in the ahci(4) man page.

will the ataahci driver also dissapear soon?

cheers.
alex

> 
> -- 
> Alexander Motin

-- 
a13x



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110411093415.GA87477>