Announcement

Collapse
No announcement yet.

[Bug filed] Serious boot problems

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Bug filed] Serious boot problems

    I am going to try to document the problems that I, and apparently a few others, are having in booting karmic. There do not appear to be any fixes for any of this coming down the update pipe, so I am hoping that someone a little more familiar with the guts of the bootup process than I am has some ideas where to start attacking this.

    Before listing the problems themselves, here are the relevant lines from /boot/grub/grub.cfg:

    Code:
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry "Ubuntu, Linux 2.6.31-15-generic" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
        set quiet=1
        insmod ext2
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set f46c4955-3e0a-4069-92ec-8c2b4655e481
        linux  /boot/vmlinuz-2.6.31-15-generic root=UUID=f46c4955-3e0a-4069-92ec-8c2b4655e481 ro
        initrd /boot/initrd.img-2.6.31-15-generic
    }
    menuentry "Ubuntu, Linux 2.6.31-15-generic (recovery mode)" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
        insmod ext2
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set f46c4955-3e0a-4069-92ec-8c2b4655e481
        linux  /boot/vmlinuz-2.6.31-15-generic root=UUID=f46c4955-3e0a-4069-92ec-8c2b4655e481 ro single
        initrd /boot/initrd.img-2.6.31-15-generic
    Note that there are no vga= or splash codes in these lines; I have removed all of that in trying to debug this.

    1. When trying to boot normally, a series of video error screens appear. The first one says it can't load fonts. Escaping out of that screen brings up the "Low Resolution" screen. Escaping or Canceling that screen goes back to the text screen, then a short while later, the boot screen appears. It appears that this problem is due to kdm starting before the video drivers actually load. I believe this is true because on my system, the fans on my video cards run at full speed until the driver (proprietary NVIDIA 190.42) loads. During the boot process, the fans are running at full speed during the error screens; after that, they slow down just before the login screen appears.

    2. Can't log in to the "rescue" mode. After starting rescue mode, the usual text runs up to the "looking for resume device" point. After that, the fsck stuff appears. Then the screen goes blank, and the two error screens about video mode come up! [That's not supposed to happen, the whole point of "rescue mode" is to run without X!] Clicking out of those screen brings up the rescue mode menu, which then gets immediately overwritten by other text. The "root@machinename" prompt appears, but after hitting Enter, the "Machinename Login:" prompt then appaears. It is impossible to use the console, because it seems to be alternating between the two prompts. Only functional option at this point is CTRL-ALT-DEL.

    3. My conclusion from all this is that when trying to log in, there are in fact two separate login processes running in parallel. One of them starts kdm before the video driver appears, and runs no matter whether one chooses normal login or rescue mode. This is the broken process, and may have something to do with comments I read about wanting to start kdm "earlier in the boot process" as a way of getting away from usplash.

    Note that this stuff all seems to be working in lucid, or at least in what is available of it in the repositories. There are other broken things. but bootup seems to go fast and correctly.

    This problem does not appear to be directly related to the kernel itself, because it occurs when trying to boot older kernels. This problem appeared shortly before the Karmic release date, and now affects older kernels released before then. So I'm guessing it's something in an init script somewhere, or upstart, or who-knows-what.

    I hope maybe someone can fill in the who-knows-what part, as I don't even know what to try to file a bug report on.

    Edit: One thing I forgot, it does not seem to be related to sreadahead, as the problems are both there whether sreadahead is installed or removed.

    We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

    #2
    Re: Serious boot problems

    Have you looked at these?

    https://bugs.launchpad.net/ubuntu/+s...ls/+bug/478727
    https://bugs.launchpad.net/ubuntu/+s...80/+bug/429003

    In one of the reports they suggest switching to the "nv" driver, have you tried this? If things work in that case, then it smells like a kernel mode-setting issue with NVIDIA cards, and not an upstart issue. Worth a try a guess...

    Comment


      #3
      Re: Serious boot problems

      Thanks for the info, but this does not appear to be an X problem per se. The video driver is not crashing. The problem appears to be that X is being started twice, once before the video driver loads, and once after (when it should be).

      I have noticed something else, which I think further supports this idea. In the text screen on CTRL-ALT-F1, I see the normal text after a boot. However, there is also another set of that text appearing on CTRL-ALT-F7 (F2 thru F6 are normal), and the graphics screen is now on CTRL-ALT-F8.

      If this is true, then I suspect it may be a security problem as well, as there should not be more than one graphical login process runnning.

      I'm going to do my best to try and figure out how/where to post this on launchpad.
      We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

      Comment


        #4
        Re: Serious boot problems

        That is just weird, DD. Don't you have a SLI installation there? Maybe (if it's not too crazy and hard) you could disconnect one of the Nvidia cards, and comment out the extra section of xorg.conf, and see if these problems persist with a single GPU. I'm suspicious that it has something to do with the two GPUs.

        Comment


          #5
          Re: Serious boot problems

          I'm suspicious that it has something to do with the two GPUs.
          Interesting. Will try and report back.
          We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

          Comment


            #6
            Re: Serious boot problems

            That is just weird, DD. Don't you have a SLI installation there? Maybe (if it's not too crazy and hard) you could disconnect one of the Nvidia cards, and comment out the extra section of xorg.conf, and see if these problems persist with a single GPU.
            No joy. Pulled the gpu1 card, and set up xorg.conf without the device or any references to SLI. Same problems.

            Further noticed that, the kdm that is crashing in on CTRL-ALT-F7, while the one that works is on CTRL-ALT-F8.

            Odd, this is all working properly, with no graphics errors, no second set of text, and normal graphics on CTRL-ALT-F7, on Lucid. I copied the karmic installation to another partition and upgraded it after these problems had started. I can't recommend going to lucid yet, as other things are broken, but that part of it seems to have "fixed itself".
            We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

            Comment


              #7
              Re: Serious boot problems

              Originally posted by doctordruidphd

              No joy. Pulled the gpu1 card, and set up xorg.conf without the device or any references to SLI. Same problems.

              Further noticed that, the kdm that is crashing in on CTRL-ALT-F7, while the one that works is on CTRL-ALT-F8.
              Huh. Wow -- I dunno, this is most unusual. I've been observing the various problems with installing new version releases since Kubuntu 6.10, and I don't think I have ever seen this one, or one like it. It's almost like there is some re-mapping of the keyboard or something going on. Linux only comes with 7 tty consoles as default, so something very fundamental is getting changed in your system, to add the eighth.

              Comment


                #8
                Re: Serious boot problems

                Yeah, it's not just me. There are three or four threads related to this problem. I did file a bug report on launchpad, and it's been assigned to kdebase-workspace. My guess is it's before kde gets into the picture, but maybe not. we'll see. I guess the test would be to copy to another partition, and substitute gdm for kdm. Tomorrow.

                We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

                Comment


                  #9
                  Re: Serious boot problems

                  These new 2.6.31 and 2.6.32 kernels are adding some major new capabilities -- boot sequence speed-ups/slim-downs, sysvinit/insserv, kernel mode settings, etc. etc., not to mention KDE4 improvements. I suppose some unintended consequences should not be too surprising -- I've escaped damage here, but I see some problems here and there on other systems.

                  Comment


                    #10
                    Re: Serious boot problems

                    I dont have your exact prob but after reading this I checked for a tty8 and low and behold it is thare?

                    tty8 dosent display a text login like the rest but insted is displaying what looks like the end of the boot display as if quiet splash was turned off at the point ware X would normaley start........and the curser just siting thare blinking.

                    tty7 is acting as nomall though!!....in other words it loads up the login screen and loads KDE as it should.
                    the rest of the tty's 1-6 act as normall

                    VINNY
                    i7 4core HT 8MB L3 2.9GHz
                    16GB RAM
                    Nvidia GTX 860M 4GB RAM 1152 cuda cores

                    Comment


                      #11
                      Re: Serious boot problems

                      Are you seeing the end-of-boot text on BOTH tty1 and tty8, or just tty8?
                      We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

                      Comment


                        #12
                        Re: Serious boot problems

                        I just did a reboot and now the end of the boot prosess is on tty1 and tty8 is no longer displaying eneything??

                        the reboot was done with quiet splash off to see if it ended with the same lines.

                        I half to go out for a few but when I get back I will do a normel boot and see if tty8 displays agin!

                        VINNY
                        i7 4core HT 8MB L3 2.9GHz
                        16GB RAM
                        Nvidia GTX 860M 4GB RAM 1152 cuda cores

                        Comment


                          #13
                          Re: Serious boot problems

                          OK so now I reboot with quiet splash and NOW tty1-6 are displaying the normall login and tty8 is showing what looks like the end of boot befor X.....BUT it's a diferent ending than tty1 was dislaying when booting with quiet splash off................with quiet splash off and the info displayed on tty1 it look's the same as what you see wile it's booting.

                          but with quiet splash on and the info displayed on tty8 it ends with fsck'ing starting some vboxdrive stuff and sound stuff.

                          strang and dont know if it helps you figur out whats hapening but just thought id give some info on that tty8 fanomamon as I'v never seen eneything on F8.

                          if you think the output of ether of those would help you I will try to copey by hand unless you know some way to screen captur them..........

                          VINNY
                          i7 4core HT 8MB L3 2.9GHz
                          16GB RAM
                          Nvidia GTX 860M 4GB RAM 1152 cuda cores

                          Comment


                            #14
                            Re: Serious boot problems

                            I'm getting basically the same thing, so no need to post it.
                            The important thing is that it looks like there are two separate login processes running, the usual one on tty1, and another one on tty7 that shouldn't be there.
                            I guess the only thing to do now is start going through /etc/init.d and etc/rc*.d and look for a bad script, by comparing with the working ones from lucid. What fun!
                            We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

                            Comment


                              #15
                              Re: Serious boot problems

                              let me just say though even thow I seam to have simaler login's gowing on it's not giving me eney trouble........I log in just fine and with no anomaley's about 30 seconds frome grub to login and anuthur 30 ore less to a fuley loaded desktop.

                              VINNY
                              i7 4core HT 8MB L3 2.9GHz
                              16GB RAM
                              Nvidia GTX 860M 4GB RAM 1152 cuda cores

                              Comment

                              Working...
                              X