bcbc / Wubi-move

Migrate a Wubi install to partition
https://help.ubuntu.com/community/MigrateWubi
GNU General Public License v2.0
25 stars 4 forks source link

udev rules appear to cause issues on release 11.04 #21

Closed bcbc closed 10 years ago

bcbc commented 11 years ago

See http://askubuntu.com/q/226260/14916

Summary: User had blank screen after running script. Log output following last script entry indicated some udev related issue. The migration using version 2.1 worked fine (prior to adding udev overrides) so this could be the cause.

Log entries: Dec 6 14:35:08 ubuntu wubi-move.sh: info: About to format the target partition (/dev/sda4). Dec 6 14:35:08 ubuntu wubi-move.sh: info: Proceed with format (Y/N) Dec 6 14:35:09 ubuntu acpid: client connected from 2122[0:0] Dec 6 14:35:09 ubuntu acpid: 1 client rule loaded Dec 6 14:35:11 ubuntu rtkit-daemon[1263]: Successfully made thread 2189 of process 2189 (n/a) owned by '106' high priority at nice level -11. ... Dec 6 14:35:12 ubuntu pulseaudio[2189]: module-alsa-card.c: Failed to find a working profile. Dec 6 14:35:12 ubuntu pulseaudio[2189]: module.c: Failed to load module "module-alsa-card" (argument: "device_id="29" name="platform-thinkpad_acpi" card_name="alsa_card.platform-thinkpad_acpi" tsched=yes ignore_dB=no card_properties="module-udev-detect.discovered=1""): initialization failed. Dec 6 14:35:17 ubuntu gdm-session-worker[2185]: GLib-GObject-CRITICAL: g_value_get_boolean: assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed

bcbc commented 11 years ago

The question on askubuntu has been removed. Another report has surfaced, this time Xubuntu with 12.04.3, Retested with Ubuntu 12.04.3 and works fine on my hardware, but need to raise the priority on this - either to get a bug raised for udevadm, or to consider workarounds.

Need to add a Known issue to the wiki page as well.

bcbc commented 11 years ago

Another report. Increasing severity. Still not sure what the best approach is. I don't want Nautilus windows popping up, but obviously graphics freezing is worse. Might have to revert the udevadm patch and increase the timeouts to prevent Nautilus from interfering with umount operations.

bcbc commented 10 years ago

Fixed with release 2.5

Now the udev rules are opt-in only. i.e. you need to supply --hide-partitions to apply them. In most cases, people won't bother which is fine as long as the Nautilus pop-ups don't affect them (maybe on a really slow computer it will prevent the script unmounting and remounting successfully; the script will handle that gracefully, and at least there is no hangup which is way worse).