kernel upgrade from 2.4.18-bf2.4 to 2.6.x
Hi, I'm running kernel 2.4.18-bf2.4 on my computers. Filesystem is RaiserFS 3.6.25. What I need to do for upgrading kernel to 2.6.x Juhani Pöyry -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade from 2.4.18-bf2.4 to 2.6.x
Juhani Pöyry wrote: Hi, I'm running kernel 2.4.18-bf2.4 on my computers. Filesystem is RaiserFS 3.6.25. What I need to do for upgrading kernel to 2.6.x Juhani Pöyry If you are going to build the kernel from source, don't forget to also build Reiserfs into the kernel. If you will be using the kernel-image-2.6.X from Debian there's not much to consider. Please understand that i've never done such a transition, But have read about people doing it without problems. Mark -- @: [EMAIL PROTECTED] www: http://mateo.xs4all.nl www: http://menem.mine.nu Keep it simple... But not any simpler. --Albert Einstein -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade from 2.4.18-bf2.4 to 2.6.x
I'm running kernel 2.4.18-bf2.4 on my computers. Filesystem is RaiserFS 3.6.25. What I need to do for upgrading kernel to 2.6.x If you are going to build the kernel from source, don't forget to also build Reiserfs into the kernel. ... Or not. initrd. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade from 2.4.18-bf2.4 to 2.6.x
Tony Godshall wrote: I'm running kernel 2.4.18-bf2.4 on my computers. Filesystem is RaiserFS 3.6.25. What I need to do for upgrading kernel to 2.6.x If you are going to build the kernel from source, don't forget to also build Reiserfs into the kernel. ... Or not. initrd. True. But the only real advantage I see in using initrd is a bootsplash. For my servers I'd much rather just build everything I need right in there. Not using Initrd saves me one more thing to worry about. Too much hassle don't you think? Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel Upgrade from 2.4.18-xfs to 2.4.23
Problem fixed! Thank you Alan. I upgraded the FR114P firmware to the latest beta release (I had orignaly upgraded to the latest stable release) and every thing seems to be working fine. Thanks, George On Sun, 4 Jan 2004 22:21:29 + Alan Chandler [EMAIL PROTECTED] wrote: On Sunday 04 January 2004 20:22, George App wrote: Netgear FR114P router/firewall which is connected by DSL. This unit has the ability to block outgoing connections (at least if its anything like my RP614). I also discovered that my router locks solid if the traffic on the wan side gets to much (my broadband connection gets about a ping a second, but there are 7000 arp messages a minute). Wonder if thats what yours is doing? The solution was to power cycle the router. Also, look at the changelog for the latest release of the software for this unit in www.netgear.com - fix 11 sounds a bit like your problem Can you run tcpdump or ethereal on your machine to see what the traffic is between your machine and the router? [PS will have to hand over to someone else on the list to pick up and run with this as I am away on business for a few days early tomorrow - and therefore need to get to bed soon] -- Alan Chandler [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel Upgrade from 2.4.18-xfs to 2.4.23
I have no proxy server. I have no server to test the telnet connection to. I use mozilla for http access. apt-get is not even able to access http or ftp sites. Everything works fine using the 2.4.18 kernel. Thanks for your help. -- George On Sat, 3 Jan 2004 11:53:23 +0100 GCS [EMAIL PROTECTED] wrote: On Fri, Jan 02, 2004 at 02:31:30PM -0800, George App [EMAIL PROTECTED] wrote: I successfully upgraded my kernel from version 2.4.18 to 2.4.23. I basically used the kernel settings based upon my 2.4.18-xfs configuration. Did you touch any netfilter options? Everything works ok except to the fact that I am not able to access any http or ftp locations. I can however ping websites and look up host names. Any ideas on what this issue might be? Strange things to say. Do you have a proxy server? What do you use for http and ftp access? Do you succeed with 'telnet some.http.server.ip 80' and typing 'GET /' and enter? Cheers, GCS -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel Upgrade from 2.4.18-xfs to 2.4.23
On Sunday 04 January 2004 18:42, George App wrote: I have no proxy server. I have no server to test the telnet connection to. I use mozilla for http access. apt-get is not even able to access http or ftp sites. Everything works fine using the 2.4.18 kernel. What does you machine connect to the internet with (device?) is the module loaded? What nameservers are in /etc/resolv.conf -- Alan Chandler [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel Upgrade from 2.4.18-xfs to 2.4.23
Netgear FR114P router/firewall which is connected by DSL. /etc/resolv.conf (file contents) search nameserver 64.160.192.70 nameserver 206.13.29.12 -- George On Sun, 4 Jan 2004 19:49:10 + Alan Chandler [EMAIL PROTECTED] wrote: On Sunday 04 January 2004 18:42, George App wrote: I have no proxy server. I have no server to test the telnet connection to. I use mozilla for http access. apt-get is not even able to access http or ftp sites. Everything works fine using the 2.4.18 kernel. What does you machine connect to the internet with (device?) is the module loaded? What nameservers are in /etc/resolv.conf -- Alan Chandler [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel Upgrade from 2.4.18-xfs to 2.4.23
On Sunday 04 January 2004 20:22, George App wrote: Netgear FR114P router/firewall which is connected by DSL. This unit has the ability to block outgoing connections (at least if its anything like my RP614). I also discovered that my router locks solid if the traffic on the wan side gets to much (my broadband connection gets about a ping a second, but there are 7000 arp messages a minute). Wonder if thats what yours is doing? The solution was to power cycle the router. Also, look at the changelog for the latest release of the software for this unit in www.netgear.com - fix 11 sounds a bit like your problem Can you run tcpdump or ethereal on your machine to see what the traffic is between your machine and the router? [PS will have to hand over to someone else on the list to pick up and run with this as I am away on business for a few days early tomorrow - and therefore need to get to bed soon] -- Alan Chandler [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel Upgrade from 2.4.18-xfs to 2.4.23
On Fri, Jan 02, 2004 at 02:31:30PM -0800, George App [EMAIL PROTECTED] wrote: I successfully upgraded my kernel from version 2.4.18 to 2.4.23. I basically used the kernel settings based upon my 2.4.18-xfs configuration. Did you touch any netfilter options? Everything works ok except to the fact that I am not able to access any http or ftp locations. I can however ping websites and look up host names. Any ideas on what this issue might be? Strange things to say. Do you have a proxy server? What do you use for http and ftp access? Do you succeed with 'telnet some.http.server.ip 80' and typing 'GET /' and enter? Cheers, GCS -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Kernel Upgrade from 2.4.18-xfs to 2.4.23
I successfully upgraded my kernel from version 2.4.18 to 2.4.23. I basically used the kernel settings based upon my 2.4.18-xfs configuration. Everything works ok except to the fact that I am not able to access any http or ftp locations. I can however ping websites and look up host names. Any ideas on what this issue might be? Thanks, George -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Kernel Upgrade from 2.4.18-xfs to 2.4.23
I successfully upgraded my kernel from version 2.4.18 to 2.4.23. I basically used the kernel settings based upon my 2.4.18-xfs configuration. Everything works ok except to the fact that I am not able to access any http or ftp locations. I can however ping websites and look up host names. Any ideas on what this issue might be? Thanks, George -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18 [Solved]
I'm definitely over my head in this debate and will happily defer to those who know more about the issues involved. However, I will say that for my situation I far prefer compiling in /usr/src/kernel-sources-* than in a generic /usr/src/linux symlink. I have several different kernel configs (and even one different kernel version) for different computers; I keep them all in a centralized /usr/src, and I compile them all on one machine. It would be very clumsy to have to rm and ln /usr/src/linux every time I wanted to switch which kernel I'm working on. And I've never had a problem compiling the modules, including separate ones like pcmcia-cs and openafs. ap -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On Fri, 21 Jun 2002, Paul E Condon wrote: On Fri, Jun 21, 2002 at 08:59:32AM -0400, Andrew Perrin wrote: On Thu, 20 Jun 2002, Paul E Condon wrote: [snip] Also here, the tarball must be untarred, which I figured out myself, and Sorry - forgot that step! there must be a softlink /usr/src/linux that points to /usr/src/kernel-sources-2.4.18, which was pointed out to me by Griz Inabnit No, you do not need such a link. It works fine to compile in /usr/src/kernel-sources-2.4.18. If you prefer to compile in /usr/src/linux then you need the link. If you prefer to compile in /usr/src/disneyland then you need a symlink there. To expand on my earlier post: Some module selections require the link. If you don't request compilation of a module that requires the link, you don't need the link. But I know of no way to know, a priori, which modules do require the link. I know that for the particular .config that I created the link was necessary. In this case, your mileage really does vary. I think it would be a useful addition to make-kpkg to have it put in this link. It costs very little in computer resources, and it saves some users from an initial failed kernel build. -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Paul E Condon [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18 [Solved]
On Fri, Jun 21, 2002 at 05:55:31PM -0500, Kevin C. Smith wrote: On Fri, Jun 21, 2002 at 01:51:15PM -0700, Paul E Condon wrote: On Fri, Jun 21, 2002 at 08:59:32AM -0400, Andrew Perrin wrote: On Thu, 20 Jun 2002, Paul E Condon wrote: [snip] Also here, the tarball must be untarred, which I figured out myself, and Sorry - forgot that step! there must be a softlink /usr/src/linux that points to /usr/src/kernel-sources-2.4.18, which was pointed out to me by Griz Inabnit No, you do not need such a link. It works fine to compile in /usr/src/kernel-sources-2.4.18. If you prefer to compile in /usr/src/linux then you need the link. If you prefer to compile in /usr/src/disneyland then you need a symlink there. To expand on my earlier post: Some module selections require the link. If you don't request compilation of a module that requires the link, you don't need the link. But I know of no way to know, a priori, which modules do require the link. I know that for the particular .config that I created the link was necessary. In this case, your mileage really does vary. I think it would be a useful addition to make-kpkg to have it put in this link. It costs very little in computer resources, and it saves some users from an initial failed kernel build. I've recently heard arguments that putting a soft link /usr/src/linux - /usr/src/kernel-sources-x.x.xx breaks things in Debian. Any comments on this? I did one test as follows: I used the config file that the maintainer place in kernel-image-2.4.18-686_2.4.18-5_i386.deb This file gets installed at /boot/config-2.4.18-686 I copied it to /usr/scr/kernel-source-2.4.18/.config and did two builds using make-kpkg. One build with the softlink and one without. I looked at the resulting two debian kernel-image packages using gmc. All the required modules were in the package that was made with the softlink. Many modules were missing from the package that was made without the softlink. Maybe with a different selection of config settings the results would be different. In particular, if I made a config file that did not call for any of the modules that were missing, I suppose I would get a 'successful' build without the softlink. My simple view of how computers work makes it very hard for me to believe that an extra softlink would break a piece of functioning software. Replacing a directory that is used for scratch with a softlink to a directory that contains valuable stuff would surely play hob with the build, but that is not what is being done. My test results have really strengthened my respect for Debian and it maintainers. And for this list. Thanks to you all. -- Kevin C. Smith | A Society that will trade a little liberty for a [EMAIL PROTECTED]| little order will lose both, and deserve neither. Debian GNU/Linux (sid) |-- Thomas Jefferson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Paul E Condon [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18 [Solved]
Paul == Paul E Condon [EMAIL PROTECTED] writes: Paul Actually I tried it both with the link and without the link. Paul With the link all the modules where created in the kernel-image Paul deb file. But without the link only a tiny fraction of the Paul requested modules where created by make-kpkg. I think make-kpkg Paul really does need a soft link whose name is linux, not a soft Paul link to a target named linux. You are seeing some other problem here. Paul But probably it is not make-kpkg that needs the link so much as Paul some kernel build script that is invoked by make-kpkg. This is not the case. I always buiold all my kernels in /var/spool/kernel, and never ever have had a /usr/src/linucx link. If some module needs such a link, pleas file a bug report. manoj -- Death rays don't kill people, people kill people!! Manoj Srivastava [EMAIL PROTECTED] http://www.debian.org/%7Esrivasta/ 1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18 [Solved]
Paul == Paul E Condon [EMAIL PROTECTED] writes: Paul On Fri, Jun 21, 2002 at 08:59:32AM -0400, Andrew Perrin wrote: No, you do not need such a link. It works fine to compile in /usr/src/kernel-sources-2.4.18. If you prefer to compile in /usr/src/linux then you need the link. If you prefer to compile in /usr/src/disneyland then you need a symlink there. Paul To expand on my earlier post: Some module selections require Paul the link. Which modules are these? Paul I think it would be a useful addition to make-kpkg to have it Paul put in this link. It costs very little in computer resources, Paul and it saves some users from an initial failed kernel build. I would prefer finding and fixing the real problem, and not put bandaids in my packages to work around breakages elsewhere. manoj -- The average man, who does not know what to do with his life, wants another one which will last forever. Anatole France Manoj Srivastava [EMAIL PROTECTED] http://www.debian.org/%7Esrivasta/ 1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18 [Solved]
Kevin == Kevin C Smith [EMAIL PROTECTED] writes: Kevin I've recently heard arguments that putting a soft link Kevin /usr/src/linux - /usr/src/kernel-sources-x.x.xx Kevin breaks things in Debian. Kevin Any comments on this? It is unnecessary, but does not break things, no. manoj -- You know why there are so few sophisticated computer terrorists in the United States? Because your hackers have so much mobility into the establishment. Here, there is no such mobility. If you have the slightest bit of intellectual integrity you cannot support the government That's why the best computer minds belong to the opposition. an anonymous member of the outlawed Polish trade union, Solidarity Manoj Srivastava [EMAIL PROTECTED] http://www.debian.org/%7Esrivasta/ 1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
Sorry to pick up this conversation midstream, but all this talk of kernel upgrades got me wondering, and I decided to try it for myself. I have downloaded the sources and uncompressed them where they should be. I made the link (if I should or not, this is how I have always done it otherwise) and have tried make menuconfig. I keep getting errors about not having ncurses installed. I searced with apt-get and have tried to install anything that even mentions ncurses, but I still get the same error. Any ideas? TIA. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
Matthew Daubenspeck([EMAIL PROTECTED]) is reported to have said: Sorry to pick up this conversation midstream, but all this talk of kernel upgrades got me wondering, and I decided to try it for myself. I have downloaded the sources and uncompressed them where they should be. I made the link (if I should or not, this is how I have always done it otherwise) and have tried make menuconfig. I keep getting errors about not having ncurses installed. I searced with apt-get and have tried to install anything that even mentions ncurses, but I still get the same error. apt-cache search libncurses libncurses5 and libncurses5-dev are what you need. -- There can never be a computer language in which you cannot write a bad program. ___ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
Hi. On this thread, TRUST MANOJ ! Any others' problems are mostly user issues. On Sat, Jun 22, 2002 at 09:38:57AM -0400, Matthew Daubenspeck wrote: Sorry to pick up this conversation midstream, but all this talk of kernel upgrades got me wondering, and I decided to try it for myself. I have downloaded the sources and uncompressed them where they should be. I made the link (if I should or not, this is how I have always done it otherwise) and have tried make menuconfig. downloaded from Debian archive, I think. Kernel source in Debian are usually patched to be more compatible with what we do (initrd etc.). I keep getting errors about not having ncurses installed. I searched with apt-get and have tried to install anything that even mentions ncurses, but I still get the same error. Install as follows: # apt-get update # apt-get install binutils bzip2 fileutils libc6-dev gcc make # apt-get install libncurses5-dev kernel-package You sounds like you need header file of ncurses. libncurses5-dev could be libncurses4-dev instead. libc-dev and libncurses-dev are virtual package. Next time you wonder dependency, run next command and pick all in Depends, Recommends, and Suggests. $ apt-cache show kernel-source-2.4.18 Package: kernel-source-2.4.18 Priority: optional Section: devel Installed-Size: 23432 Maintainer: Herbert Xu [EMAIL PROTECTED] Architecture: all Version: 2.4.18-5 Provides: kernel-source, kernel-source-2.4 Depends: binutils, bzip2, fileutils (= 4.0) Recommends: libc-dev, gcc, make Suggests: libncurses-dev | ncurses-dev, kernel-package Filename: pool/main/k/kernel-source-2.4.18/kernel-source-2.4.18_2.4.18-5_all.deb Size: 23881186 MD5sum: 853b0644f07d7b1a6285a80fb05d1ddf Description: Linux kernel source for version 2.4.18 This package provides the source code for the Linux kernel version 2.4.18. . You may configure the kernel to your setup by typing make config and following instructions, but you could get ncursesX.X-dev and tkX.X-dev and try make menuconfig for a jazzier, and easier to use interface. Also, please read the detailed documentation in the file /usr/share/doc/kernel-source-2.4.18/README.headers.gz. . If you wish to use this package to create a custom Linux kernel, then it is suggested that you investigate the package kernel-package, which has been designed to ease the task of creating kernel image packages. -- ~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ + Osamu Aoki @ Cupertino CA USA See User's Guide: http://www.debian.org/doc/manuals/users-guide/ See Debian reference: http://www.debian.org/doc/manuals/debian-reference/ Debian reference Project at: http://qref.sf.net I welcome your constructive criticisms and corrections. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18 [Solved]
On Fri, Jun 21, 2002 at 01:51:15PM -0700, Paul E Condon wrote: To expand on my earlier post: Some module selections require the link. If ^^ which one? Be specific. you don't request compilation of a module that requires the link, you don't need the link. But I know of no way to know, a priori, which modules do require the link. I know that for the particular .config that I created the link was necessary. In this case, your mileage really does vary. Are you taliking sources for modules in kernel-source or external ones in Debian archive, or tottaly new source which you found outside of Debian? -- ~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ + Osamu Aoki @ Cupertino CA USA See User's Guide: http://www.debian.org/doc/manuals/users-guide/ See Debian reference: http://www.debian.org/doc/manuals/debian-reference/ Debian reference Project at: http://qref.sf.net I welcome your constructive criticisms and corrections. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
On 2002.06.22 09:38 Matthew Daubenspeck wrote: Sorry to pick up this conversation midstream, but all this talk of kernel upgrades got me wondering, and I decided to try it for myself. I have downloaded the sources and uncompressed them where they should be. I made the link (if I should or not, this is how I have always done it otherwise) and have tried make menuconfig. I keep getting errors about not having ncurses installed. I searced with apt-get and have tried to install anything that even mentions ncurses, but I still get the same error. Any ideas? TIA. Assuming you have the source package, you should be able to do 'apt-get build-dep package' to install and configure all build dependencies. This seems to me to be the sanest aproach. Ian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18 [Solved] !Retraction!
I have been re-examining my work on soft links when building kernels with make-kpkg. The kernel-image package that I generated when testing the case of soft link not present was made with a wrong config file, i.e. not the same one as the other case. I know this because I opened the deb packages and compared the /boot/config-2.4.18 files in the two packages. They were not the same. I certainly was intending to use the same config file, but, manifestly, I did not. I am sorry for the trouble I have caused. Please accept my sincere apology. Debian rules! Paul is vanquished. -- Paul E Condon [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18 [Solved]
On Thu, 20 Jun 2002, Paul E Condon wrote: [snip] Also here, the tarball must be untarred, which I figured out myself, and Sorry - forgot that step! there must be a softlink /usr/src/linux that points to /usr/src/kernel-sources-2.4.18, which was pointed out to me by Griz Inabnit No, you do not need such a link. It works fine to compile in /usr/src/kernel-sources-2.4.18. If you prefer to compile in /usr/src/linux then you need the link. If you prefer to compile in /usr/src/disneyland then you need a symlink there. -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18 [Solved]
On Fri, Jun 21, 2002 at 08:59:32AM -0400, Andrew Perrin wrote: On Thu, 20 Jun 2002, Paul E Condon wrote: [snip] Also here, the tarball must be untarred, which I figured out myself, and Sorry - forgot that step! there must be a softlink /usr/src/linux that points to /usr/src/kernel-sources-2.4.18, which was pointed out to me by Griz Inabnit No, you do not need such a link. It works fine to compile in /usr/src/kernel-sources-2.4.18. If you prefer to compile in /usr/src/linux then you need the link. If you prefer to compile in /usr/src/disneyland then you need a symlink there. Actually I tried it both with the link and without the link. With the link all the modules where created in the kernel-image deb file. But without the link only a tiny fraction of the requested modules where created by make-kpkg. I think make-kpkg really does need a soft link whose name is linux, not a soft link to a target named linux. But probably it is not make-kpkg that needs the link so much as some kernel build script that is invoked by make-kpkg. -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu -- Paul E Condon [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18 [Solved]
On Fri, Jun 21, 2002 at 08:59:32AM -0400, Andrew Perrin wrote: On Thu, 20 Jun 2002, Paul E Condon wrote: [snip] Also here, the tarball must be untarred, which I figured out myself, and Sorry - forgot that step! there must be a softlink /usr/src/linux that points to /usr/src/kernel-sources-2.4.18, which was pointed out to me by Griz Inabnit No, you do not need such a link. It works fine to compile in /usr/src/kernel-sources-2.4.18. If you prefer to compile in /usr/src/linux then you need the link. If you prefer to compile in /usr/src/disneyland then you need a symlink there. To expand on my earlier post: Some module selections require the link. If you don't request compilation of a module that requires the link, you don't need the link. But I know of no way to know, a priori, which modules do require the link. I know that for the particular .config that I created the link was necessary. In this case, your mileage really does vary. I think it would be a useful addition to make-kpkg to have it put in this link. It costs very little in computer resources, and it saves some users from an initial failed kernel build. -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Paul E Condon [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18 [Solved]
On Fri, Jun 21, 2002 at 01:51:15PM -0700, Paul E Condon wrote: On Fri, Jun 21, 2002 at 08:59:32AM -0400, Andrew Perrin wrote: On Thu, 20 Jun 2002, Paul E Condon wrote: [snip] Also here, the tarball must be untarred, which I figured out myself, and Sorry - forgot that step! there must be a softlink /usr/src/linux that points to /usr/src/kernel-sources-2.4.18, which was pointed out to me by Griz Inabnit No, you do not need such a link. It works fine to compile in /usr/src/kernel-sources-2.4.18. If you prefer to compile in /usr/src/linux then you need the link. If you prefer to compile in /usr/src/disneyland then you need a symlink there. To expand on my earlier post: Some module selections require the link. If you don't request compilation of a module that requires the link, you don't need the link. But I know of no way to know, a priori, which modules do require the link. I know that for the particular .config that I created the link was necessary. In this case, your mileage really does vary. I think it would be a useful addition to make-kpkg to have it put in this link. It costs very little in computer resources, and it saves some users from an initial failed kernel build. I've recently heard arguments that putting a soft link /usr/src/linux - /usr/src/kernel-sources-x.x.xx breaks things in Debian. Any comments on this? -- Kevin C. Smith | A Society that will trade a little liberty for a [EMAIL PROTECTED]| little order will lose both, and deserve neither. Debian GNU/Linux (sid) |-- Thomas Jefferson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18 [Solved]
-BEGIN PGP SIGNED MESSAGE- On Friday 21 June 2002 03:55 pm, Kevin C. Smith wrote: On Fri, Jun 21, 2002 at 01:51:15PM -0700, Paul E Condon wrote: On Fri, Jun 21, 2002 at 08:59:32AM -0400, Andrew Perrin wrote: On Thu, 20 Jun 2002, Paul E Condon wrote: [snip] [snip] I think it would be a useful addition to make-kpkg to have it put in this link. It costs very little in computer resources, and it saves some users from an initial failed kernel build. I've recently heard arguments that putting a soft link /usr/src/linux - /usr/src/kernel-sources-x.x.xx breaks things in Debian. Any comments on this? Yup. Check yer sources!! I have ALWAYS done the ln -s /usr/src/kernel-source-x.xx.xx /usr/src/linux and all of my boxen are 5 x 5. Though if I complie straight from /usr/src/kernel-source-x.xx.xx, I end up fighting the module creation. Regards, Griz - -- __ OutCast Computer Consultants of Central Oregon http://outcast-consultants.redmond.or.us [EMAIL PROTECTED] (541) 504-1388 /\IRC: 205.227.115.251:6667:#OutCasts /\ICQ: UIN 138930 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
On Tue, Jun 18, 2002 at 08:32:38PM +0200, Jan Groenewald wrote: I used apt-get install kernel-image-2.2.20... #(from 2.2.19pre..) Is this wrong/bad style? This is not mentioned as a proper method in the docs/link above. What about kernel-headers-... then? Nothing wrong with your style. But you are talking of something different. They were talking about compiling a new kernel and you are talking about installing a compiled kernel using apt. Regards. Johann -- Johann Spies Telefoon: 021-808 4036 Informasietegnologie, Universiteit van Stellenbosch There is therefore now no condemnation to them which are in Christ Jesus, who walk not after the flesh, but after the Spirit. Romans 8:1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
Paul == Paul E Condon [EMAIL PROTECTED] writes: Paul The given recipe is: Paul apt-get install kernel-sources-2.4.18 Paul cd /usr/src/kernel-sources-2.4.18 Paul make oldconfig Aha. You are creating a default .config here, which may have vastly less modules selected than what you had before. As far as I know, the kernel sources .deb does not come with a .config (I have not checked the official .debs recently, though) Perhaps you should cp /boot/config-whatever version you have .config before running make oldconfig? Paul (interactive config work (I chose all defaults) ) Paul make-kpkg --revision ofc1.x binary Paul cd /usr/src Paul dpkg -i kernel-images-2.4.18_ofc1.x_i386.deb Paul (reboot) Paul I look for ways to compile modules, but all I find is an Paul instruction to cd to /usr/src/modules, but I have no such Paul directory. What should I do to get my modules? You need to do nothing extra -- you just need to make sure you configured everything into the kenrel in the first place. make menuconfig should help you determine what is in, ad what is not. Paul I've already tried Paul make-kpkg buildpackage Paul and Paul make-kpkg modules_image Paul Both return almost immediately, with criptic lines of script Paul code displayed. These targets are for Debian-pacjkaged third party modules not shipped with kernel sources. Paul Are the modules sources in a different package? What is its Paul name? No, the modules are all there. Your .config is the issue. manoj -- Meanehwael, baccat meaddehaele, monstaer lurccen; Fulle few too many drincce, hie luccen for fyht. [D]en Hreorfneorht[d]hwr, son of Hrwaerow[p]heororthwl, AEsccen aewful jeork to steop outsyd. [P]hud! Bashe! Crasch! Beoom! [D]e bigge gye Eallum his bon brak, byt his nose offe; Wicced Godsylla waeld on his asse. Monstaer moppe fleor wy[p] eallum men in haelle. Beowulf in bacceroome fonecall bemaccen waes; Hearen sond of ruccus saed, Hwaet [d]e helle? Graben sheold strang ond swich-blaed scharp Sond feorth to fyht [d]e grimlic foe. Me, Godsylla saed, mac [d]e minsemete. Heoro cwyc geten heold wi[p] faemed half-nelson Ond flyng him lic frisbe bac to fen. Beowulf belly up to meaddehaele bar, Saed, Ne foe beaten mie faersom cung-fu. Eorderen cocca-colha yce-coeld, [d]e reol [p]yng. Not Chaucer, for certain Manoj Srivastava [EMAIL PROTECTED] http://www.debian.org/%7Esrivasta/ 1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18 [Solved]
On Thu, Jun 20, 2002 at 11:54:26AM -0500, Manoj Srivastava wrote: Paul == Paul E Condon [EMAIL PROTECTED] writes: Paul The given recipe is: Paul apt-get install kernel-sources-2.4.18 Also here, the tarball must be untarred, which I figured out myself, and there must be a softlink /usr/src/linux that points to /usr/src/kernel-sources-2.4.18, which was pointed out to me by Griz Inabnit I am thinking about a wish-list suggestion that would save future newbies from this, but haven't worked it out yet. Thanks Paul cd /usr/src/kernel-sources-2.4.18 Paul make oldconfig Aha. You are creating a default .config here, which may have vastly less modules selected than what you had before. As far as I know, the kernel sources .deb does not come with a .config (I have not checked the official .debs recently, though) Perhaps you should cp /boot/config-whatever version you have .config before running make oldconfig? Paul (interactive config work (I chose all defaults) ) Paul make-kpkg --revision ofc1.x binary Paul cd /usr/src Paul dpkg -i kernel-images-2.4.18_ofc1.x_i386.deb Paul (reboot) Paul I look for ways to compile modules, but all I find is an Paul instruction to cd to /usr/src/modules, but I have no such Paul directory. What should I do to get my modules? You need to do nothing extra -- you just need to make sure you configured everything into the kenrel in the first place. make menuconfig should help you determine what is in, ad what is not. Paul I've already tried Paul make-kpkg buildpackage Paul and Paul make-kpkg modules_image Paul Both return almost immediately, with criptic lines of script Paul code displayed. These targets are for Debian-pacjkaged third party modules not shipped with kernel sources. Paul Are the modules sources in a different package? What is its Paul name? No, the modules are all there. Your .config is the issue. manoj -- Meanehwael, baccat meaddehaele, monstaer lurccen; Fulle few too many drincce, hie luccen for fyht. [D]en Hreorfneorht[d]hwr, son of Hrwaerow[p]heororthwl, AEsccen aewful jeork to steop outsyd. [P]hud! Bashe! Crasch! Beoom! [D]e bigge gye Eallum his bon brak, byt his nose offe; Wicced Godsylla waeld on his asse. Monstaer moppe fleor wy[p] eallum men in haelle. Beowulf in bacceroome fonecall bemaccen waes; Hearen sond of ruccus saed, Hwaet [d]e helle? Graben sheold strang ond swich-blaed scharp Sond feorth to fyht [d]e grimlic foe. Me, Godsylla saed, mac [d]e minsemete. Heoro cwyc geten heold wi[p] faemed half-nelson Ond flyng him lic frisbe bac to fen. Beowulf belly up to meaddehaele bar, Saed, Ne foe beaten mie faersom cung-fu. Eorderen cocca-colha yce-coeld, [d]e reol [p]yng. Not Chaucer, for certain Manoj Srivastava [EMAIL PROTECTED] http://www.debian.org/%7Esrivasta/ 1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Paul E Condon [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
all, On Mon, Jun 17, 2002 at 05:30:47PM -0400, Patrick Wiseman wrote: Why doesn't anyone follow the procedure outlined in http://www.debian.org/releases/stable/i386/ch-post-install.en.html#s-kernel-baking ? Other than use of 'fakeroot' (which I don't use because I'm happy becoming root having started with Slackware years ago :), I _do_ basically follow that procedure. I used apt-get install kernel-image-2.2.20... #(from 2.2.19pre..) Is this wrong/bad style? This is not mentioned as a proper method in the docs/link above. What about kernel-headers-... then? regards, jan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
I upgraded to Woody two or three months ago, but did not upgrade the kernel then because I did not feel confident of my ability to read and follow the various directions. Recent posts in this thread gave me a feeling of confidence, so I've attempted to follow the recipe given. Now I need help. The given recipe is: apt-get install kernel-sources-2.4.18 cd /usr/src/kernel-sources-2.4.18 make oldconfig (interactive config work (I chose all defaults) ) make-kpkg --revision ofc1.x binary cd /usr/src dpkg -i kernel-images-2.4.18_ofc1.x_i386.deb (reboot) At first glance, this worked, but I have no network access. Further, investigation shows that there several error messages scrolling by during boot. One says ds: no socket drivers loaded! Another says modprobe: modprobe: Can't locate char-major-10-135 I look in /lib/modules/2.4.18 and find vastly fewer modules than in /lib/modules/2.2.19 I look for ways to compile modules, but all I find is an instruction to cd to /usr/src/modules, but I have no such directory. What should I do to get my modules? I've already tried make-kpkg buildpackage and make-kpkg modules_image Both return almost immediately, with criptic lines of script code displayed. Are the modules sources in a different package? What is its name? TIA -- Paul E Condon [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
Tim == Tim Grogan [EMAIL PROTECTED] writes: Tim I'm trying to compile the exact same image on my Athlon 1700 Tim system. I've been following this thread with great interest. Tim I've seen some good pointers from a lot of folks. Could someone Tim please just put a dummy list of steps on how to upgrade a Tim kernel. I've downloaded about 3 howtos but they are for Tim compiling kernels manually. This seems to be another way Tim (easier too) to do the same thing. If there already is a howto Tim developed, please let me know. What is wrong with /usr/share/doc/kernel-package/README.gz? manoj -- UNIX is a Trademark of Bell Laboratories. Manoj Srivastava [EMAIL PROTECTED] http://www.debian.org/%7Esrivasta/ 1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18 (Solved, but...)
On Mon, Jun 17, 2002 at 11:33:17PM -0700, Paul E Condon wrote: I upgraded to Woody two or three months ago, but did not upgrade the kernel then because I did not feel confident of my ability to read and follow the various directions. Recent posts in this thread gave me a feeling of confidence, so I've attempted to follow the recipe given. Now I need help. The given recipe is: apt-get install kernel-sources-2.4.18 cd /usr/src/kernel-sources-2.4.18 make oldconfig (interactive config work (I chose all defaults) ) make-kpkg --revision ofc1.x binary cd /usr/src dpkg -i kernel-images-2.4.18_ofc1.x_i386.deb (reboot) At first glance, this worked, but I have no network access. Further, investigation shows that there several error messages scrolling by during boot. One says ds: no socket drivers loaded! Another says modprobe: modprobe: Can't locate char-major-10-135 I look in /lib/modules/2.4.18 and find vastly fewer modules than in /lib/modules/2.2.19 I look for ways to compile modules, but all I find is an instruction to cd to /usr/src/modules, but I have no such directory. What should I do to get my modules? I've already tried make-kpkg buildpackage and make-kpkg modules_image Both return almost immediately, with criptic lines of script code displayed. Are the modules sources in a different package? What is its name? TIA -- I worked some more on this. I could not get make-kpkg to make modules even though that capability is clearly indicated in the man page. I wanted to make it work because I have been messed up before by mixing two different procedures. In this case the solution to my problem was, simply to do: make modules make modules_install With this approach, a modules_image debian package is never created, which seems not to be what is intended by the Debian approach. Has the Debian approach worked for anyone who wants a full install, including modules? Take care in answering yes. If you try on a system that already has the correct set of modules installed, you may never notice that the script is failing. I suspect there is a bug here. I hope someone can point out to me what I was doing wrong. -- Paul E Condon [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18 (Solved, but...)
On Tue, 18 Jun 2002, Paul E Condon wrote: Has the Debian approach worked for anyone who wants a full install, including modules? Take care in answering yes. OK, yes. BUT the only modules which I've _needed_ to create the Debian way are the pcmcia-cs modules, which are unpacked from the pcmcia-cs package into /usr/src/modules/pcmcia-cs, and those are the only modules in the modules directory. However, in /lib/modules/2.4.18/ is a bunch of other stuff; and I _always_ (re)move my old modules directory when installing a new kernel. I'm pretty sure (the experts can speak to it) that dpkg -i kernel-image takes care of installing everything which you select _as a module_ during the kernel config, and that you only need to make modules the Debian way when they are third party modules like pcmcia-cs. BICBW ;) Patrick -- Patrick Wiseman [EMAIL PROTECTED] Linux user #17943 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
kernel upgrade to 2.4.18
Hi everybody. I running Debian Woody ( kernel 2.2.20) and I trying to upgrade to kernel 2.4.18... a did an apt-get install kernel-source-2.4.18 ) just perfect. the kerbel-source was saved at /usr/src... I created a dir called linux and a ln -s to the unzipped source ( /usr/src/kernel-source-2.4.18) when I give a make-kpkg --revision kernel.2.4.18 it says that the source is not at the top of the linux kernel directory. ( I've already installed the latest kernel-package) what am I doing wrong?! does anyone have an make-kpkg example?! I think its more of a sintax error... ( I writing something wrong) I've checked the kernel how0to section at the documentation page regards []'s Francisco -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
1.) Don't both with linking to linux. Just: cd /usr/src/kernel-source-2.4.18 make menuconfig make-kpkg 2.) Don't use --revision to note the kernel version; make-kpkg will do that for you. Use --revision if you want to tag it to specific config options you've used. I generally do: make-kpkg --revision ofcx.y where x.y is a version of my configuration, NOT of the kernel itself. Hope this helps. -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On Mon, 17 Jun 2002, Francisco Fialho wrote: Hi everybody. I running Debian Woody ( kernel 2.2.20) and I trying to upgrade to kernel 2.4.18... a did an apt-get install kernel-source-2.4.18 ) just perfect. the kerbel-source was saved at /usr/src... I created a dir called linux and a ln -s to the unzipped source ( /usr/src/kernel-source-2.4.18) when I give a make-kpkg --revision kernel.2.4.18 it says that the source is not at the top of the linux kernel directory. ( I've already installed the latest kernel-package) what am I doing wrong?! does anyone have an make-kpkg example?! I think its more of a sintax error... ( I writing something wrong) I've checked the kernel how0to section at the documentation page regards []'s Francisco -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
On Mon, 17 Jun 2002, Francisco Fialho wrote: the kerbel-source was saved at /usr/src... I created a dir called linux and a ln -s to the unzipped source ( /usr/src/kernel-source-2.4.18) 'rm -Rf linux' to remove your directory 'ln -s /usr/src/kernel-source-2.4.18 linux' to create your link You tried to symlink an existing directory to the source tree. If you look in the linux directory before you remove it, by the way, you'll see a broken symbolic link. In other words, your machine did exactly as you told it to, but not what you meant to tell it to do ;) Patrick -- Patrick Wiseman [EMAIL PROTECTED] Linux user #17943 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
On Mon, 17 Jun 2002, Andrew Perrin wrote: 1.) Don't both with linking to linux. Just: cd /usr/src/kernel-source-2.4.18 make menuconfig make-kpkg This will work, of course. But other packages (pcmcia-cs, for example, I'm pretty sure) expect to find the kernel source tree in /usr/src/linux, so creating the symbolic link is a good idea. Patrick -- Patrick Wiseman [EMAIL PROTECTED] Linux user #17943 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
Andrew Perrin wrote: 1.) Don't both with linking to linux. Just: cd /usr/src/kernel-source-2.4.18 make menuconfig make-kpkg 2.) Don't use --revision to note the kernel version; make-kpkg will do that for you. Use --revision if you want to tag it to specific config options you've used. I generally do: make-kpkg --revision ofcx.y where x.y is a version of my configuration, NOT of the kernel itself. Hope this helps. -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On Mon, 17 Jun 2002, Francisco Fialho wrote: Hi everybody. I running Debian Woody ( kernel 2.2.20) and I trying to upgrade to kernel 2.4.18... a did an apt-get install kernel-source-2.4.18 ) just perfect. the kerbel-source was saved at /usr/src... I created a dir called linux and a ln -s to the unzipped source ( /usr/src/kernel-source-2.4.18) when I give a make-kpkg --revision kernel.2.4.18 it says that the source is not at the top of the linux kernel directory. ( I've already installed the latest kernel-package) what am I doing wrong?! does anyone have an make-kpkg example?! I think its more of a sintax error... ( I writing something wrong) I've checked the kernel how0to section at the documentation page regards []'s Francisco -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] I did all that was especified, but I can't tell if i running the new kernel... i went to /etc/lilo.conf and there was a line showing vmlinuz and another showing vmlinuz.old... is there any command I can use to see what kernel I'm using?! regards. Francisco -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
On Mon, 17 Jun 2002, Francisco Fialho wrote: is there any command I can use to see what kernel I'm using?! uname -a -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
Andrew Perrin wrote: On Mon, 17 Jun 2002, Francisco Fialho wrote: is there any command I can use to see what kernel I'm using?! uname -a the output to the uname - a command gave me 2.2.20... what is missing?! make-kpkg ran OK... must I do something?! after make-kpkg nothing else as done, except run the lilo command. regards Francisco -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
Yes. You need to install the new kernel: dpkg -i /usr/src/kernel-image-2.4.18... and then reboot. -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On Mon, 17 Jun 2002, Francisco Fialho wrote: Andrew Perrin wrote: On Mon, 17 Jun 2002, Francisco Fialho wrote: is there any command I can use to see what kernel I'm using?! uname -a the output to the uname - a command gave me 2.2.20... what is missing?! make-kpkg ran OK... must I do something?! after make-kpkg nothing else as done, except run the lilo command. regards Francisco -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
On Mon, Jun 17, 2002 at 03:30:05PM -0300, Francisco Fialho wrote: Andrew Perrin wrote: On Mon, 17 Jun 2002, Francisco Fialho wrote: is there any command I can use to see what kernel I'm using?! uname -a the output to the uname - a command gave me 2.2.20... what is missing?! make-kpkg ran OK... must I do something?! after make-kpkg nothing else as done, except run the lilo command. I missed the start of the thread, but you do know that you will have to reboot in order to use the new kernel? -- Note that I use Debian version 3.0 Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown Hans Ekbrand pgpTcuDKFs9x6.pgp Description: PGP signature
Re: kernel upgrade to 2.4.18
On Mon, 17 Jun 2002, Francisco Fialho wrote: what is missing?! make-kpkg ran OK... must I do something?! after make-kpkg nothing else as done, except run the lilo command. You need to install the kernel; from /usr/src/linux 'dpkg -i ../kernel_image.deb' Do 'ls ..' to get the name of the actual .deb file you made with make-kpkg. And you won't need to run lilo, the install takes care of that for you. Patrick -- Patrick Wiseman [EMAIL PROTECTED] Linux user #17943 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
Andrew Perrin wrote: Yes. You need to install the new kernel: dpkg -i /usr/src/kernel-image-2.4.18... and then reboot. -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On Mon, 17 Jun 2002, Francisco Fialho wrote: Andrew Perrin wrote: On Mon, 17 Jun 2002, Francisco Fialho wrote: is there any command I can use to see what kernel I'm using?! uname -a the output to the uname - a command gave me 2.2.20... what is missing?! make-kpkg ran OK... must I do something?! after make-kpkg nothing else as done, except run the lilo command. regards Francisco when I ran the dpkg -i command it returned the follwing errors: dpkg-split: error reading /usr/src/kernel-source-2.4.18/: Is a directory dpkg: error processing /usr/src/kernel-source-2.4.18/ (--install): subprocess dpkg-split returned error exit status 2 Error were encountered while processing: /usr/src/kernel-source-2.4.18/ The kernel-source is in /usr/src/kernel-source-2.4.18... regards Francisco -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
Try again - you ran dpkg -k kernel-source... You need to find the .deb that make-kpkg created. It's in /usr/src. Try: ls -l /usr/src/kernel*deb You're looking for kernel-image-2.4.18-something.deb Then do dpkg -i /usr/src/kernel-image-2.4.18-something.deb ap -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On Mon, 17 Jun 2002, Francisco Fialho wrote: Andrew Perrin wrote: Yes. You need to install the new kernel: dpkg -i /usr/src/kernel-image-2.4.18... and then reboot. -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On Mon, 17 Jun 2002, Francisco Fialho wrote: Andrew Perrin wrote: On Mon, 17 Jun 2002, Francisco Fialho wrote: is there any command I can use to see what kernel I'm using?! uname -a the output to the uname - a command gave me 2.2.20... what is missing?! make-kpkg ran OK... must I do something?! after make-kpkg nothing else as done, except run the lilo command. regards Francisco when I ran the dpkg -i command it returned the follwing errors: dpkg-split: error reading /usr/src/kernel-source-2.4.18/: Is a directory dpkg: error processing /usr/src/kernel-source-2.4.18/ (--install): subprocess dpkg-split returned error exit status 2 Error were encountered while processing: /usr/src/kernel-source-2.4.18/ The kernel-source is in /usr/src/kernel-source-2.4.18... regards Francisco -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
On Mon, 2002-06-17 at 13:30, Francisco Fialho wrote: Andrew Perrin wrote: On Mon, 17 Jun 2002, Francisco Fialho wrote: is there any command I can use to see what kernel I'm using?! uname -a the output to the uname - a command gave me 2.2.20... what is missing?! make-kpkg ran OK... must I do something?! after make-kpkg nothing else as done, except run the lilo command. Yes, I know it's a stupid question: did you reboot? -- +-+ | Ron Johnson, Jr.Home: [EMAIL PROTECTED] | | Jefferson, LA USA http://ronandheather.dhs.org:81 | | | | Object-oriented programming is an exceptionally bad idea | | which could only have originated in California. | | --Edsger Dijkstra | +-+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
I'm trying to compile the exact same image on my Athlon 1700 system. I've been following this thread with great interest. I've seen some good pointers from a lot of folks. Could someone please just put a dummy list of steps on how to upgrade a kernel. I've downloaded about 3 howtos but they are for compiling kernels manually. This seems to be another way (easier too) to do the same thing. If there already is a howto developed, please let me know. Tim p.s. for an athlon system do I need a special version of the kernel? Try again - you ran dpkg -k kernel-source... You need to find the .deb that make-kpkg created. It's in /usr/src. Try: ls -l /usr/src/kernel*deb You're looking for kernel-image-2.4.18-something.deb Then do dpkg -i /usr/src/kernel-image-2.4.18-something.deb -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
Here's what I do: apt-get install kernel-source-2.4.18 cd /usr/src/kernel-source-2.4.18 make menuconfig (select/deselect for your needs) make-kpkg --revision ofc1.x binary cd /usr/src dpkg -i kernel-image-2.4.18_ofc1.x_i386.deb reboot -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On Mon, 17 Jun 2002, Tim Grogan wrote: I'm trying to compile the exact same image on my Athlon 1700 system. I've been following this thread with great interest. I've seen some good pointers from a lot of folks. Could someone please just put a dummy list of steps on how to upgrade a kernel. I've downloaded about 3 howtos but they are for compiling kernels manually. This seems to be another way (easier too) to do the same thing. If there already is a howto developed, please let me know. Tim p.s. for an athlon system do I need a special version of the kernel? Try again - you ran dpkg -k kernel-source... You need to find the .deb that make-kpkg created. It's in /usr/src. Try: ls -l /usr/src/kernel*deb You're looking for kernel-image-2.4.18-something.deb Then do dpkg -i /usr/src/kernel-image-2.4.18-something.deb -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
Tim Grogan wrote: I'm trying to compile the exact same image on my Athlon 1700 system. I've been following this thread with great interest. I've seen some good pointers from a lot of folks. Could someone please just put a dummy list of steps on how to upgrade a kernel. I've downloaded about 3 howtos but they are for compiling kernels manually. This seems to be another way (easier too) to do the same thing. If there already is a howto developed, please let me know. Tim p.s. for an athlon system do I need a special version of the kernel? Try again - you ran dpkg -k kernel-source... You need to find the .deb that make-kpkg created. It's in /usr/src. Try: ls -l /usr/src/kernel*deb You're looking for kernel-image-2.4.18-something.deb Then do dpkg -i /usr/src/kernel-image-2.4.18-something.deb I ran an find / -name kernel-image*.* and there was no result ( I ran make-kpkg twice) :-) any clue?! regards Francisco -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
On Mon, 17 Jun 2002, Francisco Fialho wrote: Try: ls -l /usr/src/kernel*deb [snip] I ran an find / -name kernel-image*.* and there was no result ( I ran make-kpkg twice) :-) any clue?! The clue is: follow directions! What is the output of: ls /usr/src/kernel*deb if the answer is nothing, then you need to post the output from your make-kpkg commands. -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
On Mon, 2002-06-17 at 15:16, Andrew Perrin wrote: Here's what I do: apt-get install kernel-source-2.4.18 cd /usr/src/kernel-source-2.4.18 make oldconfig make menuconfig (select/deselect for your needs) make-kpkg clean make-kpkg --revision ofc1.x binary cd /usr/src dpkg -i kernel-image-2.4.18_ofc1.x_i386.deb reboot adding this step will have you start from a known working config. Also I think the make-kpkg line should be something closer to make-kpkg --revision x.y kernel_image Also the *.deb should be in the directory /usr/src/ So look for it there. You should do a man make-kpkg for the full amount of options you have. make-kpkg is actually a very nice tool for compiling kernels. Oh and Im not sure if you have already said this, but make sure you are running Woody or Sid. Potato can not handle 2.4.x kernels. -- -Peace kid Scott Henson [EMAIL PROTECTED] God's the ultimate playa, so naturally He's going to have some haters, rapper Ice Cube said. But these haters need to realize that if you mess with the man upstairs, you will get your ass smote. True dat. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
Patrick Wiseman wrote: Andrew Perrin wrote: 1.) Don't both with linking to linux. Just: cd /usr/src/kernel-source-2.4.18 make menuconfig make-kpkg Why doesn't anyone follow the procedure outlined in http://www.debian.org/releases/stable/i386/ch-post-install.en.html#s-kernel-baking ? sincerely -- Ivo Wever [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
On Mon, 17 Jun 2002, Ivo Wever wrote: Patrick Wiseman wrote: Andrew Perrin wrote: 1.) Don't both with linking to linux. Just: cd /usr/src/kernel-source-2.4.18 make menuconfig make-kpkg Why doesn't anyone follow the procedure outlined in Take care with attribution!! I didn't say any of the above. Patrick -- Patrick Wiseman [EMAIL PROTECTED] Linux user #17943 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
On Mon, 17 Jun 2002, Ivo Wever wrote: Why doesn't anyone follow the procedure outlined in http://www.debian.org/releases/stable/i386/ch-post-install.en.html#s-kernel-baking ? Other than use of 'fakeroot' (which I don't use because I'm happy becoming root having started with Slackware years ago :), I _do_ basically follow that procedure. Patrick -- Patrick Wiseman [EMAIL PROTECTED] Linux user #17943 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel upgrade to 2.4.18
Patrick Wiseman wrote: Ivo Wever wrote: Why doesn't anyone follow the procedure outlined in http://www.debian.org/releases/stable/i386/ch-post-install.en.html#s-kernel-baking ? Other than use of 'fakeroot' (which I don't use because I'm happy becoming root having started with Slackware years ago :), I _do_ basically follow that procedure. I understand there are good reasons for placing the source in /usr/local/src/kernel-source.x.y.z, a directory not owned by root. Something to do with symlinks I read on a kernel-digest once, but I can't remember the details. sincerely, -- Ivo Wever [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]