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 Thu 11 Feb 2016, 05:00
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 2 [28 Posts]   Goto page: Previous 1, 2
Author Message
HoerMirAuf


Joined: 22 Jan 2008
Posts: 229
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: 1119
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  197 Time(s) 
Back to top
View user's profile Send private message 
HoerMirAuf


Joined: 22 Jan 2008
Posts: 229
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: 843
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: 2851
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: 843
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: 1230

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  174 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: 229
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.3.0
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 2137
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: 229
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.3.0
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 2137
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: 229
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.3.0
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 2137
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 
Display posts from previous:   Sort by:   
Page 2 of 2 [28 Posts]   Goto page: Previous 1, 2
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.0876s ][ Queries: 12 (0.0238s) ][ GZIP on ]