You are not logged in.
I tried to look for the kernel source code under /usr/src/linux-3.4.9-1-ARCH but there's only a binary file (an image?) vmlinuz in there. I wanted to look for drivers concerning usb for fun, but I can't seem to find the excact location of the kernel source code.
Last edited by burninate (2012-08-25 09:48:56)
Offline
I think arch uses a vanilla kernel with only a patch that can be found here:
Offline
Soo, I can't browse the kernel source code on my system then?
On my system, /usr/src/linux-3.4.9-1-ARCH/kernel/ appears to have the browsable source. I was under the impression that that was pretty standard, but I am not actually sure, so if that's not on your rig, I am unsure of where you'd go.
All the best,
-HG
Offline
Sure you can, but it'll pretty much be the same as if you downloaded the code from kernel.org. You can use makepkg and the ABS to easily get the source and Arch's patch(es) on your computer.
Edit: If you have linux-headers installed, then the path HalosGhost refers to has the headers, not the full source
Last edited by SidK (2012-08-22 19:29:08)
Offline
If you are looking for a device driver you can type modinfo <module> and it will give the path that you can expect to find it.
If you want the C source for the kernel, most likely you will have to download the entire kernel from kernel.org and for the package to be manageable ABS would be a good choice.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Since 89c51 has already pointed you at the source for the patch, the rest of the kernel source can be gotten from kernel.org in it's entirety. Happy browsing.
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
Offline
An easy way to view it is:
pacman -S abs (If ABS is not already installed).
sudo abs
cp -r /var/abs/core/linux/ linux
cd linux
makepkg --nobuild
Offline