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: Guillem Jover
Subject: Re: How to enable a SCSI CD-ROM ?
Date: Thu, 15 Sep 2011 21:56:25 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, 2011-09-15 at 19:24:47 +0200, Thomas Schwinge wrote:
> On Thu, 15 Sep 2011 18:48:17 +0200, "Thomas Schmitt" <scdbackup@gmx.net> 
> wrote:
> > > For example, you could boot a GNU/Linux system, and figure out which SCSI
> > > devices exactly are provided.
> > 
> > I did. RIPLinux-9.3-non-X.iso as emulated IDE CD-ROM boots with
> > 64 bit kernel. An additionally emulated SCSI CD-ROM
> >   -drive file=/dvdbuffer/netinst.iso,if=scsi,bus=4,unit=0,media=cdrom
> > appears as /dev/sr0 and is readable.
> > The emulated IDE CD-ROM appears as /dev/hdc.
> 
> I was thinking about dmesg messages for SCSI; which device driver(s) does
> the Linux kernel use (dmesg), which PCI interface card is emulated
> (lspci), how's the emulated hardware getting configured by the Linux
> kernel, etc.  Then we have to see whether an equivalent device driver
> exists for GNU Mach (or whether it can easily be integrated).

Heh, I went reverse, checked which SCSI host controllers qemu was
providing that could be used from GNU Mach. It appears LSI 53c895A
is the promising one. We already have a driver for that family of
chips just not that specific one. I've made it recognize it and set
the PCI command bit, but it issues wrong I/O operations on the
controller, so something else is bogus. I'm not sure I'll have time
to dig further, so anyone feel free to take it from here.

Preliminary patch attached.

regards,
guillem

Attachment: gnumach-lsi53c895a.patch
Description: Text Data


reply via email to

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