Date: Wed, 17 Mar 1999 14:21:07 +0200 From: Vallo Kallaste <vallo@matti.ee> To: Greg Lehey <grog@lemis.com> Cc: freebsd-current@freebsd.org Subject: Crash while newfs'ing innocent vinum volume on fresh system. Message-ID: <19990317142107.A78437@matti.ee>
next in thread | raw e-mail | index | archive | help
Hello ! Before of all I want to make sure that you understand the conditions=20 here: I have reinstalled fresh 3.1-RELEASE to the machine in question,=20 before swapped out two memory DIMM's to the single new 32MB one, just=20 to be sure it's not some kind of memory error. Installation went=20 fine, the developer type of installation with full sources but no=20 games, heh. Then I downloaded your newest archive for vinum installation:=20 vinum-4.0-CURRENT.tar.gz from ftp.nanyang-computer.com/pub/vinum/. =20 It's marked as March 14. Packed it off over the /usr/src and done=20 compilations in module section and control program section. I also=20 done make cleandir; make clean in the appropriate directories=20 several times just to be sure. Compilations went fine and the module=20 and control program are in the right places with right dates showing=20 these are newer ones. Copied the same kernel configuration file as usual to the right place=20 from backup. Made some minor changes to kernel configuration, removed=20 DMA support for ata disks, I don't trust the support very much yet. Made new debug kernel, copied to /var/crash, stripped the original=20 with -g and installed. Reboot. Machine goes up, multiuser mode. Right after reboot there are no=20 modules in loaded. Executed "vinum create stripe.conf", ok. Executed=20 vinum init, vinum debug 96, vinum saveconfig, vinum printconfig=20 blabla. All is ok yet. Newfs -n1 -d0 -v /dev/vinum/rsvol .... two lines newfs output and=20 crash: Script started on Wed Mar 17 13:24:45 1999 sh-2.02# gdb -k ker=07nel.gdb vmcore.0=20 GDB is free software and you are welcome to 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. GDB 4.16 (i386-unknown-freebsd),=20 Copyright 1996 Free Software Foundation, Inc... IdlePTD 2760704 initial pcb at 23af94 panicstr: from debugger panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0xdeadc0e6 fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xf0a4bc34 stack pointer =3D 0x10:0xf3db8da8 frame pointer =3D 0x10:0xf3db8db8 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 259 (newfs) interrupt mask =3D=20 panic: from debugger panic: from debugger dumping to dev 20001, offset 65536 dump 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 = 7 6 5 4 3 2 1=20 --- #0 boot (howto=3D260) at ../../kern/kern_shutdown.c:285 285 dumppcb.pcb_cr3 =3D rcr3(); (kgdb) add-symbol-file /modules/vinum.ko 0x00005ba8+ A syntax error in expression, near `'. (kgdb) add-symbol-file /modules/vinum.ko 0x00005ba8 add symbol table from file "/modules/vinum.ko" at text_addr =3D 0x5ba8? (y or n) y (kgdb) bt #0 boot (howto=3D260) at ../../kern/kern_shutdown.c:285 #1 0xf01324b5 in panic (fmt=3D0xf020e0cc "from debugger") at ../../kern/kern_shutdown.c:446 #2 0xf01188fd in db_panic (addr=3D-257639372, have_addr=3D0, count=3D-1,= =20 modif=3D0xf3db8c2c "") at ../../ddb/db_command.c:432 #3 0xf011889d in db_command (last_cmdp=3D0xf0227e7c, cmd_table=3D0xf0227cd= c,=20 aux_cmd_tablep=3D0xf0238c80) at ../../ddb/db_command.c:332 #4 0xf0118962 in db_command_loop () at ../../ddb/db_command.c:454 #5 0xf011acb3 in db_trap (type=3D12, code=3D0) at ../../ddb/db_trap.c:71 #6 0xf01e1056 in kdb_trap (type=3D12, code=3D0, regs=3D0xf3db8d6c) at ../../i386/i386/db_interface.c:157 #7 0xf01eb47c in trap_fatal (frame=3D0xf3db8d6c, eva=3D3735929062) at ../../i386/i386/trap.c:937 #8 0xf01eb15b in trap_pfault (frame=3D0xf3db8d6c, usermode=3D0, eva=3D3735= 929062) at ../../i386/i386/trap.c:835 #9 0xf01eadba in trap (frame=3D{tf_es =3D -203751408, tf_ds =3D -203751408= ,=20 tf_edi =3D -559038242, tf_esi =3D -2147483648, tf_ebp =3D -203715144,= =20 tf_isp =3D -203715180, tf_ebx =3D -258066920, tf_edx =3D 16384, tf_ec= x =3D 14,=20 tf_eax =3D -16162, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -257639= 372,=20 tf_cs =3D 8, tf_eflags =3D 66182, tf_esp =3D -257699840, tf_ss =3D -2= 45981592}) at ../../i386/i386/trap.c:437 #10 0xf0a4bc34 in ?? () #11 0xf0a4bae1 in ?? () #12 0xf0a4b8b6 in ?? () ---Type <return> to continue, or q <return> to quit--- #13 0xf012ffec in physio (strategy=3D0xf0a4b808 <swbuf+8322816>, bp=3D0x0,= =20 dev=3D23296, rw=3D0, minp=3D0xf01300dc <minphys>, uio=3D0xf3db8f34) at ../../kern/kern_physio.c:113 #14 0xf0a4c97c in ?? () #15 0xf0162f2f in spec_write (ap=3D0xf3db8ef8) at ../../miscfs/specfs/spec_vnops.c:355 #16 0xf01c3b18 in ufsspec_write (ap=3D0xf3db8ef8) at ../../ufs/ufs/ufs_vnops.c:1840 #17 0xf01c408d in ufs_vnoperatespec (ap=3D0xf3db8ef8) at ../../ufs/ufs/ufs_vnops.c:2312 #18 0xf015d3b7 in vn_write (fp=3D0xf0a3ca80, uio=3D0xf3db8f34, cred=3D0xf0a= 39f80) at vnode_if.h:331 #19 0xf013cf46 in write (p=3D0xf3d71b20, uap=3D0xf3db8f84) at ../../kern/sys_generic.c:270 #20 0xf01eb68b in syscall (frame=3D{tf_es =3D 39, tf_ds =3D 39, tf_edi =3D = 134669408,=20 tf_esi =3D 8192, tf_ebp =3D -272641880, tf_isp =3D -203714604, tf_ebx= =3D 64,=20 tf_edx =3D 0, tf_ecx =3D 32768, tf_eax =3D 4, tf_trapno =3D 12, tf_er= r =3D 2,=20 tf_eip =3D 134539244, tf_cs =3D 31, tf_eflags =3D 582, tf_esp =3D -27= 2641916,=20 tf_ss =3D 39}) at ../../i386/i386/trap.c:1100 #21 0xf01e19ac in Xint0x80_syscall () #22 0x804b80d in ?? () #23 0x804b245 in ?? () #24 0x80490bc in ?? () #25 0x80480e9 in ?? () (kgdb) f 1 #1 0xf01324b5 in panic (fmt=3D0xf020e0cc "from debugger") at ../../kern/kern_shutdown.c:446 446 boot(bootopt); (kgdb) quit sh-2.02# exit Script done on Wed Mar 17 13:25:52 1999 kernel configuration: # Vokk machine "i386" ident Vokk maxusers 80 options PQ_NOOPT # color for 512k/16k cache config kernel root on wd0 cpu "I686_CPU" # aka Pentium Pro(tm) options "NO_F00F_HACK" options "COMPAT_43" options SYSVSHM options SYSVSEM options SYSVMSG options "MD5" options "VM86" options DDB options INVARIANTS options INVARIANT_SUPPORT options UCONSOLE options INET #Internet communications protocols pseudo-device ether #Generic Ethernet pseudo-device loop #Network loopback device pseudo-device bpfilter 4 #Berkeley packet filter options "ICMP_BANDLIM" options FFS #Fast filesystem options NFS #Network File System options "CD9660" #ISO 9660 filesystem options MSDOSFS #MS DOS File System options PROCFS #Process filesystem options FFS_ROOT #FFS usable as root device #options SOFTUPDATES options "P1003_1B" options "_KPOSIX_PRIORITY_SCHEDULING" options "_KPOSIX_VERSION=3D199309L" pseudo-device pty 32 #Pseudo ttys - can go as high as 256 pseudo-device vn 2 #Vnode driver (turns a file into a device) pseudo-device snp 3 #Snoop device - to look at pty/vty/etc.. options "MSGBUF_SIZE=3D40960" controller isa0 controller pnp0 device atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device psm0 at isa? tty irq 12 device vga0 at isa? port ? conflicts pseudo-device splash device sc0 at isa? tty options MAXCONS=3D8 # number of virtual consoles options SC_HISTORY_SIZE=3D600 # number of history buffer lines options VESA # needs VM86 defined too!! device npx0 at isa? port IO_NPX iosiz 0x0 flags 0x0 irq 13 controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0x80ff80ff disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 controller wdc1 at isa? port "IO_WD2" bio irq 15 flags 0x80ff80ff disk wd2 at wdc1 drive 0 disk wd3 at wdc1 drive 1 options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM options IDE_DELAY=3D2000 # Be optimistic about Joe IDE device device acd0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 device sio0 at isa? port "IO_COM1" tty flags 0x10 irq 4 device sio1 at isa? port "IO_COM2" tty irq 3 device pcm0 at isa? port ? tty irq ? drq ? controller pci0 device fxp0 controller ppbus0 device nlpt0 at ppbus? device plip0 at ppbus? device ppi0 at ppbus? controller ppc0 at isa? port ? tty irq 7 options CLK_CALIBRATION_LOOP options "CLK_USE_I8254_CALIBRATION" options CLK_USE_TSC_CALIBRATION #options COMPAT_LINUX options PANIC_REBOOT_WAIT_TIME=3D30 Stripe configuration: # mingi konf vinumile # Kettad drive drive1 device /dev/wd1s1e drive drive2 device /dev/wd2s1e # Volume u"he stripitud plexiga volume svol plex org striped 256b sd length 2380m drive drive1 sd length 2380m drive drive2 mount information: /dev/wd0s1a on / (local, writes: sync 14 async 82) /dev/wd0s1f on /usr (local, writes: sync 2 async 63) /dev/wd0s1e on /var (local, writes: sync 93 async 215) procfs on /proc (local) swap information: Device 1K-blocks Used Avail Capacity Type /dev/wd0s1b 65536 0 65408 0% Interleaved /dev/wd1s1b 65536 0 65408 0% Interleaved /dev/wd2s1b 65536 0 65408 0% Interleaved Total 196224 0 196224 0% disklabels: # /dev/rwd0c: type: ESDI disk: wd0s1 label:=20 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 6255 sectors/unit: 6305985 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0=20 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 262144 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 260*) b: 131072 262144 swap # (Cyl. 260*- 390*) c: 6305985 0 unused 0 0 # (Cyl. 0 - 6255*) e: 262144 393216 4.2BSD 1024 8192 16 # (Cyl. 390*- 650*) f: 5650625 655360 4.2BSD 1024 8192 16 # (Cyl. 650*- 6255*) # /dev/rwd1c: type: ESDI disk: wd1s1 label:=20 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 15 sectors/cylinder: 945 cylinders: 5299 sectors/unit: 5008437 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0=20 8 partitions: # size offset fstype [fsize bsize bps/cpg] b: 131072 0 swap # (Cyl. 0 - 138*) c: 5008437 0 unused 0 0 # (Cyl. 0 - 5299*) e: 4877365 131072 unused 0 0 # (Cyl. 138*- 5299*) # /dev/rwd2c: type: ESDI disk: wd2s1 label:=20 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 15 sectors/cylinder: 945 cylinders: 5299 sectors/unit: 5008437 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0=20 8 partitions: # size offset fstype [fsize bsize bps/cpg] b: 131072 0 swap # (Cyl. 0 - 138*) c: 5008437 0 unused 0 0 # (Cyl. 0 - 5299*) e: 4877365 131072 unused 0 0 # (Cyl. 138*- 5299*) Your access to the machine in question is alive when you need it. I=20 don't have any clue what's going on, the machine crashes left and=20 right with vinum under quite light load. Without it I'm able to do=20 buildworld -j8 without any trouble. Thanks for your ongoing work --=20 Vallo Kallaste vallo@matti.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990317142107.A78437>