From owner-freebsd-bugs Wed Dec 13 18: 0: 8 2000 From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 13 18:00:03 2000 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F12DD37B698 for ; Wed, 13 Dec 2000 18:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBE202m89705; Wed, 13 Dec 2000 18:00:02 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 13 Dec 2000 18:00:02 -0800 (PST) Resent-Message-Id: <200012140200.eBE202m89705@freefall.freebsd.org> Resent-From: gnats-admin@FreeBSD.org (GNATS Management) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: gnats-admin@FreeBSD.org, amagai@nue.org Received: from may.nue.org (may.nue.org [192.5.216.80]) by hub.freebsd.org (Postfix) with ESMTP id 4F0D937B402 for ; Wed, 13 Dec 2000 17:52:11 -0800 (PST) Received: by may.nue.org (8.11.1/nue.mxn1); Thu, 14 Dec 2000 10:52:10 +0900 (JST) <200012140152.eBE1qA937507@may.nue.org> sender amagai from Message-Id: <200012140152.eBE1qA937507@may.nue.org> Date: Thu, 14 Dec 2000 10:52:10 +0900 (JST) From: amagai@nue.org (Y.Amagai) Reply-To: amagai@nue.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/23536: HDD HITACHI DK32 broken tagged queueing Resent-Sender: gnats@FreeBSD.org Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 23536 >Category: kern >Synopsis: HDD HITACHI DK32 broken tagged queueing >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 13 18:00:02 PST 2000 >Closed-Date: >Last-Modified: >Originator: Y.Amagai >Release: FreeBSD 3.5-STABLE i386 >Organization: >Environment: Super Micro SUPERSERVER6010H, PentiumIII 933MHz, 1GByte Memory, ServerWorks ServerSet III HE LE chipset, Adaptec AIC-7899 Ultra 160 on board SCSI controller chip >Description: We use HITACHI DK32CJ-36MC HDD as follows /kernel: ahc0: port 0xd000-0xd0ff mem 0xfe6fc000-0xfe6fcfff irq 5 at device 5.0 on pci0 /kernel: aic7899: Wide Channel A, SCSI Id=7, 32/255 SCBs /kernel: da0 at ahc0 bus 0 target 9 lun 0 /kernel: da0: Fixed Direct Access SCSI-3 device /kernel: da0: 160.000MB/s transfers (80.000MHz, offset 126, 16bit) /kernel: da0: 35256MB (72205440 512 byte sectors: 255H 63S/T 4494C) With tagged queueing, the disk will be timed out in Command phase in load. Dec 12 10:55:35 host /kernel: (da0:ahc0:0:9:0): SCB 0x31 - timed out in Command phase, SEQADDR == 0x166 Dec 12 10:55:54 host /kernel: STACK == 0x174, 0x15e, 0x174, 0x2e Dec 12 10:55:54 host /kernel: SXFRCTL0 == 0x88 Dec 12 10:55:54 host /kernel: SCB count = 255 Dec 12 10:55:54 host /kernel: QINFIFO entries: 32 41 65 52 85 100 63 40 64 24 53 60 250 109 18 107 10 28 62 22 106 2 29 31 76 73 23 74 5 21 108 47 93 44 3 92 77 96 13 27 33 46 70 50 8 84 90 102 42 48 75 30 105 87 43 95 37 88 91 97 68 94 55 17 81 0 7 80 59 98 36 16 103 35 69 4 83 45 66 78 15 104 34 39 20 11 38 99 82 19 1 86 79 61 58 51 12 54 6 26 72 71 25 14 56 67 89 57 Dec 12 10:55:54 host /kernel: Waiting Queue entries: Dec 12 10:55:54 host /kernel: Disconnected Queue entries: 30:49 Dec 12 10:55:54 host /kernel: QOUTFIFO entries: Dec 12 10:55:54 host /kernel: Sequencer Free SCB List: 17 24 15 10 25 18 0 22 31 11 27 29 19 4 13 9 7 5 8 14 21 12 2 20 16 26 28 1 6 23 Dec 12 10:55:54 host /kernel: Pending list: 57 89 67 56 14 25 71 72 26 6 54 12 51 58 61 79 86 1 19 82 99 38 11 20 39 34 104 15 78 66 45 83 4 69 35 103 16 36 98 59 80 7 0 81 17 55 94 68 97 91 88 37 95 43 87 105 30 75 48 42 102 90 84 8 50 70 46 33 27 13 96 77 92 3 44 93 47 108 21 5 74 23 73 76 31 29 2 106 22 62 28 10 107 18 109 250 60 53 24 64 40 63 100 85 52 65 41 32 101 49 Dec 12 10:55:54 host /kernel: Kernel Free SCB list: 119 251 252 253 254 240 241 242 243 244 245 246 247 248 249 230 231 232 233 234 235 236 237 238 239 220 221 222 223 224 225 226 227 228 229 210 211 212 213 214 215 216 217 218 219 200 201 202 203 204 205 206 207 208 209 190 191 192 193 194 195 196 197 198 199 180 181 182 183 184 185 186 187 188 189 170 171 172 173 174 175 176 177 178 179 160 161 162 163 164 165 166 167 168 169 150 151 152 153 154 155 156 157 158 159 140 141 142 143 144 145 146 147 148 149 130 131 132 133 134 135 136 137 138 139 120 121 122 123 124 125 126 127 128 129 110 111 112 113 114 115 116 117 118 Dec 12 10:55:54 host /kernel: sg[0] - Addr 0x6bc6c00 : Length 1024 Dec 12 10:55:54 host /kernel: (da0:ahc0:0:9:0): Other SCB Timeout Dec 12 10:55:54 host /kernel: (da0:ahc0:0:9:0): SCB 0x65 - timed out in Command phase, SEQADDR == 0x166 Dec 12 10:55:54 host /kernel: STACK == 0x174, 0x15e, 0x174, 0x2e Dec 12 10:55:54 host /kernel: SXFRCTL0 == 0x88 Dec 12 10:55:54 host /kernel: SCB count = 255 Dec 12 10:55:54 host /kernel: QINFIFO entries: 32 41 65 52 85 100 63 40 64 24 53 60 250 109 18 107 10 28 62 22 106 2 29 31 76 73 23 74 5 21 108 47 93 44 3 92 77 96 13 27 33 46 70 50 8 84 90 102 42 48 75 30 105 87 43 95 37 88 91 97 68 94 55 17 81 0 7 80 59 98 36 16 103 35 69 4 83 45 66 78 15 104 34 39 20 11 38 99 82 19 1 86 79 61 58 51 12 54 6 26 72 71 25 14 56 67 89 57 Dec 12 10:55:54 host /kernel: Waiting Queue entries: Dec 12 10:55:55 host /kernel: Disconnected Queue entries: 30:49 Dec 12 10:55:55 host /kernel: QOUTFIFO entries: Dec 12 10:55:55 host /kernel: Sequencer Free SCB List: 17 24 15 10 25 18 0 22 31 11 27 29 19 4 13 9 7 5 8 14 21 12 2 20 16 26 28 1 6 23 Dec 12 10:55:55 host /kernel: Pending list: 57 89 67 56 14 25 71 72 26 6 54 12 51 58 61 79 86 1 19 82 99 38 11 20 39 34 104 15 78 66 45 83 4 69 35 103 16 36 98 59 80 7 0 81 17 55 94 68 97 91 88 37 95 43 87 105 30 75 48 42 102 90 84 8 50 70 46 33 27 13 96 77 92 3 44 93 47 108 21 5 74 23 73 76 31 29 2 106 22 62 28 10 107 18 109 250 60 53 24 64 40 63 100 85 52 65 41 32 101 49 Dec 12 10:55:55 host /kernel: Kernel Free SCB list: 119 251 252 253 254 240 241 242 243 244 245 246 247 248 249 230 231 232 233 234 235 236 237 238 239 220 221 222 223 224 225 226 227 228 229 210 211 212 213 214 215 216 217 218 219 200 201 202 203 204 205 206 207 208 209 190 191 192 193 194 195 196 197 198 199 180 181 182 183 184 185 186 187 188 189 170 171 172 173 174 175 176 177 178 179 160 161 162 163 164 165 166 167 168 169 150 151 152 153 154 155 156 157 158 159 140 141 142 143 144 145 146 147 148 149 130 131 132 133 134 135 136 137 138 139 120 121 122 123 124 125 126 127 128 129 110 111 112 113 114 115 116 117 118 Dec 12 10:55:55 host /kernel: sg[0] - Addr 0xe143000 : Length 4096 Dec 12 10:55:55 host /kernel: (da0:ahc0:0:9:0): BDR message in message buffer Dec 12 10:55:55 host /kernel: (da0:ahc0:0:9:0): SCB 0x65 - timed out in Command phase, SEQADDR == 0x166 Dec 12 10:55:55 host /kernel: STACK == 0x174, 0x15e, 0x174, 0x2e Dec 12 10:55:55 host /kernel: SXFRCTL0 == 0x88 Dec 12 10:55:55 host /kernel: SCB count = 255 Dec 12 10:55:55 host /kernel: QINFIFO entries: 32 41 65 52 85 100 63 40 64 24 53 60 250 109 18 107 10 28 62 22 106 2 29 31 76 73 23 74 5 21 108 47 93 44 3 92 77 96 13 27 33 46 70 50 8 84 90 102 42 48 75 30 105 87 43 95 37 88 91 97 68 94 55 17 81 0 7 80 59 98 36 16 103 35 69 4 83 45 66 78 15 104 34 39 20 11 38 99 82 19 1 86 79 61 58 51 12 54 6 26 72 71 25 14 56 67 89 57 Dec 12 10:55:55 host /kernel: Waiting Queue entries: Dec 12 10:55:55 host /kernel: Disconnected Queue entries: 30:49 Dec 12 10:55:55 host /kernel: QOUTFIFO entries: Dec 12 10:55:55 host /kernel: Sequencer Free SCB List: 17 24 15 10 25 18 0 22 31 11 27 29 19 4 13 9 7 5 8 14 21 12 2 20 16 26 28 1 6 23 Dec 12 10:55:55 host /kernel: Pending list: 57 89 67 56 14 25 71 72 26 6 54 12 51 58 61 79 86 1 19 82 99 38 11 20 39 34 104 15 78 66 45 83 4 69 35 103 16 36 98 59 80 7 0 81 17 55 94 68 97 91 88 37 95 43 87 105 30 75 48 42 102 90 84 8 50 70 46 33 27 13 96 77 92 3 44 93 47 108 21 5 74 23 73 76 31 29 2 106 22 62 28 10 107 18 109 250 60 53 24 64 40 63 100 85 52 65 41 32 101 49 Dec 12 10:55:55 host /kernel: Kernel Free SCB list: 119 251 252 253 254 240 241 242 243 244 245 246 247 248 249 230 231 232 233 234 235 236 237 238 239 220 221 222 223 224 225 226 227 228 229 210 211 212 213 214 215 216 217 218 219 200 201 202 203 204 205 206 207 208 209 190 191 192 193 194 195 196 197 198 199 180 181 182 183 184 185 186 187 188 189 170 171 172 173 174 175 176 177 178 179 160 161 162 163 164 165 166 167 168 169 150 151 152 153 154 155 156 157 158 159 140 141 142 143 144 145 146 147 148 149 130 131 132 133 134 135 136 137 138 139 120 121 122 123 124 125 126 127 128 129 110 111 112 113 114 115 116 117 118 Dec 12 10:55:55 host /kernel: sg[0] - Addr 0xe143000 : Length 4096 Dec 12 10:55:55 host /kernel: (da0:ahc0:0:9:0): no longer in timeout, status = 34b Dec 12 10:55:55 host /kernel: ahc0: Issued Channel A Bus Reset. 110 SCBs aborted >How-To-Repeat: for example, gunzip Fix: It works very well without tagged queueing. please add the entry { { T_DIRECT, SIP_MEDIA_FIXED, "HITACHI", "DK32*", "*" }, CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0 }, to /usr/src/sys/cam/cam_xpt.c struct xpt_quirk_table. Thank you. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message