[Bug 418560] Re: Unfinished shutdown or reboot
*** This bug is a duplicate of bug 418509 *** https://bugs.launchpad.net/bugs/418509 2.6.32-27-generic has the same PROBLEM -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/418560 Title: Unfinished shutdown or reboot -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
*** This bug is a duplicate of bug 418509 *** https://bugs.launchpad.net/bugs/418509 Was having the same problem with kernel 2.6.31-7-generic. Updated to 2.6.31-8-generic and problem fixed. -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
*** This bug is a duplicate of bug 418509 *** https://bugs.launchpad.net/bugs/418509 ** This bug has been marked a duplicate of bug 418509 [Karmic] Hangs during shutdown with kernel 2.6.31-7 -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
*** This bug is a duplicate of bug 418509 *** https://bugs.launchpad.net/bugs/418509 Found some further changes in the kernel update: diff -Nru /tmp/FNdEZPHKHo/linux-2.6.31/Documentation/filesystems/afs.txt /tmp/Td2i4nRkP9/linux-2.6.31/Documentation/filesystems/afs.txt --- linux-2.6.31/Documentation/filesystems/afs.txt 2009-08-21 18:39:55.0 +0100 +++ linux-2.6.31/Documentation/filesystems/afs.txt 2009-08-24 18:08:31.0 +0100 @@ -23,15 +23,13 @@ (*) Security (currently only AFS kaserver and KerberosIV tickets). - (*) File reading. + (*) File reading and writing. (*) Automounting. -It does not yet support the following AFS features: - - (*) Write support. + (*) Local caching (via fscache). - (*) Local caching. +It does not yet support the following AFS features: (*) pioctl() system call. @@ -56,7 +54,7 @@ the masks in the following files: /sys/module/af_rxrpc/parameters/debug - /sys/module/afs/parameters/debug + /sys/module/kafs/parameters/debug = @@ -66,9 +64,9 @@ When inserting the driver modules the root cell must be specified along with a list of volume location server IP addresses: - insmod af_rxrpc.o - insmod rxkad.o - insmod kafs.o rootcell=cambridge.redhat.com:172.16.18.73:172.16.18.91 + modprobe af_rxrpc + modprobe rxkad + modprobe kafs rootcell=cambridge.redhat.com:172.16.18.73:172.16.18.91 The first module is the AF_RXRPC network protocol driver. This provides the RxRPC remote operation protocol and may also be accessed from userspace. See: @@ -81,7 +79,7 @@ Once the module has been loaded, more modules can be added by the following procedure: - echo add grand.central.org 18.7.14.88:128.2.191.224 >/proc/fs/afs/cells + echo add grand.central.org 18.9.48.14:128.2.203.61:130.237.48.87 >/proc/fs/afs/cells Where the parameters to the "add" command are the name of a cell and a list of volume location servers within that cell, with the latter separated by colons. @@ -101,7 +99,7 @@ specify connection to only volumes of those types. The name of the cell is optional, and if not given during a mount, then the -named volume will be looked up in the cell specified during insmod. +named volume will be looked up in the cell specified during modprobe. Additional cells can be added through /proc (see later section). @@ -163,14 +161,14 @@ The filesystem maintains an internal database of all the cells it knows and the IP addresses of the volume location servers for those cells. The cell to which -the system belongs is added to the database when insmod is performed by the +the system belongs is added to the database when modprobe is performed by the "rootcell=" argument or, if compiled in, using a "kafs.rootcell=" argument on the kernel command line. Further cells can be added by commands similar to the following: echo add CELLNAME VLADDR[:VLADDR][:VLADDR]... >/proc/fs/afs/cells - echo add grand.central.org 18.7.14.88:128.2.191.224 >/proc/fs/afs/cells + echo add grand.central.org 18.9.48.14:128.2.203.61:130.237.48.87 >/proc/fs/afs/cells No other cell database operations are available at this time. @@ -233,7 +231,7 @@ mount -t afs \%root.afs. /afs mount -t afs \%cambridge.redhat.com:root.cell. /afs/cambridge.redhat.com/ -echo add grand.central.org 18.7.14.88:128.2.191.224 > /proc/fs/afs/cells +echo add grand.central.org 18.9.48.14:128.2.203.61:130.237.48.87 > /proc/fs/afs/cells mount -t afs "#grand.central.org:root.cell." /afs/grand.central.org/ mount -t afs "#grand.central.org:root.archive." /afs/grand.central.org/archive mount -t afs "#grand.central.org:root.contrib." /afs/grand.central.org/contrib diff -Nru /tmp/FNdEZPHKHo/linux-2.6.31/Documentation/filesystems/proc.txt /tmp/Td2i4nRkP9/linux-2.6.31/Documentation/filesystems/proc.txt --- linux-2.6.31/Documentation/filesystems/proc.txt 2009-08-21 18:39:55.0 +0100 +++ linux-2.6.31/Documentation/filesystems/proc.txt 2009-08-24 18:08:31.0 +0100 @@ -1167,13 +1167,11 @@ 3.1 /proc//oom_adj - Adjust the oom-killer score -- -This file can be used to adjust the score used to select which processes should -be killed in an out-of-memory situation. The oom_adj value is a characteristic -of the task's mm, so all threads that share an mm with pid will have the same -oom_adj value. A high value will increase the likelihood of this process being -killed by the oom-killer. Valid values are in the range -16 to +15 as -explained below and a special value of -17, which disables oom-killing -altogether for threads sharing pid's mm. +This file can be used to adjust the score used to select which processes +should be killed in an out-of-memory situation. Giving it a high score will +increase the likelihood of this proce
[Bug 418560] Re: Unfinished shutdown or reboot
Diving into the kernel changes that occurred from linux-26.31-6.26x - dated 2009-08-21 (working) --to-- the new update on 2009-08-24 (not working) linux-2.6.31-7.27, I can only find internal kernel these changes: 1) = [ Taken from the linux_2.6.31-6.26_2.6.31-7.27.diff.gz#patchfs/linux-2.6.31/debian.master/config/config.common.ports.diff: ] diff -Nru /tmp/FNdEZPHKHo/linux-2.6.31/debian.master/config/config.common.ports /tmp/Td2i4nRkP9/linux-2.6.31/debian.master/config/config.common.ports --- linux-2.6.31/debian.master/config/config.common.ports 2009-08-21 18:39:57.0 +0100 +++ linux-2.6.31/debian.master/config/config.common.ports 2009-08-24 18:08:33.0 +0100 @@ -1622,6 +1622,7 @@ # CONFIG_LPARCFG is not set # CONFIG_LP_CONSOLE is not set CONFIG_LSI_ET1011C_PHY=m +CONFIG_LSM_MMAP_MIN_ADDR=65536 CONFIG_LXT_PHY=m CONFIG_M25PXX_USE_FAST_READ=y CONFIG_MA600_DONGLE=m 2) = [ and from the linux_2.6.31-6.26_2.6.31-7.27.diff.gz#patchfs/linux-2.6.31/debian.master/config/config.common.ubuntu.diff: ] diff -Nru /tmp/FNdEZPHKHo/linux-2.6.31/debian.master/config/config.common.ubuntu /tmp/Td2i4nRkP9/linux-2.6.31/debian.master/config/config.common.ubuntu --- linux-2.6.31/debian.master/config/config.common.ubuntu 2009-08-21 18:39:57.0 +0100 +++ linux-2.6.31/debian.master/config/config.common.ubuntu 2009-08-24 18:08:33.0 +0100 @@ -1930,6 +1930,7 @@ CONFIG_LP486E=m # CONFIG_LP_CONSOLE is not set CONFIG_LSI_ET1011C_PHY=m +CONFIG_LSM_MMAP_MIN_ADDR=65536 CONFIG_LTPC=m CONFIG_LXT_PHY=m CONFIG_LZO_COMPRESS=m These are the only clues I can offer to the current kernel change! -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 418560] Re: Unfinished shutdown or reboot
On Thursday 27 August 2009 13:50:59 Peter W Bowey wrote: > Confirmed: Latest kernel 2.6.31-7 (not rc7) hangs on reboot or > shutdown! No time-out occurs. Any effort to force the shutdown > (keys or commands) - other than physical 'System Power Off' > fails. This occurs even with DBUS disabled. No System logs exist > to clarify further on this kernel event 'hang'. Actually, you can reboot the system with the keyboard in a safe way. Use the 'Elephant' sequence: In a sequential order, press ++ - this will put the keyboard in 'raw' mode. Then, continue the sequence by replacing the above with , , , , - (wait a few seconds between each three-finger combination). (Memo: Raising Skinny Elephants Is Utterly Boring) -- *** Sent from a 100% Microsoft-free computer *** * Running Linux Kubuntu 9.10 * -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
Confirming that shutdown works nicely on 2.6.31-6-generic-pae. Don't know what these things mean but here's the changelog between 2.6.31-6 and 2.6.31-7 linux (2.6.31-7.27) karmic; urgency=low [ Tim Gardner ] * [Config] updateconfigs updateportsconfigs after 2.6.31-rc7 rebase * SAUCE: (drop after 2.6.31) Added KSM from mmotm-2009-08-20-19-18 Replaces previous ksm patches from 2.6.31-6.25 * [Config] KSM=y -- Tim Gardner Sat, 22 Aug 2009 20:32:11 -0600 HTH, jan -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
If one tries Control-Alt-Del on this Kernel 26.31.-7 shutdown / restart hang, the initial message is: "Init: rc main process (6281) stopped by STOP signal" "Init: rc main process (6281) continued by CONT signal" Further attempts at 'Control-Alt-Del' show this message: "The system is going down for a reboot NOW!" "Control-Alt-Del pressed" This repeats for further attempts at 'Control-Alt-Del' Hard Poweroff is the only resort! -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
Confirmed: Latest kernel 2.6.31-7 (not rc7) hangs on reboot or shutdown! No time-out occurs. Any effort to force the shutdown (keys or commands) - other than physical 'System Power Off' fails. This occurs even with DBUS disabled. No System logs exist to clarify further on this kernel event 'hang'. -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
Mmmh.. I think I understood. Please dismiss my last comment ;-) "Lock not taken" means "The lock is free to be taken -> there's no process locking it" instead of "I couldn't get the lock"... -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
Okay, I changed the init script /etc/init.d/unattended-updates so that /usr/share/unattended-upgrades/unattended-upgrade-shutdown is called with --debug: Aug 27 12:11:20 janni GetLock returned 4 Aug 27 12:11:20 janni Lock not taken Aug 27 12:12:59 janni GetLock returned 4 Aug 27 12:12:59 janni Lock not taken Aug 27 12:14:03 janni GetLock returned 4 Aug 27 12:14:03 janni Lock not taken in the above script it says (line 78 ff.): res = apt_pkg.GetLock(options.lock_file) logging.debug("GetLock returned %i" % res) if res > 0: logging.debug("Lock not taken") sys.exit(0) # "wait for 5s, try again or bail out with timeout error" stuff apt_pkg.GetLock documentation says, that the lock is not taken when result == -1, otherwise the Fd of the lock is returned. I believe it should be "if res < 0" but I don't usually do python, apt-debugging and people say, this works in 2.6.31-6. HTH -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
Same here, on 2.6.31-7-generic-pae i686. Excerpt from daemon.log: Aug 27 00:35:30 janni avahi-daemon[3801]: Withdrawing address record for 10.23.0.2 on tap0. Aug 27 00:35:31 janni init: rc main process (11426) stopped by STOP signal <-- Right here stdout says "Checking for running unattended-upgrades:" during shutdown --> Aug 27 00:35:31 janni init: rc main process (11426) continued by CONT signal Aug 27 00:35:31 janni acpid: exiting Aug 27 00:35:31 janni avahi-daemon[3801]: Disconnected from D-Bus, exiting. Aug 27 00:35:31 janni avahi-daemon[3801]: Got SIGTERM, quitting. Aug 27 00:35:31 janni avahi-daemon[3801]: write() failed: Broken pipe Aug 27 00:35:31 janni avahi-daemon[3801]: Leaving mDNS multicast group on interface eth0.IPv4 with address 10.0.0.2. Aug 27 00:35:31 janni init: Disconnected from system bus Aug 27 00:35:31 janni avahi-daemon[3801]: write() failed: Broken pipe ... and that's the last message. According to /usr/share/unattended-upgrades/unattended-upgrades-shutdown it should say "Giving up lockfile after xx delay" so perhaps it's about that "while True"-loop in there. -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
** Tags added: karmic -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
** Tags added: regression-potential -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
same problem on kubuntu karmic alpha4 x86 64 ame message and never shutdown or reboot, need cuting the power... -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
same problem on kubuntu karmic alpha4 x86 64 ame message and never shutdown or reboot, need cuting the power... -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
Same problem here HP 6530b 64 bit Ubuntu (Gnome) Kernel 2.6.31-7 last line: Checking for running unattended-upgrades: * Asking all remaining processes to terminate... -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
Same problem on a Thinkpad T60 -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
** Changed in: linux (Ubuntu) Status: New => Confirmed -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
** Attachment added: "uname-a.txt" http://launchpadlibrarian.net/30813796/uname-a.txt -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
** Attachment added: "lspci-vvnn.txt" http://launchpadlibrarian.net/30813781/lspci-vvnn.txt -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
** Attachment added: "dmesg.txt" http://launchpadlibrarian.net/30813777/dmesg.txt -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 418560] Re: Unfinished shutdown or reboot
** Attachment added: "version.txt" http://launchpadlibrarian.net/30813793/version.txt -- Unfinished shutdown or reboot https://bugs.launchpad.net/bugs/418560 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs