Greetings, I need advise as to what might've become bollixed after a
kernel upgrade.
Problem: Unable to mount the scsi (real, native, scsi cd burner for
reading).
Symptoms: mount /dev/sr0 will immediately spool up the cd-r/w after
3-5 minutes of running a message is printed: media not found. Or
sometimes: too many files systems mounted, or bad block, or wrong file
system type. At this point if one does "cdrecord -scanbus" the device
will have been removed from the bus, invocation of Xcdroast will confirm
by stating :" something on the scsi bus has changed, please run config."
A reboot (hard boot) later and everything is back on the bus and
addressable, one may burn cd's but not read them from the native scsi
device. The IDE cdrom works fine and is running in scsi emulation. I
have mucked about changing /etc/fstab device names and relinking
(/dev/scd0 instead of /dev/sr0, etc.) to no difference. Also noted are
links in the home dir. that were never there before, deleting these
cause no problems but they are returned at each reboot. The mount point
"/cdrom" seems to have been added to at the time of the kernel update
also (the mount point dir. /cdrom now has a subdir. //cdrom0 which makes
no sense to me) the additional sub directory will always reinstall if
removed at subsequent reboots.
DAMN annoying, as my Microlite BackupEdge/RecoverEdge software is now an
expensive virtual boat anchor!!!! It requires that the cdr device be
able to read and write.
I was thinking the there is something someplace about max_devices
sometimes needing to be reset with the 2.4.18 and upward kernels (at
least on Debian), and dim memory vaguely recollects some type of scsi
wait/time out issues with some cd devices, BUT, I am not sure where or
how to proceed.
System: Debian 3.0,2.4.19-k6,
Attached are some files I hope will be descriptive and helpful. NOTE:
these are from a state where the cd burner is recognized and would run
through cdrecord or what you will. As a quick after thought, I wonder if
perhaps the proper Cdr. device in the 2.4.xxx series for cdrecord,
cdparanioa might not be an sg designation? If so how to set/ find proper
sg#? I've never understood the hdc: FX3400S, ATAPI CD/DVD-ROM drive
thing as it is clearly being controlled through ide_scsi and is fully
usable (being mountable as a cdrom which it is, not a cdr/w). any help
will be very welcome, I don't have a clue what next to try. tia, matthew
0
dev_max(currently)=9 max_active_device=4 (origin 1)
scsi_dma_free_sectors=144 sg_pool_secs_aval=320 def_reserved_size=32768
32768
host chan id lun type opens qdepth busy online
HP HP35480A 1009
YAMAHA CRW2100S 1.0H
HP C7670A 3925
MITSUMI CD-ROM FX3400S!B u01
0 0 0 0 1 0 2 0 1
0 0 4 0 5 0 2 0 1
0 0 6 0 3 0 2 0 1
1 0 0 0 5 0 5 0 1
uid busy cpl scatg isa emul
Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8 <Adaptec 2930CU SCSI
adapter> aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
SCSI host adapter emulation for IDE ATAPI devices
0 0 2 128 0 0
0 0 5 256 0 1
30124 Version: 3.1.24 (20020505)
CD-ROM information, Id: cdrom.c 3.12 2000/10/18
drive name: sr1 sr0
drive speed: 34 40
drive # of slots: 1 1
Can close tray: 1 1
Can open tray: 1 1
Can lock tray: 1 1
Can change speed: 1 1
Can select disk: 0 0
Can read multisession: 1 1
Can read MCN: 1 1
Reports media changed: 1 1
Can play audio: 1 1
Can write CD-R: 0 1
Can write CD-RW: 0 1
Can read DVD: 0 0
Can write DVD-R: 0 0
Can write DVD-RAM: 0 0