From owner-freebsd-current Thu May 18 7:13:59 2000 Delivered-To: freebsd-current@freebsd.org Received: from freesbee.wheel.dk (freesbee.wheel.dk [193.162.159.97]) by hub.freebsd.org (Postfix) with ESMTP id 6FB2437BED7 for ; Thu, 18 May 2000 07:13:51 -0700 (PDT) (envelope-from ncbp@bank-pedersen.dk) Received: by freesbee.wheel.dk (Postfix, from userid 1002) id 7C2943E43; Thu, 18 May 2000 16:13:43 +0200 (CEST) Date: Thu, 18 May 2000 16:13:43 +0200 From: "Niels Chr. Bank-Pedersen" To: freebsd-current@freebsd.org Subject: panic: ffs_valloc: dup alloc Message-ID: <20000518161343.G26090@bank-pedersen.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, On a -current box, sources approx. 2½ days old, I'm having problems using a vinum raid5 volume - usually the box freezes totally when trying to use the filesystem (mkdir xxx; cd xxx -> crash), but last time it dropped to the debugger: mode = 040755, inum = 25344, fs = /raid5 panic: ffs_valloc: dup alloc Debugger("panic") Stopped at Debugger+0x35: movb $0,in_Debugger.390 db> trace Debugger(c0245ca3) at Debugger+0x35 panic(c0252541,c0252520,41ed,6300,c109e0d4) at panic+0x70 ffs_valloc(c9e7e300,41ed,c1171400,c9e69d08,c9e69e70) at ffs_valloc+0xf8 ufs_mkdir(c9e69e70,c9e69f2c,c018d272,c9e69e70,c9e2c8e0) at ufs_mkdir+0x82 ufs_vnoperate(c9e69e70,c9e2c8e0,2,c9e69f80,c02651e0) at ufs_vnoperate+0x15 mkdir(c9e2c8e0,c9e69f80,bfbffc1c,1,1ff) at mkdir+0x162 syscall2(2f,2f,2f,1ff,1) at syscall2+0x1f1 Xint0x80_syscall() at Xint0x80_syscall+0x28 db> I had one crash on my first attempt initialising the volume, but was able to newfs without any problems after initializing succeeded on the second attempt. Anybody able to see what could be happening here? (dmesg below, and dump/kernel.debug available) /Niels Chr. Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #0: Wed May 17 03:59:29 CEST 2000 root@home.bank-pedersen.dk:/usr/src/sys/compile/MAIL Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 166194046 Hz CPU: Pentium/P54C (166.19-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf real memory = 134217728 (131072K bytes) avail memory = 127438848 (124452K bytes) Preloaded elf kernel "kernel" at 0xc02e9000. npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 pci0: at 7.1 pcib1: at device 9.0 on pci0 pci1: on pcib1 ahc0: port 0xd800-0xd8ff mem 0xf9000000-0xf9000fff irq 9 at device 4.0 on pci1 ahc0: aic7870 Wide Channel A, SCSI Id=7, 16/255 SCBs ahc1: port 0xd400-0xd4ff mem 0xfb000000-0xfb1fffff,0xf8800000-0xf8800fff irq 11 at device 5.0 on pci1 RAID functionality unsupported device_probe_and_attach: ahc1 attach returned 6 ahc2: port 0xd000-0xd0ff mem 0xf8000000-0xf8000fff irq 9 at device 8.0 on pci1 ahc2: aic7870 Wide Channel B, SCSI Id=7, 16/255 SCBs ahc3: port 0xc800-0xc8ff mem 0xf7800000-0xf7800fff irq 9 at device 12.0 on pci1 ahc3: aic7870 Wide Channel C, SCSI Id=7, 16/255 SCBs pci0: at 10.0 irq 12 ahc4: port 0xb800-0xb8ff mem 0xf6800000-0xf6800fff irq 10 at device 11.0 on pci0 ahc4: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xb400-0xb43f irq 11 at device 12.0 on pci0 xl0: Ethernet address: 00:10:4b:3d:d2:79 miibus0: on xl0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x0> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: This ppc chipset does not support the extended I/O port range...no problem ppc0: at port 0x378-0x37b irq 7 drq 1 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/15 bytes threshold lpt0: on ppbus0 lpt0: Interrupt-driven port unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown0: at iomem 0-0x9ffff,0x100000-0x7ffffff,0xe8000-0xfffff,0xfffe0000-0xffffffff on isa0 unknown: can't assign resources unknown1: at port 0x40-0x43 irq 0 on isa0 unknown2: at port 0x70-0x71 irq 8 on isa0 unknown: can't assign resources npxisa0: at port 0xf0 irq 13 on isa0 unknown3: at port 0-0xf,0x80-0x90,0x94-0x9f,0xc0-0xde drq 4 on isa0 unknown4: at port 0x61 on isa0 unknown5: at port 0xcf8-0xcff,0x4d0-0x4d1 on isa0 Waiting 5 seconds for SCSI devices to settle ahc4:A:6: refuses synchronous negotiation. Using asynchronous transfers ahc4:A:6: refuses synchronous negotiation. Using asynchronous transfers sa0 at ahc4 bus 0 target 6 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 3.300MB/s transfers da7 at ahc4 bus 0 target 4 lun 0 da7: Fixed Direct Access SCSI-2 device da7: 10.000MB/s transfers (10.000MHz, offset 15) da7: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C) da6 at ahc4 bus 0 target 3 lun 0 da6: Fixed Direct Access SCSI-2 device da6: 10.000MB/s transfers (10.000MHz, offset 15) da6: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C) da5 at ahc4 bus 0 target 2 lun 0 da5: Fixed Direct Access SCSI-2 device da5: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da5: 4303MB (8813870 512 byte sectors: 255H 63S/T 548C) da4 at ahc0 bus 0 target 5 lun 0 da4: Fixed Direct Access SCSI-2 device da4: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled da4: 17274MB (35378533 512 byte sectors: 255H 63S/T 2202C) da2 at ahc0 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI-2 device da2: 20.000MB/s transfers (10.000MHz, offset 8, 16bit) da2: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C) da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C) da3 at ahc0 bus 0 target 3 lun 0 da3: Fixed Direct Access SCSI-2 device da3: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da3: 4303MB (8813870 512 byte sectors: 255H 63S/T 548C) da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da1: 4303MB (8813870 512 byte sectors: 255H 63S/T 548C) -- Niels Christian Bank-Pedersen, NCB1-RIPE. Network Manager, Tele Danmark NET, IP-section. "Hey, are any of you guys out there actually *using* RFC 2549?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message