What is ata2 ?

Rob spamrefuse at yahoo.com
Tue Apr 26 19:50:20 PDT 2005


Joel wrote:
> On Tue, 26 Apr 2005 18:44:18 -0700 (PDT)
> Rob <spamrefuse at yahoo.com> wrote
>>
>>I'm running FreeBSD on a range of PCs, from
>> Pentium-1 (60 MHz) to Pentium-4 (2.60GHz), though
>> none but one has a 'ata2' line in the dmesg output:
>>
>> ata0: channel #0 on atapci0
>> ata1: channel #1 on atapci0
>> ...
>> ata2: <Generic ESDI/IDE/ATA controller> at port
>>       0x36e-0x36f,0x168-0x16f irq 10 on isa0
>> ad0: 6149MB <QUANTUM FIREBALL EX6.4A/A0A.0D00>
>>      [13328/15/63] at ata0-master UDMA33
>> ad1: 4892MB <QUANTUM FIREBALL EL5.1A/A08.1100>
>>      [10602/15/63] at ata0-slave UDMA33
>> acd0: CDROM <GCR-8521B/1.02> at ata1-master PIO4
>>
>>What is so special about this particular PC, that
>>it has an ata2, unlike all other PCs I have?
>>
>>Can I add more than 4 disks (2 masters + 2 slaves)
>>to this PC? Or is this ata2 for something else?
> 
> From here, with the limited information you've
> provided, I'm guessing you can, if you have the
> cables and the spare power connectors.

I'm quite keen on trying to understand this.
So let me try to provide more information below.

As above lines show, the ata2 controller is on
interrupt 10:

 # vmstat -i
 interrupt                          total       rate
 irq0: clk                       10392173        100
 irq1: atkbd0                           1          0
 irq3: sio1                           219          0
 irq4: sio0                             1          0
 irq8: rtc                       13301014        128
 irq11: rl0 uhci0                  187119          1
 irq13: npx0                            1          0
 irq14: ata0                       491426          4
 irq15: ata1                           46          0
 Total                           24372000        234

But interrupt 10 is not there !?!

 # atacontrol list
 ATA channel 0:
    Master:  ad0 <QUANTUM FIREBALL EX6.4A/A0A.0D00>
             ATA/ATAPI revision 4
    Slave:   ad1 <QUANTUM FIREBALL EL5.1A/A08.1100>
             ATA/ATAPI revision 4
 ATA channel 1:
    Master: acd0 <GCR-8521B/1.02> ATA/ATAPI revision 0
    Slave:       no device present
 ATA channel 2:
    Master:      no device present
    Slave:       no device present

----------------------

You also mentioned USB possibility:
 # grep -i usb /var/run/dmesg.boot
 uhci0: <Intel 82371AB/EB (PIIX4) USB controller>
     port 0xe000-0xe01f irq 11 at device 7.2 on pci0
 usb0: <Intel 82371AB/EB (PIIX4) USB controller>
     on uhci0
 usb0: USB revision 1.0


What would you conclude from this?
Is this ata2 another IDE controller, so that I can
add 6 (instead of the normal 4) harddisks/cdroms etc.
to this computer?

Thanks,
Rob.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-questions mailing list