NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/44002: 3ware 9690 (ld driver) doesn't respond after transfer big amount of data



The following reply was made to PR kern/44002; it has been noted by GNATS.

From: Jiri Novotny <novotny%ics.muni.cz@localhost>
To: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
Cc: Jiri Novotny <novotny%ics.muni.cz@localhost>, 
gnats-bugs%NetBSD.org@localhost,
        kern-bug-people%NetBSD.org@localhost
Subject: Re: kern/44002: 3ware 9690 (ld driver) doesn't respond after
 transfer big amount of data
Date: Thu, 28 Oct 2010 23:23:34 +0200

        Hi Manuel,.
 
 > 
 > I can. I wonder what causes the "twa0: clearing queue error", it's
 > probably related. I would also be interesting to see if there
 > are other messages before this one.
 
 Nothing else, screen is too small. But If you see dmesg, what I sent
 you, there was nothing else than twa0: c....
 
  
 > >   0 413  405    0  85  0 2952  1168 wait    I    ttyp1 0:00.01 sh 
 > >   0 461  413    0 117  0 2900   800 tstile  D+   ttyp1 0:00.00 dd if bs 
 > > count of 
 > 
 > The famous tstile ... doesn't tell much unfortunably.
 > Maybe 'ps -axws -O lname' would have given more info (with ps, we don't know
 > what the kernel is doing ...)
 
 
 there it is:
 
 UID   PID LNAME        PPID  CPU LID NLWP PRI NI  VSZ   RSS WCHAN    STAT TTY  
    TIME COMMAND
   0     0 physiod         0    0  61   52 123  0    0 18040 physiod  DL-  ?    
 0:50.36 [system]
   0     0 vmem_rehash     0    0  60   52 125  0    0 18040 vmem_reh DL-  ?    
 0:50.36 [system]
   0     0 aiodoned        0    0  59   52 125  0    0 18040 aiodoned DL-  ?    
 0:50.36 [system]
   0     0 ioflush         0    0  58   52 124  0    0 18040 genput   DL-  ?    
 0:50.36 [system]
   0     0 pgdaemon        0    0  57   52 126  0    0 18040 pgdaemon DL-  ?    
 0:50.36 [system]
   0     0 cryptoret       0    0  56   52  96  0    0 18040 crypto_w DL-  ?    
 0:50.36 [system]
   0     0 ipmi0           0    0  55   52  96  0    0 18040 ipmi0    DL-  ?    
 0:50.36 [system]
   0     0 ipmi            0    0  54   52  96  0    0 18040 ipmi_pol DL-  ?    
 0:50.36 [system]
   0     0 scsibus2        0    0  53   52  96  0    0 18040 sccomp   DL-  ?    
 0:50.36 [system]
   0     0 scsibus1        0    0  52   52  96  0    0 18040 sccomp   DL-  ?    
 0:50.36 [system]
   0     0 scsibus0        0    0  51   52  96  0    0 18040 sccomp   DL-  ?    
 0:50.36 [system]
   0     0 atapibus0       0    0  50   52  96  0    0 18040 sccomp   DL-  ?    
 0:50.36 [system]
   0     0 usb7            0    0  48   52  96  0    0 18040 usbevt   DL-  ?    
 0:50.36 [system]
   0     0 usb6            0    0  47   52  96  0    0 18040 usbevt   DL-  ?    
 0:50.36 [system]
   0     0 usb5            0    0  46   52  96  0    0 18040 usbevt   DL-  ?    
 0:50.36 [system]
   0     0 usb4            0    0  45   52  96  0    0 18040 usbevt   DL-  ?    
 0:50.36 [system]
   0     0 usb3            0    0  44   52  96  0    0 18040 usbevt   DL-  ?    
 0:50.36 [system]
   0     0 usb2            0    0  43   52  96  0    0 18040 usbevt   DL-  ?    
 0:50.36 [system]
   0     0 usb1            0    0  42   52  96  0    0 18040 usbevt   DL-  ?    
 0:50.36 [system]
   0     0 usbtask-dr      0    0  41   52  96  0    0 18040 usbtsk   DL-  ?    
 0:50.36 [system]
   0     0 usbtask-hc      0    0  40   52  96  0    0 18040 usbtsk   DL-  ?    
 0:50.36 [system]
   0     0 usb0            0    0  39   52  96  0    0 18040 usbevt   DL-  ?    
 0:50.36 [system]
   0     0 unpgc           0    0  38   52  96  0    0 18040 unpgc    DL-  ?    
 0:50.36 [system]
   0     0 coretemp1       0    0  37   52  96  0    0 18040 coretemp DL-  ?    
 0:50.36 [system]
   0     0 coretemp0       0    0  36   52  96  0    0 18040 coretemp DL-  ?    
 0:50.36 [system]
   0     0 iic0            0    0  27   52  96  0    0 18040 iicintr  DL-  ?    
 0:50.36 [system]
   0     0 atabus5         0    0  26   52  96  0    0 18040 atath    DL-  ?    
 0:50.36 [system]
   0     0 atabus4         0    0  25   52  96  0    0 18040 atath    DL-  ?    
 0:50.36 [system]
   0     0 atabus3         0    0  24   52  96  0    0 18040 atath    DL-  ?    
 0:50.36 [system]
   0     0 atabus2         0    0  23   52  96  0    0 18040 atath    DL-  ?    
 0:50.36 [system]
   0     0 atabus1         0    0  22   52  96  0    0 18040 atath    DL-  ?    
 0:50.36 [system]
   0     0 atabus0         0    0  21   52  96  0    0 18040 atath    DL-  ?    
 0:50.36 [system]
   0     0 pms0            0    0  20   52  96  0    0 18040 pmsreset DL-  ?    
 0:50.36 [system]
   0     0 apm0            0    0  19   52  96  0    0 18040 apmev    DL-  ?    
 0:50.36 [system]
   0     0 xcall/1         0    0  18   52 127  0    0 18040 xcall    DL-  ?    
 0:50.36 [system]
   0     0 softser/1       0    0  17   52 223  0    0 18040 -        RL-  ?    
 0:50.36 [system]
   0     0 softclk/1       0    0  16   52 220  0    0 18040 -        RL-  ?    
 0:50.36 [system]
   0     0 softbio/1       0    0  15   52 221  0    0 18040 -        RL-  ?    
 0:50.36 [system]
   0     0 softnet/1       0    0  14   52 222  0    0 18040 -        RL-  ?    
 0:50.36 [system]
   0     0 idle/1          0    0  13   52   0  0    0 18040 -        RL-  ?    
 0:50.36 [system]
   0     0 sysmon          0    0  12   52  96  0    0 18040 smtaskq  DL-  ?    
 0:50.36 [system]
   0     0 pmfevent        0    0  11   52  96  0    0 18040 pmfevent DL-  ?    
 0:50.36 [system]
   0     0 nfssilly        0    0  10   52  96  0    0 18040 nfssilly DL-  ?    
 0:50.36 [system]
   0     0 cachegc         0    0   9   52 125  0    0 18040 cachegc  DL-  ?    
 0:50.36 [system]
   0     0 vrele           0    0   8   52 125  0    0 18040 vrele    DL-  ?    
 0:50.36 [system]
   0     0 xcall/0         0    0   7   52 127  0    0 18040 xcall    DL-  ?    
 0:50.36 [system]
   0     0 softser/0       0    0   6   52 223  0    0 18040 -        RL-  ?    
 0:50.36 [system]
   0     0 softclk/0       0    0   5   52 220  0    0 18040 -        RL-  ?    
 0:50.36 [system]
   0     0 softbio/0       0    0   4   52 221  0    0 18040 -        RL-  ?    
 0:50.36 [system]
   0     0 softnet/0       0    0   3   52 222  0    0 18040 -        RL-  ?    
 0:50.36 [system]
   0     0 idle/0          0    0   2   52   0  0    0 18040 -        RL-  ?    
 0:50.36 [system]
   0     0 swapper         0    0   1   52 125  0    0 18040 schedule D    ?    
 0:50.36 [system]
   0     1 -               0    0   1    1  85  0 2932     4 wait     IW   ?    
 0:00.01 init 
 300    66 -             435    0   1    1  85  0 8704  2824 select   S    ?    
 0:00.45 sshd: novotny@pts/1 (sshd)
   0   112 -               1    0   1    1  85  0 2932  1000 kqueue   S    ?    
 0:00.14 /usr/sbin/syslogd -s 
   0   250 -               1    0   1    1  85  0 5936   636 select   I    ?    
 0:00.38 /usr/sbin/sshd 
  12   328 -             363    0   1    1  85  0 4796   680 kqueue   I    ?    
 0:00.03 qmgr -l -t unix -u 
   0   363 -               1    0   1    1  85  0 4796   632 kqueue   I    ?    
 0:00.13 /usr/libexec/postfix/master 
   0   370 -               1 2946   1    1  85  0 2972     4 kqueue   IW   ?    
 0:00.00 /usr/sbin/inetd -l 
   0   388 -               1    0   1    1  85  0 2900   484 nanoslp  I    ?    
 0:00.05 /usr/sbin/cron 
   0   406 -             250    0   1    1  85  0 8704     4 netio    IW   ?    
 0:00.01 sshd: novotny [priv] 
 300   414 -             406    0   1    1  85  0 8704     4 select   IW   ?    
 0:00.01 sshd: novotny@pts/0 (sshd)
   0   435 -             250    0   1    1  85  0 8704     4 netio    IW   ?    
 0:00.01 sshd: novotny [priv] 
   0  7517 -             250    0   1    1  85  0 8704     4 netio    IW   ?    
 0:00.01 sshd: novotny [priv] 
 300  7933 -            7517    0   1    1  85  0 8704  2828 select   I    ?    
 0:00.01 sshd: novotny@pts/2 (sshd)
  12 10456 -             363    0   1    1  85  0 4796   632 kqueue   I    ?    
 0:00.00 pickup -l -t fifo -u 
 300 10664 -           10726    0   1    1  85  0 8704  2828 -        R    ?    
 0:00.00 sshd: novotny@pts/3 (sshd)
   0 10726 -             250    7   1    1  85  0 8704  3596 netio    I    ?    
 0:00.01 sshd: novotny [priv] 
   0   312 -             412 3898   1    1  85  0 2952     4 ttyraw   IW   
ttyp0 0:00.01 sh 
 300   412 -             414    0   1    1  85  0 2952     4 wait     IW   
ttyp0 0:00.00 -sh 
 300   367 -              66    0   1    1  85  0 2952     4 wait     IW   
ttyp1 0:00.00 -sh 
 300   458 -             367    0   1    1  85  0 2972  1212 select   S    
ttyp1 0:04.42 top 
 300  6825 -            7933    0   1    1  85  0 2952     4 wait     IW   
ttyp2 0:00.00 -sh 
   0 10202 -            6825    0   1    1  85  0 2952  1168 wait     I    
ttyp2 0:00.01 sh 
   0 10256 -           10202    0   1    1 117  0 2900   800 tstile   D    
ttyp2 0:00.00 dd if bs count of 
   0 11345 -           10202    0   1    1  85  0 2904  1012 piperd   I    
ttyp2 0:00.00 grep -v records 
 300 10316 -           10413    0   1    1  43  0 2960   848 -        R    
ttyp3 0:00.00 ps -axws -O lname 
 300 10413 -           10664    0   1    1  85  0 2952  1168 wait     S    
ttyp3 0:00.00 -sh 
   0   390 -               1    0   1    1  85  0 2912     4 ttyraw   IW   
ttyE0 0:00.00 /usr/libexec/getty Pc console 
   0   387 -               1 1747   1    1  85  0 2912     4 ttyraw   IW   
ttyE1 0:00.00 /usr/libexec/getty Pc ttyE1 
   0   383 -               1 1747   1    1  85  0 2912     4 ttyraw   IW   
ttyE2 0:00.00 /usr/libexec/getty Pc ttyE2 
   0   393 -               1 1747   1    1  85  0 2912     4 ttyraw   IW   
ttyE3 0:00.00 /usr/libexec/getty Pc ttyE3 
 $ 
 > >   0 468  413    0  85  0 2904  1012 piperd  I+   ttyp1 0:00.00 grep -v 
 > > records 
 > >   0 390    1    0  85  0 2912   788 ttyraw  Is+  ttyE0 0:00.00 
 > > /usr/libexec/getty Pc console 
 > >   0 387    1 1815  85  0 2912     4 ttyraw  IWs+ ttyE1 0:00.00 
 > > /usr/libexec/getty Pc ttyE1 
 > >   0 383    1 1815  85  0 2912     4 ttyraw  IWs+ ttyE2 0:00.00 
 > > /usr/libexec/getty Pc ttyE2 
 > >   0 393    1 1815  85  0 2912     4 ttyraw  IWs+ ttyE3 0:00.00 
 > > /usr/libexec/getty Pc ttyE3 
 > > 
 > > 
 > > >  Do you have any message in dmesg or console ?
 > > 
 > > twa0: clearing controller queue error - many time, the leds on disk array 
 > > are not active.
 > 
 > And nothing before this ?
 
 No, I didn't see anything else.
 
 > > >  What is the interrupt setup ?
 > > 
 > > Standard as in generic kernel, here is the dmesg:
 > > In the dmesg is warning that filesystem is not clean, but situation
 > > was the same just after newfs.
 > 
 > So twa0 shares interrupt with wm0 and uhci0.
 > I have 2 systems with 3ware (these are 9550X, not 9650 though),
 > but the controllers are alone on their interrupt line.
 > I'm not sure if this can be the problem, but I would try to
 > disable some devices so that twa0 doens't share interrupt with
 > anything else.
 
 Could you give me a hint how to disable these devices,
 or how can I say to twa to use other interupt line than uhci ?
 I have keyboard and mouse on usb, but dosn't metter 
 because I use remote access. On other hand, I have system on USB
 disk ...
 
                                Best regards
 
                                                Jiri
 > 
 > -- 
 > Manuel Bouyer <bouyer%antioche.eu.org@localhost>
 >      NetBSD: 26 ans d'experience feront toujours la difference
 > --
 


Home | Main Index | Thread Index | Old Index