ArchPup - Puppy based on Arch Linux

For talk and support relating specifically to Puppy derivatives
Post Reply
Message
Author
User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#101 Post by mavrothal »

simargl,
are aufs-utils included in the build? Could not find them anywhere. I could not also find aufs_type.h in the kernel headers :? and the one in the kernel source will not do.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

simargl

#102 Post by simargl »

mavrothal wrote:simargl,
are aufs-utils included in the build? Could not find them anywhere. I could not also find aufs_type.h in the kernel headers :? and the one in the kernel source will not do.
It should be there:

Code: Select all

[root@archpup src]# ls
linux  linux-3.6.8
[root@archpup src]# find linux-3.6.8 -name *aufs*
linux-3.6.8/Documentation/ABI/testing/debugfs-aufs
linux-3.6.8/Documentation/ABI/testing/sysfs-aufs
linux-3.6.8/Documentation/filesystems/aufs
linux-3.6.8/fs/aufs
linux-3.6.8/fs/aufs/aufs.h
linux-3.6.8/fs/aufs/dbgaufs.c
linux-3.6.8/fs/aufs/dbgaufs.h
linux-3.6.8/fs/aufs/sysaufs.c
linux-3.6.8/fs/aufs/sysaufs.h
linux-3.6.8/include/config/aufs
linux-3.6.8/include/linux/aufs_type.h

simargl

#103 Post by simargl »

So I got only one response on request for testing udev :(. OK
See this linux-firmware-20121118.tar.xz in ftp://ftp.archlinux.org/other/linux-firmware/
It contains all linux firmware and needs only simple compressing to sfs module.
I will leave that to interested users (if any). Today will make final update to version 1204
with new udev and some other stuff.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#104 Post by mavrothal »

simargl wrote:
mavrothal wrote:simargl,
are aufs-utils included in the build? Could not find them anywhere. I could not also find aufs_type.h in the kernel headers :? and the one in the kernel source will not do.
It should be there:

Code: Select all

[root@archpup src]# ls
linux  linux-3.6.8
[root@archpup src]# find linux-3.6.8 -name *aufs*
linux-3.6.8/Documentation/ABI/testing/debugfs-aufs
linux-3.6.8/Documentation/ABI/testing/sysfs-aufs
linux-3.6.8/Documentation/filesystems/aufs
linux-3.6.8/fs/aufs
linux-3.6.8/fs/aufs/aufs.h
linux-3.6.8/fs/aufs/dbgaufs.c
linux-3.6.8/fs/aufs/dbgaufs.h
linux-3.6.8/fs/aufs/sysaufs.c
linux-3.6.8/fs/aufs/sysaufs.h
linux-3.6.8/include/config/aufs
linux-3.6.8/include/linux/aufs_type.h
It is in the kernel source sfs but not in /usr/include/linux where it should be. And just copying it over still fails (I do not have the compile error handy now).
What kernel headers do you have in the dev-archpup.sfs?
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

simargl

#105 Post by simargl »

It is original linux-api-headers from Arch. I did not compile it, because glibc needs them and
I thought that recompiling them could create some compatibility issues. You have list of
files from that package here /var/lib/spkg/installed/linux-api-headers.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#106 Post by mavrothal »

simargl wrote:It is original linux-api-headers from Arch. I did not compile it, because glibc needs them and
I thought that recompiling them could create some compatibility issues. You have list of
files from that package here /var/lib/spkg/installed/linux-api-headers.
It's a good idea the kernel headers to come from the kernel in use.
For most user-space apps kernel headers make little difference so you should not be worried for this kind of packages.
But kernel related stuff (drivers, fs etc) may not compile or compile but fail to work if build against a different kernel.
So I would think to run linux-api-headers/PKGBUILD against your patched and configured kernel source and include this in the build.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

slenkar
Posts: 228
Joined: Sat 11 Jul 2009, 01:26

#107 Post by slenkar »

simargl wrote: @slenkar: Can you if test this works

Code: Select all

 git clone git://github.com/keenerd/packer.git
yep that worked,
Was that to test if I can use git?

simargl

#108 Post by simargl »

I tried to compile linux-api-headers and got this after make headers_check

Code: Select all

perl: warning: Falling back to the standard locale ("C").
/usr/src/linux-3.6.8/usr/include/asm-generic/fcntl.h:4: included file 'linux/types.h' is not exported
/usr/src/linux-3.6.8/usr/include/asm-generic/ioctls.h:4: included file 'linux/ioctl.h' is not exported
/usr/src/linux-3.6.8/usr/include/asm-generic/siginfo.h:5: included file 'linux/types.h' is not exported
/usr/src/linux-3.6.8/usr/include/asm-generic/signal.h:4: included file 'linux/types.h' is not exported
/usr/src/linux-3.6.8/usr/include/asm-generic/statfs.h:4: included file 'linux/types.h' is not exported
/usr/src/linux-3.6.8/usr/include/asm-generic/termbits.h:4: included file 'linux/posix_types.h' is not exported
make[2]: *** [/usr/src/linux-3.6.8/usr/include/asm-generic/.check] Error 123
make[1]: *** [asm-generic] Error 2
make: *** [headers_check] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
It's definitely related to aufs, becuase without aufs patches it compiles fine. But how to fix this?
Any ideas?
@slenkar: Yes, that was for testing git, so if that works you can now use packer :)

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#109 Post by mavrothal »

simargl wrote:I tried to compile linux-api-headers and got this after make headers_check
I _think_ this may have to do with how you got, patched and packaged your source and not with the aufs code per se.

Trying

Code: Select all

make INSTALL_HDR_PATH=/root headers_install
I do get the same perl warning but the aufs_type.h and version.h are properly exported.
These are sufficient to allow aufs-utils compilation. I attache the compiled utilities in case someone else wants to try them.
Attachments
aufs-util3-archpup.tar.gz
aufs-utils for archpup 1204-1
(52.18 KiB) Downloaded 552 times
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
T_Hobbit
Posts: 400
Joined: Sat 27 May 2006, 10:50
Location: Portugal - Lisbon

#110 Post by T_Hobbit »

simargl wrote:So I got only one response on request for testing udev :(. OK
See this linux-firmware-20121118.tar.xz in ftp://ftp.archlinux.org/other/linux-firmware/
It contains all linux firmware and needs only simple compressing to sfs module.
I will leave that to interested users (if any). Today will make final update to version 1204
with new udev and some other stuff.
I try your fix but no luck. Will try again later more carefully.
Also still trying to figure out where to create the savefile...
T_Hobbit
:idea: Rebuilding old DOS Machine for Wing Commander Privateer and Puppy :!: Old spare parts to give away - anyone interested :?:

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#111 Post by mavrothal »

simargl wrote:I tried to compile linux-api-headers and got this after make headers_check

Code: Select all

perl: warning: Falling back to the standard locale ("C").
/usr/src/linux-3.6.8/usr/include/asm-generic/fcntl.h:4: included file 'linux/types.h' is not exported
...
It's definitely related to aufs, becuase without aufs patches it compiles fine. But how to fix this?
I would think your solution is this one
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

simargl

#112 Post by simargl »

New release 1204-2 will soon be available...
@mavrothal: I will use original linux-api-headers package for Arch.
As some test, today I've tried to make nvidia kernel module on my
older computer. It compiled and loaded without problems, so will keep it this way.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#113 Post by mavrothal »

simargl wrote:@mavrothal: I will use original linux-api-headers package for Arch.
As some test, today I've tried to make nvidia kernel module on my
older computer. It compiled and loaded without problems, so will keep it this way.
Is your baby :)
Do consider adding aufs-utils in the build though.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

slenkar
Posts: 228
Joined: Sat 11 Jul 2009, 01:26

#114 Post by slenkar »

compiling AUR apps seems to work as long as Udev is installed and not the archlinux devel package

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#115 Post by OscarTalks »

Testing ArchPup 1204-2 now and seems good.
Keyboard needed setxkbmap gb to give me UK layout.
Managed to compile and install DeaDBeef from source and used pacman to install other packages like XArchiver, Linphone and Seamonkey.

I am able to add icons as launchers in the panel and stuff like that.
I did try to set the panel to auto-hide and it does work but the action of passing the cursor to the edge to reveal the panel seems a bit fiddly. Will do some more testing tomorrow.
Oscar in England
Image

oui

#116 Post by oui »

Hi

Did download .2 and copy it into my installation instead of .1 but have to come back to .1 because it will not start at all!

an other message in relation with .2:
Médor wrote:Bonsoir Oui,

Je télécharge la 1024-2 en espérant que le WiFi fonctionne ! Ce n'est pas le cas sur la 1024-1 :evil:
Mes commentaires étaient à propos de la première version, je réactualiserai en conséquence...

Édité :
Malheureusement toujours aucun répertoire firmware dans /lib :shock:
Même en les ajoutant ça ne fonctionne pas :roll:

Cordialement,
Médor.
he also seems don't to be really enthousiast :oops:

I thing about the matter to install new kernels not being from Puppy and not really being from GNU! I don't know Arch. Where is the source from Arch's kernel?

http://www.fsf.org/events/join-the-fsf- ... irectory-5

and especially

http://directory.fsf.org/wiki/GNU_Linux-libre

http://www.gnu.org/software/hurd/hurd.html

at your place, I would let the link to the download of the .1 version ALSO appear together with the other new link in the message #1 of this thread a good week for thus having difficulties to use version .2 ...

Kind regards

Note: perhaps it would be a good thing to find a link to a help file in the menu and in the help file a begin to actualize a history of the version changes so that the user can see and understand with what he is operating now!

simargl

#117 Post by simargl »

@slenkar: Hi, udev package is different than in Arch, compiled and added in IgnorePkg list.
You should not reinstall it or your machine might be unbootable, Xorg won't work etc.

Hi oui,
Did you try to boot it without savefile, using option pfix=ram.
At what stage did it stop for you? Kernel is same as in previous release, only udev is upgraded.
I don't understand Médors message, it looks like he needs linux-firmware package,
it's explained some posts before.

oui

#118 Post by oui »

Hi Simargl

X doesn't start.

it try and try and try to start and it is not possible to break this process.

(I can't start RAM only from CD as I have no working CD drive: I always start from hard disk. so I can't enter some start parameters... But as I don't use some save file at all, it is in my opinion the same as a RAM only start)

king regards

simargl

#119 Post by simargl »

@oui: Here is solution provided by cinclus_cinclus. You could try that
http://murga-linux.com/puppy/viewtopic. ... 963#668963
But, since you dont use save file I think you need to remaster iso, with
unsqashfs arch-1204.sfs
then edit /etc/profle to disable autologin- just comment last 5 lines inside if statement,
and compress it again.
When you boot run X -configure, and see in /var/log/Xorg.log for errors.

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#120 Post by Keef »

Up and running with wifi now. Had to edit the sfs though and add b43 firmware, and a script to get it all running - pwireless2 is not showing anything for me. I cheated and put an already configured wpa_supplicant.conf into etc/.
Also added Opera downloaded from Arch repo. (I have Opera-Next that I use with several Puppies, but it segfaults with Archpup).
Not having any joy with savefiles - if they do appear to load, they do not actually contain anything.

Compaq Armada M700 P3 850mhz

Post Reply