All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Schuetz <ssc@mistrust.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] USB-Mass-Storage and OpenBSD 4.7 problem
Date: Mon, 16 Aug 2010 10:07:18 +0200	[thread overview]
Message-ID: <4C68F1B6.508@mistrust.net> (raw)

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

             reply	other threads:[~2010-08-16  8:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-16  8:07 Sebastian Schuetz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-08-28  9:53 [Qemu-devel] USB-Mass-Storage and OpenBSD 4.7 problem Dmitry Novikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C68F1B6.508@mistrust.net \
    --to=ssc@mistrust.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.