Unable to reread SCSI optical disks

James Box james en barrscourt.co.uk
Lun Ene 24 18:35:46 CST 2000


I have an old MaxOptix optical drive that has been used for years
to back up the weekly data on a SCO Unix machine. Now the machine
has been upgraded with new hardware and Redhat Linux, I would
still like to be read in all the old data.

The optical drive is connected to an Adaptec 1540 SCSI controller
and the driver is compiled as a module. Once the module is
loaded, it finds the drive and the disk and tells me the partition
of where the data is stored. I can then mount and access the
data on the sysv filesystem.

My problem comes when I unmount the disk, eject it and insert a
different disk. It appears to mount ok but when I look at the
data it has the directory structure that was on the old disk
and I am unable to read anything. Is there some reason why
it did not reread the directory structure?

Here is some relevant information and copy of the log entries:
Single Intel Pentium III-450 on a Dual board (MicroStar)
Onboard SCSI controller (Adaptec AIC-7895) for hard disk
Offboard ISA SCSI controller (Adaptec 1540) for optical
MaxOptix T3-1301 Optical drive
RedHat Linux 5.2 base
Kernels tried with no difference (2.0.36, 2.2.12, 2.2.14)
This is a main server so development kernels are not recommended.

Jan 24 14:12:38 zeus kernel: scsi : 2 hosts.
Jan 24 14:13:07 zeus kernel: Configuring Adaptec (SCSI-ID 7) at IO:330, IRQ 15, DMA priority 5
Jan 24 14:13:07 zeus kernel: scsi2 : Adaptec 1542
Jan 24 14:13:07 zeus kernel: scsi : 3 hosts.
Jan 24 14:13:08 zeus kernel:   Vendor: Maxoptix  Model: T3-1301           Rev: 1.1c
Jan 24 14:13:08 zeus kernel:   Type:   Optical Device                     ANSI SCSI revision: 02
Jan 24 14:13:08 zeus kernel: Detected scsi removable disk sdb at scsi2, channel 0, id 4, lun 0
Jan 24 14:13:08 zeus kernel: Wrong buffer length supplied for request sense (256)
Jan 24 14:13:08 zeus kernel: SCSI device sdb: hdwr sector= 512 bytes. Sectors= 1163337 [568 MB] [0.6 GB]
Jan 24 14:13:08 zeus kernel: sdb: Write Protect is off
Jan 24 14:13:08 zeus kernel:  sdb: sdb4
Jan 24 14:13:20 zeus kernel: VFS: Found a SystemV FS (block size = 1024) on device 08:14
Jan 24 14:15:16 zeus kernel: Wrong buffer length supplied for request sense (256)
Jan 24 14:15:16 zeus kernel: VFS: Found a SystemV FS (block size = 1024) on device 08:14

Please CC any replies to me.

Thanks, James
-- 
James Box                            ** james en barrscourt.co.uk **
Technical Support Manager
Barrs Court Computer Systems, Longwell Green, Bristol.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda