From owner-freebsd-current@FreeBSD.ORG Fri May 2 13:07:32 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF9E437B401 for ; Fri, 2 May 2003 13:07:32 -0700 (PDT) Received: from cmailg5.svr.pol.co.uk (cmailg5.svr.pol.co.uk [195.92.195.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8067043F85 for ; Fri, 2 May 2003 13:07:31 -0700 (PDT) (envelope-from mtm98@mcgoldrick.org) Received: from modem-3500.elk.dialup.pol.co.uk ([81.76.173.172] helo=mcgoldrick.org) by cmailg5.svr.pol.co.uk with esmtp (Exim 4.14) id 19BgoQ-000696-W0 for current@freebsd.org; Fri, 02 May 2003 21:07:19 +0100 Received: by mcgoldrick.org (Postfix, from userid 1000) id 69CAC501B; Fri, 2 May 2003 21:36:22 +0100 (BST) Date: Fri, 2 May 2003 21:36:21 +0100 From: Michael McGoldrick To: current@freebsd.org Message-ID: <20030502203621.GA792@uriel.mcgoldrick.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: mbuf double-free panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2003 20:07:33 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Not sure what tickled this one. panic: m_free detected a mbuf double-free debug session attached. -- Michael McGoldrick: mmcgoldrick@linuxdriven.net --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=debug Content-Transfer-Encoding: quoted-printable Script started on Fri May 2 18:57:32 2003 uriel# gdb -k vmcore.9 /usr/obj/usr/src/sys/i3=078=07=08=1B[K=08=1B[K=08=1B= [K=08=1B[K=08=1B[K=08=1B[K=08=1B[K=08=1B[K=08=1B[K=08=1B[K=08=1B[Ksrc/=07Ur= =07=08=1B[K=07R=07=08=1B[K=08=1B[Ksys/URIEL/=07=0D=0D Makefile isa_if.h opt_vpo.h =0D=0D ac97.o isa_if.o opt_wavelan.h =0D=0D ac97_if.c isa_pci.o opt_wi.h =0D=0D ac97_if.h isahint.o opt_witness.h =0D=0D ac97_if.o ithread.o opt_xbonehack.h =0D=0D ac97_patch.o k6_mem.o opt_zero.h =0D=0D acphy.o kbd.o orm.o =0D=0D ad1816.o kern_acct.o p1003_1b.o =0D=0D agp.o kern_acl.o pci.o =0D=0D agp_ali.o kern_clock.o pci_bus.o =0D=0D agp_amd.o kern_condvar.o pci_cfgreg.o =0D=0D agp_i810.o kern_conf.o pci_if.c =0D=0D agp_if.c kern_context.o pci_if.h =0D=0D agp_if.h kern_descrip.o pci_if.o =0D=0D agp_if.o kern_environment.o pci_pci.o =0D=0D agp_intel.o kern_event.o pci_user.o =0D=0D agp_sis.o kern_exec.o pcib_if.c =0D=0D agp_via.o kern_exit.o pcib_if.h =0D=0D aicasm* kern_fork.o pcib_if.o =0D=0D aicasm.o kern_idle.o phys_pager.o =0D=0D aicasm_gram.c kern_intr.o pmap.o =0D=0D aicasm_gram.h kern_jail.o pnaphy.o =0D=0D aicasm_gram.o kern_kthread.o pnp.o =0D=0D aicasm_macro_gram.c kern_ktrace.o pnphy.o =0D=0D aicasm_macro_gram.h kern_linker.o pnpparse.o =0D=0D aicasm_macro_gram.o kern_lock.o posix4_mib.o =0D=0D aicasm_macro_scan.c kern_lockf.o power_if.c =0D=0D aicasm_macro_scan.o kern_mac.o power_if.h =0D=0D aicasm_scan.c kern_malloc.o power_if.o =0D=0D aicasm_scan.o kern_mib.o ppb_1284.o =0D=0D aicasm_symbol.o kern_module.o ppb_base.o =0D=0D als4000.o kern_mtxpool.o ppb_msq.o =0D=0D amphy.o kern_mutex.o ppbconf.o =0D=0D apm.o kern_ntptime.o ppbus_if.c =0D=0D arc4random.o kern_physio.o ppbus_if.h =0D=0D asc.h kern_proc.o ppbus_if.o =0D=0D assym.s kern_prot.o ppc.o =0D=0D ata-all.o kern_resource.o ppi.o =0D=0D ata-chipset.o kern_sema.o ppp_tty.o =0D=0D ata-disk.o kern_shutdown.o procfs.o =0D=0D ata-dma.o kern_sig.o procfs_ctl.o =0D=0D ata-isa.o kern_subr.o procfs_dbregs.o =0D=0D ata-pci.o kern_switch.o procfs_fpregs.o =0D=0D ata-raid.o kern_sx.o procfs_ioctl.o =0D=0D atapi-all.o kern_synch.o procfs_map.o =0D=0D atapi-cd.o kern_syscalls.o procfs_mem.o =0D=0D atapi-fd.o kern_sysctl.o procfs_note.o =0D=0D atapi-tape.o kern_tc.o procfs_regs.o =0D=0D atkbd.o kern_thr.o procfs_rlimit.o =0D=0D atkbd_isa.o kern_thread.o procfs_status.o =0D=0D atkbdc.o kern_time.o procfs_type.o =0D=0D atkbdc_isa.o kern_timeout.o pseudofs.o =0D=0D atomic.o kern_umtx.o pseudofs_fileno.o =0D=0D autoconf.o kern_uuid.o pseudofs_vncache.o =0D= =0D bcd.o kern_xxx.o pseudofs_vnops.o =0D=0D bios.o kernel* psm.o =0D=0D bioscall.o kernel.debug* qdivrem.o =0D=0D bmtphy.o ksched.o qsort.o =0D=0D bpf.o le.h qsphy.o =0D=0D bpf_filter.o legacy.o radix.o =0D=0D brgphy.o link_elf.o random.o =0D=0D bsearch.o linker_if.c randomdev.o =0D=0D buffer.o linker_if.h raw_cb.o =0D=0D bus_if.c linker_if.o raw_ip.o =0D=0D bus_if.h locore.o raw_ip6.o =0D=0D bus_if.o lpt.o raw_usrreq.o =0D=0D busdma_machdep.o lxtphy.o rdp.h =0D=0D cam.o machdep.o rijndael-alg-fst.o =0D= =0D cam_periph.o machine@ rijndael-api-fst.o =0D= =0D cam_queue.o maestro.o rindex.o =0D=0D cam_sim.o majors.c rlphy.o =0D=0D cam_xpt.o majors.o route.o =0D=0D card.h md.o route6.o =0D=0D card_if.c md5c.o rtsock.o =0D=0D card_if.h mem.o sb16.o =0D=0D card_if.o meteor.h sb8.o =0D=0D cd9660_bmap.o mii.o sbc.o =0D=0D cd9660_lookup.o mii_physubr.o scanc.o =0D=0D cd9660_node.o miibus_if.c sched_4bsd.o =0D=0D cd9660_rrip.o miibus_if.h schistory.o =0D=0D cd9660_util.o miibus_if.o scmouse.o =0D=0D cd9660_vfsops.o miidevs.h scope6.o =0D=0D cd9660_vnops.o mixer.o scsi_all.o =0D=0D channel.o mixer_if.c scsi_cd.o =0D=0D channel_if.c mixer_if.h scsi_da.o =0D=0D channel_if.h mixer_if.o scsi_pass.o =0D=0D channel_if.o mld6.o scsi_sa.o =0D=0D clock.o mlphy.o scterm-dumb.o =0D=0D cmi.o moddi3.o scterm-sc.o =0D=0D config.c modules/ scterm.o =0D=0D config.o msdosfs_conv.o scvgarndr.o =0D=0D crc32.o msdosfs_denode.o scvidctl.o =0D=0D critical.o msdosfs_fat.o scvtb.o =0D=0D cs4281.o msdosfs_lookup.o sha2.o =0D=0D csa.o msdosfs_vfsops.o sio.o =0D=0D csapcm.o msdosfs_vnops.o sio_isa.o =0D=0D ctx.h mss.o sio_pci.o =0D=0D cx.h nd6.o skpc.o =0D=0D cy.h nd6_nbr.o slcompress.o =0D=0D db_access.o nd6_rtr.o sndbuf_dma.o =0D=0D db_break.o neomagic.o sndstat.o =0D=0D db_command.o net_osdep.o solo.o =0D=0D db_disasm.o netisr.o sound.o =0D=0D db_elf.o nexus.o spec_vnops.o =0D=0D db_examine.o nfs_bio.o spigot.h =0D=0D db_expr.o nfs_common.o splash.o =0D=0D db_input.o nfs_diskless.o strcat.o =0D=0D db_interface.o nfs_lock.o strcmp.o =0D=0D db_kld.o nfs_nfsiod.o strcpy.o =0D=0D db_lex.o nfs_node.o strdup.o =0D=0D db_output.o nfs_serv.o strlcat.o =0D=0D db_print.o nfs_socket.o strlcpy.o =0D=0D db_ps.o nfs_srvcache.o strlen.o =0D=0D db_run.o nfs_srvsock.o strncmp.o =0D=0D db_sym.o nfs_srvsubs.o strncpy.o =0D=0D db_sysctl.o nfs_subs.o strsep.o =0D=0D db_trace.o nfs_syscalls.o strtol.o =0D=0D db_trap.o nfs_vfsops.o strtoq.o =0D=0D db_variables.o nfs_vnops.o strtoul.o =0D=0D db_watch.o npx.o strtouq.o =0D=0D db_write_cmd.o nsgphy.o strvalid.o =0D=0D dcphy.o nsphy.o subr_autoconf.o =0D=0D dead_vnops.o null.o subr_blist.o =0D=0D default_pager.o ohci.o subr_bus.o =0D=0D dest6.o ohci_pci.o subr_devstat.o =0D=0D devfs_devs.o opt_aac.h subr_disk.o =0D=0D devfs_rule.o opt_accept_filter_data.h subr_eventhandler.o =0D= =0D devfs_vfsops.o opt_accept_filter_http.h subr_hints.o =0D=0D devfs_vnops.o opt_acpi.h subr_kobj.o =0D=0D device_if.c opt_adaptive_mutexes.h subr_log.o =0D=0D device_if.h opt_adw.h subr_mbuf.o =0D=0D device_if.o opt_aic79xx.h subr_module.o =0D=0D device_pager.o opt_aic7xxx.h subr_param.o =0D=0D dgb.h opt_alq.h subr_pcpu.o =0D=0D divdi3.o opt_asr.h subr_power.o =0D=0D ds1.o opt_ata.h subr_prf.o =0D=0D dsp.o opt_atalk.h subr_prof.o =0D=0D dump_machdep.o opt_atkbd.h subr_rman.o =0D=0D e1000phy.o opt_atm.h subr_sbuf.o =0D=0D eisa_pci.o opt_auto_eoi.h subr_scanf.o =0D=0D eisaconf.o opt_bdg.h subr_taskqueue.o =0D=0D el.h opt_bktr.h subr_trap.o =0D=0D elf_machdep.o opt_bootp.h subr_xxx.o =0D=0D emu10k1.o opt_bpf.h support.o =0D=0D env.c opt_bus.h swap_pager.o =0D=0D env.o opt_cam.h swtch.o =0D=0D es137x.o opt_cd.h sys_generic.o =0D=0D es1888.o opt_clock.h sys_machdep.o =0D=0D ess.o opt_comconsole.h sys_pipe.o =0D=0D exception.o opt_compat.h sys_process.o =0D=0D exphy.o opt_compat_oldisa.h sys_socket.o =0D=0D fake.o opt_config.h syscons.o =0D=0D fb.o opt_cpu.h syscons_isa.o =0D=0D fd.o opt_cy_pci_fastintr.h sysmouse.o =0D=0D feeder.o opt_ddb.h sysv_ipc.o =0D=0D feeder_fmt.o opt_ddb_trace.h sysv_msg.o =0D=0D feeder_if.c opt_ddb_unattended.h sysv_sem.o =0D=0D feeder_if.h opt_debug_cluster.h sysv_shm.o =0D=0D feeder_if.o opt_debug_lockf.h t4dwave.o =0D=0D feeder_rate.o opt_debug_npx.h tcp_input.o =0D=0D ffs_alloc.o opt_debug_si.h tcp_output.o =0D=0D ffs_balloc.o opt_devfs.h tcp_subr.o =0D=0D ffs_inode.o opt_dgb.h tcp_syncache.o =0D=0D ffs_snapshot.o opt_directio.h tcp_timer.o =0D=0D ffs_softdep.o opt_dontuse.h tcp_usrreq.o =0D=0D ffs_softdep_stub.o opt_dpt.h tdkphy.o =0D=0D ffs_subr.o opt_drm.h tlphy.o =0D=0D ffs_tables.o opt_ed.h trap.o =0D=0D ffs_vfsops.o opt_ef.h tsc.o =0D=0D ffs_vnops.o opt_eisa.h tty.o =0D=0D fifo_vnops.o opt_fb.h tty_compat.o =0D=0D fixup_pci.o opt_fdc.h tty_conf.o =0D=0D fm801.o opt_ffs.h tty_cons.o =0D=0D fnmatch.o opt_ffs_broken_fixme.h tty_pty.o =0D=0D frag6.o opt_geom.h tty_subr.o =0D=0D g_bde.o opt_global.h tty_tty.o =0D=0D g_bde_crypt.o opt_hifn.h uaudio.o =0D=0D g_bde_lock.o opt_hw_wdog.h uaudio_pcm.o =0D=0D g_bde_work.o opt_i4b.h ucmpdi2.o =0D=0D genassym.o opt_i586_guprof.h udivdi3.o =0D=0D geom_bsd.o opt_inet.h udp6_output.o =0D=0D geom_bsd_enc.o opt_inet6.h udp6_usrreq.o =0D=0D geom_ctl.o opt_init_path.h udp_usrreq.o =0D=0D geom_dev.o opt_intpm.h ufs_acl.o =0D=0D geom_disk.o opt_ip6fw.h ufs_bmap.o =0D=0D geom_dump.o opt_ipdivert.h ufs_dirhash.o =0D=0D geom_event.o opt_ipdn.h ufs_extattr.o =0D=0D geom_io.o opt_ipfilter.h ufs_ihash.o =0D=0D geom_kern.o opt_ipfw.h ufs_inode.o =0D=0D geom_mbr.o opt_ipsec.h ufs_lookup.o =0D=0D geom_mbr_enc.o opt_ipstealth.h ufs_quota.o =0D=0D geom_slice.o opt_ipx.h ufs_vfsops.o =0D=0D geom_subr.o opt_isa.h ufs_vnops.o =0D=0D gsc.h opt_isp.h ugen.o =0D=0D gusc.o opt_kbd.h uhci.o =0D=0D hack.So* opt_kstack_max_pages.h uhci_pci.o =0D=0D harvest.o opt_kstack_pages.h uhid.o =0D=0D hash.o opt_ktr.h uhub.o =0D=0D hid.o opt_ktrace.h uipc_accf.o =0D=0D hints.c opt_libiconv.h uipc_domain.o =0D=0D hints.o opt_libmchain.h uipc_jumbo.o =0D=0D i386-gdbstub.o opt_lpt.h uipc_mbuf.o =0D=0D i4bing.h opt_mac.h uipc_mbuf2.o =0D=0D i4bipr.h opt_math_emulate.h uipc_proto.o =0D=0D i4bisppp.h opt_maxmem.h uipc_socket.o =0D=0D i4brbch.h opt_maxusers.h uipc_socket2.o =0D=0D i4btel.h opt_mbuf_stress_test.h uipc_syscalls.o =0D=0D i4btrc.h opt_mca.h uipc_usrreq.o =0D=0D i686_mem.o opt_md.h ukbd.o =0D=0D ich.o opt_meteor.h ukphy.o =0D=0D icmp6.o opt_mrouting.h ukphy_subr.o =0D=0D identcpu.o opt_msgbuf.h ulpt.o =0D=0D if.o opt_natm.h uma_core.o =0D=0D if_aue.o opt_ncp.h uma_dbg.o =0D=0D if_cs.o opt_ncr.h umass.o =0D=0D if_cs_isa.o opt_netgraph.h umoddi3.o =0D=0D if_cue.o opt_netsmb.h ums.o =0D=0D if_ether.o opt_nfs.h urio.o =0D=0D if_ethersubr.o opt_nfsroot.h usb.o =0D=0D if_faith.o opt_npx.h usb_ethersubr.o =0D=0D if_gif.o opt_ntp.h usb_if.c =0D=0D if_kue.o opt_panic.h usb_if.h =0D=0D if_lnc.o opt_param.h usb_if.o =0D=0D if_lnc_isa.o opt_pcfclock.h usb_quirks.o =0D=0D if_lnc_pci.o opt_pcvt.h usb_subr.o =0D=0D if_loop.o opt_pecoff.h usbdi.o =0D=0D if_media.o opt_perfmon.h usbdi_util.o =0D=0D if_mib.o opt_pfil_hooks.h uscanner.o =0D=0D if_plip.o opt_plip.h vchan.o =0D=0D if_ppp.o opt_pmap.h vcoda.h =0D=0D if_rl.o opt_posix.h vers.c =0D=0D if_sl.o opt_ppb_1284.h vers.o =0D=0D if_tun.o opt_ppc.h version =0D=0D if_xl.o opt_ppp.h vfs_bio.o =0D=0D igmp.o opt_psm.h vfs_cache.o =0D=0D ignore_pci.o opt_pt.h vfs_cluster.o =0D=0D imgact_elf.o opt_puc.h vfs_default.o =0D=0D imgact_shell.o opt_quota.h vfs_export.o =0D=0D in.o opt_raid.h vfs_init.o =0D=0D in6.o opt_random_ip_id.h vfs_lookup.o =0D=0D in6_cksum.o opt_reset.h vfs_mount.o =0D=0D in6_gif.o opt_rootdevname.h vfs_subr.o =0D=0D in6_ifattach.o opt_sa.h vfs_syscalls.o =0D=0D in6_pcb.o opt_sched.h vfs_vnops.o =0D=0D in6_prefix.o opt_scsi.h vga.o =0D=0D in6_proto.o opt_ses.h vga_isa.o =0D=0D in6_rmx.o opt_show_busybufs.h via8233.o =0D=0D in6_src.o opt_sio.h via82c686.o =0D=0D in_cksum.o opt_slip.h vibes.o =0D=0D in_gif.o opt_spigot.h vm86.o =0D=0D in_pcb.o opt_splash.h vm_contig.o =0D=0D in_proto.o opt_spx_hack.h vm_fault.o =0D=0D in_rmx.o opt_suiddir.h vm_glue.o =0D=0D index.o opt_svr4.h vm_init.o =0D=0D inet_ntoa.o opt_swap.h vm_kern.o =0D=0D init_main.o opt_swtch.h vm_machdep.o =0D=0D init_sysent.o opt_sym.h vm_map.o =0D=0D initcpu.o opt_syscons.h vm_meter.o =0D=0D inphy.o opt_sysvipc.h vm_mmap.o =0D=0D intr_machdep.o opt_tcp_input.h vm_object.o =0D=0D ip6_forward.o opt_tcpdebug.h vm_page.o =0D=0D ip6_input.o opt_tdfx.h vm_pageout.o =0D=0D ip6_mroute.o opt_ti.h vm_pageq.o =0D=0D ip6_output.o opt_trap.h vm_pager.o =0D=0D ip_divert.o opt_tty.h vm_swap.o =0D=0D ip_ecn.o opt_ubsec.h vm_unix.o =0D=0D ip_encap.o opt_ufs.h vm_zeroidle.o =0D=0D ip_flow.o opt_ukbd.h vnode_if.c =0D=0D ip_icmp.o opt_usb.h vnode_if.h =0D=0D ip_id.o opt_uvscom.h vnode_if.o =0D=0D ip_input.o opt_vesa.h vnode_pager.o =0D=0D ip_output.o opt_vfs_aio.h wt.h =0D=0D isa.o opt_vga.h xmphy.o =0D=0D isa_common.o opt_vinum.h yarrow.o =0D=0D isa_dma.o opt_vm.h =0D=0D isa_if.c opt_vmpage.h =0D=0D uriel# gdb -k vmcore.9 /usr/obj/usr/src/sys/URIEL/kernel.debug=0D=0D GNU gdb 5.2.1 (FreeBSD)=0D Copyright 2002 Free Software Foundation, Inc.=0D GDB is free software, covered by the GNU General Public License, and you ar= e=0D welcome to change it and/or distribute copies of it under certain condition= s.=0D Type "show copying" to see the conditions.=0D There is absolutely no warranty for GDB. Type "show warranty" for details.= =0D This GDB was configured as "i386-undermydesk-freebsd"..."/usr/crash/vmcore.= 9": not in executable format: File format not recognized=0D =0D No kernel exec file specified=0D (kgdb) uriel# =0D=0D uriel# man script=0D=0D Formatting page, please wait...Done.=0D =1B[?1h=1B=3D=1B[24;1H=1B[KSCRIPT(1) FreeBSD General Commands= Manual SCRIPT(1)=0D =0D =0D =0D =1B[1mNAME=1B[m=0F=0D =1B[1mscript=1B[m=0F - make typescript of terminal session=0D =0D =1B[1mSYNOPSIS=1B[m=0F=0D =1B[1mscript=1B[m=0F [=1B[1m-a=1B[m=0F] [=1B[1m-k=1B[m=0F] [=1B[1m-q= =1B[m=0F] [=1B[1m-t=1B[m=0F =1B[4mtime=1B[24m] [=1B[4mfile=1B[24m [command = ...]]=0D =0D =1B[1mDESCRIPTION=1B[m=0F=0D The =1B[1mscript=1B[m=0F utility makes a typescript of everything prin= ted on your ter-=0D minal. It is useful for students who need a hardcopy record of an int= er-=0D active session as proof of an assignment, as the typescript file can b= e=0D printed out later with lpr(1).=0D =0D If the argument =1B[4mfile=1B[24m is given, =1B[1mscript=1B[m=0F saves= all dialogue in =1B[4mfile=1B[24m. If no=0D file name is given, the typescript is saved in the file =1B[4mtypescri= pt=1B[24m.=0D =0D If the argument =1B[4mcommand=1B[24m =1B[4m...=1B[24m is given, =1B[1m= script=1B[m=0F will run the specified com-=0D mand with an optional argument vector instead of an interactive shell.= =0D =0D Options:=0D =1B[24;1H=1B[K=1B[7mbyte 983=1B[27m=1B[24;1H=1B[24;1H=1B[K=0D =1B[1m-a=1B[m=0F Append the output to =1B[4mfile=1B[24m or =1B[4= mtypescript=1B[24m, retaining the prior=0D contents.=0D =0D =1B[1m-k=1B[m=0F Log keys sent to program as well as output.=0D =0D =1B[1m-q=1B[m=0F Run in quiet mode, omit the start and stop stat= us messages.=0D =0D =1B[1m-t=1B[m=0F =1B[4mtime=1B[24m Specify time interval between flus= hing script output file. A=0D value of 0 causes =1B[1mscript=1B[m=0F to flush for every cha= racter I/O event.=0D The default interval is 30 seconds.=0D =0D The script ends when the forked shell (or command) exits (a =1B[4mcont= rol-D=1B[24m to=0D exit the Bourne shell (sh(1)), and =1B[4mexit=1B[24m, =1B[4mlogout=1B[= 24m or =1B[4mcontrol-d=1B[24m (if=0D =1B[4mignoreeof=1B[24m is not set) for the C-shell, csh(1)).=0D =0D Certain interactive commands, such as vi(1), create garbage in the typ= e-=0D script file. The =1B[1mscript=1B[m=0F utility works best with command= s that do not=0D manipulate the screen. The results are meant to emulate a hardcopy te= r-=0D minal, not an addressable one.=0D =0D =1B[1mENVIRONMENT=1B[m=0F=0D The following environment variable is utilized by =1B[1mscript=1B[m=0F= :=0D =1B[24;1H=1B[K=1B[7mbyte 2132=1B[27m=1B[24;1H=1B[K=1B[?1l=1B>uriel# ^D=08= =08exit=0D Script done on Fri May 2 18:59:42 2003 Script started on Fri May 2 18:59:50 2003 uriel# gdb -k /usr/sr=08=1B[K=08=1B[Kobj/usr/srv=08=1B[Kc/sys/=07URIEL/kern= e=07l.debug vm=07core.9 =0D=0D GNU gdb 5.2.1 (FreeBSD)=0D Copyright 2002 Free Software Foundation, Inc.=0D GDB is free software, covered by the GNU General Public License, and you ar= e=0D welcome to change it and/or distribute copies of it under certain condition= s.=0D Type "show copying" to see the conditions.=0D There is absolutely no warranty for GDB. Type "show warranty" for details.= =0D This GDB was configured as "i386-undermydesk-freebsd"...=0D panic: ohci_add_done: addr 0x005b15c0 not found=0D =0D panic messages:=0D ---=0D panic: ohci_add_done: addr 0x005b15c0 not found=0D =0D =0D syncing disks, buffers remaining... 1407 1407 1407 1407 1407 1407 1407 1407= 1407 1407 1407 1407 1407 1407 1407 1407 1407 1407 1407 1407 =0D giving up on 1246 buffers=0D Uptime: 19m15s=0D Dumping 127 MB=0D ata1: resetting devices ..=0D done=0D 16[CTRL-C to abort] 32[CTRL-C to abort] 48 64 80 96 112=0D ---=0D Reading symbols from /usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules= /linux/linux.ko.debug...done.=0D Loaded symbols for /usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/l= inux/linux.ko.debug=0D Reading symbols from /usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules= /acpi/acpi.ko.debug...done.=0D Loaded symbols for /usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/a= cpi/acpi.ko.debug=0D Reading symbols from /usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules= /linprocfs/linprocfs.ko.debug...done.=0D Loaded symbols for /usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/l= inprocfs/linprocfs.ko.debug=0D Reading symbols from /usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules= /ipfw/ipfw.ko.debug...done.=0D Loaded symbols for /usr/obj/usr/src/sys/URIEL/modules/usr/src/sys/modules/i= pfw/ipfw.ko.debug=0D Reading symbols from /boot/kernel/logo_saver.ko...done.=0D Loaded symbols for /boot/kernel/logo_saver.ko=0D Reading symbols from /boot/kernel/ng_ubt.ko...done.=0D Loaded symbols for /boot/kernel/ng_ubt.ko=0D Reading symbols from /boot/kernel/netgraph.ko...done.=0D Loaded symbols for /boot/kernel/netgraph.ko=0D Reading symbols from /boot/kernel/ng_bluetooth.ko...done.=0D Loaded symbols for /boot/kernel/ng_bluetooth.ko=0D Reading symbols from /boot/kernel/ng_hci.ko...done.=0D Loaded symbols for /boot/kernel/ng_hci.ko=0D Reading symbols from /boot/kernel/ng_l2cap.ko...done.=0D Loaded symbols for /boot/kernel/ng_l2cap.ko=0D ---Type to continue, or q to quit---=0D Reading symbols from /boot/kernel/ng_btsocket.ko...done.=0D Loaded symbols for /boot/kernel/ng_btsocket.ko=0D Reading symbols from /boot/kernel/ng_socket.ko...done.=0D Loaded symbols for /boot/kernel/ng_socket.ko=0D #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:238=0D 238 dumping++;=0D (kgdb) bt=0D #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:238=0D #1 0xc023aada in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c:3= 70=0D #2 0xc023ae2b in panic () at /usr/src/sys/kern/kern_shutdown.c:543=0D #3 0xc01cfd97 in ohci_add_done (sc=3D0xc2322000, done=3D5969344)=0D at /usr/src/sys/dev/usb/ohci.c:1305=0D #4 0xc01cfb09 in ohci_intr1 (sc=3D0xc2322000)=0D at /usr/src/sys/dev/usb/ohci.c:1200=0D #5 0xc01cf91e in ohci_intr (p=3D0xc2322000) at /usr/src/sys/dev/usb/ohci.c= :1130=0D #6 0xc0227522 in ithread_loop (arg=3D0xc2335800)=0D at /usr/src/sys/kern/kern_intr.c:537=0D #7 0xc0226510 in fork_exit (callout=3D0xc2322000, arg=3D0x0, frame=3D0x0)= =0D at /usr/src/sys/kern/kern_fork.c:793=0D (kgdb) up 3=0D #3 0xc01cfd97 in ohci_add_done (sc=3D0xc2322000, done=3D5969344)=0D at /usr/src/sys/dev/usb/ohci.c:1305=0D 1305 panic("ohci_add_done: addr 0x%08lx not found\n", (u_long)done);=0D (kgdb) print done=0D $1 =3D 5969344=0D (kgdb) print done=08=08=08=08=1B[4h*=1B[4l=0D ---Can't read userspace from dump, or kernel process---=0D =0D (kgdb) show locals=0D Undefined show command: "locals". Try "help show".=0D (kgdb) uriel# sysctl -a | grep usb=0D=0D hw.usb.uaudio.debug: 0=0D hw.usb.ohci.debug: 0=0D hw.usb.ugen.debug: 0=0D hw.usb.uhci.debug: 0=0D hw.usb.uhci.loop: 0=0D hw.usb.uhid.debug: 0=0D hw.usb.uhub.debug: 0=0D hw.usb.ukbd.debug: 0=0D hw.usb.ulpt.debug: 0=0D hw.usb.umass.debug: 0=0D hw.usb.ums.debug: 0=0D hw.usb.urio.debug: 0=0D hw.usb.uscanner.debug: 0=0D hw.usb.debug: 0=0D uriel# ^D=08=08exit=0D Script done on Fri May 2 19:04:04 2003 --zYM0uCDKw75PZbzx--