Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Segmentation fault?

  1. #1
    Join Date
    Oct 2011
    Location
    Canada
    Beans
    891
    Distro
    Ubuntu 12.04 Precise Pangolin

    Exclamation Segmentation fault?

    Hey guys, today I tried to update a ubuntu server I have running at home for testing purposes. It is an older (non-pae) machine running 32bit 12.04 LTS but it failed to update with the errors below. Now it won't even boot to Ubuntu so I will likely have to reinstall it. What went wrong? Did it try to install a PAE kernal even though it is not supported? Before starting the update, it did correctly say several *PAE packages were being ignored...

    613websites.com Budget Canadian Web Design and Hosting

  2. #2
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    7,455
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Segmentation fault?

    Your screen shot is showing that grub found pae kernel images. Post the output of:

    Code:
    ls -la /boot
    I think your suspicion is correct, the update loaded a pae kernel, and if your processor can't handle it, then nothing will work.

    You should be able to boot into a previous kernel. Do you have them listed in grub when you boot up?
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  3. #3
    Join Date
    Oct 2011
    Location
    Canada
    Beans
    891
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Segmentation fault?

    I can't even access it because it is a remote machine I don't have access to if it won't boot...So it is literally easier for me to reinstall Ubuntu.

    Now, how can I prevent this happening again? As in, make SURE it is ignoring the *PAE packages when updating
    613websites.com Budget Canadian Web Design and Hosting

  4. #4
    Join Date
    Oct 2011
    Location
    Canada
    Beans
    891
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Segmentation fault?

    Anybody? This doesn't even have to be server related....Basically, you have a non-pae 12.04 LTS system you want to update. How do you get it to COMPLETELY ignore ALL *pae packages?
    613websites.com Budget Canadian Web Design and Hosting

  5. #5
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    7,455
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Segmentation fault?

    I don't think there is a way to do it, without pinning your current kernel version. That means that your kernel won't get security updates that you expect. I was under the impression that Ubuntu dropped support for non-PAE architecture, so loading non-PAE kernels is a "roll-your-own" activity. That also means unsupported. Several smart and kind folks have built non-PAE kernels and instructions on how to load them, but I wouldn't expect many updates going foreward.

    If you really need updates, then you will have to create a build environment for your non-PAE machine, download the source code for the latest 12.04 kernel and build it with the appropriate non-PAE switches enabled during kernel configuration. If you do this every 6 months, you are looking at a few hours of compile time twice a year. I would look for a PAE machine myself--there are lots of cheap Dell PowerEdge servers available. You will have to weigh the agony units of each method.

    The upside is you will get experience with compiling kernels--a useful skill that ranks up there with changing main engine bearings and rewiring a house. Something that you don't perform often, but it takes time, patience, and will cause eyes to glaze over when you try to describe it.
    Last edited by tgalati4; March 14th, 2013 at 06:10 PM.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  6. #6
    Join Date
    Oct 2011
    Location
    Canada
    Beans
    891
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Segmentation fault?

    Thanks for the reply. So how would I pin a kernel (as in get apt-get to ignore ALL kernel updates)? Any potential issues with that in terms of software compatibility/stability?

    Apart from the security risks involved with running an older kernel...
    613websites.com Budget Canadian Web Design and Hosting

  7. #7
    Join Date
    Feb 2013
    Beans
    Hidden!

  8. #8
    Join Date
    Apr 2012
    Beans
    4,596

    Re: Segmentation fault?

    isn't all the 'Input/output error' and 'Read-only filesystem' stuff strange? is there something else going on here that's preventing the proper update (disk failure?) or are those consequences of the possible kernel mismatch?

  9. #9
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: Segmentation fault?

    @steeldriver Good call. Somehow I've forgotten that this thread's name is Segmentation fault. I think any consequences of the kernel mismatch would be seen only on reboot. Until then the old kernel is still in charge of the system.

  10. #10
    Join Date
    Oct 2011
    Location
    Canada
    Beans
    891
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Segmentation fault?

    So wait. Let's say I was doing the update and it DID pickup the PAE kernels....Would I not see a problem until I reboot the system? Aka, the installation of PAE kernels would complete successfully on non PAE machines because the old kernel was still the one in use? Of course you'd see the problem when you reboot the machine though because it would use the latest kernel....
    613websites.com Budget Canadian Web Design and Hosting

Page 1 of 2 12 LastLast

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
  •