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

Thread: boot crash, the fix acpi=off turns off battery stats and suspend features.

  1. #1
    Join Date
    Jun 2008
    Beans
    74

    boot crash at splash screen, a memtest86 run "solves" the problem

    Hello

    I am running Hardy on my Lenovo laptop. When i turn my computer ON, when the splash screen comes, there is usually a sudden outburst of fan speed, and then the computer powers OFF. I have to keep repeating this to finally get my laptop to boot.
    Also, if i keep my laptop on SUSPEND for a long time, like more than an hour, when i open the lid, there is this CPU fan activity and the computer powers OFF suddenly.

    After some searching, I came across this fix, where if i turn my acpi=off in /boot/grub/menu.lst, i can boot normally.

    Here is my original /boot/grub/menu.lst
    Code:
    # menu.lst - See: grub(8), info grub, update-grub(8)
    #            grub-install(8), grub-floppy(8),
    #            grub-md5-crypt, /usr/share/doc/grub
    #            and /usr/share/doc/grub-doc/.
    
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default		0
    
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout		3
    
    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    hiddenmenu
    
    # Pretty colours
    #color cyan/blue white/blue
    
    #A splash image for the menu
    #splashimage=(hd0,1)/boot/grub/splashimages/celtics.xpm.gz
    
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line)  and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    ## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    
    #
    # examples
    #
    # title		Windows 95/98/NT/2000
    # root		(hd0,0)
    # makeactive
    # chainloader	+1
    #
    # title		Linux
    # root		(hd0,1)
    # kernel	/vmlinuz root=/dev/hda2 ro
    #
    
    #
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
    
    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below
    
    ## DO NOT UNCOMMENT THEM, Just edit them to your needs
    
    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ##      kopt_2_6_8=root=/dev/hdc1 ro
    ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro
    
    ## Setup crashdump menu entries
    ## e.g. crashdump=1
    # crashdump=0
    
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,1)
    
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ##      alternative=false
    # alternative=true
    
    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ##      lockalternative=false
    # lockalternative=false
    
    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=vga=792 quiet splash
    
    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ##      lockold=true
    # lockold=false
    
    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=
    
    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0
    
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ##      altoptions=(recovery) single
    # altoptions=(recovery mode) single
    
    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ##      howmany=7
    # howmany=all
    
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ##      memtest86=false
    # memtest86=true
    
    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false
    
    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false
    
    ## ## End Default Options ##
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-26-generic
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-26-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro vga=792 quiet splash
    initrd		/boot/initrd.img-2.6.24-26-generic
    quiet
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-26-generic (recovery mode)
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-26-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro single
    initrd		/boot/initrd.img-2.6.24-26-generic
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-25-generic
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-25-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro vga=792 quiet splash
    initrd		/boot/initrd.img-2.6.24-25-generic
    quiet
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-25-generic (recovery mode)
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-25-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro single
    initrd		/boot/initrd.img-2.6.24-25-generic
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-24-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro vga=792 quiet splash
    initrd		/boot/initrd.img-2.6.24-24-generic
    quiet
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic (recovery mode)
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-24-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro single
    initrd		/boot/initrd.img-2.6.24-24-generic
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-23-generic
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-23-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro vga=792 quiet splash
    initrd		/boot/initrd.img-2.6.24-23-generic
    quiet
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-23-generic (recovery mode)
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-23-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro single
    initrd		/boot/initrd.img-2.6.24-23-generic
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-16-generic
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro vga=792 quiet splash
    initrd		/boot/initrd.img-2.6.24-16-generic
    quiet
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-16-generic (recovery mode)
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro single
    initrd		/boot/initrd.img-2.6.24-16-generic
    
    title		Ubuntu 8.04.3 LTS, memtest86+
    root		(hd0,1)
    kernel		/boot/memtest86+.bin
    quiet
    
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    And here is it AFTER i've added acpi=off,

    Code:
    # menu.lst - See: grub(8), info grub, update-grub(8)
    #            grub-install(8), grub-floppy(8),
    #            grub-md5-crypt, /usr/share/doc/grub
    #            and /usr/share/doc/grub-doc/.
    
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default		0
    
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout		3
    
    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    hiddenmenu
    
    # Pretty colours
    #color cyan/blue white/blue
    
    #A splash image for the menu
    #splashimage=(hd0,1)/boot/grub/splashimages/celtics.xpm.gz
    
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line)  and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    ## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    
    #
    # examples
    #
    # title		Windows 95/98/NT/2000
    # root		(hd0,0)
    # makeactive
    # chainloader	+1
    #
    # title		Linux
    # root		(hd0,1)
    # kernel	/vmlinuz root=/dev/hda2 ro
    #
    
    #
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
    
    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below
    
    ## DO NOT UNCOMMENT THEM, Just edit them to your needs
    
    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ##      kopt_2_6_8=root=/dev/hdc1 ro
    ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro
    
    ## Setup crashdump menu entries
    ## e.g. crashdump=1
    # crashdump=0
    
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,1)
    
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ##      alternative=false
    # alternative=true
    
    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ##      lockalternative=false
    # lockalternative=false
    
    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=vga=792 quiet splash
    
    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ##      lockold=true
    # lockold=false
    
    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=
    
    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0
    
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ##      altoptions=(recovery) single
    # altoptions=(recovery mode) single
    
    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ##      howmany=7
    # howmany=all
    
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ##      memtest86=false
    # memtest86=true
    
    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false
    
    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false
    
    ## ## End Default Options ##
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-26-generic
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-26-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro vga=792 quiet splash acpi=off
    initrd		/boot/initrd.img-2.6.24-26-generic
    quiet
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-26-generic (recovery mode)
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-26-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro single
    initrd		/boot/initrd.img-2.6.24-26-generic
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-25-generic
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-25-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro vga=792 quiet splash
    initrd		/boot/initrd.img-2.6.24-25-generic
    quiet
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-25-generic (recovery mode)
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-25-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro single
    initrd		/boot/initrd.img-2.6.24-25-generic
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-24-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro vga=792 quiet splash
    initrd		/boot/initrd.img-2.6.24-24-generic
    quiet
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic (recovery mode)
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-24-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro single
    initrd		/boot/initrd.img-2.6.24-24-generic
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-23-generic
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-23-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro vga=792 quiet splash
    initrd		/boot/initrd.img-2.6.24-23-generic
    quiet
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-23-generic (recovery mode)
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-23-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro single
    initrd		/boot/initrd.img-2.6.24-23-generic
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-16-generic
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro vga=792 quiet splash
    initrd		/boot/initrd.img-2.6.24-16-generic
    quiet
    
    title		Ubuntu 8.04.3 LTS, kernel 2.6.24-16-generic (recovery mode)
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro single
    initrd		/boot/initrd.img-2.6.24-16-generic
    
    title		Ubuntu 8.04.3 LTS, memtest86+
    root		(hd0,1)
    kernel		/boot/memtest86+.bin
    quiet
    
    ### END DEBIAN AUTOMAGIC KERNELS LIST

    I need help in:
    a) Since turning acpi off turn off my battery stats as well as SUSPEND abilities, can someone tell me of some other fix for my booting woes?
    b)If there is no other fix than acpi=off, can someone tell me a way to get both battery stats as well as suspend feature back with acpi still off?
    Last edited by sarthorks; February 4th, 2010 at 12:18 PM. Reason: updating the status of my problem, see my last post
    "It is our choices that show what we truly are, far more than our abilities."

  2. #2
    Join Date
    Jun 2008
    Beans
    74

    Re: boot crash, the fix acpi=off turns off battery stats and suspend features.

    bump. nobody??
    "It is our choices that show what we truly are, far more than our abilities."

  3. #3
    Join Date
    Jun 2008
    Beans
    74

    Re: boot crash, the fix acpi=off turns off battery stats and suspend features.

    I tried this from SuspendHowTo

    Code:
    To enable APM on a system:
    
        * edit your /etc/modules file and add apm to the list of modules.
        * edit the defoptions line of your /boot/grub/menu.lst file so that it ends with acpi=off, and then sudo update-grub to update the GRUB configuration.
        * Add the modules shpchp and pciehp to the end of the /etc/modprobe.d/blacklist file (they don't work w/APM).
        * Finally, reboot the computer. If your system supports APM, everything should be set up.
    But I don't have the battery-stats yet, and I will check after submitting this post if the computer still hangs on pressing the power button or not. Besides, typing
    Code:
    apm
    on the terminal still gives this error:
    Code:
    No APM support in kernel
    Why is that? Heven't I enabled apm?
    "It is our choices that show what we truly are, far more than our abilities."

  4. #4
    Join Date
    Jun 2008
    Beans
    74

    Re: boot crash, the fix acpi=off turns off battery stats and suspend features.

    No luck, no suspend feature yet.

    I added apm=on at the end of
    Code:
    root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro vga=792 quiet splash acpi=off
    in menu.lst,

    but still no signs of improvement at all.

    Still no one? What is wrong? Nobody knows how to deal with this? I'm quite new to linux, and I don't know what to do.
    "It is our choices that show what we truly are, far more than our abilities."

  5. #5
    Join Date
    Jun 2008
    Beans
    74

    Re: boot crash, the fix acpi=off turns off battery stats and suspend features.

    C'mon guys is there nothing that can be done?
    "It is our choices that show what we truly are, far more than our abilities."

  6. #6
    Join Date
    Jun 2008
    Beans
    74

    Re: boot crash, the fix acpi=off turns off battery stats and suspend features.

    I can't believe no-one's helping.
    "It is our choices that show what we truly are, far more than our abilities."

  7. #7
    Join Date
    Jun 2008
    Beans
    74

    Re: boot crash, the fix acpi=off turns off battery stats and suspend features.

    Although battery-stats are disabled with acpi=off, the physical BATTERY LED on my laptop is still functional: when the battery is full, it is yellow in colour, and when the battery crosses a certain stage, the colour changes to red, and as the battery discharges more, it starts blinking more and more often.

    If acpi is off, how is this battery indicator working? Is it not controlled by acpi?

    Also, when i was booting (with lots of difficulty as the system would power off at booting again and again) with acpi NOT off, using lmsensors, the core-temperature would be around 45 degrees celsius, once i had used the computer for a while, and would stay there. With acpi=off, the core-temperatures are around 31 deg. C all the time. Does that mean that my acpi wasn't working properly?
    "It is our choices that show what we truly are, far more than our abilities."

  8. #8
    Join Date
    Jun 2008
    Beans
    74

    Re: boot crash, the fix acpi=off turns off battery stats and suspend features.

    OKAY, so i made acpi=force in
    Code:
    /boot/vmlinuz-2.6.24-26-generic root=UUID=d1714898-11b7-4830-9a54-142371e9a82b ro vga=792 quiet splash acpi=force
    Now it is booting properly, but using lmsensors, the coretemperature has crossed all previous limits i had seen before and it is at around 50 deg. Celsius. I hope thats not a cause for worry.
    "It is our choices that show what we truly are, far more than our abilities."

  9. #9
    Join Date
    Jun 2008
    Beans
    74

    Re: boot crash, the fix acpi=off turns off battery stats and suspend features.

    Oh no, its still NOT booting properly. Same old problem, without acpi=off and with acpi=force, but this was expected.

    I really dont know what to do, cant anyone help?
    "It is our choices that show what we truly are, far more than our abilities."

  10. #10
    Join Date
    Jun 2008
    Beans
    74

    Re: boot crash, the fix acpi=off turns off battery stats and suspend features.

    All right this seems to be a reasonable fix:

    In my /var/kern.log, when i boot, i get a message which asks me to check if booting with acpi_osi=Linux works better or not.

    Well, i tried that, so that the end of the grub line read
    Code:
     ro vga=792 quiet splash acpi_osi=Linux
    .
    Now, it gives me a problem sometimes only if I have suspended my laptop for like 1-2 hrs. Then the laptop powers off on resume. And then it will cause a lot of trouble in booting, as menitoned in the earlier posts.

    Thats still troubling me. Otherwise, booting is fine, andd suspends less than an hour are also fine. I'm still waiting for someone to shed some light.
    Anyone?
    "It is our choices that show what we truly are, far more than our abilities."

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •