From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 10:30:30 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9DDA16A4CE for ; Sat, 1 Jan 2005 10:30:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F84143D2D for ; Sat, 1 Jan 2005 10:30:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j01AUUgX038970 for ; Sat, 1 Jan 2005 10:30:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j01AUUWa038969; Sat, 1 Jan 2005 10:30:30 GMT (envelope-from gnats) Resent-Date: Sat, 1 Jan 2005 10:30:30 GMT Resent-Message-Id: <200501011030.j01AUUWa038969@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jan Stocker Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BE8216A4CE for ; Sat, 1 Jan 2005 10:24:56 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2039A43D1D for ; Sat, 1 Jan 2005 10:24:56 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j01AOt4B092120 for ; Sat, 1 Jan 2005 10:24:56 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j01AOtmN092118; Sat, 1 Jan 2005 10:24:55 GMT (envelope-from nobody) Message-Id: <200501011024.j01AOtmN092118@www.freebsd.org> Date: Sat, 1 Jan 2005 10:24:55 GMT From: Jan Stocker To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/75705: PANIC: da0 attach / Optio S4 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 10:30:31 -0000 >Number: 75705 >Category: kern >Synopsis: PANIC: da0 attach / Optio S4 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 01 10:30:30 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jan Stocker >Release: FreeBSD 5.3-RELEASE i386 >Organization: >Environment: System: FreeBSD tron 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Sun Dec 5 18:45:55 CET 2004 root@tron:/usr/src/sys/i386/compile/Tron53 i386 Hardware: Samsung M40 Notebook with Pentium M 725 FreeBSD 5.3-RELEASE and GENERIC kernel (only added kernel debugger for stacktrace, but panics without, too) >Description: This causes the panic: - plugin in a Pentax Optio S4 camera to USB port, turn on camera. all text is copied by pen&paper, so it can contain some typos also it isn't in complete detail at the end. ________________________________ Fatal trap 18: integer divide fault while in kernel mode IP = 0x8:0xc07ca4df SP = 0x10:0xd43ea9f4 FP = 0x10:0xd43eaa7c CS = base 0x0, limit 0xffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enable, resume, IOPL = 0 current process = 2(g_event) thread 100026 Stopped at 0x7ca4df = __qdivrem + 0x3b: divl %ecx, %eax ________________________________ where eax=1 and ecx=0 ________________________________ backtrace __qdivrem (726f6f,0,0,0,0) at 0xc07ca4df = __qdivrem+0x3b __udivdi3 (726f6f,0,0,0) at 0xc07ca92a = __udivdi3+0x16 cam_calc_geometry (d43eab24,1,c1d85960,c1a81190,1a782f6) at 0xc04445ca = cam_calc_geometry+0x26 umass_cam_action(c2427440,d43eab24) at 0xc05b21a6 = umass_cam_action+0x3a6 xpt_action (d43eab24,d43eab24,c1e82890,1,1) at 0x0448726 = xpt_action+0x272 dasetgeom (c245fd80,d83ec2,726f6e,0) at 0xc0454e11 = dasetgeom+0x69 dagetcapacity (c245fd80,c062af11,d43eac00,c0f07d24,d43eac34) at 0x0454d82 = dagetcapacity+0x266 daopen+0x71 g_disk_access+0xe2 g_access+0xfa g_slice_new+0x99 g_mbr_taste+0x3c g_new_provider_event+0x56 one_event+0x190 g_run_events+0x9 g_event_procbody+0x21 ________________________________ jstocker@tron:~ # dmesg Copyright (c) 1992-2004 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 5.3-RELEASE #0: Sun Dec 5 18:45:55 CET 2004 root@tron:/usr/src/sys/i386/compile/Tron53 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1.60GHz (1595.30-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d6 Stepping = 6 Features=0xafe9f9bf real memory = 536281088 (511 MB) avail memory = 510914560 (487 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) acpi_ec0: port 0x66,0x62 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_tz0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe0000000-0xefffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 nvidia0: mem 0xd8000000-0xdfffffff,0xc8000000-0xc8ffffff irq 11 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] uhci0: port 0x1800-0x181f irq 11 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: Logitech USB Receiver, rev 1.10/20.10, addr 2, iclass 3/1 ums0: 7 buttons and Z dir. uhci1: port 0x1820-0x183f irq 10 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1840-0x185f irq 10 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) pcib2: at device 30.0 on pci0 pci2: on pcib2 cbb0: at device 3.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: at device 3.1 on pci2 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 fwohci0: mem 0xd0003000-0xd00037ff at device 3.2 on pci2 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:00:f0:41:08:02:31:46 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:00:f0:02:31:46 fwe0: Ethernet address: 02:00:f0:02:31:46 fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) bfe0: mem 0xd0000000-0xd0001fff irq 10 at device 5.0 on pci2 miibus0: on bfe0 bmtphy0: on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bfe0: Ethernet address: 00:00:f0:72:38:86 bfe0: [GIANT-LOCKED] iwi0: mem 0xd0002000-0xd0002fff irq 5 at device 7.0 on pci2 iwi0: Ethernet address: 00:0e:35:5d:87:a3 iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1860-0x186f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 31.3 (no driver attached) pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xc0000800-0xc00008ff,0xc0000c00-0xc0000dff irq 11 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: pci0: at device 31.6 (no driver attached) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 orm0: at iomem 0xe0000-0xe3fff,0xdc000-0xdffff,0xd0000-0xd3fff,0xc0000-0xcffff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding 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 1595301062 Hz quality 800 Timecounters tick every 10.000 msec acpi_cpu: throttling enabled, 4 steps (100% to 25.0%), currently 100.0% ad0: 57231MB [116280/16/63] at ata0-master UDMA100 acd0: DVDR at ata1-master UDMA33 Mounting root from ufs:/dev/ad0s2a >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: