kern/58752: vinum panics on create/resetconfig

dirk.meyer at dinoex.sub.org dirk.meyer at dinoex.sub.org
Thu Oct 30 22:50:25 PST 2003


>Number:         58752
>Category:       kern
>Synopsis:       vinum panics on create/resetconfig
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 30 22:50:21 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 5.1-p10 i386
>Organization:
privat
>Environment:

FreeBSD wug.dinoex.de 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Wed Oct 29 19:22:22 CET 2003     root at wug.dinoex.de:/usr/obj/usr/src/sys/GENERIC  i386

>Description:

$ vinum create -f vinum.conf
  22: sd name backup2.p0.s0 drive drive0f plex backup2.p0 len 40G
** 22 No space for  on drive0f: No space left on device
1 drives:
D drive0f               State: up       /dev/ad0s1f     A: 75147/69203 MB (108%)

6 volumes:
V tmp2                  State: up       Plexes:       1 Size:        200 MB
V var2                  State: up       Plexes:       1 Size:       3072 MB
V spool2                State: up       Plexes:       1 Size:       1024 MB
V news2                 State: up       Plexes:       1 Size:         10 GB
V backup2               State: up       Plexes:       1 Size:          0  B
V data2                 State: up       Plexes:       1 Size:         20 GB

6 plexes:
P tmp2.p0             C State: up       Subdisks:     1 Size:        200 MB
P var2.p0             C State: up       Subdisks:     1 Size:       3072 MB
P spool2.p0           C State: up       Subdisks:     1 Size:       1024 MB
P news2.p0            C State: up       Subdisks:     1 Size:         10 GB
P backup2.p0          C State: up       Subdisks:     0 Size:          0  B
P data2.p0            C State: up       Subdisks:     1 Size:         20 GB

4 subdisks:
S tmp2.p0.s0            State: up       D: drive0f      Size:        200 MB
S var2.p0.s0            State: up       D: drive0f      Size:       3072 MB
S spool2.p0.s0          State: up       D: drive0f      Size:       1024 MB
S news2.p0.s0           State: up       D: drive0f      Size:         10 GB
S data2.p0.s0           State: up       D: drive0f      Size:         20 GB

On each error, the number of subdisk is decremented.

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x73667a
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc031c0c1
stack pointer           = 0x10:0xe077ca70
frame pointer           = 0x10:0xe077ca84
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         = 609 (vinum)
trap number             = 12
panic: page fault

#0  0xc03035eb in doadump ()
#1  0xc0303b1a in boot ()
#2  0xc0303dd3 in panic ()
#3  0xc048318e in trap_fatal ()
#4  0xc0482ea2 in trap_pfault ()
#5  0xc0482abd in trap ()
#6  0xc0473988 in calltrap ()
#7  0xc4167e31 in free_vinum () from /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/vinum/vinum.ko
#8  0xc416f586 in vinum_super_ioctl () from /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/vinum/vinum.ko
#9  0xc416ee96 in vinumioctl () from /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/vinum/vinum.ko
#10 0xc02cea7c in spec_ioctl ()
#11 0xc02ce358 in spec_vnoperate ()
#12 0xc035f001 in vn_ioctl ()
#13 0xc03251b8 in ioctl ()
#14 0xc048344e in syscall ()
#15 0xc04739dd in Xint0x80_syscall ()

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x73667a
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc031c0c1
stack pointer           = 0x10:0xdf5b0a70
frame pointer           = 0x10:0xdf5b0a84
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         = 643 (vinum)
trap number             = 12
panic: page fault

(kgdb) bt
#0  0xc03035eb in doadump ()
#1  0xc0303b1a in boot ()
#2  0xc0303dd3 in panic ()
#3  0xc048318e in trap_fatal ()
#4  0xc0482ea2 in trap_pfault ()
#5  0xc0482abd in trap ()
#6  0xc0473988 in calltrap ()
#7  0xc4167e31 in free_vinum () from /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/vinum/vinum.ko
#8  0xc416f586 in vinum_super_ioctl () from /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/vinum/vinum.ko
#9  0xc416ee96 in vinumioctl () from /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/vinum/vinum.ko
#10 0xc02cea7c in spec_ioctl ()
#11 0xc02ce358 in spec_vnoperate ()
#12 0xc035f001 in vn_ioctl ()
#13 0xc03251b8 in ioctl ()
#14 0xc048344e in syscall ()
#15 0xc04739dd in Xint0x80_syscall ()
---Can't read userspace from dump, or kernel process---

>How-To-Repeat:

$ vinum create -f vinum.conf
$ vinum create -f vinum.conf
$ vinum resetconfig

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list