All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] USB-Mass-Storage and OpenBSD 4.7 problem
@ 2010-08-16  8:07 Sebastian Schuetz
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Schuetz @ 2010-08-16  8:07 UTC (permalink / raw)
  To: qemu-devel

Hello list,


I am trying to write to an usb image file using OpenBSD 4.7 as guest and 
a fresh "QEMU emulator version 0.12.90". While trying to access the 
device I got the following error messages:


~~~~~~~~snip~~~~~~~~~~~
umass0 at uhub0 port 1 configuration 1 interface 0 "QEMU 0.12.90 QEMU 
USB HARDDRIVE" rev 1.00/0.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd0 at scsibus2 targ 1 lun 0: <QEMU, QEMU HARDDISK, 0.12> SCSI3 0/direct 
fixed
sd0: 1024MB, 512 bytes/sec, 2097152 sec total
umass0: Invalid CSW: sig 0x00000000 should be 0x53425355
umass0: Invalid CSW: sig 0x00000000 should be 0x53425355

# newfs /dev/rsd0a
/dev/rsd0a: 1024.0MB in 2097088 sectors of 512 bytes
6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
super-block backups (for fsck -b #) at:
umass0: Invalid CSW: sig 0x00000000 should be 0x53425355
newfs: wtfs: write error on block 192: Input/output error
# disklabel sd0
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: QEMU HARDDISK
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 130
total sectors: 2097152
rpm: 3600
interleave: 1
boundstart: 0
boundend: 2097152
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
   a:          2097089               63  4.2BSD   2048 16384    1
   c:          2097152                0  unused
#
~~~~~~~~~~~snip~~~~~~~~~~~~


Using some hardware USB-Stick (plugged into the host and forward it to 
the guest) works fine.
Anyone have a clue about it?  Please cc me in your replies because I am 
not subscribed to the list.




Cheers,


Sebastian

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: [Qemu-devel] USB-Mass-Storage and OpenBSD 4.7 problem
@ 2010-08-28  9:53 Dmitry Novikov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Novikov @ 2010-08-28  9:53 UTC (permalink / raw)
  To: qemu-devel; +Cc: ssc

Hello.
I have similar troubles when I trying to pass through usbdevice real
USB stick from Ubuntu 9.10 host (qemu 0.11) to FreeBSD 7.3 or FreeBSD
8.1 guest.

FreeBSD 7.3 guest:
------- cut ------
umass0: Invalid CSW: sig 0x00000000 should be 0x53425355
umass0: BBB reset failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
------- cut ------

FreeBSD 8.1 guest:
------- cut ------
ugen0.2: <vendor 0x1005> at usbus0
umass0: <vendor 0x1005 USB FLASH DRIVE, class 0/0, rev 2.00/1.00, addr
2> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0:0:0:-1: Attached to scbus0
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: < USB FLASH DRIVE 34CD> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 980MB (2007040 512 byte sectors: 64H 32S/T 980C)
(da0:umass-sim0:0:0:0): AutoSense failed
(da0:umass-sim0:0:0:0): AutoSense failed
(da0:umass-sim0:0:0:0): AutoSense failed
(da0:umass-sim0:0:0:0): AutoSense failed
(da0:umass-sim0:0:0:0): AutoSense failed
(da0:umass-sim0:0:0:0): AutoSense failed
(da0:umass-sim0:0:0:0): AutoSense failed
------- cut ------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-28  9:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-16  8:07 [Qemu-devel] USB-Mass-Storage and OpenBSD 4.7 problem Sebastian Schuetz
  -- strict thread matches above, loose matches on Subject: below --
2010-08-28  9:53 Dmitry Novikov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.