On Fri, Aug 18, 2017 at 7:14 AM, Andrei Borzenkov <arvidjaar@gmail.com> wrote:
Отправлено с iPhone
17 авг. 2017 г., в 17:26, Roger Oberholtzer <roger.oberholtzer@gmail.com> написал(а):
On Thu, Aug 17, 2017 at 4:13 PM, Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
I am seeing a message in my logs for a disk identified as 'ata12'.
[ 540.600343] ata12: SATA link down (SStatus 0 SControl 310) [ 540.600365] ata12: EH complete [ 540.602844] ata12: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0xe frozen [ 540.602845] ata12: irq_stat 0x80000040, connection status changed [ 540.602847] ata12: SError: { CommWake DevExch } [ 540.602851] ata12: limiting SATA link speed to 1.5 Gbps [ 540.602852] ata12: hard resetting link
This does not look promising.
Oddly, I do not know which disk this is. I am guessing that the '12' is the same as I see with lsscsi:
[12:0:0:0] disk Generic Ultra HS-SD/MMC 1.82 /dev/sdg
And that one is some USB disk that I am fairly certain is not connected anywhere. All known disks are accounted for.
/dev/sdg is /dev/disk/by-id/usb-Generic_Ultra_HS-SD_MMC_F120C6023A1B-0:0
If I check the USB devices, a likely culprit is:
Bus 003 Device 005: ID 0424:4060 Standard Microsystems Corp. Ultra Fast Media Reader
So I an guessing that on the motherboard there is such a thing. But there is no connection on the outside of the box. I am not using or needing it.
Is there any way to disable a device like this so that it 'goes away'? The messages in the system log appear every second or so. I don't need the clutter...
I tried this udev rule, but it made no difference:
ACTION=="add", ATTR{idVendor}=="0424", ATTR{idProduct}=="4060", RUN="/bin/sh -c 'echo 0 >/sys/\$devpath/authorized'"
That is very elaborate way for doing
ATTR{authorized}="0"
I have set my rule to this, but the message still happens. ACTION=="add", ATTR{idVendor}=="0424", ATTR{idProduct}=="4060", ATTR{authorized}="0" I think the suspected USB device is disabled. I still see it is lsusb: Bus 003 Device 017: ID 0424:4060 Standard Microsystems Corp. Ultra Fast Media Reader But it is no longer listed as a device by lsscsi. Nonetheless, I see this in the log (every 2 seconds or so): [407553.031322] ata12: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0xe frozen [407553.031331] ata12: irq_stat 0x80000040, connection status changed [407553.031335] ata12: SError: { CommWake DevExch } [407553.031346] ata12: limiting SATA link speed to 1.5 Gbps [407553.031350] ata12: hard resetting link I am fairly certain that this was the USB device causing the message. Was my logic in determining which device is ata12 incorrect? I figured is was this listed by lsscsi: [12:0:0:0] disk Generic Ultra HS-SD/MMC 1.82 /dev/sdg -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org