aic7xxx sets CDR offline, how to reset?

From: CAMTP guest (camtp.guest@uni-mb.si)
Date: Mon Sep 02 2002 - 07:23:10 EST


I'm running 2.4.19, using AIC7XXX 6.2.8.
SCSI devices are 0:0:0 hard disk and 0:6:0 CDR.
During CD burning, errors sometimes occur and aic7xxx driver
sets the CDR offline. Is there a way to reset the device and
set it online again _without_rebooting_ ?

I tried different utilities from "scsitools" and "sg3-utils"
packages (also sg_reset) without any luck. Any suggestion?

Boot:

Aug 31 22:48:51 jerolim kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
Aug 31 22:48:51 jerolim kernel: <Adaptec aic7896/97 Ultra2 SCSI adapter>
Aug 31 22:48:51 jerolim kernel: aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
Aug 31 22:48:51 jerolim kernel: Vendor: IBM Model: DNES-309170W Rev: SA30
Aug 31 22:48:51 jerolim kernel: Type: Direct-Access ANSI SCSI revision: 03
Aug 31 22:48:51 jerolim kernel: Vendor: SONY Model: CD-R CDU948S Rev: 1.0j
Aug 31 22:48:51 jerolim kernel: Type: CD-ROM ANSI SCSI revision: 02
Aug 31 22:48:51 jerolim kernel: scsi0:A:0:0: Tagged Queuing enabled. Depth 8

SCSI abort, CDR offline:

Sep 2 11:26:26 jerolim kernel: DevQ(0:0:0): 0 waiting
Sep 2 11:26:26 jerolim kernel: DevQ(0:6:0): 0 waiting
Sep 2 11:26:26 jerolim kernel: (scsi0:A:6:0): Queuing a recovery SCB
Sep 2 11:26:26 jerolim kernel: scsi0:0:6:0: Device is disconnected, re-queuing SCB
Sep 2 11:26:26 jerolim kernel: Recovery code sleeping
Sep 2 11:26:26 jerolim kernel: (scsi0:A:6:0): Abort Message Sent
Sep 2 11:26:26 jerolim kernel: Recovery code awake
Sep 2 11:26:26 jerolim kernel: Timer Expired
Sep 2 11:26:26 jerolim kernel: aic7xxx_abort returns 0x2003
Sep 2 11:26:26 jerolim kernel: scsi0:0:6:0: Attempting to queue a TARGET RESET message
Sep 2 11:26:26 jerolim kernel: aic7xxx_dev_reset returns 0x2003
Sep 2 11:26:26 jerolim kernel: Recovery SCB completes
Sep 2 11:26:26 jerolim kernel: scsi: device set offline - not ready or command retry failed after bus reset: host 0 channel 0 id 6 lun 0
Sep 2 11:26:26 jerolim kernel: SCSI cdrom error : host 0 channel 0 id 6 lun 0 return code = 10000

-Igor Mozetic
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:15 EST