LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-11-2007, 02:58 PM   #31
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39

Quote:
ii linux-headers-2.6.20-1 2.6.20-3~bpo.1 Common header files for Linux 2.6.20
ii linux-headers-2.6.20-1-686 2.6.20-3~bpo.1 Header files for Linux 2.6.20 on PPro/Celero
ii linux-headers-2.6.20.1-1-686 2.6.20-0mtu2 Header files related to Linux kernel, specif
ii linux-image-2.6.20.1-1-686 2.6.20-0mtu2 Linux kernel binary image for version 2.6.20
ii linux-kbuild-2.6.20 2.6.20-1~bpo.1 Kbuild infrastructure for Linux 2.6.20
ii linux-kernel-headers 2.6.18-7 Linux Kernel Headers for development
ii linux-sound-base 1.0.13-5 base package for ALSA and OSS sound systems
ii linux-source-2.6.20 2.6.20-3~bpo.1 Linux kernel source for version 2.6.20 with
Doesn't look as bad as I thought, the other crap must have been put there manually (*looks towards frenchn00b)
anyway leave it for now as long as --append-to-version is not -1-686 it should not interfere. We can sort out extra cruft
once we have it working.
 
Old 07-11-2007, 02:58 PM   #32
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
I added this user to src...

Code:
/usr/src$ wget http://www.eu.kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.1.tar.bz2
--01:56:16--  http://www.eu.kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.1.tar.bz2
           => `linux-2.6.20.1.tar.bz2'
Resolving www.eu.kernel.org... 130.239.17.4, 199.6.1.164
Connecting to www.eu.kernel.org|130.239.17.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 43,378,171 (41M) [application/x-bzip2]
linux-2.6.20.1.tar.bz2: Permission denied
I will temporally dwld to /tmp... then move it to /usr/src (via root)
 
Old 07-11-2007, 03:03 PM   #33
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Quote:
Once you successfully compile and install the kernel and headers packages, you should be able to safely delete the kernel source directory
That's what I thought, but I tried compiling a test kernel with make-kpkg and examined the deb directly (ar x) and /lib/modules/[...]/build links
directly to the linux-2.6.20.1 directory (in my case somewhere in /home). Of course it possible (probable) I have missed something...
 
Old 07-11-2007, 03:04 PM   #34
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Oh, I'll tar / pack it with root (no?). a bit risky, but I re-/installed this s*** new hardware quite a lot already..
 
Old 07-11-2007, 03:05 PM   #35
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Once you added a user to a group, that user needs to logout and login again. (sorry should have been more clear)

EDIT: its better to do it properly now rather than end up with a potential permissions problem later

Last edited by Daws; 07-11-2007 at 03:07 PM.
 
Old 07-11-2007, 03:07 PM   #36
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Code:
/usr/src/linux-2.6.20.1# make-kpkg --rootcmd=fakeif everythiroot --append-to-version=-frenchn00b --revision=1.00 kernel_image kernel_headers
Error: Unknown target everythiroot
use --targets to display help on valid targets.
 
Old 07-11-2007, 03:08 PM   #37
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by Daws
Once you added a user to a group, that user needs to logout and login again. (sorry should have been more clear)

EDIT: its better to do it properly now rather than end up with a potential permissions problem later
Sorry, didnt know. I am learning.
It's like messenger what we do... :-)
 
Old 07-11-2007, 03:09 PM   #38
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Follow my post, when you quoted it a weird typo appeared.

If you look closely if everythi belongs in the last line of my post.

Last edited by Daws; 07-11-2007 at 03:13 PM.
 
Old 07-11-2007, 03:25 PM   #39
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by Daws
Follow my post, when you quoted it a weird typo appeared.

If you look closely if everythi belongs in the last line of my post.
I am lost.

Code:
 :/usr/src/linux-2.6.20.1# make-kpkg --rootcmd=fakeif everythiroot --append-to-version=-frenchn00b --revision=1.00 kernel_image kernel_headers
Error: Unknown target everythiroot
use --targets to display help on valid targets
I am lost.

I tried to understand ... re re re re read ...
Quote:
Originally Posted by Daws
Follow my post, when you quoted it a weird typo appeared.

If you look closely if everythi belongs in the last line of my post.
I am using mouse middle click to copy-paste.I rechecking the codes you gratefully gave ... (thanks again)
 
Old 07-11-2007, 03:28 PM   #40
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
My post should read:

Code:
make-kpkg --rootcmd=fakeroot --append-to-version=-frenchn00b --revision=1.00 kernel_image kernel_headers
But when it was quoted, something odd happened. I meant read the original post rather that the quoted version in yours.
 
Old 07-11-2007, 03:32 PM   #41
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
flood of txt ...
smthg good ...
Quote:
Originally Posted by Daws
My post should read:

Code:
make-kpkg --rootcmd=fakeroot --append-to-version=-frenchn00b --revision=1.00 kernel_image kernel_headers

But when it was quoted, something odd happened. I meant read the original post rather that the quoted version in yours.
Code:
exec make -f /usr/share/kernel-package/ruleset/minimal.mk debian DEBIAN_REVISION=1.00  APPEND_TO_VERSION=-frenchn00b  ROOT_CMD=fakerootusr/share/kernel-package/changelog > debian/changelog
install -p -m 755 /usr/share/kernel-package/rules debian/rules
for file in ChangeLog  Control  Control.bin86 config templates.in rules; do                                      \
            cp -f  /usr/share/kernel-package/$file ./debian/;                               \
        done
for dir  in Config docs examples ruleset scripts pkg po;  do                                      \
          cp -af /usr/share/kernel-package/$dir  ./debian/;                                 \
        done
test -d ./debian/stamps || mkdir debian/stamps
exec debian/rules  DEBIAN_REVISION=1.00  APPEND_TO_VERSION=-

flood of txt ...
smthg good ...
waiting now the cpu...

looking for fakeif ... I just found :
datefudge
apt-cache search fake:

very good ... since I cannot use ntp servers, otherwise pc crash...
installing the ntp client, makes it crash (bios issue)

Last edited by frenchn00b; 07-11-2007 at 03:33 PM.
 
Old 07-11-2007, 03:36 PM   #42
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Quote:
looking for fakeif
Why are you looking for a typo?

Anyway, good that it seems to be working, it is a generic kernel so lots of stuff will be compiled, it might take a while.
 
Old 07-11-2007, 03:39 PM   #43
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by Daws
Why are you looking for a typo?

Anyway, good that it seems to be working, it is a generic kernel so lots of stuff will be compiled, it might take a while.
This compilation. I like it... sounds good whatever it is, cant be worst (oh oh yes yes : no linux box (that's the worst))

editing:
No Debian Box, that's the worst ! (the best distro & only one for me)

Last edited by frenchn00b; 07-11-2007 at 03:40 PM.
 
Old 07-11-2007, 03:44 PM   #44
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Like I said before, if this kernel doesn't work out, you always have the backup kernel to fall back on. So don't be too worried, the machine
won't spontaneously explode.

If it does work, then you will have compiled your first kernel.
 
Old 07-11-2007, 03:49 PM   #45
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by Daws
Like I said before, if this kernel doesn't work out, you always have the backup kernel to fall back on. So don't be too worried, the machine
won't spontaneously explode.

If it does work, then you will have compiled your first kernel.
All honour are yours & Debian !
figthing with : datefudge '2007-07-12 00:42' I'd really need this server box, that's so useful & powerful, linux comp. to w32 (nmap, crontab, datefudge, ssh, nfs, sambaserver, sleep, wput, wireshark, tvtime, mythtv, wine, xterm, nvu, gimp, iceape, several X, autologin nuts & bolt, mutt, postfix, http://www.youtube.com/watch?v=E4Fbk52Mk1w , perl, bash, ... & so fast and reliable ) Pitty for the others, the windows users :-)

(Still compiling)

Last edited by frenchn00b; 07-11-2007 at 03:51 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrade the kernel from 2.6.8-2-686 to 2.6.18-4-686 on etch stable cccc Debian 3 06-17-2009 07:39 AM
Error compiling KTorrent from source: No KDE Headers Installed JamesHall Linux - Software 5 06-01-2006 03:35 AM
no KDE headers installed f34r7h1s MEPIS 2 09-01-2005 10:40 PM
no KDE headers installed? nicdee Linux - Newbie 3 08-03-2005 10:09 AM
Autoresponders & CGI Forms & E-mail Headers Big Brad Linux - Newbie 0 05-25-2004 06:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration