Wine and sr0 error in dmesg

Questions about Wine on Linux
Locked
Elserjo
Newbie
Newbie
Posts: 2
Joined: Fri May 22, 2020 2:38 pm

Wine and sr0 error in dmesg

Post by Elserjo »

Hello everyone. I have installed wine and it works well.

But when i launch installed programms in Wine or Wine itself i have these errors in dmesg:
Wine version: 5.8-1
Linux kernel: 5.6.13.arch1-1

Code: Select all

archlinux kernel: blk_update_request: I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 0
мая 22 22:34:28 archlinux kernel: sr 2:0:0:0: [sr0] tag#21 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s
мая 22 22:34:28 archlinux kernel: sr 2:0:0:0: [sr0] tag#21 Sense Key : Not Ready [current] 
мая 22 22:34:28 archlinux kernel: sr 2:0:0:0: [sr0] tag#21 Add. Sense: Medium not present - tray closed
мая 22 22:34:28 archlinux kernel: sr 2:0:0:0: [sr0] tag#21 CDB: Read(10) 28 00 00 00 00 00 00 00 02 00
мая 22 22:34:28 archlinux kernel: blk_update_request: I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
мая 22 22:34:28 archlinux kernel: Buffer I/O error on dev sr0, logical block 0, async page read
As i understand, Wine tries to scanning DVD-drive, but it empty, so i get error. With any inserted DVD i haven't got this error.
What can i do to prevent this error?
garpu
Level 2
Level 2
Posts: 46
Joined: Fri Oct 08, 2010 12:05 pm

Re: Wine and sr0 error in dmesg

Post by garpu »

Did you find a solution? I'm getting it, too.
Elserjo
Newbie
Newbie
Posts: 2
Joined: Fri May 22, 2020 2:38 pm

Re: Wine and sr0 error in dmesg

Post by Elserjo »

garpu wrote: Sun May 24, 2020 10:48 pm Did you find a solution? I'm getting it, too.
Not found. I have also tested on my notebook and getting exact same error. Maybe, it's not very critical....
garpu
Level 2
Level 2
Posts: 46
Joined: Fri Oct 08, 2010 12:05 pm

Re: Wine and sr0 error in dmesg

Post by garpu »

It's got to be a WINE thing, I think. I rolled back to wine 5.4 (last good one I had compiled), and after rebooting the error went away. I tried searching for it on bugzilla, but there's a ton of hits for "sr0"
spoon0042
Level 6
Level 6
Posts: 570
Joined: Thu Dec 24, 2009 11:00 am

Re: Wine and sr0 error in dmesg

Post by spoon0042 »

That can probably be safely ignored. There were some recent changes to wine's drive handling; could be related but I don't know if it's worth the effort to track down. Also even on 5.4 I get similar messages when selecting the drives tab in winecfg with the drive empty, it just seems to happen now anytime wine starts which isn't really a big deal.
garpu
Level 2
Level 2
Posts: 46
Joined: Fri Oct 08, 2010 12:05 pm

Re: Wine and sr0 error in dmesg

Post by garpu »

At least in my case, though, was that I was getting it constantly, not just when WINE started. :/
spoon0042
Level 6
Level 6
Posts: 570
Joined: Thu Dec 24, 2009 11:00 am

Re: Wine and sr0 error in dmesg

Post by spoon0042 »

oh. yeah, that would be annoying. Not sure what to try then other than to double check that it's actually wine causing it rather than something in gnome or kde or possibly even something else. Though if it doesn't happen with 5.4 that would point to wine, huh. You could do a regression test then, it's possible something changed and isn't working under certain conditions but that's a bit of work. Or just a log with WINEDEBUG=+mountmgr,+volume might help if something's like stuck in a loop. Or if you haven't yet check with a fresh wineprefix. Take your pick. :)
Locked