kern/59923: High I/O on second or 3rd IDE drive causes crash

ted at mail.plymouth.edu Ted.Wisniewski at typhoon.plymouth.edu
Wed Dec 3 10:30:39 PST 2003


>Number:         59923
>Category:       kern
>Synopsis:       High I/O on second or 3rd IDE drive causes crash
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 03 10:30:24 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     ted at mail.plymouth.edu <Ted Wisniewski>
>Release:        FreeBSD 5.2-BETA i386
>Organization:
Plymouth State University
>Environment:
System: FreeBSD testmachine.plymouth.edu 5.2-BETA FreeBSD 5.2-BETA #0: Mon Dec 1 12:03:54 GMT 2003 root at testmachine.plymouth.edu:/usr/src/sys/i386/compile/GENERIC i386


>Description:
	Tested on multiple PC's Dell Gx260 & GX400's
	
	When Heavy I/O occurs on the second or third IDE (ATA) drive the 
following occurs:

	ad1: TIMEOUT - WRITE_DMA retrying - (2 tries left)
	ata0 : resetting devices
	GEOM: destroy disk ad1 dp=0xc2e36860

	Fatal trap 12: page fault in kernel mode
	cpuid=0;apic id=00
	fault virtual address	= 0xdeadc0ea
	fault code		= supervisor read, page not present
	instruction pointer	= 0x0: 0xc0633839
	stack pointer		= 0x10: 0xce6a7c14
	frame pointer		= 0x10: 0xce6a7c34
	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)
	kernel: type 12 trap, code = 0
	stopped at g_slice_access+0x59: movl 0xc(%ecx),%eax

Output of "dmesg":

	
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 5.2-BETA #0: Wed Dec  3 10:09:49 GMT 2003
    root at testmachine.plymouth.edu:/usr/src/sys/i386/compile/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a6a000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 1300MHz (1285.34-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf0a  Stepping = 10
  Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 267874304 (255 MB)
avail memory = 250564608 (238 MB)
Pentium Pro MTRR support enabled
acpi0: <DELL   GX400  > on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fbbb0
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 31 INTD is routed to irq 11
pcib0: slot 31 INTB is routed to irq 10
pcib0: slot 31 INTC is routed to irq 9
pcib0: slot 31 INTB is routed to irq 10
agp0: <Intel 82850 host to AGP bridge> mem 0xe8000000-0xefffffff at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci_cfgintr: 1:0 INTA BIOS irq 11
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib2: slot 7 INTA is routed to irq 11
pcib2: slot 10 INTA is routed to irq 11
pcib2: slot 12 INTA is routed to irq 11
fxp0: <Intel 82558 Pro/100 Ethernet> port 0xdce0-0xdcff mem 0xff700000-0xff7fffff,0xf8001000-0xf8001fff irq 11 at device 7.0 on pci2
fxp0: Ethernet address 00:90:27:99:8b:77
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: <Intel 82558 Pro/100 Ethernet> port 0xdcc0-0xdcdf mem 0xff600000-0xff6fffff,0xf8000000-0xf8000fff irq 11 at device 10.0 on pci2
fxp1: Ethernet address 00:90:27:46:5e:f9
miibus1: <MII bus> on fxp1
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc00-0xdc7f mem 0xff5ffc00-0xff5ffc7f irq 11 at device 12.0 on pci2
xl0: Ethernet address: 00:06:5b:1c:12:ef
miibus2: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus2
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 UDMA100 controller> port 0xffa0-0xffaf at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xff80-0xff9f irq 11 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) 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
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xff60-0xff7f irq 9 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) 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
pci0: <multimedia, audio> at device 31.5 (no driver attached)
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77f,0x378-0x37f irq 7 on acpi0
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
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1285338612 Hz quality 800
Timecounters tick every 10.000 msec
ata0-master: DMA limited to UDMA33, non-ATA66 cable or device
ata0-slave: DMA limited to UDMA33, non-ATA66 cable or device
GEOM: create disk ad0 dp=0xc2e36a60
ad0: 4112MB <WDC AC14300R> [8912/15/63] at ata0-master UDMA33
GEOM: create disk ad1 dp=0xc2e36860
ad1: 114473MB <WDC WD1200JB-00EVA0> [232581/16/63] at ata0-slave UDMA33
acd0: CDROM <SAMSUNG CD-ROM SC-148C> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: superblock summary recomputed
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 4 files 1

>How-To-Repeat:

	cd /mnt-point-of-second-drive
	dd if=/dev/zero bs=2048 of=filename.dta
>Fix:

	None known of, other than not to use a second drive.


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


More information about the freebsd-bugs mailing list