missing files in 007-devel.xzm

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
bour59
Samurai
Samurai
Posts: 118
Joined: 29 Dec 2010, 08:10
Distribution: porteus v3.2.2-xfce
Location: France

missing files in 007-devel.xzm

Post#1 by bour59 » 15 Jul 2011, 09:48

hello,
after activating 007-devel.xzm
/usr/src is empty that should contains linux-2.6.38 (System.map ... and others ) (about 40k in .09)
maybe a complement in ponce- porteus/i486/ ?
thanks

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: missing files in 007-devel.xzm

Post#2 by Hamza » 15 Jul 2011, 09:53

Bonjour,

To be sure that your version is complete, please do these steps

1)
Check the md5sum of your initial ISO

2)
Execute the chkbase.sh

3)
Check if there is any symlink or files in /usr/src/linux

Cordialement,
NjVFQzY2Rg==

bour59
Samurai
Samurai
Posts: 118
Joined: 29 Dec 2010, 08:10
Distribution: porteus v3.2.2-xfce
Location: France

Re: missing files in 007-devel.xzm

Post#3 by bour59 » 15 Jul 2011, 10:13

@hamza
1/ ckksum for iso is ok
2/chkbase.sh says md5sum for /base/007-devel.xzm is ok
3/ usr/src is empty

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: missing files in 007-devel.xzm

Post#4 by Hamza » 15 Jul 2011, 10:29

Hi,

You were right,
I just tested myself, looks like something is wrong.

I will give you a link to download "stripped" source of kernel. but you won't be able to compile a kernel from it.

What do you want to do with kernel source ?

crippled_sources-porteus-v1.0-i486.xzm

I sent a PM to main developpers to inform them about this problem.

Cheers,
NjVFQzY2Rg==

User avatar
brokenman
Site Admin
Site Admin
Posts: 5456
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: missing files in 007-devel.xzm

Post#5 by brokenman » 15 Jul 2011, 20:15

/usr/src/linux is a link pointing to the sources in the same folder. These sources do not exist in vanilla ... only in crippled sources, therefore the symlink is packed along with the sources. You can create your own symlink in /usr/src if you wish.
How do i become super user?
Wear your underpants on the outside and put on a cape.

bour59
Samurai
Samurai
Posts: 118
Joined: 29 Dec 2010, 08:10
Distribution: porteus v3.2.2-xfce
Location: France

Re: missing files in 007-devel.xzm

Post#6 by bour59 » 16 Jul 2011, 08:37

@hamza
I have to create external modules in /lib/modules/.../extra
as described in slackware
to do this the "make" uses the .config of /usr/src/linux
that I found easyly in remix .. porteus v.09
but that I can't find in porteus v1.0 due to /usr/src is empty.
sorry for the late response
for others needs I have to find entry points in System.map

@brokenman
what can I do with a symbolic link pointing to a directory that don't exist ?
I will try to activate the crippled.. and see if I can install my extra .ko files

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: missing files in 007-devel.xzm

Post#7 by Ahau » 16 Jul 2011, 15:34

Download and activate the crippled sources module. this will inject the kernel headers into /usr:src.

to load the configs, you need to modprobe them:

modprobe configs && zcat /proc/config.gz > .config
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: missing files in 007-devel.xzm

Post#8 by Hamza » 16 Jul 2011, 15:39

Great idea Ahau!

but, it doesn't need to install the crippled sources to have the config file.

You can use this command in terminal without install crippled sources

Code: Select all

modprobe configs && zcat /proc/config.gz > .config
That is normal, because, the "configs" modules have been built with the kernel.
This module save the config in its memory, and you don't need the sources to have the kernel config.

Cheers!
NjVFQzY2Rg==

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: missing files in 007-devel.xzm

Post#9 by Ahau » 16 Jul 2011, 15:57

yes, Hamza, of course you are correct -- my apologies for being overly terse (I'm posting from my phone). I was trying to answer both questions (populating /usr/src/linux, and finding the kernel configs), and did not specify that the two can be done separately.

Cheers!
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: missing files in 007-devel.xzm

Post#10 by Hamza » 16 Jul 2011, 16:31

No Problem!
NjVFQzY2Rg==

User avatar
brokenman
Site Admin
Site Admin
Posts: 5456
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: missing files in 007-devel.xzm

Post#11 by brokenman » 16 Jul 2011, 22:27

what can I do with a symbolic link pointing to a directory that don't exist ?
Not a hell of alot ... but obviously i didn't mean for you to point it to a non existing directory. Perhaps usr/include/linux would help, but i don't know what you end goal is. Easiest thing is to use the crippled sources ... but even these may not be enough for some jobs.
How do i become super user?
Wear your underpants on the outside and put on a cape.

bour59
Samurai
Samurai
Posts: 118
Joined: 29 Dec 2010, 08:10
Distribution: porteus v3.2.2-xfce
Location: France

Re: missing files in 007-devel.xzm

Post#12 by bour59 » 20 Jul 2011, 09:27

thanks to all
I can now recreate my own external kernel modules by two ways :
1st : activate crippled (sorry but I don't know it was sources)
2st : buidd the kernel to recreate the "missing" (excellent build kernel in documentation from fanthom)

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: missing files in 007-devel.xzm

Post#13 by Hamza » 20 Jul 2011, 09:32

Topic Solved?
NjVFQzY2Rg==

bour59
Samurai
Samurai
Posts: 118
Joined: 29 Dec 2010, 08:10
Distribution: porteus v3.2.2-xfce
Location: France

Re: missing files in 007-devel.xzm

Post#14 by bour59 » 20 Jul 2011, 11:44

@hamza yes indeed
may be an explain of what is "crippled" in a part of the doc( if don' t exists)

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: missing files in 007-devel.xzm

Post#15 by Hamza » 20 Jul 2011, 11:55

A Crippled Sources is an archive with all important files only, all unnecessary files have been removed to have the smallest archive size. That is why we says "Crippled Sources".

Regards,
NjVFQzY2Rg==

Post Reply