Hi,

I've been hitting this panic two times now, and I thought I'd report
it in the hope that someone can tell me what might be wrong.

Not very long ago I bought a new ethernet card, a 3C905, exactly the same as
the one I already had but this one apparently has rxcsum and txcsum.

The computer is an SMP machine with two xl(4) network cards, but only
xl1 has a network cable attached to it.  The kernel is from August 22.
I will keep the crash dump around for a while if anyone has any other
requests, or would like to poke around in it.

At the time of the crash there wasn't much network traffic, but I
think I maybe got some bad hardware or that the xl driver is not fully
MPSAFE?

-- 
Morten Rodal

Script started on Mon Sep  8 20:31:11 2003
slurp# gdb -k kernel.10 vmcore.10
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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-undermydesk-freebsd"...
panic: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
cpuid = 1; lapic.id = 00000000
fault virtual address   = 0xafa0856a
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0258e3e
stack pointer           = 0x10:0xd4ac2c64
frame pointer           = 0x10:0xd4ac2c88
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         = 29 (irq10: xl1)
trap number             = 12
panic: page fault
cpuid = 1; lapic.id = 00000000
Stack backtrace:
boot() called on cpu#1

syncing disks, buffers remaining... 3458 3458 3458 3455 3455 3452 3452 3452 3452 3452 
3452 3452 3452 3452 3452 3452 3452 3452 3452 3452 3452 3452 3452 3452 3452 
giving up on 1024 buffers
Uptime: 17d0h58m39s
Dumping 447 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 
384 400 416 432
---
Reading symbols from 
/usr/obj/usr/src/sys/slurp/modules/usr/src/sys/modules/linux/linux.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/slurp/modules/usr/src/sys/modules/linux/linux.ko.debug
Reading symbols from /boot/kernel/snd_sb16.ko...done.
Loaded symbols for /boot/kernel/snd_sb16.ko
Reading symbols from /boot/kernel/snd_sbc.ko...done.
Loaded symbols for /boot/kernel/snd_sbc.ko
Reading symbols from /boot/kernel/snd_pcm.ko...done.
Loaded symbols for /boot/kernel/snd_pcm.ko
Reading symbols from 
/usr/obj/usr/src/sys/slurp/modules/usr/src/sys/modules/acpi/acpi.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/slurp/modules/usr/src/sys/modules/acpi/acpi.ko.debug
Reading symbols from /boot/kernel/nvidia.ko...done.
Loaded symbols for /boot/kernel/nvidia.ko
Reading symbols from 
/usr/obj/usr/src/sys/slurp/modules/usr/src/sys/modules/if_gif/if_gif.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/slurp/modules/usr/src/sys/modules/if_gif/if_gif.ko.debug
Reading symbols from 
/usr/obj/usr/src/sys/slurp/modules/usr/src/sys/modules/nfsserver/nfsserver.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/slurp/modules/usr/src/sys/modules/nfsserver/nfsserver.ko.debug
Reading symbols from 
/usr/obj/usr/src/sys/slurp/modules/usr/src/sys/modules/cd9660/cd9660.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/slurp/modules/usr/src/sys/modules/cd9660/cd9660.ko.debug
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240             dumping++;
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc01e40f6 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:372
#2  0xc01e4548 in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc032a806 in trap_fatal (frame=0xd4ac2c24, eva=0)
    at /usr/src/sys/i386/i386/trap.c:818
#4  0xc032a472 in trap_pfault (frame=0xd4ac2c24, usermode=0, eva=2946532714)
    at /usr/src/sys/i386/i386/trap.c:732
#5  0xc0329fcd in trap (frame=
      {tf_fs = -1053294568, tf_es = 16, tf_ds = 16, tf_edi = -1348434594, tf_esi = 
-1013325824, tf_ebp = -726913912, tf_isp = -726913968, tf_ebx = 1610646858, tf_edx = 
-1053074432, tf_ecx = -1053074432, tf_eax = -1053074432, tf_trapno = 12, tf_err = 0, 
tf_eip = -1071280578, tf_cs = 8, tf_eflags = 66066, tf_esp = 0, tf_ss = -1053139200}) 
at /usr/src/sys/i386/i386/trap.c:417
#6  0xc03125f8 in calltrap () at {standard input}:103
#7  0xc02a1f53 in xl_rxeof (sc=0xc399e000) at /usr/src/sys/pci/if_xl.c:2125
#8  0xc02a25bf in xl_intr (arg=0xc399e000) at /usr/src/sys/pci/if_xl.c:2344
#9  0xc01cdeb8 in ithread_loop (arg=0xc3977700)
    at /usr/src/sys/kern/kern_intr.c:534
#10 0xc01ccb11 in fork_exit (callout=0xc01cdce0 <ithread_loop>, arg=0x0, 
    frame=0x0) at /usr/src/sys/kern/kern_fork.c:796
(kgdb) up 7
#7  0xc02a1f53 in xl_rxeof (sc=0xc399e000) at /usr/src/sys/pci/if_xl.c:2125
2125                    (*ifp->if_input)(ifp, m);
(kgdb) list
2120                                            CSUM_DATA_VALID|CSUM_PSEUDO_HDR;
2121                                    m->m_pkthdr.csum_data = 0xffff;
2122                            }
2123                    }
2124    
2125                    (*ifp->if_input)(ifp, m);
2126            }
2127    
2128            /*
2129             * Handle the 'end of channel' condition. When the upload
(kgdb) p ifp
$1 = (struct ifnet *) 0xc399e000
(kgdb) p m
$2 = (struct mbuf *) 0xc13b5c00
(kgdb) p *ifp
$3 = {if_softc = 0xc399e000, if_name = 0xc03691a3 "xl", if_link = {
    tqe_next = 0xc39d0400, tqe_prev = 0xc396f008}, if_addrhead = {
    tqh_first = 0xc1383400, tqh_last = 0xc553f460}, if_klist = {
    slh_first = 0x0}, if_pcount = 0, if_bpf = 0xc3977680, if_index = 2, 
  if_unit = 1, if_timer = 5, if_nvlans = 0, if_flags = 34883, 
  if_capabilities = 11, if_capenable = 11, if_ipending = 0, if_linkmib = 0x0, 
  if_linkmiblen = 0, if_data = {ifi_type = 6 '\006', ifi_physical = 0 '\0', 
    ifi_addrlen = 6 '\006', ifi_hdrlen = 14 '\016', ifi_recvquota = 0 '\0', 
    ifi_xmitquota = 0 '\0', ifi_mtu = 1500, ifi_metric = 0, 
    ifi_baudrate = 10000000, ifi_ipackets = 34327225, ifi_ierrors = 102, 
    ifi_opackets = 28319723, ifi_oerrors = 0, ifi_collisions = 0, 
    ifi_ibytes = 64097766, ifi_obytes = 3079743810, ifi_imcasts = 7298635, 
    ifi_omcasts = 26, ifi_iqdrops = 0, ifi_noproto = 0, ifi_hwassist = 7, 
    ifi_unused = 0, ifi_lastchange = {tv_sec = 1061571726, tv_usec = 870699}}, 
  if_multiaddrs = {tqh_first = 0xc5ecc6a0, tqh_last = 0xc3a532a0}, 
  if_amcount = 0, if_output = 0xc0258550 <ether_output>, 
  if_input = 0xc0258de0 <ether_input>, if_start = 0xc02a2d00 <xl_start_90xB>, 
  if_done = 0, if_ioctl = 0xc02a3890 <xl_ioctl>, 
  if_watchdog = 0xc02a3ae0 <xl_watchdog>, if_poll_recv = 0, if_poll_xmit = 0, 
  if_poll_intren = 0, if_poll_slowinput = 0, if_init = 0xc02a2f80 <xl_init>, 
  if_resolvemulti = 0xc0259600 <ether_resolvemulti>, if_snd = {ifq_head = 0x0, 
    ifq_tail = 0x0, ifq_len = 0, ifq_maxlen = 255, ifq_drops = 0, ifq_mtx = {
      mtx_object = {lo_class = 0xc0386aec, lo_name = 0xc03691a3 "xl", 
        lo_type = 0xc0364b17 "if send queue", lo_flags = 196608, lo_list = {
---Type <return> to continue, or q <return> to quit---
          tqe_next = 0x0, tqe_prev = 0x0}, lo_witness = 0x0}, mtx_lock = 4, 
      mtx_recurse = 0, mtx_blocked = {tqh_first = 0x0, tqh_last = 0xc399e108}, 
      mtx_contested = {le_next = 0x0, le_prev = 0xc138bb18}}}, 
  if_poll_slowq = 0x0, if_prefixhead = {tqh_first = 0x0, 
    tqh_last = 0xc399e11c}, if_broadcastaddr = 0xc038e3a0 "ÿÿÿÿÿÿ", 
  if_label = {l_flags = 0, l_perpolicy = {{l_ptr = 0x0, l_long = 0}, {
        l_ptr = 0x0, l_long = 0}, {l_ptr = 0x0, l_long = 0}, {l_ptr = 0x0, 
        l_long = 0}}}}
(kgdb) p *m
$4 = {m_hdr = {mh_next = 0xc5f7e79d, mh_nextpkt = 0x63eb7ef1, 
    mh_data = 0xafa0855e---Can't read userspace from dump, or kernel process---

(kgdb) quit
slurp# exit
exit

Script done on Mon Sep  8 20:31:59 2003

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to