kern/104751: kernel panic,
when getting info about my traffic by module ng_ipacct and
oppenning www page in browser
Vladislav Berezhnyak
vlad_ber at ukr.net
Tue Oct 24 06:40:18 PDT 2006
>Number: 104751
>Category: kern
>Synopsis: kernel panic, when getting info about my traffic by module ng_ipacct and oppenning www page in browser
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 24 13:40:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Vladislav Berezhnyak
>Release: Release 6.1
>Organization:
Delta-pilot
>Environment:
FreeBSD super.srvts.net 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun Oct 22 23:39:28 EEST 2006 root at super.srvts.net:/usr/src/sys/i386/compile/super i386
>Description:
At me 2 network interfaces with which I receive the information about the traffic by module ng_ipacct each 5 minutes. I open a browser qonkueror, in several Tab opening www pages and at start of a script of the PC it is reloaded.
# kgdb /usr/src/sys/i386/compile/super/kernel.debug /usr/spool/share/crash/vmcore.0
[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 "i386-marcel-freebsd".
Unread portion of the kernel message buffer:
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xac
fault code = supervisor write, page not present
instruction pointer = 0x20:0xc05f15d4
stack pointer = 0x28:0xd4412b1c
frame pointer = 0x28:0xd4412b44
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 = 14 (swi1: net)
trap number = 12
panic: page fault
Uptime: 2m9s
Dumping 510 MB (2 chunks)
chunk 0: 1MB (159 pages) ... ok
chunk 1: 511MB (130608 pages) 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15
#0 doadump () at pcpu.h:165
165 __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb)
(kgdb) bt full
#0 doadump () at pcpu.h:165
No locals.
#1 0xc0536f05 in boot (howto=260) at ../../../kern/kern_shutdown.c:402
first_buf_printf = 1
#2 0xc053720f in panic (fmt=0xc06b4132 "%s")
at ../../../kern/kern_shutdown.c:558
td = (struct thread *) 0xc32aec00
bootopt = 260
newpanic = 0
ap = 0xc32aec00 "\030Р*Ж@\016+Ж"
buf = "page fault", '\0' <repeats 245 times>
#3 0xc068f969 in trap_fatal (frame=0xd4412adc, eva=0)
at ../../../i386/i386/trap.c:836
code = 40
type = 12
ss = 40
esp = 0
softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27,
ssd_dpl = 0, ssd_p = 1, ssd_xx = 10, ssd_xx1 = 2, ssd_def32 = 1,
ssd_gran = 1}
msg = 0x0
#4 0xc068f689 in trap_pfault (frame=0xd4412adc, usermode=0, eva=172)
at ../../../i386/i386/trap.c:744
---Type <return> to continue, or q <return> to quit---
va = 0
vm = (struct vmspace *) 0x0
map = 0xc07168e0
rv = 1
ftype = 1 '\001'
td = (struct thread *) 0xc32aec00
p = (struct proc *) 0xc32ad418
#5 0xc068f273 in trap (frame=
{tf_fs = -1067515896, tf_es = -1018494936, tf_ds = 40, tf_edi = -1015789532, tf_esi = -1006892848, tf_ebp = -733926588, tf_isp = -733926648, tf_ebx = 4, tf_edx = 0, tf_ecx = -1020597248, tf_eax = -1020597248, tf_trapno = 12, tf_err = 2, tf_eip = -1067510316, tf_cs = 32, tf_eflags = 66178, tf_esp = -1006892848, tf_ss = 16}) at ../../../i386/i386/trap.c:434
td = (struct thread *) 0xc32aec00
p = (struct proc *) 0xc32ad418
sticks = 3561040640
i = 0
ucode = 0
type = 12
code = 2
eva = 172
#6 0xc068106a in calltrap () at ../../../i386/i386/exception.s:139
No locals.
---Type <return> to continue, or q <return> to quit---
#7 0xc05f15d4 in tcp_timewait (tw=0xc3fc08d0, to=0xd4412bf8, th=0xc3744824,
m=0xc32aec00, tlen=0) at atomic.h:149
thflags = 4
seq = 0
#8 0xc05ee66e in tcp_input (m=0xc3727500, off0=20)
at ../../../netinet/tcp_input.c:762
th = (struct tcphdr *) 0xc3744824
ip = (struct ip *) 0xc3744810
ipov = (struct ipovly *) 0xc3744810
inp = (struct inpcb *) 0xc3fe4924
optp = (u_char *) 0xc3744838 "\001\001\b\n\207\210\027("
optlen = 12
len = -1006745308
tlen = 0
off = 32
drop_hdrlen = 52
tp = (struct tcpcb *) 0x0
thflags = 16
so = (struct socket *) 0x0
todrop = -1006745308
acked = -1006745308
ourfinisacked = -431947696
needoutput = 0
---Type <return> to continue, or q <return> to quit---
tiwin = 4294967295
to = {to_flags = 0, to_tsval = 0, to_tsecr = 0, to_mss = 0,
to_requested_s_scale = 0 '\0', to_nsacks = 0 '\0', to_sacks = 0x0}
headlocked = 1
rstreason = -1006745308
#9 0xc05e68ef in ip_input (m=0xc3727500) at ../../../netinet/ip_input.c:786
ip = (struct ip *) 0xc3744810
ia = (struct in_ifaddr *) 0xc34f8400
ifa = (struct ifaddr *) 0x0
checkif = 0
hlen = 20
sum = 60416
dchg = 0
odst = {s_addr = 83929280}
#10 0xc05bf08f in netisr_processqueue (ni=0xc071f038)
at ../../../net/netisr.c:236
m = (struct mbuf *) 0xc3727500
#11 0xc05bf2dc in swi_net (dummy=0x0) at ../../../net/netisr.c:349
ni = (struct netisr *) 0xc071f038
bits = 0
i = -1020597248
#12 0xc051e4d0 in ithread_execute_handlers (p=0xc32ad418, ie=0xc32ab400)
at ../../../kern/kern_intr.c:684
---Type <return> to continue, or q <return> to quit---
ih = (struct intr_handler *) 0xc32b4000
ihn = (struct intr_handler *) 0x0
#13 0xc051e61a in ithread_loop (arg=0xc327a710)
at ../../../kern/kern_intr.c:767
intr_event = (struct intr_thread *) 0xc327a710
ie = (struct intr_event *) 0xc32ab400
td = (struct thread *) 0xc32aec00
p = (struct proc *) 0xc32ad418
#14 0xc051d0f4 in fork_exit (callout=0xc051e5b7 <ithread_loop>,
arg=0xc32aec00, frame=0xc32aec00) at ../../../kern/kern_fork.c:805
p = (struct proc *) 0xc32ad418
td = (struct thread *) 0x0
#15 0xc06810cc in fork_trampoline () at ../../../i386/i386/exception.s:208
No locals.
(kgdb)
---------------------------------------------
My kernel:
machine i386
cpu I686_CPU
ident super
maxusers 0
# To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" # Default places to look for devices.
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
#options SCHED_ULE # ULE scheduler
options SCHED_4BSD # 4BSD scheduler
options PREEMPTION # Enable kernel thread preemption
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 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 # Compatible with BSD 4.3 [KEEP THIS!]
#options COMPAT_FREEBSD4 # Compatible with FreeBSD4
#options COMPAT_FREEBSD5 # Compatible with FreeBSD5
#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.
#device apic # I/O APIC
########################################################################
device atapicam
device scbus
device cd
device pass
device da # Direct Access (disks)
#-------------------------------------------------------
options NETGRAPH
options NETGRAPH_ETHER
options NETGRAPH_SOCKET
options NETGRAPH_TEE
#-------------------------------------------------------
#
options IPFIREWALL #firewall
options IPFIREWALL_VERBOSE #enable logging to syslogd(8)
options IPFIREWALL_DEFAULT_TO_ACCEPT # Enable for NFS
#
# for ipnat
options IPFILTER
options IPFILTER_LOG
#
options IPDIVERT #divert sockets
options DUMMYNET
#
options NMBCLUSTERS=65536
#
options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN
#-------------------------------------------------------
options MSDOSFS_ICONV
options CD9660_ICONV
options LIBICONV
#-------------------------------------------------------
device sound
device "snd_es137x"
#-------------------------------------------------------
options SC_DISABLE_REBOOT
########################################################################
# Bus support.
device eisa
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
# 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 kbdmux # keyboard multiplexer
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
# Enable this for the pcvt (VT220 compatible) console driver
#device vt
#options XSERVER # support for X server on a vt console
#options FAT_CURSOR # start with block cursor
device agp # support several AGP chipsets
# Power management support (see NOTES for more options)
#device apm
# Add suspend/resume support for the i8254.
device pmtimer
# 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
# 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 dc # DEC/Intel 21143 and various workalikes
#device fxp # Intel EtherExpress PRO/100B (82557, 82558)
device em # Intel PRO/1000 adapter Gigabit Ethernet Card
device rl # RealTek 8129/8139
# Pseudo devices.
device loop # Network loopback
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 ehci # EHCI PCI->USB interface (USB 2.0)
device usb # USB Bus (required)
#device udbp # USB Double Bulk Pipe devices
device ugen # Generic
device uhid # "Human Interface Devices"
#device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
-----------------------------
My /var/run/dmesg.boot
Rebooting...
Copyright (c) 1992-2006 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 6.1-RELEASE #0: Sun Oct 22 23:39:28 EEST 2006
root at super.srvts.net:/usr/src/sys/i386/compile/super
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.01-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x4400<CNTX-ID,<b14>>
Logical CPUs per core: 2
real memory = 536018944 (511 MB)
avail memory = 515174400 (491 MB)
kbd1 at kbdmux0
acpi0: <INTEL D875BZLK> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82875P host to AGP bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci2: <ACPI PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port 0xac00-0xac1f mem 0xff8e0000-0xff8fffff irq 10 at device 1.0 on pci2
em0: Ethernet address: 00:07:e9:ea:66:25
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xcc00-0xcc1f irq 11 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801EB (ICH5) USB controller USB-A> 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
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xd000-0xd01f irq 5 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xd400-0xd41f irq 10 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xd800-0xd81f irq 11 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801EB/R (ICH5) USB 2.0 controller> mem 0xffaffc00-0xffafffff irq 9 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801EB/R (ICH5) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib3
em1: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port 0xbc00-0xbc3f mem 0xff9e0000-0xff9fffff,0xff9c0000-0xff9dffff irq 11 at device 1.0 on pci3
em1: Ethernet address: 00:0e:0c:05:ef:a6
rl0: <RealTek 8139 10/100BaseTX> port 0xb800-0xb8ff mem 0xff99fc00-0xff99fcff irq 3 at device 2.0 on pci3
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:30:4f:09:1b:41
pcm0: <Creative CT5880-C> port 0xb400-0xb43f irq 5 at device 3.0 on pci3
pcm0: <TriTech TR28602 AC97 Codec>
pcm0: <Playback: DAC2 / Record: ADC>
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <Intel ICH5 SATA150 controller> port 0xec00-0xec07,0xe800-0xe803,0xe400-0xe407,0xe000-0xe003,0xdc00-0xdc0f irq 10 at device 31.2 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Sleep Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model 4D+ Mouse, device ID 8
fdc0: <floppy drive controller> port 0x3f0-0x3f1,0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <Hewlett-Packard HP LaserJet 1100.1.1> PRINTER MLC,PCL,PJL
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xccfff,0xcd000-0xce7ff,0xce800-0xcf7ff 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
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounter "TSC" frequency 2394010444 Hz quality 800
Timecounters tick every 1.000 msec
IP Filter: v4.1.8 initialized. Default = pass all, Logging = enabled
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to accept, logging unlimited
ad4: 152627MB <Seagate ST3160023AS 3.05> at ata2-master SATA150
cd1 at ata0 bus 0 target 1 lun 0
cd1: <TEAC DV-516E 2.01> Removable CD-ROM SCSI-0 device
cd1: 3.300MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
cd0 at ata0 bus 0 target 0 lun 0
cd0: <TEAC CD-W540E 1.0D> Removable CD-ROM SCSI-0 device
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/ad4s1a
em1: link state changed to UP
Accounting enabled
rl0: link state changed to UP
drm0: <ATI Radeon QY RV100 7000/VE> port 0x9800-0x98ff mem 0xe8000000-0xefffffff,0xff7f0000-0xff7fffff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xf8000000 64MB
info: [drm] Initialized radeon 1.19.0 20050911
Connection attempt to UDP 192.168.0.5:61057 from 195.248.191.65:53
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xac
fault code = supervisor write, page not present
instruction pointer = 0x20:0xc05f15d4
stack pointer = 0x28:0xd4412b1c
frame pointer = 0x28:0xd4412b44
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 = 14 (swi1: net)
trap number = 12
panic: page fault
Uptime: 2m9s
Dumping 510 MB (2 chunks)
chunk 0: 1MB (159 pages) ... ok
chunk 1: 511MB (130608 pages) 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 ... ok
Dump complete
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...
Copyright (c) 1992-2006 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 6.1-RELEASE #0: Sun Oct 22 23:39:28 EEST 2006
root at super.srvts.net:/usr/src/sys/i386/compile/super
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.01-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x4400<CNTX-ID,<b14>>
Logical CPUs per core: 2
real memory = 536018944 (511 MB)
avail memory = 515174400 (491 MB)
kbd1 at kbdmux0
acpi0: <INTEL D875BZLK> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82875P host to AGP bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci2: <ACPI PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port 0xac00-0xac1f mem 0xff8e0000-0xff8fffff irq 10 at device 1.0 on pci2
em0: Ethernet address: 00:07:e9:ea:66:25
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xcc00-0xcc1f irq 11 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801EB (ICH5) USB controller USB-A> 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
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xd000-0xd01f irq 5 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xd400-0xd41f irq 10 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xd800-0xd81f irq 11 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801EB/R (ICH5) USB 2.0 controller> mem 0xffaffc00-0xffafffff irq 9 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801EB/R (ICH5) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib3
em1: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port 0xbc00-0xbc3f mem 0xff9e0000-0xff9fffff,0xff9c0000-0xff9dffff irq 11 at device 1.0 on pci3
em1: Ethernet address: 00:0e:0c:05:ef:a6
rl0: <RealTek 8139 10/100BaseTX> port 0xb800-0xb8ff mem 0xff99fc00-0xff99fcff irq 3 at device 2.0 on pci3
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:30:4f:09:1b:41
pcm0: <Creative CT5880-C> port 0xb400-0xb43f irq 5 at device 3.0 on pci3
pcm0: <TriTech TR28602 AC97 Codec>
pcm0: <Playback: DAC2 / Record: ADC>
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <Intel ICH5 SATA150 controller> port 0xec00-0xec07,0xe800-0xe803,0xe400-0xe407,0xe000-0xe003,0xdc00-0xdc0f irq 10 at device 31.2 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Sleep Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model 4D+ Mouse, device ID 8
fdc0: <floppy drive controller> port 0x3f0-0x3f1,0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <Hewlett-Packard HP LaserJet 1100.1.1> PRINTER MLC,PCL,PJL
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xccfff,0xcd000-0xce7ff,0xce800-0xcf7ff 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
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounter "TSC" frequency 2394010300 Hz quality 800
Timecounters tick every 1.000 msec
IP Filter: v4.1.8 initialized. Default = pass all, Logging = enabled
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to accept, logging unlimited
ad4: 152627MB <Seagate ST3160023AS 3.05> at ata2-master SATA150
cd1 at ata0 bus 0 target 1 lun 0
cd1: <TEAC DV-516E 2.01> Removable CD-ROM SCSI-0 device
cd1: 3.300MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
cd0 at ata0 bus 0 target 0 lun 0
cd0: <TEAC CD-W540E 1.0D> Removable CD-ROM SCSI-0 device
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/ad4s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 2352 files 36
WARNING: /usr/spool/proxy was not properly dismounted
WARNING: /usr/spool/share was not properly dismounted
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 392 files 16
em1: link state changed to UP
rl0: link state changed to UP
Accounting enabled
-----------------------------------------------------
my /etc/make.conf
#NO_MODULES= true # do not build modules with the kernel
CPUTYPE?=pentium4
CFLAGS= -O -pipe
# added by use.perl 2006-07-19 21:04:35
PERL_VER=5.8.8
PERL_VERSION=5.8.8
>How-To-Repeat:
1) Install port ng_ipacct
2) edit /usr/local/etc/ng_ipacct.conf :
# Configuration for 'em1_ip_acct' node:
ng_ipacct_em1_dlt="EN10MB" # required line; see ipacctctl(8)
ng_ipacct_em1_threshold="10000" # '5000' by default
ng_ipacct_em1_verbose="yes" # 'yes' by default
ng_ipacct_em1_saveuid="yes" # 'no' by default
ng_ipacct_em1_savetime="yes" # 'no' by default
ng_ipacct_em1_start=${ng_ipacct_default_ether_start}
ng_ipacct_em1_stop=${ng_ipacct_default_ether_stop}
ng_ipacct_em1_checkpoint_script="/usr/local/ng/stat.sh"
# this script is called on stop (to save accumulated
# data) or via "rc.d/ng_ipacct.sh checkpoint"
# Configuration for 'rl0_ip_acct' node:
ng_ipacct_rl0_dlt="EN10MB" # required line; see ipacctctl(8)
ng_ipacct_rl0_threshold="10000" # '5000' by default
ng_ipacct_rl0_verbose="yes" # 'yes' by default
ng_ipacct_rl0_saveuid="yes" # 'no' by default
ng_ipacct_rl0_savetime="yes" # 'no' by default
ng_ipacct_rl0_start=${ng_ipacct_default_ether_start}
ng_ipacct_rl0_stop=${ng_ipacct_default_ether_stop}
ng_ipacct_rl0_checkpoint_script="/usr/local/ng/stat.sh"
# this script is called on stop (to save accumulated
# data) or via "rc.d/ng_ipacct.sh checkpoint"
3)in /usr/local/ng put stat.sh :
#!/bin/sh
# Written by Anton V. Yuzhaninov <citrin % mail.ru>
# traffic logger based on ng_ipacct by Roman V. Palagin
# ftp://ftp.wuppy.net.ru/pub/BSD/FreeBSD/local/kernel/ng_ipacct/
# File name format
# YYYY-MM-DD-hour
IPACCTCTL="/usr/local/sbin/ipacctctl"
#IFACE=$1
IFACE="em1"
DIR=/usr/local/ng/traffic
SDIR=`date -v-9M "+%Y-%m-%d"`
if [ ! -e "$DIR/$SDIR" ]; then
mkdir $DIR/$SDIR
fi
#NAME=`date -v-9M "+%Y-%m-%d-%H-$IFACE"`
NAME=`date -v-9M "+%H-$IFACE"`
$IPACCTCTL ${IFACE}_ip_acct:$IFACE checkpoint
$IPACCTCTL ${IFACE}_ip_acct:$IFACE show >> $DIR/$SDIR/$NAME
$IPACCTCTL ${IFACE}_ip_acct:$IFACE clear
/usr/bin/tail -1 $DIR/$SDIR/$NAME | /usr/bin/fgrep exceed
IFACE="rl0"
NAME=`date -v-9M "+%H-$IFACE"`
$IPACCTCTL ${IFACE}_ip_acct:$IFACE checkpoint
$IPACCTCTL ${IFACE}_ip_acct:$IFACE show >> $DIR/$SDIR/$NAME
$IPACCTCTL ${IFACE}_ip_acct:$IFACE clear
/usr/bin/tail -1 $DIR/$SDIR/$NAME | /usr/bin/fgrep exceed
4) in crontab put string:
*/5 * * * * root /usr/local/ng/stat.sh
5) Run Xorg with kde
6) Open konqueror, some (3-4) new tab and open www page
7) when run stat.sh by cron and openning www page system reboot
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list