linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-scsi@vger.kernel.org
Subject: [Bug 204769] SCSI devices missing for disks attached to controller
Date: Wed, 04 Sep 2019 15:58:25 +0000	[thread overview]
Message-ID: <bug-204769-11613-YYoO4Gb6do@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-204769-11613@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=204769

--- Comment #1 from loberman@redhat.com ---
On Wed, 2019-09-04 at 15:18 +0000, bugzilla-daemon@bugzilla.kernel.org
wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=204769
> 
>             Bug ID: 204769
>            Summary: SCSI devices missing for disks attached to
> controller
>            Product: SCSI Drivers
>            Version: 2.5
>     Kernel Version: 5.12.11
>           Hardware: Intel
>                 OS: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: AACRAID
>           Assignee: scsi_drivers-aacraid@kernel-bugs.osdl.org
>           Reporter: linux@lanrules.de
>         Regression: No
> 
> We use an Adaptec ASR8405 RAID controller with LSI backplane. The
> RAID
> controller is configured to expose attached disks to the system
> ("Expose RAW").
> 
> Up to Linux 5.1.12, devices would show as expected. lsscsi -v
> reports:
> > [0:0:0:0]    disk    ASR8405  storage          V1.0  /dev/sda
> >   dir: /sys/bus/scsi/devices/0:0:0:0 
> >  
> > [/sys/devices/pci0000:60/0000:60:03.1/0000:61:00.0/host0/target0:0:
> > 0/0:0:0:0]
> > [0:1:4:0]    disk    ATA      HGST HUH721212AL T3D0  -
> >   dir: /sys/bus/scsi/devices/0:1:4:0 
> >  
> > [/sys/devices/pci0000:60/0000:60:03.1/0000:61:00.0/host0/target0:1:
> > 4/0:1:4:0]
> > [0:1:5:0]    disk    ATA      HGST HUH721212AL T3D0  -
> >   dir: /sys/bus/scsi/devices/0:1:5:0 
> >  
> > [/sys/devices/pci0000:60/0000:60:03.1/0000:61:00.0/host0/target0:1:
> > 5/0:1:5:0]
> > [0:1:6:0]    disk    ATA      HGST HUH721212AL T3D0  -
> >   dir: /sys/bus/scsi/devices/0:1:6:0 
> >  
> > [/sys/devices/pci0000:60/0000:60:03.1/0000:61:00.0/host0/target0:1:
> > 6/0:1:6:0]
> > [0:1:7:0]    disk    ATA      HGST HUH721212AL T3D0  -
> >   dir: /sys/bus/scsi/devices/0:1:7:0 
> >  
> > [/sys/devices/pci0000:60/0000:60:03.1/0000:61:00.0/host0/target0:1:
> > 7/0:1:7:0]
> > [0:1:8:0]    disk    ATA      HGST HUH721212AL T3D0  -
> >   dir: /sys/bus/scsi/devices/0:1:8:0 
> >  
> > [/sys/devices/pci0000:60/0000:60:03.1/0000:61:00.0/host0/target0:1:
> > 8/0:1:8:0]
> > [0:1:9:0]    disk    ATA      HGST HUH721212AL T3D0  -
> >   dir: /sys/bus/scsi/devices/0:1:9:0 
> >  
> > [/sys/devices/pci0000:60/0000:60:03.1/0000:61:00.0/host0/target0:1:
> > 9/0:1:9:0]
> > [0:1:10:0]   disk    ATA      HGST HUH721212AL T3D0  -
> >   dir: /sys/bus/scsi/devices/0:1:10:0 
> >  
> > [/sys/devices/pci0000:60/0000:60:03.1/0000:61:00.0/host0/target0:1:
> > 10/0:1:10:0]
> > [0:1:11:0]   disk    ATA      HGST HUH721212AL T3D0  -
> >   dir: /sys/bus/scsi/devices/0:1:11:0 
> >  
> > [/sys/devices/pci0000:60/0000:60:03.1/0000:61:00.0/host0/target0:1:
> > 11/0:1:11:0]
> > [0:1:12:0]   disk    ATA      HGST HUH721212AL T3D0  -
> >   dir: /sys/bus/scsi/devices/0:1:12:0 
> >  
> > [/sys/devices/pci0000:60/0000:60:03.1/0000:61:00.0/host0/target0:1:
> > 12/0:1:12:0]
> > [0:1:13:0]   disk    ATA      HGST HUH721212AL T3D0  -
> >   dir: /sys/bus/scsi/devices/0:1:13:0 
> >  
> > [/sys/devices/pci0000:60/0000:60:03.1/0000:61:00.0/host0/target0:1:
> > 13/0:1:13:0]
> > [0:3:0:0]    enclosu LSI      SAS3x36          0601  -
> >   dir: /sys/bus/scsi/devices/0:3:0:0 
> >  
> > [/sys/devices/pci0000:60/0000:60:03.1/0000:61:00.0/host0/target0:3:
> > 0/0:3:0:0]
> > [N:0:4:1]    dsk/nvm Samsung SSD 970 PRO
> > 1TB__1                 /dev/nvme0n1
> >   dir: /sys/class/nvme/nvme0/nvme0n1 
> >  
> > [/sys/devices/pci0000:10/0000:10:01.3/0000:13:00.0/nvme/nvme0/nvme0
> > n1]
> > [N:1:4:1]    dsk/nvm Samsung SSD 970 PRO
> > 1TB__1                 /dev/nvme1n1
> >   dir: /sys/class/nvme/nvme1/nvme1n1 
> >  
> > [/sys/devices/pci0000:10/0000:10:01.4/0000:14:00.0/nvme/nvme1/nvme1
> > n1]
> 
> On Linux 5.12.11, the devices are missing. lsscsi -v reports:
> > [0:0:0:0]    disk    ASR8405  storage          V1.0  /dev/sda
> >   dir: /sys/bus/scsi/devices/0:0:0:0 
> >  
> > [/sys/devices/pci0000:60/0000:60:03.1/0000:61:00.0/host0/target0:0:
> > 0/0:0:0:0]
> > [0:3:0:0]    enclosu LSI      SAS3x36          0601  -
> >   dir: /sys/bus/scsi/devices/0:3:0:0 
> >  
> > [/sys/devices/pci0000:60/0000:60:03.1/0000:61:00.0/host0/target0:3:
> > 0/0:3:0:0]
> > [N:1:4:1]    dsk/nvm Samsung SSD 970 PRO
> > 1TB__1                 /dev/nvme1n1
> >   dir: /sys/class/nvme/nvme0/nvme1n1 
> >  
> > [/sys/devices/pci0000:10/0000:10:01.3/0000:13:00.0/nvme/nvme0/nvme1
> > n1]
> > [N:0:4:1]    dsk/nvm Samsung SSD 970 PRO
> > 1TB__1                 /dev/nvme0n1
> >   dir: /sys/class/nvme/nvme1/nvme0n1 
> >  
> > [/sys/devices/pci0000:10/0000:10:01.4/0000:14:00.0/nvme/nvme1/nvme0
> > n1]
> 
> Output in dmesg is basically the same, except that the following
> lines are
> missing with the newer kernel:
> 
> > [   17.016661] scsi 0:1:4:0: Direct-Access     ATA      HGST
> > HUH721212AL T3D0
> > PQ: 1 ANSI: 6
> > [   17.018313] scsi 0:1:5:0: Direct-Access     ATA      HGST
> > HUH721212AL T3D0
> > PQ: 1 ANSI: 6
> > [   17.020129] scsi 0:1:6:0: Direct-Access     ATA      HGST
> > HUH721212AL T3D0
> > PQ: 1 ANSI: 6
> > [   17.022530] scsi 0:1:7:0: Direct-Access     ATA      HGST
> > HUH721212AL T3D0
> > PQ: 1 ANSI: 6
> > [   17.024291] scsi 0:1:8:0: Direct-Access     ATA      HGST
> > HUH721212AL T3D0
> > PQ: 1 ANSI: 6
> > [   17.026041] scsi 0:1:9:0: Direct-Access     ATA      HGST
> > HUH721212AL T3D0
> > PQ: 1 ANSI: 6
> > [   17.027725] scsi 0:1:10:0: Direct-Access     ATA      HGST
> > HUH721212AL
> > T3D0 PQ: 1 ANSI: 6
> > [   17.029395] scsi 0:1:11:0: Direct-Access     ATA      HGST
> > HUH721212AL
> > T3D0 PQ: 1 ANSI: 6
> > [   17.031145] scsi 0:1:12:0: Direct-Access     ATA      HGST
> > HUH721212AL
> > T3D0 PQ: 1 ANSI: 6
> > [   17.032672] scsi 0:1:13:0: Direct-Access     ATA      HGST
> > HUH721212AL
> > T3D0 PQ: 1 ANSI: 6
> 
> The only change on the system to obtain the different behavior is
> upgrade/downgrade of the kernel via kexec.

So the driver is loading as /dev/sda is being seen above.
Seems likely to be the enclosure then that is not being probed
[0:0:0:0]    disk    ASR8405  storage          V1.0  /dev/sda 
The enclosure looks like its on another port correct ?
0:1:x:x

I am looking at what may have changed in the latest commits
>

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2019-09-04 16:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-04 15:18 [Bug 204769] New: SCSI devices missing for disks attached to controller bugzilla-daemon
2019-09-04 15:58 ` Laurence Oberman
2019-09-04 15:58 ` bugzilla-daemon [this message]
2019-09-05  8:38 ` [Bug 204769] " bugzilla-daemon
2021-04-18  0:22 ` bugzilla-daemon
2023-01-05 13:57 ` bugzilla-daemon
2023-01-05 16:49 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-204769-11613-YYoO4Gb6do@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).