Announcement

Collapse
No announcement yet.

[SOLVED] Natty very slow to boot

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

    [SOLVED] Natty very slow to boot

    Hello, me again

    It's taking forever for Natty to boot - I'm wondering if something is wrong somewhere.

    Last couple of lines in dmesg are as follows:

    Code:
    [ 119.307732] hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
    [ 279.672867] exe (1887): /proc/1887/oom_adj is deprecated, please use /proc/1887/oom_score_adj instead.
    280 seconds is a *long* time to take starting up.

    I'm seeing some of these as well:

    Code:
    spadge@Venus:~$ dmesg | grep -i 'ata4'
    [  2.065528] ata4: SATA max UDMA/133 abar m1024@0xfe02f000 port 0xfe02f180 irq 22
    [  2.610044] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    [  2.611679] ata4.00: ATAPI: TSSTcorp CDDVDW SH-S223C, SB05, max MWDMA2
    [  3.413170] ata4.00: configured for PIO4
    [  35.000034] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
    [  35.000038] ata4.00: failed command: IDENTIFY PACKET DEVICE
    [  35.000043] ata4.00: cmd a1/00:01:00:00:00/00:00:00:00:00/00 tag 0 pio 512 in
    [  35.000046] ata4.00: status: { DRDY }
    [  35.000051] ata4: hard resetting link
    [  35.550037] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    [  36.352253] ata4.00: configured for PIO4
    [  37.152989] ata4: EH complete
    [  68.080042] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
    [  68.080047] ata4.00: failed command: IDENTIFY PACKET DEVICE
    [  68.080052] ata4.00: cmd a1/00:01:00:00:00/00:00:00:00:00/00 tag 0 pio 512 in
    [  68.080055] ata4.00: status: { DRDY }
    [  68.080059] ata4: hard resetting link
    [  68.630038] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    [  69.432447] ata4.00: configured for PIO4
    [  70.233037] ata4: EH complete
    [  88.030056] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
    [  88.030060] ata4.00: failed command: IDENTIFY PACKET DEVICE
    [  88.030065] ata4.00: cmd a1/00:01:00:00:00/00:00:00:00:00/00 tag 0 pio 512 in
    [  88.030069] ata4.00: status: { DRDY }
    [  88.030072] ata4: hard resetting link
    [  88.580038] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    [  89.382226] ata4.00: configured for PIO4
    [  90.200056] ata4: EH complete
    Any ideas what could be taking it so long?
    --
    Intocabile

    #2
    Re: Natty very slow to boot

    I hate to say "dodgy hard disk drive", but that's what it looks like. After you e2fsck it, can you run smartmontools on it?

    Comment


      #3
      Re: Natty very slow to boot

      It's a DVDRW drive.

      [ 2.611679] ata4.00: ATAPI: TSSTcorp CDDVDW SH-S223C, SB05, max MWDMA2
      --
      Intocabile

      Comment


        #4
        Re: Natty very slow to boot

        Puhhhhhhhh!

        Well, what is the official Ubuntu boot time specification for booting the OS from a DVD-RW?


        Hint: I amazed that it finishes booting at all.

        Comment


          #5
          Re: Natty very slow to boot

          Originally posted by dibl
          Puhhhhhhhh!

          Well, what is the official Ubuntu boot time specification for booting the OS from a DVD-RW?


          Hint: I amazed that it finishes booting at all.
          I have to agree. If you're booting from a DVD drive it'll take a while. Booting a live cd on my computer takes about 5-10 mins. Whereas booting of my HDD takes about 1-5 seconds.

          Comment


            #6
            Re: Natty very slow to boot

            Erm. I'm not booting from a DVD. I'm dual-booting Windows 7 (for games) and Kubuntu 11.04 (for everything else) from a couple of SATA HDDs.

            The DVD drive is throwing up problems in dmesg that I was never aware of it doing in Maverick. It may have, but I don't recall ever looking for it as the system would boot up pretty quickly. It's only when I upgraded to Natty that the slowness started and I noticed the errors messages.

            I've done a fresh install from CD today and am still experiencing the same boot slowness. It seems less slow than previously, but it's still pausing twice for 30 seconds or so each time before throwing up the error between the last thing (CDROM attached to SCSI) and the next thing (lp driver).

            I'm guessing it's a driver issue.
            --
            Intocabile

            Comment


              #7
              Re: Natty very slow to boot

              I have the same problem with the same DVD. TSSTcorp CDDVDW SH-S223C

              Google says that problem in udev and I need to downgrade it to 165 or 164.
              Does anyone has any ideas how to fix this problem?

              Comment


                #8
                Re: Natty very slow to boot

                SOLUTION!!!
                in
                Code:
                /lib/udev/rules.d/60-persistent-storage.rules
                comment rule
                Code:
                # ATA/ATAPI devices (SPC-3 or later) using the "scsi" subsystem
                KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}!="?*", \ SUBSYSTEMS=="scsi", ATTRS{type}=="5", ATTRS{scsi_level}"[6-9]*", \ IMPORT{program}="ata_id --export $tempnode"
                then run as root
                Code:
                update-initramfs -u
                reboot, and check your booting time

                Comment


                  #9
                  Re: Natty very slow to boot

                  Originally posted by ferma
                  SOLUTION!!!
                  YES!!!!!1

                  Originally posted by ferma
                  reboot, and check your booting time
                  36 seconds of dmesg

                  Thanks FermA, you are a star.
                  --
                  Intocabile

                  Comment


                    #10
                    Re: [SOLVED] Natty very slow to boot

                    @Spadge, I must apologize. I thought you were booting Kubuntu from a DVD-RW -- I didn't realize it was booting from the hard drive and hanging on the optical drive. Sorry.

                    Very glad to see the problem solved, however!

                    Comment


                      #11
                      Re: [SOLVED] Natty very slow to boot

                      No worries.

                      All's well that ends well
                      --
                      Intocabile

                      Comment


                        #12
                        Re: [SOLVED] Natty very slow to boot

                        Addendum:

                        I also added in msi=1 to the hda-intel options in the als configs.

                        The whole system has become much more responsive, takes 30 seconds from grub to desktop.
                        --
                        Intocabile

                        Comment

                        Working...
                        X