Bug 27753

Summary: ATA driver in FreeBSD 4.2 and later no longer recognizes CompactFlash Media reader
Product: Base System Reporter: kenson <kenson>
Component: kernAssignee: Søren Schmidt <sos>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   

Description kenson 2001-05-29 22:50:01 UTC
below is verbose bootlog from the failing kernel (4.2)

atapci0: <Intel ICH ATA66 controller> port 0xf000-0xf00f at device 31.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xf000
ata0: mask=03 status0=50 status1=05
ata0: mask=03 ostat0=00 ostat2=05
ata0-master: ATAPI probe a=00 b=00
ata0-slave: ATAPI probe a=05 b=05
ata0: mask=03 status0=50 status1=05
ata0-slave: ATA probe a=05 b=05
ata0: devices=00
ata0: at 0x1f0 irq 14 on atapci0
ata0: unwanted interrupt 1 status = 05

below is verbose bootlog from the working kernel (4.1.1-RELEASE)
(same hardware is used ofcourse)

atapci0: <Intel ICH ATA66 controller> port 0xf000-0xf00f at device 31.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xf000
ata0: mask=03 status0=50 status1=05
ata0: mask=03 status0=50 status1=05
ata0: devices = 0x1
ata0: at 0x1f0 irq 14 on atapci0
ata0-master: success setting PIO1 on generic chip
ad0: <Hitachi CVM1.1.1/Rev 1.01> ATA-0 disk at ata0 as master

Fix: 

No idea. But it probably involves changing the list of valid 
status-codes returned by ATA-devices so the code returned by 
this particular device is recognized as a valid value
How-To-Repeat: make one 4.2 kernel with ATA support and one 4.1.1 kernel
stick them both on same CompactFlash card and try booting thm
Comment 1 ru freebsd_committer freebsd_triage 2001-06-04 19:30:11 UTC
Responsible Changed
From-To: gnats-admin->freebsd-bugs

Misfiled.
Comment 2 Kris Kennaway freebsd_committer freebsd_triage 2001-07-13 01:03:31 UTC
Responsible Changed
From-To: freebsd-bugs->sos

Over to maintainer
Comment 3 Søren Schmidt freebsd_committer freebsd_triage 2001-09-06 10:25:38 UTC
State Changed
From-To: open->feedback

Does this still fail on 4.4 ?
Comment 4 Søren Schmidt freebsd_committer freebsd_triage 2001-09-06 13:48:56 UTC
State Changed
From-To: feedback->closed

Shame, anyhow I dont have any other complaints about this, so  
close this PR for now.