#Wifi interface detected on liveusb but not on installed system
1 messages · Page 1 of 1 (latest)
do you have the linux-firmware package?
Yes, version 20240513
I think I found the issue -- recompiling the kernel right now.
are you using a custom kernel?
Yes, I am
I was using it previously, but I am kinda infatuated with the internals
yeah it's really helpful to have a know-working reference though
I agree
I don't even have a comment to follow that up, I just am acknowledging the fact that you're right
lol
yeah i learned it the hard way, i spent many hours getting kernels working from literally NO config, every option disabled
it was kinda fun but really got me nothing but more bugs
if you want to do that, i'd do it in a vm if you want to retain any sanity
I actually did try it in a VM but my company disables certain networking features that made my antics impossible
So now I'm doing it at home because I'm frustrated at the use of Windows 11 in the workplace
ah, doing gentoo at work?
ah lol
yea i use gentoo wherever possible, w11 is a nightmare
They've got me doing literally nothing there, it's an improvement
Anyway, I think it's done baking!
Time to reboor
Shit.
gentoo moment
Don't worry I just need a couple more days so I can shave .3 seconds off my boot time
if you want to boot faster use ugrd lol
id appreciate if you actually timed it compared to whatever else you may be using
That was a joke, mostly. I really just want to see how a custom kernel feels to use
And also to say that I did
Okay, now I don't even know what's happening.
I literally built in support for my network card and it isn't showing the driver in lspci -k
you're certain you built it for the right model?
and that you're actually using the new kernel?
I'm checking if I'm using the new kernel right now, actually
I added in the linux logo thing, it should display it in color if it's the new kernel
Well, it's new alright
Same problem though :/
I'm also noticing that it isn't picking up support for my IOMMU driver? Is there some way I can point it to the driver manually?
I have no modules enabled, it's all built in directly
yeah that's a bad idea
wifi won't work like that
unless you are also particular and bake the wifi firmware files into the kernel
but just don't
it has to be a module for the firmware to be properly loaded
I'll give it a shot.
that's another thing i learned the hard way
yeah it's plainly not worth trying to build the firmware in
you're going entirely against the grain of how the kernel is desingeed d
linux is not a monolithic kernel
yeah
because you likely disabled modules kernel wide lol
you kinda made a bit of a knot there
i don't think you should keep doubling down on that decision, it being a module ultimately makes more sense and helps you
what if you want to reload it?
That's embarrassing, done
Sucks that I was so close to just not needing modules at all, but I need this machine to run
yeah not really reasonable with wifi in particular
well really anything that needs firmware
Clearly I'm missing something -- /proc/modules is completely empty
did you try modprobing something
Yes, modprobe ahci outputs nothing
I also did a search for all .ko files, they're definitely there
nothing in lsmod?
Nothing at all
huh does dmesg complain?
Not that I can see
that is strange
it should give some status about a loaded module
and i think it should let you load random ones that don't need to be used
I'm looking for the answer, but I don't think many people have this issue
yeah maybe you should try to make more things modules
and see when you can see them being used
I did a find-exec on all system modules, started 4
libarc4, iommu_v2, cfg80211, and rfkill
i don't see your wireless driver in there
I assume that's what cfg80211 is, but the wireless driver gives an "unknown symbol in module" error
This is probably our devious culprit
well that is lower level
not for your card in particular
Okay, now rtw88_core has started after checking again?
Running the find exec again, it started the modules
This shit is black magic I swear
For the FIRST time, I can see my interface
I just don't get it at all. I rebooted to test it again and it ONLY works after re-running the find-exec exactly 3 times
The only thing that motivates me now is the sheer speed this machine is running at. Everything is working incredibly except the wifi drivers.
I'm looking into the dmesg output now.
It looks like it's not able to load the firmware to begin with
yeah that hapens if it can't access it
especially fi it's builting
the kernel will look for it before the rootfs is even mounted
Hm
especially if it's builtin
i cannot type
but check the whole kernel log, it may try to be loading that stuff before the rootfs is present
in which case it won't find any firmware and fails
Is there a way to mount root beforehand?
an initramfs?
Okay, nvm, I'm going deep with this
but even then you don't wnat these builtin
you want modules
so they will be loaded when the firmware can be read
Working on adding the firmware to CONFIG_EXTRA_FIRMWARE
I have successfully baked the wifi firmware into the kernel
My interface is showing, now to get it working
I will lose my shir
How do I connect to the internet to build wpa_supplicant?
Surely there's a better way than using the livecd
Well, I'm currently trying to copy the net-setup script to the root dir lmao