WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: udevd timeout killing modprobe - Sans connected to dell r710 running tinycore  (Read 2902 times)

Offline HotNoob

  • Newbie
  • *
  • Posts: 8
no idea what's going on; but... basically, i'm trying to get my software working on tinycore, i used to run it on ubuntu, but i like how relatively easy it is to make custom tinycore images and pxe boot them.

just erasing hdds... that may or may not be good; thus the need to connect 100 so hdds to one server sort of thing. i want to eventually get away from having so many connected to one server, as the hardware glitches are horrific... but for now i need something inbetween to help transition. 

were running on dell r710 servers, with lsi hba's connected to... various san arrays.

basically...
when the server is loaded; 0 hard drives show up, and then i load the scsi extension, and get this error showing up for a while... after a few minutes hard drives start to populate and then the error eventually stops showing... and this takes forever. :(

i dont see anything obvious to me in dmesg... well, a lot of the hdds connected are probably bad...


the [###] stuff in the screenshot is just a timer form my software.

Offline HotNoob

  • Newbie
  • *
  • Posts: 8
oops. ss didnt attach.
---
basically, takes forever for hdds to populate, bad/broken hdds are typically mixed in... and this error spams.

also, i dont need the os or whatever to load the partition tables of the hdds in the SANs. maybe that would help reduce bugs / decrease the time to attach things? havent the slightest idea if that would be possible / where to look.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11560
Hi HotNoob
Based on the screenshot, I think it's having problems finding/loading a driver.

The devices in question are:
Device 1000:0060    Subsystem 1028 1f0c    PERC 6/i Integrated RAID Controller
https://pci-ids.ucw.cz/read/PC/1000/0060
https://wiki.debian.org/LinuxRaidForAdmins#megaraid_sas
and
Device 1000:0072    Subsystem 1000 3080    9200-8e [LSI SAS 6Gb/s SAS/SATA PCIe x8 External HBA]
https://pci-ids.ucw.cz/read/PC/1000/0072
https://wiki.debian.org/LinuxRaidForAdmins#mpt2sas
I believe  mpt2sas  was replaced with  mpt3sas  on more recent kernels.

Did you install the  scsi-KERNEL.tcz  extension?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11560
Hi HotNoob
If the problem persists with  scsi-KERNEL.tcz  installed, you may need
to copy the drivers to the initrd:
I'm getting the  Internal Forum Error  message again. See the attached
file for directions. Replace  core.gz  with  corepure64.gz  if running 64 bit.

The  megaraid_sas.ko.gz  and  mpt3sas.ko.gz  drivers both accept
parameters. Run  modinfo  on them to see what they are.

Offline HotNoob

  • Newbie
  • *
  • Posts: 8
hmmmn...
might have loaded a bit faster; not sure. still getting the same udevd errors / behaviour.

i see in modinfo mpt3sas, that it has an alias: mpt2sas
would that maybe explain the mpt2sas in dmesg instead of mpt3sas?
---
Code: [Select]
tc@box:~$ modinfo mpt3sas
filename:       /lib/modules/5.15.10-tinycore/kernel/drivers/scsi/mpt3sas/mpt3sas.ko.gz
author:         Avago Technologies <MPT-FusionLinux.pdl@avagotech.com>
description:    LSI MPT Fusion SAS 3.0 Device Driver
license:        GPL
parm:           poll_queues:Number of queues to be use for io_uring poll mode.
This parameter is effective only if host_tagset_enable=1. &
when poll_queues are enabled then &
perf_mode is set to latency mode. &

parm:           perf_mode:Performance mode (only for Aero/Sea Generation), options:
0 - balanced: high iops mode is enabled &
interrupt coalescing is enabled only on high iops queues,
1 - iops: high iops mode is disabled &
interrupt coalescing is enabled on all queues,
2 - latency: high iops mode is disabled &
interrupt coalescing is enabled on all queues with timeout value 0xA,
default - default perf_mode is 'balanced'
parm:           mpt3sas_fwfault_debug: enable detection of firmware fault and halt firmware - (default=0)
parm:           irqpoll_weight:irq poll weight (default= one fourth of HBA queue depth)
parm:           max_msix_vectors: max msix vectors
parm:           smp_affinity_enable:SMP affinity feature enable/disable Default: enable(1)
parm:           msix_disable: disable msix routed interrupts (default=0)
parm:           max_sgl_entries: max sg entries
parm:           max_queue_depth: max controller queue depth
parm:           host_tagset_enable:Shared host tagset enable/disable Default: enable(1)
parm:           multipath_on_hba:Multipath support to add same target device
as many times as it is visible to HBA from various paths
(by default:
SAS 2.0 & SAS 3.0 HBA - This will be disabled,
SAS 3.5 HBA - This will be enabled)
parm:           enable_sdev_max_qd:Enable sdev max qd as can_queue, def=disabled(0)
parm:           prot_mask: host protection capabilities mask, def=7
parm:           disable_discovery: disable discovery
parm:           diag_buffer_enable: post diag buffers (TRACE=1/SNAPSHOT=2/EXTENDED=4/default=0)
parm:           hbas_to_enumerate: 0 - enumerates both SAS 2.0 & SAS 3.0 generation HBAs
    1 - enumerates only SAS 2.0 generation HBAs
    2 - enumerates only SAS 3.0 generation HBAs (default=0)
parm:           max_lun: max lun, default=16895
parm:           missing_delay: device missing delay , io missing delay
parm:           max_sectors:max sectors, range 64 to 32767  default=32767
parm:           logging_level: bits for enabling additional logging info (default=0)
version:        39.100.00.00
alias:          mpt2sas
alias:          pci:v00001000d000000E7sv*sd*bc*sc*i*
alias:          pci:v00001000d000000E4sv*sd*bc*sc*i*
alias:          pci:v00001000d000000E6sv*sd*bc*sc*i*
alias:          pci:v00001000d000000E5sv*sd*bc*sc*i*
alias:          pci:v00001000d000000B2sv*sd*bc*sc*i*
alias:          pci:v00001000d000000E3sv*sd*bc*sc*i*
alias:          pci:v00001000d000000E0sv*sd*bc*sc*i*
alias:          pci:v00001000d000000E2sv*sd*bc*sc*i*
alias:          pci:v00001000d000000E1sv*sd*bc*sc*i*
alias:          pci:v00001000d000000D1sv*sd*bc*sc*i*
alias:          pci:v00001000d000000ACsv*sd*bc*sc*i*
alias:          pci:v00001000d000000ABsv*sd*bc*sc*i*
alias:          pci:v00001000d000000AAsv*sd*bc*sc*i*
alias:          pci:v00001000d000000AFsv*sd*bc*sc*i*
alias:          pci:v00001000d000000AEsv*sd*bc*sc*i*
alias:          pci:v00001000d000000ADsv*sd*bc*sc*i*
alias:          pci:v00001000d000000C3sv*sd*bc*sc*i*
alias:          pci:v00001000d000000C2sv*sd*bc*sc*i*
alias:          pci:v00001000d000000C1sv*sd*bc*sc*i*
alias:          pci:v00001000d000000C0sv*sd*bc*sc*i*
alias:          pci:v00001000d000000C8sv*sd*bc*sc*i*
alias:          pci:v00001000d000000C7sv*sd*bc*sc*i*
alias:          pci:v00001000d000000C6sv*sd*bc*sc*i*
alias:          pci:v00001000d000000C5sv*sd*bc*sc*i*
alias:          pci:v00001000d000000C4sv*sd*bc*sc*i*
alias:          pci:v00001000d000000C9sv*sd*bc*sc*i*
alias:          pci:v00001000d00000095sv*sd*bc*sc*i*
alias:          pci:v00001000d00000094sv*sd*bc*sc*i*
alias:          pci:v00001000d00000091sv*sd*bc*sc*i*
alias:          pci:v00001000d00000090sv*sd*bc*sc*i*
alias:          pci:v00001000d00000097sv*sd*bc*sc*i*
alias:          pci:v00001000d00000096sv*sd*bc*sc*i*
alias:          pci:v00001000d0000007Esv*sd*bc*sc*i*
alias:          pci:v00001000d000002B1sv*sd*bc*sc*i*
alias:          pci:v00001000d000002B0sv*sd*bc*sc*i*
alias:          pci:v00001000d0000006Esv*sd*bc*sc*i*
alias:          pci:v00001000d00000087sv*sd*bc*sc*i*
alias:          pci:v00001000d00000086sv*sd*bc*sc*i*
alias:          pci:v00001000d00000085sv*sd*bc*sc*i*
alias:          pci:v00001000d00000084sv*sd*bc*sc*i*
alias:          pci:v00001000d00000083sv*sd*bc*sc*i*
alias:          pci:v00001000d00000082sv*sd*bc*sc*i*
alias:          pci:v00001000d00000081sv*sd*bc*sc*i*
alias:          pci:v00001000d00000080sv*sd*bc*sc*i*
alias:          pci:v00001000d00000065sv*sd*bc*sc*i*
alias:          pci:v00001000d00000064sv*sd*bc*sc*i*
alias:          pci:v00001000d00000077sv*sd*bc*sc*i*
alias:          pci:v00001000d00000076sv*sd*bc*sc*i*
alias:          pci:v00001000d00000074sv*sd*bc*sc*i*
alias:          pci:v00001000d00000072sv*sd*bc*sc*i*
alias:          pci:v00001000d00000070sv*sd*bc*sc*i*
srcversion:     CBAAD02C3097812A4EF971D
depends:        scsi_transport_sas
intree:         Y
vermagic:       5.15.10-tinycore SMP mod_unload 486




Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11560
Hi HotNoob
Based on the modinfo result you posted I presume you added the drivers to the initrd.
If all of your devices are SAS 2, you can add this boot code to to your bootloader:
Code: [Select]
mpt3sas.hbas_to_enumerate=1
... i see in modinfo mpt3sas, that it has an alias: mpt2sas
would that maybe explain the mpt2sas in dmesg instead of mpt3sas? ...
I don't know for sure, but I don't think so. The alias for your device is:
Code: [Select]
alias:          pci:v00001000d00000072sv*sd*bc*sc*i*

Offline gadget42

  • Hero Member
  • *****
  • Posts: 762
was perusing Leo's Notes and saw something on dell r710 with regards to some hardware and missing driver(s)...

https://leo.leung.xyz/wiki/How_to_boot_Rocky_Linux_8_on_a_Dell_R710
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580