kern/94307: [bge] kernel panics when passing trafffic through bge1

Byron L. Hicks bhicks at nmsu.edu
Mon Mar 13 16:10:36 UTC 2006


The following reply was made to PR kern/94307; it has been noted by GNATS.

From: "Byron L. Hicks" <bhicks at nmsu.edu>
To: bug-followup at FreeBSD.org, bhicks at nmsu.edu
Cc:  
Subject: Re: kern/94307: [bge] kernel panics when passing trafffic through
 bge1
Date: Mon, 13 Mar 2006 09:01:55 -0700

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 Sorry, here is the stack trace:
 
 monitor-temp# kgdb kernel.debug /usr/local/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:
 bge1: discard frame w/o leading ethernet header (len 4294967292 pkt len
 4294967292)
 
 
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0xc
 fault code              = supervisor write, page not present
 instruction pointer     = 0x20:0xc0459053
 stack pointer           = 0x28:0xe4c7fca8
 frame pointer           = 0x28:0xe4c7fcd0
 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         = 28 (irq17: bge1 atapci+)
 trap number             = 12
 panic: page fault
 Uptime: 3m8s
 Dumping 1023 MB (2 chunks)
   chunk 0: 1MB (159 pages) ... ok
   chunk 1: 1023MB (261848 pages) 1007 991 975 959 943 927 911 895 879
 863 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591
 575 559 543 527 511 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) list *0xc0459053
 0xc0459053 is in bge_rxeof (/usr/src/sys/dev/bge/if_bge.c:2626).
 warning: Source file is more recent than executable.
 
 2621                                cur_rx->bge_len);
 2622                            m->m_data += ETHER_ALIGN;
 2623                    }
 2624    #endif
 2625                    eh = mtod(m, struct ether_header *);
 2626                    m->m_pkthdr.len = m->m_len = cur_rx->bge_len -
 ETHER_CRC_LEN;
 2627                    m->m_pkthdr.rcvif = ifp;
 2628
 2629                    if (ifp->if_capenable & IFCAP_RXCSUM) {
 2630                            if (cur_rx->bge_flags &
 BGE_RXBDFLAG_IP_CSUM) {
 
 
 - --
 Byron L. Hicks
 Network Engineer
 NMSU ICT/CHECS-NET
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.1 (Darwin)
 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
 iD8DBQFEFZdzIuuK+iJ+1EMRAlcFAJwMGONOlQVwBYXOea9/8unV+Oz2aACaAxP3
 favzdoey+5z235DQ4K70IWQ=
 =Vk0v
 -----END PGP SIGNATURE-----


More information about the freebsd-bugs mailing list