[Bug 1032874] [NEW] Mount command on extended partition hangs forever during install
Public bug reported: Re-installing Precise with kernels 3.2.0-26 or 3.2.0-27 from the precise-updates repo hangs forever when searching for install media on systems that do this from check-missing-firmware. The underlying problem is a hanging mount command. The problem doesn't exist using 3.2.0-23 in the precise repo. When the installer detects that it needs to load some missing firmware, it tries to mount every available partition as '/media'. If the hard drive is already partitioned and has an extended partition, the installer will try to mount the extended partition and hang indefinitely. Sending SIGKILL to the mount command does nothing. Eventually, the kernel will start logging 'INFO: task mount:3559 blocked for more than 120 seconds.' messages. To reproduce, on ThinkPad T420s (or most other laptops with wireless) that already has Ubuntu installed with an extended partition (for example, sda2): 1. Boot the kernel/initramfs for the network installer at /ubuntu/dists/precise/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/ 2. Select language and keyboard options 3. Installer hangs forever 4. Alt-F2 to another terminal 5. Run ps, see stalled mount command, like 'mount -tauto /dev/sda2 /media' On 3.2.0-23, the mount command will return immediately with an error, as expected (since mounting and extended partition doesn't make sense). Regardless of what hardware is used, running the mount command on an extended partition always stalls. The hardware only makes a difference in deciding whether the mount command is called during install. ** Affects: linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1032874 Title: Mount command on extended partition hangs forever during install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1032874/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1032874] Re: Mount command on extended partition hangs forever during install
** Attachment added: "version.log" https://bugs.launchpad.net/bugs/1032874/+attachment/3247212/+files/version.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1032874 Title: Mount command on extended partition hangs forever during install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1032874/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1032874] Re: Mount command on extended partition hangs forever during install
Adding attachments one at a time :-/ ** Attachment added: "lspci-vnvn.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1032874/+attachment/3247213/+files/lspci-vnvn.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1032874 Title: Mount command on extended partition hangs forever during install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1032874/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1032874] Re: Mount command on extended partition hangs forever during install
** Attachment added: "dmesg.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1032874/+attachment/3247214/+files/dmesg.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1032874 Title: Mount command on extended partition hangs forever during install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1032874/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1032874] Re: Mount command on extended partition hangs forever during install
** Attachment added: "syslog.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1032874/+attachment/3247215/+files/syslog.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1032874 Title: Mount command on extended partition hangs forever during install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1032874/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1032874] Re: Mount command on extended partition hangs forever during install
** Attachment added: "ps.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1032874/+attachment/3247216/+files/ps.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1032874 Title: Mount command on extended partition hangs forever during install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1032874/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1032874] Re: Mount command on extended partition hangs forever during install
The mount command doesn't hang in the Quantal kernel (3.5.0-8-generic). It returns immediately with an error, as expected, instead of hanging. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1032874 Title: Mount command on extended partition hangs forever during install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1032874/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1032874] Re: Mount command on extended partition hangs forever during install
I just tried 3.2.0-30-generic #48 in precise-updates, and everything looks fine. No hang. Thanks! :-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1032874 Title: Mount command on extended partition hangs forever during install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/hw-detect/+bug/1032874/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1032874] Re: Mount command on extended partition hangs forever during install
jsalisbury: No problem! Let me know if there is anything else I can do to help. I don't mind going through more kernels. Thanks ^_^ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1032874 Title: Mount command on extended partition hangs forever during install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1032874/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1008344] Re: checks "admin" group membership instead of querying polkit
philw85: I completely agree. The time settings dialog is a great example for how this should work. I think it's also fine to just let PolicyKit prompt when it needs to without telling the user beforehand. Average Ubuntu users are going to be admins on their single-user systems, and where users are not admins on their own machines it will still be clear what the problem is. Dialogs that connect to services that use PolicyKit don't need to be aware PolicyKit exists, and keeping those dialogs unaware of PolicyKit makes them flexible for more exotic configurations. There are so many in-the-middle configurations where the user is almost an admin, but can't do absolutely everything. Maybe the user is configured to be able to change time/language settings and install trusted packages, but isn't allowed to install untrusted packages. My point is that the question "is the user an admin?" is very ambiguous, so it's better to just not ask and let PolicyKit handle it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1008344 Title: checks "admin" group membership instead of querying polkit To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1008344/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs