Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 14 Dec 2019, 15:59
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
BusterDog + build system (no-systemd)
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 6 of 8 [116 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8 Next
Author Message
enrique

Joined: 09 Nov 2019
Posts: 85
Location: Planet Earth

PostPosted: Thu 28 Nov 2019, 16:52    Post subject:  

Guys see the aptitude difference in this project!. Not even once I had told comments like building is not for newbies, or documentation is scattered everywhere.

See for examples expressions used by my new friend wdlkmpx before he told me to come and look here BusterDog: ...want to waste your time..., ...hardcore masochist... & ...I'm writing this out of compassion... HEHEHEHE

Since I been here. I been always give a solution or an acceptable alternative. Congratulation keep the good work.

So alternative is : Answer YES tp "Do you want to run Xterm just before exiting chroot ?" and latter down the road do dpkg -i /mydeb.deb or apt-get -f install.

I still looking for a good battery tray for my laptop. Most failed as my /proc/acpi/ does not get populated.
*The source of powerapplet_tray-2.6 seems to use "/proc/acpi/battery/". I know there is an update as Bionic-18.05+4 do have a powerapplet_tray that works on my laptop but it is x86 not amd64.
*qbat... Well this works but I do not trust it. It does try to open socket internet connection!!
* batterup well the one in https://doglinux.github.io/busterdog/amd64/ do tel me if it charging but No Info on battery status/% while discharging.

I will see if peebee can tell me where he got powerapplet_tray in his Bionic-18.05+4
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12812
Location: Stratford, Ontario

PostPosted: Thu 28 Nov 2019, 17:06    Post subject:  

The instructions for Batterup are here.

It uses /sys/class/power_supply.

You probably need to use a different UNITS. See the examples. Try UNITS=MIN.
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 85
Location: Planet Earth

PostPosted: Thu 28 Nov 2019, 17:50    Post subject:  

Well in my laptop it work partially. I does tell me if it charging and when it all ready charge. But If I unplug, it fail to provide any info. It say
Battery Bat0 : status unknown

But powerapplet use by peebee works 100%. I did ask him. And just a few minutes I found app for Slackoware in http://distro.ibiblio.org/puppylinux/pet_packages-slacko6414.2/powerapplet_tray-2.6-x86_64_s700.pet

I hope that one works while I get sources to figure why my laptop fails. On past related acpi issues in another old pc ( fan related) just adding a symlink did the job. I do appreciate the help offered and I hope you know whats wrong or the sources. Thanks.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12812
Location: Stratford, Ontario

PostPosted: Thu 28 Nov 2019, 18:00    Post subject:  

Did you try the other options in the instructions?

Go to /sys/class/power_supply/BAT0. Give me the list of files you see there.
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 85
Location: Planet Earth

PostPosted: Thu 28 Nov 2019, 18:51    Post subject:  

UPSSSS!!! I feel s7up1d... I waisted the whole afternoon on tray Icons ( battery & network) And guess what they are included in the lx-panel.....
Code:
RightClick over Panel/Task bar>Panel Settings>Panel Applets>[ADD]
   Battery Monitor
   Network Status Monitor

Now I can then add my last applet the clip board manager. That one I thought I can live without it but it is not true, Without it Paste data get clean/lost if we close the app where we got it. Forcing the me to reopen and re Copy.

PD See this is more s7up1dity. hehehe
Code:
I wonder if we could adapt also the [b]freememapplet_tray[/b] to check on [b]changes.dat[/b] instead of [b]pupoysave.4fs[/b] I wish we can find sources if it does not work as is.  Listen I do not need to call resize.  But it is nice to see the RED warning of the disk while it fill up.

All this is included in Corky. Corky will turn from green to yellow to red if we use our memory!!
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 85
Location: Planet Earth

PostPosted: Tue 03 Dec 2019, 00:38    Post subject:  

@fredx181

I been having fun with BusterDog. I really like it so far. I got no trouble running all my windows ( x86 & x86_64). I mean all 64/32/16 bits programs and even old dos games. Only had small issue when I install wine/winetricks, where debian apt refuse to download due to systemd missing. So I did use a different changes.dat where I activated systemd a downloaded the missing wine/winetricks the saved to a wine.squashfs module. See as I said earlier, if we can get the solution we like, at least there is always an alternative way.

But now I guess I should move forward and study how I can build my special modules/drivers for v4l-dvb. Good news is that the kernel seems to have media_build in. As I can see "/lib/modules/4.19.0-6-amd64/kernel/drivers/media/dvb-frontends" etc. I will be testing it soon. And determine the current status using my USB PCSAT Card. But normally I need to compile at least my drivers as it requires patch and rebuild so that I can do Blind Scan. I will not detail this any more to prevent further confusion.

Point Is I need Kernel Sources used and any special method/script you guys do to make the kernel compatible with DebianDog, if any. The mklive-buster seems to download already build kernel from https://debiandog.github.io/MakeLive/kernel-ceres-amd64.tar.gz And uname -a shows
Code:
Linux live 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2 (2019-08-28) x86_64 GNU/Linux
I need it with PAE.

Can you help me find the kernel sources? Thanks in advance.
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1416

PostPosted: Tue 03 Dec 2019, 01:08    Post subject:  

enrique wrote:
@fredx181

/snip

Point Is I need Kernel Sources used and any special method/script you guys do to make the kernel compatible with DebianDog, if any. The mklive-buster seems to download already build kernel from https://debiandog.github.io/MakeLive/kernel-ceres-amd64.tar.gz And uname -a shows
Code:
Linux live 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2 (2019-08-28) x86_64 GNU/Linux
I need it with PAE.

Can you help me find the kernel sources? Thanks in advance.


This is the command I used to install the kernel sources to compile my nvidia driver.

Quote:
apt install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//')


When I was done, I searched for "linux-headers" in synaptic to delete them.

This was the output from synaptic when I was deleting them, which should tell you the names of the individual files.

Quote:
linux-headers-4.19.0-6-amd64 will be removed
linux-headers-4.19.0-6-common will be removed
linux-headers-amd64 will be removed
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 85
Location: Planet Earth

PostPosted: Tue 03 Dec 2019, 02:53    Post subject:  

dancytron 1rst as always THANK YOU for your response. That is the default method to compile drivers for a regular Linux Kernel. Please forgive me as I can be wrong. I am under the assumption that BusterDog as any other of the debiandogs do not just used a regular kernel from main stream. I am under the impression that the kernel is manipulated in some way to allow us to do the porteus-boot See description: Choice of Boot Methods: porteus-boot and live-boot v3 (see for options Here)

In Porteus (operating system) I thnink they use Porteus Kernel Builder. It is my expectation that we use something similar.

I have a feeling that the goodies are found inside the initrd1.xz. Maybe they add a "1" to identify that initrd as porteous. But I can be wrong!!

But I am newbie and my lack of experience makes me wonder.
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1416

PostPosted: Tue 03 Dec 2019, 03:15    Post subject:  

Fred will come by and tell us for sure, but I think Fred just adds the aufs module to allow the layered file system. I don't think that effects the headers.

I was able to compile the nvidia drivers with the headers I described.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4216
Location: holland

PostPosted: Tue 03 Dec 2019, 04:15    Post subject:  

dancytron wrote:
Fred will come by and tell us for sure, but I think Fred just adds the aufs module to allow the layered file system. I don't think that effects the headers.

I was able to compile the nvidia drivers with the headers I described.


Yes, that's right, it's the Debian kernel with only aufs module added in /lib/modules (and in initrd1.xz), so if the linux-headers version you install corresponds with the kernel version (4.19.0-6) it's OK.

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12812
Location: Stratford, Ontario

PostPosted: Tue 03 Dec 2019, 05:14    Post subject:  

dancytron wrote:
Quote:
apt install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//')

Why all the 'sed' stuff?
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4216
Location: holland

PostPosted: Tue 03 Dec 2019, 05:46    Post subject:  

rcrsn51 wrote:
Why all the 'sed' stuff?

It will give you the name of the metapackage (which will always install the newest version)

Code:
root@live:~# echo linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//')
linux-headers-686-pae

(this is on Stretch)

EDIT: But I'd recommend to search for linux-headers package corresponding with the kernel version installed, (not using metapackage), e.g. linux-headers-4.19.0-6-amd64

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 85
Location: Planet Earth

PostPosted: Tue 03 Dec 2019, 10:01    Post subject:  

Let me explain myself 1rst. I consider all of you our expert masters. If I ask if because my need to understand. Please in no way consider my questioning as a contradiction to you as an expert. I am asking questiions before I start to prevent wasting my time. I had not even connect my device yet to the computer. Maybe it will work as is!

fredx181 wrote:
Yes, that's right, it's the Debian kernel with only aufs module added in /lib/modules (and in initrd1.xz), so if the linux-headers version you install corresponds with the kernel version (4.19.0-6) it's OK.

Fred


This answer confuse me. Let me explain. If I go to a regular puppy kernel config: woof-CE/kernel-kit/configs_x86_64/DOTconfig-4.9.30-x86_64 I will find CONFIG_AUFS_FS included.

Code:
...
# Pseudo filesystems
...
CONFIG_AUFS_FS=y
CONFIG_AUFS_BRANCH_MAX_127=y
# CONFIG_AUFS_BRANCH_MAX_511 is not set
# CONFIG_AUFS_BRANCH_MAX_1023 is not set
# CONFIG_AUFS_BRANCH_MAX_32767 is not set
CONFIG_AUFS_SBILIST=y
CONFIG_AUFS_HNOTIFY=y
CONFIG_AUFS_HFSNOTIFY=y
CONFIG_AUFS_EXPORT=y
CONFIG_AUFS_INO_T_64=y
CONFIG_AUFS_XATTR=y
CONFIG_AUFS_FHSM=y
CONFIG_AUFS_RDU=y
CONFIG_AUFS_SHWH=y
CONFIG_AUFS_BR_RAMFS=y
CONFIG_AUFS_BR_FUSE=y
CONFIG_AUFS_POLL=y
CONFIG_AUFS_BR_HFSPLUS=y
CONFIG_AUFS_BDEV_LOOP=y
# CONFIG_AUFS_DEBUG is not set
...


Now if I go and read our BusterDog config /boot/config-4.19.0-6-amd64 I wlll not find CONFIG_AUFS_FS=y. I can even look at the downloaded kernel: https://debiandog.github.io/MakeLive/kernel-ceres-amd64.tar.gz Then extract what is inside to get k-4.19.0-6-amd64.squashfs. The extract that to... Then again ints /boot/config-4.19.0-6-amd64 I will not find CONFIG_AUFS_FS=y.

How is that possible? I guess you could added the AUFS & any other porteous modules binary manually.

Also I have not been able to find how the initrd1.xz & vmlinuz1 where created? Even a simple explanation as why we need 1 on it? And I have a feeling there is more in this 1. BusterDog 'boot style Porteus' - porteus initrd1.xz made for debian kernel and firmware. + encrypted save file option.

Best I had found is Porteus boot

Again and most important, please see that I do not try to contradict you. Nor I am trying to force you to provide any secrete recipe. May be the answer is that, it is your special recipe that you want to keep for yourself. If that the case just let me know. Please forgive me if this sound strange. I know some time I cause misunderstandings for been too direct. As always THANK YOU for your help and dedication. I am a fan of yours. God Save the BusterDog, Long Live BusterDog.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4216
Location: holland

PostPosted: Tue 03 Dec 2019, 10:49    Post subject:  

enrique wrote:
This answer confuse me. Let me explain. If I go to a regular puppy kernel config: woof-CE/kernel-kit/configs_x86_64/DOTconfig-4.9.30-x86_64 I will find CONFIG_AUFS_FS included.
...
...
Now if I go and read our BusterDog config /boot/config-4.19.0-6-amd64 I wlll not find CONFIG_AUFS_FS=y. I can even look at the downloaded kernel: https://debiandog.github.io/MakeLive/kernel-ceres-amd64.tar.gz Then extract what is inside to get k-4.19.0-6-amd64.squashfs. The extract that to... Then again ints /boot/config-4.19.0-6-amd64 I will not find CONFIG_AUFS_FS=y.


Hi, enrique, first of all, no need to say that your intention is not to contradict, I understand that you just like to understand things.
Second: there is absolutely nothing to be kept secret, and please understand that the DebianDog project started at almost 6 years ago and developed step by step, so I cannot explain all that's done in that period (many discussions were in the past about porteus-boot setup, initrd1.xz and aufs).
See also links here: https://debiandog.github.io/doglinux/zz07about.html

About porteus-boot and aufs:
Yes, the official Debian kernel is compiled without aufs (as you noticed in the config).
So what we had to do to make use of aufs is simply adding it to the kernel as extra module in /lib/modules and to the initrd (using aufs-dkms to build aufs module)
Btw, note that the porteus-boot method is just the way porteus uses for a layered system (init script in initrd1.xz) and boot options (like from=... changes=...) for the rest Busterdog has no connection with Porteus.
About the "1" in initrd1.xz, it's just a name, there was a reason, but I can' t remember which, anyway, not important, I guess.

Hopefully this makes things a bit more clear for you, otherwise you can always ask for more details of course Smile

EDIT:
Quote:
Also I have not been able to find how the initrd1.xz & vmlinuz1 where created?

How initrd1.xz is created is a (too) long story (but again, not secret), vmlinuz1 is just renamed vmlinuz-..... as it will be in /boot when installing linux-image-.... from Debian package manager, not modified.

EDIT2: You may be interested to install and try "upgrade-kernel"
In the past I did these things manually but not anymore now, it automates the process of creating initrd, <kernel>.squashfs and building aufs module (runs in chroot, so doesn't install anything in the system)

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
enrique

Joined: 09 Nov 2019
Posts: 85
Location: Planet Earth

PostPosted: Tue 03 Dec 2019, 13:46    Post subject:  

I ask for help thinking It will better be prepare with info before proceeding to build kernel or special medial utils for dvb. Starting to search between historical archives will be insane. I guess I should start like any other user. Hooking my device. Setting up my PC just to know that I need to build kernel for my special drivers needed for Blind Scan.

Our kernel version is at 4.19.0-6. See normally I download v4l-updatelee kernel sources. From
https://bitbucket.org/updatelee/v4l-updatelee or
https://bitbucket.org/majortom/v4l-updatelee or
https://bitbucket.org/bluzee/linux-udl

Then I build my kernel. In puppy I use woof-CE/kernel-kit

But up to know, from what you said build same kernel then just
Code:
.. make use of aufs is simply adding it to the kernel as extra module in /lib/modules and to the initrd (using aufs-dkms to build aufs module)


I have a strong feeling that will be not enough. Future experiment will show the result. See you guys latter. I will be doing my assignment.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 6 of 8 [116 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1083s ][ Queries: 13 (0.0192s) ][ GZIP on ]