Feature #6224

Reproduce the 9p reload bug with a recent kernel

Added by intrigeri 2013-08-08 13:59:42 . Updated 2015-08-26 06:08:23 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Test suite
Target version:
Start date:
2013-08-08
Due date:
2015-07-15
% Done:

100%

Feature Branch:
Type of work:
Test
Blueprint:

Starter:
0
Affected tool:
Deliverable for:
266

Description

see parent ticket.


Subtasks


Related issues

Related to Tails - Bug #12081: Fresh vagrant-libvirt setup has broken synced folders Resolved 2016-12-25
Blocks Tails - Feature #6225: Report the 9p kernel bug Rejected 2013-08-08 2015-07-15

History

#1 Updated by anonym 2015-01-09 13:55:20

  • Target version set to Tails_1.4.1

#2 Updated by anonym 2015-01-10 17:17:41

  • blocks #8668 added

#3 Updated by anonym 2015-01-10 17:23:56

  • Category set to Test suite

#4 Updated by anonym 2015-05-16 14:00:50

This is what I get if I try to save a (ram-only) snapshot when a shared file system is mounted:

Call to virDomainSaveFlags failed: internal error: unable to execute QEMU command 'migrate': Migration is disabled when VirtFS export path '/home/tailstester/TailsToaster/shared_files' is mounted in the guest using mount_tag '/shared_files' (Libvirt::Error)


Clearly, that’s explicitly not supported.

If I unmount the share and save the snapshot, there’s no error. However when trying to mount the share again after restoring, the mount call hangs (and cannot be killed, even with SIGKILL). It doesn’t matter if I unload the 9p before saving the snapshot, and then reloading it after restoring; mount still hangs. If I also unload/reload the 9pnet_virtio and 9pnet modules, then I get this in syslog:

[  150.224902] 9pnet: Installing 9P2000 support
[  150.254786] virtio-pci 0000:00:08.0: irq 42 for MSI/MSI-X
[  150.254813] virtio-pci 0000:00:08.0: irq 43 for MSI/MSI-X
[  150.255025] virtio-pci 0000:00:08.0: irq 42 for MSI/MSI-X
[  150.255042] virtio-pci 0000:00:08.0: irq 43 for MSI/MSI-X
[  150.255200] 9pnet_virtio: probe of virtio3 failed with error -2
[  150.281973] FS-Cache: Loaded
[  150.283145] 9p: Installing v9fs 9p2000 file system support
[  150.283153] FS-Cache: Netfs '9p' registered for caching
[  150.340384] 9pnet_virtio: no channels available


i.e. the same issue as before. Now the mount command fails immediately with:

mount: No such file or directory


which refers to the source, i.e. the “tag” used for the filesystem share (not the target directory).

I will use this info as a basis for Feature #6226, and then possibly Feature #6225.

#5 Updated by anonym 2015-05-16 14:02:05

  • Status changed from Confirmed to Resolved
  • Assignee deleted (anonym)
  • % Done changed from 0 to 100

By the way, this was with Linux 3.16.7-ckt9-3 in Tails 1.4.

#6 Updated by intrigeri 2015-08-07 03:52:59

  • Due date set to 2015-07-15

#8 Updated by intrigeri 2015-08-26 06:08:23

  • Deliverable for set to 266

#9 Updated by intrigeri 2016-12-25 13:02:41

  • related to Bug #12081: Fresh vagrant-libvirt setup has broken synced folders added