kernel compiling in woof-ce

Under development: PCMCIA, wireless, etc.
Message
Author
stemsee

#221 Post by stemsee »

@peebee

Thanks for the feedback.

Please note: aufs-utils not included in that.

However last night I adjusted the script and recompiled pae, nopae and 64 bit kernels all with aufs-utils included.

I will upload then post Huge packages and sources and modified sukk. Although i am going to rewrite sukk-universal to include fdrv/kernel-kit improvements and a few ideas of my own.
stemsee

#222 Post by stemsee »

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#223 Post by 666philb »

stemsee wrote:

SUKK-5
http://tinyurl.com/p4d6n5l
hi stemsee,

the SUKK-5 link is broken
Error: TinyURL redirects to a TinyURL.
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
stemsee

#224 Post by stemsee »

Oops!

SUKK-5
Attachments
SUKK-5.tar.gz
(194.45 KiB) Downloaded 318 times
Dry Falls
Posts: 616
Joined: Tue 16 Dec 2014, 23:37
Location: Upper Columbia

#225 Post by Dry Falls »

build separately pae, nopae, 64. Same build log:

Code: Select all

fatal: Not a git repository (or any parent up to mount point /initrd/mnt/dev_save)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
In ram:

Code: Select all

fatal: Not a git repository (or any parent up to mount point /initrd/mnt/dev_ro2)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Specifically:

Code: Select all

...

WARNING: This will delete aufs, kernel folder but wont touch configs or dist.
Please wait...
Cleaning complete
Kernel Sources already there!
Creating the Aufs sources tarball
Extracting the kernel sources
Adding Aufs to the kernel sources
Resetting the minor version number
Reducing the verbosity level
Applying ../patches/commoncap-symbol.patch
Cleaning the kernel sources
./ubuild.sh: line 719: cd: linux-4.1.2: No such file or directory

For unattended config of new kernels do nothing here!
For old kernel versions or other customisations enter 2 ... 

1. make olddefconfig
2. make menuconfig
3. make oldconfig
8 seconds
...
...
...
Creating the kernel package
Huge kernel 4.1.2-JL is ready in dist
Cleaning the kernel sources
Now to build the aufs-utils for userspace
Failed to get aufs-util from git, do it manually. Kernel is compiled OK :)
./ubuild.sh: line 819: cd: aufs-util: No such file or directory
fatal: Not a git repository (or any parent up to mount point /initrd/mnt/dev_ro2)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Failed to get aufs-util from git, do it manually. Kernel is compiled OK :)
Patching aufs-util sources
cp: cannot stat 'Makefile': No such file or directory
sed: can't read Makefile: No such file or directory
./ubuild.sh: line 838: ../dist/sources/patches/aufs-util-dynamic.patch: No such file or directory
rm: cannot remove '*.orig': No such file or directory
then it stops, hanging at the blinking cursor. Source, modules, headers and kernel all built but no mksquashfs. No packages. The "No such file or directory" warnings are in error, to say the least.

Might it be something I messed up in the latest JL64-603? I've been making packages for days, so I don't think it's me. But maybe I've missed something else?

df
stemsee

#226 Post by stemsee »

Hi, just returned from camping trip!

@DryFalls

Which version of sukk are you using? 5? I had similar troubles before. 666philb indicated that the servers were experiencing difficulties!

I will do a run for 4.1.3 lat.er today to check if the script has bugs. But I did compile 4.1.2 kernels flawlessly, however sometimes the script from the wrong partition gets uploaded!!!

EDIT:
Attachments
capture30847.jpg
This is how it appears for sukk-5 . so I think @Dry Falls you are using an older version.
(18.26 KiB) Downloaded 566 times
stemsee

#227 Post by stemsee »

SUKK-Universal is performing well. Includes option to install megatools, and upload to mega, and options to download firmware big or small package.
Last edited by stemsee on Mon 27 Jul 2015, 09:37, edited 1 time in total.
stemsee

#228 Post by stemsee »

how to make dialog accept multiple-selections?

Code: Select all

files=$(dialog --stdout --title "Choose a file" --fselect $HOME/ 14 48)

This pure bash code does one selection at a time!

Code: Select all

#!/bin/bash

# customize with your own.
options=("AAA" "BBB" "CCC" "DDD")

menu() {
    echo "Avaliable options:"
    for i in ${!options[@]}; do 
        printf "%3d%s) %s\n" $((i+1)) "${choices[i]:- }" "${options[i]}"
    done
    [[ "$msg" ]] && echo "$msg"; :
}

prompt="Check an option (again to uncheck, ENTER when done): "
while menu && read -rp "$prompt" num && [[ "$num" ]]; do
    [[ "$num" != *[![:digit:]]* ]] &&
    (( num > 0 && num <= ${#options[@]} )) ||
    { msg="Invalid option: $num"; continue; }
    ((num--)); msg="${options[num]} was ${choices[num]:+un}checked"
    [[ "${choices[num]}" ]] && choices[num]="" || choices[num]="+"
done

printf "You selected"; msg=" nothing"
for i in ${!options[@]}; do 
    [[ "${choices[i]}" ]] && { printf " %s" "${options[i]}"; msg=""; }
done
echo "$msg"

Finally this code does it exactly right.

Code: Select all

#!/bin/bash
cmd=(dialog --separate-output --checklist "Select options:" 22 76 16)
options=(1 "Option 1" off    # any option can be set to default to "on"
         2 "Option 2" off
         3 "Option 3" off
         4 "Option 4" off)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
clear
for choice in $choices
do
    case $choice in
        1)
            echo "First Option"
            ;;
        2)
            echo "Second Option"
            ;;
        3)
            echo "Third Option"
            ;;
        4)
            echo "Fourth Option"
            ;;
    esac
done
[/code]
stemsee

#229 Post by stemsee »

Last edited by stemsee on Mon 27 Jul 2015, 11:14, edited 1 time in total.
stemsee

#230 Post by stemsee »

SUKK-Universal includes woof-ce > fdrv > kernel kit > build.sh
and configs and build.conf, there is no conflict with sukk/ubuild.sh and confs, which now use configs_extra_user. The only caveat is that if dist has packages from ubuild.sh build and if you then run build.sh it will delete dist with everything inside. However if you select the mega upload option then the work is backed up on the cloud. Or just rename dist to dis or something!


http://tinyurl.com/qavafjz
Attachments
capture26112.jpg
(30.94 KiB) Downloaded 513 times
capture27762.jpg
(17.7 KiB) Downloaded 507 times
capture29405.jpg
(21.4 KiB) Downloaded 498 times
capture2166.jpg
(23.39 KiB) Downloaded 503 times
stemsee

#231 Post by stemsee »

I suppose the next thing would be to offer to install the kernel and modules into running system and rename modules.sfs according to DISTRO_SPECS. And implement the option to use google drive instead of mega. I will wait for some feedback first.
User avatar
Chili Dog
Posts: 161
Joined: Tue 20 Dec 2011, 11:17

#232 Post by Chili Dog »

I've noticed there's no default console loglevel variable in printk.c anymore.

Does anyone know how to lower that on new kernels?
holgazon
Posts: 1
Joined: Mon 27 Jul 2015, 16:10

#233 Post by holgazon »

User avatar
Chili Dog
Posts: 161
Joined: Tue 20 Dec 2011, 11:17

#234 Post by Chili Dog »

Never mind, I found the answer. It's been moved to include/linux/printk.h.
Dry Falls
Posts: 616
Joined: Tue 16 Dec 2014, 23:37
Location: Upper Columbia

#235 Post by Dry Falls »

stemsee wrote:Hi, just returned from camping trip!

@DryFalls

Which version of sukk are you using? 5? I had similar troubles before. 666philb indicated that the servers were experiencing difficulties!
It was v5 downloaded from the prior post (oops) attachment. Here is the aufs from build64:

Code: Select all

kernel_version="4.1.2"

# below is a list of kernel mirrors
# uncomment the closest one to you
# make sure only one is uncommented! 
# you can search for more mirrors and use them
numer=`echo $kernel_version | cut -f1 -d '.'`
kernel_mirror="http://www.kernel.org/pub/linux/kernel/v4.x/"
#kernel_mirror="http://mirror.aarnet.edu.au/pub/ftp.kernel.org/linux/kernel/v3.0/"

# new vars
# if sourceforge seems unstable use the sfjro url
#aufs_git=git://github.com/sfjro/aufs4-linux.git
aufs_git=git://github.com/sfjro/aufs4-standalone.git

# This is only for new kernels, leave blank if not using bleeding edge RC
aufsv=4.1
#aufs3=3.x-rcN
#SPECIAL NOTE. LTS 3.10X kernels past 3.10.25 need this set with 'aufs3=3.10.x' 
The only problem with aufs was at the tail end, package--build. Has Universal changed? I haven't been keeping up very well, but I never had any problems with it. Anyway, I got the aufs stuff in the kernel modules from v4.0.1 and made the kernel package manually for v4.1.2. It seems to work fine. I noticed the kernel modules/firmware is a lot lighter, the kernel only slightly heavier. Is there more built into the kernel than before or is the 4.1 series that much more efficient?

df
stemsee

#236 Post by stemsee »

your aufsv=4.1 so I should be 4.0, that is how I now code it! I just compiled the lot with no glitches. sukk-5 (simpler) and sukk-universal (more options) should be ok. Go with universal for including more firmware from ibiblio server.
User avatar
Chili Dog
Posts: 161
Joined: Tue 20 Dec 2011, 11:17

#237 Post by Chili Dog »

Hey stemsee I compiled the 4.1.3 kernel yesterday, and it gives these ntfs-3g errors, saying my windows drive is flagged and is read-only. Is that normal? Because my 3 series kernel reads and writes it just fine.
stemsee

#238 Post by stemsee »

@Chilli Dog

You can see that write is enabled in the pae config. Have you checked your fstab? I plugged a usb ntfs partition in and created a directory no problem, with my 4.1.3 kernel. Did you use a custom config?

Try booting your system without a savefile and see if the problem is still there! Are the kernel modules named and loaded correctly?

There are a few variables involved you give little useful information.
Attachments
capture10376.jpg
(53.75 KiB) Downloaded 397 times
User avatar
Chili Dog
Posts: 161
Joined: Tue 20 Dec 2011, 11:17

#239 Post by Chili Dog »

Yes I did use a custom config, but the section you posted looks the same.

Code: Select all

# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_NTFS_FS=y
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y
I booted without a save file.

I wonder what it could be?
jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#240 Post by jamesbond »

Out of topic, sorry, but I think it is important to know:
http://sourceforge.net/p/aufs/mailman/message/34289816/
J.R. Okajima wrote:Today is Monday. I usually release aufs on every Monday and it is
expected to be release aufs4.x-rcN for linux-4.2-rc[12] today.
But fortunately/unfortunately I am very busy now and have to suspend my
aufs development for a while, at least for this month. In other words, I
will not release aufs4.x-rcN for almost all linux-4.2-rcN series.
If everything goes well, I will come back in next month and will release
aufs4.2.
J.R. Okajima is the original author and the sole maintainer of aufs since its inception in 2006.

Many people wouldn't know what aufs is and what good it is for - but since this is a kernel-compiling thread, I am sure you all know what it is used for (in case you don't, I wrote an explanation here: http://www.murga-linux.com/puppy/viewto ... 140#506140).

If you think Puppy is nice, and you have donated to Barry, I would urge you to donate to him as well. If not because of the kindness of your heart or because of your gratitude of having enjoyed Puppy (and indirectly, aufs); at least donate for the selfish reason to ensure the longevity of aufs (and thus that of Puppy and many other distros like it e.g. Slax, etc as well). If you have already donated - then please ignore this plea :D
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]
Post Reply