Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 2004 00:42:23 +0300
From:      "Dmitry S. Poliakov" <core_dump@mail.ru>
To:        bugs@freebsd.org
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Fwd: FreeBSD 5.3-RELEASE Panic: Optio S4
Message-ID:  <139757893.20041206004223@mail.ru>
In-Reply-To: <1102271955.643.24.camel@localhost>
References:  <1102271955.643.24.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help



---------- Original ----------
From:                  Jan Stocker <Jan.Stocker@t-online.de>
to:                   core_dump@mail.ru

Sun, 05 Dec 2004 19:39:15 +0100
Тема:                FreeBSD 5.3-RELEASE Panic: Optio S4

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 

________________________________


uname

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

________________________________

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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
real memory  = 536281088 (511 MB)
avail memory = 510914560 (487 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <SENSM AQUILA> on motherboard
acpi0: Power Button (fixed)
acpi_ec0: <Embedded Controller: GPE 0x1c, GLK> 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: <ACPI CPU (3 Cx states)> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_button1: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82855 host to AGP bridge> mem 0xe0000000-0xefffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
nvidia0: <GeForce FX Go5200 32M/64M> mem 0xd8000000-0xdfffffff,0xc8000000-0xc8ffffff irq 11 at device 0.0 on pci1
nvidia0: [GIANT-LOCKED]
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1800-0x181f irq 11 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801DB (ICH4) USB controller USB-A> 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: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1820-0x183f irq 10 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801DB (ICH4) USB controller USB-B> 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: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1840-0x185f irq 10 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801DB (ICH4) USB controller USB-C> 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: <serial bus, USB> at device 29.7 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
cbb0: <RF5C476 PCI-CardBus Bridge> at device 3.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <RF5C476 PCI-CardBus Bridge> at device 3.1 on pci2
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
fwohci0: <Ricoh R5C552> 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: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> 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: <SBP-2/SCSI over FireWire> 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: <Broadcom BCM4401 Fast Ethernet> mem 0xd0000000-0xd0001fff irq 10 at device 5.0 on pci2
miibus0: <MII bus> on bfe0
bmtphy0: <BCM4401 10/100baseTX PHY> on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bfe0: Ethernet address: 00:00:f0:72:38:86
bfe0: [GIANT-LOCKED]
iwi0: <Intel(R) PRO/Wireless 2200BG MiniPCI> 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: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> 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: <serial bus, SMBus> at device 31.3 (no driver attached)
pcm0: <Intel ICH4 (82801DB)> port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xc0000800-0xc00008ff,0xc0000c00-0xc0000dff irq 11 at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Unknown AC97 Codec (id = 0x43525973)>
pci0: <simple comms> at device 31.6 (no driver attached)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
orm0: <ISA Option ROMs> at iomem 0xe0000-0xe3fff,0xdc000-0xdffff,0xd0000-0xd3fff,0xc0000-0xcffff on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> 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: <Generic ISA VGA> 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 <FUJITSU MHT2060AT/0022> [116280/16/63] at ata0-master UDMA100
acd0: DVDR <DV-W24ES/S.0A> at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s2a

________________________________


Hardware: Samsung M40 Notebook with Pentium M 725
OS: FreeBSD 5.3-RELEASE and GENERIC kernel (only added kernel debugger for stacktrace, but panics without, too)



---------- End of the original message ----------
-- 
Best regards,
 Dmitry                          mailto:core_dump@mail.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?139757893.20041206004223>