Re: Vinum Spielereien

From: Lukas Ertl <l.ertl(at)univie.ac.at>
Date: Tue, 3 Feb 2004 14:25:31 +0100 (CET)

On Sat, 31 Jan 2004, Greg 'groggy' Lehey wrote:

> On Friday, 30 January 2004 at 23:14:37 +0100, Oliver Lehmann wrote:
> >
> > (da4:sym0:0:3:0): lost device
> > (da4:sym0:0:3:0): Invalidating pack
> > vinum: lvmr5.p0.s3 is crashed by force
> > vinum: lvmr5.p0 is degraded
> > malloc() of "16" with the following non-sleepable locks held:
>
> Hmm. Das müssen wir beseitigen, ist hier aber nicht das Problem.

JFTR:

das hier gibt zumindest mit einem WITNESS-Kernel eine schöne Panic:

GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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-undermydesk-freebsd"...
panic messages:

---
---
Reading symbols from /usr/obj/usr/src/sys/RAIDTEST/modules/usr/src/sys/modules/linux/linux.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/RAIDTEST/modules/usr/src/sys/modules/linux/linux.ko.debug
Reading symbols from /usr/obj/usr/src/sys/RAIDTEST/modules/usr/src/sys/modules/vinum/vinum.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/RAIDTEST/modules/usr/src/sys/modules/vinum/vinum.ko.debug
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240		dumping++;
(kgdb) where
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc0446aae in db_fncall (dummy1=0, dummy2=0, dummy3=-1066589068,
    dummy4=0xe1a3b9b8 "") at /usr/src/sys/ddb/db_command.c:548
#2  0xc04468b4 in db_command (last_cmdp=0xc068b2c0, cmd_table=0x0,
    aux_cmd_tablep=0xc065836c, aux_cmd_tablep_end=0xc0658370)
    at /usr/src/sys/ddb/db_command.c:346
#3  0xc0446994 in db_command_loop () at /usr/src/sys/ddb/db_command.c:472
#4  0xc044905d in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_trap.c:73
#5  0xc05f3329 in kdb_trap (type=3, code=0, regs=0xe1a3bae4)
    at /usr/src/sys/i386/i386/db_interface.c:171
#6  0xc06040f0 in trap (frame=
      {tf_fs = -509411304, tf_es = 16, tf_ds = 16, tf_edi = -1066646764, tf_esi = 0, tf_ebp = -509363416, tf_isp = -509363440, tf_ebx = 0, tf_edx = 0, tf_ecx = -1061076992, tf_eax = 25, tf_trapno = 3, tf_err = 0, tf_eip = -1067502098, tf_cs = 8, tf_eflags = 662, tf_esp = -1, tf_ss = -509363388})
    at /usr/src/sys/i386/i386/trap.c:579
#7  0xc05f35ee in Debugger (msg=0xc0621270 "witness_warn")
    at machine/cpufunc.h:65
#8  0xc04f7a21 in witness_warn (flags=5, lock=0x0,
    fmt=0xc064eb56 "malloc() of \"%s\"")
    at /usr/src/sys/kern/subr_witness.c:1151
#9  0xc05d57b2 in uma_zalloc_arg (zone=0xc0c38540, udata=0x0, flags=2)
    at /usr/src/sys/vm/uma_core.c:1387
#10 0xc04d0732 in malloc (size=0, type=0xc066ab40, flags=2)
    at /usr/src/sys/vm/uma.h:234
#11 0xc67d4a3e in MMalloc (size=16,
    file=0xc67da139 "/usr/src/sys/dev/vinum/vinumdaemon.c", line=226)
    at machine/pcpu.h:156
#12 0xc67d08c4 in queue_daemon_request (type=daemonrq_none, info=
      {rq = 0x0, sd = 0x0, plex = 0x0, drive = 0x0, nothing = 0})
    at /usr/src/sys/dev/vinum/vinumdaemon.c:226
#13 0xc67d2684 in save_config () at /usr/src/sys/dev/vinum/vinumio.c:532
#14 0xc67d82de in set_sd_state (sdno=0, newstate=sd_crashed,
    flags=setstate_force) at /usr/src/sys/dev/vinum/vinumstate.c:300
#15 0xc67d0a9a in complete_rqe (bp=0xc6280a08)
---Type <return> to continue, or q <return> to quit---
    at /usr/src/sys/dev/vinum/vinuminterrupt.c:102
#16 0xc05155e9 in bufdone (bp=0xc6280a08) at /usr/src/sys/kern/vfs_bio.c:3129
#17 0xc05154a4 in bufdonebio (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:3065
#18 0xc051534b in biodone (bp=0xc6280a08) at /usr/src/sys/kern/vfs_bio.c:2989
#19 0xc04ae36f in g_dev_done (bp2=0xc67204c8)
    at /usr/src/sys/geom/geom_dev.c:359
#20 0xc051534b in biodone (bp=0xc67204c8) at /usr/src/sys/kern/vfs_bio.c:2989
#21 0xc04b0055 in g_io_schedule_up (tp=0xc61ee150)
    at /usr/src/sys/geom/geom_io.c:402
#22 0xc04b01f2 in g_up_procbody () at /usr/src/sys/geom/geom_kern.c:92
#23 0xc04c931f in fork_exit (callout=0xc04b01d8 <g_up_procbody>, arg=0x0,
    frame=0xe1a3bd48) at /usr/src/sys/kern/kern_fork.c:799
lg,
le
-- 
Lukas Ertl                             eMail: l.ertl(at)univie.ac.at
UNIX Systemadministrator               Tel.:  (+43 1) 4277-14073
Vienna University Computer Center      Fax.:  (+43 1) 4277-9140
University of Vienna                   http://mailbox.univie.ac.at/~le/
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 03 Feb 2004 - 14:31:15 CET

search this site