hi Tom,
first of all you don't use my time but almost only my cpu time :-)
please forgive me if i tell you something wrong but i'm testing my wine from the pinot vineyard, and i'm testing a little bit of home made salami too, so i'm getting a little bit unreliable :-)
linux-source is broken in cooking (or rolling, i can't tell the difference), so i use wok (cookbook) and edit /home/slitaz/wok/linux/stuff/linux-slitaz.config to fit your instructions then i cook it with
cooker pkg linux
if you want to experiment when you have cooked it first time you will have /home/slitaz/wok/linux/source/linux[something]/.config (i don't have linux[something] anymore because i tested your tar error and the folder has disapperead). if you install ncurses you can change to /home/slitaz/wok/linux/source/linux[something]/ and
make menuconfig
once you have done your changes you can copy .config to /home/slitaz/wok/linux/stuff/linux-slitaz.config and try again to cook it.
when you have cooked it you should cook packages wanting linux, which are almost all linux-* packages and contains linux modules.
i use this line:
for i in $(grep 'WANTED="linux"' */receipt | grep -v 64 | cut -d \/ -f 1); do cooker pkg $i; done
run the command from the wok directory.
warnings about orphaned modules are telling you that you built modules which are not contained in a linux-*package so you should write a receipt for a package containg these modules.
after have builded linux-* packages you should
cook linux --pack
which repack linux without rebuilding it and check again missing modules.
please, there is something wrong with cook getting https sources, i did not noticed it because i alredy had sources in /home/slitaz/src, so as a workaround you better manually download linux-3.2.tar.xz and patch-3.2.40.xz and put them in /home/slitaz/src.

Kernel-Config-Discussion
(37 posts) (5 voices)-
Posted 12 years ago #
-
I forgive you evrything and I hope your vine and your salami tasted well....
and I am happy, that I am not totally stupid - I will try.....
Posted 12 years ago # -
I come to the point "cooker pkg linux"
here I get the error
Connecting to http://www.kernel.org (198.145.20.140:80)
wget: not an http or ftp url: https://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.tar.xz
ERROR: wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.tar.xz
Build dependencies to remove: 5
Removing: curl git uclibc-cross-compiler-x86_64 wget xzERROR: cook failed
Debug information
================================================================================
Cook date: 2013-03-21 19:07
ERROR: cook failed
================================================================================wget and https does not fit together - do I have to do it manually_ and where to put?
Posted 12 years ago # -
I think, we have to change to ftp!!!!
wget ftp://ftp.kernel.org/pub/linux/kernel/v3.0/linux-3.2.tar.xz
works fine - I think, it has to be changed also in the linux reciept
Posted 12 years ago # -
sorry for i could not able to make new topics.
i was using lates slitaz stable version, and having problem with gparted.
i already install dosfstool and mtool.slitaz gpart having a problem, when formating usb partition as fat32.
now i am trying to install gpart 0.14.1 from cook, but gpart wont run on stable slitaz4.0.please help me i need gparted atleast version 0.14.1 or maybe 0.15 tazpackage for the stable slitaz.
help ?
Posted 12 years ago # -
finally I checked it, but there are some errors in the doku - at least in rolling:
1) I had to run "cook setup --wok" 2 times until I have a wok directory in /home/slitaz - after the first time, there is only cooking and src directory
2) there must be a reboot inbetween and you shoud not do anything else - first I set up cooker after the first "cook setup --wok" and here was all the time lots of errors, when I run "cook linux"
3) I get lots of warnings when cooking the kernel with the original rolling-config - see attachment - when I look into the log of cooker - http://cook.slitaz.org/cooker.cgi?pkg=linux there are no warnings.
Whats still wrong with my cook environment
Thomas
Posted 12 years ago # -
I have some time left, so I thought maybe have a look to the kernel - first thing I did was to check http://cook.slitaz.org/cooker.cgi?pkg=linux and now there are the same errors, I got all the time.
So I think, we could change to my config, that pcoduces the same error, but solves the ide bug - config is attached.
But my question is: where the errors now come from? did I miss some changes? - those I find
http://hg.slitaz.org/wok/rev/416fab3c90c0
http://hg.slitaz.org/wok/rev/a62a3bf42fb0Posted 11 years ago # -
Hi Tom,
In the attached config file (linux.slitaz.config.txt) I can see the following:
# CONFIG_IDE is not setI think your intention was to enable the IDE support and we need to use the 3.2.40-new.txt config file you uploaded in a previous post (and we could build that cleanly).
Please clarify so that we can proceed with the correct config file.
Regards,
Arun
Posted 11 years ago # -
Here's a revision to the above post:
I did reproduce the issue of ...No such file or directory and orphan modules with 3.2.40-new.txt config file.Here are a few questions:
From the number of orphan module errors it seems a lot of modules have been enabled. Do we really need all of these? Tom, can you confirm actually which modules are required or all are required?Hi Ernia,
Can you please explain why the
cat: can't open '/home/slitaz/wok/linux64-wireless/taz/inux64-wireless-*/files.list': No such file or directory
type of errors are thrown?And also in a previous post you mentioned we need to add package receipt and create entries for the orphan module error. Is there a guideline/doc somewhere which I can follow? I am confused about what should be the directory name, where I can add the orphan module name etc.
Posted 11 years ago # -
I have compiled with 3.2.40-new.txt config file (attached). Attached the logs as well.
There are two sets of errors:
cat: can't open '/home/slitaz/wok/linux64-acpi/taz/linux64-acpi-*/files.list': No such file or directory cat: can't open '/home/slitaz/wok/linux64-agp/taz/linux64-agp-*/files.list': No such file or directory cat: can't open '/home/slitaz/wok/linux64-aoe/taz/linux64-aoe-*/files.list': No such file or directory ...
which I think can be ignored as I am trying to build a 32-bit kernel as of now.
For the other set:
Orphan module: crc32c.ko.xz Orphan module: ftdi-elan.ko.xz Orphan module: virtio_console.ko.xz Orphan module: i2c-designware-core.ko.xz
I need some guidelines on how to create a new package as I have posted above.
Question for Tom: Is 3.2.40-new.txt is the correct config file with the fix for the IDE issue? Because otherwise the linux.slitaz.config.txt config file you attached last builds fine.
Posted 11 years ago # -
Hi Arun,
yes in the 3.2.40-new.txt the ide issue is fixed - discussion about that is mainly here:
http://forum.slitaz.org/topic/notes-to-new-cooking/page/8 - this is the important link:
https://bugzilla.redhat.com/show_bug.cgi?id=694782
you can ignore the errors on Orphan module - and the errors on "cant open .... linux64"
you cant post txt files, thats a bug of the forum software - can you send the log file on the mailing list and I will put it here...
Posted 11 years ago # -
Hi Arun
log is attached now - that looks good - only linu64 errors - no
cat: can't open '/home/slitaz/wok/linux-acpi errors
now you should be able to run:
"for i in $(grep 'WANTED="linux"' */receipt | grep -v 64 | cut -d \/ -f 1); do cooker pkg $i; done"
run the command from the wok directory.
you should find all the necessary linux-packages.
the best would be now to make an iso with the new kernel using tazlito and put it online with something like http://www.box.com or just all the linux-xxx.tazpkgs - so I and others can test....
Thomas
Posted 11 years ago # -
Hi Arun
log is attached now - that looks good - only linu64 errors - no
cat: can't open '/home/slitaz/wok/linux-acpi errors
now you should be able to run:
"for i in $(grep 'WANTED="linux"' */receipt | grep -v 64 | cut -d \/ -f 1); do cooker pkg $i; done"
run the command from the wok directory.
you should find all the necessary linux-packages.
the best would be now to make an iso with the new kernel using tazlito and put it online with something like http://www.box.com or just all the linux-xxx.tazpkgs - so I and others can test....
Thomas
Posted 11 years ago # -
Hi Tom,
Please find the box link for the 3.2.48 kernel packages and log files
https://app.box.com/s/rq6qa6hhlg4bg23fm8hfUpload is in progress so please try to access after some time.
Posted 11 years ago # -
box upload is failed somehow so i have compressed all package to a tar.bz2 archive and uploaded at dropbox. Beloe is the link to the folder containing the archive file.
https://www.dropbox.com/sh/0u36oacv453f8n4/og0oynswgGPosted 11 years ago #
Reply »
You must log in to post.