Skip to contentSkip to conversation

4.14 cannot find configured disks/partitions

BUG Michael Cree 2 participants 3 messages Dec 1, 2017 – Dec 2, 2017 2 messages not in the archive Alpha port

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive
Quoted 9 lines · Bob Tracy
Quoted 8 lines · Bob Tracy

Perhaps the subject isn't entirely accurate, but that's what seems to be the case. After loading the initial ramdisk, the boot process stalls (loops indefinitely) with "mdadm" complaining about not being able to scan the disks defined in its configuration file, which is bone-stock. What makes this particularly infuriating is, I don't have anything configured for "mdadm" to worry about, which is what's normally found, i.e., nothing of interest.

Quoted 7 lines
Quoted 7 lines

The 4.13 kernel loads and boots just fine with exactly the same up-to-date (unstable/experimental) userspace libraries and utilities.

Bottom line: the 4.14 kernel doesn't seem to detect my SCSI disks for some reason. All the recent patches (end of October time frame) for PCI on alpha (I *think* mostly having to do with addressing some weird kind of libata conflict) didn't make any difference.

Just got a chance to try out 4.14 on an Alpha and look like firmware for built-in drivers are being treated differently. I presume you have a qlogic scsi driver. Make sure qlogic/1040.bin (or whatever is appropriate for your scsi driver) is listed under Drivers->Generic Driver Options->Include in-kernel firmware blobs.

Cheers
Michael.

#3 lore raw
Quoted 18 lines · Michael Cree
Quoted 9 lines · Bob Tracy
Quoted 8 lines · Bob Tracy

Perhaps the subject isn't entirely accurate, but that's what seems to be the case. After loading the initial ramdisk, the boot process stalls (loops indefinitely) with "mdadm" complaining about not being able to scan the disks defined in its configuration file, which is bone-stock. What makes this particularly infuriating is, I don't have anything configured for "mdadm" to worry about, which is what's normally found, i.e., nothing of interest.

Quoted 7 lines
Quoted 7 lines

The 4.13 kernel loads and boots just fine with exactly the same up-to-date (unstable/experimental) userspace libraries and utilities.

Bottom line: the 4.14 kernel doesn't seem to detect my SCSI disks for some reason. All the recent patches (end of October time frame) for PCI on alpha (I *think* mostly having to do with addressing some weird kind of libata conflict) didn't make any difference.

Quoted 5 lines

Just got a chance to try out 4.14 on an Alpha and look like firmware for built-in drivers are being treated differently. I presume you have a qlogic scsi driver. Make sure qlogic/1040.bin (or whatever is appropriate for your scsi driver) is listed under Drivers->Generic Driver Options->Include in-kernel firmware blobs.

Glad I saw this before trying a freshly-built 4.14 with a few more kernel config options enabled per the README file for systemd. Doesn't mean there isn't a systemd/udev issue as well, but if the firmware for the SCSI controller isn't getting loaded, that makes detection of the host and attached devices pretty much a non-starter.

Thanks!
--Bob

#4 lore raw
Quoted 7 lines · Bob Tracy
Quoted 5 lines · Michael Cree

Just got a chance to try out 4.14 on an Alpha and look like firmware for built-in drivers are being treated differently. I presume you have a qlogic scsi driver. Make sure qlogic/1040.bin (or whatever is appropriate for your scsi driver) is listed under Drivers->Generic Driver Options->Include in-kernel firmware blobs.

Quoted 5 lines

Glad I saw this before trying a freshly-built 4.14 with a few more kernel config options enabled per the README file for systemd. Doesn't mean there isn't a systemd/udev issue as well, but if the firmware for the SCSI controller isn't getting loaded, that makes detection of the host and attached devices pretty much a non-starter.

That was *it*. Up and running on 4.14 with no issues. Have reported success and requested closure of bug #883089.

FYI, "1040.bin" *is* the correct firmware for the Qlogic ISP1020 card as confirmed by examination of the driver source.

Oddly enough, I've been including the firmware for the video card as part of the kernel build since forever: the console wouldn't initialize properly without it. Never occurred to me the same thing might be needed for the built-in SCSI driver, mostly because everything worked great up through kernel version 4.13.

Thanks again.

--Bob