panic in RELENG_5 UMA - two new stack traces

Gary Mu1der gmulder at infotechfl.com
Tue Jun 28 15:24:01 GMT 2005


Gleb,

Thank you very much for your reply.

I spent the day yesterday trying to reproduce the crash that I posted 
last week and you kindly replied to. This is due to the fact that I 
stupidly managed to overwrite the kernel.debug that I used to generate 
the stack trace. Sadly I could not cause the system to crash again with 
the same sb* errors.

I did however remove both the Berkley Packet Filter and IPFilter from my 
custom kernel to try and isolate the problem. This has caused the crash 
to occur in a different and more reproducible form. I have both 
INVARIANTS and WITNESS enabled, as you can see from my kernel conf. 
which is included at the end of this e-mail.

Below are the latest stack traces (using bge and then fxp NICs), kernel 
conf. and dmesg. Any help would be appreciated. This time I have a copy 
of both the core files and corresponding kernel.debug so I can hopefully 
provide you with any info you need.

--------------------

d5# uname -a
FreeBSD d5.bidx.com 5.4-RELEASE FreeBSD 5.4-RELEASE #12: Tue Jun 28 
09:19:34 EDT 2005 
root at d5.bidx.com:/usr/obj/usr/src/sys/DB-DUAL-AMD64-RAID5  amd64

Here is a stack trace when I am using the bge NIC driver (which I've had 
reports on the freebsd-amd64 list as being unstable under load):

d5# kgdb kernel.debug.20 vmcore.20
[GDB will not be able to debug user-mode threads: 
/usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "amd64-marcel-freebsd".
#0  doadump () at pcpu.h:167
167     pcpu.h: No such file or directory.
         in pcpu.h
(kgdb) bt full
#0  doadump () at pcpu.h:167
No locals.
#1  0xffffffff80241dc9 in boot (howto=260)
     at /usr/src/sys/kern/kern_shutdown.c:410
         _ep = (struct eventhandler_entry *) 0x0
         _el = (struct eventhandler_list *) 0xffffff0000829e00
         first_buf_printf = 1
#2  0xffffffff8024185b in panic (
     fmt=0xffffffff803b35a8 "Duplicate free of item %p from zone %p(%s)\n")
     at /usr/src/sys/kern/kern_shutdown.c:566
         bootopt = 260
         newpanic = 0
         ap = {{gp_offset = 32, fp_offset = 48,
     overflow_arg_area = 0xffffffffb3431ad0,
     reg_save_area = 0xffffffffb34319f0}}
         buf = "Duplicate free of item 0xffffff00d318bb00 from zone 
0xffffff00f3fe46c0(Mbuf)\n", '\0' <repeats 178 times>
#3  0xffffffff8031f2e8 in uma_dbg_free (zone=0xffffff00f3fe46c0,
     slab=0xffffff00d318bf50, item=0xffffff00d318bb00)
     at /usr/src/sys/vm/uma_dbg.c:301
         keg = 0xffffff00f3fde000
         freei = 11
#4  0xffffffff8031d720 in uma_zfree_arg (zone=0xffffff00f3fe46c0,
     item=0xffffff00d318bb00, udata=0x0) at /usr/src/sys/vm/uma_core.c:2273
         keg = 0xffffff00f3fde000
         cache = 0xffffff00f3fe4740
         bucket = 0x9
         bflags = 0
         skip = SKIP_DTOR
#5  0xffffffff8027f5d1 in m_freem (mb=0x0) at uma.h:304
No locals.
#6  0xffffffff801d424e in bge_intr (xsc=0x0)
     at /usr/src/sys/dev/bge/if_bge.c:2862
         sc = (struct bge_softc *) 0xffffffff80843000
         status = 0
#7  0xffffffff8022c899 in ithread_loop (arg=0xffffff0000022300)
     at /usr/src/sys/kern/kern_intr.c:547
         ih = (struct intrhand *) 0xffffff0000a1eb80
         p = (struct proc *) 0xffffff00ec16f8b8
         count = 0
         warming = 0
         warned = 0
         __func__ = "ithread_loop"
#8  0xffffffff8022b8d3 in fork_exit (
     callout=0xffffffff8022c7c0 <ithread_loop>, arg=0xffffff0000022300,
     frame=0xffffffffb3431c50) at /usr/src/sys/kern/kern_fork.c:791
         p = (struct proc *) 0xffffff00ec16f8b8
#9  0xffffffff8032879e in fork_trampoline ()
     at /usr/src/sys/amd64/amd64/exception.S:296
No locals.
#10 0x0000000000000000 in ?? ()
No symbol table info available.
#11 0x0000000000000000 in ?? ()
No symbol table info available.
#12 0x0000000000000001 in ?? ()
No symbol table info available.
#13 0x0000000000000000 in ?? ()
No symbol table info available.
#14 0x0000000000000000 in ?? ()
No symbol table info available.
#15 0x0000000000000000 in ?? ()
No symbol table info available.
#16 0x0000000000000000 in ?? ()
No symbol table info available.
#17 0x0000000000000000 in ?? ()
No symbol table info available.
#18 0x0000000000000000 in ?? ()
No symbol table info available.
#19 0x0000000000000000 in ?? ()
No symbol table info available.
#20 0x0000000000000000 in ?? ()
No symbol table info available.
#21 0x0000000000000000 in ?? ()
No symbol table info available.
#22 0x0000000000000000 in ?? ()
No symbol table info available.
#23 0x0000000000000000 in ?? ()
No symbol table info available.
#24 0x0000000000000000 in ?? ()
No symbol table info available.
#25 0x0000000000000000 in ?? ()
No symbol table info available.
#26 0x0000000000000000 in ?? ()
No symbol table info available.
#27 0x0000000000000000 in ?? ()
No symbol table info available.
#28 0x0000000000000000 in ?? ()
No symbol table info available.
#29 0x0000000000000000 in ?? ()
No symbol table info available.
#30 0x0000000000000000 in ?? ()
No symbol table info available.
#31 0x0000000000000000 in ?? ()
No symbol table info available.
#32 0x0000000000000000 in ?? ()
No symbol table info available.
#33 0x0000000000000000 in ?? ()
No symbol table info available.
#34 0x0000000000000000 in ?? ()
No symbol table info available.
#35 0x0000000000000000 in ?? ()
No symbol table info available.
#36 0x0000000000000000 in ?? ()
No symbol table info available.
#37 0x0000000000000000 in ?? ()
No symbol table info available.
#38 0x0000000000000000 in ?? ()
No symbol table info available.
#39 0x0000000000000000 in ?? ()
No symbol table info available.
#40 0x0000000000000000 in ?? ()
No symbol table info available.
#41 0x0000000000000000 in ?? ()
No symbol table info available.
#42 0x000000000071b000 in ?? ()
No symbol table info available.
#43 0xffffff00f3fe46c0 in ?? ()
No symbol table info available.
#44 0x0000000000000000 in ?? ()
No symbol table info available.
#45 0xffffff00ec16f8b8 in ?? ()
No symbol table info available.
#46 0xffffff00ec153a00 in ?? ()
No symbol table info available.
#47 0xffffffffb3431910 in ?? ()
No symbol table info available.
#48 0xffffffffb34318e8 in ?? ()
No symbol table info available.
#49 0xffffff00ec19a780 in ?? ()
No symbol table info available.
#50 0xffffffff80254b3e in sched_switch (td=0xffffff0000022300,
     newtd=0xffffffff8022c7c0, flags=0) at 
/usr/src/sys/kern/sched_4bsd.c:881
         kg = (struct ksegrp *) 0x0
         p = (struct proc *) 0x0
Previous frame inner to this frame (corrupt stack?)

------------------

Here is a stack trace using the fxp NIC driver (which I tried in the 
hope that the crash was bge related):

d5# kgdb kernel.debug.23 vmcore.23
[GDB will not be able to debug user-mode threads: 
/usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "amd64-marcel-freebsd".
#0  doadump () at pcpu.h:167
167     pcpu.h: No such file or directory.
         in pcpu.h
(kgdb) bt full
#0  doadump () at pcpu.h:167
No locals.
#1  0xffffffff80241dc9 in boot (howto=260)
     at /usr/src/sys/kern/kern_shutdown.c:410
         _ep = (struct eventhandler_entry *) 0x0
         _el = (struct eventhandler_list *) 0xffffff0000829e00
         first_buf_printf = 1
#2  0xffffffff8024185b in panic (
     fmt=0xffffffff803b35d4 "Most recently used by %s\n")
     at /usr/src/sys/kern/kern_shutdown.c:566
         bootopt = 260
         newpanic = 0
         ap = {{gp_offset = 16, fp_offset = 48,
     overflow_arg_area = 0xffffffffb6305a10,
     reg_save_area = 0xffffffffb6305930}}
         buf = "Most recently used by routetbl\n", '\0' <repeats 224 times>
#3  0xffffffff8031efa8 in mtrash_ctor (mem=0x0, size=0, arg=0x0, flags=0)
     at /usr/src/sys/vm/uma_dbg.c:136
         ksp = (struct malloc_type **) 0xffffff00aa5037f8
         p = (u_int32_t *) 0x0
         cnt = 0
#4  0xffffffff8031dd1f in uma_zalloc_arg (zone=0xffffff00f3fe6b40,
     udata=0x0, flags=258) at /usr/src/sys/vm/uma_core.c:1848
         item = (void *) 0xffffff00aa5037c0
         cache = 0xffffff00f3fe6ba8
         bucket = 0x0
         badness = 0
#5  0xffffffff80236d8c in malloc (size=6, type=0xffffffff804ee820, 
flags=258)
     at uma.h:276
         lasterr = {tv_sec = 0, tv_usec = 0}
         curerr = 0
         once = 0
         indx = 2
         va = 0xffffffff804f3360 "\003"
         zone = 0x0
         keg = 0xffffff00f3fe5100
#6  0xffffffff802bd81c in rts_attach (so=0xffffff00a82a8228, proto=0, 
td=0x0)
     at /usr/src/sys/net/rtsock.c:161
         rp = (struct rawcb *) 0xffffffff804f3360
         error = 0
#7  0xffffffff80284532 in socreate (dom=0, aso=0xffffffffb6305b40,
     type=-1473608992, proto=0, cred=0xffffffff804f33e0,
     td=0xffffff00af281280) at /usr/src/sys/kern/uipc_socket.c:219
         prp = (struct protosw *) 0xffffffff804f3360
         so = (struct socket *) 0xffffff00a82a8228
         error = -2142293152
#8  0xffffffff80288648 in socket (td=0xffffff00af281280,
     uap=0xffffffffb6305bc0) at /usr/src/sys/kern/uipc_syscalls.c:167
         fdp = (struct filedesc *) 0xffffff0065d97000
         so = (struct socket *) 0x0
         fp = (struct file *) 0xffffff00ab6f6310
         fd = 3
         error = 0
#9  0xffffffff8033acbb in syscall (frame=
       {tf_rdi = 17, tf_rsi = 3, tf_rdx = 0, tf_rcx = 4, tf_r8 = 5, 
tf_r9 = 0, tf_rax = 97, tf_rbx = 5256992, tf_rbp = 5256960, tf_r10 = 4, 
tf_r11 = 598, tf_r12 = 4, tf_r13 = 5257144, tf_r14 = 0, tf_r15 = 0, 
tf_trapno = 12, tf_addr = 34366595268, tf_flags = 0, tf_err = 2, tf_rip 
= 34366595280, tf_cs = 43, tf_rflags = 514, tf_rsp = 140737488350184, 
tf_ss = 35})
     at /usr/src/sys/amd64/amd64/trap.c:771
         params = 0x7fffffffebf0 <Address 0x7fffffffebf0 out of bounds>
         callp = (struct sysent *) 0xffffffff804de150
         p = (struct proc *) 0xffffff00aec642e8
         orig_tf_rflags = 514
         sticks = 1
         error = 0
         narg = 3
         args = {17, 3, 0, 4, 5, 0, -1238344640, 4300394496}
         argp = (register_t *) 0x0
         code = 97
         reg = 0
         regcnt = 6
#10 0xffffffff803286d8 in Xfast_syscall ()
     at /usr/src/sys/amd64/amd64/exception.S:248
No locals.
#11 0x0000000000000011 in ?? ()
No symbol table info available.
#12 0x0000000000000003 in ?? ()
No symbol table info available.
#13 0x0000000000000000 in ?? ()
No symbol table info available.
#14 0x0000000000000004 in ?? ()
No symbol table info available.
#15 0x0000000000000005 in ?? ()
No symbol table info available.
#16 0x0000000000000000 in ?? ()
No symbol table info available.
#17 0x0000000000000061 in ?? ()
No symbol table info available.
#18 0x0000000000503720 in ?? ()
No symbol table info available.
#19 0x0000000000503700 in ?? ()
No symbol table info available.
#20 0x0000000000000004 in ?? ()
No symbol table info available.
#21 0x0000000000000256 in ?? ()
No symbol table info available.
#22 0x0000000000000004 in ?? ()
No symbol table info available.
#23 0x00000000005037b8 in ?? ()
No symbol table info available.
#24 0x0000000000000000 in ?? ()
No symbol table info available.
#25 0x0000000000000000 in ?? ()
No symbol table info available.
#26 0x000000000000000c in ?? ()
No symbol table info available.
#27 0x000000080068a0c4 in ?? ()
No symbol table info available.
#28 0x0000000000000000 in ?? ()
No symbol table info available.
#29 0x0000000000000002 in ?? ()
No symbol table info available.
#30 0x000000080068a0d0 in ?? ()
No symbol table info available.
#31 0x000000000000002b in ?? ()
No symbol table info available.
#32 0x0000000000000202 in ?? ()
No symbol table info available.
#33 0x00007fffffffebe8 in ?? ()
No symbol table info available.
#34 0x0000000000000023 in ?? ()
No symbol table info available.
#35 0x00007fffffffe978 in ?? ()
No symbol table info available.
#36 0x0000000000000023 in ?? ()
No symbol table info available.
#37 0x0000000000000000 in ?? ()
No symbol table info available.
#38 0x0000000000000000 in ?? ()
No symbol table info available.
#39 0x0000000000000000 in ?? ()
No symbol table info available.
#40 0x0000000000000000 in ?? ()
No symbol table info available.
#41 0x0000000000000000 in ?? ()
No symbol table info available.
#42 0x0000000000000000 in ?? ()
No symbol table info available.
#43 0x0000000000000000 in ?? ()
No symbol table info available.
#44 0x0000000000000000 in ?? ()
No symbol table info available.
#45 0x00000000a6745000 in ?? ()
No symbol table info available.
#46 0xffffffffb6305c40 in ?? ()
No symbol table info available.
#47 0x0000000000000000 in ?? ()
No symbol table info available.
#48 0xffffff00aec642e8 in ?? ()
No symbol table info available.
#49 0xffffff00ec153a00 in ?? ()
No symbol table info available.
#50 0xffffffffb6305b80 in ?? ()
No symbol table info available.
#51 0xffffffffb6305b58 in ?? ()
No symbol table info available.
#52 0xffffff00af281280 in ?? ()
No symbol table info available.
#53 0xffffffff80254b3e in sched_switch (td=0x503720, newtd=0x4, flags=0)
     at /usr/src/sys/kern/sched_4bsd.c:881
         kg = (struct ksegrp *) 0x0
         p = (struct proc *) 0x5037b8
Previous frame inner to this frame (corrupt stack?)

--------------

d5# cat DB-DUAL-AMD64-RAID5
#
# GENERIC -- Generic kernel configuration file for FreeBSD/amd64
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
# 
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/amd64/conf/GENERIC,v 1.421.2.8 2005/03/30 01:05:53 
murray Exp $

machine         amd64
cpu             HAMMER
ident           DB-DUAL-AMD64-RAID5

# Debug Options
makeoptions     DEBUG=-g
options         DDB
options         KDB
options         BREAK_TO_DEBUGGER
options         INVARIANT_SUPPORT
options         INVARIANTS
options         WITNESS
options         WITNESS_KDB
options         WITNESS_SKIPSPIN

# To statically compile in device wiring instead of /boot/device.hints
#hints          "GENERIC.hints"         # Default places to look for 
devices.

options         SCHED_4BSD              # 4BSD scheduler
#options        SCHED_ULE               # 4BSD experimental scheduler
options         INET                    # InterNETworking
#options        INET6                   # IPv6 communications protocols
options         FFS                     # Berkeley Fast Filesystem
options         SOFTUPDATES             # Enable FFS soft updates support
#options        UFS_ACL                 # Support for access control lists
options         UFS_DIRHASH             # Improve performance on big 
directories
#options        MD_ROOT                 # MD is a potential root device
#options        NFSCLIENT               # Network Filesystem Client
#options        NFSSERVER               # Network Filesystem Server
#options        NFS_ROOT                # NFS usable as /, requires 
NFSCLIENT
#options        NTFS                    # NT File System
#options        MSDOSFS                 # MSDOS Filesystem
options         CD9660                  # ISO 9660 Filesystem
options         PROCFS                  # Process filesystem (requires 
PSEUDOFS)
options         PSEUDOFS                # Pseudo-filesystem framework
options         GEOM_GPT                # GUID Partition Tables.
options         COMPAT_43               # Needed by COMPAT_LINUX32
options         COMPAT_IA32             # Compatible with i386 binaries
options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
options         COMPAT_LINUX32          # Compatible with i386 linux 
binaries
options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
options         KTRACE                  # ktrace(1) support
options         SYSVSHM                 # SYSV-style shared memory
options         SYSVMSG                 # SYSV-style message queues
options         SYSVSEM                 # SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
                                         # output.  Adds ~128k to driver.
options         AHD_REG_PRETTY_PRINT    # Print register bitfields in debug
                                         # output.  Adds ~215k to driver.
options         ADAPTIVE_GIANT          # Giant mutex is adaptive.

# Workarounds for some known-to-be-broken chipsets (nVidia nForce3-Pro150)
device          atpic           # 8259A compatability
options         NO_MIXED_MODE   # Don't penalize working chipsets

# Linux 32-bit ABI support
options         LINPROCFS               # Cannot be a module yet.

# Bus support.  Do not remove isa, even if you have no isa slots
device          acpi
device          isa
device          pci

# Floppy drives
device          fdc

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

# SCSI Controllers
#device         ahc             # AHA2940 and onboard AIC7xxx devices
device          ahd             # AHA39320/29320 and onboard AIC79xx devices
#device         amd             # AMD 53C974 (Tekram DC-390(T))
#device         isp             # Qlogic family
#device         ispfw           # Firmware for QLogic HBAs- normally a 
module
#device         mpt             # LSI-Logic MPT-Fusion
#device         ncr             # NCR/Symbios Logic
#device         sym             # NCR/Symbios Logic (newer chipsets + 
those of `ncr')
#device         trm             # Tekram DC395U/UW/F DC315U adapters

#device         adv             # Advansys SCSI adapters
#device         adw             # Advansys wide SCSI adapters
#device         aic             # Adaptec 15[012]x SCSI adapters, 
AIC-6[23]60.
#device         bt              # Buslogic/Mylex MultiMaster SCSI adapters


# SCSI peripherals
device          scbus           # SCSI bus (required for SCSI)
#device         ch              # SCSI media changers
device          da              # Direct Access (disks)
device          sa              # Sequential Access (tape etc)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI access)
device          ses             # SCSI Environmental Services (and SAF-TE)

# RAID controllers interfaced to the SCSI subsystem
#device         amr             # AMI MegaRAID
#device         ciss            # Compaq Smart RAID 5*
#device         dpt             # DPT Smartcache III, IV - See NOTES for 
options
#device         iir             # Intel Integrated RAID
#device         ips             # IBM (Adaptec) ServeRAID
#device         mly             # Mylex AcceleRAID/eXtremeRAID
#device         twa             # 3ware 9000 series PATA/SATA RAID

# RAID controllers
device          aac             # Adaptec FSA RAID
#device         aacp            # SCSI passthrough for aac (requires CAM)
#device         ida             # Compaq Smart RAID
#device         mlx             # Mylex DAC960 family
#XXX pointer/int warnings
#device         pst             # Promise Supertrak SX6000
#device         twe             # 3ware ATA RAID

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc          # AT keyboard controller
device          atkbd           # AT keyboard
device          psm             # PS/2 mouse

device          vga             # VGA video card driver

device          splash          # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device          sc

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
#device         cbb             # cardbus (yenta) bridge
#device         pccard          # PC Card (16-bit) bus
#device         cardbus         # CardBus (32-bit) bus

# Serial (COM) ports
#device         sio             # 8250, 16[45]50 based serial ports

# Parallel port
#device         ppc
#device         ppbus           # Parallel port bus (required)
#device         lpt             # Printer
#device         plip            # TCP/IP over parallel
#device         ppi             # Parallel port interface device
#device         vpo             # Requires scbus and da

# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to the sio and/or ppc drivers):
#device         puc

# PCI Ethernet NICs.
#device         de              # DEC/Intel DC21x4x (``Tulip'')
#device         em              # Intel PRO/1000 adapter Gigabit 
Ethernet Card
#device         ixgb            # Intel PRO/10GbE Ethernet Card
#device         txp             # 3Com 3cR990 (``Typhoon'')
#device         vx              # 3Com 3c590, 3c595 (``Vortex'')

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device          miibus          # MII bus support
#device         bfe             # Broadcom BCM440x 10/100 Ethernet
device          bge             # Broadcom BCM570xx Gigabit Ethernet
#device         dc              # DEC/Intel 21143 and various workalikes
device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)
#device         lge             # Level 1 LXT1001 gigabit Ethernet
#device         nge             # NatSemi DP83820 gigabit Ethernet
#device         pcn             # AMD Am79C97x PCI 10/100 (precedence 
over 'lnc')
#device         re              # RealTek 8139C+/8169/8169S/8110S
#device         rl              # RealTek 8129/8139
#device         sf              # Adaptec AIC-6915 (``Starfire'')
#device         sis             # Silicon Integrated Systems SiS 900/SiS 
7016
#device         sk              # SysKonnect SK-984x & SK-982x gigabit 
Ethernet
#device         ste             # Sundance ST201 (D-Link DFE-550TX)
#device         ti              # Alteon Networks Tigon I/II gigabit 
Ethernet
#device         tl              # Texas Instruments ThunderLAN
#device         tx              # SMC EtherPower II (83c170 ``EPIC'')
#device         vge             # VIA VT612x gigabit Ethernet
#device         vr              # VIA Rhine, Rhine II
#device         wb              # Winbond W89C840F
#device         xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.  pccard NICs included.
#device         cs              # Crystal Semiconductor CS89x0 NIC
# 'device ed' requires 'device miibus'
# XXX kvtop brokenness, pointer/int warnings
#device         ed              # NE[12]000, SMC Ultra, 3c503, DS8390 cards
#device         ex              # Intel EtherExpress Pro/10 and Pro/10+
#device         ep              # Etherlink III based cards
#device         fe              # Fujitsu MB8696x based cards
# XXX kvtop brokenness, pointer/int warnings
#device         lnc             # NE2100, NE32-VL Lance Ethernet cards
#device         sn              # SMC's 9000 series of Ethernet chips
#device         xe              # Xircom pccard Ethernet

# Wireless NIC cards
#device         wlan            # 802.11 support
#device         an              # Aironet 4500/4800 802.11 wireless NICs.
#device         awi             # BayStack 660 and others
#device         wi              # WaveLAN/Intersil/Symbol 802.11 
wireless NICs.

# Pseudo devices.
device          loop            # Network loopback
device          mem             # Memory and kernel memory devices
device          io              # I/O device
device          random          # Entropy device
device          ether           # Ethernet support
#device         sl              # Kernel SLIP
#device         ppp             # Kernel PPP
#device         tun             # Packet tunnel.
device          pty             # Pseudo-ttys (telnet etc)
device          md              # Memory "disks"
#device         gif             # IPv6 and IPv4 tunneling
#device         faith           # IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
#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         udbp            # USB Double Bulk Pipe devices
#device         ugen            # Generic
#device         uhid            # "Human Interface Devices"
#device         ukbd            # Keyboard
#device         ulpt            # Printer
#device         umass           # Disks/Mass storage - Requires scbus and da
#device         ums             # Mouse
#device         urio            # Diamond Rio 500 MP3 player
#device         uscanner        # Scanners
# USB Ethernet, requires mii
#device         aue             # ADMtek USB Ethernet
#device         axe             # ASIX Electronics USB Ethernet
#device         cue             # CATC USB Ethernet
#device         kue             # Kawasaki LSI USB Ethernet
#device         rue             # RealTek RTL8150 USB Ethernet

# FireWire support
#device         firewire        # FireWire bus code
#device         sbp             # SCSI over FireWire (Requires scbus and da)
#device         fwe             # Ethernet over FireWire (non-standard!)

# SMP
#device         apic            # I/O APIC
options         SMP             # SMP support

# Large memory
#options                PAE             # not sure if this is supported 
for AMD64

# aac Linux compatability
#options                AAC_COMPAT_LINUX

# IPFilter
#options                IPFILTER
#options                IPFILTER_LOG
#options                IPFILTER_DEFAULT_BLOCK

--------------

d5# dmesg
Copyright (c) 1992-2005 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 5.4-RELEASE #12: Tue Jun 28 09:19:34 EDT 2005
     root at d5.bidx.com:/usr/obj/usr/src/sys/DB-DUAL-AMD64-RAID5
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 246 (1990.62-MHz K8-class CPU)
   Origin = "AuthenticAMD"  Id = 0xf5a  Stepping = 10
 
Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
   AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
real memory  = 4093575168 (3903 MB)
avail memory = 3953725440 (3770 MB)
ACPI APIC Table: <A M I  OEMAPIC >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-23 on motherboard
ioapic1 <Version 1.1> irqs 24-27 on motherboard
ioapic2 <Version 1.1> irqs 28-31 on motherboard
acpi0: <A M I OEMRSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
cpu1: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci3: <ACPI PCI bus> on pcib1
pci3: <serial bus, USB> at device 0.0 (no driver attached)
pci3: <serial bus, USB> at device 0.1 (no driver attached)
atapci0: <SiI 3114 SATA150 controller> port 
0xa880-0xa88f,0xac00-0xac03,0xb800-0xb807,0xb880-0xb883,0xbc00-0xbc07 
mem 0xfeafec00-0xfeafefff irq 19 at device 5.0 on pci3
ata2: channel #0 on atapci0
ata3: channel #1 on atapci0
ata4: channel #2 on atapci0
ata5: channel #3 on atapci0
pci3: <display, VGA> at device 6.0 (no driver attached)
fxp0: <Intel 82551 Pro/100 Ethernet> port 0xa800-0xa83f mem 
0xfeaa0000-0xfeabffff,0xfeafb000-0xfeafbfff irq 18 at device 8.0 on pci3
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:e0:81:2a:16:04
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <AMD 8111 UDMA133 controller> port 
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci1
ata1: channel #1 on atapci1
pci0: <serial bus, SMBus> at device 7.2 (no driver attached)
pci0: <bridge> at device 7.3 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 10.0 on pci0
pci2: <ACPI PCI bus> on pcib2
ahd0: <Adaptec AIC7902 Ultra320 SCSI adapter> port 
0x7800-0x78ff,0x8000-0x80ff mem 0xfc8fc000-0xfc8fdfff irq 24 at device 
6.0 on pci2
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
ahd1: <Adaptec AIC7902 Ultra320 SCSI adapter> port 
0x8400-0x84ff,0x8800-0x88ff mem 0xfc8fe000-0xfc8fffff irq 25 at device 
6.1 on pci2
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
bge0: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem 
0xfc8a0000-0xfc8affff,0xfc8b0000-0xfc8bffff irq 24 at device 9.0 on pci2
miibus1: <MII bus> on bge0
brgphy0: <BCM5704 10/100/1000baseTX PHY> on miibus1
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge0: Ethernet address: 00:e0:81:2a:16:38
bge1: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem 
0xfc8d0000-0xfc8dffff,0xfc8e0000-0xfc8effff irq 25 at device 9.1 on pci2
miibus2: <MII bus> on bge1
brgphy1: <BCM5704 10/100/1000baseTX PHY> on miibus2
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge1: Ethernet address: 00:e0:81:2a:16:39
pci0: <base peripheral, interrupt controller> at device 10.1 (no driver 
attached)
pcib3: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci1: <ACPI PCI bus> on pcib3
aac0: <Adaptec SCSI RAID 2200S> mem 0xf8000000-0xfbffffff irq 28 at 
device 3.0 on pci1
aac0: Enabling 64-bit address support
aac0: Unknown processor 100MHz, 48MB cache memory, optional battery present
aac0: Kernel 4.1-0, Build 7244, S/N bf139c
aac0: Supported 
Options=11d7e<CLUSTERS,WCACHE,DATA64,HOSTTIME,RAID50,WINDOW4GB,SOFTERR,SGMAP64,ALARM,NONDASD>
pci0: <base peripheral, interrupt controller> at device 11.1 (no driver 
attached)
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 
on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
orm0: <ISA Option ROMs> at iomem 0xc8000-0xcc7ff,0xc0000-0xc7fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
acd0: DVDR <PIONEER DVD-RW DVR-K11/1.00> at ata0-slave PIO4
Waiting 5 seconds for SCSI devices to settle
aacd0: <RAID 5> on aac0
aacd0: 139882MB (286478848 sectors)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/aacd0s1a
WARNING: / was not properly dismounted


More information about the freebsd-stable mailing list