From owner-freebsd-current@FreeBSD.ORG Sun Nov 11 15:54:19 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9883116A41B for ; Sun, 11 Nov 2007 15:54:19 +0000 (UTC) (envelope-from m2chrischou@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id 71C3B13C48E for ; Sun, 11 Nov 2007 15:54:19 +0000 (UTC) (envelope-from m2chrischou@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1322902waf for ; Sun, 11 Nov 2007 07:54:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=Hq5/pvDX5y8sIoSi6iYtXkAnm/qpN7JzbOon65/doOU=; b=ichkKcPK5mPJ5ZnNDdwixZ08DUzuSMzUZfUp07RFnbddDlJdEO0QuGUX/jJPftGfejiq7/hcwn0Wbe9/TBrm7WGIfT7zOgLOS+n9Ta8aGVb1Inm/J1Tc9wa0qU/UHS875cd7rekrXd9qn74yy41fuhgu49ItWaogWMwF4HPhH5U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=BClCtLIu/noAcJlABvqIXVMkVYMTZGHg0Q9C8aC8s08lpGY29BejEzu6CesrNZuTEjEHWP3tiPPgjnprpBr8khtzJ1EWkGla9ufXhYdmq7l95WaQVp7SqbSMVKu6FPAOn69NAVKFO1dopd4l4TBSzocdeiNGketizddDzinly3Q= Received: by 10.115.106.7 with SMTP id i7mr732890wam.1194794837543; Sun, 11 Nov 2007 07:27:17 -0800 (PST) Received: by 10.114.125.4 with HTTP; Sun, 11 Nov 2007 07:27:17 -0800 (PST) Message-ID: <26b05a0e0711110727o10c3eb9eg9f7913def74268c4@mail.gmail.com> Date: Sun, 11 Nov 2007 23:27:17 +0800 From: "Chris Chou" To: freebsd-current@freebsd.org, freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: FreeBSD 7.0 BETA 2 crashes when starts up with USB disk plugged in X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 11 Nov 2007 15:54:19 -0000 Dear all, I encountered another crash when using FreeBSD 7.0 BETA 2. The following is the kgdb output: kgdb: kvm_nlist(_stopped_cpus): kgdb: kvm_nlist(_stoppcbs): [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: Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-BETA2 #6: Mon Nov 5 23:28:18 CST 2007 chris@mercury:/usr/obj/usr/src/sys/MERCURY Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Hammer Family processor - Model Unknown (1750.01-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20fc2 Stepping = 2 Features=0x78bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x1 real memory = 1073676288 (1023 MB) avail memory = 1037295616 (989 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 3fef0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff,0xcf0-0xcf3 on acpi0 pci0: on pcib0 isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xe5001000-0xe5001fff irq 21 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 4 ports with 4 removable, self powered ohci1: mem 0xe5002000-0xe5002fff irq 22 at device 2.1 on pci0 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 4 ports with 4 removable, self powered ehci0: mem 0xe5003000-0xe50030ff irq 23 at device 2.2 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: on usb2 uhub2: 8 ports with 8 removable, self powered uhub2: port 5 reset failed atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 8.0 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xc400-0xc40f,0xc800-0xc87f irq 21 at device 10.0 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] pcib1: at device 11.0 on pci0 pci1: on pcib1 nvidia0: mem 0xe0000000-0xe0ffffff,0xd8000000-0xdfffffff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] nvidia0: [ITHREAD] pcib2: at device 14.0 on pci0 pci2: on pcib2 fxp0: port 0x9000-0x901f mem 0xe4000000-0xe4000fff,0xe3000000-0xe30fffff irq 17 at device 7.0 on pci2 miibus0: on fxp0 inphy0: PHY 1 on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:00:4c:93:56:88 fxp0: [ITHREAD] pcm0: port 0x9400-0x94ff irq 19 at device 9.0 on pci2 pcm0: [ITHREAD] rl0: port 0x9800-0x98ff mem 0xe3100000-0xe31000ff irq 16 at device 13.0 on pci2 miibus1: on rl0 rlphy0: PHY 0 on miibus1 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:13:d3:3b:f1:02 rl0: [ITHREAD] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] ppc0: port 0x378-0x37f,0x778-0x77b irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcf7ff,0xd0000-0xd3fff,0xd4000-0xd4fff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1750010255 Hz quality 800 Timecounters tick every 1.000 msec IP Filter: v4.1.28 initialized. Default = block all, Logging = enabled acd0: DVDR at ata1-master UDMA66 acd1: DMA limited to UDMA33, device found non-ATA66 cable acd1: DVDROM at ata1-slave UDMA33 ad4: 156334MB at ata2-master SATA150 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00 0x01 acd1: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00 0x01 acd1: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 66.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present cd1 at ata1 bus 0 target 1 lun 0 cd1: Removable CD-ROM SCSI-0 device cd1: 33.000MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad4s1a <118>Loading configuration files. <118>kernel dumps on /dev/ad4s1b <118>Entropy harvesting: <118> interrupts <118> ethernet <118> point_to_point <118> kickstart <118>. <118>swapon: adding /dev/ad4s1b as swap device <118>Starting file system checks: <118>/dev/ad4s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS <118>/dev/ad4s1a: clean, 134060 free (1308 frags, 16594 blocks, 0.5%fragmentation) <118>/dev/ad4s2d: FILE SYSTEM CLEAN; SKIPPING CHECKS <118>/dev/ad4s2d: clean, 30942034 free (76122 frags, 3858239 blocks, 0.1%fragmentation) <118>/dev/ad4s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS <118>/dev/ad4s1e: clean, 161455 free (1535 frags, 19990 blocks, 0.6%fragmentation) <118>/dev/ad4s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS <118>/dev/ad4s1f: clean, 2488118 free (216614 frags, 283938 blocks, 2.8%fragmentation) <118>/dev/ad4s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS <118>/dev/ad4s1d: clean, 116918 free (30526 frags, 10799 blocks, 3.0%fragmentation) <118>Setting hostuuid: d51b734d-7b82-11dc-8224-00004c935688. <118>Setting hostid: 0xdb2f6497. <118>Mounting local file systems: <118>mount_nullfs: <118>/storage/soft: No such file or directory <118> <118>. <118>Setting hostname: mercury. <118>Enabling ipfilter. <118>Installing NAT rules. <118>0 entries flushed from NAT table <118>0 entries flushed from NAT list umass0: on uhub2 <118>net.inet6.ip6.auto_linklocal: <118>1 <118> -> <118>0 <118> <118>hw.snd.maxautovchans: <118>16 <118> -> <118>4 <118> <118>compat.linux.osrelease: <118>2.4.2 <118> -> <118>2.6.16 <118> <118>kern.ipc.shmmax: <118>33554432 <118> -> <118>67108864 <118> <118>kern.ipc.shmall: <118>8192 <118> -> <118>32768 <118> da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 1968MB (4030464 512 byte sectors: 255H 63S/T 250C) umass0: at uhub2 port 5 (addr 2) disconnected (da0:umass-sim0:0:0:0): lost device Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor write, page not present instruction pointer = 0x20:0xc045915b stack pointer = 0x28:0xe2974adc frame pointer = 0x28:0xe2974af8 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 = 2 (g_event) trap number = 12 panic: page fault Uptime: 6s Physical memory: 1011 MB Dumping 49 MB: 34 18 2 #0 doadump () at pcpu.h:195 195 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc0611ce4 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc0611ee4 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc087307c in trap_fatal (frame=0xe2974a9c, eva=0) at /usr/src/sys/i386/i386/trap.c:872 #4 0xc08732e0 in trap_pfault (frame=0xe2974a9c, usermode=0, eva=0) at /usr/src/sys/i386/i386/trap.c:785 #5 0xc0873c42 in trap (frame=0xe2974a9c) at /usr/src/sys/i386/i386/trap.c:463 #6 0xc085d84b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc045915b in xpt_done (done_ccb=0xc40d9800) at /usr/src/sys/cam/cam_xpt.c:4856 #8 0xc0459278 in dead_sim_action (sim=0xc08e7500, ccb=0xc40d9800) at /usr/src/sys/cam/cam_xpt.c:7264 #9 0xc045a47e in xpt_action (start_ccb=0xc40d9800) at /usr/src/sys/cam/cam_xpt.c:3057 #10 0xc0455c08 in cam_periph_runccb (ccb=0xc40d9800, error_routine=0, camflags=CAM_RETRY_SELTO, sense_flags=1, ds=0xc4272000) at /usr/src/sys/cam/cam_periph.c:878 #11 0xc046b48b in daprevent (periph=Variable "periph" is not available. ) at /usr/src/sys/cam/scsi/scsi_da.c:1822 #12 0xc046c348 in daclose (dp=0xc436f200) at /usr/src/sys/cam/scsi/scsi_da.c:751 #13 0xc05c25ef in g_disk_access (pp=0xc4366a80, r=0, w=0, e=Variable "e" is not available. ) at /usr/src/sys/geom/geom_disk.c:152 ---Type to continue, or q to quit--- #14 0xc05c730c in g_access (cp=0xc4268b80, dcr=-1, dcw=0, dce=0) at /usr/src/sys/geom/geom_subr.c:748 #15 0xc05cbd10 in g_part_taste (mp=0xc0908520, pp=0xc4366a80, flags=0) at /usr/src/sys/geom/part/g_part.c:1355 #16 0xc05c6f31 in g_new_provider_event (arg=0xc4366a80, flag=0) at /usr/src/sys/geom/geom_subr.c:477 #17 0xc05c3973 in g_run_events () at /usr/src/sys/geom/geom_event.c:211 #18 0xc05c4d56 in g_event_procbody () at /usr/src/sys/geom/geom_kern.c:141 #19 0xc05f3334 in fork_exit (callout=0xc05c4cf0 , arg=0x0, frame=0xe2974d38) at /usr/src/sys/kern/kern_fork.c:796 #20 0xc085d8c0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205 (kgdb) The crash happens when I reboot the system with a USB disk plugged in, my USB disk is KINGSTON DataTraverler 2GB. Any one could help with this? Best regards, Chris