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

Bug#1034801: Success on ASUS VivoBook Pro 14 OLED



Andrey Rakhmatullin <wrar@wrar.name> (2023-04-24):
> It's before the partitioning part so I just booted d-i again there.
> And it actually says "No Ethernet card was detected".

OK, that definitely makes more sense to me, as that pattern leads to
different results, namely in hw-detect. And that particular component is
the one… supplying the firmware logic! \o/

(No worries at all for the localization-related fun, that's very
common.)

> Just to confirm, at this point /var/log/syslog contains loaded
> firmware and activated wl2ps0.

Very useful data point.

Thanks for the swift reply and for respinning d-i to test this!


Someone would need to navigate ethdetect.sh, which triggers this message
when no NIC is found…

I think the logic is basically checking candidates via /proc/net/dev
(with lovely grep/sed calls), then checking whether each candidate is
present under /etc/network/devnames, incrementing the NIC counter when
that's the case. That's the `ethernet_found()` function.

If that fails, then a list of modules is built from another lookup:

    find /lib/modules/*/kernel/drivers/net -name phy -prune -o -type f -print | sed 's/\.ko$//; s/.*\///'

and presented for you to pick from.

As far as I understand, /etc/network/devnames gets entries added via
some hotplug script (net-hotplug.sh):

    case $ACTION in
        add|register)
            log "Detected hotpluggable network interface $INTERFACE"
            mkdir -p /etc/network
            echo "$INTERFACE" >>/etc/network/devhotplug
            ;;
    esac

and maybe timings are off, and that happens *after* the initial check…

I suppose adding some log/set -x would help pinpoint what's happening. I
could probably build a custom ISO for you to test with if you wanted to
help further, but I'd need some time to check where adding things would
be most useful.

Since you filed this as a successful installation, and since you weren't
actually blocked by this problem, I think I'll focus on preparing RC 2,
and get back to this issue later on.


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: