Ubuntu Host - Windows Guest getting hung up only on REboot

2023-08-28 Thread Jay Lepore
I wrongly posted this earlier and said it happened "on boot". This only 
happens during a REboot where you are in the Windows guest and do a 
restart.  It hangs every time at the image shown here.


If I hard shut off the guest at this point I can start the machine with 
no problem every time.


Has anyone else grappled with this and found the cause of it?

What sayeth the group?

--
Sincerely,

Jay

Jay Lepore
CompuMatter
*Office*: 360 299 2428 | *Cell*: 360 202 0434
*Email*: j...@compumatter.com
/If you are satisfied with your service, please consider providing us a 
social media review at https://compumatter.com/reviews

...If you are not, please let me know so I can make it better/


Re: Windows VM's getting hung up on boot

2023-08-28 Thread Simon Becherer

Am 28.08.23 um 17:13 schrieb Jay Lepore:
I have had an ongoing though occassional problems with Windows failing to reboot and getting stuck right here.  I am guessing it comes after some kind of forced reboot during an unattended Windows update but that 
still doesn't explain the hang.


Has anyone else grappled with this and found the cause of it?

What sayeth the group?

--
Sincerely,

Jay

Jay Lepore
CompuMatter
*Office*: 360 299 2428 | *Cell*: 360 202 0434
*Email*: j...@compumatter.com
/If you are satisfied with your service, please consider providing us a social 
media review at https://compumatter.com/reviews
...If you are not, please let me know so I can make it better/




If its tumbleweed,
and you have an amd processor

then look here:

https://bugzilla.opensuse.org/show_bug.cgi?id=1214628

with different posibilitys to fix.

simoN




--
www.becherer.de




OpenPGP_signature
Description: OpenPGP digital signature


Windows VM's getting hung up on boot

2023-08-28 Thread Jay Lepore
I have had an ongoing though occassional problems with Windows failing 
to reboot and getting stuck right here.  I am guessing it comes after 
some kind of forced reboot during an unattended Windows update but that 
still doesn't explain the hang.


Has anyone else grappled with this and found the cause of it?

What sayeth the group?

--
Sincerely,

Jay

Jay Lepore
CompuMatter
*Office*: 360 299 2428 | *Cell*: 360 202 0434
*Email*: j...@compumatter.com
/If you are satisfied with your service, please consider providing us a 
social media review at https://compumatter.com/reviews

...If you are not, please let me know so I can make it better/


fio fdp mode with qemu emulated nvme

2023-08-28 Thread alienfirst...@yahoo.com.tw
Hi,
I have problem using fio with fdp mode (flexible data placement) in qemu 
guest...Anyone knows how to do it successfully? Many thanks!
I have used very recent code of fio and qemu, in which already include fdp 
related commits.fio: commit b311162cqemu: commit 0d52116fguest os: ubuntu 
22.04, with default kernel v.5.15.0-43-generic
Here are the commands I use:1. qemu# qemu-system-86_64 -hda ubuntu.qcow2 -boot 
d -net nic -net user -m 16384 -smp 8 -cpu host -enable-kvm \    -device 
nvme-subsys,id=nvme-subsys-0,nqn=subsys0,fdp=on,fdp.nrg=3,fdp.nruh=16,fdp.runs=96M
 \    -device nvme,id=nvme0,serial=mynvm,subsys=nvme-subsys-0 \    -drive 
file=nvm-1.qcow2,id=nvm-1,if=none \    -device 
nvme-ns,drive=nvm-1,fdp.ruhs=0-15,bus=nvme02. fio# fio --ioengine=io_uring_cmd 
--cmd_type=nvme --filename=/dev/ng0n1 --fdp=1 --fdp_pli=0-15 \    --iodepth=1 
--direct=1 --rw=randwrite --bs=4K --size=1G \    --runtime=10 --time_based 
--group_reporting --name=job1
Then fio fails, error:fio: pid=1884, err=22/file:engines/io_uring.c:1089, 
func=io_queue_init, error=Invalid argument
So I traced code and found this error occurs at syscall(__NR_io_uring_setup, 
depth, ) in fio_ioring_cmd_queue_init() of fio/engines/io_uring.c(Here: 
https://github.com/axboe/fio/blob/b311162c37a2867873e1222ce6b5f38c88be4d80/engines/io_uring.c#L955
 )The variable p is a struct io_uring_params, so I print its content right 
before the syscall():
sq_entries=0, cq_entries=1, flags=15624, sq_thread_cpu=0, sq_thread_idle=0, 
features=0, wq_fd=0, resv[0]=0, resv[1]=0, resv[2]=0sq_entries=0, cq_entries=1, 
flags=3336, sq_thread_cpu=0, sq_thread_idle=0, features=0, wq_fd=0, resv[0]=0, 
resv[1]=0, resv[2]=0sq_entries=0, cq_entries=1, flags=3080, sq_thread_cpu=0, 
sq_thread_idle=0, features=0, wq_fd=0, resv[0]=0, resv[1]=0, 
resv[2]=0sq_entries=0, cq_entries=1, flags=3072, sq_thread_cpu=0, 
sq_thread_idle=0, features=0, wq_fd=0, resv[0]=0, resv[1]=0, resv[2]=0
Still can't figure out what's wrong...Finally, I suspect my io_uring library is 
too old to support fdp?So I make install the latest liburing 
(https://github.com/axboe/liburing), but still same fio failure.
Mant thanks!