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 Fri 02 Dec 2016, 18:22
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Kernel Compiling - Kernel-kit
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [35 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
HoerMirAuf


Joined: 22 Jan 2008
Posts: 242
Location: Würzburg

PostPosted: Sun 25 May 2014, 15:30    Post subject:  

Also tryed to compile 3.14.4... always get a error Sad Anybody got a working dotconfig for a 3.14.4 kernel?
Back to top
View user's profile Send private message 
charlie6


Joined: 30 Jun 2008
Posts: 1136
Location: South of Belgium

PostPosted: Wed 28 May 2014, 00:39    Post subject: compile trial of k-3.14.4 on wheezy  

Hi,
@christian
Quote:
I just tried to compile 3.14. For some reasons the compilation worked out of the box. Interested to use the results ?

thanks! for sure it's interesting Very Happy ! either you'r are lucky or you have somewhat digged into the build.sh to get it compiling 3.14.4 !

kernel compile (first time i'm doing this ! Confused ) on wheezy-3.5.2.11 using kernel-kit-3.series-0.1.3:
material used:
Quote:
aufs3-14-git270514.tar.bz2: 146 K
linux-3.14.4.tar.xz: 75 M

note: had to download and place linux-3.14.4.tar.xz in /dist/sources/vanilla/ as the download step did not work.
I also had to edit line 176 of build.sh this way:
Code:
# extract the kernel
echo "Extracting the kernel sources"
tar xvJf dist/sources/vanilla/linux-$kernel_version.tar.xz >> build.log 2>&1
if [ $? -ne 0 ]; then
   echo "Error: failed to extract the kernel sources."
   exit 1
fi

so that the tar.xz could be extracted.

upon the firs trial, the error message told to use
Code:
make oldconfig
, i did it inside the "linux-3.14.4" folder and subsequently had to manualy set the kernel compile options (see DOTconfig attached);
did
Code:
# cp .../kernel-kit-3.series-0.1.3/linux-3.14.4/.config /kernel-kit-3.series-0.1.3/configs_extra/DOTconfig-3.14.4_1-dpup
;

then ran build.sh again and got the following error message while compiling the kernel: i cannot fix that as i did not find anything relevant into fs/aufs/aufs.h.

Quote:
patching file fs/aufs/loop.c
Hunk #1 succeeded at 29 with fuzz 2 (offset 1 line).
linux-3.14.4/
linux-3.14.4/.gitignore
linux-3.14.4/.mailmap
linux-3.14.4/COPYING
linux-3.14.4/CREDITS
...
CC fs/ioprio.o
CC fs/proc_namespace.o
LD fs/aufs/built-in.o
CC [M] fs/aufs/module.o
In file included from fs/aufs/aufs.h:44:0,
from fs/aufs/module.c:24:
fs/aufs/file.h: In function ‘au_vm_prfile_set’:
fs/aufs/file.h:304:5: error: ‘struct vm_area_struct’ has no member named ‘vm_prfile’
make[2]: *** [fs/aufs/module.o] Error 1
make[1]: *** [fs/aufs] Error 2
make: *** [fs] Error 2


i gave up at that point ...

HTH
Charlie
DOTconfig.tar.gz
Description 
gz

 Download 
Filename  DOTconfig.tar.gz 
Filesize  27.04 KB 
Downloaded  292 Time(s) 
Back to top
View user's profile Send private message 
HoerMirAuf


Joined: 22 Jan 2008
Posts: 242
Location: Würzburg

PostPosted: Wed 28 May 2014, 05:13    Post subject:  

Hi charlie6

... use the kernel-kit from woof-ce. It will just compile youre kernel.

https://github.com/puppylinux-woof-CE/woof-CE/archive/master.zip

My 3.14.4 kernel works on a full installation. Only only on a frugal one, it will not store a savefile and also not translate the initrd (no acces to the drives?) seems i have to build one more time ....
Back to top
View user's profile Send private message 
oldyeller


Joined: 15 Nov 2011
Posts: 873
Location: Alaska

PostPosted: Fri 03 Oct 2014, 14:31    Post subject:  

Do you compile the kernel in full install or can you compile the kernel in a frugal install?
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 3019
Location: wales

PostPosted: Fri 03 Oct 2014, 14:42    Post subject:  

hi oldyeller,

frugal is fine ....with the kernel kit from woof CE https://github.com/puppylinux-woof-CE/woof-CE/archive/testing.zip

_________________
Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send private message 
oldyeller


Joined: 15 Nov 2011
Posts: 873
Location: Alaska

PostPosted: Fri 03 Oct 2014, 14:59    Post subject:  

Thanks,
Back to top
View user's profile Send private message 
vicmz


Joined: 15 Jan 2012
Posts: 1257

PostPosted: Sat 22 Nov 2014, 17:45    Post subject: Kernel compile error
Subject description: Precise Puppy
 

I'm using the kernel-kit from Woof-CE-testing in Precise Puppy. I can't compile any kernels. Apparently, I should install something else to get all the patches right, but I can't figure it out yet. I attach the build.log below. After downloading and applying the patches, compiling results in errors.
build.log.gz
Description 
gz

 Download 
Filename  build.log.gz 
Filesize  120.16 KB 
Downloaded  265 Time(s) 

_________________
OB Precise 15.01 kernel 3.17.7|Puppy Linux en español
Back to top
View user's profile Send private message 
HoerMirAuf


Joined: 22 Jan 2008
Posts: 242
Location: Würzburg

PostPosted: Wed 04 Nov 2015, 06:31    Post subject:    

Anybody experience with kernel > 4 and woofce?

Is aufs still needed? because new kernel have a own FS Overlay system.
And when yes .... can't add aufs patch to the latest kernel 4.3

But i am not very experienced in kernel configuring ... Crying or Very sad

_________________
Slacko-5.6 / Kernel 4.5.5
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 2503
Location: Worcestershire, UK

PostPosted: Wed 04 Nov 2015, 07:16    Post subject:  

HoerMirAuf wrote:
Anybody experience with kernel > 4 and woofce?

Yes - they work fine as long as the HUGE archive is named correctly....

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
HoerMirAuf


Joined: 22 Jan 2008
Posts: 242
Location: Würzburg

PostPosted: Wed 04 Nov 2015, 08:05    Post subject:  

The archive named correctly?

But i havn't to name archive, isnt it? All archives are build by the buid.sh .. or i am wrong .... compiled some kernels but can't get compiled 4.3 ...

first a aufs download error. After donload the archive manually an packed it to the dist/source/vanilla folder allways a aufs patch error....

@ peebee which auf path do you use? can you give me a hint how to set the build.conf?

_________________
Slacko-5.6 / Kernel 4.5.5
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 2503
Location: Worcestershire, UK

PostPosted: Wed 04 Nov 2015, 10:06    Post subject:  

HoerMirAuf wrote:
The archive named correctly?

But i havn't to name archive, isnt it? All archives are build by the buid.sh .. or i am wrong .... compiled some kernels but can't get compiled 4.3 ...

first a aufs download error. After donload the archive manually an packed it to the dist/source/vanilla folder allways a aufs patch error....

@ peebee which auf path do you use? can you give me a hint how to set the build.conf?

Sorry - my misunderstanding of your question...

I thought you asked "can kernels >4 be used in woofce builds"....

I think you are asking "can >4 kernels be built using the kernel kit in woof-ce"?

The answer is yes and no - 01micko has built k4.1.11 but looks like k4.3 can't yet be built.

Stemsee has built k4,2,5 using his sukk tool but not k4.3.

I haven't built a kernel myself....only used the endeavours of others. If I did I would plagiarise (as usual Wink )

Cheers
peebee

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
HoerMirAuf


Joined: 22 Jan 2008
Posts: 242
Location: Würzburg

PostPosted: Thu 05 Nov 2015, 08:19    Post subject:  

Hi peebee ..

thank's for your reply.

Ok .... between ... i got it! Compiled successful a stable 4.3 kernel with woof-ce kernel kit Very Happy
The only thing ... ndiswrapper will not compile with this kernel.
There was a patched 3.14 version which worked with kernel 4.0.0 but this version will not work wit 4.3 too.

Code:
ndiswrapper-1.59/driver/crt.c: In function ‘_win_srand’:
ndiswrapper-1.59/driver/crt.c:470:2: error: implicit declaration of function ‘net_srandom’ [-Werror=implicit-function-declaration]
net_srandom(seed);


Nothing found on web to solve it :/

Anybody a idea?

_________________
Slacko-5.6 / Kernel 4.5.5
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 2503
Location: Worcestershire, UK

PostPosted: Mon 09 Nov 2015, 12:43    Post subject: Please enable the Mediatek mt7601u wifi driver  

Please enable the Mediatek mt7601u wifi driver in the 4.2 and subsequent trees.

CONFIG_WL_MEDIATEK=y
CONFIG_MT7601U=m

Details

Thanks
peebee

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
moeppyfan


Joined: 11 Feb 2016
Posts: 48

PostPosted: Fri 18 Mar 2016, 15:59    Post subject:  

666philb wrote:
frugal is fine ....with the kernel kit from woof CE https://github.com/puppylinux-woof-CE/woof-CE/archive/testing.zip

This woof-CE version worked quite well for me when trying to compile 3.14.65. Smile The steps I had to do (from what I remember):

- Open /kernel-kit/build.conf in a text editor
- Change the kernel_version= line to "3.14.65" (or the newest 3.14 on kernel.org)
- Change the sublevel= to no (so it doesn't display as 3.14.0)
- In the directory /kernel-kit/config-extras, copy the file DOTconfig-3.14.54-slacko32 to DOTconfig-3.14.65-slacko32
- Open the console, navigate into the kernel-kit directory and type ./build.sh (make sure a devx is mounted)
- When asked, select your 3.14.65-slacko32 config file, then later on I picked the "1. make menuconfig" option
- When the blue menu screen came on, I just pressed Esc twice to keep default values
- The Linux kernel 3.14.65 downloads (it was a ~79MB tar.xz file, took about 30 minutes for me @40KB/s)
- The next part "Compiling the kernel" took about 2 hours on my single core laptop (you can watch the progress in build.log)
- When that stage was finished, I selected "firmware-140621-cut" (~9MB) to add (I think that's what 3.14.55 also used)
- A ~34MB huge-3.14.65.tar.bz2 file should be in /kernel-kit/dist/packages that you can try with change_kernels. Bark bark! Laughing

One difference I noticed between the resulting zdrv and the original 3.14.55 in slacko was that /lib/modules/all-firmware was not added by default for me (saving ~800K squashed). I noticed it's also not in LxPupSc's kernel, so maybe it's safe to leave out?
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 2503
Location: Worcestershire, UK

PostPosted: Fri 18 Mar 2016, 19:37    Post subject:  

moeppyfan wrote:
One difference I noticed between the resulting zdrv and the original 3.14.55 in slacko was that /lib/modules/all-firmware was not added by default for me (saving ~800K squashed). I noticed it's also not in LxPupSc's kernel, so maybe it's safe to leave out?

all-firmware arises from .pets included in the woof-ce build and resides in the puppy_*.sfs not in the zdrv.....

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 3 [35 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
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.0573s ][ Queries: 13 (0.0068s) ][ GZIP on ]