Professional Web Applications Themes

Kernel patch update - Linux Setup, Configuration & Administration

David wrote: > Trevor BROOKES wrote: >> Have downloaded the 2.422 kernel update patch as it seem to have certain >> updates that are needed for my system, (sound and video) >> >> But am a newbie, how does one go about installing the patch >> >> Please in simple layman terms >> >> Thanks in advance > > cd into the 2.4.21 kernel source directory. > > bzcat /path/to/patch.bz2 | patch -p1 > zcat /path/to/patch.gz | patch -p1 > Thanks but it doesn't work bash: /home/trevor/Téléchargements: is a directory [roottrevor trevor]# bzcat /path/to/patch.bz2 | patch -p1 bzcat: Can't open ...

  1. #1

    Default Re: Kernel patch update

    David wrote:
    > Trevor BROOKES wrote:
    >> Have downloaded the 2.422 kernel update patch as it seem to have certain
    >> updates that are needed for my system, (sound and video)
    >>
    >> But am a newbie, how does one go about installing the patch
    >>
    >> Please in simple layman terms
    >>
    >> Thanks in advance
    >
    > cd into the 2.4.21 kernel source directory.
    >
    > bzcat /path/to/patch.bz2 | patch -p1
    > zcat /path/to/patch.gz | patch -p1
    >
    Thanks but it doesn't work

    bash: /home/trevor/Téléchargements: is a directory
    [roottrevor trevor]# bzcat /path/to/patch.bz2 | patch -p1
    bzcat: Can't open input file /path/to/patch.bz2: No such file or directory.

    I suppose it' because the file is named "patch-2.4.22.bz2"

    But if so do I

    bzcat /path/to/patch-2.4.22.bz2 | patch-2.4.22 -p1

    Or am I complety wrong (good chance)

    Thanks again
    Trevor BROOKES Guest

  2. #2

    Default Re: Kernel patch update

    In article <3f4a5b13$0$273$626a54cenews.free.fr>,
    Trevor BROOKES <REMOVEtrevorhomecdmail.fr> wrote:
    >David wrote:
    >
    >> Trevor BROOKES wrote:
    >>> Have downloaded the 2.422 kernel update patch as it seem to have certain
    >>> updates that are needed for my system, (sound and video)
    >>>
    >>> But am a newbie, how does one go about installing the patch
    >>>
    >>> Please in simple layman terms
    >>>
    >>> Thanks in advance
    >>
    >> cd into the 2.4.21 kernel source directory.
    >>
    >> bzcat /path/to/patch.bz2 | patch -p1
    >> zcat /path/to/patch.gz | patch -p1
    >>
    >
    >Thanks but it doesn't work
    >
    >bash: /home/trevor/Téléchargements: is a directory
    >[roottrevor trevor]# bzcat /path/to/patch.bz2 | patch -p1
    >bzcat: Can't open input file /path/to/patch.bz2: No such file or directory.
    >
    >I suppose it' because the file is named "patch-2.4.22.bz2"
    >
    >But if so do I
    >
    >bzcat /path/to/patch-2.4.22.bz2 | patch-2.4.22 -p1
    The idea was that you should replace "path/to/patch" with the path to
    the patch, or in other words the full name of the file including the
    directory it's in. For example, say I've put your file in my home
    directory I'd type:

    bzcat /home/john/patch-2.4.22.bz2 | patch -p1

    But only you know where you've got it so only you know what path to
    use.

    HTH
    John
    --
    The Linux Emporium - the source for Linux in the UK
    See [url]http://www.linuxemporium.co.uk/[/url]

    We had a woodhenge here once but it rotted.
    John Winters Guest

  3. #3

    Default Re: Kernel patch update

    John Winters wrote:
    > In article <3f4a5b13$0$273$626a54cenews.free.fr>,
    > Trevor BROOKES <REMOVEtrevorhomecdmail.fr> wrote:
    >>David wrote:
    >>
    >>> Trevor BROOKES wrote:
    >>>> Have downloaded the 2.422 kernel update patch as it seem to have
    >>>> certain updates that are needed for my system, (sound and video)
    >>>>
    >>>> But am a newbie, how does one go about installing the patch
    >>>>
    >>>> Please in simple layman terms
    >>>>
    >>>> Thanks in advance
    >>>
    >>> cd into the 2.4.21 kernel source directory.
    >>>
    >>> bzcat /path/to/patch.bz2 | patch -p1
    >>> zcat /path/to/patch.gz | patch -p1
    >>>
    >>
    >>Thanks but it doesn't work
    >>
    >>bash: /home/trevor/Téléchargements: is a directory
    >>[roottrevor trevor]# bzcat /path/to/patch.bz2 | patch -p1
    >>bzcat: Can't open input file /path/to/patch.bz2: No such file or
    >>directory.
    >>
    >>I suppose it' because the file is named "patch-2.4.22.bz2"
    >>
    >>But if so do I
    >>
    >>bzcat /path/to/patch-2.4.22.bz2 | patch-2.4.22 -p1
    >
    > The idea was that you should replace "path/to/patch" with the path to
    > the patch, or in other words the full name of the file including the
    > directory it's in. For example, say I've put your file in my home
    > directory I'd type:
    >
    > bzcat /home/john/patch-2.4.22.bz2 | patch -p1
    >
    > But only you know where you've got it so only you know what path to
    > use.
    >
    > HTH
    > John

    That seemed to work, as the terminal worked for a couple of seconds with
    lots of lines

    Do I now do the second command line or do I reboot before

    zcat ...

    and is there anything else to do

    Thanks again
    Trevor BROOKES Guest

  4. #4

    Default Re: Kernel patch update

    Trevor BROOKES wrote:
    > John Winters wrote:
    >
    >> In article <3f4a5b13$0$273$626a54cenews.free.fr>,
    >> Trevor BROOKES <REMOVEtrevorhomecdmail.fr> wrote:
    >>>David wrote:
    >>>
    >>>> Trevor BROOKES wrote:
    >>>>> Have downloaded the 2.422 kernel update patch as it seem to have
    >>>>> certain updates that are needed for my system, (sound and video)
    >>>>>
    >>>>> But am a newbie, how does one go about installing the patch
    >>>>>
    >>>>> Please in simple layman terms
    >>>>>
    >>>>> Thanks in advance
    >>>>
    >>>> cd into the 2.4.21 kernel source directory.
    >>>>
    >>>> bzcat /path/to/patch.bz2 | patch -p1
    >>>> zcat /path/to/patch.gz | patch -p1
    >>>>
    >>>
    >>>Thanks but it doesn't work
    >>>
    >>>bash: /home/trevor/Téléchargements: is a directory
    >>>[roottrevor trevor]# bzcat /path/to/patch.bz2 | patch -p1
    >>>bzcat: Can't open input file /path/to/patch.bz2: No such file or
    >>>directory.
    >>>
    >>>I suppose it' because the file is named "patch-2.4.22.bz2"
    >>>
    >>>But if so do I
    >>>
    >>>bzcat /path/to/patch-2.4.22.bz2 | patch-2.4.22 -p1
    >>
    >> The idea was that you should replace "path/to/patch" with the path to
    >> the patch, or in other words the full name of the file including the
    >> directory it's in. For example, say I've put your file in my home
    >> directory I'd type:
    >>
    >> bzcat /home/john/patch-2.4.22.bz2 | patch -p1
    >>
    >> But only you know where you've got it so only you know what path to
    >> use.
    >>
    >> HTH
    >> John
    >
    >
    > That seemed to work, as the terminal worked for a couple of seconds with
    > lots of lines
    >
    > Do I now do the second command line or do I reboot before
    >
    > zcat ...
    >
    > and is there anything else to do
    >
    > Thanks again


    Well I rebooted after doing the first commande line
    bzcat /path/to/patch-2.4.22.bz2 | patch-2.4.22 -p1

    But nothing has changed, when I check the LILO everything is still 2.4.21

    Please can you tell me what I have to do next

    Thanks
    Trevor BROOKES Guest

  5. #5

    Default Re: Kernel patch update

    Timothy Murphy wrote:
    > Trevor BROOKES wrote:
    >
    >> That seemed to work, as the terminal worked for a couple of seconds with
    >> lots of lines
    >>
    >> Do I now do the second command line or do I reboot before
    >>
    >> zcat ...
    >>
    >> and is there anything else to do
    >
    > You don't need the zcat line -- that was if you had downloaded the patch
    > in *.gz form as opposed to *.bz2 .
    > But yes, there is something to do -- compile the kernel.
    > Try
    > make dep; make clean; make bzImage; make modules
    > and then (as superuser)
    > make modules_install; make install
    >
    > This should add the new kernel as an option when you re-boot,
    > though not the default option.
    >
    Tried this in terminal under root but it did not work

    [roottrevor trevor]# make dep; make clean; make bzImage; make modules
    make: *** Pas de règle pour fabriquer la cible « dep ». Arrêt.
    make: *** Pas de règle pour fabriquer la cible « clean ». Arrêt.
    make: *** Pas de règle pour fabriquer la cible « bzImage ». Arrêt.
    make: *** Pas de règle pour fabriquer la cible « modules ». Arrêt.
    [roottrevor trevor]#

    Pas de règle pour fabriquer la cible (french MDK set up)

    mean : no rules do make target

    Thanks again for help and more help (I need it)

    Trevor


    Trevor BROOKES Guest

  6. #6

    Default Re: Kernel patch update

    Ian Northeast wrote:
    >
    > Evidently. It seems to me that you need a little more experience with
    > Linux basics before you attempt something like patching and recompiling
    > a kernel.
    I agree that he may need a little more experience but, we all had
    to start somewhere. ;-)

    --
    Confucius: He who play in root, eventually kill tree.
    Registered with The Linux Counter. [url]http://counter.li.org/[/url]
    Slackware 9.0 Kernel 2.4.22 i686 (GCC) 3.3
    Uptime: 16:14, 1 user, load average: 1.77, 1.52, 1.36

    David Guest

  7. #7

    Default Re: Kernel patch update

    Trevor BROOKES wrote:
    > That seemed to work, as the terminal worked for a couple of seconds with
    > lots of lines
    >
    > Do I now do the second command line or do I reboot before
    >
    > zcat ...
    >
    > and is there anything else to do
    You don't need the zcat line -- that was if you had downloaded the patch
    in *.gz form as opposed to *.bz2 .
    But yes, there is something to do -- compile the kernel.
    Try
    make dep; make clean; make bzImage; make modules
    and then (as superuser)
    make modules_install; make install

    This should add the new kernel as an option when you re-boot,
    though not the default option.

    --
    Timothy Murphy
    e-mail: [email]timbirdsnest.maths.tcd.ie[/email]
    tel: +353-86-233 6090
    s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
    Timothy Murphy Guest

  8. #8

    Default Re: Kernel patch update

    David wrote:
    > Ian Northeast wrote:
    >>
    >> Evidently. It seems to me that you need a little more experience with
    >> Linux basics before you attempt something like patching and recompiling
    >> a kernel.
    >
    > I agree that he may need a little more experience but, we all had
    > to start somewhere. ;-)
    >

    I am very new with linux

    The reason that I thought that I would update is that I believe that the
    version 2.4.22 contains drivers for my video card ATI 9700 pro and also
    drivers for my sound card , as unable to get correct 5.1 channel sound from
    the onboard sound card on my MB Intel845pebt2

    Also I must admit I like playing around as I find that's the bst way to
    learn

    I tried updating from the

    CD /boot

    using the bzcat /part/to/patch2.4.22 .....


    As I believe this is where my kernel is

    Am running MDK 9.1

    But got a question a which file to patch as the terminal/program did not
    know

    so I chickened out .... and typed in EXIT to quit

    You need to issue the make commands in the base of the kernel source
    tree. Normally /usr/src/linux is a symlink to this. In there is a file
    called "Makefile" which specifies the targets. Clearly this is missing
    so I think you are in another directory, probably root's $HOME.


    This /usr/src/linux is not on the computer or at least I cannot see it

    I've got the gist of things .... but must admit need help

    but if you think I should not do it then tough on me but am unlucky that I
    have no friends who use linuw, everybody is just using Windows

    Anyway thanks David and Ian

    Trevor

    Trevor BROOKES Guest

  9. #9

    Default Re: Kernel patch update

    Trevor BROOKES wrote:
    >> You need to issue the make commands in the base of the kernel source
    >> tree. Normally /usr/src/linux is a symlink to this. In there is a file
    >> called "Makefile" which specifies the targets. Clearly this is missing
    >> so I think you are in another directory, probably root's $HOME.
    >
    > This /usr/src/linux is not on the computer or at least I cannot see it
    You don't actually need to go there --
    go to the place where you patched the sources, eg
    /usr/src/linux-2.4.22-pre10 (or whatever)
    and follow my suggestion "make dep; ..."

    (People often make a link to this directory called linux;
    cd /usr/src; ln -s linux-2.4.22-pre10 linux
    But this isn't necessary.
    Basically it saves a little time, as you can say "cd /usr/src/linux".)
    > but if you think I should not do it then tough on me but am unlucky that I
    > have no friends who use linuw, everybody is just using Windows
    I don't think it is really anything to do with
    the difference between Linux and Windows.
    If you were trying to compile something in Windows
    you would have to go through more or less the same rigmarole.
    The difference is that people don't usually compile in Windows.

    By the way, I omitted the most time-consuming part.
    You need to create a .config file if there isn't one already in your source.
    You do this by saying "make xconfig" or "make menuconfig"
    and going through a vast number of options.
    Hopefully you already have a .config file --
    it depends how you got the source.

    By the way, ls doesn't show files starting with "." --
    you have to say "ls -a".

    --
    Timothy Murphy
    e-mail: [email]timbirdsnest.maths.tcd.ie[/email]
    tel: +353-86-233 6090
    s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
    Timothy Murphy Guest

  10. #10

    Default Re: Kernel patch update

    Trevor BROOKES wrote:
    >
    > I have read all the posts, plus the knowhows, all seems fairly clear (as
    > clear as mus) but I am stuck at the beginning as I am unable to fathom out
    > where is my Kernel source to do the update
    >
    > Am running a recently installed version 9.1 of MDK
    Run: rpm -qa | grep kernel

    There should be a "kernel-source-x.x.xx" package installed where
    "x.x.xx" is the kernel version.

    If you don't have the kernel-source installed then you can
    download the official kernel source from (kernel.org). Trying to
    patch a Mandrake kernel to a newer kernel release can cause the
    patch to fail and cause problems due to previously applied patches.

    --
    Confucius: He who play in root, eventually kill tree.
    Registered with The Linux Counter. [url]http://counter.li.org/[/url]
    Slackware 9.0 Kernel 2.4.22 i686 (GCC) 3.3
    Uptime: 14:45, 1 user, load average: 1.18, 1.21, 1.18

    David Guest

  11. #11

    Default Re: Kernel patch update

    Trevor BROOKES wrote:
    >
    > I downloaded the kernel through the MDK update center, all 240 megs but
    > wasn't there during the download and did not get the message all programs
    > installed (usaully do), but did n't get any error message either
    >
    > [roottrevor trevor]# rpm -qa | grep kernel
    > kernel-2.4.21.0.13mdk-1-1mdk
    > [roottrevor trevor]#
    >
    > Both of these did not work before the download
    >
    > And when I look in the /boot folder ther are kernel, config files that were
    > not there before
    >
    > So it still seems that I have to apply the patch
    >
    > So where do I start
    Ok, that is a heavily patched Mandrake kernel.
    Get the file named "linux-2.4.22.tar.bz2" from the link below.
    This is the official kernel release and won't need a patch.

    [url]ftp://ftp.kernel.org/pub/linux/kernel/v2.4[/url]

    It is about a 28MB download.

    Trying to patch the "kernel-2.4.21.0.13mdk-1-1mdk" Mandrake
    kernel to the 2.4.22 kernel will most likely fail.

    --
    Confucius: He who play in root, eventually kill tree.
    Registered with The Linux Counter. [url]http://counter.li.org/[/url]
    Slackware 9.0 Kernel 2.4.22 i686 (GCC) 3.3
    Uptime: 1 day, 15:45, 1 user, load average: 1.01, 1.11, 1.17

    David Guest

  12. #12

    Default Re: Kernel patch update

    Okay have downloaded an installed the full kernel following instructions
    given to me before with the post and the read me file

    Have now a 2422 ligne added to the boot sequence but when booting with this
    I get the following error messages

    error : only one processor found
    agpgart ; dectected an intel 845G, but could not find seconadry device,
    assuming a non itegrated video device
    hdc1 bad acces
    EXT3-fs unable to read super block
    hdc 1 bad access
    hdc 1 bad access
    hdc 1 bad access
    hdc 1 bad access
    NTFS reading super block failed
    kernel panic VFS unable to mount root fs on 16:01

    these messages are the same wether I chose the new boot all the old kernel
    or failsafe

    I do not have a onboard video device as I have Radeon ATI 9700 pro

    If I understand rightly the two machine is confused by the LILO boot start
    up or something like that

    "Of course" I do not have a boot diskette, so I suppose that I have to
    reinstall the system from scratch as I cannot get past the Kernel panic
    message, no access to keyboard no nothing

    Next time is there a command that gets rid of the old kernel boot or what do
    I have to do ?

    Thanks agin for your help

    PS luckily I've got more than one computer at the house



    "David" <thunderbolt01netscape.net> a écrit dans le message de
    news:ZW33b.209309$cF.68117rwcrnsc53...
    > Trevor BROOKES wrote:
    > >
    > > I downloaded the kernel through the MDK update center, all 240 megs but
    > > wasn't there during the download and did not get the message all
    programs
    > > installed (usaully do), but did n't get any error message either
    > >
    > > [roottrevor trevor]# rpm -qa | grep kernel
    > > kernel-2.4.21.0.13mdk-1-1mdk
    > > [roottrevor trevor]#
    > >
    > > Both of these did not work before the download
    > >
    > > And when I look in the /boot folder ther are kernel, config files that
    were
    > > not there before
    > >
    > > So it still seems that I have to apply the patch
    > >
    > > So where do I start
    >
    > Ok, that is a heavily patched Mandrake kernel.
    > Get the file named "linux-2.4.22.tar.bz2" from the link below.
    > This is the official kernel release and won't need a patch.
    >
    > [url]ftp://ftp.kernel.org/pub/linux/kernel/v2.4[/url]
    >
    > It is about a 28MB download.
    >
    > Trying to patch the "kernel-2.4.21.0.13mdk-1-1mdk" Mandrake
    > kernel to the 2.4.22 kernel will most likely fail.
    >
    > --
    > Confucius: He who play in root, eventually kill tree.
    > Registered with The Linux Counter. [url]http://counter.li.org/[/url]
    > Slackware 9.0 Kernel 2.4.22 i686 (GCC) 3.3
    > Uptime: 1 day, 15:45, 1 user, load average: 1.01, 1.11, 1.17
    >

    Shazbot Guest

  13. #13

    Default Re: Kernel patch update

    Okay have downloaded an installed the full kernel following instructions
    given to me before with the posts and the read me file

    Have now a 2422 ligne added to the boot sequence but when booting with this
    I get the following error messages

    error : only one processor found
    agpgart ; detected an intel 845G, but could not find secondary device,
    assuming a non integrated video device
    hdc1 bad acces
    EXT3-fs unable to read super block
    hdc 1 bad access
    hdc 1 bad access
    hdc 1 bad access
    hdc 1 bad access
    NTFS reading super block failed
    kernel panic VFS unable to mount root fs on 16:01

    these messages are the same wether I chose the new boot all the old kernel
    or failsafe


    I do not have a onboard video device as I have Radeon ATI 9700 pro

    If I understand rightly the two machine is confused by the LILO boot start
    up or something like that

    "Of course" I do not have a boot diskette, so I suppose that I have to
    reinstall the system from scratch as I cannot get past the Kernel panic
    message, no access to keyboard no nothing

    Next time is there a command that gets rid of the old kernel boot or what do
    I have to do ?

    Thanks again for your help

    PS luckily I've got more than one computer at the house

    and please note that on this machine I have two SATA drives which are not
    "seen" by the old kernel



    "David" <thunderbolt01netscape.net> a écrit dans le message de
    news:ZW33b.209309$cF.68117rwcrnsc53...
    > Trevor BROOKES wrote:
    > >
    > > I downloaded the kernel through the MDK update center, all 240 megs but
    > > wasn't there during the download and did not get the message all
    programs
    > > installed (usaully do), but did n't get any error message either
    > >
    > > [roottrevor trevor]# rpm -qa | grep kernel
    > > kernel-2.4.21.0.13mdk-1-1mdk
    > > [roottrevor trevor]#
    > >
    > > Both of these did not work before the download
    > >
    > > And when I look in the /boot folder ther are kernel, config files that
    were
    > > not there before
    > >
    > > So it still seems that I have to apply the patch
    > >
    > > So where do I start
    >
    > Ok, that is a heavily patched Mandrake kernel.
    > Get the file named "linux-2.4.22.tar.bz2" from the link below.
    > This is the official kernel release and won't need a patch.
    >
    > [url]ftp://ftp.kernel.org/pub/linux/kernel/v2.4[/url]
    >
    > It is about a 28MB download.
    >
    > Trying to patch the "kernel-2.4.21.0.13mdk-1-1mdk" Mandrake
    > kernel to the 2.4.22 kernel will most likely fail.
    >
    > --
    > Confucius: He who play in root, eventually kill tree.
    > Registered with The Linux Counter. [url]http://counter.li.org/[/url]
    > Slackware 9.0 Kernel 2.4.22 i686 (GCC) 3.3
    > Uptime: 1 day, 15:45, 1 user, load average: 1.01, 1.11, 1.17
    >


    Shazbot Guest

  14. #14

    Default Re: Kernel patch update

    On Thu, 28 Aug 2003 22:09:21 +0200, Shazbot <REMOVEMEcdmailcdmail.fr> wrote:
    >
    >
    > Okay have downloaded an installed the full kernel following instructions
    > given to me before with the post and the read me file
    >
    > Have now a 2422 ligne added to the boot sequence but when booting with this
    > I get the following error messages
    >

    Top-posting serves you badly, Shazbot.


    If you had taken the post your were responding to, and trimmed it down to
    a summary of what is going on, with <snip> or something to represent the
    deleted parts, then put your response UNDER it...

    Or, better yet, snipped the excess AND interspersed your comments under the
    relevent sections of the quoted part,....

    *then* A person just tuning in to the thread would know what was going on
    and your statements would make sense and they might be able to help you,
    having installed linux several times and built a dozen custom kernels.

    But since you seem to think that people are going to read a part of your
    response, then search throught the whole bottom section, over and over, or
    are going to search back through the thread to try and piece a picture of
    what is going on together....


    then you are probably mistaken.


    Good luck,


    Alan C



    Alan Connor Guest

  15. #15

    Default Re: Kernel patch update

    Hi Pete

    Tried that to no avail, still got the kernel warning without the hdc
    messages

    Have just finished the re install and in the next 5 minutes will update the
    kernel again

    Can you please be as kind as to give me some indication of how to configure
    the LILO after the reinstall and before I re boot it so that I do not get
    the same (kernel panic VFS unable to mount root fs on 16:01)

    Thanks

    "Peter T. Breuer" <ptboboe.it.uc3m.es> a écrit dans le message de
    news:lhplib.0bq.lnnews.it.uc3m.es...
    > Shazbot <REMOVEMEcdmailcdmail.fr> wrote:
    > > hdc1 bad acces
    > > EXT3-fs unable to read super block
    > > hdc 1 bad access
    > > hdc 1 bad access
    > > hdc 1 bad access
    > > hdc 1 bad access
    > > NTFS reading super block failed
    > > kernel panic VFS unable to mount root fs on 16:01
    >
    > > these messages are the same wether I chose the new boot all the old
    kernel
    > > or failsafe
    >
    > Then you know it is nothing to do with them.
    >
    > What makes you think hdc1 is your root partition?
    >
    > > and please note that on this machine I have two SATA drives which are
    not
    > > "seen" by the old kernel
    >
    > Then take them out, reboot, point the boot at your correct boot device
    with
    > root= ..., and get on with life.
    >
    > Peter

    Shazbot Guest

  16. #16

    Default Re: Kernel patch update

    Shazbot <REMOVEMEcdmailcdmail.fr> wrote:
    > Tried that to no avail, still got the kernel warning without the hdc
    Do not top post. Rearranging to make yourself comprehensible.

    Thanks
    > "Peter T. Breuer" <ptboboe.it.uc3m.es> a crit dans le message de news:lhplib.0bq.lnnews.it.uc3m.es...
    >> Shazbot <REMOVEMEcdmailcdmail.fr> wrote:
    >> > EXT3-fs unable to read super block
    >> > hdc 1 bad access
    [...]
    >> > NTFS reading super block failed
    >> > kernel panic VFS unable to mount root fs on 16:01
    >>
    >> > these messages are the same wether I chose the new boot all the old kernel
    >> > or failsafe
    >>
    >> Then you know it is nothing to do with them.
    >> What makes you think hdc1 is your root partition?
    > Have just finished the re install and in the next 5 minutes will update the
    > kernel again
    Don't do that! Just point the damn kernel at your root partition, as I
    said! Obviously hdc1 isn't it! Point the kernel at the right place.
    >> > and please note that on this machine I have two SATA drives which are not
    >> > "seen" by the old kernel
    >>
    >> Then take them out, reboot, point the boot at your correct boot device with
    >> root= ..., and get on with life.
    > Tried that to no avail, still got the kernel warning without the hdc
    No you didn't. And getting rid of "hdc.." was what you wanted to do.
    Now it works.
    > Can you please be as kind as to give me some indication of how to configure
    > the LILO after the reinstall and before I re boot it so that I do not get
    Why? I just told you what to do! Read it. Do it. Report.

    If you want to fix your lilo.conf too, just edit it and run /sbin/lilo.
    > the same (kernel panic VFS unable to mount root fs on 16:01)
    For the umpteenth time .. boot with root=whatever it is, if hdc1 isn't
    your root partition. There is no problem! Stop reinstalling!

    Of all the messups ...

    Peter
    Peter T. Breuer Guest

  17. #17

    Default Re: Kernel patch update

    Shazbot wrote:
    >
    > Tried that to no avail, still got the kernel warning without the hdc
    > messages
    >
    > Have just finished the re install and in the next 5 minutes will update the
    > kernel again
    >
    > Can you please be as kind as to give me some indication of how to configure
    > the LILO after the reinstall and before I re boot it so that I do not get
    > the same (kernel panic VFS unable to mount root fs on 16:01)
    After the kernel compile when you edit /etc/lilo.conf all that is
    needed is to add a section for you new kernel like this.
    #-------------
    image = /boot/vmlinuz-x.x.xx-x
    root = /dev/hda1
    label = Linux-y
    read-only
    #-------------
    The "x.x.xx-x" in the "image" line is the kernel version and
    EXTRAVERSION if you added one to the Makefile before compiling.

    In the "root" line be sure to use the correct partition.

    The "-y" in the "label" line can be anything you want to use to
    distinguish between the new kernel and the old one.

    Then be sure to run "lilo -v" and check for errors before
    rebooting into the new kernel.

    If your distro uses the "LABEL=" scheme in /etc/fstab you may
    want to change the "/" root partition back to the actual device
    before you reboot.
    Also if you are using the "ext3" filesystem you should also
    include support for "ext2" filesystem in the configuration of the
    kernel.

    --
    Confucius: He who play in root, eventually kill tree.
    Registered with The Linux Counter. [url]http://counter.li.org/[/url]
    Slackware 9.0 Kernel 2.4.22 i686 (GCC) 3.3
    Uptime: 3 days, 2:00, 1 user, load average: 1.10, 1.19, 1.18

    David Guest

Similar Threads

  1. Beware! Sun Kernel patch 105181-34 Solaris 2.6
    By telecon in forum Sun Solaris
    Replies: 8
    Last Post: July 29th, 02:12 PM
  2. Patch Cluster & Kernel Panics
    By Frank Batschulat in forum Sun Solaris
    Replies: 0
    Last Post: July 19th, 02:50 PM
  3. kernel-source versus kernel-patch
    By Ismael Valladolid Torres in forum Debian
    Replies: 1
    Last Post: July 14th, 06:20 PM
  4. Replies: 2
    Last Post: July 10th, 10:50 PM
  5. Replies: 15
    Last Post: July 3rd, 05:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139