Re: Problem moving to 2.6.12

From: Gene Heskett (gene.heskett_at_verizon.net)
Date: 09/28/05

  • Next message: Kevin B. McCarty: "Re: Downgrading a system to a particular distribution"
    Date: Wed, 28 Sep 2005 10:08:06 -0400
    To: debian-user@lists.debian.org
    
    

    On Wednesday 28 September 2005 05:27, David Goodenough wrote:
    >I have an elderly machine which I use as a sacrificial machine and
    > update every morning to the latest unstable. That way I know when
    it
    > is sensible to update other machines.
    >
    >But I have a problem updating it to 2.6.12. It has been running
    2.6.11
    > for a while, quite happily. But I wanted to move to 2.6.12 so I
    > installed the new kernel package and tried to boot it.
    >
    >I can not see the early messages (there were some and what I saw of
    them
    >as they wizzed past on the screen looked OK), but it ends up
    complaining
    >that modprobe could not find /lib/modules/2.6.12-1-396/modules.dep
    which
    >is a file that I know exists and looks correct (its not zero length
    or
    > the like). Then it says "pivot_root: No such file or directory" and
    at
    > /sbin/init 432: cannot open dev/console: No such file.
    >
    >The disk it is booting (the same one as for 2.6.11) is a SCSI device,
    > /dev/sdb and it is driven by an Adaptec AHA-2940. So I suppose it
    is
    > possible that support for this device has not been built into the
    > kernel or that it has not been included in the initrd. The other
    thing
    > about this machine is that it is an MCA machine. Now the MCA stuff
    on
    > this machine has not worked for a long time (linux does not seem
    able
    > to get the card IDs) but there are no MCA cards installed, they are
    all
    > PCI, including the Adaptec card.
    >
    >Given that it does not seem able to find the hard drive of course
    none
    >of the console has been written to disk. I suppose I might be able
    to
    >persuade it to write to a serial port and record it using minicom.
    >
    >Any ideas as to how to debug this?
    >
    >David

    No. What I'd do is make sure all the -devel stuff is installed, and
    build your own kernel. I long ago, committed most of that detail
    work to a couple of scripts that get edited regularly to keep the
    version numbers compliant to what I'm building. One grabs the old
    .config and makeit files from the previous version, hides it, unpacks
    the newer one, applies any patches, restores the .config & makeit
    files, runs a make oldconfig which incorporates all your special
    options into the new .config, and asks you questions about any
    changed/new options.

    Then I run a make xconfig to double check, edit the copy of makit
    (my 2nd script) to fix the version to match the Makefiles version &
    then run that script which does the compile and install stuff.
    A couple of sips of coffee later I can edit grub.conf (may be
    menu.lst on some distros) to add the new kernel and initrd & reboot.
    20 minutes if I get distracted, 2.8G athlon XP here.

    Then you know you have a kernel that matches your hardware.
    And currently running 2.6.14-rc2, uptime 7d 15:42.
    And I'm not exactly a youngster, I'll be 71 next week.

    -- 
    Cheers, Gene
    "There are four boxes to be used in defense of liberty:
     soap, ballot, jury, and ammo. Please use in that order."
    -Ed Howdershelt (Author)
    99.35% setiathome rank, not too shabby for a WV hillbilly
    Yahoo.com and AOL/TW attorneys please note, additions to the above
    message by Gene Heskett are:
    Copyright 2005 by Maurice Eugene Heskett, all rights reserved.
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Kevin B. McCarty: "Re: Downgrading a system to a particular distribution"

    Relevant Pages

    • Re: Simple script that locks up my box with recent kernels
      ... I've been using the this very simple script for a while to do test ... builds of the kernel: ... cp .config config.$ ... compiler output and time are recorded into the destination ...
      (Linux-Kernel)
    • rebuild problems
      ... just recompile the kernel ... ... actually install config, which meant I had to actually install libc .. ... Do I need to install gcc? ...
      (freebsd-questions)
    • Re: Alternate to Peak or ProTools
      ... > 1.1 Install Mac OS X ... One for OS X and another one for Linux. ... > the fourth is the kernel from Orion Buckminster Montoya, ... It's CONFIG BLK DEV IDE PMAC in kernel config". ...
      (comp.os.linux.misc)
    • Re: Alternate to Peak or ProTools
      ... > 1.1 Install Mac OS X ... One for OS X and another one for Linux. ... > the fourth is the kernel from Orion Buckminster Montoya, ... It's CONFIG BLK DEV IDE PMAC in kernel config". ...
      (alt.os.linux.suse)
    • Redhat 9 with 2.6 Kernel Upgrade from Source
      ... There may be some people interested in programming [Pipes, FIFO's, ... under the Linux 2.6 kernel and/or comparing their programs against the 2.4 ... Install and configure the kernel. ... Assuming you copied the appropriate kernel-2.4 config to .config, ...
      (comp.unix.programmer)