Skip to contentSkip to conversation

Question regarding FUA state

DISCUSSION Michal Soltys 2 participants 2 messages Jul 22, 2009 – Jul 23, 2009 libata

lore
Share & tools
lore
#0 lore raw

What is the current state of fua ?

While peeking over older (mainly 2007ish) threads, there was some discussion about it - whenever it should or shouldn't be enabled by default, automatic blacklisting for certain controllers (some SiI 3xxx, others ...).

http://marc.info/?l=git-commits-head&m=114110310308542&w=2
http://marc.info/?t=117125096400001&r=2&w=2
http://marc.info/?t=117193493900004&r=1&w=2
http://marc.info/?t=118243369000005&r=1&w=2

Current state is "disabled by default", but simple libata module parameter can enable it. How safe is that these days, and if enabled, will problematic chipsets be blacklisted automtically ? (I didn't find anything in the sources suggesting it happens, but I didn't look too thoroughly either).

How do the following chipsets handle it:

- ICH8R and newer ones
- ATI's SB700/SB800 ones
- JMB36x
- which (if any) SiI chipsets are ok

#1 lore raw
Quoted 18 lines · Michal Soltys

What is the current state of fua ?

While peeking over older (mainly 2007ish) threads, there was some discussion about it - whenever it should or shouldn't be enabled by default, automatic blacklisting for certain controllers (some SiI 3xxx, others ...).

http://marc.info/?l=git-commits-head&m=114110310308542&w=2
http://marc.info/?t=117125096400001&r=2&w=2
http://marc.info/?t=117193493900004&r=1&w=2
http://marc.info/?t=118243369000005&r=1&w=2

Current state is "disabled by default", but simple libata module parameter can enable it. How safe is that these days, and if enabled, will problematic chipsets be blacklisted automtically ? (I didn't find anything in the sources suggesting it happens, but I didn't look too thoroughly either).

Quoted 6 lines

How do the following chipsets handle it:

- ICH8R and newer ones
- ATI's SB700/SB800 ones
- JMB36x
- which (if any) SiI chipsets are ok

AFAIK the only chipset that is known to have any problems are the SiI 311x, specifically with non-NCQ FUA writes (well, this chipset doesn't do NCQ anyway). In its case it seems to be because that chipset interprets the ATA command code in order to figure out what protocol is being used and it doesn't seem to know about the WRITE DMA FUA opcode. Looking at the docs it appears that the driver could work around this by issuing some vendor-specific commands to set the protocol for that command, but that code isn't currently in place.

Anything AHCI shouldn't care as the controller is not supposed to be interpreting the command code. It's possible that other SFF-type SATA controllers could have issues if they don't know about the FUA opcode.