On Thu, 2011-09-15 at 17:59 +0200, Thomas Schwinge wrote: > Hi! > > On Thu, 15 Sep 2011 17:17:58 +0200, "Thomas Schmitt" <scdbac...@gmx.net> > wrote: > > Thomas Schwinge: > > But: > > # dd if=/dev/sr0 count=1 bs=2048 skip=16 | strings > > dd: opening `/dev/sr0': No such device or address > > > # devprobe sr0 || echo no > > no
mknod /dev/sr0 b 11 0 settrans -cfgap /dev/sr0 /hurd/storeio sr0 But the translator is running: showtrans /dev/sr0/hurd/blkdev 11 0 # devprobe sr0; echo $? 1 dd if=/dev/sr0 count=1 bs=2048 skip=16 | strings opening `/dev/sr0': No such device or address > > > man kvm on the hosting Debian amd64 does not tell much about SCSI > > other than examples how to set up emulated SCSI drives. > > For example, you could boot a GNU/Linux system, and figure out which SCSI > devices exactly are provided. > > > > The message about CD-ROM at hd2 comes even if i submit no -cdrom to kvm. > > Trying to read it then yields > > # dd if=/dev/hd2 count=1 bs=2048 skip=16 | strings > > dd: reading `/dev/hd2': Input/output error > > Yes, in my understanding, that equals an empty CD-ROM tray. The -cdrom > option specifies the image to use; if none, the tray is empty. With the -cdrom option: dd if=/dev/hd2 count=1 bs=2048 skip=16 | strings 1+0 records in 1+0 records out CD001 LINUX Debian 6.0 h-i386 1 2048 bytes (2.0 kB) copied, 0 s, Infinity B/s GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM 2011061100420200 2011061100420200 0000000000000000 2011061100420200