Still Having Fun with SCSI Emulation.

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

 



Do you reference ide-scsi in your lilo.conf? I have it as:

append =3D "hdc=3Dide-scsi hde=3Dide-scsi"
=20
On Thu, 10 Jan 2002, Martin G. McCormick wrote:

> 	I built my kernel which is 2.217 and selected SCSI
> support.  I also selected SCSI emulation as there is no SCSI
> hardware.  There is an ATAPI CDROM and the new Plextor CDRW drive
> will simply plug in to a remaining IDE slot on one of the
> controllers which are in the system.
>=20
> 	Because of that, I also selected SCSI CDROM support
> and the generic support.  The only thing I didn't select was any
> hardware SCSI controllers, hard disk support or tape support.
>=20
> 	My /dev directory shows SG devices as in /dev/sg1, etc.
>=20
> 	When I boot, the dmesg output says the following
> regarding SCSI devices:
>=20
> scsi0 : SCSI host adapter emulation for IDE ATAPI devices
> scsi : 1 host.
> scsi : detected total.
>=20
> 	I am not sure if there should be something in the last
> line that says
> scsi : detected total.
>=20
> 	Then, I try something from root like
>=20
> cdrecord -scanbus
>=20
> I get
>=20
> cdrecord: No such file or directory. Cannot open SCSI driver.
> cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you a=
re root.
> Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J=F6rg Schilli=
ng
>=20
> 	Well, I was root when I did that and that was cdrecord
> -scanbus.
>=20
> 	If I try a lucky guess like  cdda2wav -D/dev/sg1, I get
> the following error:
>=20
> cdda2wav: Bad file descriptor. Cannot open SCSI driver.
> open(/dev/sg1) in file interface.c, line 474
> Use the script scan_scsi.linux to find out more.
> Probably you did not define your SCSI device.
> You can scan the SCSI bus(es) with 'cdrecord -scanbus'.
> Set the CDDA_DEVICE environment variable or use the -D option.
> You can also define the default device in the Makefile.
>=20
> 	The debug option for cdrecord told me that the device
> spec points to a null pointer which means that it is not set yet
> and explains why nothing else works.  I could certainly set the
> device name if I knew one that works.
>=20
> 	By the way, I am using a 2.217 kernel because the 2.4x
> kernels seem to not respond to aumix settings.  I think I'll mess
> with one problem at a time.  I did compile a 2.410 kernel and had
> exactly the same SCSI weirdness.
>=20
> 	I think I maybe have missed a step or are
> misunderstanding instructions in the documentation.  Right now,
> nothing quite adds up.
>=20
>=20
>=20
> _______________________________________________
> 
> Blinux-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
>=20

--=20
=09
				Janina Sajka, Director
				Technology Research and Development
				Governmental Relations Group
				American Foundation for the Blind (AFB)

Email: janina@afb.net		Phone: (202) 408-8175

Chair, Accessibility SIG
Open Electronic Book Forum (OEBF)
http://www.openebook.org





[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]