[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1032140: [External] Re: Bug#1032140: Lenovo Z16 Install issue



David Ober <dober@lenovo.com> (2023-03-02):
> Syslog attached

Thanks, looks like some things need to be addressed in various places…

    Mar  2 02:32:13 check-missing-firmware: looking at dmesg for the first time
    Mar  2 02:32:13 check-missing-firmware: saving timestamp for a later use: [   26.337353]
    Mar  2 02:32:13 check-missing-firmware: looking for firmware file ath11k/WCN6855/hw2.1/amss.bin requested by mhi
    Mar  2 02:32:13 check-missing-firmware: looking for firmware file ath11k/WCN6855/hw2.1/amss.bin requested by mhi
    Mar  2 02:32:13 check-missing-firmware: missing firmware files (ath11k/WCN6855/hw2.1/amss.bin ath11k/WCN6855/hw2.1/amss.bin) for mhi

#1: missing deduplication, already fixed in git.

    Mar  2 02:32:13 check-missing-firmware: mainloop iteration #1
    Mar  2 02:32:13 check-missing-firmware: lookup with /cdrom/firmware/Contents-firmware

#2: firmware files → firmware packages lookup doesn't seem to have found
    anything. I only checked quickly initially, seeing amss.bin shipped
    in firmware-atheros, then making sure it landed on the ISO I've
    pointed you to… except it's not the right version. Your module wants
    hw2.1/ while firmware-atheros (at least in testing) only ships some
    hw2.0/ version for it. That's on me: symlinks are present in the
    firmware package, but not in the Contents-firmware index… since my
    local build didn't catch up with latest debian-cd code (I knew I
    would need to adjust some config, so I didn't rebase, but then I
    missed a bugfix)…
    .
    Definitely my fault, sorry about that, but that wouldn't have worked
    anyway because of the next one…

    Mar  2 02:32:13 check-missing-firmware: removing and loading kernel module mhi
    Mar  2 02:32:13 check-missing-firmware: modprobe: FATAL: Module mhi is in use.

#3: we're trying to reload the mhi module here, which is likely a
    situation that's similar to the usb one I encountered and adjusted
    in a previous hw-detect upload. I suspect we should do something
    similar here, “resolving” `mhi mhi0` into `ath11k_pci`. See:
    https://salsa.debian.org/installer-team/hw-detect/-/commit/ab087adedd738d8b6bfb7e785c591a1aa982b7f2

Based on <https://www.kernel.org/doc/html/latest/mhi/topology.html>… we
should have something like /sys/bus/mhi/devices/mhi0/driver that's a
symlink to some other place that contains `ath11k_pci`. If that's indeed
the case, we can implement an mhi lookup that's similar to the usb one.

If the path mentioned above doesn't exist or isn't a symlink to some
ath11k_pci location, please look around with things like these:

    ls -l /sys/bus/mhi/devices/
    ls -l /sys/bus/mhi/devices/mhi0
    etc.


Thanks again, your help is much appreciated.


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature


Reply to: