Subject: Computer crashes when printing with CUPS on Samsung ML-1610 USB-printer
To: NetBSD Help <netbsd-help@netbsd.org>
From: Jarmo Jaakkola <jarmo.jaakkola@tut.fi>
List: netbsd-help
Date: 09/22/2006 22:18:59
Hi!

I just had my NetBSD-box boot several times in row when I tried to print
with CUPS onto my ML-1610 USB-printer (b/w laser).

I was printing a two page document from a Windows XP computer.  I
printed one page at a time for manual duplex printing.  The server crashed
short while after the the second page was sent to the print server, not
printing anything.

This happened consistently.  When the computer booted after the crash,
the print job was finished.

Also, on a related note, many times the printer would only print one
print job or none, if the printer had been idle for some time.  It would
warm up the printer but nothing would be printed, yet CUPS would show
the job as completed.  Any ideas on this either?

Below I have copied some excerpts from my logs.  These are from the
first crash, I had three in total.  The latter job (21:04:**) is the
one, which crashed the computer.


cups/access_log:
---8<---8<---
launcelot.ritari.tontut.fi - - [22/Sep/2006:21:03:26 +0300] "POST /printers=
/ML-1610 HTTP/1.1" 200 142
launcelot.ritari.tontut.fi - - [22/Sep/2006:21:03:26 +0300] "POST /printers=
/ML-1610 HTTP/1.1" 200 142
launcelot.ritari.tontut.fi - - [22/Sep/2006:21:03:27 +0300] "POST /printers=
/ML-1610 HTTP/1.1" 200 109949
launcelot.ritari.tontut.fi - - [22/Sep/2006:21:03:28 +0300] "POST /printers=
/ML-1610 HTTP/1.1" 200 142
launcelot.ritari.tontut.fi - - [22/Sep/2006:21:04:46 +0300] "POST /printers=
/ML-1610 HTTP/1.1" 200 142
launcelot.ritari.tontut.fi - - [22/Sep/2006:21:04:58 +0300] "POST /printers=
/ML-1610 HTTP/1.1" 200 142
launcelot.ritari.tontut.fi - - [22/Sep/2006:21:04:58 +0300] "POST /printers=
/ML-1610 HTTP/1.1" 200 142
launcelot.ritari.tontut.fi - - [22/Sep/2006:21:04:58 +0300] "POST /printers=
/ML-1610 HTTP/1.1" 200 142
launcelot.ritari.tontut.fi - - [22/Sep/2006:21:04:59 +0300] "POST /printers=
/ML-1610 HTTP/1.1" 200 94740
---8<---8<---


cups/error_log:
---8<---8<---
I [22/Sep/2006:21:03:27 +0300] Adding start banner page "none" to job 39.
I [22/Sep/2006:21:03:27 +0300] Adding end banner page "none" to job 39.
I [22/Sep/2006:21:03:27 +0300] Job 39 queued on 'ML-1610' by 'jammuli'.
I [22/Sep/2006:21:03:27 +0300] Started backend /usr/pkg/libexec/cups/backen=
d/usb (PID 13838) for job 39.
I [22/Sep/2006:21:04:59 +0300] Adding start banner page "none" to job 40.
I [22/Sep/2006:21:04:59 +0300] Adding end banner page "none" to job 40.
I [22/Sep/2006:21:04:59 +0300] Job 40 queued on 'ML-1610' by 'jammuli'.
I [22/Sep/2006:21:04:59 +0300] Started backend /usr/pkg/libexec/cups/backen=
d/usb (PID 4547) for job 40.
---8<---8<---


cups/page_log:
---8<---8<---
ML-1610 jammuli 39 [22/Sep/2006:21:03:27 +0300] 1 1 - launcelot.ritari.tont=
ut.fi
ML-1610 jammuli 40 [22/Sep/2006:21:04:59 +0300] 1 1 - launcelot.ritari.tont=
ut.fi
---8<---8<---

syslog:
---8<---8<---
Sep 22 21:03:27 arthur /netbsd: ulpt0: offline
Sep 22 21:04:59 arthur /netbsd: ulpt0: offline
Sep 22 21:07:37 arthur syslogd: restart
Sep 22 21:07:37 arthur /netbsd: uvm_fault(0xc9d9ab38, 0, 0, 1) -> 0xe
Sep 22 21:07:37 arthur /netbsd: fatal page fault in supervisor mode
Sep 22 21:07:37 arthur /netbsd: trap type 6 code 0 eip c0282127 cs 8 eflags=
 1024
6 cr2 48 ilevel 5
Sep 22 21:07:37 arthur /netbsd: panic: trap
Sep 22 21:07:37 arthur /netbsd: syncing disks... done
Sep 22 21:07:37 arthur /netbsd:
Sep 22 21:07:37 arthur /netbsd: dumping to dev 0,1 offset 266231
Sep 22 21:07:37 arthur /netbsd: dump 382 381 380 379 378 377 376 375 374 37=
3 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 3=
54 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 =
335 334 333 332 331 330 329 328 327 326 325 324 323 322 321 320 319 318 317=
 316 315 314 313 312 311 310 309 308 307 306 305 304 303 302 301 300 299 29=
8 297 296 295 294 293 292 291 290 289 288 287 286 285 284 283 282 281 280 2=
79 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264 263 262 261 =
260 259 258 257 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242=
 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 22=
3 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 2=
04 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 =
185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167=
 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 14=
8 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 13
Sep 22 21:07:37 arthur /netbsd:  129 128 127 126 125 124 123 122 121 120 11=
9 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 1=
00 99 98 9 7 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76=
 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51=
 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26=
 25 24 23 22 21 20 19 18 1 7 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 succeed=
ed
Sep 22 21:07:37 arthur /netbsd:
Sep 22 21:07:37 arthur /netbsd:
Sep 22 21:07:37 arthur /netbsd: rebooting...
---8<---8<---


--=20
 Jarmo Jaakkola