You are not logged in.
Pages: 1
After seeing the error of my ways in my previous attempts at an arch installation I chose to reinstall. One problem though, my wifi adapter needs the broadcom-wl package. I have the package and all its dependencies on a usb drive for use when I find out how to install it. Currently I have been unable to since I can't run makepkg in root and when I make another user it says
not enough free disk space
. What do I do ?
Last edited by hjaltello (2016-06-26 10:06:58)
Offline
If anyone's wondering why I could install arch linux in the first place before it's because I changed my network adapter halfway through.
Offline
Hi hjaltello,
How big is your hard drive? How is everything partitioned? The error you're getting is exactly what it seems to be. You're out of disk space on that partition.
Offline
Offline
If you've already got the package(s) then you don't need to use makepkg, just install them with...
pacman -U <packagename>
If you actually mean that you've got the PKGBUILD's and other related files then the issue is that /tmp lives in RAM and is limited to 50% of your available memory. To increase this you can do...
mount -o remount,size=<newsize> /tmp
Offline
Please change your topic title to something that reflects the problem you are having.
https://wiki.archlinux.org/index.php/Co … ow_to_post
If you have the packages on a USB stick, why are you running makepkg? If you really need to, you can increase the amount of space available to you in the liveCD environment by running, e.g.
mount -o remount,size=2G /run/archiso/cowspace
See https://bbs.archlinux.org/viewtopic.php?id=205967
EDIT: I am slow today.
Last edited by WorMzy (2016-06-24 16:59:05)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
When I do this I can't modprobe the LKM afterwards, says
FATAL: Module wl not found in directory /lib/modules/4.5.4-1-ARCH
when I check in /lib/modules/4.5.4-1-ARCH/kernel/net/wireless there's only the usual lib80211 stuff. When I check extramodules there's a file called wl.ko.gz, that's the name of the driver that I use, but how do i utilize it if it's in that folder ?
Offline
Just tried using insmod, it didn't work.
Offline
When I check extramodules there's a file called wl.ko.gz, that's the name of the driver that I use, but how do i utilize it if it's in that folder ?
$ ls /usr/lib/modules/
4.6.2-1-ARCH/ extramodules-4.6-ARCH/
Is the extra modules directory you are referring to extramodules-4.6-ARCH as above?
If it what is the output of
$ uname -a
and
$ pacman -Q linux-headers
Edit:
Minor Notes
If no one has posted since your last post please just edit that post.
Please use code tags not quote tags for command out and also please include the command you used to generate the output.
Last edited by loqs (2016-06-24 19:51:46)
Offline
#uname -a
Linux archiso 4.5.4-1-ARCH #1 SMP PREEMPT Wed May 11 22:21:28 CEST 2016 x86_64 GNU/Linux
The other one is too long, but it says things like
warning: database file for 'core' does not exist
Offline
Going to take as a yes the extra modules directory is extramodules-4.6-ARCH meaning the wl module was built for a kernel of the 4.6 series but the live boot media includes the 5.4.5 kernel.
You could install the matching headers from the Archive or could try to force the module to be installed.
Also you may have to unload any of the modules that would normally be blacklisted by the broadcom-wl package before loading the wl module.
$ cat /usr/lib/modprobe.d/broadcom-wl.conf
blacklist b43
blacklist ssb
blacklist bcma
blacklist brcmsmac
blacklist brcmfmac
Offline
It will be much easier just to build the package on the system you want to use it on. Instead of transferring the built package (built for the wrong kernel) just transfer the PKGBUILD and source files, then run makepkg in the live system. You do not need to create a user to run makepkg:
su -u nobody makepkg
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I'd have a look at the --allsource switch of makepkg on the system with an internet connection.
Offline
su -u nobody makepkg gives me fail 138 with this right above it
/usr/share/makepkg/tidy/zipman.sh: line 44: /dev/fd/62: No such file or directory
/usr/bin/fakeroot: line 181: 1814 User defined signal 1 FAKEROOTKEY=$FAKEROOTKEY LD_LIBRSRY_PATH="$PATHS" LD_LIBRARY_PATH="@PATHS" LD_PRELOAD="$LIB" "$@"
This makes me think that if I was able to use pacstrap and not be bound to this chroot setup then I'd be able to compile it. Anyone know how to do that ?
Offline
Another thing is that I have the core.db, extra.db and community.db, but I don't know where to put them, this might make it possible to makepkg without chrooting, but then I'd need to know where these database files go, and I couldn't find anything about it on the wiki.
Offline
I got it working doing something weird. What I did was I installed manjaro which I knew came with the broadcom-wl package and then I connected to the internet and used yaourt to get the one for the right kernel. Now I have it all working. Thanks for all the help, but using 5 hours on solving the mystery myself seemed to have been more effective.
Offline
Solved by switching distros? That's always a possibility. Don't forget to mark your thread as solved, then.
Offline
You got it a bit wrong, in manjaro I was able to choose specific linux-headers and thereby compile the correct package.
Offline
Pages: 1