* [Qemu-devel] sr 3:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
@ 2008-11-11 11:40 Volkan YAZICI
2008-11-11 15:17 ` Ryan Harper
0 siblings, 1 reply; 4+ messages in thread
From: Volkan YAZICI @ 2008-11-11 11:40 UTC (permalink / raw)
To: qemu-devel
Hi,
In one of our qemu pre-production servers, system dumps thousands of
lines of below error message to the screen. (Below snippet is from dmesg
output.)
sr 3:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
Additional sense: Medium not present
end_request: I/O error, dev sr0, sector 68
I suspect USB disk mounted as /dev/sdb1 to be the cause of the
problem. Below are some related qemu statistics.
(qemu) info block
info block
ide1-cd0: type=cdrom removable=1 locked=0 file=/dev/cdrom ro=0 drv=host_device
ide0-hd0: type=hd removable=0 file=/home/windows/qcow2-20g.img ro=0 drv=qcow2
ide0-hd1: type=hd removable=0 file=/home/windows/qcow2-40g.img ro=0 drv=qcow2
ide1-hd1: type=hd removable=0 file=/home/windows/qcow2-430g.img ro=0 drv=qcow2
floppy0: type=floppy removable=1 locked=0 [not inserted]
sd0: type=floppy removable=1 locked=0 [not inserted]
(qemu) info blockstats
info blockstats
ide1-cd0: rd_bytes=0 wr_bytes=0 rd_operations=0 wr_operations=0
ide0-hd0: rd_bytes=324134400 wr_bytes=20435968 rd_operations=49396 wr_operations=1952
ide0-hd1: rd_bytes=3418112 wr_bytes=403456 rd_operations=552 wr_operations=30
ide1-hd1: rd_bytes=40713728 wr_bytes=877568 rd_operations=6536 wr_operations=120
floppy0: rd_bytes=0 wr_bytes=0 rd_operations=0 wr_operations=0
sd0: rd_bytes=0 wr_bytes=0 rd_operations=0 wr_operations=0
Does anybody have an idea? What might be the problem?
Regards.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] sr 3:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
2008-11-11 11:40 [Qemu-devel] sr 3:0:0:0: Device not ready: <6>: Current: sense key: Not Ready Volkan YAZICI
@ 2008-11-11 15:17 ` Ryan Harper
2008-11-11 15:22 ` [Qemu-devel] " Volkan YAZICI
0 siblings, 1 reply; 4+ messages in thread
From: Ryan Harper @ 2008-11-11 15:17 UTC (permalink / raw)
To: Volkan YAZICI; +Cc: qemu-devel
* Volkan YAZICI <yazicivo@ttmail.com> [2008-11-11 05:56]:
> Hi,
>
> In one of our qemu pre-production servers, system dumps thousands of
> lines of below error message to the screen. (Below snippet is from dmesg
> output.)
>
> sr 3:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
> Additional sense: Medium not present
> end_request: I/O error, dev sr0, sector 68
>
> I suspect USB disk mounted as /dev/sdb1 to be the cause of the
> problem. Below are some related qemu statistics.
Actually, I think it is the cdrom device. I've been seeing these as
well, and there are likely to be related to the scsi sense codes that
have been recently added.
--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253 T/L: 678-9253
ryanh@us.ibm.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Qemu-devel] Re: sr 3:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
2008-11-11 15:17 ` Ryan Harper
@ 2008-11-11 15:22 ` Volkan YAZICI
2008-11-11 16:19 ` Ryan Harper
0 siblings, 1 reply; 4+ messages in thread
From: Volkan YAZICI @ 2008-11-11 15:22 UTC (permalink / raw)
To: Ryan Harper; +Cc: qemu-devel
On Tue, 11 Nov 2008, Ryan Harper <ryanh@us.ibm.com> writes:
> Actually, I think it is the cdrom device. I've been seeing these as
> well, and there are likely to be related to the scsi sense codes that
> have been recently added.
Any suggestions for the fix?
Regards.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Re: sr 3:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
2008-11-11 15:22 ` [Qemu-devel] " Volkan YAZICI
@ 2008-11-11 16:19 ` Ryan Harper
0 siblings, 0 replies; 4+ messages in thread
From: Ryan Harper @ 2008-11-11 16:19 UTC (permalink / raw)
To: Volkan YAZICI; +Cc: Ryan Harper, qemu-devel
* Volkan YAZICI <yazicivo@ttmail.com> [2008-11-11 09:31]:
> On Tue, 11 Nov 2008, Ryan Harper <ryanh@us.ibm.com> writes:
> > Actually, I think it is the cdrom device. I've been seeing these as
> > well, and there are likely to be related to the scsi sense codes that
> > have been recently added.
>
> Any suggestions for the fix?
Not yet, I've not had a chance to dig into it just yet. You could try
svn before Fri Oct 17 08:08:56 2008 +0000 which I believe is when the
sense codes were committed, "scsi-generic: correct error management" in
the commit log. If you try a version before that, and you no longer see
the error codes then that confirms it's the sense codes that are causing
issues and hopefully we can track down if we're sending the wrong code,
or something else.
--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253 T/L: 678-9253
ryanh@us.ibm.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-11-11 16:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-11 11:40 [Qemu-devel] sr 3:0:0:0: Device not ready: <6>: Current: sense key: Not Ready Volkan YAZICI
2008-11-11 15:17 ` Ryan Harper
2008-11-11 15:22 ` [Qemu-devel] " Volkan YAZICI
2008-11-11 16:19 ` Ryan Harper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).