I'm not sure yet if it's a hardware problem. Here is the symptom: - asrock dual sataII motherboard - hard-drive on the SATA II (unique) slot - optical device on a SATA I (first) slot In 90% cases, when I plug my printer (Epson CX 6400) to any of the USB ports I get a SATA error (and a kernel reboot in most cases). It even happens if I physically touch an inside part of the USB female port with the male printer connector (printer powered-off). From what I can say (but didn't tested enough), if sr_mod is removed the bug isn't triggered. (sr_mod handles the optical device and is in no much way related to the USB) If I load sr_mod after having successfully plugged the printer, an "CPU / hardware error" failure arises (which I haven't logged yet) Attached is lspcsi -kvnn and follows a kernel trace of a partial SATA error (in this case the SATA controller seems to have been able to survive through a soft-reset). The fact that plugging could success when sr_mod is not loaded could be seen as a clue in the direction of a software bug. Reproducible: Always Actual Results: Dec 12 17:42:55 home kernel: [174559.832623] ata2.00: exception Emask 0x12 SAct 0x0 SErr 0x48d0401 action 0xe frozen Dec 12 17:42:55 home kernel: [174559.832727] ata2.00: ST_FIRST: !(DRQ|ERR|DF) Dec 12 17:42:55 home kernel: [174559.832775] ata2: SError: { RecovData Proto PHYRdyChg CommWake 10B8B LinkSeq DevExch } Dec 12 17:42:55 home kernel: [174559.832862] sr 1:0:0:0: CDB: Dec 12 17:42:55 home kernel: [174559.832896] Get event status notification: 4a 01 00 00 10 00 00 00 08 00 Dec 12 17:42:55 home kernel: [174559.833014] ata2.00: cmd a0/00:00:00:08:00/00:00:00:00:00/a0 tag 0 pio 16392 in Dec 12 17:42:55 home kernel: [174559.833014] res 50/00:00:00:08:00/00:00:00:00:00/a0 Emask 0x12 (ATA bus error) Dec 12 17:42:55 home kernel: [174559.833161] ata2.00: status: { DRDY } Dec 12 17:42:56 home kernel: [174560.548049] ata2: soft resetting link Dec 12 17:42:56 home kernel: [174560.704077] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300) Dec 12 17:42:56 home kernel: [174560.760303] ata2.00: configured for UDMA/100 Dec 12 17:42:56 home kernel: [174560.763591] ata2: EH complete
Created attachment 365172 [details] Asrock Dual SataII lspci -kvnn
1) Please post your `emerge --info' output in a comment.
I found a post where a user which an asrock board switched sata ports to solve this: " SATA cables from the SATA3_A0_A1 ports to the SATA3_0_1 ports." Not sure what your MB has on it. Can you take a look?
My motherboard has no SATA3 and I don't really understand what means the sentence you quoted (do you have an online source/thread ?) But I interpret this as a hint in the direction of switching the optical drive from one sata port to the other. I'll try this. I've not yet taken the time to dig more into this issue (... but if this one end up being about hardware, then it'd not be the only one of this MB) thank for your interest !
Please let us know if you attempted the switch and what the results were. Thanks.