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 Wed 22 Nov 2017, 16:40
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
kernel compiling in woof-ce
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 32 [467 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 30, 31, 32 Next
Author Message
stemsee

Joined: 27 Jun 2013
Posts: 1999
Location: In The Way

PostPosted: Sat 24 Jan 2015, 18:22    Post subject:  

Here is the latest. 'make olddefconfig' resorts to arch/x86/configs/* for a default config so I needed the script to copy the DDOTconfigs there too so as not to get a prompt.

DOTconfigs now up to date with 3.18.3 features. The no-pae config, no-smp, 4g, 300mhz, i486.
pae and x86_64 smp=8cpus, 1000mhz, i686.

I am running the script now.
unattended-kernel-kit.zip
Description 
zip

 Download 
Filename  unattended-kernel-kit.zip 
Filesize  119.5 KB 
Downloaded  267 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 1999
Location: In The Way

PostPosted: Sun 25 Jan 2015, 04:10    Post subject:  

OK test run reached end of first compile then tried to move non-existing file (renamed) then exited code 1.

Two bugs squashed. Script should work as expected.

To Do: Re-enable user interaction when desiring to build only one or two, not three kernels. And 'make menuconfig' real option so as to update configs (consecutively pre-compile).
unattended-kernel-kit.zip
Description 
zip

 Download 
Filename  unattended-kernel-kit.zip 
Filesize  119.5 KB 
Downloaded  252 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 1999
Location: In The Way

PostPosted: Sun 25 Jan 2015, 05:59    Post subject:  

Uh oh!

Found another bug which prevented the script continuing. Same one as before which I thought I fixed - apparently not. But it is now!!
unattended-kernel-kit.zip
Description 
zip

 Download 
Filename  unattended-kernel-kit.zip 
Filesize  119.5 KB 
Downloaded  262 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
Gobbi

Joined: 09 Mar 2012
Posts: 236

PostPosted: Sun 25 Jan 2015, 11:09    Post subject:  

Hi, @stemsee
First I want to appologize for the stand I took on you last time I posted to you ! Due to my ignorance , I missunderstood your good advice about solving hardware related problems I have and building a specific kernel with the necessary modules. I should simply have said I lack skills to achieve that .Reading more on old posts about Puppy , helped me understand a little more what's going on until the desktop shows up.

About your kernel-kit . I gave it a go on your Emsee V2.3-Cafe Editon 64bit. It took a little less than 10 minutes to complete .798 MB built.
Then I tried it on Fatdog630 editing very little of the config files .It took a little more than 10 minutes . 832 MB built. For this last try I attached the build log .
I don't know if these builds are working , it's early for me to implement them - need more study first .
k_kit_log.tar.gz
Description 
gz

 Download 
Filename  k_kit_log.tar.gz 
Filesize  149.3 KB 
Downloaded  235 Time(s) 
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 1999
Location: In The Way

PostPosted: Sun 25 Jan 2015, 12:21    Post subject:  

Hi Gobbi

We are people, fallible, impatient, lacking knowledge and experience! Learning from mistakes is our second best chance, being perfectly obedient and not making mistakes is too difficult for most of us - look at Adam!!

Here is the latest unattended-kernel-kit. With a few more 'bugs' sorted out. This should be much improved. It should take at least two hours on a newer machine; even three to four hours is not unexpected, as three kernels are being built consecutively, not in parallel.
So you can safely assume that you didn't have a successful build even of the first kernel, maybe only the kernel-headers package!

Anyway, disregard previous ubuild.sh and replace with this one. If you have already downloaded the kernel source.tar.xz it should use it without re-downloading. Make sure /tmp/64 and /tmp/32-pae and /tmp/32-nopae are deleted if you didn't restart your machine first.
unattended-kernel-kit.zip
Description 
zip

 Download 
Filename  unattended-kernel-kit.zip 
Filesize  120.12 KB 
Downloaded  269 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
rufwoof

Joined: 24 Feb 2014
Posts: 2163

PostPosted: Sun 25 Jan 2015, 12:22    Post subject:  

PXE booted (RAM) a slacko 5.3.3 variant, downloaded the tar file and extracted. Created a /DV directory and copied devx sfs to that and loaded that sfs. Ran the ubuild.sh script and around 1 minute later after pages and pages of text.

No idea what I'm doing and appreciate that you should be running using a full installed version of puppy etc - but may be of some interest/purpose (some feedback better than nowt).
dt.jpg
 Description   
 Filesize   72.11 KB
 Viewed   508 Time(s)

dt.jpg

Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2163

PostPosted: Sun 25 Jan 2015, 12:31    Post subject:  

You uploaded another as I was posting. For info: downloaded that latest version and ran and similar sort of thing, downloads sources, cofigures ok, headers, pages of stuff and same error/fail point.

Quad with 4GB ram.

Redirected output to file and error messages shown (starting from around half way down)
dt2.jpg
 Description   
 Filesize   80.75 KB
 Viewed   505 Time(s)

dt2.jpg


Last edited by rufwoof on Sun 25 Jan 2015, 12:43; edited 1 time in total
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 1999
Location: In The Way

PostPosted: Sun 25 Jan 2015, 12:41    Post subject:  

hi rufwoof

I think the problem is that in order to build a 64bit kernel (the first third of the script is for building a 64bit kernel) you need to be running on a 64bit distro/machine!

To get around this create the file '/tmp/64' and directory distro/packages64 then the script will build the next two kernels 32bit-pae and 32bit-nopae. If that doesn't work it will take me some time to research the errors.

regards
stemsee
Back to top
View user's profile Send private message MSN Messenger 
rufwoof

Joined: 24 Feb 2014
Posts: 2163

PostPosted: Sun 25 Jan 2015, 12:46    Post subject:  

stemsee wrote:
hi rufwoof

I think the problem is that in order to build a 64bit kernel (the first third of the script is for building a 64bit kernel) you need to be running on a 64bit distro/machine!

To get around this create the file '/tmp/64' and directory distro/packages64 then the script will build the next two kernels 32bit-pae and 32bit-nopae. If that doesn't work it will take me some time to research the errors.

regards
stemsee

Using a 64 bit machine, but running a 32 bit puppy (slacko 5.3.3) and its corresponding devx sfs. I'll give your suggestion a go.......

Nope.

Deleted, clean reinstalled your tar, created those directories and
dt3.jpg
 Description   
 Filesize   49.71 KB
 Viewed   482 Time(s)

dt3.jpg

Back to top
View user's profile Send private message 
Gobbi

Joined: 09 Mar 2012
Posts: 236

PostPosted: Sun 25 Jan 2015, 12:58    Post subject:  

stemsee wrote:
Make sure /tmp/64 and /tmp/32-pae and /tmp/32-nopae are deleted if you didn't restart your machine first.

I did not see these /tmp/64 and /tmp/32-pae and /tmp/32-nopae in the end ...
Anyway I got to go ( I work out of town ...), I'' be back home next saturday . Thank you .
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2163

PostPosted: Sun 25 Jan 2015, 13:11    Post subject:  

Gobbi wrote:
stemsee wrote:
Make sure /tmp/64 and /tmp/32-pae and /tmp/32-nopae are deleted if you didn't restart your machine first.

I did not see these /tmp/64 and /tmp/32-pae and /tmp/32-nopae in the end ...
Anyway I got to go....

Me also (got to go)

BFN and thanks.
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 1999
Location: In The Way

PostPosted: Sun 25 Jan 2015, 13:15    Post subject:  

I see ... so it downloaded the kernel source to dist/sources/vanilla/*.tar.xz is there already an aufs package there? Delete it. Or in build32-pae.conf line 32-33 comment out 32 and uncomment 33 for a different server for aufs.

I cannot so far replicate your error, it may be a connection or server related error. However I did find another bug after running the last script!

So here is yet another update.
unattended-kernel-kit.zip
Description 
zip

 Download 
Filename  unattended-kernel-kit.zip 
Filesize  120.13 KB 
Downloaded  257 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 1999
Location: In The Way

PostPosted: Sun 25 Jan 2015, 15:30    Post subject:  

This latest has just worked perfectly for me. So I will add a test for 64bit cpu, if not found only 32bit pae and non-pae kernels will be built.
Back to top
View user's profile Send private message MSN Messenger 
rufwoof

Joined: 24 Feb 2014
Posts: 2163

PostPosted: Sun 25 Jan 2015, 15:34    Post subject:  

Still seeing the same on a different machine, with that most recent copy of the tar file, and with your suggested changes. Otherwise not changing anything - just running the extracted files as-is.

Running with sh -x ./ubuild.sh - see attached image

I suspect its because I'm running in ram (frugal) rather than against a full install - but that's just a pure guess.
s1.jpg
 Description   
 Filesize   113.4 KB
 Viewed   455 Time(s)

s1.jpg

Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 1999
Location: In The Way

PostPosted: Sun 25 Jan 2015, 16:40    Post subject:  

You are running in ram? Where was the kernel kit extracted to?? Mine is on a roomy usb drive. Extracted sources use about 700mb of disk space, plus the 105mb compressed kernel source download, plus aufs tools, etc, I am guessing you will need about 1.2GB dis/ram space (conservatively) on top of other usage.

However to check this kit I will boot without a savefile and leave it on compiling overnight to see if any problems arise in a pristine environment.
capture24759.jpg
 Description   
 Filesize   21.75 KB
 Viewed   437 Time(s)

capture24759.jpg

capture22851.jpg
 Description   
 Filesize   35.61 KB
 Viewed   449 Time(s)

capture22851.jpg

capture22860.jpg
 Description   
 Filesize   22.65 KB
 Viewed   451 Time(s)

capture22860.jpg

capture22083.jpg
 Description   
 Filesize   16.58 KB
 Viewed   455 Time(s)

capture22083.jpg

Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 2 of 32 [467 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 30, 31, 32 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.0939s ][ Queries: 12 (0.0073s) ][ GZIP on ]