Date: Mon, 12 Feb 2001 17:26:26 +0200 From: Maxim Sobolev <sobomax@FreeBSD.org> To: current@FreeBSD.org Cc: sos@FreeBSD.org Subject: Kernel panic in irq14: ata0 Message-ID: <3A8800A1.EB3E8F5E@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi,
I'm not sure whether it's related to ata driver, but starting from several days
ago (my previous kernel was from 30 January) my kernel panices on every more or
less active ad0 usage (for example, dd if=/dev/ad0 of=/dev/null kills it
perfectly). The system in question is Toshiba Satellite Pro 445CDX with
isa-based ATA controller. Following is relevant dmesg, kernel config and
backtrace of crash dump.
-Maxim
[-- Attachment #2 --]
Copyright (c) 1992-2001 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.0-CURRENT #0: Sun Feb 11 02:05:32 EET 2001
root@notebook:/usr/src/sys/compile/NOTEBOOK
Timecounter "i8254" frequency 1193136 Hz
CPU: Pentium/P55C (132.63-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x543 Stepping = 3
Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory = 33685504 (32896K bytes)
avail memory = 29745152 (29048K bytes)
Preloaded elf kernel "kernel" at 0xc0302000.
Preloaded elf module "snd_pcm.ko" at 0xc030209c.
Preloaded elf module "snd_mss.ko" at 0xc030213c.
Intel Pentium detected, installing workaround for F00F bug
VESA: v2.0, 2048k memory, flags:0x0, mode table:0xc0293d20 (1000040)
VESA: CHIPS 6x554 Super VGA
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
isa0: <ISA bus> on motherboard
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
fdc0: <NEC 765 or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
pcic0: <Intel i82365> at port 0x3e0-0x3e1 on isa0
pcic0: Polling mode
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
pcm0: <OPL3-SA3 (YMF715)> at port 0x530-0x537,0x370-0x371 irq 5 drq 1 flags 0xc110 on isa0
pmtimer0 on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 flags 0x1 on isa0
ppc0: Generic chipset (NIBBLE-only) in NIBBLE mode
plip0: <PLIP network interface> on ppbus0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources
unknown: <TOS7400> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0600> can't assign resources
unknown: <PNP0600> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0401> can't assign resources
unknown: <PNP0e00> can't assign resources
unknown: <TOS7009> can't assign resources
unknown: <YMH0021> can't assign resources
lp0 XXX: driver didn't initialize queue mtx
lo0 XXX: driver didn't initialize queue mtx
ad0: 1376MB <TOSHIBA MK1403MAV> [2796/16/63] at ata0-master BIOSPIO
acd0: CDROM <TOSHIBA CD-ROM XM-1502BN> at ata1-master using BIOSPIO
Mounting root from ufs:/dev/ad0s1a
pccard: card inserted, slot 0
pccard: card inserted, slot 1
WARNING: / was not properly dismounted
ed0 at port 0x240-0x25f irq 3 slot 0 on pccard0
ed0: address 00:80:c8:88:86:b1, type NE2000 (16 bit)
sio1 at port 0x2e8-0x2ef irq 10 slot 1 on pccard1
sio1: type 16550A
[-- Attachment #3 --]
Script started on Mon Feb 12 16:34:34 2001
root@notebook# gdb -k /sys/compile/NOTEBOOK/kernel.debug /var/crash/vmcore.0
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD 3338240
initial pcb at 2910a0
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x18
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc022e4a9
stack pointer = 0x10:0xc35acf50
frame pointer = 0x10:0xc35acf64
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = resume, IOPL = 0
current process = 16 (irq14: ata0)
trap number = 12
panic: page fault
syncing disks... 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9
done
Uptime: 32s
dumping to dev #ad/0x20001, offset 36608
dump ata0: resetting devices .. done
32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
---
#0 dumpsys () at ../../kern/kern_shutdown.c:476
476 if (dumping++) {
(kgdb) bt
#0 dumpsys () at ../../kern/kern_shutdown.c:476
#1 0xc0148fac in boot (howto=256) at ../../kern/kern_shutdown.c:319
#2 0xc0149368 in poweroff_wait (junk=0xc025ecef, howto=-1020301920)
at ../../kern/kern_shutdown.c:569
#3 0xc0230015 in trap_fatal (frame=0xc35acf10, eva=24) at ../../i386/i386/trap.c:995
#4 0xc022fd79 in trap_pfault (frame=0xc35acf10, usermode=0, eva=24) at ../../i386/i386/trap.c:909
#5 0xc022f5cf in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 24, tf_esi = 0,
tf_ebp = -1017458844, tf_isp = -1017458884, tf_ebx = -1070940416, tf_edx = -1014120448,
tf_ecx = -1020311168, tf_eax = -1020311168, tf_trapno = 12, tf_err = 0,
tf_eip = -1071455063, tf_cs = 8, tf_eflags = 65542, tf_esp = -1072374727, tf_ss = 0})
at ../../i386/i386/trap.c:456
#6 0xc022e4a9 in sw1b ()
#7 0xc013f85a in ithread_loop (arg=0xc0746b80) at ../../kern/kern_intr.c:449
#8 0xc013ebe3 in fork_exit (callout=0xc013f678 <ithread_loop>, arg=0xc0746b80, frame=0xc35acfa8)
at ../../kern/kern_fork.c:669
(kgdb) up
#1 0xc0148fac in boot (howto=256) at ../../kern/kern_shutdown.c:319
319 dumpsys();
(kgdb) up
#2 0xc0149368 in poweroff_wait (junk=0xc025ecef, howto=-1020301920)
at ../../kern/kern_shutdown.c:569
569 boot(bootopt);
(kgdb) up
#3 0xc0230015 in trap_fatal (frame=0xc35acf10, eva=24) at ../../i386/i386/trap.c:995
995 panic(trap_msg[type]);
(kgdb) up
#4 0xc022fd79 in trap_pfault (frame=0xc35acf10, usermode=0, eva=24) at ../../i386/i386/trap.c:909
909 trap_fatal(frame, eva);
(kgdb) up
#5 0xc022f5cf in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 24, tf_esi = 0,
tf_ebp = -1017458844, tf_isp = -1017458884, tf_ebx = -1070940416, tf_edx = -1014120448,
tf_ecx = -1020311168, tf_eax = -1020311168, tf_trapno = 12, tf_err = 0,
tf_eip = -1071455063, tf_cs = 8, tf_eflags = 65542, tf_esp = -1072374727, tf_ss = 0})
at ../../i386/i386/trap.c:456
456 (void) trap_pfault(&frame, FALSE, eva);
(kgdb) up
#6 0xc022e4a9 in sw1b ()
(kgdb) up
#7 0xc013f85a in ithread_loop (arg=0xc0746b80) at ../../kern/kern_intr.c:449
449 mi_switch();
(kgdb) up
#8 0xc013ebe3 in fork_exit (callout=0xc013f678 <ithread_loop>, arg=0xc0746b80, frame=0xc35acfa8)
at ../../kern/kern_fork.c:669
669 callout(arg, frame);
(kgdb) up
Initial frame selected; you cannot go up.
(kgdb) q
root@notebook# exit
Script done on Mon Feb 12 16:35:16 2001
[-- Attachment #4 --]
machine i386
cpu I586_CPU # Coz we don't need stuff for I386, I486 and I686
ident GENERIC
maxusers 10
#options KTRACE
options FFS
#options FFS_ROOT
options NFS
options MSDOSFS
options INET #InterNETworking
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
options NSWAPDEV=1
options CLK_USE_I8254_CALIBRATION
options CLK_USE_TSC_CALIBRATION
options USER_LDT
options P1003_1B
options _KPOSIX_PRIORITY_SCHEDULING
options _KPOSIX_VERSION=199309L
device random
device isa
#device pcm
device fdc
device ata
device atadisk
device atapicd
device atkbdc 1
device atkbd
device psm
#options PSM_HOOKAPM
device vga
device sc 1
options VESA
options SC_PIXEL_MODE
#options SC_NO_SYSMOUSE
options SC_TWOBUTTON_MOUSE
options SC_HISTORY_SIZE=1024
device npx
device sio
device apm
device pmtimer
device card
device pcic
device ed
options PCIC_RESUME_RESET
options POWERFAIL_NMI
# Zip Stuff - comment out if not needed
#device vpo0
#device scbus0 at vpo0
#device da0
device ppc
device ppbus
device plip
options PPC_PROBE_CHIPSET
# Various Pseudo-Devices
device loop
device ether
device pty
device splash
device bpf
options SYSVSHM
options SYSVSEM
options SYSVMSG
options SHMSEG=100
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A8800A1.EB3E8F5E>
