From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 05:53:03 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FECD37B401 for ; Wed, 2 Apr 2003 05:53:03 -0800 (PST) Received: from customer.ecore.net (enterprise.ecore.net [212.223.99.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 9B66043FBF for ; Wed, 2 Apr 2003 05:53:01 -0800 (PST) (envelope-from cs@cheasy.de) Received: (qmail 13394 invoked from network); 2 Apr 2003 13:52:56 -0000 Received: from p50840837.dip0.t-ipconnect.de (HELO cheasy.de) (80.132.8.55) by cheasy.de with SMTP; 2 Apr 2003 13:52:56 -0000 Message-ID: <3E8AEB39.2060408@cheasy.de> Date: Wed, 02 Apr 2003 15:52:57 +0200 From: Christoph Sold User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: de, de-de, en-us, en MIME-Version: 1.0 To: stable@freebsd.org Content-Type: multipart/mixed; boundary="------------050204050202070202080803" cc: Bernd Walter Subject: 4.8-S crashes during boot in USB code X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2003 13:53:03 -0000 This is a multi-part message in MIME format. --------------050204050202070202080803 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi List, my FreeBSD-4.8-Stable custom kernel crashes in USB code during boot. It does not matter if any USB device is connected. I checked all combinations of no, one, or two devices connected out of my collection (USB memory stick, Sony clie handheld). The crash is reproducible at the same location in the USB driver. A generic kernel does not crash, but does not detect the Clie. Enclosed are a DDB stack trace (stacktrace.txt), my machine-specific config file (KISTE), as well as dmesg output from the generic kernel (dmesg.boot.txt). Any hints? Thanks in advance -Christoph Sold --------------050204050202070202080803 Content-Type: text/plain; name="stacktrace.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="stacktrace.txt" atapci0: port 0xd800-0xd80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xd400-0xd4ff irq 5 at device 4.2 on pci usb0: on uhci0 usb0: USB revision 1.0 uhub0: UIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered Fatal trap 12: page fault while in kernel mode fault virtual address : 0x4 fault code : supervisor read, page not present instruction pointer : 0x8:0xc02df5ac stack pointer : 0x10:0xc052ad20 frame pointer : 0x10:0xc052ad3c 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 : 0 (swapper) interrupt mask : none trap number : 12 panic: page fault Uptime: 0s Automatic reboot in 15 seconds - press a key on the console to abort Debugger("manual escape to debugger") Stopped at Debugger+0x35: movb $0, in_Debugger.429 db> trace Debugger(c03ea269) at Debugger+0x35 scgetc(c046db20,3,c0466540,1,7e) at scgetc+0x47a sccngetch(2,c052abfc,c01c547e,c94520e0,c052ac0c) at sccngetch+0x10a sccncheckc(c04520e0,c052ac0c,c01a8124,186a0,c0e35e20) at sccncheckc+0xa cncheckc(186a06) at cncheckc+0x2e shutdown_panic(0,100) at shutdown_panic+0x34 boot(100,10,c052ace0,c052ac74,c0373ab4) at boot+0x335 panic(c03f0d4c,c03f081f,c046e340,c0451b40,0) at panic+0x7d trap_fatal(c052ace0,4,c046e340,c,0) at trap_fatal+0x344 trap_pfault(c052ace0,0,4,0,c154d000) at trap_pfault+0x12d trap(c0520010,c0380010,8e4c0010,c15de400,c15cd000) at trap+0x40f calltrap() at calltrap+0x11 --- trap 0xc, eip = 0xc02df5ac, esp = 0xc052ad20, ebp = 0xc052ad3c --- uhci_idone(0,c15d4e00,c15cd000,c15d4e00,c052ad6c) at uhci_idons+0xc uhci_waitintr(c15cd000,c15d4e00,c15d4e00,8,c052ad7c) at uhci_waitintr+0x62 uhci_device_ctrl_start(c15d4e00,0,c15d4e00,c052ae0c,c02e30be) at uhci_device_ctrl_transfer(c15d4e00,c15d4e00,c052ae0c,c02e30be) at uhci_device_ctrl_transfer+0x1f usbd_transfer(c15d4e00,c052add4,c02e30c7,c15d4e00,c15d4db0) at usbd_transfer+0xa3 usb_sync_transfer(c15d4e00,c15d4db0,c15d4d80,c15d4db0,c15bc780) at usb_sync_transfer+0x10 usbd_do_reqest_flags(c15d4d80,c052ac0c,c15d4db0,c15d4d80,0) at usb_do_reqest_flags+0x67 usb_do_reqest(c15d4d80,c052ae0c,c15d4db0,c15d0d80,0) at usb_do_reqest+0x18 usb_get_desc(c15d4d80,1,0,8,c15d4db0) at usb_get_desc+0 x6a usbd_new_device(c15d4f80,c15cd000,1,0,1,c15d4f30) at usbd_new_device+0x154 uhub_explore(015cc100,c15cc180,c15ccb80,0,c52aea0) at uhub_explore+0x203 usb_attach(c15cc180,c052aebc,c01b0f77,c15cc180,c15cd000) at usb_attach+0x106 DEVICE_ATTACH(c15ca080,c15ca080,c15ca300,0,1) at DEVICE_ATTACH+0x32 device_probe_and_attach(c15ca300) at device_probe_and_attach+0x67 uhci_pci_attach(c15ccb80,c052af08,c01b0f77,c15ccb80,c15ccb80) at uhci_pci_attach+0x2a4 DEVICE_ATTACH(c15ccb80,c15ccb80,c15ca180,0,0) at DEVICE_ATTACH+0x32 device_probe_and_attach(c15ccb80) at device_probe_and_attach+0x67 bus_generic_attach(c15ca080,c052af40,c01b0f77,c15ca080,c15ca080) at bus_generic_attach+0x16 DEVICE_ATTACH(c15ca080,c15ca080,c15ca300,0,1) at DEVICE_ATTACH+0x32 device_probe_and_attach(c15ca080) at device_probe_and_attach+0x67 bus_generic_attach(c15ca180,c052af078,c01b0f77,c15ca180,c15ca180) at bus_generic_attach+0x16 DEVICE_ATTACH(c15ca180,c15ca180,c0e48780,0,1) at DEVICE_ATTACH+0x32 device_probe_and_attach(c15ca180) at device_probe_and_attach+0x67 bus_generic_attach(c15ca300,c15ca300,c052afa4,c012e0c2,c15ca300) at bus_generic_attach+0x16 nexus_attach(c15ca300,c052afc0,c01b0f77,c15ca300,c15ca300) at nexus_attach+0xd DEVICE_ATTACH(c15ca300,c15ca300,c041da10,52f000,1) at DEVICE_ATTACH+0x32 device_probe_and_attach(c15ca300) at device_probe_and_attach+0x67 root_bus_configure(c0e48780,c03eb5ec,0) at root_bus_configure+0x16 configure(0,572c00,52f000,0,c012daa0) at configure+0x33 begin() at begin+0x47 --------------050204050202070202080803 Content-Type: text/plain; name="dmesg.boot.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.boot.txt" Copyright (c) 1992-2003 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 4.8-RC #3: Mon Mar 31 21:42:11 CEST 2003 so@kiste.local:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: Intel Pentium III (997.46-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff real memory = 268419072 (262128K bytes) avail memory = 255614976 (249624K bytes) Preloaded elf kernel "kernel.GENERIC" at 0xc056e000. Preloaded elf module "vesa.ko" at 0xc056e0a4. VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc056b782 (1000022) VESA: NVidia Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 6 entries at 0xc00f0eb0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xfc000000-0xfdffffff at device 0.0 on pci0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 irq 11 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xd800-0xd80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xd400-0xd41f irq 5 at device 4.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ulpt0: Lexmark Lexmark Z42, rev 1.00/1.00, addr 2, iclass 7/1 uhci1: port 0xd000-0xd01f irq 5 at device 4.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered umass0: USB Disk, rev 1.10/1.00, addr 2 pci0: (vendor=0x1106, dev=0x3057) at 4.4 pci0: (vendor=0x1274, dev=0x5880) at 5.0 irq 9 dc0: port 0xb400-0xb47f mem 0xed800000-0xed8003ff irq 5 at device 10.0 on pci0 dc0: Ethernet address: 00:40:f4:0a:be:55 miibus0: on dc0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sym0: <810a> port 0xb000-0xb0ff mem 0xed000000-0xed0000ff irq 10 at device 11.0 on pci0 sym0: No NVRAM, ID 7, Fast-10, SE, parity checking pcib1: on motherboard pci2: on pcib1 orm0: