Re: Gigabyte i-Ram cards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeff Garzik wrote:
Bryan Fink wrote:
Jeff Garzik wrote:

I'm impressed. I ordered one to help debug BZ#6163, but I think these cards will help expose bugs in libata due to their high speed. With these cards, we can push more data through libata than would normally be possible with a standard disk drive.



Hi. I tried to respond on this topic about a week ago, but I haven't seen my response show up on any of the mirrors, so I think it must have not made it through.

Anyway, I just wanted to add that I am also fiddling with the Gigabyte i-Ram. I haven't tried modifying and recompiling the kernel yet, but I did have some success another way:

My desktop is a Dell Dimension 5150. In the BIOS, I can set the "SATA Operation" to either "SATA" or "RAID". If I set it to RAID, linux will see the i-RAM just fine (under Ubuntu 5.10 Live CD). It loads ahci, and just takes off. If I have the setting on SATA, then linux does not load ahci, and does not talk to the i-RAM.

Of note is also the fact that Windows has no issue with talking to the i-RAM when my system is in SATA-mode.

So, I guess the question is, are Windows and my BIOS ignoring this "invalid" feature query reply, or are the prodding the card in some way other than how linux does, which makes the card respond properly?

Your description seems to imply this is a BIOS+driver issue, not anything related to the gigabyte card.

Intel ICH boards can be driven using either the ata_piix or the ahci driver, depending on BIOS mode. Most likely, when you switched to SATA mode in BIOS, it started programming the motherboard to boot in IDE-compatible mode (ata_piix) rather than SATA FIS mode (ahci).


Hello, Bryan, Jeff.

iRam is not detected if the controller is configured as legacy mode because then ata_piix got attached and it checks diagnostic code which iRam fails to report properly. On the other hand, if you configure it as AHCI (or RAID), the ahci driver gets attached which accidentally doesn't check the diagnostic code, so the iRam is detected normally and can be used. sata_sil24 also doesn't check the diagnostic code, so iRam would work with sil24 too.

Well, apparently, BIOS and Windows driver don't check the diagnostic code and that's probably why gigabyte missed it. I'm voting for joining the crowd and ignoring it (with a warning). We have plenty of other mechanisms to verify attached devices and giving users an opportunity to try seemingly failing device isn't a bad idea.

--
tejun

-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux