Bug 1135064 - virt-sparsify fails at /sys/block/sdb/dev discovery
Summary: virt-sparsify fails at /sys/block/sdb/dev discovery
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-28 18:43 UTC by Simon Mall
Modified: 2015-11-23 14:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-14 10:33:37 UTC
Embargoed:


Attachments (Terms of Use)
Debugging output with Libguestfs tracing on (23.61 KB, text/plain)
2014-08-28 18:46 UTC, Simon Mall
no flags Details

Description Simon Mall 2014-08-28 18:43:24 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Simon Mall 2014-08-28 18:46:48 UTC
Created attachment 932448 [details]
Debugging output with Libguestfs tracing on

Comment 2 Simon Mall 2014-08-28 18:50:54 UTC
(In reply to Simon Mall from comment #0)
> Description of problem:
> 
> 
> Version-Release number of selected component (if applicable):
> Libguestfs: 1:1.24.5-1
> 
> How reproducible:
> Every time.
> 
> Steps to Reproduce:
> 1. Create image,
> 2. use virt-sparsify to create copy or convert
> 3.
> 
> Actual results:
> Fails to work
> 
> Expected results:
> 
> 
> Additional info:

Comment 3 Richard W.M. Jones 2014-08-28 19:06:38 UTC
> Libguestfs: 1:1.24.5-1

from where?

Comment 4 Richard W.M. Jones 2014-08-28 19:12:18 UTC
Anyway the problem is that this kernel:

[    0.000000] Linux version 3.13.9-pax (carinhas@soluciones) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #3 SMP Mon May 5 13:07:05 CDT 2014 (Ubuntu 3.13.0-24.46-generic 3.13.9)

doesn't have any virtio drivers.  If you self-compiled
it, then you'll need to recompile it with all virtio
drivers enabled.

Otherwise you can point libguestfs to another kernel by
setting the SUPERMIN_KERNEL and/or SUPERMIN_MODULES
environment variables, see:

 http://libguestfs.org/supermin.1.html#ENVIRONMENT-VARIABLES

NOTE that between tests you will need to:

 rm -rf /vm/tmp/.guestfs-0

Comment 5 Richard W.M. Jones 2015-04-14 10:33:37 UTC
Closing because the problem was the kernel didn't have virtio drivers,
see comment 4.

Comment 6 Simon Mall 2015-11-23 14:39:23 UTC
This problem is resolved. The custom kernel was at fault.. Thanks..


Note You need to log in before you can comment on or make changes to this bug.