Announcement

Collapse
No announcement yet.

Hardy stops during boot after KDM

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

    Hardy stops during boot after KDM

    Initializing system settings (I think that's the title.. second icon in) comes up but then there is a pause and then the screen goes blank....

    Kev

    #2
    Re: Hardy stops during boot after KDM

    Are you giving it plenty of time? HH seems to boot pretty slowly on my rig. You could turn off the "quiet" and "splash" options and see more of what's going on.

    Comment


      #3
      Re: Hardy stops during boot after KDM

      If you get the login screen, select your login session to be console and type in cd /etc/X11.

      then type in vim xorg.conf and scroll to the bottom. If it looks like this

      # xorg.conf (X.Org X Window System server configuration file)
      #
      # This file was generated by dexconf, the Debian X Configuration tool, using
      # values from the debconf database.
      #
      # Edit this file with caution, and see the xorg.conf manual page.
      # (Type "man xorg.conf" at the shell prompt.)
      #
      # This file is automatically updated on xserver-xorg package upgrades *only*
      # if it has not been modified since the last upgrade of the xserver-xorg
      # package.
      #
      # If you have edited this file but would like it to be automatically updated
      # again, run the following command:
      # sudo dpkg-reconfigure -phigh xserver-xorg

      Section "InputDevice"
      Identifier "Generic Keyboard"
      Driver "kbd"
      Option "XkbRules" "xorg"
      Option "XkbModel" "pc105"
      Option "XkbLayout" "us"
      EndSection

      Section "InputDevice"
      Identifier "Configured Mouse"
      Driver "mouse"
      EndSection

      Section "Device"
      Identifier "Configured Video Device"
      EndSection

      Section "Monitor"
      Identifier "Configured Monitor"
      EndSection

      Section "Screen"
      Identifier "Default Screen"
      Monitor "Configured Monitor"
      EndSection
      then xorg has failed to setup the display settings and you've got the same problem that I've got.

      No work around yet into fixing this problem.

      Comment


        #4
        Re: Hardy stops during boot after KDM

        Thanks iht!

        I'll check it out tonight. It'll be nice to know, even if there isn't a fix yet.

        Thanks!
        Kev

        Comment


          #5
          Re: Hardy stops during boot after KDM

          But Kev, didn't you get an Nvidia card? If so, and you installed the packaged driver "nvidia-glx-new", then you should use the included X configuration utility and overwrite that xorg.conf file with one configured for your card. In a Konsole window, or the CLI, do this

          Code:
          sudo nvidia-xconfig --add-argb-glx-visuals --composite
          Then immediately re-start the X server with Ctrl-Alt-Backspace, or reboot your computer if you want, so the new xorg.conf will be running your display. If you're not happy with the resolution that it picked, you can control that with the nvidia-settings utility. To permanently change the default screen resolution, do Alt-F2 "kdesu nvidia-settings", click the second item on the menu "X Display Configuration" or something like that, click "detect displays" then click the resolution button to set it as you wish -- click "apply" to make it change in real time. I recommend leaving refresh on "auto". If you're happy with what you see, click the "Save to X Configuration File" button in the lower right of the panel, and then "Save" and you've got it.

          Comment


            #6
            Re: Hardy stops during boot after KDM

            But X-Server doesn't even get up and running in the first place

            I can't get into KDE3 at all.. maybe I'm just not understanding. I'll try what you say after work. MAYBE at lunch.

            Kev

            Comment


              #7
              Re: Hardy stops during boot after KDM

              Originally posted by Bongo5HH
              But X-Server doesn't even get up and running in the first place

              That's OK -- you can run the nvidia-xconfigure routine from the command line, and it will still write you the xorg.conf file that you need.

              Then it sounds like you need to take "splash" out of the boot options on your boot menu.

              Comment


                #8
                Re: Hardy stops during boot after KDM

                It didn't work for me. I logged into console and did the nvidia-xconfig but it still won't boot into KDE3.

                Is there a log that gets generated that I could see the exact error that's happening?

                Kev

                Comment


                  #9
                  Re: Hardy stops during boot after KDM

                  Yes there is. I'm at a Win-crap machine at the moment, so this is from memory and may not be quite right.

                  /var/log/Xorg.0.log

                  I think your problem probably has to do with the resolution required to show the KDM splash screen -- that is a known source of trouble with Nvidia cards and drivers.

                  In the possible boot menu options are a variety of choices to deal with it -- "vga=xxx" where "xxx" can be a number of figures that let it show the splash. Alternatively if you remove the "splash" option that might do the trick.

                  One thing I have done is to boot in Recovery Mode, and when it stops at the first prompt, go ahead and give it Ctrl-D. It sometimes miraculously proceeds with running KDM, and lets you boot in to your desktop, and upon restarting you can boot normally and it lets you in. I think there are some settings in .kde that get written when you boot in that are related to this situation.

                  Comment


                    #10
                    Re: Hardy stops during boot after KDM

                    maybe we're talking about two different things.

                    The nvidia splash screen works fine, and I get to KDM I select KDE3 and it gets past the first two flashing icons. Then when it should be flashing the icon that looks like a printer KDM stops. It says "intiating system services" and then the screen goes black.

                    But everything works fine on the exact same install but loading KDE4 instead.

                    Is there another splashscreen you're talking about?

                    Kev

                    Comment


                      #11
                      Re: Hardy stops during boot after KDM

                      From what I've seen it's something to do with the xorg.conf file. when you first install kubuntu it looks like that quote that I posted. this seems to case the blank screen after login to the computer. Console from the KDM works fine and you can go into console or fail safe (you just see the console window and nothing else.) After installing that nvidia-glx-new

                      this is the Xorg.0.log file that it generates.
                      I get
                      This is a pre-release version of the X server from The X.Org Foundation.
                      It is not supported in any way.
                      Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
                      Select the "xorg" product for bugs you find in this release.
                      Before reporting bugs in pre-release versions please check the
                      latest version in the X.Org Foundation git repository.
                      See http://wiki.x.org/wiki/GitPage for git access instructions.

                      X.Org X Server 1.4.0.90
                      Release Date: 5 September 2007
                      X Protocol Version 11, Revision 0
                      Build Operating System: Linux Ubuntu (xorg-server 2:1.4.1~git20080131-1ubuntu1)
                      Current Operating System: Linux Hinagiku 2.6.24-3-generic #1 SMP Thu Jan 3 23:30:29 UTC 2008 i686
                      Build Date: 05 February 2008 05:50:57PM

                      Before reporting problems, check http://wiki.x.org
                      to make sure that you have the latest version.
                      Module Loader present
                      Markers: (--) probed, (**) from config file, (==) default setting,
                      (++) from command line, (!!) notice, (II) informational,
                      (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
                      (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 6 12:25:12 2008
                      (==) Using config file: "/etc/X11/xorg.conf"
                      (==) ServerLayout "Layout0"
                      (**) |-->Screen "Screen0" (0)
                      (**) | |-->Monitor "Monitor0"
                      (**) | |-->Device "Device0"
                      (**) |-->Input Device "Keyboard0"
                      (**) |-->Input Device "Mouse0"
                      (==) Automatically adding devices
                      (==) Automatically enabling devices
                      (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
                      Entry deleted from font path.
                      (WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType".
                      Entry deleted from font path.
                      (Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType").
                      (==) FontPath set to:
                      /usr/share/fonts/X11/misc,
                      /usr/share/fonts/X11/100dpi/:unscaled,
                      /usr/share/fonts/X11/75dpi/:unscaled,
                      /usr/share/fonts/X11/Type1,
                      /usr/share/fonts/X11/100dpi,
                      /usr/share/fonts/X11/75dpi
                      (**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
                      (==) ModulePath set to "/usr/lib/xorg/modules"
                      (**) Extension "Composite" is enabled
                      (II) Open ACPI successful (/var/run/acpid.socket)
                      (II) Loader magic: 0x81dcd20
                      (II) Module ABI versions:
                      X.Org ANSI C Emulation: 0.3
                      X.Org Video Driver: 2.0
                      X.Org XInput driver : 2.0
                      X.Org Server Extension : 0.3
                      X.Org Font Renderer : 0.5
                      (II) Loader running on linux
                      (II) LoadModule: "pcidata"
                      (II) Loading /usr/lib/xorg/modules//libpcidata.so
                      (II) Module pcidata: vendor="X.Org Foundation"
                      compiled for 1.4.0.90, module version = 1.0.0
                      ABI class: X.Org Video Driver, version 2.0
                      (--) using VT number 9

                      (II) PCI: PCI scan (all values are in hex)
                      (II) PCI: 00:00:0: chip 8086,2a00 card 1028,01f1 rev 0c class 06,00,00 hdr 00
                      (II) PCI: 00:01:0: chip 8086,2a01 card 0000,0000 rev 0c class 06,04,00 hdr 01
                      (II) PCI: 00:1a:0: chip 8086,2834 card 1028,01f1 rev 02 class 0c,03,00 hdr 80
                      (II) PCI: 00:1a:1: chip 8086,2835 card 1028,01f1 rev 02 class 0c,03,00 hdr 00
                      (II) PCI: 00:1a:7: chip 8086,283a card 1028,01f1 rev 02 class 0c,03,20 hdr 00
                      (II) PCI: 00:1b:0: chip 8086,284b card 1028,01f1 rev 02 class 04,03,00 hdr 00
                      (II) PCI: 00:1c:0: chip 8086,283f card 0000,0000 rev 02 class 06,04,00 hdr 81
                      (II) PCI: 00:1c:1: chip 8086,2841 card 0000,0000 rev 02 class 06,04,00 hdr 81
                      (II) PCI: 00:1c:3: chip 8086,2845 card 0000,0000 rev 02 class 06,04,00 hdr 81
                      (II) PCI: 00:1d:0: chip 8086,2830 card 1028,01f1 rev 02 class 0c,03,00 hdr 80
                      (II) PCI: 00:1d:1: chip 8086,2831 card 1028,01f1 rev 02 class 0c,03,00 hdr 00
                      (II) PCI: 00:1d:2: chip 8086,2832 card 1028,01f1 rev 02 class 0c,03,00 hdr 00
                      (II) PCI: 00:1d:7: chip 8086,2836 card 1028,01f1 rev 02 class 0c,03,20 hdr 00
                      (II) PCI: 00:1e:0: chip 8086,2448 card 0000,0000 rev f2 class 06,04,01 hdr 01
                      (II) PCI: 00:1f:0: chip 8086,2815 card 1028,01f1 rev 02 class 06,01,00 hdr 80
                      (II) PCI: 00:1f:1: chip 8086,2850 card 1028,01f1 rev 02 class 01,01,8a hdr 00
                      (II) PCI: 00:1f:2: chip 8086,2829 card 1028,01f1 rev 02 class 01,06,01 hdr 00
                      (II) PCI: 00:1f:3: chip 8086,283e card 1028,01f1 rev 02 class 0c,05,00 hdr 00
                      (II) PCI: 01:00:0: chip 10de,0407 card 1028,01f1 rev a1 class 03,00,00 hdr 00
                      (II) PCI: 03:00:0: chip 14e4,170c card 1028,01f1 rev 02 class 02,00,00 hdr 00
                      (II) PCI: 03:01:0: chip 1180,0832 card 1028,01f1 rev 05 class 0c,00,10 hdr 80
                      (II) PCI: 03:01:1: chip 1180,0822 card 1028,01f1 rev 22 class 08,05,01 hdr 80
                      (II) PCI: 03:01:2: chip 1180,0592 card 1028,01f1 rev 12 class 08,80,00 hdr 80
                      (II) PCI: 03:01:3: chip 1180,0852 card 1028,01f1 rev 12 class 08,80,00 hdr 80
                      (II) PCI: 0c:00:0: chip 8086,4222 card 8086,1020 rev 02 class 02,80,00 hdr 00
                      (II) PCI: End of PCI scan
                      (II) Intel Bridge workaround enabled
                      (II) Host-to-PCI bridge:
                      (II) Bus 0: bridge is at (0:0:0), (0,0,13), BCTRL: 0x0008 (VGA_EN is set)
                      (II) Bus 0 I/O range:
                      [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
                      (II) Bus 0 non-prefetchable memory range:
                      [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
                      (II) Bus 0 prefetchable memory range:
                      [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
                      . . .
                      It's about an 8 page monster this log file.

                      Comment


                        #12
                        Re: Hardy stops during boot after KDM

                        I am having a similar issue. it is just that I get a flashing screen at that point. I do have an nvidia 8800 card, it worked fine with the live cd, but not after I installed it. I cannot even get to a login screen.

                        Comment


                          #13
                          Re: Hardy stops during boot after KDM

                          Originally posted by Bongo5HH

                          The nvidia splash screen works fine, and I get to KDM I select KDE3 and it gets past the first two flashing icons. Then when it should be flashing the icon that looks like a printer KDM stops. It says "initiating system services" and then the screen goes black.

                          Hmmmmmmmmmmmmmmmmmmmmm! No, that is a different stage of "breakdown" than I have seen before.

                          Well, the screen going black suggests a video-related issue, but I would have thought it was finished processing xorg.conf by that point. Also, iht's log does not show any error -- that's also consistent with it being something going haywire AFTER the xorg.conf file is processed. I wonder if it could be some power-saving or memory management thing that's being loaded.

                          I dunno .... this a new one.

                          I'll post my working (knock on wood) xorg.conf, just so you can see how it compares to yours.

                          Code:
                          # nvidia-settings: X configuration file generated by nvidia-settings
                          # nvidia-settings: version 1.0 (buildmeister@builder26) Fri Jan 11 14:27:25 PST 2008
                          
                          # nvidia-xconfig: X configuration file generated by nvidia-xconfig
                          # nvidia-xconfig: version 1.0 (buildmeister@builder26) Fri Jan 11 14:26:48 PST 2008
                          
                          Section "ServerLayout"
                            Identifier   "Layout0"
                            Screen   0 "Screen0" 0 0
                            InputDevice  "Keyboard0" "CoreKeyboard"
                            InputDevice  "Mouse0" "CorePointer"
                          EndSection
                          
                          Section "Files"
                            RgbPath     "/usr/X11R6/lib/X11/rgb"
                          EndSection
                          
                          Section "Module"
                            Load      "dbe"
                            Load      "extmod"
                            Load      "type1"
                            Load      "freetype"
                            Load      "glx"
                          EndSection
                          
                          Section "ServerFlags"
                            Option     "Xinerama" "0"
                          EndSection
                          
                          Section "InputDevice"
                          
                            # generated from default
                            Identifier   "Mouse0"
                            Driver     "mouse"
                            Option     "Protocol" "auto"
                            Option     "Device" "/dev/psaux"
                            Option     "Emulate3Buttons" "no"
                            Option     "ZAxisMapping" "4 5"
                          EndSection
                          
                          Section "InputDevice"
                          
                            # generated from default
                            Identifier   "Keyboard0"
                            Driver     "kbd"
                          EndSection
                          
                          Section "Monitor"
                            Identifier   "Monitor0"
                            VendorName   "Unknown"
                            ModelName   "Samsung SyncMaster"
                            HorizSync    30.0 - 130.0
                            VertRefresh   50.0 - 160.0
                            Option     "DPMS"
                          EndSection
                          
                          Section "Device"
                            Identifier   "Videocard0"
                            Driver     "nvidia"
                            VendorName   "NVIDIA Corporation"
                            BoardName   "GeForce 8800 GTS"
                          EndSection
                          
                          Section "Screen"
                            Identifier   "Screen0"
                            Device     "Videocard0"
                            Monitor    "Monitor0"
                            DefaultDepth  24
                            Option     "AddARGBGLXVisuals" "True"
                            Option     "TwinView" "0"
                            Option     "metamodes" "1600x1200 +0+0"
                            SubSection   "Display"
                              Depth    24
                            EndSubSection
                          EndSection
                          
                          Section "Extensions"
                            Option     "Composite" "Enable"
                          EndSection

                          Comment


                            #14
                            Re: Hardy stops during boot after KDM

                            Here's mine

                            # nvidia-xconfig: X configuration file generated by nvidia-xconfig
                            # nvidia-xconfig: version 1.0 (buildmeister@builder3) Fri Jan 11 15:05:59 PST 2008

                            # xorg.conf (xorg X Window System server configuration file)
                            #
                            # This file was generated by dexconf, the Debian X Configuration tool, using
                            # values from the debconf database.
                            #
                            # Edit this file with caution, and see the xorg.conf manual page.
                            # (Type "man xorg.conf" at the shell prompt.)
                            #
                            # This file is automatically updated on xserver-xorg package upgrades *only*
                            # if it has not been modified since the last upgrade of the xserver-xorg
                            # package.
                            #
                            # If you have edited this file but would like it to be automatically updated
                            # again, run the following command:
                            # sudo dpkg-reconfigure -phigh xserver-xorg

                            Section "ServerLayout"

                            # Uncomment if you have a wacom tablet
                            # InputDevice "stylus" "SendCoreEvents"
                            # InputDevice "cursor" "SendCoreEvents"
                            # InputDevice "eraser" "SendCoreEvents"
                            Identifier "Default Layout"
                            Screen 0 "Default Screen" 0 0
                            InputDevice "Generic Keyboard"
                            InputDevice "Configured Mouse"
                            EndSection

                            Section "Files"
                            EndSection

                            Section "Module"
                            Load "glx"
                            Load "v4l"
                            EndSection

                            Section "InputDevice"
                            Identifier "Generic Keyboard"
                            Driver "kbd"
                            Option "CoreKeyboard"
                            Option "XkbRules" "xorg"
                            Option "XkbModel" "pc105"
                            Option "XkbLayout" "us"
                            EndSection

                            Section "InputDevice"
                            Identifier "Configured Mouse"
                            Driver "mouse"
                            Option "CorePointer"
                            Option "Device" "/dev/input/mice"
                            Option "Protocol" "ImPS/2"
                            Option "ZAxisMapping" "4 5"
                            Option "Emulate3Buttons" "true"
                            EndSection

                            Section "InputDevice"
                            Identifier "stylus"
                            Driver "wacom"
                            Option "Device" "/dev/input/wacom"
                            Option "Type" "stylus"
                            Option "ForceDevice" "ISDV4"# Tablet PC ONLY
                            EndSection

                            Section "InputDevice"
                            Identifier "eraser"
                            Driver "wacom"
                            Option "Device" "/dev/input/wacom"
                            Option "Type" "eraser"
                            Option "ForceDevice" "ISDV4"# Tablet PC ONLY
                            EndSection

                            Section "InputDevice"
                            Identifier "cursor"
                            Driver "wacom"
                            Option "Device" "/dev/input/wacom"
                            Option "Type" "cursor"
                            Option "ForceDevice" "ISDV4"# Tablet PC ONLY
                            EndSection

                            Section "Monitor"
                            Identifier "Generic Monitor"
                            ModelName "Custom 1"
                            Gamma 1
                            ModeLine "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
                            ModeLine "640x480@72" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
                            ModeLine "640x480@75" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
                            ModeLine "640x480@85" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
                            ModeLine "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
                            ModeLine "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
                            ModeLine "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
                            ModeLine "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
                            ModeLine "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
                            ModeLine "832x624@75" 57.3 832 864 928 1152 624 625 628 667 -hsync -vsync
                            ModeLine "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
                            ModeLine "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
                            ModeLine "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
                            ModeLine "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
                            ModeLine "1024x768@43" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync +vsync interlace
                            ModeLine "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
                            ModeLine "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
                            ModeLine "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
                            ModeLine "1400x1050@60" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
                            EndSection

                            Section "Device"
                            Identifier "nVidia Corporation G80 [GeForce 8600 GT]"
                            Driver "nvidia"
                            VendorName "NVIDIA"
                            BoardName "NVIDIA GeForce 8 Series"
                            Screen 0
                            EndSection

                            Section "Screen"
                            Identifier "Default Screen"
                            Device "nVidia Corporation G80 [GeForce 8600 GT]"
                            Monitor "Generic Monitor"
                            DefaultDepth 24
                            SubSection "Display"
                            Virtual 1400 1050
                            Depth 24
                            Modes "1280x1024@60" "1400x1050@60" "1280x960@60" "1152x864@75" "1024x768@43" "1024x768@60" "1024x768@70" "1024x768@75" "1024x768@85" "832x624@75" "800x600@60" "800x600@85" "800x600@75" "800x600@72" "800x600@56" "640x480@85" "640x480@75" "640x480@72" "640x480@60"
                            EndSubSection
                            EndSection
                            Doesn't KDE4 and KDE3 both use this file? If so then why would KDE4 work but not KDE3?

                            Kev

                            Comment


                              #15
                              Re: Hardy stops during boot after KDM

                              Originally posted by Bongo5HH

                              Doesn't KDE4 and KDE3 both use this file? If so then why would KDE4 work but not KDE3?
                              That's one interesting question -- another one is "Why does the Nvidia driver recognize the model of my card, but yours is just a "GeForce 8 Series" card?

                              I don't think I've ever seen such a short list in the "Modules" section of an xorg.conf as yours. If you are in the mood to experiment, and making sure you keep your backup copy of the one you have now, why don't you paste in the module section from mine, and restart X, and see what happens? Worst case, you'll have to back out the changes.

                              Comment

                              Working...
                              X