[2375] in linux-scsi channel archive
CD-ROM not working -or- Some serious SCSI screw-up
daemon@ATHENA.MIT.EDU (Neon Spiral Injector)
Fri Aug 29 01:04:07 1997
Date: Thu, 28 Aug 1997 18:48:48 -0400 (EDT)
From: Neon Spiral Injector <clubneon@safari.net>
Reply-To: Neon Spiral Injector <clubneon@safari.net>
To: linux-scsi@vger.rutgers.edu
O'kay, first let me say, I have looked _everywhere_ for help with this
problem. Spent many days chatting in #linux on EFnet, trying everything
the people there suggested, but nothing has worked yet. I'm just hoping
that there are some people reading this mailing list that know what they
are doing, and that it isn't just a collection of people looking for
solutions with no one here to help.
I will now attempt to describe my problem, what hardware I have, a the
general things I have tried.
First the problem: When I try to access my CD-ROM drive, either by
mounting it, or even a `dd` read from the drive my system halts up pretty
good. It isn't a total lockup, I can still change consoles, and before I
change I can use the scroll back feature, but I can't type real characters
to any console, and Ctrl-Alt-Del doesn't work. So I have to hit the reset
button. If anyone wants to know the exact error messages spit out when
the lockup happens, I can cause it to happen again, but perfer not to (do
to having to reset on a mounted file system), and that I'll have to copy
all the messages by hand, cause they don't get logged anywhere, and gpm is
obviously not working. Yeah, I know you'll probally need them.
My hardware: This is surely the root of my problems, but this
configuration worked great under DOS, and almost as well with WinNT.
First my CD-ROM drive is a NEC 210 2x SCSI, it is controlled by a
Media Vision ProAudio Spectrum 16 Memphis. Also in the system is a
Adaptec AHA-1522 which is controlling 2 SCSI hard drives. Also even
though it isn't SCSI, I have an on motherboard IDE controller controlling
1 IDE drive. All that stuff seems to be pretty well supported by Linux
alone, but part of the problem may be in putting it all together. One
more note that may be important, is what exactly a PAS16 Memphis is. The
Memphis is a full multimedia kit from MediaVision. It uses a modified
PAS16 card that basicly has been split in half. The main functions of the
card still reside inside the compture, and pretty much resembles a normal
PAS16, but on the back of the card is a 38 pin socket that connects to the
other half of the card. The other half has the audio in/out jacks, two
midi jacks, powered speakers, and the CD-ROM drive inclosed in a nice
little box. Along with the CD-ROM drive there is a set of audio cd
buttons, performing your usual track back, stop, play/pause, and track
forward functions. This control pannel is also a SCSI device set to ID 6
(the drive is 1, and the controller is 7 like normal).
Things I have tried/noticed when trying to get this to work: I have read
the CD-ROM and SCSI HOWTOs so many times, I know them by heart. And like
I said I have talked to so many people in the #linux irc channel all of
whom have given me really great ideas to try, but nothing has worked. I
have tried rebuilding the kernel with out multiple lun support as default,
and then I even tried it with it. Mounting the drive without a CD in it
just returns this error (doesn't halt):
mount: block device /dev/cdrom is write-protected, mounting read-only
sr_photocd: ioctl error (NEC): 0x28000000
CD-ROM I/O error: dev 0b:00, sector 64
isofs_read_super: bread failed, dev 0b:00 iso_blknum 16 block 32
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems
sr_photocd: ioctl error (NEC): 0x28000000
Which looks pretty normal (maybe).
O'kay, despite what I said before, I'm going to risk personal safety and
crash my system, so I can tell you what errors I get:
scsi: aborting command due to timeout: pid 7466, scsi1, channel 0, id 0,
lun 0
0x08 00 00 10 01 00
(and then I get this twice)
scsi1: aborting command
scsi1: destination target 0, lun 0
command = 0x08 00 00 10 01 00
NCR5380: coroutine is running.
STATUS_REG: 64, BSY, REQ, 10
BASR: 48
IRC: 00
MODE: 02, MODE DMA
scsi1: phase DATAIN
NCR5380 core release=7. PAS16 release=3
Base Addr: 0x000000 io_port: 0388 IRQ: 10.
Highwater I/O busy_spins_counts -- write: 0 read: 0
NCR5380: coroutine is running.
scsi1: destination target 0, lun 0
command 8(0x08) 00 00 10 01 00
scsi1 issue_queue
scsi1 dissconnected_queue
And that is it. Oh, BTW I can still type on the console with those
errors, but no others. Also the lights on my CD-ROM drive (busy and 2x)
both stay lite for about 5? minutes, and then go out. The system never
recovers.
Under DOS, as I said everything always worked wonderfully, Win95 also
worked great, auto detected everything and soft-configured it right.
Windows NT was a bit more of a headache. First the PAS/Trantor drivers
have been discontinued for NT, and were moved to a hard to find dir on the
CD, but after I wrote them to a disk and got the install program to load
them, the rest of the setup worked fine. But at the first boot of NT, it
seeked the drive the lights would come on and then hang. But after about
5? (about the same period of time as Linux) minutes the lights would go
off, and booting resumed. This would happen everytime I booted NT, but
the CD-ROM worked fine once I was in.
I have totally removed all other OSes from my system, and only have Linux
on it. I don't have any Linux CDs, but now I have DOSEmu and Wine
running, and wanted to see what they could do, but have no way to read any
CDs.
So, thank you for reading my cry for help. Hopefully someone out there
will know what I can do to fix this problem. I am pretty good with
computers, though still learning all the ins and outs of Linux, but when
it comes to modifing source and trouble shooting, I can follow dirrections
very well, and am willing to try just about anything.
Sincerly,
Chris Meadors
(Neon Sprial Injector)
Club Neon