On Wed, 18 Aug 1999, Tim Ricketts wrote:

> On Fri, 6 Aug 1999, Douglas Gilbert wrote:
> 
> > Just a thought for people looking into this SCSI
> > bus reset problem:
> > # echo "scsi dump 0" > /proc/scsi/scsi
> > 
> > This will output all the mid level command blocks to
> > the console/log. [This may only be useful if your
> > root partition is on a IDE disk.] See the function
> > scsi_dump_status() in scsi.c to interprete all
> > those numbers. Active commands during those resets
> > may have useful information in the 3 "timeout"
> > related fields.
> 
> I'm actually calling scsi_dump_status just before the timoeout message
> is printed now anyway.  Here's what I'm getting (repeated over and over)
> on this particular occasion:
> 
> Aug 18 19:56:35 condor kernel: Dump of scsi host parameters: 
> Aug 18 19:56:35 condor kernel:  0 1 1 : 0 00000000 
> Aug 18 19:56:35 condor kernel:  0 0 0 : 0 00000000 
> Aug 18 19:56:35 condor kernel:  
> Aug 18 19:56:35 condor kernel:  
> Aug 18 19:56:35 condor kernel: Dump of scsi command parameters: 
> Aug 18 19:56:35 condor kernel: h:c:t:l (dev sect nsect cnumsec sg) (ret all flg) 
>(to/cmd to ito) cmd snse result 
> Aug 18 19:56:35 condor kernel: (  0)  0:0: 4: 0 ( 00:00    0    0    0 ffff 0) (0 3 
>0x 0) (3000    0    0) 0x25 0x00 0x00000000 
> Aug 18 19:56:35 condor kernel: (  1)  0:0: 4: 0 ( 00:00    0    0    0 ffffffff 0) 
>(0 0 0x 0) (   0    0    0) 0x00 0x00 0x00000000 
> Aug 18 19:56:35 condor kernel: (  2)  0:0: 4: 0 ( 00:00    0    0    0 ffffffff 0) 
>(0 0 0x 0) (   0    0    0) 0x00 0x00 0x00000000 
> Aug 18 19:56:35 condor kernel: h:c:t:l (dev sect nsect cnumsec sg) (ret all flg) 
>(to/cmd to ito) cmd snse result 
> Aug 18 19:56:35 condor kernel: Dump of pending block device requests 
> Aug 18 19:56:35 condor kernel: wait_for_request = c01b8578 
> Aug 18 19:56:35 condor kernel: scsi : aborting command due to timeout : pid 36, 
>scsi0, channel 0, id 4, lun 0 Read Capacity 00 00 00 00 00 00 00 00 00  

I should have mentioned, this was with:
Aug 17 22:10:55 condor kernel: Linux version 2.2.11 ([EMAIL PROTECTED]) (gcc version 
egcs-2.90.29 980515 (egcs-1.0.3 release)) #1 Wed Aug 11 12:09:06 BST 1999 

The looping started at Aug 18 18:10:49 and looped once every 30s.

And, just after I'd sent the message it did something different:
Aug 18 20:12:35 condor kernel: Dump of pending block device requests 
Aug 18 20:12:35 condor kernel: 3: (03:06 0 1294374 2 2)  

then more of what it did to start, followed by:
Aug 18 20:13:35 condor kernel: Dump of pending block device requests 
Aug 18 20:13:35 condor kernel: 3: (03:06 1 1359896 2 2) (03:06 1 1359904 2 2) (03:06 1 
1360452 4 2) (03:06 1 1361188 100 2) (03:06 1 1376320 2 2) (03:06 1 1376326 2 2) 
(03:06 1 1376330 8 2) (03:06 1 1376340 2 2) (03:06 1 1392654 4 2) (03:06 1 1392666 4 
2) (03:06 1 1392690 6 2) (03:06 1 1393252 2 2) (03:06 1 1393264 6 2) (03:06 1 1393272 
2 2) (03:06 1 1396202 128 2) (03:06 1 1396330 128 2) (03:06 1 1396458 128 2) (03:06 1 
1396586 128 2) (03:06 1 1396714 128 2) (03:06 1 1396842 128 2) (03:06 1 1396970 52 2) 
(03:06 1 1425426 2 2) (03:06 1 1425436 2 2) (03:06 1 1441834 2 2) (03:06 1 1474600 2 
2) (03:06 1 1490964 2 2) (03:06 1 1589292 2 2) (03:06 1 1654844 2 2) (03:06 1 1687582 
2 2) (03:06 1 1687596 2 2) (03:06 1 1785892 2 2) (03:06 1 1835048 4 2) (03:06 1 
1835056 2 2) (03:06 1 1836126 2 2) (03:06 1 1836858 42 2) (03:06 1 1851432 2 2) (03:06 
1 1851442 2 2) (03:06 1 1916942 6 2) (03:06 1 1917564 6 2) (03:06 1 1949714 2 2) 
(03:06 1 1949722 2 2) (03:06 1 1966118 4 2) (03:06 1 1966128 !
!
!
!
6 2) (03:06 1 1967318 4 2) (03:06 1 
Aug 18 20:13:36 condor 
Aug 18 20:13:35 condor kernel: 1967324 2 2) (03:06 1 1967328 2 2) (03:06 1 1998926 6 
2) (03:06 1 2064432 2 2) (03:06 1 18 2 2) (03:06 1 98374 2 2) (03:06 1 147494 2 2) 
(03:06 1 278546 2 2) (03:06 1 426052 8 2) (03:06 1 557088 2 2) (03:06 1 606226 2 2)  

then later:
Aug 18 20:20:05 condor kernel: Dump of pending block device requests 
Aug 18 20:20:05 condor kernel: 3: (03:06 0 1659132 30 2)  
...
Aug 18 20:20:35 condor kernel: Dump of pending block device requests 
Aug 18 20:20:35 condor kernel: 3: (03:06 0 1772336 26 2)  
...
Aug 18 20:29:05 condor kernel: Dump of pending block device requests 
Aug 18 20:29:05 condor kernel: 3: (03:06 1 36516 128 2) (03:06 1 36644 128 2) (03:06 1 
36772 128 2) (03:06 1 36900 128 2) (03:06 1 37028 128 2) (03:06 1 37156 128 2) (03:06 
1 37284 128 2) (03:06 1 37412 128 2) (03:06 1 37540 128 2) (03:06 1 37668 128 2) 
(03:06 1 37796 128 2) (03:06 1 37924 128 2) (03:06 1 38052 26 2) (03:06 1 38858 128 2) 
(03:06 1 38986 128 2) (03:06 1 39114 128 2) (03:06 1 39242 128 2) (03:06 1 39370 128 
2) (03:06 1 39498 128 2) (03:06 1 39626 40 2) (03:06 1 65550 4 2) (03:06 1 65596 4 2) 
(03:06 1 65608 2 2) (03:06 1 65616 4 2) (03:06 1 66978 2 2) (03:06 1 70052 58 2) 
(03:06 1 131104 2 2) (03:06 1 147502 2 2) (03:06 1 458798 2 2) (03:06 1 589842 2 2) 
(03:06 1 589850 2 2) (03:06 1 606256 4 2) (03:06 1 655390 2 2) (03:06 1 671790 2 2) 
(03:06 1 688180 2 2) (03:06 1 770066 2 2) (03:06 1 819220 12 2) (03:06 1 819234 20 2) 
(03:06 1 819256 6 2) (03:06 1 819266 8 2) (03:06 1 819276 2 2) (03:06 1 819286 6 2) 
(03:06 1 819294 6 2) (03:06 1 819302 2 2) (03:06 1 868370 2 !
!
!
!
2) (03:06 1 884754 4 2) (03:06 1 917
Aug 18 20:29:06 condor 
Aug 18 20:29:05 condor kernel: 522 20 2) (03:06 1 966712 2 2) (03:06 1 983074 2 2) 
(03:06 1 1015864 2 2) (03:06 1 1065018 6 2) (03:06 1 1146902 2 2) (03:06 1 1212460 2 
2) (03:06 1 1277992 2 2) (03:06 1 1278004 2 2) (03:06 1 1376324 16 2) (03:06 1 1572904 
2 2) (03:06 1 1654850 2 2) (03:06 1 1654858 2 2) (03:06 1 1671212 4 2) (03:06 1 
1720360 2 2) (03:06 1 1720384 2 2) (03:06 1 1720392 2 2) (03:06 1 1720396 2 2) (03:06 
1 1916944 4 2) (03:06 1 1916968 6 2) (03:06 1 1917048 6 2) (03:06 1 1917080 4 2) 
(03:06 1 1917100 2 2) (03:06 1 1917104 4 2) (03:06 1 1917738 2 2) (03:06 1 1933326 2 
2) (03:06 1 1942516 128 2) (03:06 1 1942644 128 2) (03:06 1 1942772 128 2) (03:06 1 
1942900 128 2) (03:06 1 1943028 128 2) (03:06 1 1943156 128 2) (03:06 1 1943284 72 2) 
(03:01 1 2 4 2) (03:01 1 229390 4 2) (03:01 1 229396 2 2) (03:01 1 229904 2 2) (03:01 
1 229928 4 2) (03:01 1 229948 2 2) (03:02 0 294956 2 2)  
...

then I rebooted.  Hope this is helpful.

-- 
Tim
Quidquid latine dictum sit, altum viditur.


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to