Ik heb de laatste tijd op m'n gentoo servertje een probleem. De schijf waar de homedirs op staan stop er af en toe mee. Soms door het helemaal niet meer te doen, soms door de toegang tot bepaalde files te weigeren. Het is een compaq scsi schijf op de volgende controller volgens lspci:
Ik heb er al een andere kabel aan geprobeerd, en ook het er tussenuit halen van de HD slede helpt niet. Het is vanaf het begin van de server begonnen met het af en toe hangen van de complete server, m'n log gaf dan de volgende text:
Verder gebruik ik de volgend low-level kernel driver:
(copy/paste uit m'n kernel instellingen)
Heeft iemand enig idee waardoor dit kan komen/hoe te verhelpen. Aangezien het nogal vervelend is als opeens je niet meer bij je homedir kunt komen
.
code:
1
| 00:06.0 SCSI storage controller: Adaptec AHA-2940U2/U2W / 7890/7891 |
Ik heb er al een andere kabel aan geprobeerd, en ook het er tussenuit halen van de HD slede helpt niet. Het is vanaf het begin van de server begonnen met het af en toe hangen van de complete server, m'n log gaf dan de volgende text:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
| Aug 8 23:24:30 localhost scsi0:0:1:0: Attempting to queue an ABORT message Aug 8 23:24:30 localhost CDB: 0x28 0x0 0x0 0x74 0x0 0x5f 0x0 0x0 0x8 0x0 Aug 8 23:24:30 localhost scsi0: At time of recovery, card was not paused Aug 8 23:24:30 localhost >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<< Aug 8 23:24:30 localhost scsi0: Dumping Card State while idle, at SEQADDR 0x9 Aug 8 23:24:30 localhost Card was paused Aug 8 23:24:30 localhost ACCUM = 0x0, SINDEX = 0x23, DINDEX = 0xe4, ARG_2 = 0x0 Aug 8 23:24:30 localhost HCNT = 0x0 SCBPTR = 0x16 Aug 8 23:24:30 localhost SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x1]:(P_BUSFREE) Aug 8 23:24:30 localhost SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) SBLKCTL[0xa]:(SELWIDE|SELBUSB) Aug 8 23:24:30 localhost SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED) Aug 8 23:24:30 localhost SSTAT0[0x0] SSTAT1[0xa]:(PHASECHG|BUSFREE) SSTAT2[0x0] Aug 8 23:24:30 localhost SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP) SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) Aug 8 23:24:30 localhost SXFRCTL0[0x80]:(DFON) DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) Aug 8 23:24:30 localhost STACK: 0x0 0x167 0x10d 0x3 Aug 8 23:24:30 localhost SCB count = 44 Aug 8 23:24:30 localhost Kernel NEXTQSCB = 25 Aug 8 23:24:30 localhost Card NEXTQSCB = 25 Aug 8 23:24:30 localhost QINFIFO entries: Aug 8 23:24:30 localhost Waiting Queue entries: Aug 8 23:24:30 localhost Disconnected Queue entries: 20:41 Aug 8 23:24:30 localhost QOUTFIFO entries: Aug 8 23:24:30 localhost Sequencer Free SCB List: 22 16 9 11 21 26 27 0 25 24 8 2 30 7 19 18 1 14 29 6 12 4 31 28 13 15 3 23 5 10 17 Aug 8 23:24:30 localhost Sequencer SCB Info: Aug 8 23:24:30 localhost 0 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 1 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 2 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 3 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 4 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 5 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 6 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 7 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 8 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 9 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 10 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 11 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 12 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 13 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 14 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 15 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 16 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 17 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 18 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 19 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 20 SCB_CONTROL[0x64]:(DISCONNECTED|TAG_ENB|DISCENB) SCB_SCSIID[0x17] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0x29] Aug 8 23:24:30 localhost 21 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 22 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 23 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 24 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 25 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 26 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 27 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 28 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 29 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 30 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x17] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost 31 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x7] Aug 8 23:24:30 localhost SCB_LUN[0x0] SCB_TAG[0xff] Aug 8 23:24:30 localhost Pending list: Aug 8 23:24:30 localhost 41 SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x17] Aug 8 23:24:30 localhost SCB_LUN[0x0] Aug 8 23:24:30 localhost Kernel Free SCB list: 35 37 27 2 38 18 10 40 20 17 0 6 9 36 15 33 23 13 43 7 32 11 31 42 26 12 34 14 39 24 3 28 5 22 21 16 19 1 30 4 8 29 Aug 8 23:24:30 localhost Aug 8 23:24:30 localhost <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> Aug 8 23:24:30 localhost (scsi0:A:1:0): Device is disconnected, re-queuing SCB Aug 8 23:24:30 localhost Recovery code sleeping Aug 8 23:24:31 localhost Recovery SCB completes Aug 8 23:24:31 localhost Recovery code awake Aug 8 23:24:31 localhost aic7xxx_abort returns 0x2002 Aug 8 23:24:31 localhost scsi0:0:1:0: Attempting to queue a TARGET RESET message Aug 8 23:24:31 localhost CDB: 0x28 0x0 0x0 0x74 0x0 0x5f 0x0 0x0 0x8 0x0 Aug 8 23:24:31 localhost scsi0:0:1:0: Command not found Aug 8 23:24:31 localhost aic7xxx_dev_reset returns 0x2002 |
Verder gebruik ik de volgend low-level kernel driver:
code:
1
2
3
4
5
6
| <*> Adaptec AIC7xxx Fast -> U160 support (New Driver) (32) Maximum number of TCQ commands per device (15000) Initial bus reset delay in milli-seconds [*] Compile in Debugging Code (0) Debug code enable mask (2047 for all debugging) [*] Decode registers during diagnostics |
(copy/paste uit m'n kernel instellingen)
Heeft iemand enig idee waardoor dit kan komen/hoe te verhelpen. Aangezien het nogal vervelend is als opeens je niet meer bij je homedir kunt komen
The easiest way to solve a problem is just to solve it.