Thread (8 messages) flat view 8 messages, 5 authors, 2012-08-30

Re: Which disk is ata4?

From: Jan Engelhardt <hidden>
Date: 2012-08-30 17:13:18
Also in: lkml

On Thursday 2012-08-30 18:57, Andy Lutomirski wrote:
On Thu, Aug 30, 2012 at 9:14 AM, Jan Engelhardt [off-list ref] wrote:
quoted
On Thursday 2012-08-30 06:38, Andy Lutomirski wrote:
quoted
One of my disks went out to lunch for a while.  Logs below.

[784786.047673] ata4.00: exception Emask 0x10 SAct 0x7800 SErr 0x0
action 0x6 frozen

Which one is it?  The only useful thing in /sys/class/ata_port/ata4 is
the device symlink, which points at
/sys/devices/pci0000:00/0000:00:1f.2/ata4.
For example, ata2 here:

$ cd /sys/devices
$ find . -name ata2
./pci0000:00/0000:00:1f.2/ata2
./pci0000:00/0000:00:1f.2/ata2/ata_port/ata2
$ cd ./pci0000:00/0000:00:1f.2/ata2
$ ls -dl host*/targ*
drwxr-xr-x 4 root root 0 Aug 30 18:09 host1/target1:0:0
Aha!  This works on 3.5 but not on 3.2.
3.4.x here..
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help