Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2002 22:50:25 -0400
From:      Josh Elsasser <jre@vineyard.net>
To:        freebsd-stable@freebsd.org
Subject:   Kernel panics on 4.6-STABLE w/crashdumps
Message-ID:  <20020918025025.GA577@jade.nat.elsasser.org>

next in thread | raw e-mail | index | archive | help
(please cc: me as I am not subscribed to this list)

My machine has had three kernel panics in the past few weeks and I was
hoping someone could help me track down the cause.  My system is
running 4.6-STABLE from august 7, and both the kernel and world were
the same for all three panics.  I built my kernel with debug symbols,
and I have crashdumps from all three panics.

In all three cases, the panic was at exactly the same spot, line 939
(in m_copydata) in /sys/kern/uipc_mbuf.c.  I thought the problem might
be some bad memory, so I wrote a little program that mallocs more
memory then i physically have, then writes all over it.  I ran it in
single-user for a couple of minutes with no panics, so I don't think
that's it.

I included the function that the panics seem to occur in, as well as a
stack trace from the vmcore files below.  I've also included my kernel
config in case it might be useful.

If anyone needs any more information from the vmcore files or about my
system, just ask.

Thanks in advance for any assistance in tracking this down,

 -jre


This is where it panics, line 939 of /sys/kern/uipc_mbuf.c:

void
m_copydata(m, off, len, cp)
	register struct mbuf *m;
	register int off;
	register int len;
	caddr_t cp;
{
	register unsigned count;

	KASSERT(off >=3D 0, ("m_copydata, negative off %d", off));
	KASSERT(len >=3D 0, ("m_copydata, negative len %d", len));
	while (off > 0) {
		KASSERT(m !=3D NULL, ("m_copydata, offset > size of mbuf chain"));
		if (off < m->m_len)
			break;
		off -=3D m->m_len;
		m =3D m->m_next;
	} /* this is line 939 */
	while (len > 0) {
		KASSERT(m !=3D NULL, ("m_copydata, length > size of mbuf chain"));
		count =3D min(m->m_len - off, len);
		bcopy(mtod(m, caddr_t) + off, cp, count);
		len -=3D count;
		cp +=3D count;
		off =3D 0;
		m =3D m->m_next;
	}
}

Here is a stack trace from the three crashdumps:

# gdb -k kernel.debug.0 vmcore.0=20
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain condition=
s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD at phsyical address 0x00406000
initial pcb at physical address 0x0033bc20
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	=3D 0xc
fault code		=3D supervisor read, page not present
instruction pointer	=3D 0x8:0xc019dcd9
stack pointer	        =3D 0x10:0xde012c14
frame pointer	        =3D 0x10:0xde012c20
code segment		=3D base 0x0, limit 0xfffff, type 0x1b
			=3D DPL 0, pres 1, def32 1, gran 1
processor eflags	=3D interrupt enabled, resume, IOPL =3D 0
current process		=3D 93617 (XFree86)
interrupt mask		=3D net=20
trap number		=3D 12
panic: page fault

syncing disks... 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1=20
giving up on 1 buffers
Uptime: 17d11h56m37s
wi0: timeout in wi_seek to 146/3c; last status 403c
wi0: timeout in wi_seek to 146/3c; last status 403c
wi0: timeout in wi_seek to 146/3c; last status 403c
wi0: timeout in wi_seek to 146/3c; last status 403c
wi0: timeout in wi_seek to 146/3c; last status 403c
wi0: timeout in wi_seek to 146/3c; last status 403c
wi0: timeout in wi_seek to 146/3c; last status 403c

dumping to dev #da/0x20001, offset 57472
dump 511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496 495 49=
4 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 4=
75 474 473 472 471 470 469 468 467 466 465 464 463 462 461 460 459 458 457 =
456 455 454 453 452 451 450 449 448 447 446 445 444 443 442 441 440 439 438=
 437 436 435 434 433 432 431 430 429 428 427 426 425 424 423 422 421 420 41=
9 418 417 416 415 414 413 412 411 410 409 408 407 406 405 404 403 402 401 4=
00 399 398 397 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 =
381 380 379 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363=
 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 34=
4 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 3=
25 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 298 297 296 295 294 293 292 291 290 289 288=
 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 26=
9 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 2=
50 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 223 222 221 220 219 218 217 216 215 214 213=
 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 19=
4 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 1=
75 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 148 147 146 145 144 143 142 141 140 139 138=
 137 136 135 134 133 132 131 130 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 97 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 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0=20
---
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487		if (dumping++) {
(kgdb) where
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc018145b in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c:3=
16
#2  0xc0181899 in panic (fmt=3D0xc02eea8c "%s")
    at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xc02a4c07 in trap_fatal (frame=3D0xde012bd4, eva=3D12)
    at /usr/src/sys/i386/i386/trap.c:974
#4  0xc02a48b5 in trap_pfault (frame=3D0xde012bd4, usermode=3D0, eva=3D12)
    at /usr/src/sys/i386/i386/trap.c:867
#5  0xc02a445b in trap (frame=3D{tf_fs =3D 16, tf_es =3D 16, tf_ds =3D 16,=
=20
      tf_edi =3D -7, tf_esi =3D 0, tf_ebp =3D -570348512, tf_isp =3D -57034=
8544,=20
      tf_ebx =3D -1052215296, tf_edx =3D 1, tf_ecx =3D 0, tf_eax =3D 7,=20
      tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1072046887, tf_cs =3D 8,=
=20
      tf_eflags =3D 66050, tf_esp =3D -1052215296, tf_ss =3D -1036324864})
    at /usr/src/sys/i386/i386/trap.c:466
#6  0xc019dcd9 in m_copydata (m=3D0xc147e600, off=3D14, len=3D-7,=20
    cp=3D0xc23af1f6 "]=ED=AFR") at /usr/src/sys/kern/uipc_mbuf.c:939
#7  0xc3084d2b in ?? ()
#8  0xc3087403 in ?? ()
#9  0xc30820f2 in ?? ()
#10 0xc30823ea in ?? ()
#11 0xc02aa0d9 in intr_mux (arg=3D0xc144c140)
    at /usr/src/sys/i386/isa/intr_machdep.c:582
#12 0xc02999c6 in vec11 ()
#13 0xc02a4ebd in syscall2 (frame=3D{tf_fs =3D 47, tf_es =3D 47, tf_ds =3D =
47,=20
      tf_edi =3D -1, tf_esi =3D -1, tf_ebp =3D -1077938744, tf_isp =3D -570=
347564,=20
      tf_ebx =3D 4, tf_edx =3D 142630912, tf_ecx =3D -2147483639, tf_eax =
=3D 93,=20
      tf_trapno =3D 7, tf_err =3D 2, tf_eip =3D 673284764, tf_cs =3D 31,=20
      tf_eflags =3D 12931, tf_esp =3D -1077939396, tf_ss =3D 47})
    at /usr/src/sys/i386/i386/trap.c:1175
#14 0xc02984b5 in Xint0x80_syscall ()
#15 0x80ae57b in ?? ()
#16 0x80be7a9 in ?? ()
#17 0x806badd in ?? ()

# gdb -k kernel.debug.1 vmcore.1=20
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain condition=
s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD at phsyical address 0x0041c000
initial pcb at physical address 0x0033bc20
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	=3D 0xc
fault code		=3D supervisor read, page not present
instruction pointer	=3D 0x8:0xc019dcd9
stack pointer	        =3D 0x10:0xdc479e38
frame pointer	        =3D 0x10:0xdc479e44
code segment		=3D base 0x0, limit 0xfffff, type 0x1b
			=3D DPL 0, pres 1, def32 1, gran 1
processor eflags	=3D interrupt enabled, resume, IOPL =3D 0
current process		=3D 59578 (setiathome)
interrupt mask		=3D net=20
trap number		=3D 12
panic: page fault

syncing disks... 2=20
done
Uptime: 15d15h50m24s
wi0: timeout in wi_seek to 146/3c; last status 403c
wi0: timeout in wi_seek to 146/3c; last status 403c
wi0: timeout in wi_seek to 146/3c; last status 403c

dumping to dev #da/0x20001, offset 57472
dump 511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496 495 49=
4 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 4=
75 474 473 472 471 470 469 468 467 466 465 464 463 462 461 460 459 458 457 =
456 455 454 453 452 451 450 449 448 447 446 445 444 443 442 441 440 439 438=
 437 436 435 434 433 432 431 430 429 428 427 426 425 424 423 422 421 420 41=
9 418 417 416 415 414 413 412 411 410 409 408 407 406 405 404 403 402 401 4=
00 399 398 397 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 =
381 380 379 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363=
 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 34=
4 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 3=
25 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 298 297 296 295 294 293 292 291 290 289 288=
 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 26=
9 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 2=
50 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 223 222 221 220 219 218 217 216 215 214 213=
 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 19=
4 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 1=
75 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 148 147 146 145 144 143 142 141 140 139 138=
 137 136 135 134 133 132 131 130 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 97 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 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0=20
---
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487		if (dumping++) {
(kgdb) where
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc018145b in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c:3=
16
#2  0xc0181899 in panic (fmt=3D0xc02eea8c "%s")
    at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xc02a4c07 in trap_fatal (frame=3D0xdc479df8, eva=3D12)
    at /usr/src/sys/i386/i386/trap.c:974
#4  0xc02a48b5 in trap_pfault (frame=3D0xdc479df8, usermode=3D0, eva=3D12)
    at /usr/src/sys/i386/i386/trap.c:867
#5  0xc02a445b in trap (frame=3D{tf_fs =3D 16, tf_es =3D 16, tf_ds =3D 16,=
=20
      tf_edi =3D -7, tf_esi =3D 0, tf_ebp =3D -599286204, tf_isp =3D -59928=
6236,=20
      tf_ebx =3D -1051789312, tf_edx =3D 1, tf_ecx =3D 0, tf_eax =3D 7,=20
      tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1072046887, tf_cs =3D 8,=
=20
      tf_eflags =3D 66050, tf_esp =3D -1051789312, tf_ss =3D -1038209024})
    at /usr/src/sys/i386/i386/trap.c:466
#6  0xc019dcd9 in m_copydata (m=3D0xc14baf00, off=3D14, len=3D-7,=20
    cp=3D0xc21e31f6 "]=ED=AFR") at /usr/src/sys/kern/uipc_mbuf.c:939
#7  0xc03e1d2b in ?? ()
#8  0xc03e4403 in ?? ()
#9  0xc03df0f2 in ?? ()
#10 0xc03df3ea in ?? ()
#11 0xc02aa0d9 in intr_mux (arg=3D0xc144c120)
    at /usr/src/sys/i386/isa/intr_machdep.c:582
#12 0x15b31 in ?? ()
#13 0x14a07 in ?? ()
#14 0x1425c in ?? ()
#15 0x3414 in ?? ()
#16 0xef9b in ?? ()
#17 0x138fe in ?? ()
#18 0x13a25 in ?? ()
#19 0x2abb in ?? ()
#20 0x107e in ?? ()

# gdb -k kernel.debug.2 vmcore.2=20
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain condition=
s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD at phsyical address 0x0041c000
initial pcb at physical address 0x0033bc20
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	=3D 0xc
fault code		=3D supervisor read, page not present
instruction pointer	=3D 0x8:0xc019dcd9
stack pointer	        =3D 0x10:0xdc48be38
frame pointer	        =3D 0x10:0xdc48be44
code segment		=3D base 0x0, limit 0xfffff, type 0x1b
			=3D DPL 0, pres 1, def32 1, gran 1
processor eflags	=3D interrupt enabled, resume, IOPL =3D 0
current process		=3D 287 (setiathome)
interrupt mask		=3D net=20
trap number		=3D 12
panic: page fault

syncing disks... 1=20
done
Uptime: 1d1h2m19s
wi0: timeout in wi_seek to 146/3c; last status 403c
wi0: timeout in wi_seek to 146/3c; last status 403c
wi0: timeout in wi_seek to 146/3c; last status 403c
wi0: timeout in wi_seek to 146/3c; last status 403c
wi0: timeout in wi_seek to 146/3c; last status 403c

dumping to dev #da/0x20001, offset 57472
dump 511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496 495 49=
4 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 4=
75 474 473 472 471 470 469 468 467 466 465 464 463 462 461 460 459 458 457 =
456 455 454 453 452 451 450 449 448 447 446 445 444 443 442 441 440 439 438=
 437 436 435 434 433 432 431 430 429 428 427 426 425 424 423 422 421 420 41=
9 418 417 416 415 414 413 412 411 410 409 408 407 406 405 404 403 402 401 4=
00 399 398 397 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 =
381 380 379 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363=
 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 34=
4 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 3=
25 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 298 297 296 295 294 293 292 291 290 289 288=
 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 26=
9 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 2=
50 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 223 222 221 220 219 218 217 216 215 214 213=
 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 19=
4 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 1=
75 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 148 147 146 145 144 143 142 141 140 139 138=
 137 136 135 134 133 132 131 130 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 97 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 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0=20
---
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487		if (dumping++) {
(kgdb) where
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc018145b in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c:3=
16
#2  0xc0181899 in panic (fmt=3D0xc02eea8c "%s")
    at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xc02a4c07 in trap_fatal (frame=3D0xdc48bdf8, eva=3D12)
    at /usr/src/sys/i386/i386/trap.c:974
#4  0xc02a48b5 in trap_pfault (frame=3D0xdc48bdf8, usermode=3D0, eva=3D12)
    at /usr/src/sys/i386/i386/trap.c:867
#5  0xc02a445b in trap (frame=3D{tf_fs =3D 16, tf_es =3D 16, tf_ds =3D 16,=
=20
      tf_edi =3D -7, tf_esi =3D 0, tf_ebp =3D -599212476, tf_isp =3D -59921=
2508,=20
      tf_ebx =3D -1052100608, tf_edx =3D 1, tf_ecx =3D 0, tf_eax =3D 7,=20
      tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1072046887, tf_cs =3D 8,=
=20
      tf_eflags =3D 66050, tf_esp =3D -1052100608, tf_ss =3D -1038209024})
    at /usr/src/sys/i386/i386/trap.c:466
#6  0xc019dcd9 in m_copydata (m=3D0xc1524d00, off=3D14, len=3D-7,=20
    cp=3D0xc21e31f6 "]=ED=AFR") at /usr/src/sys/kern/uipc_mbuf.c:939
#7  0xc03e1d2b in ?? ()
#8  0xc03e4403 in ?? ()
#9  0xc03df0f2 in ?? ()
#10 0xc03df3ea in ?? ()
#11 0xc02aa0d9 in intr_mux (arg=3D0xc144c120)
    at /usr/src/sys/i386/isa/intr_machdep.c:582
#12 0x3bef in ?? ()
#13 0x3438 in ?? ()
#14 0xef9b in ?? ()
#15 0x138fe in ?? ()
#16 0x13a25 in ?? ()
#17 0x2abb in ?? ()
#18 0x107e in ?? ()


Here's my kernel config:

(Note that I also have these kernel modules loaded: linux, if_wi, agp,
bridge, linprocfs, netgraph, ng_ether, ng_pppoe, ng_socket, as well as
tdfx and r128 from the graphics/drm-kmod port.)

# File:		JADE
# Author:	Josh Elsasser, jre@vineyard.net
# Date:		Sun Jul 30 1:18:34 2000
# Time-stamp:	<2002-07-08 19:31:55 EDT joshe>
# Description:	jade's kernel config
#
# $Id: JADE,v 1.2 2002/03/12 23:26:27 joshe Exp $


#
# Mandatory Keywords
#
machine		i386
cpu		I686_CPU
ident		JADE
maxusers	0


#
# General Options
#

# This allows you to actually store this configuration file into
# the kernel binary itself, where it may be later read by saying:
#   strings -aout -n 3 /kernel | grep ^___ | sed -e 's/^___//' >kernconf
options 	INCLUDE_CONFIG_FILE     # Include this file in kernel

options		DDB			# Enable the kernel debugger.
options 	DDB_UNATTENDED		# reboot automatically after panic
makeoptions	DEBUG=3D-g		# Build kernel with gdb debug symbols

#options 	NO_MEMORY_HOLE		# AMD K6 optimization
#options 	CPU_WT_ALLOC		# AMD K6 optimization
options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]

options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores

options 	KTRACE			# ktrace(1) support
options 	UCONSOLE		# Allow users to grab the console
#options 	USERCONFIG		# boot -c editor
#options 	VISUAL_USERCONFIG	# visual boot -c editor

options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING

options 	USER_LDT		# only used by WINE


#
# Filesystem Options
#
options 	FFS			# Berkeley Fast Filesystem
options 	FFS_ROOT		# FFS usable as root device
options 	MFS			# Memory Filesystem
options 	NFS			# Network Filesystem
options 	MSDOSFS			# MSDOS Filesystem
options 	CD9660			# ISO 9660 Filesystem
#options 	EXT2FS                  # EXT2 (linux) filesystem, be careful
options 	PROCFS			# Process filesystem
#options 	KERNFS			# Kernel filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_DIRHASH		#Improve performance on big directories
#options 	QUOTA			# Enable disk quotas

#
# Basic Controllers and Devices
#

# controller buses
device		isa
device		pci

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
device		atapifd			# ATAPI floppy drives
#device		atapist			# ATAPI tape drives
options 	ATA_STATIC_ID		# Static device numbering

# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13

# SCSI Controllers
options 	SCSI_DELAY=3D5000	# Delay (in ms) before probing SCSI
device		ahc		# AHA2940 and onboard AIC7xxx devices

# SCSI devices
device		scbus		# SCSI bus (required)
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD-ROMs
device		pass		# Passthrough device (direct SCSI access)


#
# Console, Bus Mouse, and X Server Support
#

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x1
device		psm0	at atkbdc? irq 12
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
#options 	ATKBD_DFLT_KEYMAP	# specify the built-in keymap
#makeoptions	ATKBD_DFLT_KEYMAP=3D"/usr/local/share/syscons/keymaps/us.iso.c=
trl-caps.pc104-meta.kbd"

# The video card driver
device		vga0	at isa?
# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? flags 0x100
# To include support for VESA video modes
#options 	VESA

options 	SC_DISABLE_REBOOT	# disable reboot key sequence
#options 	SC_DISABLE_DDBKEY	# disable `debug' key
#options 	SC_NO_HISTORY           # no scrollback buffer
#options 	SC_HISTORY_SIZE=3D1024    # number of history buffer lines
#options 	SC_PIXEL_MODE		# add support for the raster text mode
#options 	SC_TWOBUTTON_MOUSE      # paste with right mouse button

# The following options will let you change the default colors of syscons.
# Other colors may be found in /sys/i386/include/pc/display.h
#options 	SC_NORM_ATTR=3D"(FG_GREEN|BG_BLACK)"
#options 	SC_NORM_REV_ATTR=3D"(FG_YELLOW|BG_GREEN)"
options 	SC_KERNEL_CONS_ATTR=3D"(FG_LIGHTRED|BG_BLACK)"
options 	SC_KERNEL_CONS_REV_ATTR=3D"(FG_BLACK|BG_RED)"


#
# Serial and Parallel Ports
#

# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3

# Parallel port
device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		ppi		# Parallel port interface device


#
# Networking
#

# General Networking Options
options 	INET			# InterNETworking
#options 	INET6			# IPv6 communications protocols
options 	NETATALK		# Appletalk
options 	ICMP_BANDLIM		# Rate limit bad replies
#options 	TCP_DROP_SYNFIN		# drop TCP packets with SYN+FIN
#options 	NETGRAPH		# netgraph(4) system
options 	IPFIREWALL		# firewall
options 	IPFIREWALL_VERBOSE	# print info about dropped packets
options 	IPDIVERT		# divert sockets
options 	DUMMYNET		# network simulator

# PCI Ethernet NICs
device		miibus		# MII bus support
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)

# Network Pseudo devices
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
#pseudo-device	ppp	1	# Kernel PPP
pseudo-device	tun		# Packet tunnel.
pseudo-device	gif		# IPv6 and IPv4 tunneling
#pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)
#pseudo-device	stf	1	# 6to4 IPv6 over IPv4 encapsulation
pseudo-device	bpf		# Berkeley packet filter


#
# USB Support
#
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
device		ugen		# USB Generic
device		ukbd		# USB Keyboard
device		ums		# USB Mouse
device		uhid		# USB "Human Interface Devices"
#device		umass		# USB Disks/Mass storage - Needs scbus and da
#device		ulpt		# USB Printer
#device		umodem		# USB Modem
#device		uscanner	# USB Scanner


#
# Miscellaneous devices
#

#device		apm0		# Advanced Power Management
device		pcm		# PCM audio through various sound cards

# pseudo-devices
pseudo-device	pty	32	# Pseudo-ttys (telnet etc)
pseudo-device	md		# Memory "disks"
pseudo-device	splash		# splash screen/screen saver
pseudo-device	speaker		# Play IBM BASIC-style noises out your speaker
#pseudo-device	gzip		# Exec gzipped a.out's
#pseudo-device	snp		# Snoop device - to look at pty/vty/etc..
pseudo-device	vn		# Vnode driver (turns a file into a device)

# brooktree tv tuner card
device bktr			# Brooktree TV tuner card driver
device iicbus			# and the framworks
device iicbb			# that it=20
device smbus			# uses.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020918025025.GA577>