>-----Original Message-----
>From: Wouter Verhelst [mailto:[email protected]]
>Sent: Thursday, September 26, 2013 12:46 PM
>To: 'Mark Trumpold'
>Cc: [email protected], 'Stefan Hajnoczi', 
>[email protected], 'Paul Clements', [email protected]
>Subject: Re: [Nbd] [Qemu-devel] Hibernate and qemu-nbd
>
>On 25-09-13 16:42, Mark Trumpold wrote:
>> Hello Wouter,
>> 
>> Thank you for your input.
>> 
>> I replayed the test as follows:
>> 
>>   -> qemu-nbd -p 2000 -persist /root/qemu/q1.img &
>>   -> nbd-client localhost 2000 /dev/nbd0
>
>No.
>
>nbd-client -persist localhost 2000 /dev/nbd0
>
>-- 
>This end should point toward the ground if you want to go to space.
>
>If it starts pointing toward space you are having a bad problem and you
>will not go to space today.
>
>  -- http://xkcd.com/1133/
>

Sorry guys, I did the email by memory (bad idea).

Actually, what I did:
  849  qemu-nbd -p 2000 /root/qemu/q1.img &
  850  nbd-client -persist localhost 2000 /dev/nbd0
  851  ps aux | grep nbd
  852  echo reboot >/sys/power/disk
  853  echo disk >/sys/power/state

At the prompt after the hibernate (test mode: 'reboot')
I see the following:

/build/buildd-qemu_0.12.5+dfsg-3squeeze3-amd64-9wXBnc/qemu-0.12.5+dfsg/nbd.c:nbd_receive_request():L465:
 read failed
[1]+  Done                    qemu-nbd -p 2000 /root/qemu/q1.img

================
Looks like 'qemu-nbd' exited on some signal.  No other indicators.
I see no other relevant messages in syslog.
In dmesg I see the message (as expected):

Sep 26 13:27:13 debian-test kernel: [606754.367766] Freezing user space 
processes ...
Sep 26 13:27:13 debian-test kernel: [606754.367840] nbd (pid 8432: nbd-client) 
got signal 0
Sep 26 13:27:13 debian-test kernel: [606754.367844] block nbd0: shutting down 
socket
Sep 26 13:27:13 debian-test kernel: [606754.367872] block nbd0: Receive control 
failed (result -4)
Sep 26 13:27:13 debian-test kernel: [606754.367890] block nbd0: queue cleared

================

Thank you,
Mark T.











------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to