Skip site navigation (1)Skip section navigation (2)
From:      Daniel Lang <dl@leo.org>
To:        grog@FreeBSD.org
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/21148: multiple crashes while using vinum
Message-ID:  <20000910161811.A56954@atrbg11.informatik.tu-muenchen.de>
In-Reply-To: <200009100106.SAA58198@freefall.freebsd.org>; from grog@FreeBSD.org on Sun, Sep 10, 2000 at 03:08:11AM %2B0000
References:  <200009100106.SAA58198@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Dear Greg,

grog@FreeBSD.org wrote on Sun, Sep 10, 2000 at 03:08:11AM +0000:
[..]
> Submitter did not supply the required information.
[..]
> As you say, you have reported this to me before.  I've pointed you to
> the instructions at www.vinumvm.org, but you still haven't given me
> the information I need.  Instead you give me information like dmesg
> and config files, about which I say:
[ don't send ...]

True, I know that. I did not send this in my email to you,
on which I never got an answer.
This time I submitted a problem report, to freebsd-bugs
in general, as I am not sure, that it could be an ATA problem
as well. 
As far as I have looked at problem reports it is common, that
this information is included. 
Please be assured, I did not ignore your instructions to hassle
you.

You have mentioned, that you need a valid backtrace, and I did know
that too. If you look closely at the problem report you will see,
that I have mentioned:
[..]
> I'm pretty sure, that the modules and kernel are compiled
> with debugging symbols, that is, configured with -g (CONFIGARGS= -g), and
> makeoptions     DEBUG=-g in the kernel config.
>
> atleo4:/var/crash#file /modules/vinum.ko
> /modules/vinum.ko: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), not stripped
>
> atleo4:/var/crash#file kernel.1
> kernel.1: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped
[..]
> But I don't seem to get a proper analysis with your .gdbinit.* files,
> and gdb says: no debugging symbols found ???
> 
> Maybe there is something I missed, but what ???
[..]

I am very sorry, that I did not get, that make installkernel
removes the symbols (although it says its not stripped!!),
before installing the kernel, but leaves a kernel.debug
file as well. Same seems to apply to the modules.
I will try to get both in place before the next crash.
I don't know which would be the right way to make
sure that the module contains the debugging symbols
as well for sure.

Here are the backtraces of the last three crashes now,
however they don't contain "vinum debug" in the calling
frame, so they might not be of use either.

[..]
(kgdb) f 1
#1  0xc016ba74 in poweroff_wait (junk=0xc031a521, howto=0xc031a500) at /usr/src/sys/kern/kern_shutdown.c:552
552             boot(bootopt);

(kgdb) bt
#0  boot (howto=0x100) at /usr/src/sys/kern/kern_shutdown.c:302
#1  0xc016ba74 in poweroff_wait (junk=0xc031a521, howto=0xc031a500) at /usr/src/sys/kern/kern_shutdown.c:552
#2  0xc0270030 in ffs_valloc (pvp=0xd963dec0, mode=0x41fd, cred=0xc23f3080, vpp=0xd940ed04)
    at /usr/src/sys/ufs/ffs/ffs_alloc.c:609
#3  0xc02817ca in ufs_mkdir (ap=0xd940ee6c) at /usr/src/sys/ufs/ufs/ufs_vnops.c:1308
#4  0xc02827d5 in ufs_vnoperate (ap=0xd940ee6c) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2285
#5  0xc019c28a in mkdir (p=0xd93eb440, uap=0xd940ef80) at vnode_if.h:653
#6  0xc02d9f09 in syscall2 (frame={tf_fs = 0xc02c002f, tf_es = 0x2f, tf_ds = 0x2f, tf_edi = 0x8057419, 
      tf_esi = 0xffffffff, tf_ebp = 0xbfbffa24, tf_isp = 0xd940efd4, tf_ebx = 0x0, tf_edx = 0xffffffff, tf_ecx = 0x2, 
      tf_eax = 0x88, tf_trapno = 0x7, tf_err = 0x2, tf_eip = 0x280a73f0, tf_cs = 0x1f, tf_eflags = 0x297, 
      tf_esp = 0xbfbff918, tf_ss = 0x2f}) at /usr/src/sys/i386/i386/trap.c:1150
#7  0xc02c845b in Xint0x80_syscall ()
#8  0x804efc7 in ?? ()
#9  0x80494fd in ?? ()

2nd:
(kgdb) f 1
#1  0xc016ba74 in poweroff_wait (junk=0xc032b12f, howto=0x0) at /usr/src/sys/kern/kern_shutdown.c:552
552             boot(bootopt);
(kgdb) bt
#0  boot (howto=0x104) at /usr/src/sys/kern/kern_shutdown.c:302
#1  0xc016ba74 in poweroff_wait (junk=0xc032b12f, howto=0x0) at /usr/src/sys/kern/kern_shutdown.c:552
#2  0xc02d9bdf in trap_fatal (frame=0xff81bcc0, eva=0x30) at /usr/src/sys/i386/i386/trap.c:951
#3  0xc02d9875 in trap_pfault (frame=0xff81bcc0, usermode=0x0, eva=0x30) at /usr/src/sys/i386/i386/trap.c:844
#4  0xc02d940f in trap (frame={tf_fs = 0x68000018, tf_es = 0xff810010, tf_ds = 0x10, tf_edi = 0xd6c2c3c0, 
      tf_esi = 0x0, tf_ebp = 0xff81bd04, tf_isp = 0xff81bcec, tf_ebx = 0xc034ce3c, tf_edx = 0x68000240, tf_ecx = 0x8, 
      tf_eax = 0x0, tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xc027397d, tf_cs = 0x8, tf_eflags = 0x10202, 
      tf_esp = 0xc22e0800, tf_ss = 0xff81bd24}) at /usr/src/sys/i386/i386/trap.c:443
#5  0xc027397d in acquire_lock (lk=0xc034ce3c) at machine/globals.h:114
#6  0xc0277b52 in softdep_fsync_mountdev (vp=0xd6c2c3c0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:3788
#7  0xc027bc9a in ffs_fsync (ap=0xff81bd84) at /usr/src/sys/ufs/ffs/ffs_vnops.c:134
#8  0xc027a9c6 in ffs_sync (mp=0xc22e0800, waitfor=0x2, cred=0xc143c900, p=0xc038a420) at vnode_if.h:537
#9  0xc01993e7 in sync (p=0xc038a420, uap=0x0) at /usr/src/sys/kern/vfs_syscalls.c:544
#10 0xc016b48f in boot (howto=0x100) at /usr/src/sys/kern/kern_shutdown.c:224
#11 0xc016ba74 in poweroff_wait (junk=0xc032b12f, howto=0x0) at /usr/src/sys/kern/kern_shutdown.c:552
#12 0xc02d9bdf in trap_fatal (frame=0xff81bea8, eva=0xc32c9010) at /usr/src/sys/i386/i386/trap.c:951
#13 0xc02d9875 in trap_pfault (frame=0xff81bea8, usermode=0x0, eva=0xc32c9010) at /usr/src/sys/i386/i386/trap.c:844
#14 0xc02d940f in trap (frame={tf_fs = 0x18, tf_es = 0x10, tf_ds = 0xc2320010, tf_edi = 0xc2a24020, tf_esi = 0x0, 
      tf_ebp = 0xff81bef0, tf_isp = 0xff81bed4, tf_ebx = 0xc32c9010, tf_edx = 0x2000, tf_ecx = 0xc2318000, 
      tf_eax = 0x0, tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xc232a112, tf_cs = 0x8, tf_eflags = 0x10246, 
      tf_esp = 0xc2a24000, tf_ss = 0xc2a24000}) at /usr/src/sys/i386/i386/trap.c:443
During symbol reading, inner block (0xc231c000-0xc231c00a) not inside outer block (0xc2322c0c-0xc23233c2).
During symbol reading, block at 0xc231c0d4 out of order.
#15 0xc232a112 in unlockrange () at /usr/src/sys/modules/vinum/../../dev/vinum/vinumlock.c:284
#16 0xc2326bfc in complete_rqe () at /usr/src/sys/modules/vinum/../../dev/vinum/vinuminterrupt.c:199
#17 0xc019135f in biodone (bp=0xc2a24020) at /usr/src/sys/kern/vfs_bio.c:2637
#18 0xc02af068 in ad_interrupt (request=0xc25f1a80) at /usr/src/sys/dev/ata/ata-disk.c:581
#19 0xc02ab41e in ata_intr (data=0xc21cb780) at /usr/src/sys/dev/ata/ata-all.c:1117
#20 0xc02e205d in intr_mux (arg=0xc143a340) at /usr/src/sys/i386/isa/intr_machdep.c:582


Third (which happened last night):
(kgdb) f 1
#1  0xc016ba74 in poweroff_wait (junk=0xc032b12f, howto=0x0) at /usr/src/sys/kern/kern_shutdown.c:552
552             boot(bootopt);
(kgdb) bt
#0  boot (howto=0x104) at /usr/src/sys/kern/kern_shutdown.c:302
#1  0xc016ba74 in poweroff_wait (junk=0xc032b12f, howto=0x0) at /usr/src/sys/kern/kern_shutdown.c:552
#2  0xc02d9bdf in trap_fatal (frame=0xff81bd38, eva=0x30) at /usr/src/sys/i386/i386/trap.c:951
#3  0xc02d9875 in trap_pfault (frame=0xff81bd38, usermode=0x0, eva=0x30) at /usr/src/sys/i386/i386/trap.c:844
#4  0xc02d940f in trap (frame={tf_fs = 0x68000018, tf_es = 0xff810010, tf_ds = 0x10, tf_edi = 0xd6c2c3c0, 
      tf_esi = 0x0, tf_ebp = 0xff81bd7c, tf_isp = 0xff81bd64, tf_ebx = 0xc034ce3c, tf_edx = 0x68000240, tf_ecx = 0x8, 
      tf_eax = 0x0, tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xc027397d, tf_cs = 0x8, tf_eflags = 0x10202, 
      tf_esp = 0xc22e0800, tf_ss = 0xff81bd9c}) at /usr/src/sys/i386/i386/trap.c:443
#5  0xc027397d in acquire_lock (lk=0xc034ce3c) at machine/globals.h:114
#6  0xc0277b52 in softdep_fsync_mountdev (vp=0xd6c2c3c0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:3788
#7  0xc027bc9a in ffs_fsync (ap=0xff81bdfc) at /usr/src/sys/ufs/ffs/ffs_vnops.c:134
#8  0xc027a9c6 in ffs_sync (mp=0xc22e0800, waitfor=0x2, cred=0xc143c900, p=0xc038a420) at vnode_if.h:537
#9  0xc01993e7 in sync (p=0xc038a420, uap=0x0) at /usr/src/sys/kern/vfs_syscalls.c:544
#10 0xc016b48f in boot (howto=0x100) at /usr/src/sys/kern/kern_shutdown.c:224
#11 0xc016ba74 in poweroff_wait (junk=0xc032b12f, howto=0x0) at /usr/src/sys/kern/kern_shutdown.c:552
#12 0xc02d9bdf in trap_fatal (frame=0xff81bf20, eva=0x0) at /usr/src/sys/i386/i386/trap.c:951
#13 0xc02d9875 in trap_pfault (frame=0xff81bf20, usermode=0x0, eva=0x0) at /usr/src/sys/i386/i386/trap.c:844
#14 0xc02d940f in trap (frame={tf_fs = 0x68000018, tf_es = 0xc2850010, tf_ds = 0xc22c0010, tf_edi = 0xc22c0000, 
      tf_esi = 0xc3161800, tf_ebp = 0xff81bf74, tf_isp = 0xff81bf4c, tf_ebx = 0xc285dc20, tf_edx = 0x0, 
      tf_ecx = 0xc22c0020, tf_eax = 0x0, tf_trapno = 0xc, tf_err = 0x2, tf_eip = 0xc02aea58, tf_cs = 0x8, 
      tf_eflags = 0x10246, tf_esp = 0xc3161800, tf_ss = 0x34}) at /usr/src/sys/i386/i386/trap.c:443
#15 0xc02aea58 in ad_start (adp=0xc22c0000) at /usr/src/sys/sys/buf.h:414
#16 0xc02ab4a5 in ata_start (scp=0xc21cb780) at /usr/src/sys/dev/ata/ata-all.c:1175
#17 0xc02ab455 in ata_intr (data=0xc21cb780) at /usr/src/sys/dev/ata/ata-all.c:1152
#18 0xc02e205d in intr_mux (arg=0xc143a340) at /usr/src/sys/i386/isa/intr_machdep.c:582


Please accept my apologies for not producing the required
information in the first place. I hope this problem
may work out somehow.

Best regards,
 Daniel
-- 
IRCnet: Mr-Spock                  - Soon I will be free, then hungry. -  
*Daniel Lang * dl@leo.org * +49 89 289 25735 * http://www.leo.org/~dl/*


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




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