kern/75603: 5.3 kernel crash

Phil Oleson oz at nixil.net
Wed Dec 29 01:50:20 PST 2004


>Number:         75603
>Category:       kern
>Synopsis:       5.3 kernel crash
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 29 09:50:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Phil Oleson
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
N/A
>Environment:
System: FreeBSD demigorgon 5.3-STABLE FreeBSD 5.3-STABLE #0: Tue Dec 28 18:41:32 MST 2004 root at demigorgon:/usr/src/sys/i386/compile/demigorgon i386


>Description:
	This crash occurs on the 5.3 release as well as the current RELENG_5 branch.
System has a BT-958 host controller (Bios v 4.96I/ Host adapter firmware v5.07B)
Disk that causes system to bail is a Seagate ST118202LW firmware v06.
If I take the disk out of the loop, the system boots up fine. When it's 
initialized the system takes a dive. Same hardware setup worked with 4.X

-----------------------------------------------------------------------------------
Connected to Comport 1
KDB: debugger backends: ddb
KDB: current backend: ddb
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-STABLE #0: Tue Dec 28 20:38:42 MST 2004
root at demigorgon:/usr/src/sys/i386/compile/demigorgon
MPTable: <DELL Opti GX270 >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.19-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Hyperthreading: 2 logical CPUs
real memory = 527892480 (503 MB)
avail memory = 507027456 (483 MB)
ioapic0: Changing APIC ID to 2
ioapic0: Assuming intbase of 0
ioapic0 <Version 2.0> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82865G (865G GMCH) SVGA controller> port 0xed98-0xed9f mem 
0xfeb800
00-0xfebfffff,0xe8000000-0xefffffff irq 16 at device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xff80-0xff9f 
irq 16 at
device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801EB (ICH5) 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
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xff60-0xff7f 
irq 19 at
device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801EB (ICH5) 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 82801EB (ICH5) USB controller USB-C> port 0xff40-0xff5f 
irq 18 at
device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801EB (ICH5) 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
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xff20-0xff3f 
irq 16 at
device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib1: <MPTable PCI-PCI bridge> at device 30.0 on pci0
pci1: <PCI bus> on pcib1
bt0: <Buslogic Multi-Master SCSI Host Adapter> port 0xdf3c-0xdf3f mem 
0xfe9df000
-0xfe9dffff irq 16 at device 7.0 on pci1
bt0: BT-958 FW Rev. 5.07B Ultra Wide SCSI Host Adapter, SCSI ID 7, 192 CCBs
bt0: [GIANT-LOCKED]
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 
0xdf40-0xdf7f
mem 0xfe9e0000-0xfe9fffff irq 18 at device 12.0 on pci1
em0: Ethernet address: 00:0d:56:95:40:72
em0: Speed:N/A Duplex:N/A
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port 
0xffa0-0xffaf,0x376,0x170-0x177,0x
3f6,0x1f0-0x1f7 irq 18 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
atapci1: <Intel ICH5 SATA150 controller> port 
0xfea0-0xfeaf,0xfe30-0xfe33,0xfe20
-0xfe27,0xfe10-0xfe13,0xfe00-0xfe07 irq 18 at device 31.2 on pci0
ata2: channel #0 on atapci1
ata3: channel #1 on atapci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pcm0: <Intel ICH5 (82801EB)> port 0xedc0-0xedff,0xee00-0xeeff mem 
0xfeb7f900-0xf
eb7f9ff,0xfeb7fa00-0xfeb7fbff irq 17 at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Analog Devices AD1981B AC97 Codec>
cpu0 on motherboard
orm0: <ISA Option ROMs> at iomem 
0xd6800-0xd7fff,0xd5000-0xd67ff,0xce800-0xd4fff
,0xca800-0xce7ff,0xc0000-0xca7ff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
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
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
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
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0303> can't assign resources (port)
Timecounter "TSC" frequency 2793190664 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 76293MB <WDC WD800BB-75FRA0/77.07W77> [155009/16/63] at ata0-master 
UDMA100
acd0: CDROM <Lite-On LTN486S 48x Max/YDS6> at ata1-master UDMA33
Waiting 15 seconds for SCSI devices to settle
da0 at bt0 bus 0 target 0 lun 0
da0: <SEAGATE ST118202LW 0006> Fixed Direct Access SCSI-2 device
Fatal trap 18: integer divide fault while in kernel mode
instruction pointer    = 0x8:0xc043c40b
stack pointer          = 0x10:0xd4f9881c
frame pointer          = 0x10:0xd4f9882c
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        = 41 (swi3: cambio)
[thread 100042]
Stopped at scsi_calc_syncsrate+0x53: divl %ecx,%eax
db> trace
scsi_calc_syncsrate(0,0,a,0,a) at scsi_calc_syncsrate+0x53
xpt_announce_periph(c1b75400,d4f98c74,3d672000,4,200) at xpt_announce_periph+0xe
0
dadone(c1b75400,c1b95c00) at dadone+0x618
camisr(c072b320) at camisr+0x1f1
ithread_loop(c193c900,d4f98d48) at ithread_loop+0x151
fork_exit(c0513690,c193c900,d4f98d48) at fork_exit+0x74
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd4f98d7c, ebp = 0 ---
db>
>How-To-Repeat:
	I guess use the above drive with the above listed scsi host controller
>Fix:
.	



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list