Repeated SES enclosure status reporting/logging?

John jwd at freebsd.org
Wed Apr 7 12:46:13 UTC 2021


Hi Folks,

   I have an old Compellent SC8000 system with 12.2-STABLE installed
with some 12Gb/s shelves on LSI 9305 cards and it seems to work quite
nicely. The question I have that I cannot seem to figure out is the
continuous logging of SES shelf drive status approximately every 5 seconds:

ses1: da0,pass1,da120,pass126 in 'Drive Slot 0', SAS Slot: 2 phys at slot 0
ses1:  phy 0: SAS device type 1 phy 0 Target ( SSP )
ses1:  phy 0: parent 520474729978447f addr 500003976c8a71d2
ses1:  phy 1: SAS device type 1 phy 1 Target ( SSP )
ses1:  phy 1: parent 52047472997844ff addr 500003976c8a71d3
ses1: da1,pass2,da121,pass127 in 'Drive Slot 1', SAS Slot: 2 phys at slot 1
ses1:  phy 0: SAS device type 1 phy 0 Target ( SSP )
ses1:  phy 0: parent 520474729978447f addr 500003976c8a7086
ses1:  phy 1: SAS device type 1 phy 1 Target ( SSP )
ses1:  phy 1: parent 52047472997844ff addr 500003976c8a7087

...

   Basically spamming the console and log files.

   I'm thinking this is coming from:

   enc_status_updater()
      enc->enc_vec.poll_status(enc);

   driven via:

   callout_reset(&enc->status_updater, 60*hz, enc_status_updater, enc);

   but I'm not sure I'm following the code correctly and haven't yet
seen where the output is coming from. enc_verbose is 0.

Thanks,
John

FreeBSD testsys.example.com 12.2-STABLE FreeBSD 12.2-STABLE #0 r369545: Sun Apr  4 15:41:49 EDT 2021

kern.cam.enc.verbose: 0

ses1 at mpr0 bus 0 scbus7 target 48 lun 0
ses1: <DELL SC420 1.09> Fixed Enclosure Services SPC-4 SCSI device
ses1: 1200.000MB/s transfers
ses1: Command Queueing enabled
ses1: SES Device

 4 shelves A & B sides -> 8 enclosure daemons (daemon0 is MB based).

root    35   0.0  0.0      0    16  -  DL   23:27     0:00.03 [enc_daemon0]
root    36   0.0  0.0      0    16  -  DL   23:27    11:51.20 [enc_daemon1]
root    37   0.9  0.0      0    16  -  DL   23:27    12:24.37 [enc_daemon2]
root    38  12.4  0.0      0    16  -  DL   23:27    12:39.70 [enc_daemon3]
root    39   3.5  0.0      0    16  -  DL   23:27    11:30.49 [enc_daemon4]
root    40  13.2  0.0      0    16  -  DL   23:27    12:42.62 [enc_daemon5]
root    41   0.8  0.0      0    16  -  DL   23:27    13:22.25 [enc_daemon6]
root    42   0.0  0.0      0    16  -  DL   23:27    11:49.98 [enc_daemon7]
root    43   2.9  0.0      0    16  -  DL   23:27    12:25.07 [enc_daemon8]







More information about the freebsd-scsi mailing list