[ubuntu-it] Porblema Scsi

Andrea Lenarduzzi andreaussi a yahoo.it
Ven 23 Dic 2005 10:47:13 UTC


Sono parecchi mesi che cerco di far funzionare uno scanner scsi,esso funziona 1 secondo poi dopo 1
minuto circa mi da errorre di I/O!
Lo scanner da sane viene visto e riconosciuto,quindi mi verrebbe da pensare ad un errore del
driver!
Queste alcune informazioni: 
andrea a ubuntu:~$ scsiinfo -a /dev/sg0
 Scsiinfo version 1.7(eowmob)

Inquiry command
---------------
Relative Address                   0
Wide bus 32                        0
Wide bus 16                        0
Synchronous neg.                   0
Linked Commands                    0
Command Queueing                   0
SftRe                              0
Device Type                        3
Peripheral Qualifier               0
Removable?                         0
Device Type Modifier               0
ISO Version                        0
ECMA Version                       0
ANSI Version                       2
AENC                               0
TrmIOP                             0
Response Data Format               2
Vendor:                    HP
Product:                   C2520A
Revision level:            3644\uffff\uffff

ioctl(SCSI_IOCTL_SEND_COMMAND) status   = 134217730
Unable to read Rigid Disk Geometry Page 04h
Unable to read Caching Page 08h
Unable to read Format Device Page 03h
Unable to read Read-Write Error Recovery Page 01h
Unable to read Control Mode Page 0ah
Unable to read Disconnect-Reconnect Page 02h
Data from Defect Lists
----------------------
Unable to read manufacturer defect data.
Unable to read grown defect data.
Unable to read Notch and Partition Page 0ch
Unable to read Verify Error Recovery Page 07h
Unable to read Peripheral Device Page 09h

Questo invece il log:
Dec 23 10:51:44 localhost kernel: [  622.804959] scsi0:0:1:0: Attempting to queue an ABORT message
Dec 23 10:51:44 localhost kernel: [  622.804971] CDB: 0x8 0x0 0x0 0x80 0x0 0x0
Dec 23 10:51:44 localhost kernel: [  622.804999] scsi0: At time of recovery, card was not paused
Dec 23 10:51:44 localhost kernel: [  622.805013] >>>>>>>>>>>>>>>>>> Dump Card State Begins
<<<<<<<<<<<<<<<<< Dec 23 10:51:44 localhost kernel: [  622.805017] scsi0: Dumping Card State while
idle, at SEQADDR 0x8 Dec 23 10:51:44 localhost kernel: [  622.805023] Card was paused
Dec 23 10:51:44 localhost kernel: [  622.805031] ACCUM = 0x9f, SINDEX = 0x17, DINDEX = 0x22, ARG_2
= 0x0 Dec 23 10:51:44 localhost kernel: [  622.805037] HCNT = 0x0 SCBPTR = 0x0
Dec 23 10:51:44 localhost kernel: [  622.805044] SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0] 
Dec 23 10:51:44 localhost kernel: [  622.805058] LASTPHASE[0x1]:(P_BUSFREE)
SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) Dec 23 10:51:44 localhost kernel: [  622.805073] SBLKCTL[0x0]
SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) Dec 23 10:51:44 localhost kernel: [  622.805087]
SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED) Dec 23 10:51:44 localhost kernel: [  622.805096]
SSTAT0[0x5]:(DMADONE|SDONE) SSTAT1[0xa]:(PHASECHG|BUSFREE) Dec 23 10:51:44 localhost kernel:
[  622.805110] SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x0] Dec 23 10:51:44 localhost kernel:
[  622.805121] SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) Dec 23 10:51:44 localhost kernel:
[  622.805130] SXFRCTL0[0x80]:(DFON) DFCNTRL[0x0] Dec 23 10:51:44 localhost kernel: [  622.805140]
DFSTATUS[0x2d]:(FIFOEMP|DFTHRESH|HDONE|FIFOQWDEMP) Dec 23 10:51:44 localhost kernel: [  622.805149]
STACK: 0x0 0x160 0x1a1 0x3 Dec 23 10:51:44 localhost kernel: [  622.805160] SCB count = 4
Dec 23 10:51:44 localhost kernel: [  622.805164] Kernel NEXTQSCB = 3
Dec 23 10:51:44 localhost kernel: [  622.805169] Card NEXTQSCB = 3
Dec 23 10:51:44 localhost kernel: [  622.805172] QINFIFO entries: 
Dec 23 10:51:44 localhost kernel: [  622.805177] Waiting Queue entries: 
Dec 23 10:51:44 localhost kernel: [  622.805183] Disconnected Queue entries: 0:2 
Dec 23 10:51:44 localhost kernel: [  622.805190] QOUTFIFO entries: 
Dec 23 10:51:44 localhost kernel: [  622.805195] Sequencer Free SCB List: 1 2 
Dec 23 10:51:44 localhost kernel: [  622.805203] Sequencer SCB Info: 
Dec 23 10:51:44 localhost kernel: [  622.805207]   0 SCB_CONTROL[0x44]:(DISCONNECTED|DISCENB) 
Dec 23 10:51:44 localhost kernel: [  622.805219] SCB_SCSIID[0x17] SCB_LUN[0x0] SCB_TAG[0x2] 
Dec 23 10:51:44 localhost kernel: [  622.805229]   1 SCB_CONTROL[0x0]
SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Dec 23 10:51:44 localhost kernel: [  622.805242]
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Dec 23 10:51:44 localhost kernel:
[  622.805250]   2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) Dec 23 10:51:44
localhost kernel: [  622.805263] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] Dec 23 10:51:44
localhost kernel: [  622.805271] Pending list: Dec 23 10:51:44 localhost kernel: [  622.805275]   2
SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x17] Dec 23 10:51:44 localhost kernel: [  622.805285]
SCB_LUN[0x0] Dec 23 10:51:44 localhost kernel: [  622.805289] Kernel Free SCB list: 1 0 
Dec 23 10:51:44 localhost kernel: [  622.805297] Untagged Q(1): 2 
Dec 23 10:51:44 localhost kernel: [  622.805303] 
Dec 23 10:51:44 localhost kernel: [  622.805305] <<<<<<<<<<<<<<<<< Dump Card State Ends
>>>>>>>>>>>>>>>>>> Dec 23 10:51:44 localhost kernel: [  622.805337] (scsi0:A:1:0): Device is disconnected, re-queuing SCB
Dec 23 10:51:44 localhost kernel: [  622.805346] Recovery code sleeping
Dec 23 10:51:44 localhost kernel: [  623.067897] Recovery SCB completes
Dec 23 10:51:44 localhost kernel: [  623.068076] Recovery code awake
Dec 23 10:51:44 localhost kernel: [  623.068085] aic7xxx_abort returns 0x2002
Dec 23 10:51:44 localhost kernel: [  623.330692] scsi0:0:1:0: Attempting to queue a TARGET RESET
message Dec 23 10:51:44 localhost kernel: [  623.330703] CDB: 0x8 0x0 0x0 0x80 0x0 0x0
Dec 23 10:51:44 localhost kernel: [  623.330715] scsi0:0:1:0: Command not found
Dec 23 10:51:44 localhost kernel: [  623.330722] aic7xxx_dev_reset returns 0x2002
-- 
now you can choose freedom too....
adopting Linux OS


-- 
now you can choose freedom too....
adopting Linux OS


-- 
now you can choose freedom too....
adopting Linux OS


-- 
now you can choose freedom too....
adopting Linux OS




Maggiori informazioni sulla lista ubuntu-it