Help!

"wget && tar" vs "apt-get install"

 
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Setup RSS
Next:  [PATCH] rtc-mrst: Fix section types  
Author Message
ice
External


Since: Mar 09, 2011
Posts: 5



PostPosted: Wed Mar 09, 2011 10:58 am    Post subject: "wget && tar" vs "apt-get install"
Archived from groups: comp>os>linux>setup (more info?)

hi all!

I'm under debian 6.0 with it's own (debian) kernel 2.6.32-5;
I need to use this pc to compile (debian-way) the vanilla kernel
2.6.37.3 for another (slower) pc

the question is: following 2 procedure for "get" the source are
equivalent?

1.
apt-get install linux-source-2.6.37.3

2.
cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.37.3.tar.bz2
tar jxvf linux-2.6.37.3.tar.bz2


the 1st one seem to be the most used over the net but I'm unable to
"apt-get" linux-source-2.6.37.3;
apt-cache search returns:
linux-patch-debian-2.6.32 - Debian patches to version 2.6.32 of the
Linux kernel
linux-source-2.6.32 - Linux kernel source for version 2.6.32 with
Debian patches
linux-source-2.6 - Linux kernel source for Linux 2.6 (meta-package)

thanks
Back to top
ice
External


Since: Mar 09, 2011
Posts: 5



PostPosted: Wed Mar 09, 2011 2:16 pm    Post subject: Re: "wget && tar" vs "apt-get install" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 9 Mar, 17:48, Sidney Lambe wrote:

> It wouldn't be a vanilla kernel if you got it from Debian. They
> patch the kernel. All the major distros do except Slackware, as
> far as I know.

I got kernel 2.6.37.3 from www.kernel.org

-ice-
Back to top
Richard Kettlewell
External


Since: Feb 19, 2005
Posts: 217



PostPosted: Wed Mar 09, 2011 3:10 pm    Post subject: Re: "wget && tar" vs "apt-get install" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

ice writes:

> hi all!
>
> I'm under debian 6.0 with it's own (debian) kernel 2.6.32-5;
> I need to use this pc to compile (debian-way) the vanilla kernel
> 2.6.37.3 for another (slower) pc
>
> the question is: following 2 procedure for "get" the source are
> equivalent?
>
> 1.
> apt-get install linux-source-2.6.37.3
>
> 2.
> cd /usr/src
> wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.37.3.tar.bz2
> tar jxvf linux-2.6.37.3.tar.bz2
>
>
> the 1st one seem to be the most used over the net but I'm unable to
> "apt-get" linux-source-2.6.37.3;
> apt-cache search returns:
> linux-patch-debian-2.6.32 - Debian patches to version 2.6.32 of the
> Linux kernel
> linux-source-2.6.32 - Linux kernel source for version 2.6.32 with
> Debian patches
> linux-source-2.6 - Linux kernel source for Linux 2.6 (meta-package)

squeeze doesn't 2.6.37, so you won't be able to apt-get it. If you want
a vanilla kernel then getting it from kernel.org seems the most sensible
option.

--
http://www.greenend.org.uk/rjk/
Back to top
Sidney Lambe
External


Since: Mar 09, 2011
Posts: 6



PostPosted: Wed Mar 09, 2011 6:10 pm    Post subject: Re: "wget && tar" vs "apt-get install" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On comp.os.linux.setup, ice wrote:
> hi all!
>
> I'm under debian 6.0 with it's own (debian) kernel 2.6.32-5;
> I need to use this pc to compile (debian-way) the vanilla kernel
> 2.6.37.3 for another (slower) pc
>
> the question is: following 2 procedure for "get" the source are
> equivalent?
>
> 1.
> apt-get install linux-source-2.6.37.3
>
> 2.
> cd /usr/src
> wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.37.3.tar.bz2
> tar jxvf linux-2.6.37.3.tar.bz2
>
>
> the 1st one seem to be the most used over the net but I'm unable to
> "apt-get" linux-source-2.6.37.3;
> apt-cache search returns:
> linux-patch-debian-2.6.32 - Debian patches to version 2.6.32 of the
> Linux kernel
> linux-source-2.6.32 - Linux kernel source for version 2.6.32 with
> Debian patches
> linux-source-2.6 - Linux kernel source for Linux 2.6 (meta-package)
>
> thanks

It wouldn't be a vanilla kernel if you got it from Debian. They
patch the kernel. All the major distros do except Slackware, as
far as I know.

Sid
Back to top
Sidney Lambe
External


Since: Mar 09, 2011
Posts: 6



PostPosted: Wed Mar 09, 2011 7:10 pm    Post subject: Re: "wget && tar" vs "apt-get install" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On comp.os.linux.setup, ice wrote:
> On 9 Mar, 17:48, Sidney Lambe wrote:
>
>> It wouldn't be a vanilla kernel if you got it from Debian. They
>> patch the kernel. All the major distros do except Slackware, as
>> far as I know.
>
> I got kernel 2.6.37.3 from www.kernel.org
>
> -ice-

Good luck.


Sid
Back to top
ice
External


Since: Mar 09, 2011
Posts: 2



PostPosted: Wed Mar 09, 2011 10:10 pm    Post subject: Re: "wget && tar" vs "apt-get install" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Il 09/03/2011 19.22, Sidney Lambe ha scritto:

>> I got kernel 2.6.37.3 from www.kernel.org

> Good luck.


you think is a "mission impossible"?
-ice-
Back to top
Sidney Lambe
External


Since: Mar 09, 2011
Posts: 6



PostPosted: Wed Mar 09, 2011 11:10 pm    Post subject: Re: "wget && tar" vs "apt-get install" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On comp.os.linux.setup, ice wrote:
> Il 09/03/2011 19.22, Sidney Lambe ha scritto:
>
>>> I got kernel 2.6.37.3 from www.kernel.org
>
>> Good luck.
>
>
> you think is a "mission impossible"?
> -ice-

No. You may have problems running Debian without a Debian-patched
kernel, though.

Sid
Back to top
ice
External


Since: Mar 09, 2011
Posts: 2



PostPosted: Wed Mar 09, 2011 11:10 pm    Post subject: Re: "wget && tar" vs "apt-get install" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Il 09/03/2011 23.06, Sidney Lambe ha scritto:

> No. You may have problems running Debian without a Debian-patched
> kernel, though.

booting problems or system stability problems in your experience?

I'm working on a very limited hardware so the vanilla kernel will be
deep modified; lot of feauters just not compiled-in;
of course I'm booting without initrd/initramfs support

some tests with debian and vanilla 2.6.35 requested lot of work but
seems to run ok;

thanks
-ice-
Back to top
Keith Keller
External


Since: Jun 21, 2006
Posts: 528



PostPosted: Wed Mar 09, 2011 11:10 pm    Post subject: Re: "wget && tar" vs "apt-get install" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2011-03-09, ice wrote:
> Il 09/03/2011 23.06, Sidney Lambe ha scritto:
>
>> No. You may have problems running Debian without a Debian-patched
>> kernel, though.
>
> booting problems or system stability problems in your experience?

In general, you should ignore almost all of ''Sidney's'' experience; he
is a known troll.

> some tests with debian and vanilla 2.6.35 requested lot of work but
> seems to run ok;

If your tests seem fine then a vanilla kernel shouldn't cause any
problems. The one place where I might see potential issues is if a
future kernel deprecates a feature (which may or may not be selectable
via make config) that an already existing Debian package requires. I
can't think of a definite example, but I can create a dummy example:
pretend that kernel 2.6.666 eliminates any support for NFS versions
below 4; the various NFS packages provided by Debian may no longer work
with this kernel.

If you're following the kernel changelogs, you should be able to protect
yourself from this scenario.

--keith

--
kkeller-usenet@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
see X- headers for PGP signature information
Back to top
Sidney Lambe
External


Since: Mar 09, 2011
Posts: 6



PostPosted: Thu Mar 10, 2011 12:10 am    Post subject: Re: "wget && tar" vs "apt-get install" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On comp.os.linux.setup, ice wrote:

> Il 09/03/2011 23.06, Sidney Lambe ha scritto:
>
>> No. You may have problems running Debian without a
>> Debian-patched kernel, though.
>
> booting problems or system stability problems in your
> experience?

Just guessing, ice. I run Slackware and use quite a few
Debian packages But never any system software, because of the
kernel-patch thing.

> I'm working on a very limited hardware so the vanilla kernel
> will be deep modified; lot of feauters just not compiled-in; of
> course I'm booting without initrd/initramfs support
>
> some tests with debian and vanilla 2.6.35 requested lot of work
> sbut eems to run ok;

It's worth a shot. Have you considered using a distro like DSL
(Damn Small Linux), which is Debian-based? I have the really
small 'business-card-CD' version. I think it's 60MB. Live CD, but
it can be installed on the hdd. It's fully graphical. On limited
sustems it usually uses the VESA tiny-Xserver which isn't very
good, but it works and is very small.

Sid
Back to top
ice
External


Since: Mar 09, 2011
Posts: 5



PostPosted: Thu Mar 10, 2011 4:53 am    Post subject: Re: "wget && tar" vs "apt-get install" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 10 Mar, 01:06, Keith Keller <kkeller-use...@wombat.san-
francisco.ca.us> wrote:

> In general, you should ignore almost all of ''Sidney's'' experience; he
> is a known troll.

I'll keep it in mind


> If your tests seem fine then a vanilla kernel shouldn't cause any
> problems

I explain briefly, please tell me what you think about my solution
(I'm not expert):
- my hardware has 486sx cpu (no fpu) and both lenny/squeeze installer
fail 'cause fpu is missing
- I need kernel 2.6.35 onward 'cause has support for my onboard eth
- minimal debian requested (with just console of course)

my solution:
I've installed debian etch (swap partition requested during text
install, seem 64MB ram aren't enough) then add customized vanilla
2.6.37 kernel (recompiled with faster pc of course)
finally "apt-get distpugrade" etch to lenny and then lenny to
squeeze... just to have a debian distribution closer to 2.6.37 kernel;
as last step I've removed swap because I don't need it

-ice-
Back to top
ice
External


Since: Mar 09, 2011
Posts: 5



PostPosted: Thu Mar 10, 2011 4:59 am    Post subject: Re: "wget && tar" vs "apt-get install" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 10 Mar, 00:26, Sidney Lambe wrote:

> It's worth a shot. Have you considered using a distro like DSL
> (Damn Small Linux), which is Debian-based?

yes, I've considered DSL too... but it's installer failed because my
cpu has no fpu;
most gnu/linux modern installer failed for this reason... just sarge
and etch installer ran fine so the decision to start with etch;
at this stage debain is the distribution chosen, I cannot switch to
other dist


> it can be installed on the hdd. It's fully graphical.

I only work with console Smile


-ice-
Back to top
Keith Keller
External


Since: Jun 21, 2006
Posts: 528



PostPosted: Thu Mar 10, 2011 6:18 am    Post subject: Re: "wget && tar" vs "apt-get install" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2011-03-10, ice wrote:
>
> I explain briefly, please tell me what you think about my solution
> (I'm not expert):
> - my hardware has 486sx cpu (no fpu) and both lenny/squeeze installer
> fail 'cause fpu is missing
> - I need kernel 2.6.35 onward 'cause has support for my onboard eth
> - minimal debian requested (with just console of course)

It would help if you detailed what you're going to use the box for.

I'm not a debian user, but it's a linux, so it can do pretty much anything
any other linux can do. But there may be a stripped-down distribution
that might work fine with your hardware without installing more than you
need.

--keith



--
kkeller-usenet@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
see X- headers for PGP signature information
Back to top
ice
External


Since: Mar 09, 2011
Posts: 5



PostPosted: Thu Mar 10, 2011 8:06 am    Post subject: Re: "wget && tar" vs "apt-get install" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 10 Mar, 10:18, Keith Keller <kkeller-use...@wombat.san-
francisco.ca.us> wrote:

> It would help if you detailed what you're going to use the box for.

industrial data collecting using onchip serial ports (2 or 3
concurrent threads)
local storage using external usb stick (internal compact flash mounted
as ext2 read-only to survive on power-loss... see my 3d on
25-2-2011);
remote comunication using eth and http/ftp;
no video;
no keyboard (exept for some unfrequent local update/tuning);


But there may be a stripped-down distribution
> that might work fine with your hardware without installing more than you
> need.

my approch was a bit different... started with a desktop distribution
and stripped-it-down to my real need; in this way my own overall
knowledge about hw, kernel and gnu/linux grown up;
I think debian is not so bad for limited/embedded pc... but is just my
conclusion, I havn't years of gnu/linux experience Smile

thanks
-ice-
Back to top
Sidney Lambe
External


Since: Mar 09, 2011
Posts: 6



PostPosted: Thu Mar 10, 2011 11:10 am    Post subject: Re: "wget && tar" vs "apt-get install" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On comp.os.linux.setup, ice wrote:

> On 10 Mar, 00:26, Sidney Lambe
> wrote:
>
>> It's worth a shot. Have you considered using a distro like DSL
>> (Damn Small Linux), which is Debian-based?
>
> yes, I've considered DSL too... but it's installer failed
> because my cpu has no fpu; most gnu/linux modern installer
> failed for this reason... just sarge and etch installer ran
> fine so the decision to start with etch; at this stage debain
> is the distribution chosen, I cannot switch to other dist
>
>
>> it can be installed on the hdd. It's fully graphical.
>
> I only work with console Smile

Me too, mostly. No X on this Slackware box, though I can view
images with zgv/svgalib. I keep DSL around for when I need
a modern browser (firefox).

I know you said you were stuck with Debian, but there are lots
of good, tiny distros that run really well from the console.
BasicLinux is pretty interesting. 2.2 kernel, libc5...

Have you tried distrowatch.com? No need to use a live CD w/installer.
Just build the OS on the hdd the 'old-fashioned' way.

Sid
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Setup All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can 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