linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* aic7xxx: first mount always fails
@ 2001-04-13  9:45 David Santinoli
  2001-04-24  4:27 ` Justin T. Gibbs
  0 siblings, 1 reply; 3+ messages in thread
From: David Santinoli @ 2001-04-13  9:45 UTC (permalink / raw)
  To: linux-kernel


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: aic7xxx: first mount always fails
  2001-04-13  9:45 aic7xxx: first mount always fails David Santinoli
@ 2001-04-24  4:27 ` Justin T. Gibbs
  2001-05-04  7:48   ` David Santinoli
  0 siblings, 1 reply; 3+ messages in thread
From: Justin T. Gibbs @ 2001-04-24  4:27 UTC (permalink / raw)
  To: David Santinoli; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: aic7xxx: first mount always fails
  2001-04-24  4:27 ` Justin T. Gibbs
@ 2001-05-04  7:48   ` David Santinoli
  0 siblings, 0 replies; 3+ messages in thread
From: David Santinoli @ 2001-05-04  7:48 UTC (permalink / raw)
  To: linux-kernel

On Mon, Apr 23, 2001 at 10:27:50PM -0600, Justin T. Gibbs wrote:
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-05-04  9:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-13  9:45 aic7xxx: first mount always fails David Santinoli
2001-04-24  4:27 ` Justin T. Gibbs
2001-05-04  7:48   ` David Santinoli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).