Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Apr 2007 15:28:44 +0200
From:      per qu <per.qu@email.it>
To:        Mark Linimon <linimon@FreeBSD.org>, freebsd-bugs@FreeBSD.org
Subject:   Re: kern/88823: [modules] atapicam - kernel trap 12 on loading and unloading
Message-ID:  <46fd23caf51f1a9235bab3cc2a5432cc@79.2.213.237>

next in thread | raw e-mail | index | archive | help
> Synopsis: [modules] atapicam - kernel trap 12 on loading and unloading
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: linimon
> State-Changed-When: Thu Apr 19 06:26:45 UTC 2007
> State-Changed-Why: 
> Is this still a problem with recent versions of FreeBSD such as 6.2?
> 
> 
> Responsible-Changed-From-To: freebsd-bugs->linimon
> Responsible-Changed-By: linimon
> Responsible-Changed-When: Thu Apr 19 06:26:45 UTC 2007
> Responsible-Changed-Why: 
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=88823
> 

I'm running FreeBSD 6.2-STABLE and I can confirm that the problem still
exists.

This is what I've got after updating the sources and doing a buildworld
cycle last night.
I don't know if there is a way to go deeper in the trace or to get more
useful information, so if there is something that I can do, feel free to
ask!

# kgdb /usr/obj/usr/src/sys/REGULUS/kernel.debug /var/crash/vmcore.12
kgdb: kvm_nlist(_stopped_cpus): 
kgdb: kvm_nlist(_stoppcbs): 
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so:
Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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-marcel-freebsd".

Unread portion of the kernel message buffer:
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 
cd0 at ata0 bus 0 target 1 lun 0
cd0: <PIONEER DVD-ROM DVD-117 1.07> Removable CD-ROM SCSI-0 device 
cd0: 66.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
(cd0:ata0:0:1:0): lost device
atapicam0: detached
(cd1:dead_sim0:0:1:0): lost device
(cd1:dead_sim0:0:1:0): removing device entry
atapicam1: detached
atapicam2: detached
atapicam3: detached


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xc61db390
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc61db390
stack pointer           = 0x28:0xe62d1c44
frame pointer           = 0x28:0xe62d1c78
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         = 19 (swi6: task queue)
trap number             = 12
panic: page fault
Uptime: 6m18s
Dumping 1534 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 1535MB (392752 pages) 1519 1503 1487 1471 1455 1439 1423 1407
1391 1375 1359 1343 1327 1311 1295 1279 1263 1247 1231 1215 1199 1183 1167
1151 1135 1119 1103 1087 1071 1055 1039 1023 1007 991 975 959 943 927 911
895 879 863 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607
591 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303
287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:165
165     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:165
#1  0xc053489a in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc0534ba4 in panic (fmt=0xc0719028 "%s")
    at /usr/src/sys/kern/kern_shutdown.c:565
#3  0xc06f2285 in trap_fatal (frame=0xe62d1c04, eva=0)
    at /usr/src/sys/i386/i386/trap.c:837
#4  0xc06f1fa5 in trap_pfault (frame=0xe62d1c04, usermode=0, eva=3323835280)
    at /usr/src/sys/i386/i386/trap.c:745
#5  0xc06f1b8f in trap (frame=
      {tf_fs = -1052508152, tf_es = -966655960, tf_ds = 40, tf_edi =
-966645360, tf_esi = 0, tf_ebp = -433251208, tf_isp = -433251280, tf_ebx =
-976369664, tf_edx = -977300352, tf_ecx = 4, tf_eax = 2, tf_trapno = 12,
tf_err = 0, tf_eip = -971132016, tf_cs = 32, tf_eflags = 66182, tf_esp =
-1069102524, tf_ss = -966645360}) at /usr/src/sys/i386/i386/trap.c:435
#6  0xc06ddf2a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc61db390 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) thread apply all bt

Thread 63 (Thread 100082):
#0  sched_switch (td=0xc60cf780, newtd=0xc5b2c300, flags=2)
    at /usr/src/sys/kern/sched_4bsd.c:980
#1  0xc053c451 in mi_switch (flags=2, newtd=0x0)
    at /usr/src/sys/kern/kern_synch.c:420
#2  0xc0548fd2 in critical_exit () at kern_switch.c:642
#3  0xc06e799a in spinlock_exit () at /usr/src/sys/i386/i386/machdep.c:2357
#4  0xc055ab1a in turnstile_unpend (ts=0x0)
    at /usr/src/sys/kern/subr_turnstile.c:836
#5  0xc052a5c6 in _mtx_unlock_sleep (m=0xc0788160, opts=0, file=0x0, line=0)
    at /usr/src/sys/kern/kern_mutex.c:704
#6  0xc052409e in kern_kldunload (td=0xc651d700, fileid=0, flags=0)
    at /usr/src/sys/kern/kern_linker.c:864
#7  0xc05240f7 in kldunloadf (td=0x0, uap=0x0)
    at /usr/src/sys/kern/kern_linker.c:888
#8  0xc06f263b in syscall (frame=
      {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 7, tf_esi = -1077940702,
tf_ebp = -1077940968, tf_isp = -127890076, tf_ebx = 1, tf_edx = -1077940702,
tf_ecx = 1, tf_eax = 444, tf_trapno = 12, tf_err = 2, tf_eip = 671871479,
tf_cs = 51, tf_eflags = 582, tf_esp = -1077942100, tf_ss = 59})
    at /usr/src/sys/i386/i386/trap.c:983
#9  0xc06ddf7f in Xint0x80_syscall () at
/usr/src/sys/i386/i386/exception.s:200
#10 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
165     in pcpu.h

 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Problemi di Liquidità? Con Logos Finanziaria 30.000 € in 24 ore a
dipendenti e lavoratori autonomi con rimborsi fino a 120 mesi, clicca qui

 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2911&d=20070421





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