Post Posted: Sat 29 Jun 2013, 15:18 Subject:
Forum: Advanced Topics » Puppy Projects
Hi simargl,
do you have customized kernel sources for OS8?
I want to try building a driver for my bcm4313.
Regards tony.
alphaOS [closed]
Thanks pemasu.
I removed modules b43, ssb and bcma with rmmod. Added lib80211 with modprobe.
Expanded wl.ko.gz and put it into /lib/modules/3.9.6-ALPHAOS/kernel/drivers/net
Couldn't modprobe it, so used insmod wl.ko from a terminal in the above, where wl.ko was.
Then saw my router signal in pwireless2 for the first time and connected.
Will now have to do that automaticall at boot.
Thanks again, regards to all. Tony.
I removed modules b43, ssb and bcma with rmmod. Added lib80211 with modprobe.
Expanded wl.ko.gz and put it into /lib/modules/3.9.6-ALPHAOS/kernel/drivers/net
Couldn't modprobe it, so used insmod wl.ko from a terminal in the above, where wl.ko was.
Then saw my router signal in pwireless2 for the first time and connected.
Will now have to do that automaticall at boot.
Thanks again, regards to all. Tony.
Personally I haven't had much luck with Frisbee. I always thought it sucked hard.
l like Barry's Simple Network Setup. It's simple to use and it just works.
Please, can we have it?
Quickpet would be cool on this distro, because noobs who aren't comfortable with Pacman could then download basic packages. On that note -
l want pet packages. I want the ability to run pburn and other community developed packages.
Congratulations on this interesting distro.
Edit: Maybe you should install FlSynclient for the laptop users, also.
l like Barry's Simple Network Setup. It's simple to use and it just works.
Please, can we have it?
Quickpet would be cool on this distro, because noobs who aren't comfortable with Pacman could then download basic packages. On that note -
l want pet packages. I want the ability to run pburn and other community developed packages.
Congratulations on this interesting distro.
Edit: Maybe you should install FlSynclient for the laptop users, also.
Last edited by Ghost Dog on Sun 28 Jul 2013, 08:47, edited 1 time in total.
The Way of the Samurai
Before initrd.gz is compressed there is a function in build script that runs depmod for modules in there, for kernel package depmod is executed automatically with make install before compressing package. You can change that, but now, on boot depmod will run only if this file is missing /lib/modules/${KERNVER}/modules.dep.pemasu wrote:Running in console: depmod
would have helped. It checks new modules and creates the text files of existing modules. Puppies run depmod in every boot, Simargl knows if alphaOS do that also. I suppose so.
You can install pburn from the AUR:: packer -S pburnGhost Dog wrote:I want the ability to run pburn and other community developed packages.
https://aur.archlinux.org/packages/pburn/
tony, here is PKGBUILD from Arch User Repository to make package for missing wl.ko driver https://aur.archlinux.org/packages/br/broadcom-wl. I've tried to compile it, but there is some error (maybe missing patch). Some lines in PKGBUILD are changed because in Arch modules are installed to /usr/lib/modules
Code: Select all
--- broadcom-wl.orig/PKGBUILD 2013-07-05 20:05:39.000000000 +0200
+++ broadcom-wl/PKGBUILD 2013-07-28 08:36:00.706621535 +0200
@@ -9,8 +9,8 @@
url='http://www.broadcom.com/support/802.11/linux_sta.php'
arch=('i686' 'x86_64')
license=('custom')
-depends=('linux>=3.10')
-makedepends=('linux-headers>=3.10')
+depends=('linux>=3.9')
+makedepends=('linux-headers>=3.9')
[[ $CARCH = x86_64 ]] && ARCH=x86_64 || ARCH=x86_32
source=("http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_${ARCH}-v${pkgver//./_}.tar.gz"
@@ -26,8 +26,8 @@
backup=('etc/modprobe.d/broadcom-wl.conf')
install=install
-_extramodules=extramodules-3.10-ARCH
-_kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+_extramodules="3.9.6-ALPHAOS/kernel/net/wireless"
+_kernver="3.9.6-ALPHAOS"
build() {
cd "${srcdir}"
@@ -35,14 +35,14 @@
patch -p1 -i linux-recent.patch
patch -p1 -i license.patch
- make -C /usr/lib/modules/"${_kernver}"/build M=`pwd`
+ make
}
package() {
cd "${srcdir}"
- install -D -m 644 wl.ko "${pkgdir}/usr/lib/modules/${_extramodules}/wl.ko"
- gzip "${pkgdir}/usr/lib/modules/${_extramodules}/wl.ko"
+ install -D -m 644 wl.ko "${pkgdir}/lib/modules/${_extramodules}/wl.ko"
+ gzip "${pkgdir}/lib/modules/${_extramodules}/wl.ko"
install -D -m 644 lib/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D -m 644 modprobe.d "${pkgdir}"/etc/modprobe.d/broadcom-wl.conf
Code: Select all
[root@alphaos broadcom-wl]# makepkg --asroot
==> Making package: broadcom-wl 5.100.82.112-13 (Sun Jul 28 08:37:33 CEST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found hybrid-portsrc_x86_32-v5_100_82_112.tar.gz
-> Found modprobe.d
-> Found license.patch
-> Found linux-recent.patch
==> Validating source files with sha1sums...
hybrid-portsrc_x86_32-v5_100_82_112.tar.gz ... Passed
modprobe.d ... Passed
license.patch ... Passed
linux-recent.patch ... Passed
==> Extracting sources...
-> Extracting hybrid-portsrc_x86_32-v5_100_82_112.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
patching file Makefile
patching file src/include/bcmutils.h
patching file src/wl/sys/wl_cfg80211.c
patching file src/wl/sys/wl_iw.h
patching file src/wl/sys/wl_linux.c
patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 244 (offset 4 lines).
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-3.9.6'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
CC [M] /initrd/mnt/dev_save/data/Downloads/broadcom-wl/src/src/shared/linux_osl.o
CC [M] /initrd/mnt/dev_save/data/Downloads/broadcom-wl/src/src/wl/sys/wl_linux.o
/initrd/mnt/dev_save/data/Downloads/broadcom-wl/src/src/wl/sys/wl_linux.c: In function 'wl_proc_open':
/initrd/mnt/dev_save/data/Downloads/broadcom-wl/src/src/wl/sys/wl_linux.c:3166:2: error: implicit declaration of function 'PDE_DATA' [-Werror=implicit-function-declaration]
return single_open(file, wl_proc_read, PDE_DATA(inode));
^
/initrd/mnt/dev_save/data/Downloads/broadcom-wl/src/src/wl/sys/wl_linux.c:3166:2: warning: passing argument 3 of 'single_open' makes pointer from integer without a cast [enabled by default]
In file included from include/linux/seq_file_net.h:4:0,
from include/net/net_namespace.h:129,
from include/linux/netdevice.h:43,
from /initrd/mnt/dev_save/data/Downloads/broadcom-wl/src/src/include/linuxver.h:60,
from /initrd/mnt/dev_save/data/Downloads/broadcom-wl/src/src/wl/sys/wl_linux.c:21:
include/linux/seq_file.h:125:5: note: expected 'void *' but argument is of type 'int'
int single_open(struct file *, int (*)(struct seq_file *, void *), void *);
^
cc1: some warnings being treated as errors
make[2]: *** [/initrd/mnt/dev_save/data/Downloads/broadcom-wl/src/src/wl/sys/wl_linux.o] Error 1
make[1]: *** [_module_/initrd/mnt/dev_save/data/Downloads/broadcom-wl/src] Error 2
make[1]: Leaving directory `/usr/src/linux-3.9.6'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Found out how to do itScooby wrote:Is there a way to add a menuitem to spadefm desktop-menu that opens the original
AlphaOS menu, The one I get when I right-click Tint2 panel?
https://wiki.archlinux.org/index.php/Openbox#Linking_the_menu_to_a_button
I don't know is it possible to get that program to work here, actually goal is to have something that is functional and after network connection is established you can install anything you like.Ghost Dog wrote:Srsly, this pwireless is totally lame. And frisbee won't be much better.
So how can I use Barry's Simple Network Setup?
After I send them mail about new name, here is alphaos page at Softpedia
http://linux.softpedia.com/get/System/O ... 6404.shtml
.. notice that archpup is still in page link ..
http://linux.softpedia.com/progScreensh ... 96404.html
Anyone remember those screen shots? And famous snowflake wallpaper, still it's the best I've even seen...
Download count on that page for alphaOS says 1.500.
http://linux.softpedia.com/get/System/O ... ributions/
For comparison
Puppy Precise 8.437
Pear Linux 27,792
PCLinuxOS 72,640
Sure I remember, I was on snowflake for a long time, was that Archpup12.2.2?simargl wrote: http://linux.softpedia.com/progScreensh ... 96404.html
Anyone remember those screen shots? And famous snowflake wallpaper, still it's the best I've even seen...
You can see Thunar Icon- I miss it. It had a blissful user-experience somehow, sorry it was crappy in some other respects.
Yes, thunar had that gentle touch with mouse wheel resize icons or add bookmarks with drag and drop, it is still good file manager.
I started making new version, interesting is that harfbuzz package https://www.archlinux.org/packages/extra/i686/harfbuzz/ in Arch is now split to harfbuzz and harfbuzz-icu. Now Gtk2 and Gtk3 applications are free from dependency of icu, without need to recompile harfbuzz like in previous versions.
aufs-util refused to compile with error
I started making new version, interesting is that harfbuzz package https://www.archlinux.org/packages/extra/i686/harfbuzz/ in Arch is now split to harfbuzz and harfbuzz-icu. Now Gtk2 and Gtk3 applications are free from dependency of icu, without need to recompile harfbuzz like in previous versions.
aufs-util refused to compile with error
so I had to fix it with thisaufs-util for aufs3.0 and later, but aufs is 3.10-20130722.
Code: Select all
sed -i 's|return -1|return 0|g' ver.c
The developer of harfbuzz got request of libiculess harfbuzz choice. Now ./configure has choice for it.interesting is that harfbuzz package https://www.archlinux.org/packages/extra/i686/harfbuzz/ in Arch is now split to harfbuzz and harfbuzz-icu.
I compiled harfbuzz libiculess and now I have libiculess Upup Raring.
There arent many apps which need libicu or you can compile them libiculess. Libicu is just unneeded weight in distro, mostly.
alphaOS 9.0 has been released!
See 'Latest News' section http://alphaos.tuxfamily.org/
Downloads https://sourceforge.net/projects/alphaos/files
See 'Latest News' section http://alphaos.tuxfamily.org/
Downloads https://sourceforge.net/projects/alphaos/files
Tested new AlphaOS 9 real quicksimargl wrote:alphaOS 9.0 has been released
Using save file from AlphaOS8.
Resolution was way low and in 4:3 format(got a 16:9 screen)
Does this mean graphic card driver not loaded correctly?
I don know how to change resolution in linux, never done it before actually.
When trying to access applications submenu I got a pipe-error message.
I know this is not so informative but I will supply better info when I got time.
Despite seeing iwldm and mac??? modules loading during startup wlan0 interface not accessible.
Real quick test as I said. Maybe should try without AlphaOS8 savefile.
OK I dropped save-file from Alphaos8 and now it works better.
Resolution was OK, Menu did work without error.
wireless didnt however
I tried the load modules in rc.conf(iwldvm and mac80211)
I dont get the message
That I got in AlphaOS8
I tried to do
still no wlan interface?
Since I cannot migrate save-file I will try to automate my setup.
IS this best done with bash script or something else?
*EDIT*
output from lsmod, the modules seems loaded but still problems
Module Size Used by
iwldvm 92031 0
mac80211 183671 1 iwldvm
...
wlwifi 54958 2 iwldvm
...
cfg80211 138785 3 iwlwifi,mac80211,iwldvm
...
rfkill 10460 3 cfg80211,bluetooth,asus_wmi
Resolution was OK, Menu did work without error.
wireless didnt however
I tried the load modules in rc.conf(iwldvm and mac80211)
I dont get the message
Code: Select all
User defined modules loaded iwldvm mac80211 [OK]
I tried to do
Code: Select all
modprobe iwldvm
modprobe mac80211
Since I cannot migrate save-file I will try to automate my setup.
IS this best done with bash script or something else?
*EDIT*
output from lsmod, the modules seems loaded but still problems
Module Size Used by
iwldvm 92031 0
mac80211 183671 1 iwldvm
...
wlwifi 54958 2 iwldvm
...
cfg80211 138785 3 iwlwifi,mac80211,iwldvm
...
rfkill 10460 3 cfg80211,bluetooth,asus_wmi
Scooby, do you still have a backup of you old save file. If yes you can try this:
mount that file (ex. command: mount oldsave.2fs.bak somefolder),
copy /root folder from your old save file over new /root,
Then you will firefox bookmarks, add-ons and other program settings in this version same as in previous, assuming that frisbee and wireless start working.
mount that file (ex. command: mount oldsave.2fs.bak somefolder),
copy /root folder from your old save file over new /root,
Then you will firefox bookmarks, add-ons and other program settings in this version same as in previous, assuming that frisbee and wireless start working.
Is there something interesting in /tmp/bootsysinit.log?Scooby wrote: I tried the load modules in rc.conf(iwldvm and mac80211)
I dont get the message
Posted re this on the alphaOS board. iwlwifi firmware code is not present in 9.0. I copied the iwlwifi files from /lib/firmware in 8.0 to 9.0, did what you did above and wlan0 was created and frisbee connected.Scooby wrote:OK I dropped save-file from Alphaos8 and now it works better.
Resolution was OK, Menu did work without error.
wireless didnt however
I tried the load modules in rc.conf(iwldvm and mac80211)
I dont get the message
That I got in AlphaOS8Code: Select all
User defined modules loaded iwldvm mac80211 [OK]
I tried to dostill no wlan interface?Code: Select all
modprobe iwldvm modprobe mac80211
Since I cannot migrate save-file I will try to automate my setup.
IS this best done with bash script or something else?
*EDIT*
output from lsmod, the modules seems loaded but still problems
Module Size Used by
iwldvm 92031 0
mac80211 183671 1 iwldvm
...
wlwifi 54958 2 iwldvm
...
cfg80211 138785 3 iwlwifi,mac80211,iwldvm
...
rfkill 10460 3 cfg80211,bluetooth,asus_wmi
Pups currently in kennel :D Older LxPupSc and X-slacko-4.4 for my users; LxPupSc, LxPupSc64 and upupEF for me. All good pups indeed, and all running savefiles for look'n'feel only. Browsers, etc. solely from SFS.
Hi simargl,
Thanks for yet another masterpiece of alphaOS now at V9! Writing from it now. However, for my wireless internet to work, I had to copy iwlwifi files from /lib/firmware in 8.0 to 9.0 as suggested by marv and then put iwldvm and mac80211 in the modules line in /etc/rc.conf before making a savefile. Obviously, iwlwifi firmware codes are mssing in V9.
Other than this, everything seems to be working fine.
Cheers.
Thanks for yet another masterpiece of alphaOS now at V9! Writing from it now. However, for my wireless internet to work, I had to copy iwlwifi files from /lib/firmware in 8.0 to 9.0 as suggested by marv and then put iwldvm and mac80211 in the modules line in /etc/rc.conf before making a savefile. Obviously, iwlwifi firmware codes are mssing in V9.
Other than this, everything seems to be working fine.
Cheers.
[b][color=green]Success is never ending. ... Failure is never final![/color][/b]
[size=75][i](Used with kind permission from jejy69)[/i][/size]
[size=75][i](Used with kind permission from jejy69)[/i][/size]