Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2002 20:16:30 +1100 (EST)
From:      Tony Maher <tonym@biolateral.com.au>
To:        stable@freebsd.org
Subject:   panic on resume (ata related?)
Message-ID:  <200203250916.g2P9GUr15835@c16703.thorn1.nsw.optusnet.com.au>

next in thread | raw e-mail | index | archive | help
Hello,

cvsupped about 24 hours ago and made world.  Suspended laptop (Dell Inspiron
3500) on leaving working and when I resumed at home got the following panic.
Tried the suspend again, this time dropped into debugger but did not get
a second core file due to lack of disk space. It also appeared to be
ata related.

--
tonym

(kgdb) symbol-file kernel.debug
Reading symbols from kernel.debug...done.
(kgdb) exec-file /var/crash/kernel.1
(kgdb) core-file /var/crash/vmcore.1
IdlePTD at phsyical address 0x0049a000
initial pcb at physical address 0x003d13c0
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x70
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0192720
stack pointer           = 0x10:0xc037c28c
frame pointer           = 0x10:0xc037c2b0
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         = Idle
interrupt mask          = net tty bio cam 
trap number             = 12
panic: page fault

syncing disks... 

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x30
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0281218
stack pointer           = 0x10:0xc037c0b8
frame pointer           = 0x10:0xc037c0c0
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         = Idle
interrupt mask          = net tty bio cam 
trap number             = 12
panic: page fault
Uptime: 8h14m27s

dumping to dev #ad/0x20001, offset 786560
dump ata0: resetting devices .. ata0-slave: ATA identify retries exceeded
done
127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 
107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 
83 [CTRL-C to abort] 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63
 62 61 60 59 58 57 56 55 54 53 52 51 50 [CTRL-C to abort] 49 48 47 46 45 44 43 4
2 41 40 39 38 37 36 35 34 33 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 /usr/src/sys/kern/kern_shutdown.c:487
487             if (dumping++) {
(kgdb) where
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc018f6df in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316
#2  0xc018fb1d in panic (fmt=0xc037026c "%s")
    at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xc0308c77 in trap_fatal (frame=0xc037c078, eva=48)
    at /usr/src/sys/i386/i386/trap.c:966
#4  0xc0308925 in trap_pfault (frame=0xc037c078, usermode=0, eva=48)
    at /usr/src/sys/i386/i386/trap.c:859
#5  0xc03084cb in trap (frame={tf_fs = 16, tf_es = -1070137328, 
      tf_ds = -1072168944, tf_edi = 0, tf_esi = 0, tf_ebp = -1070088000, 
      tf_isp = -1070088028, tf_ebx = -1069970756, tf_edx = 6865984, 
      tf_ecx = -1055084531, tf_eax = 0, tf_trapno = 12, tf_err = 0, 
      tf_eip = -1071115752, tf_cs = 8, tf_eflags = 66182, 
      tf_esp = -1012848796, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:458
#6  0xc0281218 in acquire_lock (lk=0xc0398abc)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:266
#7  0xc02868fc in softdep_count_dependencies (bp=0xc3a12764, wantcount=0)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:4792
#8  0xc0289ca0 in ffs_fsync (ap=0xc037c134)
    at /usr/src/sys/ufs/ffs/ffs_vnops.c:168
#9  0xc0288787 in ffs_sync (mp=0xc11cec00, waitfor=2, cred=0xc0b31900, 
    p=0xc03ef8e0) at vnode_if.h:558
#10 0xc01bf1ef in sync (p=0xc03ef8e0, uap=0x0)
    at /usr/src/sys/kern/vfs_syscalls.c:569
#11 0xc018f47a in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:235
#12 0xc018fb1d in panic (fmt=0xc037026c "%s")
    at /usr/src/sys/kern/kern_shutdown.c:595
#13 0xc0308c77 in trap_fatal (frame=0xc037c24c, eva=112)
    at /usr/src/sys/i386/i386/trap.c:966
#14 0xc0308925 in trap_pfault (frame=0xc037c24c, usermode=0, eva=112)
    at /usr/src/sys/i386/i386/trap.c:859
#15 0xc03084cb in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 0, 
      tf_esi = -1055643136, tf_ebp = -1070087504, tf_isp = -1070087560, 
      tf_ebx = 0, tf_edx = 503, tf_ecx = -1055626432, tf_eax = 4194304, 
      tf_trapno = 12, tf_err = 0, tf_eip = -1072093408, tf_cs = 8, 
      tf_eflags = 66118, tf_esp = 496, tf_ss = -1055643092})
    at /usr/src/sys/i386/i386/trap.c:458
#16 0xc0192720 in tsleep (ident=0xc1142a00, priority=16, 
    wmesg=0xc032f726 "atacmd", timo=1000) at /usr/src/sys/kern/kern_synch.c:436
#17 0xc014b8fc in ata_command (atadev=0xc1142a2c, command=236 'ì', lba=0, 
    count=0, feature=0, flags=2) at /usr/src/sys/dev/ata/ata-all.c:1048
#18 0xc014a457 in ata_getparam (atadev=0xc1142a2c, command=236)
    at /usr/src/sys/dev/ata/ata-all.c:428
#19 0xc014b11e in ata_reinit (ch=0xc1142a00)
    at /usr/src/sys/dev/ata/ata-all.c:845
#20 0xc014a07d in ata_resume (dev=0xc1147480)
    at /usr/src/sys/dev/ata/ata-all.c:275
#21 0xc012afd2 in DEVICE_RESUME (dev=0xc1147480) at device_if.c:105
#22 0xc0198302 in bus_generic_resume (dev=0xc1147c80)
    at /usr/src/sys/kern/subr_bus.c:1936
#23 0xc012afd2 in DEVICE_RESUME (dev=0xc1147c80) at device_if.c:105
#24 0xc0198302 in bus_generic_resume (dev=0xc1144280)
    at /usr/src/sys/kern/subr_bus.c:1936
#25 0xc012afd2 in DEVICE_RESUME (dev=0xc1144280) at device_if.c:105
#26 0xc0198302 in bus_generic_resume (dev=0xc1144400)
    at /usr/src/sys/kern/subr_bus.c:1936
#27 0xc012afd2 in DEVICE_RESUME (dev=0xc1144400) at device_if.c:105
#28 0xc0198302 in bus_generic_resume (dev=0xc1144580)
    at /usr/src/sys/kern/subr_bus.c:1936
#29 0xc012afd2 in DEVICE_RESUME (dev=0xc1144580) at device_if.c:105
#30 0xc0198302 in bus_generic_resume (dev=0xc0b31880)
    at /usr/src/sys/kern/subr_bus.c:1936
#31 0xc012afd2 in DEVICE_RESUME (dev=0xc0b31880) at device_if.c:105
#32 0xc02f5af3 in apm_resume () at /usr/src/sys/i386/apm/apm.c:596
#33 0xc02f61ac in apm_processevent () at /usr/src/sys/i386/apm/apm.c:980
#34 0xc02f597e in apm_do_suspend () at /usr/src/sys/i386/apm/apm.c:481
#35 0xc02f5d35 in apm_timeout (dummy=0x0) at /usr/src/sys/i386/apm/apm.c:738
#36 0xc019557d in softclock () at /usr/src/sys/kern/kern_timeout.c:131

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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