Skip to contentSkip to conversation

aic7xxx: first mount always fails

DISCUSSION David Santinoli 3 participants 3 messages Apr 13, 2001 – May 4, 2001

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 8 lines

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).

My guess is that your CDROM drive takes longer than most to perform the initial read capacity. There is little to be done for this other than uping the timeout value in the CD driver.

--
Justin

#2 lore raw
In reply to David Santinoli
Quoted 3 lines · Justin T. Gibbs

My guess is that your CDROM drive takes longer than most to perform the initial read capacity. There is little to be done for this other than uping the timeout value in the CD driver.

It was a hardware issue indeed - an upgrade of the drive firmware solved the problem.

Cheers,
David