bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to enable a SCSI CD-ROM ?


From: Thomas Schwinge
Subject: Re: How to enable a SCSI CD-ROM ?
Date: Thu, 15 Sep 2011 15:52:05 +0200
User-agent: Notmuch/0.7-57-g64222ef (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu)

Hi!

Unfortunately, i have not yet found the time to read the messages in your
other thread.  So, I hope I'm answering the correct questions here, being
a bit out of context.


On Thu, 15 Sep 2011 11:35:07 +0200, "Thomas Schmitt" <scdbackup@gmx.net> wrote:
> can anybody remember to have used a SCSI CD-ROM with Hurd ?
> 
> I tried to get access to a virtual one created with kvm:
>   -drive file=/dvdbuffer/netinst.iso,if=scsi,bus=4,unit=0,media=cdrom
> but after booting Hurd, there is no /dev/sr0.
> 
> gnumach/linux/src/include/linux/major.h has
>   #define SCSI_CDROM_MAJOR 11
> So i did
>   mknod /dev/sr0 b 11 0

    $ showtrans /dev/hd2
    /hurd/storeio hd2

Thus you'd need something like this:

    # settrans -cfgap /dev/sr0 /hurd/storeio sr0

... assuming that sr0 is the Mach device name.  You can check if such a
device exists:

    # devprobe hd0
    hd0
    # devprobe moo; echo $?
    1

Also, there is a /dev/MAKEDEV script.

> and rebooted.

Not required.  But you possibly have to take care to deal with replacing
both active and passive translators at /dev/[...].


Grüße,
 Thomas

Attachment: pgpFu7aYv5tkR.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]