Date: Thu, 29 Sep 2011 16:12:19 +0300 From: Alexandr Kovalenko <alexandr.kovalenko@gmail.com> To: Kostik Belousov <kostikbel@gmail.com> Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: stable/9 r225827 i386 panic: vm_page_unwire: page 0xc2a38dc8's wire count is zero Message-ID: <CAJDksDQKVo3da07wB57M8Hy3f7-cpdGNqfkz27pCh3hK7Ttxhw@mail.gmail.com> In-Reply-To: <20110929130058.GN1511@deviant.kiev.zoral.com.ua> References: <CAJDksDQF1cdzy55ApzAUVmTMQdqoDGPirtT-4YZge8QMjOoN_A@mail.gmail.com> <20110929123011.GK1511@deviant.kiev.zoral.com.ua> <CAJDksDRHihwL5RBcjx=CmFbE8OGMLTBk8UuB2xXYdAOi3kUVDw@mail.gmail.com> <20110929124837.GM1511@deviant.kiev.zoral.com.ua> <CAJDksDQi1To_LYd63%2BZ2vhnKAXwRZzE7VVshsDAOW%2BM=_PzicA@mail.gmail.com> <20110929130058.GN1511@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
2011/9/29 Kostik Belousov <kostikbel@gmail.com>:
> On Thu, Sep 29, 2011 at 03:51:53PM +0300, Alexandr Kovalenko wrote:
>> 2011/9/29 Kostik Belousov <kostikbel@gmail.com>:
>> > On Thu, Sep 29, 2011 at 03:47:19PM +0300, Alexandr Kovalenko wrote:
>> >> On Thu, Sep 29, 2011 at 3:30 PM, Kostik Belousov <kostikbel@gmail.com> wrote:
>> >> > On Thu, Sep 29, 2011 at 02:52:31PM +0300, Alexandr Kovalenko wrote:
>> >> >> Hello!
>> >> >>
>> >> >> I'm running 9.0-BETA3 (r225827) and now rebuilding all my 1215 ports
>> >> >> (I've upgraded from 8.2). I'm getting panic. Is it known
>> >> >> problem/already fixed somewhere?
> Do you use custom kernel config ? Is there a chance you have ZERO_COPY_SOCKETS
> option enabled ?
Yes, ZERO_COPY_SOCKETS is there.
>
>> >> >>
>> >> >> FreeBSD mile.xxx.ua 9.0-BETA3 FreeBSD 9.0-BETA3 #0 r225827: Wed Sep 28
>> >> >> 17:11:17 EEST 2011 root@mile.xxx.ua:/usr/obj/usr/src/sys/mile-9
>> >> >> i386
>> >> >>
>> >> >> Unread portion of the kernel message buffer:
>> >> >> panic: vm_page_unwire: page 0xc2a38dc8's wire count is zero
>> >> >> cpuid = 1
>> >> >> Uptime: 16h6m53s
>> >> >> Physical memory: 1904 MB
>> >> >> Dumping 367 MB: 352 336 320 304 288 272 256 240 224 208 192 176 160
>> >> >> 144 128 112 96 80 64 48 32 16
>> >> >>
>> >> >> #0 doadump (textdump=1) at pcpu.h:244
>> >> >> #1 0xc071e5cb in kern_reboot (howto=260)
>> >> >> at /usr/src/sys/kern/kern_shutdown.c:442
>> >> >> #2 0xc071e82b in panic (fmt=Variable "fmt" is not available.
>> >> >> ) at /usr/src/sys/kern/kern_shutdown.c:607
>> >> >> #3 0xc0966903 in vm_page_unwire (m=0xc2a38dc8, activate=0)
>> >> >> at /usr/src/sys/vm/vm_page.c:1905
>> >> > Please do "frame 2", then "p/x *m" and show the result.
>> >>
>> >> (kgdb) frame 2
>> > frame 3, sorry. "p/x *(struct vm_page *)0xc2a38dc8" will do it as well.
>>
>> (kgdb) frame 3
>> #3 0xc0966903 in vm_page_unwire (m=0xc2a38dc8, activate=0) at
>> /usr/src/sys/vm/vm_page.c:1905
>> 1905 panic("vm_page_unwire: page %p's wire count is
>> zero", m);
>> (kgdb) p/x *(struct vm_page *)0xc2a38dc8
>> $1 = {pageq = {tqe_next = 0xc2a38e10, tqe_prev = 0xc282a2b0}, listq =
>> {tqe_next = 0xc2a38e10, tqe_prev = 0xc282a2b8}, left = 0x0, right =
>> 0x0, object = 0xc5725770, pindex = 0xbd3, phys_addr = 0x56a32000, md =
>> {pv_list = {tqh_first = 0xc3cc6418, tqh_last = 0xc3cc641c},
>> pat_mode = 0x6}, queue = 0x1, segind = 0x2, hold_count = 0x0,
>> order = 0xb, pool = 0x0, cow = 0x0, wire_count = 0x0, aflags = 0x3,
>> flags = 0x0, oflags = 0x0, act_count = 0x5, busy = 0x0, valid = 0xff,
>> dirty = 0xff}
>
> Please show the output of "p *(struct vm_object *)0xc5725770" from kgdb.
>>
>>
>> >> #2 0xc071e82b in panic (fmt=Variable "fmt" is not available.) at
>> >> /usr/src/sys/kern/kern_shutdown.c:607
>> >> 607 kern_reboot(bootopt);
>> >> (kgdb) p/x *m
>> >> No symbol "m" in current context.
>> >>
>> >>
>> >> >> #4 0xc0796b80 in vfs_vmio_release (bp=0xde8bcbf4)
>> >> >> at /usr/src/sys/kern/vfs_bio.c:1638
>> >> >> #5 0xc0798813 in getnewbuf (vp=0xc6ea3550, slpflag=0, slptimeo=0,
>> >> >> size=16384, maxsize=16384, gbflags=0) at /usr/src/sys/kern/vfs_bio.c:1949
>> >> >> #6 0xc0799f2a in getblk (vp=0xc6ea3550, blkno=2520, size=16384, slpflag=0,
>> >> >> slptimeo=0, flags=Variable "flags" is not available.
>> >> >> ) at /usr/src/sys/kern/vfs_bio.c:2788
>> >> >> #7 0xc079d49c in cluster_rbuild (vp=0xc6ea3550, filesize=44505088, lbn=2520,
>> >> >> blkno=1209440, size=16384, run=Variable "run" is not available.
>> >> >> ) at /usr/src/sys/kern/vfs_cluster.c:332
>> >> >> #8 0xc079e145 in cluster_read (vp=0xc6ea3550, filesize=44505088,
>> >> >> lblkno=2520, size=16384, cred=0x0, totread=1024, seqcount=7,
>> >> >> bpp=0xf5824b60) at /usr/src/sys/kern/vfs_cluster.c:254
>> >> >> #9 0xc0934cf5 in ffs_read (ap=0xf5824bac)
>> >> >> at /usr/src/sys/ufs/ffs/ffs_vnops.c:514
>> >> >> #10 0xc09ccb92 in VOP_READ_APV (vop=0xc0aa6a80, a=0xf5824bac)
>> >> >> at vnode_if.c:887
>> >> >> #11 0xc07c1120 in vn_read (fp=0xc5474508, uio=0xf5824c48,
>> >> >> active_cred=0xc56a4d80, flags=1, td=0xc5b76b80) at vnode_if.h:384
>> >> >> #12 0xc076380e in dofileread (td=0xc5b76b80, fd=3, fp=0xc5474508,
>> >> >> auio=0xf5824c48, offset=41189376, flags=1) at file.h:254
>> >> >> #13 0xc07639f5 in kern_preadv (td=0xc5b76b80, fd=3, auio=0xf5824c48,
>> >> >> offset=41189376) at /usr/src/sys/kern/sys_generic.c:288
>> >> >> #14 0xc0763b0d in sys_pread (td=0xc5b76b80, uap=0xf5824cec)
>> >> >> at /usr/src/sys/kern/sys_generic.c:189
>> >> >> #15 0xc09accf5 in syscall (frame=0xf5824d28) at subr_syscall.c:131
>> >> >> #16 0xc0996db1 in Xint0x80_syscall ()
>> >> >> at /usr/src/sys/i386/i386/exception.s:266
>> >> >> #17 0x00000033 in ?? ()
>> >> >> Previous frame inner to this frame (corrupt stack?)
>> >> >>
>> >> >> --
>> >> >> Alexandr Kovalenko
>> >> >> http://uafug.org.ua/
>> >> >> _______________________________________________
>> >> >> freebsd-stable@freebsd.org mailing list
>> >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> >> >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Alexandr Kovalenko
>> >> http://uafug.org.ua/
>> >
>>
>>
>>
>> --
>> Alexandr Kovalenko
>> http://uafug.org.ua/
>
--
Alexandr Kovalenko
http://uafug.org.ua/
[-- Attachment #2 --]
cpu I686_CPU
ident mile
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
options SCHED_ULE # ULE scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
options INET6 # IPv6 communications protocols
options SCTP # Stream Control Transmission Protocol
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 UFS_GJOURNAL # Enable gjournal-based UFS journaling
options MD_ROOT # MD is a potential root device
options NFSCL # New Network Filesystem Client
options NFSD # New Network Filesystem Server
options NFSLOCKD # Network Lock Manager
options NFS_ROOT # NFS usable as /, requires NFSCL
options MSDOSFS # MSDOS Filesystem
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options GEOM_PART_GPT # GUID Partition Tables.
options GEOM_LABEL # Provides labelization
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
options COMPAT_FREEBSD7 # Compatible with FreeBSD7
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options STACK # stack(9) 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 PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
options AUDIT # Security event auditing
options MAC # TrustedBSD MAC Framework
options INCLUDE_CONFIG_FILE # Include this file in kernel
options SMP # Symmetric MultiProcessor Kernel
device apic # I/O APIC
device cpufreq
device acpi
device eisa
device pci
device fdc
device ahci # AHCI-compatible SATA controllers
device ata # Legacy ATA/SATA controllers
options ATA_CAM # Handle legacy controllers with CAM
options ATA_STATIC_ID # Static device numbering
device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA
device scbus # SCSI bus (required for ATA/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 ATA/SCSI access)
device ses # SCSI Environmental Services (and SAF-TE)
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 sc
options SC_PIXEL_MODE # add support for the raster text mode
device agp # support several AGP chipsets
device pmtimer
device uart # Generic UART driver
device ppc
device ppbus # Parallel port bus (required)
device lpt # Printer
device ppi # Parallel port interface device
device puc # Multi I/O cards and multi-channel UARTs
device miibus # MII bus support
device re # RealTek 8139C+/8169/8169S/8110S
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device vlan # 802.1Q VLAN support
device tun # Packet tunnel.
device pty # BSD-style compatibility pseudo ttys
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)
device firmware # firmware assist module
device bpf # Berkeley packet filter
options USB_DEBUG # enable debug msgs
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device ehci # EHCI PCI->USB interface (USB 2.0)
device xhci # XHCI PCI->USB interface (USB 3.0)
device usb # USB Bus (required)
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
device uark # Technologies ARK3116 based serial adapters
device ubsa # Belkin F5U103 and compatible serial adapters
device uftdi # For FTDI usb serial adapters
device uplcom # Prolific PL-2303 serial adapters
device uslcom # SI Labs CP2101/CP2102 serial adapters
device uvisor # Visor and Palm devices
device uvscom # USB serial support for DDI pocket's PHS
device sound # Generic sound driver (required)
device snd_hda # Intel High Definition Audio
device snd_ich # Intel, NVidia and other ICH AC'97 Audio
options IPFIREWALL #firewall
options IPFIREWALL_VERBOSE #enable logging to syslogd(8)
options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
options IPFIREWALL_FORWARD #packet destination changes
options IPDIVERT #divert sockets
options IPFILTER #ipfilter support
options IPFILTER_LOG #ipfilter logging
options IPFILTER_LOOKUP #ipfilter pools
options IPSTEALTH #support for stealth forwarding
options DUMMYNET
options ZERO_COPY_SOCKETS
device pf
device pflog
device pfsync
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJDksDQKVo3da07wB57M8Hy3f7-cpdGNqfkz27pCh3hK7Ttxhw>
