Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VAXServer 3100 firmware requests unsupported ModeSense page 37 (0x25) #1410

Closed
kkaempf opened this issue Jan 10, 2024 · 1 comment · Fixed by #1412
Closed

VAXServer 3100 firmware requests unsupported ModeSense page 37 (0x25) #1410

kkaempf opened this issue Jan 10, 2024 · 1 comment · Fixed by #1412

Comments

@kkaempf
Copy link
Contributor

kkaempf commented Jan 10, 2024

Info

  • Which version of Pi are you using: 3
  • Which github revision of software: HEAD of develop
  • Which board version: 2.3B
  • Which computer is the PiSCSI connected to: DEC VAXServer 3100 (KA41E V1.0)
  • Which OS you are using (output of 'lsb_release -a'): Debian 11 (bullseye)

Describe the issue

DEC's firmware, when scanning for SCSI devices, requests page 37 (0x25) via ModeSense6, which is unsupported.
The SCSI disk is not recognized as a result.

Since it works in simh I should be able to figure out how to fix it 🤞🏻

@kkaempf
Copy link
Contributor Author

kkaempf commented Jan 12, 2024

using sgmode (from scsirastools) I was able to capture the following:

open /dev/sda with flags=0x800
    inquiry cdb: [12 00 00 00 24 00]
      duration=4 ms
    mode sense(6) cdb: [1a 00 25 00 fc 00]
      duration=4 ms
    mode sense(6): pass-through requested 252 bytes (data-in), got 37 bytes
    mode sense(6): response:
24 00 00 08 00 06 40 c0  00 00 02 00 a5 17 01 00
00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
00 00 00 00 00
    DEC       RZ24     (C) DEC  211B   peripheral_type: disk [0x0]
Mode parameter header from MODE SENSE(6):
 00     24 00 00 08                                         $...
  Mode data length=37, medium type=0x00, WP=0, CAPPID=0, DpoFua=0, longlba=0
  Block descriptor length=8
> Direct access device block descriptors:
   Density code=0x0
 00     00 06 40 c0 00 00 02 00                             ..@.....

>> page_code: 0x25, page_control: current
 00     a5 17 01 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 10     00 00 00 00 00 00 00 00  00                         .........

kkaempf added a commit to kkaempf/piscsi that referenced this issue Jan 13, 2024
VAXServer 3100 (CPU KA41-E) console firmware issues ModeSense(6) page 37
when probing for disks. A disk won't be recognized if this returns an
error.

Fixes PiSCSI#1410

Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>
kkaempf added a commit to kkaempf/piscsi that referenced this issue Jan 14, 2024
VAXServer 3100 (CPU KA41-E) console firmware issues ModeSense(6)
page 0x25 when probing for disks. A disk won't be recognized if
this returns an error.

The DEC SCSI specification[1], section 8.5 documents this page.

[1] https://manx-docs.org/collections/antonio/dec/dec-scsi.pdf

Fixes PiSCSI#1410

Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>
kkaempf added a commit to kkaempf/piscsi that referenced this issue Jan 17, 2024
VAXServer 3100 (CPU KA41-E) console firmware issues ModeSense(6)
page 0x25 when probing for disks. A disk won't be recognized if
this returns an error.

The DEC SCSI specification[1], section 8.5 documents this page.

[1] https://manx-docs.org/collections/antonio/dec/dec-scsi.pdf

Fixes PiSCSI#1410

Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>
kkaempf added a commit to kkaempf/piscsi that referenced this issue Jan 18, 2024
VAXServer 3100 (CPU KA41-E) console firmware issues ModeSense(6)
page 0x25 when probing for disks. A disk won't be recognized if
this returns an error.

The DEC SCSI specification[1], section 8.5 documents this page.

[1] https://manx-docs.org/collections/antonio/dec/dec-scsi.pdf

Fixes PiSCSI#1410

Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>
rdmark pushed a commit that referenced this issue Jan 19, 2024
* Add ModeSense page 0x25 (DECSpecialFunctionControlPage)

VAXServer 3100 (CPU KA41-E) console firmware issues ModeSense(6)
page 0x25 when probing for disks. A disk won't be recognized if
this returns an error.

The DEC SCSI specification[1], section 8.5 documents this page.

[1] https://manx-docs.org/collections/antonio/dec/dec-scsi.pdf

Fixes #1410

Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>
kkaempf added a commit to kkaempf/piscsi that referenced this issue Apr 2, 2024
)

* Add ModeSense page 0x25 (DECSpecialFunctionControlPage)

VAXServer 3100 (CPU KA41-E) console firmware issues ModeSense(6)
page 0x25 when probing for disks. A disk won't be recognized if
this returns an error.

The DEC SCSI specification[1], section 8.5 documents this page.

[1] https://manx-docs.org/collections/antonio/dec/dec-scsi.pdf

Fixes PiSCSI#1410

Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>
rdmark pushed a commit that referenced this issue May 1, 2024
* Add ModeSense page 0x25 (DECSpecialFunctionControlPage)

VAXServer 3100 (CPU KA41-E) console firmware issues ModeSense(6)
page 0x25 when probing for disks. A disk won't be recognized if
this returns an error.

The DEC SCSI specification[1], section 8.5 documents this page.

[1] https://manx-docs.org/collections/antonio/dec/dec-scsi.pdf

Fixes #1410

Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant