Skip to content

Instantly share code, notes, and snippets.

@Chester-Gillon
Last active June 22, 2024 20:47
Show Gist options
  • Save Chester-Gillon/7f42ed428c4249a9d00d22c036958d7d to your computer and use it in GitHub Desktop.
Save Chester-Gillon/7f42ed428c4249a9d00d22c036958d7d to your computer and use it in GitHub Desktop.
AlmaLinux old SCSI support

0. Introduction

This contains notes about trying to use some old SCSI hardware with AlmaLinux.

Found an old Adaptec AHA-2940AU 5 V PCI card. This has an external 50-pin high-density SE SCSI connector.

Inserted the AHA-2940AU in a Intel® Desktop Board DH67BL with a Intel(R) Core(TM) i5-2310 CPU. The card was shown as present by the BIOS. The option ROM reports version 1.34.2 from 1998.

1. AlmaLinux 8.10

With the installation ALmaLinux 8.10 with Kernel 4.18.0-553.5.1.el8_10.x86_64 there was initially no driver loaded for the card:

$ sudo lspci -vv -d 9004:
[sudo] password for mr_halfword: 
03:00.0 SCSI storage controller: Adaptec AIC-7861 (rev 03)
	Subsystem: Adaptec AHA-2940AU Single
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 32 (1000ns min, 1000ns max), Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 11
	Region 0: I/O ports at e000 [size=256]
	Region 1: Memory at fe410000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at fe400000 [disabled] [size=64K]
	Capabilities: [dc] Power Management version 1
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-

The card is connected via a IT8892E PCIe to PCI Bridge on the motherboard:

$ dump_info/dump_pci_info_pciutils 9004
domain=0000 bus=03 dev=00 func=00
  vendor_id=9004 (Adaptec) device_id=6178 (AIC-7861) subvendor_id=9004 subdevice_id=7861
  control: I/O+ Mem+ BusMaster+ ParErr- SERR- DisINTx-
  status: INTx- <ParErr- >TAbort- <TAbort- <MAbort- >SERR- DetParErr-
  bar[0] base_addr=e000 size=100 is_IO=1 is_prefetchable=0 is_64=0
  bar[1] base_addr=fe410000 size=1000 is_IO=0 is_prefetchable=0 is_64=0
  Capabilities: [dc] Power Management
  domain=0000 bus=02 dev=00 func=00
    vendor_id=1283 (Integrated Technology Express, Inc.) device_id=8892 (IT8892E PCIe to PCI Bridge)
    control: I/O+ Mem+ BusMaster+ ParErr- SERR- DisINTx-
    status: INTx- <ParErr- >TAbort- <TAbort- <MAbort- >SERR- DetParErr-
    Capabilities: [90] Power Management
    Capabilities: [a0] Bridge subsystem vendor/device ID
    domain=0000 bus=00 dev=1c func=00
      vendor_id=8086 (Intel Corporation) device_id=1c10 (6 Series/C200 Series Chipset Family PCI Express Root Port 1)
      driver=pcieport
      control: I/O+ Mem+ BusMaster+ ParErr- SERR- DisINTx+
      status: INTx- <ParErr- >TAbort- <TAbort- <MAbort- >SERR- DetParErr-
      Capabilities: [40] PCI Express v2 Root Port, MSI 0
        Link capabilities: Max speed 5.0 GT/s Max width x1
        Negotiated link status: Current speed 2.5 GT/s Width x1
        Link capabilities2: Not implemented
        DevCap: MaxPayload 128 bytes PhantFunc 0 Latency L0s Maximum of 64 ns L1 Maximum of 1 μs
                ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0.000W
        DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
                RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
        DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
        LnkCap: Port # 1 ASPM L0s and L1
                L0s Exit Latency 512 ns to less than 1 μs
                L1 Exit Latency 2 μs to less than 4 μs
                ClockPM- Surprise- LLActRep+ BwNot- ASPMOptComp-
        LnkCtl: ASPM Disabled RCB 64 bytes Disabled- CommClk-
                ExtSynch- ClockPM- AutWidDis- BWInt- ABWMgmt-
        LnkSta: TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt-
        SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
                Slot #0 PowerLimit 10.000W Interlock- NoCompl+
      Capabilities: [80] Message Signaled Interrupts
      Capabilities: [90] Bridge subsystem vendor/device ID
      Capabilities: [a0] Power Management

On a Ubuntu 22.04.4 LTS system the aic7xxx module supports the PCI identity for the AHA-2940AU.

Bug 0001174: elrepo for rhel 8 lacks aic7xxx SCSI driver notes that the aic7xxx was added to elrepo. Install the kmod-aic7xxx package:

$ sudo yum install kmod-aic7xxx
[sudo] password for mr_halfword: 
Extra Packages for Enterprise Linux 8 - x86_64  136 kB/s |  45 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64  1.2 MB/s |  14 MB     00:11    
Scooter Software                                5.0 kB/s | 2.9 kB     00:00    
Dependencies resolved.
================================================================================
 Package            Architecture Version                     Repository    Size
================================================================================
Installing:
 kmod-aic7xxx       x86_64       7.0-5.el8_10.elrepo         elrepo        77 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 77 k
Installed size: 286 k
Is this ok [y/N]: y
Downloading Packages:
kmod-aic7xxx-7.0-5.el8_10.elrepo.x86_64.rpm     955 kB/s |  77 kB     00:00    
--------------------------------------------------------------------------------
Total                                           187 kB/s |  77 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : kmod-aic7xxx-7.0-5.el8_10.elrepo.x86_64                1/1 
  Running scriptlet: kmod-aic7xxx-7.0-5.el8_10.elrepo.x86_64                1/1 
/sbin/ldconfig: /etc/ld.so.conf.d/kernel-ml-5.16.4-1.el8.elrepo.x86_64.conf:6: hwcap directive ignored
/sbin/ldconfig: /usr/lib64/llvm14/lib/libclang.so.13 is not a symbolic link


  Verifying        : kmod-aic7xxx-7.0-5.el8_10.elrepo.x86_64                1/1 

Installed:
  kmod-aic7xxx-7.0-5.el8_10.elrepo.x86_64                                       

Complete!

After installing the module, it should support the card PCI identity:

$ modinfo aic7xxx | grep 6178
alias:          pci:v00009004d00006178sv*sd*bc01sc00i*

Connected a YAMAHA CRW8424S CDRW drive in an external enclosure, with the SCSI bus ID set to 6, and rebooted the PC.

The aic7xxx module is loaded for the AHA-2940AU:

$ lspci -vv -d 9004:
03:00.0 SCSI storage controller: Adaptec AIC-7861 (rev 03)
	Subsystem: Adaptec AHA-2940AU Single
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 32 (1000ns min, 1000ns max), Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: I/O ports at e000 [disabled] [size=256]
	Region 1: Memory at fe410000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at fe400000 [disabled] [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: aic7xxx
	Kernel modules: aic7xxx

The SCSI adapter is recognised, and the CRW8424S shown as target 6:

$ cat /proc/scsi/aic7xxx/7 
Adaptec AIC7xxx driver version: 7.0
Adaptec 2940A Ultra SCSI adapter
aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
Allocated SCBs: 4, SG List Length: 128

Serial EEPROM:
0x02d8 0x02d8 0x02d8 0x02d8 0x02d8 0x02d8 0x02d8 0x02d8 
0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 
0x18a6 0x0057 0x2807 0x0008 0xffff 0xffff 0xffff 0xffff 
0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x6f81 

Target 0 Negotiation Settings
	User: 20.000MB/s transfers (20.000MHz, offset 127)
Target 1 Negotiation Settings
	User: 20.000MB/s transfers (20.000MHz, offset 127)
Target 2 Negotiation Settings
	User: 20.000MB/s transfers (20.000MHz, offset 127)
Target 3 Negotiation Settings
	User: 20.000MB/s transfers (20.000MHz, offset 127)
Target 4 Negotiation Settings
	User: 20.000MB/s transfers (20.000MHz, offset 127)
Target 5 Negotiation Settings
	User: 20.000MB/s transfers (20.000MHz, offset 127)
Target 6 Negotiation Settings
	User: 20.000MB/s transfers (20.000MHz, offset 127)
	Goal: 20.000MB/s transfers (20.000MHz, offset 15)
	Curr: 20.000MB/s transfers (20.000MHz, offset 15)
	Channel A Target 6 Lun 0 Settings
		Commands Queued 302
		Commands Active 0
		Command Openings 1
		Max Tagged Openings 0
		Device Queue Frozen Count 0
Target 7 Negotiation Settings
	User: 20.000MB/s transfers (20.000MHz, offset 127)

The CRW8424S shows up a SCSI device:

$ cat /proc/scsi/scsi 
Attached devices:
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: Hitachi HMRSK000 Rev: 3P01
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi4 Channel: 00 Id: 00 Lun: 00
  Vendor: TSSTcorp Model: CDDVDW SH-222AB  Rev: SB00
  Type:   CD-ROM                           ANSI  SCSI revision: 05
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: WD       Model: Elements 2621    Rev: 1031
  Type:   Direct-Access                    ANSI  SCSI revision: 06
Host: scsi7 Channel: 00 Id: 06 Lun: 00
  Vendor: YAMAHA   Model: CRW8424S         Rev: 1.0g
  Type:   CD-ROM                           ANSI  SCSI revision: 02

Inserted an audio CD drive into the CRW8424S, which can have information about the audio tracks displayed:

$ cd-info /dev/sr1
cd-info version 2.0.0 x86_64-redhat-linux-gnu
Copyright (c) 2003-2005, 2007-2008, 2011-2015, 2017 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
CD location   : /dev/sr1
CD driver name: GNU/Linux
   access mode: IOCTL

Vendor                      : 
Model                       : 
Revision                    : 
Hardware                                  : CD-ROM or DVD
Can eject                                 : No
Can close tray                            : No
Can disable manual eject                  : No
Can select juke-box disc                  : No

Can set drive speed                       : No
Can read multiple sessions (e.g. PhotoCD) : No
Can hard reset device                     : No

Reading....
  Can read Mode 2 Form 1                  : No
  Can read Mode 2 Form 2                  : No
  Can read (S)VCD (i.e. Mode 2 Form 1/2)  : No
  Can read C2 Errors                      : No
  Can read IRSC                           : No
  Can read Media Channel Number (or UPC)  : No
  Can play audio                          : No
  Can read CD-DA                          : No
  Can read CD-R                           : No
  Can read CD-RW                          : No
  Can read DVD-ROM                        : No

Writing....
  Can write CD-RW                         : No
  Can write DVD-R                         : No
  Can write DVD-RAM                       : No
  Can write DVD-RW                        : No
  Can write DVD+RW                        : No
__________________________________

Disc mode is listed as: CD-DA
CD-ROM Track List (1 - 8)
  #: MSF       LSN    Type   Green? Copy? Channels Premphasis?
  1: 00:02:00  000000 audio  false  no    2        no
  2: 07:41:44  034469 audio  false  no    2        no
  3: 16:57:52  076177 audio  false  no    2        no
  4: 22:45:06  102231 audio  false  no    2        no
  5: 28:36:57  128607 audio  false  no    2        no
  6: 34:52:36  156786 audio  false  no    2        no
  7: 41:36:50  187100 audio  false  no    2        no
  8: 47:10:31  212131 audio  false  no    2        no
170: 52:37:27  236652 leadout (530 MB raw, 530 MB formatted)
Media Catalog Number (MCN): 0000000000000
Last CD Session LSN: 0
audio status: no status
volume level port 0: 255 (0..255) 100 (0..100)
volume level port 1: 255 (0..255) 100 (0..100)
volume level port 2:   0 (0..255)   0 (0..100)
volume level port 3:   0 (0..255)   0 (0..100)
__________________________________
CD Analysis Report
No CD-TEXT on Disc.

The Audio Disc shows up in the file browser, and the tracks can be played.

2. AlmaLinux 9.3

Booted AlmaLinux 9.3 from a live image. At boot no driver was loaded for the AHA-2940AU:

$ sudo lspci -vv -d 9004:

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

03:00.0 SCSI storage controller: Adaptec AIC-7861 (rev 03)
	Subsystem: Adaptec AHA-2940AU Single
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 32 (1000ns min, 1000ns max), Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 11
	Region 0: I/O ports at e000 [size=256]
	Region 1: Memory at fe410000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at fe400000 [disabled] [size=64K]
	Capabilities: [dc] Power Management version 1
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-

Inastall the elrepo repository:

$ sudo yum install elrepo-release
AlmaLinux 9 - AppStream                         1.1 MB/s | 9.6 MB     00:08    
AlmaLinux 9 - BaseOS                            973 kB/s | 5.8 MB     00:06    
AlmaLinux 9 - Extras                             39 kB/s |  20 kB     00:00    
Dependencies resolved.
================================================================================
 Package              Architecture Version                   Repository    Size
================================================================================
Installing:
 elrepo-release       noarch       9.1-1.el9.elrepo          extras        12 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 12 k
Installed size: 5.0 k
Is this ok [y/N]: y
Downloading Packages:
elrepo-release-9.1-1.el9.elrepo.noarch.rpm      200 kB/s |  12 kB     00:00    
--------------------------------------------------------------------------------
Total                                            30 kB/s |  12 kB     00:00     
AlmaLinux 9 - Extras                            3.0 MB/s | 3.1 kB     00:00    
Importing GPG key 0xB86B3716:
 Userid     : "AlmaLinux OS 9 <packager@almalinux.org>"
 Fingerprint: BF18 AC28 7617 8908 D6E7 1267 D36C B86C B86B 3716
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : elrepo-release-9.1-1.el9.elrepo.noarch                 1/1 
  Verifying        : elrepo-release-9.1-1.el9.elrepo.noarch                 1/1 

Installed:
  elrepo-release-9.1-1.el9.elrepo.noarch                                        

Complete!

Install the kmod-aic7xxx package which matches the Kernel version from the live image:

$ sudo yum install kmod-aic7xxx-7.0-1.el9_3.elrepo.x86_64
ELRepo.org Community Enterprise Linux Repositor 1.2 MB/s | 393 kB     00:00    
Last metadata expiration check: 0:00:01 ago on Sat 22 Jun 2024 07:47:03 PM BST.
Dependencies resolved.
================================================================================
 Package            Architecture Version                     Repository    Size
================================================================================
Installing:
 kmod-aic7xxx       x86_64       7.0-1.el9_3.elrepo          elrepo       100 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 100 k
Installed size: 450 k
Is this ok [y/N]: y
Downloading Packages:
kmod-aic7xxx-7.0-1.el9_3.elrepo.x86_64.rpm      1.8 MB/s | 100 kB     00:00    
--------------------------------------------------------------------------------
Total                                           320 kB/s | 100 kB     00:00     
ELRepo.org Community Enterprise Linux Repositor 1.6 MB/s | 1.7 kB     00:00    
Importing GPG key 0xBAADAE52:
 Userid     : "elrepo.org (RPM Signing Key for elrepo.org) <secure@elrepo.org>"
 Fingerprint: 96C0 104F 6315 4731 1E0B B1AE 309B C305 BAAD AE52
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : kmod-aic7xxx-7.0-1.el9_3.elrepo.x86_64                 1/1 
  Running scriptlet: kmod-aic7xxx-7.0-1.el9_3.elrepo.x86_64                 1/1 
  Verifying        : kmod-aic7xxx-7.0-1.el9_3.elrepo.x86_64                 1/1 

Installed:
  kmod-aic7xxx-7.0-1.el9_3.elrepo.x86_64                                        

Complete!

Load the module:

$ sudo modprobe aic7xxx

The Disks tool was open when loaded the module, and the act of loading the module caused the CD Drive of a YAMAHA CRW8424S to appear in the list of disks.

The SCSI adapter is recognised, and the CRW8424S shown as target 6:

$ cat /proc/scsi/aic7xxx/8
Adaptec AIC7xxx driver version: 7.0
Adaptec 2940A Ultra SCSI adapter
aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
Allocated SCBs: 4, SG List Length: 128

Serial EEPROM:
0x02d8 0x02d8 0x02d8 0x02d8 0x02d8 0x02d8 0x02d8 0x02d8 
0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 0x02f8 
0x18a6 0x0057 0x2807 0x0008 0xffff 0xffff 0xffff 0xffff 
0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x6f81 

Target 0 Negotiation Settings
	User: 20.000MB/s transfers (20.000MHz, offset 127)
Target 1 Negotiation Settings
	User: 20.000MB/s transfers (20.000MHz, offset 127)
Target 2 Negotiation Settings
	User: 20.000MB/s transfers (20.000MHz, offset 127)
Target 3 Negotiation Settings
	User: 20.000MB/s transfers (20.000MHz, offset 127)
Target 4 Negotiation Settings
	User: 20.000MB/s transfers (20.000MHz, offset 127)
Target 5 Negotiation Settings
	User: 20.000MB/s transfers (20.000MHz, offset 127)
Target 6 Negotiation Settings
	User: 20.000MB/s transfers (20.000MHz, offset 127)
	Goal: 20.000MB/s transfers (20.000MHz, offset 15)
	Curr: 20.000MB/s transfers (20.000MHz, offset 15)
	Channel A Target 6 Lun 0 Settings
		Commands Queued 137
		Commands Active 0
		Command Openings 1
		Max Tagged Openings 0
		Device Queue Frozen Count 0
Target 7 Negotiation Settings
	User: 20.000MB/s transfers (20.000MHz, offset 127)

The CRW8424S shows up a SCSI device:

$ cat /proc/scsi/scsi
Attached devices:
Host: scsi3 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: Hitachi HMRSK000 Rev: 3P01
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi5 Channel: 00 Id: 00 Lun: 00
  Vendor: TSSTcorp Model: CDDVDW SH-222AB  Rev: SB00
  Type:   CD-ROM                           ANSI  SCSI revision: 05
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: Mass     Model: Storage Device   Rev: 1.00
  Type:   Direct-Access                    ANSI  SCSI revision: 00
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: WD       Model: Elements 2621    Rev: 1031
  Type:   Direct-Access                    ANSI  SCSI revision: 06
Host: scsi8 Channel: 00 Id: 06 Lun: 00
  Vendor: YAMAHA   Model: CRW8424S         Rev: 1.0g
  Type:   CD-ROM                           ANSI  SCSI revision: 02

Inserted an audio CD drive into the CRW8424S, which can have information about the audio tracks displayed:

$ cd-info /dev/sr1 
cd-info version 2.1.0 x86_64-redhat-linux-gnu
Copyright (c) 2003-2005, 2007-2008, 2011-2015, 2017 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
CD location   : /dev/sr1
CD driver name: GNU/Linux
   access mode: IOCTL

Vendor                      : 
Model                       : 
Revision                    : 
Hardware                                  : CD-ROM or DVD
Can eject                                 : No
Can close tray                            : No
Can disable manual eject                  : No
Can select juke-box disc                  : No

Can set drive speed                       : No
Can read multiple sessions (e.g. PhotoCD) : No
Can hard reset device                     : No

Reading....
  Can read Mode 2 Form 1                  : No
  Can read Mode 2 Form 2                  : No
  Can read (S)VCD (i.e. Mode 2 Form 1/2)  : No
  Can read C2 Errors                      : No
  Can read IRSC                           : No
  Can read Media Channel Number (or UPC)  : No
  Can play audio                          : No
  Can read CD-DA                          : No
  Can read CD-R                           : No
  Can read CD-RW                          : No
  Can read DVD-ROM                        : No

Writing....
  Can write CD-RW                         : No
  Can write DVD-R                         : No
  Can write DVD-RAM                       : No
  Can write DVD-RW                        : No
  Can write DVD+RW                        : No
__________________________________

Disc mode is listed as: CD-DA
CD-ROM Track List (1 - 8)
  #: MSF       LSN    Type   Green? Copy? Channels Premphasis?
  1: 00:02:00  000000 audio  false  no    2        no
  2: 07:41:44  034469 audio  false  no    2        no
  3: 16:57:52  076177 audio  false  no    2        no
  4: 22:45:06  102231 audio  false  no    2        no
  5: 28:36:57  128607 audio  false  no    2        no
  6: 34:52:36  156786 audio  false  no    2        no
  7: 41:36:50  187100 audio  false  no    2        no
  8: 47:10:31  212131 audio  false  no    2        no
170: 52:37:27  236652 leadout (530 MB raw, 530 MB formatted)
Media Catalog Number (MCN): 0000000000000
Last CD Session LSN: 0
audio status: no status
volume level port 0: 255 (0..255) 100 (0..100)
volume level port 1: 255 (0..255) 100 (0..100)
volume level port 2:   0 (0..255)   0 (0..100)
volume level port 3:   0 (0..255)   0 (0..100)
__________________________________
CD Analysis Report
No CD-TEXT on Disc.

The audio tracks were not mounted automatically. Found ”Mounting” an audio CD in a Linux terminal or in a Bash script. Ran the following and the tracks on the audio CD were mounted and could be played:

$ gio mount cdda://sr1/
$ gio list cdda://sr1/
Track 1.wav
Track 2.wav
Track 3.wav
Track 4.wav
Track 5.wav
Track 6.wav
Track 7.wav
Track 8.wav

Insert a Solaris 10 installer into the driver. Not automatically mounted. Mounted manually with:

$ sudo mkdir /media/iso
 sudo mount /dev/sr1 /media/iso/
mount: /media/iso: WARNING: source write-protected, mounted read-only.

The contents of the CD appears in the file browser, and can open a selection text files.

It was also possible to read the entire CD:

$ sha256sum /dev/sr1
9456c9a2ec44c8f8bc89ff10a6cf1cbfc3b71ae0b0499eb3190b3f4e1dca78dd  /dev/sr1

3. Ubuntu 22.04.4 LTS

Ubuntu has the following module for other SCSI adapters:

$ modinfo sym53c8xx
filename:       /lib/modules/5.15.0-112-generic/kernel/drivers/scsi/sym53c8xx_2/sym53c8xx.ko
description:    NCR, Symbios and LSI 8xx and 1010 PCI SCSI adapters
author:         Matthew Wilcox <matthew@wil.cx>
version:        2.2.3
license:        GPL
srcversion:     4AC402EEAD479237CD234C8
alias:          pci:v00001000d0000008Fsv*sd*bc*sc*i*
alias:          pci:v00001000d00000021sv*sd*bc*sc*i*
alias:          pci:v00001000d00000020sv*sd*bc*sc*i*
alias:          pci:v00001000d00000013sv*sd*bc*sc*i*
alias:          pci:v00001000d00000012sv*sd*bc*sc*i*
alias:          pci:v00001000d00000010sv*sd*bc01sc00i*
alias:          pci:v00001000d0000000Fsv*sd*bc*sc*i*
alias:          pci:v00001000d0000000Dsv*sd*bc*sc*i*
alias:          pci:v00001000d0000000Csv*sd*bc*sc*i*
alias:          pci:v00001000d0000000Bsv*sd*bc*sc*i*
alias:          pci:v00001000d0000000Asv*sd*bc01sc00i*
alias:          pci:v00001000d00000006sv*sd*bc*sc*i*
alias:          pci:v00001000d00000005sv*sd*bc*sc*i*
alias:          pci:v00001000d00000004sv*sd*bc*sc*i*
alias:          pci:v00001000d00000003sv*sd*bc*sc*i*
alias:          pci:v00001000d00000002sv*sd*bc*sc*i*
alias:          pci:v00001000d00000001sv*sd*bc*sc*i*
depends:        scsi_transport_spi
retpoline:      Y
intree:         Y
name:           sym53c8xx
vermagic:       5.15.0-112-generic SMP mod_unload modversions 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        4E:F9:F0:D7:B7:53:1F:90:A0:AF:82:82:B1:C8:44:D4:53:BE:8B:A2
sig_hashalgo:   sha512
signature:      8D:B2:53:5D:5D:FB:17:F6:D0:21:EC:E3:98:91:E7:05:83:57:6B:D0:
		45:D5:AD:00:50:13:9B:A6:1D:5F:39:9D:A3:8F:51:96:60:71:87:AE:
		94:AE:DB:5A:66:97:CC:DA:99:99:13:14:1A:6D:D5:E1:34:25:2E:D0:
		B2:F8:5F:E7:41:4A:E4:2D:2C:96:94:A6:84:95:87:B9:D0:B6:9C:AC:
		44:A1:0E:93:EC:18:89:28:CF:08:20:06:D5:5F:32:82:E3:0E:A7:90:
		E7:BD:9E:95:6D:53:35:5A:B8:BD:C8:E6:47:AD:0E:66:F6:F9:20:50:
		68:2D:E8:68:C1:9D:AD:9C:1E:60:D2:B5:36:FA:B8:EA:1D:E1:5C:61:
		E3:C5:1B:B8:50:FE:7C:2B:5B:40:2F:8B:12:94:96:AD:70:10:68:2D:
		7F:40:08:10:E0:EA:7B:3D:86:59:CD:B4:1B:A4:4D:FE:3D:05:8C:81:
		31:A1:72:E0:44:9A:35:02:95:63:82:A5:C4:26:BA:7A:C8:75:C8:FC:
		FF:CD:6F:BE:BE:08:AB:E1:01:10:58:45:7F:B7:7C:7B:AB:1A:D2:40:
		CB:2F:87:2C:D3:43:58:F9:C7:41:E9:3D:A1:8F:45:4F:97:21:55:90:
		62:64:D9:54:E7:55:B6:D5:E8:C0:5B:B5:8C:8A:15:7D:9D:12:51:BF:
		4F:33:75:E5:A1:DF:2D:8B:75:8B:36:A9:05:89:58:12:A8:F8:DB:7B:
		90:DC:F2:DC:74:09:F7:56:A7:BC:A1:0F:23:2E:B6:BA:42:31:91:51:
		6E:21:5B:B1:77:67:35:48:EA:16:6C:3D:0F:AB:FD:24:3C:45:10:BA:
		E7:CE:AE:03:1C:4E:F5:B7:4C:73:3F:C8:DF:C0:B9:BF:FE:91:30:20:
		1F:78:44:01:41:94:9B:44:51:F3:1E:DF:34:9B:E1:25:7C:3C:40:64:
		A1:07:9F:79:E0:FF:00:4A:92:50:D8:23:29:42:4B:A2:37:85:D6:94:
		0F:C2:90:9F:B7:23:C0:98:F8:57:F9:6D:05:6C:4F:E3:F9:9B:4D:5B:
		58:F3:E2:87:29:AA:96:F4:95:C6:D8:B4:E5:42:D1:21:8A:EB:C1:C2:
		65:DA:45:F7:2C:6F:75:94:AB:0C:87:3D:D0:B2:9D:CE:41:CA:86:96:
		C3:27:C2:C9:B8:DC:88:A0:54:1A:E7:5B:65:20:BE:25:E5:7D:D6:3B:
		FC:7F:35:DB:60:A8:0C:C6:30:2C:D5:7A:B1:4F:EA:E2:B1:9A:23:96:
		2F:50:D4:26:41:85:F5:60:40:26:D8:13:0E:67:FE:1F:0F:DB:3F:C2:
		BF:C1:00:1F:E8:74:61:AF:96:C4:B3:20
parm:           cmd_per_lun:The maximum number of tags to use by default (ushort)
parm:           burst:Maximum burst.  0 to disable, 255 to read from registers (byte)
parm:           led:Set to 1 to enable LED support (byte)
parm:           diff:0 for no differential mode, 1 for BIOS, 2 for always, 3 for not GPIO3 (byte)
parm:           irqm:0 for open drain, 1 to leave alone, 2 for totem pole (byte)
parm:           buschk:0 to not check, 1 for detach on error, 2 for warn on error (byte)
parm:           hostid:The SCSI ID to use for the host adapters (byte)
parm:           verb:0 for minimal verbosity, 1 for normal, 2 for excessive (byte)
parm:           debug:Set bits to enable debugging (uint)
parm:           settle:Settle delay in seconds.  Default 3 (byte)
parm:           nvram:Option currently not used (byte)
parm:           excl:List ioport addresses here to prevent controllers from being attached (charp)
parm:           safe:Set other settings to a "safe mode" (charp)

The TECHNICAL MANUAL LSI53C895A PCI to Ultra2 SCSI Controller gives Vendor ID as 0x1000 and Device ID as 0x0012. The Ubuntu sym53c8xx module supports that PCI identity.

Can't find the kmod-sym53c8xx package in the epel repositories on AmlaLinux 8.10 nor 9.3.

http://linux-mirrors.fnal.gov/linux/elrepo/elrepo/el8/x86_64/RPMS/ has the following 3rd party packages:

  • kmod-sym53c8xx-0.0-1.el8_9.elrepo.x86_64.rpm
  • kmod-sym53c8xx-0.0-2.el8_10.elrepo.x86_64.rpm

Can't find the correponding packages for el9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment