Current-Users archive

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

Re: ohci scheduling overrun



On Mon, Oct 03, 2011 at 02:19:01PM +0200, Thomas Klausner wrote:
> On Mon, Oct 03, 2011 at 07:02:48AM -0400, Jared McNeill wrote:
> > I changed that panic to a warning message a few months ago, the
> > patch was pulled up to the -5 branch.
> > 
> > http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/usb/ohci.c.diff?r1=1.196&r2=1.196.4.2
> 
> Thank you! I'll try that.

Machine paniced again today with the latest kernel from the netbsd-5
branch (including this change).

Before the panic, the last messages in dmesg were:
Oct  7 08:38:57 nas /netbsd: ohci2: 1 scheduling overruns
Oct  7 08:38:57 nas /netbsd: ohci2: WARNING: addr 0x3a453690 not found
Oct  7 08:38:57 nas /netbsd: ohci2: WARNING: addr 0x1fb2e560 not found
Oct  7 08:38:57 nas /netbsd: ohci2: WARNING: addr 0x9401b260 not found
Oct  7 08:38:57 nas /netbsd: ohci2: WARNING: addr 0x975209c0 not found
Oct  7 08:38:58 nas /netbsd: ohci2: 114 scheduling overruns
Oct  7 08:38:58 nas /netbsd: ohci2: 117 scheduling overruns
Oct  7 08:38:58 nas /netbsd: ohci2: 115 scheduling overruns
Oct  7 08:38:58 nas /netbsd: ohci2: 117 scheduling overruns
Oct  7 08:38:59 nas /netbsd: ohci2: 118 scheduling overruns
Oct  7 08:38:59 nas /netbsd: ohci2: 117 scheduling overruns
Oct  7 08:38:59 nas /netbsd: ohci2: 116 scheduling overruns
Oct  7 08:38:59 nas /netbsd: ohci2: 117 scheduling overruns
Oct  7 08:39:00 nas last message repeated 2 times
Oct  7 08:39:00 nas /netbsd: ohci2: 102 scheduling overruns
Oct  7 08:39:00 nas /netbsd: ohci2: 117 scheduling overruns
Oct  7 08:39:01 nas /netbsd: ohci2: 116 scheduling overruns
Oct  7 08:39:01 nas /netbsd: ohci2: 118 scheduling overruns
Oct  7 08:39:01 nas /netbsd: ohci2: 115 scheduling overruns
Oct  7 08:39:01 nas /netbsd: ohci2: 118 scheduling overruns
Oct  7 08:39:02 nas /netbsd: ohci2: 116 scheduling overruns
Oct  7 08:39:02 nas /netbsd: ohci2: 118 scheduling overruns
Oct  7 08:39:02 nas /netbsd: ohci2: unrecoverable error, controller halted

The machine stopped responding sometime after 9 o'clock.
On the console I saw:
ohci4: WARNING: addr 0xfffffff0 not found
ohci4: WARNING: addr 0xfffffff0 not found
ohci4: WARNING: addr 0xfffffff0 not found
ohci4: WARNING: addr 0xfffffff0 not found
ohci4: WARNING: addr 0xfffffff0 not found
ohci4: WARNING: addr 0xfffffff0 not found
ohci4: WARNING: addr 0xfffffff0 not found
ohci4: WARNING: addr 0x00403bb0 not found
uvm_fault(0xffff80004cc0b450, 0x76f2000, 2) -> e
fatal page fault in supervisor mode
trap type 6 code 2 rip ffffffff80403bb9 cs 0 rflags 10212 cr2 76f2fa7 cpl 0 rsp 
ffff80004d5fb8d0
kernel: page fault trap, code=0
Stopped in pid 119.1 (syslogd) at netbsd:uvmpdpol_pagedequeue+0x69:
a
ddb %al,0(%rax)
uvmpdpol_pagedequeue() at netbsd:uvmpdpol_pagedequeue+0x69
ufs_balloc_range() at netbsd:ufs_balloc_range+0x147
ffs_write() at netbsd:ffs_write+0x631
VOP_WRITE() at netbsd:VOP_WRITE+0x66
vn_write() at netbsd:vn_write()+0xce
do_filewritev() at netbsd:do_filewritev()+0x217
syscall() at netbsd:syscall()+0xb6



After the reboot, I already have very many scheduling overruns:
Oct  8 00:39:12 nas /netbsd: ohci0: 1 scheduling overruns
Oct  8 00:39:12 nas /netbsd: ohci0: WARNING: addr 0xaa0048e0 not found
Oct  8 00:39:12 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:12 nas last message repeated 2 times
Oct  8 00:39:12 nas /netbsd: ohci0: WARNING: addr 0x3b9b38f0 not found
Oct  8 00:39:12 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:12 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:12 nas /netbsd: ohci0: WARNING: addr 0x227968e0 not found
Oct  8 00:39:12 nas /netbsd: ohci0: WARNING: addr 0x36e845b0 not found
Oct  8 00:39:12 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:12 nas /netbsd: ohci0: WARNING: addr 0x281e5c60 not found
Oct  8 00:39:12 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:12 nas /netbsd: ohci0: WARNING: addr 0x5f80be90 not found
Oct  8 00:39:12 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:12 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:12 nas /netbsd: ohci0: WARNING: addr 0x1c20bbf0 not found
Oct  8 00:39:12 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:12 nas last message repeated 6 times
Oct  8 00:39:12 nas /netbsd: ohci0: 139 scheduling overruns
Oct  8 00:39:12 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:12 nas last message repeated 14 times
Oct  8 00:39:12 nas /netbsd: ohci0: 134 scheduling overruns
Oct  8 00:39:12 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:12 nas last message repeated 15 times
Oct  8 00:39:12 nas /netbsd: ohci0: 134 scheduling overruns
Oct  8 00:39:13 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:13 nas last message repeated 14 times
Oct  8 00:39:13 nas /netbsd: ohci0: 128 scheduling overruns
Oct  8 00:39:13 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:13 nas last message repeated 13 times
Oct  8 00:39:13 nas /netbsd: ohci0: 134 scheduling overruns
Oct  8 00:39:13 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:13 nas last message repeated 15 times
Oct  8 00:39:13 nas /netbsd: ohci0: 136 scheduling overruns
Oct  8 00:39:13 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:13 nas last message repeated 14 times
Oct  8 00:39:13 nas /netbsd: ohci0: 132 scheduling overruns
Oct  8 00:39:13 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:14 nas last message repeated 15 times
Oct  8 00:39:14 nas /netbsd: ohci0: 138 scheduling overruns
Oct  8 00:39:14 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:14 nas last message repeated 15 times
Oct  8 00:39:14 nas /netbsd: ohci0: 137 scheduling overruns
Oct  8 00:39:14 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:14 nas last message repeated 14 times
Oct  8 00:39:14 nas /netbsd: ohci0: 131 scheduling overruns
Oct  8 00:39:14 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:14 nas last message repeated 15 times
Oct  8 00:39:14 nas /netbsd: ohci0: 146 scheduling overruns
Oct  8 00:39:15 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:15 nas last message repeated 15 times
Oct  8 00:39:15 nas /netbsd: ohci0: 141 scheduling overruns
Oct  8 00:39:15 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:15 nas last message repeated 14 times
Oct  8 00:39:15 nas /netbsd: ohci0: 149 scheduling overruns
Oct  8 00:39:15 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:15 nas last message repeated 15 times
Oct  8 00:39:15 nas /netbsd: ohci0: 148 scheduling overruns
Oct  8 00:39:15 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:15 nas last message repeated 15 times
Oct  8 00:39:15 nas /netbsd: ohci0: 154 scheduling overruns
Oct  8 00:39:16 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:16 nas last message repeated 14 times
Oct  8 00:39:16 nas /netbsd: ohci0: 157 scheduling overruns
Oct  8 00:39:16 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:16 nas last message repeated 15 times
Oct  8 00:39:16 nas /netbsd: ohci0: 156 scheduling overruns
Oct  8 00:39:16 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:16 nas last message repeated 14 times
Oct  8 00:39:16 nas /netbsd: ohci0: 156 scheduling overruns
Oct  8 00:39:16 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:16 nas last message repeated 15 times
Oct  8 00:39:16 nas /netbsd: ohci0: 175 scheduling overruns
Oct  8 00:39:17 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:17 nas last message repeated 15 times
Oct  8 00:39:17 nas /netbsd: ohci0: 161 scheduling overruns
Oct  8 00:39:17 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:17 nas last message repeated 14 times
Oct  8 00:39:17 nas /netbsd: ohci0: 177 scheduling overruns
Oct  8 00:39:17 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:17 nas last message repeated 15 times
Oct  8 00:39:17 nas /netbsd: ohci0: 171 scheduling overruns
Oct  8 00:39:17 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:17 nas last message repeated 15 times
Oct  8 00:39:17 nas /netbsd: ohci0: 164 scheduling overruns
Oct  8 00:39:18 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:18 nas last message repeated 14 times
Oct  8 00:39:18 nas /netbsd: ohci0: 177 scheduling overruns
Oct  8 00:39:18 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:18 nas last message repeated 15 times
Oct  8 00:39:18 nas /netbsd: ohci0: 176 scheduling overruns
Oct  8 00:39:18 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:18 nas last message repeated 14 times
Oct  8 00:39:18 nas /netbsd: ohci0: 170 scheduling overruns
Oct  8 00:39:18 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:18 nas last message repeated 15 times
Oct  8 00:39:18 nas /netbsd: ohci0: 175 scheduling overruns
Oct  8 00:39:19 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:19 nas last message repeated 15 times
Oct  8 00:39:19 nas /netbsd: ohci0: 176 scheduling overruns
Oct  8 00:39:19 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:19 nas last message repeated 14 times
Oct  8 00:39:19 nas /netbsd: ohci0: 171 scheduling overruns
Oct  8 00:39:19 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:19 nas last message repeated 15 times
Oct  8 00:39:19 nas /netbsd: ohci0: 171 scheduling overruns
Oct  8 00:39:19 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:19 nas last message repeated 15 times
Oct  8 00:39:19 nas /netbsd: ohci0: 173 scheduling overruns
Oct  8 00:39:20 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:20 nas last message repeated 14 times
Oct  8 00:39:20 nas /netbsd: ohci0: 166 scheduling overruns
Oct  8 00:39:20 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:20 nas last message repeated 15 times
Oct  8 00:39:20 nas /netbsd: ohci0: 175 scheduling overruns
Oct  8 00:39:20 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:20 nas last message repeated 14 times
Oct  8 00:39:20 nas /netbsd: ohci0: 170 scheduling overruns
Oct  8 00:39:20 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:20 nas last message repeated 15 times
Oct  8 00:39:20 nas /netbsd: ohci0: 176 scheduling overruns
Oct  8 00:39:21 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:21 nas last message repeated 15 times
Oct  8 00:39:21 nas /netbsd: ohci0: 172 scheduling overruns
Oct  8 00:39:21 nas /netbsd: ohci0: WARNING: addr 0xfffffff0 not found
Oct  8 00:39:21 nas /netbsd: ohci0: 179 scheduling overruns
Oct  8 00:39:21 nas /netbsd: ohci0: 177 scheduling overruns
Oct  8 00:39:21 nas /netbsd: ohci0: 180 scheduling overruns
Oct  8 00:39:22 nas /netbsd: ohci0: 180 scheduling overruns
Oct  8 00:39:22 nas /netbsd: ohci0: 179 scheduling overruns
Oct  8 00:39:22 nas /netbsd: ohci0: 177 scheduling overruns
Oct  8 00:39:22 nas /netbsd: ohci0: 180 scheduling overruns
Oct  8 00:39:23 nas /netbsd: ohci0: 181 scheduling overruns
Oct  8 00:39:23 nas /netbsd: ohci0: 179 scheduling overruns
Oct  8 00:39:23 nas /netbsd: ohci0: 176 scheduling overruns
Oct  8 00:39:23 nas /netbsd: ohci0: 180 scheduling overruns
Oct  8 00:39:24 nas /netbsd: ohci0: WARNING: addr 0x80314b70 not found
Oct  8 00:39:24 nas /netbsd: ohci0: 179 scheduling overruns
Oct  8 00:39:24 nas /netbsd: ohci0: 181 scheduling overruns
Oct  8 00:39:24 nas /netbsd: ohci0: 175 scheduling overruns
Oct  8 00:39:24 nas /netbsd: ohci0: 180 scheduling overruns
Oct  8 00:39:25 nas /netbsd: ohci0: 179 scheduling overruns
Oct  8 00:39:25 nas /netbsd: ohci0: 179 scheduling overruns
Oct  8 00:39:25 nas /netbsd: ohci0: 175 scheduling overruns
Oct  8 00:39:25 nas /netbsd: ohci0: 182 scheduling overruns
Oct  8 00:39:26 nas /netbsd: ohci0: 179 scheduling overruns
Oct  8 00:39:26 nas /netbsd: ohci0: 179 scheduling overruns
Oct  8 00:39:26 nas /netbsd: ohci0: WARNING: addr 0x985641b0 not found
Oct  8 00:39:26 nas /netbsd: ohci0: WARNING: addr 0xb079d990 not found
Oct  8 00:39:26 nas /netbsd: ohci0: 178 scheduling overruns
Oct  8 00:39:27 nas /netbsd: ohci0: 180 scheduling overruns
Oct  8 00:39:27 nas /netbsd: ohci0: 181 scheduling overruns
Oct  8 00:39:27 nas /netbsd: ohci0: 182 scheduling overruns
Oct  8 00:39:27 nas /netbsd: ohci0: 184 scheduling overruns
Oct  8 00:39:28 nas /netbsd: ohci0: 188 scheduling overruns
Oct  8 00:39:28 nas /netbsd: ohci0: 187 scheduling overruns
Oct  8 00:39:28 nas /netbsd: ohci0: 187 scheduling overruns
Oct  8 00:39:28 nas /netbsd: ohci0: 185 scheduling overruns
Oct  8 00:39:29 nas /netbsd: ohci0: 187 scheduling overruns
Oct  8 00:39:29 nas /netbsd: ohci0: 187 scheduling overruns
Oct  8 00:39:29 nas /netbsd: ohci0: 188 scheduling overruns
Oct  8 00:39:29 nas /netbsd: ohci0: 183 scheduling overruns
Oct  8 00:39:30 nas /netbsd: ohci0: 194 scheduling overruns
Oct  8 00:39:30 nas /netbsd: ohci0: WARNING: addr 0xa2539740 not found
Oct  8 00:39:30 nas /netbsd: ohci0: 195 scheduling overruns
Oct  8 00:39:30 nas /netbsd: ohci0: 196 scheduling overruns
Oct  8 00:39:30 nas /netbsd: ohci0: 191 scheduling overruns
Oct  8 00:39:31 nas /netbsd: ohci0: 194 scheduling overruns
Oct  8 00:39:31 nas /netbsd: ohci0: 196 scheduling overruns
Oct  8 00:39:31 nas /netbsd: ohci0: 204 scheduling overruns
Oct  8 00:39:31 nas /netbsd: ohci0: 200 scheduling overruns
Oct  8 00:39:32 nas /netbsd: ohci0: 203 scheduling overruns
Oct  8 00:39:32 nas /netbsd: ohci0: 203 scheduling overruns
Oct  8 00:39:32 nas /netbsd: ohci0: 202 scheduling overruns
Oct  8 00:39:33 nas last message repeated 2 times
Oct  8 00:39:33 nas /netbsd: ohci0: 203 scheduling overruns
Oct  8 00:39:33 nas /netbsd: ohci0: 204 scheduling overruns
Oct  8 00:39:33 nas /netbsd: ohci0: WARNING: addr 0x00c63930 not found
Oct  8 00:39:33 nas /netbsd: ohci0: 206 scheduling overruns
Oct  8 00:39:34 nas /netbsd: ohci0: 211 scheduling overruns
Oct  8 00:39:34 nas /netbsd: ohci0: 223 scheduling overruns
Oct  8 00:39:34 nas /netbsd: ohci0: 235 scheduling overruns
Oct  8 00:39:34 nas /netbsd: ohci0: 229 scheduling overruns
Oct  8 00:39:34 nas /netbsd: ohci0: WARNING: addr 0xb2d42720 not found
Oct  8 00:39:34 nas /netbsd: ohci0: WARNING: addr 0x4680dac0 not found
Oct  8 00:39:35 nas /netbsd: ohci0: 242 scheduling overruns
Oct  8 00:39:35 nas /netbsd: ohci0: 242 scheduling overruns
Oct  8 00:39:35 nas /netbsd: ohci0: 243 scheduling overruns
Oct  8 00:39:35 nas /netbsd: ohci0: 237 scheduling overruns
Oct  8 00:39:36 nas /netbsd: ohci0: 242 scheduling overruns
Oct  8 00:39:36 nas last message repeated 2 times
Oct  8 00:39:36 nas /netbsd: ohci0: 238 scheduling overruns
Oct  8 00:39:37 nas /netbsd: ohci0: 242 scheduling overruns
Oct  8 00:39:37 nas /netbsd: ohci0: 243 scheduling overruns
Oct  8 00:39:37 nas /netbsd: ohci0: 242 scheduling overruns
Oct  8 00:39:37 nas /netbsd: ohci0: 238 scheduling overruns
Oct  8 00:39:38 nas /netbsd: ohci0: 242 scheduling overruns
Oct  8 00:39:38 nas /netbsd: ohci0: 243 scheduling overruns
Oct  8 00:39:38 nas /netbsd: ohci0: 242 scheduling overruns
Oct  8 00:39:38 nas /netbsd: ohci0: 237 scheduling overruns
Oct  8 00:39:38 nas /netbsd: ohci0: unrecoverable error, controller halted
Oct  8 00:46:12 nas /netbsd: ohci2: 1 scheduling overruns
Oct  8 00:46:12 nas /netbsd: ohci2: WARNING: addr 0xc9cacd10 not found
Oct  8 00:46:12 nas /netbsd: ohci2: WARNING: addr 0xcbf82440 not found
Oct  8 00:46:12 nas /netbsd: ohci2: 232 scheduling overruns
Oct  8 00:46:12 nas /netbsd: ohci2: WARNING: addr 0x220d3640 not found
Oct  8 00:46:12 nas /netbsd: ohci2: 239 scheduling overruns
Oct  8 00:46:12 nas /netbsd: ohci2: 236 scheduling overruns
Oct  8 00:46:13 nas /netbsd: ohci2: 238 scheduling overruns
Oct  8 00:46:13 nas /netbsd: ohci2: 241 scheduling overruns
Oct  8 00:46:13 nas /netbsd: ohci2: 239 scheduling overruns
Oct  8 00:46:13 nas /netbsd: ohci2: WARNING: addr 0xaf3e8a10 not found
Oct  8 00:46:13 nas /netbsd: ohci2: 232 scheduling overruns
Oct  8 00:46:14 nas /netbsd: ohci2: 234 scheduling overruns
Oct  8 00:46:14 nas /netbsd: ohci2: 235 scheduling overruns
Oct  8 00:46:14 nas /netbsd: ohci2: 235 scheduling overruns
Oct  8 00:46:14 nas /netbsd: ohci2: unrecoverable error, controller halted


 Thomas


Home | Main Index | Thread Index | Old Index