From owner-freebsd-bugs@FreeBSD.ORG Sun Apr 11 02:30:25 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D71D16A4CE for ; Sun, 11 Apr 2004 02:30:25 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D3D643D2D for ; Sun, 11 Apr 2004 02:30:25 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i3B9UObv088733 for ; Sun, 11 Apr 2004 02:30:24 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i3B9UOdU088714; Sun, 11 Apr 2004 02:30:24 -0700 (PDT) (envelope-from gnats) Resent-Date: Sun, 11 Apr 2004 02:30:24 -0700 (PDT) Resent-Message-Id: <200404110930.i3B9UOdU088714@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eugene Grosbein Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 444E616A4CE for ; Sun, 11 Apr 2004 02:21:16 -0700 (PDT) Received: from grosbein.pp.ru (grgw.svzserv.kemerovo.su [213.184.64.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1371043D1F for ; Sun, 11 Apr 2004 02:21:14 -0700 (PDT) (envelope-from eugen@grosbein.pp.ru) Received: from grosbein.pp.ru (eugen@localhost [127.0.0.1]) by grosbein.pp.ru (8.12.11/8.12.11) with ESMTP id i3B9KXai000693; Sun, 11 Apr 2004 17:20:33 +0800 (KRAST) (envelope-from eugen@grosbein.pp.ru) Received: (from eugen@localhost) by grosbein.pp.ru (8.12.11/8.12.11/Submit) id i3B9KVtG000692; Sun, 11 Apr 2004 17:20:31 +0800 (KRAST) (envelope-from eugen) Message-Id: <200404110920.i3B9KVtG000692@grosbein.pp.ru> Date: Sun, 11 Apr 2004 17:20:31 +0800 (KRAST) From: Eugene Grosbein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Julian Elischer Subject: kern/65428: uscanner(4)-related repeatable kernel panic, 4.10-BETA X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eugene Grosbein List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2004 09:30:25 -0000 >Number: 65428 >Category: kern >Synopsis: uscanner(4)-related repeatable kernel panic, 4.10-BETA >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 11 02:30:24 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 4.10-BETA i386 >Organization: Svyaz Service JSC >Environment: System: FreeBSD grosbein.pp.ru 4.10-BETA FreeBSD 4.10-BETA #0: Sun Apr 11 15:43:04 KRAST 2004 eu@grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV i386 System was updated 10 April using cvsup. Ports: sane-backends-1.0.13_2, sane-frontends-1.0.11_1, gimp-1.2.3_2,1 >Description: A panic occures while using HP ScanJect 2200c and gimp/xscanimage. >How-To-Repeat: 1. Boot the system (uhci) and command 'startx'. XFree86-4 starts. 2. Run gimp. 3. Walk through menus: File/Aquire/xscanimage/Device dialog 4. Choose Scan mode: Color42/48, hit Scan button. It will complain: 'Gimp doesn't support images with 16bits/channel' Things seem to be time dependent - wait about 60 seconds then press Ok. 5. Change Scan mode to Color, it will complain: 'Failed to set value of option mode: Device busy'. 6. Choose 'File/Exit' menu in this xscanimage window. Several seconds later system panices and we have crashdump. My kernel contains options INVARIANTS options INVARIANT_SUPPORT options USB_DEBUG and I use 'sysctl hw.usb.uscanner.debug=6' Here comes corresponding part of /var/log/messages compressed and uuencoded (216Kb original). Note that is does not contain the last line that was 'uscannerclose' (for obvious reason). Also note that the panic will NOT occur when console=comconsole and this message about uscannerclose is not printed until system shutdown when serial console is used. begin 644 messages.bz2 M0EIH.3%!62936+]L_S;`XERY'[QBZC'# M)P;I9TX'-JZ7..K472&1R&*XC)Q,J).3$\58G5TW?.;P6>=Y\.7.^G*G28O)=\+P\.MSQ5SSWR\=U.5HO-7?(O# MPZW.>`Z[[Y>>XN#*\AVXKK6\3+;Q;SVW/U9Y=EZ:==/72.BX<===3>O%#O#I MXY?,3E93V\._%KG@U>ER(^.!Z:V=WFY*?&J.>':KGGQ=:#PX0Y(PC4,(TC)& MD:1]>^9KH1CKHZJKMB7-55_:*1]O;;KB7YFQ\'I>D/P1R+A')7RJ[4NY3;M/ M83Z%LJ/@GR1\H?)'PCX-Z`]5#U*>(^'Q\OD/BH/4CU0]2/ M4CU'6>O;UU'1[>[M'N.2XNT=CNO4'J1Z(]2/1'J/BJ^*'J4W4OA\MOE M\E\7+DWQ[=O#/;IPGHCR$\DG=O#UZ];WX]^?G???=FWD^#ETZNA MWG0]'AX>E>HX;<3E>J[C:[=GKXZZO9/9>XO:O(O*+W!MY:ZKL.D MKHJ[D=R.XZZZ=#L].W9;=IR<3DZJZ3JZ7=SEVEV7;9+N/(O(VH>@/)W5B[J[ M#P=GJJ[D=T.Y'"_G2)YGNH13DNI7E'25R7!73S2U2\CD$/P'%_6^[,UK##;?M4H?Q^SDE#P%2Z%*/R M)4M1%:13!4/P*4^T@E^05*:2F*4RE!Y^S[H?X57I*O:A%/Q%"?/?**$\*I4^ MJ'^**4/*24]R4/RZ?\P13@(,415\;S5<_A4JGZ/HAYD5+W14O(:%2^I5VJ0N MJ$4^ZA%/\E?U)(N5$5K)!/E0BF`J_/"D>M5`[]U%/HP(K2K\$-1"KCK\BI1= MH<(J7\%2BZ*E%]$/R#TA_!4HO".RI1>J*4/Y0^DJ2I^5*4O>3^4.T?RQ4HON M'[5*']D?R5*+[0H^Y4HM2J3_.E4D_J()[T$X'$(7]I0G(0IZT(IDD3^A2'QH MX"JOQ=%2BPJOTRB]:4J-E%*=!^8J??(JCR\:2AXJ4/-2A^J'=(JU*$_Y*)ZZ 805="D7M:)"K10GL"#_Q=R13A0D,XF"LX ` end Here comes gdb backtrace: Script started on Sun Apr 11 17:13:28 2004 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 conditions. 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"...Deprecated bfd_read called at /usr/local/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /usr/local/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf IdlePTD at physical address 0x003e2000 initial pcb at physical address 0x00334200 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0xb7ffbc01 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0225d37 stack pointer = 0x10:0xdf6b3cec frame pointer = 0x10:0xdf6b3d00 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 427 (xscanimage) interrupt mask = bio trap number = 12 panic: page fault syncing disks... 34 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 0xcc56d134 1: dev:#ad/0x20014, flags:20000220, blkno:391136, lblkno:-12 0xcc568894 2: dev:#ad/0x20010, flags:21021024, blkno:544, lblkno:544 0xcc568748 3: dev:#ad/0x20010, flags:21021024, blkno:576, lblkno:576 0xcc5673d4 4: dev:#ad/0x20014, flags:21021024, blkno:288, lblkno:288 0xcc53141c 5: dev:#ad/0x20017, flags:01000064, blkno:1093696, lblkno:1093696 0xcc5312d0 6: dev:#ad/0x20014, flags:01000064, blkno:385088, lblkno:385088 0xcc531184 7: dev:#ad/0x20010, flags:01000064, blkno:385088, lblkno:385088 0xcc5309bc 8: dev:#ad/0x20017, flags:21021024, blkno:1113660, lblkno:0 0xcc52012c 9: dev:#ad/0x20017, flags:21021024, blkno:1094144, lblkno:1094144 0xcc5173d0 10: dev:#ad/0x20017, flags:21000024, blkno:16, lblkno:16 0xcc517284 11: dev:#ad/0x20017, flags:21000024, blkno:5728, lblkno:5728 0xcc4e7fbc 12: dev:#ad/0x20014, flags:21000024, blkno:16, lblkno:16 0xcc4e7e70 13: dev:#ad/0x20014, flags:21000024, blkno:4160, lblkno:4160 0xcc4e6480 14: dev:#ad/0x20010, flags:21021024, blkno:160, lblkno:160 giving up on 14 buffers Uptime: 3m24s /dev/vmmon: Module vmmon: unloaded dumping to dev #ad/0x20011, offset 1048704 dump ata1: resetting devices .. done 511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496 495 494 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 475 474 473 472 471 470 469 468 467 466 465 464 463 --- #0 dumpsys () at /usr/local/src/sys/kern/kern_shutdown.c:546 546 if (dumping++) { (kgdb) bt full #0 dumpsys () at /usr/local/src/sys/kern/kern_shutdown.c:546 error = 0 #1 0xc0164760 in boot (howto=256) at /usr/local/src/sys/kern/kern_shutdown.c:367 howto = 256 #2 0xc0164bad in panic (fmt=0xc02e596c "%s") at /usr/local/src/sys/kern/kern_shutdown.c:654 fmt = 0xc02e596c "%s" bootopt = 256 buf = "page fault", '\000' #3 0xc0280c60 in trap_fatal (frame=0xdf6b3cac, eva=3086990337) at /usr/local/src/sys/i386/i386/trap.c:974 frame = (struct trapframe *) 0xdf6b3cac eva = 0 code = 16 type = 12 ss = 16 esp = 0 softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, ssd_dpl = 0, ssd_p = 1, ssd_xx = 8, ssd_xx1 = 0, ssd_def32 = 1, ssd_gran = 1} #4 0xc02808f5 in trap_pfault (frame=0xdf6b3cac, usermode=0, eva=3086990337) at /usr/local/src/sys/i386/i386/trap.c:867 va = 3086987264 vm = (struct vmspace *) 0x0 ---Type to continue, or q to quit--- map = 0xdb1b8040 rv = 0 ftype = 1 '\001' p = (struct proc *) 0xdb15dba0 #5 0xc0280487 in trap (frame={tf_fs = -1035272176, tf_es = -1042284528, tf_ds = -1035272176, tf_edi = -1042266052, tf_esi = -1035438208, tf_ebp = -546620160, tf_isp = -546620200, tf_ebx = -1042266112, tf_edx = 0, tf_ecx = -1042239488, tf_eax = -1207976961, tf_trapno = 12, tf_err = 0, tf_eip = -1071489737, tf_cs = 8, tf_eflags = 66118, tf_esp = 6865984, tf_ss = -1042266112}) at /usr/local/src/sys/i386/i386/trap.c:466 p = (struct proc *) 0xdb15dba0 sticks = 3238509696 i = 0 ucode = 0 type = 12 code = 0 eva = 3086990337 #6 0xc0225d37 in usb_transfer_complete (xfer=0xc1e04800) at /usr/local/src/sys/dev/usb/usbdi.c:114 xfer = 0x68c440 xfer = 0x68c440 pipe = 0xc2487780 dmap = (usb_dma_t *) 0xc1e0483c ---Type to continue, or q to quit--- repeat = -34 polling = -118 #7 0xc0220b17 in uhci_abort_xfer (xfer=0xc1e04800, status=USBD_CANCELLED) at /usr/local/src/sys/dev/usb/uhci.c:1932 xfer = 0xc1e04800 status = USBD_CANCELLED ii = (uhci_intr_info_t *) 0xc1e0486c upipe = (struct uhci_pipe *) 0xc2487780 sc = (uhci_softc_t *) 0xc03088e0 std = (uhci_soft_td_t *) 0x0 s = 6865984 #8 0xc0220ab4 in uhci_device_bulk_abort (xfer=0xc1e04800) at /usr/local/src/sys/dev/usb/uhci.c:1903 xfer = 0x0 #9 0xc0225cad in usbd_ar_pipe (pipe=0xc2487600) at /usr/local/src/sys/dev/usb/usbdi.c:753 pipe = 0xc2487600 xfer = 0xc1e04800 #10 0xc022596d in usbd_abort_pipe (pipe=0xc2487600) at /usr/local/src/sys/dev/usb/usbdi.c:553 pipe = 0xc2487600 err = 3259528704 s = 0 #11 0xc022d964 in uscanner_do_close (sc=0xc1e08000) ---Type to continue, or q to quit--- at /usr/local/src/sys/dev/usb/uscanner.c:482 sc = (struct uscanner_softc *) 0xc1e08000 #12 0xc022d8e6 in uscannerclose (dev=0xc1e14f80, flag=3, mode=8192, p=0xdb15dba0) at /usr/local/src/sys/dev/usb/uscanner.c:458 dev = 0xc1e14f80 flag = 0 mode = 0 sc = (struct uscanner_softc *) 0xc1e08000 #13 0xc01a07af in spec_close (ap=0xdf6b3ddc) at /usr/local/src/sys/miscfs/specfs/spec_vnops.c:591 vp = (struct vnode *) 0xdb0abfc0 p = (struct proc *) 0xdb15dba0 dev = 0xc1e14f80 #14 0xc020c87e in ufsspec_close (ap=0xdf6b3ddc) at /usr/local/src/sys/ufs/ufs/ufs_vnops.c:1854 ap = (struct vop_close_args *) 0xdf6b3ddc vp = (struct vnode *) 0x0 #15 0xc020ce61 in ufs_vnoperatespec (ap=0xdf6b3ddc) at /usr/local/src/sys/ufs/ufs/ufs_vnops.c:2394 ap = (struct vop_generic_args *) 0x0 #16 0xc019c01c in vn_close (vp=0xdb0abfc0, flags=3, cred=0xc2487880, p=0xdb15dba0) at vnode_if.h:218 rc = -1035228352 a = {a_desc = 0xc02f0a60, a_vp = 0xdb0abfc0, a_fflag = 3, ---Type to continue, or q to quit--- a_cred = 0xc2487880, a_p = 0xdb15dba0} vp = (struct vnode *) 0xdb0abfc0 fflag = 0 cred = (struct ucred *) 0x0 p = (struct proc *) 0x0 vp = (struct vnode *) 0xdb0abfc0 flags = 0 cred = (struct ucred *) 0x0 p = (struct proc *) 0x0 #17 0xc019c9ce in vn_closefile (fp=0xc24bab40, p=0xdb15dba0) at /usr/local/src/sys/kern/vfs_vnops.c:693 fp = (struct file *) 0x0 p = (struct proc *) 0x0 #18 0xc0159c78 in fdrop (fp=0xc24bab40, p=0xdb15dba0) at /usr/local/src/sys/sys/file.h:218 fp = (struct file *) 0xc24bab40 p = (struct proc *) 0x0 fp = (struct file *) 0xc24bab40 p = (struct proc *) 0x0 lf = {l_start = -2658389678656630784, l_len = -2347714095626584064, l_pid = 32, l_type = 7614, l_whence = 0} vp = (struct vnode *) 0x0 error = -619324512 #19 0xc0159bbc in closef (fp=0xc24bab40, p=0xdb15dba0) ---Type to continue, or q to quit--- at /usr/local/src/sys/kern/kern_descrip.c:1441 fp = (struct file *) 0xc24bab40 p = (struct proc *) 0xdb15dba0 vp = (struct vnode *) 0x0 lf = {l_start = 7614, l_len = 3675642784, l_pid = -546619648, l_type = 17926, l_whence = -16361} fdtol = (struct filedesc_to_leader *) 0x0 #20 0xc01596f1 in fdfree (p=0xdb15dba0) at /usr/local/src/sys/kern/kern_descrip.c:1189 fdp = (struct filedesc *) 0xc24bb100 fpp = (struct file **) 0xc24bb070 i = 1 fdtol = (struct filedesc_to_leader *) 0x0 vp = (struct vnode *) 0x0 lf = {l_start = 0, l_len = 30064771072, l_pid = -1070384228, l_type = 16164, l_whence = -8341} #21 0xc015c5f6 in exit1 (p=0xdb15dba0, rv=0) at /usr/local/src/sys/kern/kern_exit.c:188 rv = 0 q = (struct proc *) 0x0 nq = (struct proc *) 0x1 vm = (struct vmspace *) 0x0 vtmp = (struct vnode *) 0x0 ep = (struct exitlist *) 0x0 ---Type to continue, or q to quit--- #22 0xc015c469 in sys_exit (p=0xdb15dba0, uap=0xdf6b3f80) at /usr/local/src/sys/kern/kern_exit.c:104 p = (struct proc *) 0x0 uap = (struct sys_exit_args *) 0x0 #23 0xc0280ed1 in syscall2 (frame={tf_fs = 149094447, tf_es = 47, tf_ds = -1078001617, tf_edi = 134901760, tf_esi = 677365224, tf_ebp = -1077943904, tf_isp = -546619436, tf_ebx = 677628768, tf_edx = 677404864, tf_ecx = 7, tf_eax = 1, tf_trapno = 12, tf_err = 2, tf_eip = 674953408, tf_cs = 31, tf_eflags = 647, tf_esp = -1077943964, tf_ss = 47}) at /usr/local/src/sys/i386/i386/trap.c:1175 params = 0xbfbfe168 "" i = 0 callp = (struct sysent *) 0xc02f6d48 p = (struct proc *) 0xdb15dba0 orig_tf_eflags = 647 sticks = 979 error = 0 narg = 1 args = {0, 152780202, 7614, 0, 0, 0, 0, 0} code = 1 #24 0xc0273e45 in Xint0x80_syscall () No symbol table info available. #25 0x285ff15a in ?? () No symbol table info available. ---Type to continue, or q to quit--- #26 0x2834093e in ?? () No symbol table info available. #27 0x28340bca in ?? () No symbol table info available. #28 0x804de51 in ?? () No symbol table info available. #29 0x804e3cb in ?? () No symbol table info available. #30 0x2814e562 in ?? () No symbol table info available. #31 0x281805ac in ?? () No symbol table info available. #32 0x2817f9c1 in ?? () No symbol table info available. #33 0x2817d91d in ?? () No symbol table info available. #34 0x280e882c in ?? () No symbol table info available. #35 0x280e9ef5 in ?? () No symbol table info available. #36 0x2814e562 in ?? () No symbol table info available. #37 0x2817f841 in ?? () No symbol table info available. ---Type to continue, or q to quit--- #38 0x2817d91d in ?? () No symbol table info available. #39 0x280e875c in ?? () No symbol table info available. #40 0x280e9844 in ?? () No symbol table info available. #41 0x2814e11a in ?? () No symbol table info available. #42 0x2817f9fa in ?? () No symbol table info available. #43 0x2817d91d in ?? () No symbol table info available. #44 0x281b7284 in ?? () No symbol table info available. #45 0x2814e05d in ?? () No symbol table info available. #46 0x2814d0ea in ?? () No symbol table info available. #47 0x28202185 in ?? () No symbol table info available. #48 0x28232d07 in ?? () No symbol table info available. #49 0x28233330 in ?? () No symbol table info available. ---Type to continue, or q to quit--- #50 0x282334c8 in ?? () No symbol table info available. #51 0x2814c97e in ?? () No symbol table info available. #52 0x80501d6 in ?? () No symbol table info available. #53 0x804cf8b in ?? () No symbol table info available. #54 0x280a6acd in ?? () No symbol table info available. #55 0x280a68dc in ?? () No symbol table info available. #56 0x280a5b02 in ?? () No symbol table info available. #57 0x8050293 in ?? () No symbol table info available. #58 0x804cb16 in ?? () No symbol table info available. (kgdb) quit Script done on Sun Apr 11 17:13:47 2004 Here comes kernel config file: # DADV kernel config #for strings -n 3 /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL options INCLUDE_CONFIG_FILE machine i386 #cpu I386_CPU #cpu I486_CPU #cpu I586_CPU cpu I686_CPU options CPU_ENABLE_SSE #enables SSE/MMX2 instructions support. ident DADV maxusers 0 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols #options MATH_EMULATE #Support for x87 emulation #options CLK_CALIBRATION_LOOP options "CLK_USE_I8254_CALIBRATION" options CLK_USE_TSC_CALIBRATION options INET #InterNETworking #options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] #options MFS #Memory Filesystem #options MD_ROOT #MD is a potential root device #options NFS #Network Filesystem #options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem #options CD9660 #ISO 9660 Filesystem #options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem #options EXT2FS #Linux ext2 filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options CPU_SUSP_HLT #options "NO_F00F_HACK" options USER_LDT options PPP_BSDCOMP options PPP_DEFLATE options PPP_FILTER options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options SHMALL=4097 options SHMMAXPGS=4097 options SHMMAX=(SHMMAXPGS*PAGE_SIZE+1) options SEMMAP=255 options SEMMNI=235 options SEMMNS=255 options SEMMNU=235 options SEMMSL=255 options SEMOPM=201 options SEMUME=201 options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L options ICMP_BANDLIM #Rate limit bad replies #options FDESC options NSWAPDEV=4 device isa device eisa device pci options AUTO_EOI_1 # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 #device fd1 at fdc0 drive 1 # ATA and ATAPI devices #device ata0 at isa? port IO_WD1 irq 14 flags 0xb0ffb0ff #device ata1 at isa? port IO_WD2 irq 15 flags 0xb0ffb0ff 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 # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 # Options for atkbd: options ATKBD_DFLT_KEYMAP # specify the built-in keymap makeoptions ATKBD_DFLT_KEYMAP="ru.koi8-r.pdwn" device psm0 at atkbdc? irq 12 device vga0 at isa? options VESA options VGA_WIDTH90 # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? options SC_DFLT_FONT # compile font in makeoptions SC_DFLT_FONT=cp866 options MAXCONS=24 options SC_HISTORY_SIZE=1000 options SC_MOUSE_CHAR=0x03 #options SC_TWOBUTTON_MOUSE options SC_PIXEL_MODE # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) #device apm0 at nexus? flags 0x31 # Advanced Power Management device apm0 at nexus? # Advanced Power Management # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device miibus device fxp device rl device ep # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer #device plip # TCP/IP over parallel device ppi # Parallel port interface device #device joy0 at isa? port IO_GAME # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device sl 2 # Kernel SLIP pseudo-device ppp 2 # Kernel PPP pseudo-device tun # Packet tunnel. pseudo-device pty 16 # Pseudo-ttys (telnet etc) #pseudo-device md # Memory "disks" pseudo-device gif 4 # IPv6 and IPv4 tunneling pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) pseudo-device snp #pseudo-device vn pseudo-device gzip # Exec gzipped a.out's pseudo-device speaker # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter options MSGBUF_SIZE=40960 device pcm #options QUOTA options IPFIREWALL options IPFIREWALL_VERBOSE options IPFW2 options IPDIVERT options DUMMYNET options SOFTUPDATES #device smbus0 #device iicbus0 #device iicbb0 #device intpm0 #device smb0 at smbus? device smbus #device iicbus #device iicbb device intpm #device alpm #device ichsmb device smb #device ic #device iic #device iicsmb options DDB options DDB_UNATTENDED #options LIBMCHAIN #options LIBICONV #options NETSMB #options NETSMBCRYPTO options RANDOM_IP_ID #options SMBFS options UFS_DIRHASH options PQ_CACHESIZE=128 # color for 128k/16k cache options SHOW_BUSYBUFS device uhci #device ohci device usb device uscanner device ugen device uhid device ucom device tap #options SHUTDOWN_BEEP options IPSEC #IP security options IPSEC_ESP #IP security (crypto; define w/ IPSEC) options INVARIANTS options INVARIANT_SUPPORT options USB_DEBUG device agp #device radeondrm options VGA_PREFER_BIOSMODE #device acpica And finally there is /var/run/dmesg.boot Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.10-BETA #0: Sun Apr 11 15:43:04 KRAST 2004 eu@grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV Timecounter "i8254" frequency 1193168 Hz CPU: Intel Celeron (902.03-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383f9ff real memory = 536805376 (524224K bytes) config> flags atkbd 0x0 config> quit avail memory = 518324224 (506176K bytes) Preloaded elf kernel "kernel" at 0xc03c3000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03c309c. VESA: v2.0, 65536k memory, flags:0x1, mode table:0xc034c7c2 (1000022) VESA: ATI RADEON 9200 Pentium Pro MTRR support enabled Using $PIR table, 8 entries at 0xc00fdef0 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xe8000000-0xebffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 pci1: at 0.1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xe000-0xe01f irq 10 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uscanner0: Hewlett-Packard HP ScanJet 2200C, rev 1.10/1.00, addr 2 uhid0: American Power Conversion Back-UPS 500 FW: 6.5.I USB FW: c1, rev 1.10/1.00, addr 3, iclass 3/0 intpm0: port 0x5000-0x500f irq 9 at device 7.3 on pci0 intpm0: I/O mapped 5000 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped 4000 fxp0: port 0xe400-0xe41f mem 0xef000000-0xef0fffff,0xef100000-0xef100fff irq 9 at device 16.0 on pci0 fxp0: Ethernet address 00:a0:c9:89:95:1f inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: