vinum crashing with latest current

From: Daryl Chance (chancedj_at_yahoo.com)
Date: 06/22/04

  • Next message: Grover Lines: "Re: current build broken in another spot"
    Date: Mon, 21 Jun 2004 20:53:16 -0700 (PDT)
    To: current@freebsd.org
    
    

    I haven't been able to run a vinum volume for a few
    weeks and with the latest geom_vinum checkin, I was
    hoping that would fix my problems. but I get
    something else with that (it refuses to start p1 so
    that it can start rebuilding and I get a crash on
    mount...but thats a different email :)).

    I type the following commands once the system comes
    up:

    vinum
    (while @ the prompt)start

    and it crashes.

    I'm got the following from the crash:

    Fatal trap 12: page fault while in kernel mode
    cpuid = 0; apic id = 00
    fault virtual address = 0x88
    fault code = supervisor read, page not
    present
    instruction pointer = 0x8:0xc05bdc50
    stack pointer = 0x10:0xd11659b4
    frame pointer = 0x10:0xd11659cc
    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 = 573 (vinum)
    kernel: type 12 trap, code=0
    panic: from debugger
    cpuid = 0;

    Fatal trap 3: breakpoint instruction fault while in
    kernel mode
    cpuid = 0; apic id = 00
    instruction pointer = 0x8:0xc075360e
    stack pointer = 0x10:0xd1165798
    frame pointer = 0x10:0xd116579c
    code segment = base 0x0, limit 0xfffff,
    type 0x1b
                            = DPL 0, pres 1, def32 1, gran
    1
    processor eflags = IOPL = 0
    current process = 573 (vinum)
    panic: from debugger
    cpuid = 0;
    Uptime: 1m16s
    Dumping 255 MB
     16 32 48 64 80 96 112 128 144 160 176 192 208 224 240

    ---
    Reading symbols from /boot/kernel/acpi.ko...(no
    debugging symbols found)...done.
    Loaded symbols for /boot/kernel/acpi.ko
    Reading symbols from
    /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/vinum/vinum.ko.debug...done.
    Loaded symbols for
    /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/vinum/vinum.ko.debug
    #0  0xc05ec8dc in doadump ()
    (kgdb) bt
    #0  0xc05ec8dc in doadump ()
    #1  0xc05ece5c in boot ()
    #2  0xc05ed187 in panic ()
    #3  0xc045dcf5 in db_panic ()
    #4  0xc045dc8c in db_command ()
    #5  0xc045dd64 in db_command_loop ()
    #6  0xc04604e9 in db_trap ()
    #7  0xc0753351 in kdb_trap ()
    #8  0xc07663d3 in trap_fatal ()
    #9  0xc0766117 in trap_pfault ()
    #10 0xc0765d79 in trap ()
    #11 0xc05bdc50 in g_dev_open ()
    #12 0xc1940aeb in open_drive (drive=0xc173c000,
    td=0xc18ff160, verbose=0) at
    /usr/src/sys/dev/vinum/vinumio.c:71
    #13 0xc1940d38 in init_drive (drive=0xc173c000,
    verbose=0) at pcpu.h:156
    #14 0xc1941220 in read_drive_label (drive=0xc173c000,
    verbose=0) at /usr/src/sys/dev/vinum/vinumio.c:301
    #15 0xc1941370 in check_drive (devicename=0xc173a800
    "/dev/ad6s1d") at /usr/src/sys/dev/vinum/vinumio.c:351
    #16 0xc1941c8c in vinum_scandisk
    (devicename=0xc15f9eb0 "ad6 ad4 ad0") at
    /usr/src/sys/dev/vinum/vinumio.c:742
    #17 0xc19427f0 in vinum_super_ioctl (dev=0xc17bdd00,
    cmd=0, data=0xc173b000 "") at
    /usr/src/sys/dev/vinum/vinumioctl.c:311
    #18 0xc19421b6 in vinumioctl (dev=0xc17bdd00,
    cmd=3288352331, data=0xc173b000 "", flag=3,
    td=0xc18ff160) at
    /usr/src/sys/dev/vinum/vinumioctl.c:82
    #19 0xc05bc522 in spec_ioctl ()
    #20 0xc05bbca7 in spec_vnoperate ()
    #21 0xc06437c7 in vn_ioctl ()
    #22 0xc060d878 in ioctl ()
    #23 0xc07666a3 in syscall ()
    #24 0x281439bb in ?? ()
    ---Can't read userspace from dump, or kernel
    process---
    (kgdb) frame 12
    #12 0xc1940aeb in open_drive (drive=0xc173c000,
    td=0xc18ff160, verbose=0) at
    /usr/src/sys/dev/vinum/vinumio.c:71
    71              drive->lasterror = (dsw->d_open)
    (drive->dev, FWRITE | FREAD, 0, NULL);
    (kgdb) list
    66              drive->lasterror = ENOENT;
    67          else if ((dsw->d_flags & D_DISK) == 0)
    68              drive->lasterror = ENOTBLK;
    69          else {
    70              DROP_GIANT();
    71              drive->lasterror = (dsw->d_open)
    (drive->dev, FWRITE | FREAD, 0, NULL);
    72              PICKUP_GIANT();
    73          }
    74
    75          if (drive->lasterror != 0) {              
                 /* failed */
    (kgdb)
    for the record, when geom_vinum brings up and reads
    the volumes (there are 2 plex's) it comes up and has
    the following:
    mp3.p0 is up
    mp3.p1 is down
    Let me know if there is anything else I can do to help
    you debug this problem.  I will make another post with
    my geom_vinum problems :)
    	
    		
    __________________________________
    Do you Yahoo!?
    New and Improved Yahoo! Mail - 100MB free storage!
    http://promotions.yahoo.com/new_mail 
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Grover Lines: "Re: current build broken in another spot"

    Relevant Pages