The first attempt at mounting a disc in my Traxdata CDR drive after boot always
fails. From the second on, everything works flawlessly.
Current setup is 2.2.18 kernel + 6.1.11-2.2.18 patch, but I've been experiencing
this behaviour since I bought the adapter (around 2.2.12 or so).
aic7xxx gets loaded as a module.
Here's some diagnostic info from the failed mount. If more is needed, please let
me know.
(of course, a disc _is_ present in the drive).

# modprobe aic7xxx

Apr 13 11:20:04 aidi kernel: ahc_pci:0:12:0: Host Adapter Bios disabled.  Using 
default SCSI device parameters 
Apr 13 11:20:04 aidi kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 
6.1.11 
Apr 13 11:20:04 aidi kernel:         <Adaptec 2902/04/10/15/20/30C SCSI adapter> 
Apr 13 11:20:04 aidi kernel:         aic7850: Single Channel A, SCSI Id=7, 3/255 SCBs 
Apr 13 11:20:04 aidi kernel:  
Apr 13 11:20:04 aidi kernel: scsi : 1 host. 
Apr 13 11:20:10 aidi kernel:   Vendor: Traxdata  Model: CDR4120           Rev: 5.0L 
Apr 13 11:20:10 aidi kernel:   Type:   CD-ROM                             ANSI SCSI 
revision: 02 
Apr 13 11:20:10 aidi kernel: (scsi0:A:6): 10.000MB/s transfers (10.000MHz, offset 15) 


# mount /dev/sr0 /mnt/cd2

Apr 13 11:21:39 aidi kernel: Detected scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0 
Apr 13 11:22:09 aidi kernel: scsi0:0:6:0: Attempting to queue an ABORT message 
Apr 13 11:22:09 aidi kernel: (scsi0:A:6:0): Queuing a recovery SCB 
Apr 13 11:22:09 aidi kernel: scsi0:0:6:0: Device is disconnected, re-queuing SCB 
Apr 13 11:22:09 aidi kernel: Recovery code sleeping 
Apr 13 11:22:09 aidi kernel: (scsi0:A:6:0): Abort Message Sent 
Apr 13 11:22:09 aidi kernel: (scsi0:A:6:0): SCB 3 - Abort Completed. 
Apr 13 11:22:09 aidi kernel: Recovery SCB completes 
Apr 13 11:22:09 aidi kernel: Recovery code awake 
Apr 13 11:22:09 aidi kernel: aic7xxx_abort returns 8194 
Apr 13 11:22:09 aidi kernel: scsi0:0:6:0: Attempting to queue a TARGET RESET message 
Apr 13 11:22:09 aidi kernel: scsi0:0:6:0: Command not found 
Apr 13 11:22:09 aidi kernel: aic7xxx_dev_reset returns 8194 
Apr 13 11:22:14 aidi kernel: sr0: CD-ROM not ready.  Make sure you have a disc in the 
drive. 
Apr 13 11:22:14 aidi kernel: CD-ROM I/O error: dev 0b:00, sector 64 
Apr 13 11:22:14 aidi kernel: isofs_read_super: bread failed, dev=0b:00, iso_blknum=16, 
block=32 


# lspci -v

[snip]
00:0c.0 SCSI storage controller: Adaptec AHA-7850 (rev 03)
        Subsystem: Adaptec AHA-2904/Integrated AIC-7850
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at 9800 [disabled]
        Memory at de800000 (32-bit, non-prefetchable)
        Capabilities: [dc] Power Management version 1
[snip]

Cheers,
 David
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to