From owner-freebsd-questions@FreeBSD.ORG Sun Jul 30 13:18:45 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2D2016A4DD for ; Sun, 30 Jul 2006 13:18:45 +0000 (UTC) (envelope-from brenthostetler@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id E090243D45 for ; Sun, 30 Jul 2006 13:18:44 +0000 (GMT) (envelope-from brenthostetler@gmail.com) Received: by py-out-1112.google.com with SMTP id b36so264876pyb for ; Sun, 30 Jul 2006 06:18:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HL8aIRwU1Voew4XadaUAR/f1OXjQ6rhQSQWONL/31ILA75Ts6AVTU1SLPAjSPYkRlK5HGCK8yYVmP5acS3s25H/6C7p8fzQgqQq8jOxMtBI7Y6PUnoXaxPPBaOeCjNgIuPRDwfom9lp0L52x6Z64q5W0iYyJ7LG9h5Fx46QC8PA= Received: by 10.35.11.15 with SMTP id o15mr2332474pyi; Sun, 30 Jul 2006 06:18:44 -0700 (PDT) Received: by 10.35.128.2 with HTTP; Sun, 30 Jul 2006 06:18:44 -0700 (PDT) Message-ID: Date: Sun, 30 Jul 2006 06:18:44 -0700 From: "Brent Hostetler" To: freebsd-geom@freebsd.org, freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: gmirror/gconcat: mkdir causes system reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jul 2006 13:18:46 -0000 I am having a strange issue. I have a samba server (freebsd) that has been running fine for quite some time no errors to report. I replaced the system drives with fresh install of Freebsd 6.1 and updated to the current security branch. This was same version of freebsd previously on the server. All of the samba shares are on gmirror/gconcat hybrid mount point. '/dev/gconcat/DATA' mounted on /usr/local/smbshares. Now for some uknown reason creating a directories on this directory will immediately cause reboot!! >From shell prompt I can SOMETIMES do the following othertimes it reboots: $ mkdir /usr/local/smbshares/testdir $ mkdir /usr/local/smbshares/test2 However creating directory beneath a directory in 'smbshares' ALLWAYS reboots: $ mkdir /usr/local/smbshares/media/pictures/testdir $ mkdir /usr/local/smbshares/media/dvds/testdir $ mkdir /usr/local/smbshares/media/dvds/all/testdir Reads seem to work fine. I can even create files so far with no problem. Files can be deleted without error. It is just when I try to make a directory that everything comes to a halt. The console error displayed before reboot is too quick to completley write but is something such as: mode 04277 inum=12258433 fs=/usr/local/smbshares panic: ffs_vallov: dup alloc .... snip ... All the providers are destroyed... Cannot dump: No dump device No apparent errors in logs. ----------------------------- Furthe system info. $ uname -a FreeBSD quiet.silent 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Sun Jul 30 05:02:15 PDT 2006 root@quiet.silent:/usr/obj/usr/src/sys/GENERIC i386 $ gmirror status Name Status Components mirror/ROOT COMPLETE ad0s1 ad2s1 mirror/D2 COMPLETE ad4s1 ad16s1 mirror/D4 COMPLETE ad6s1 ad8s1 mirror/D1 COMPLETE ad10s1 ad12s1 mirror/D3 COMPLETE ad14s1 ad18s1 $ gconcat status Name Status Components concat/DATA UP mirror/D4 mirror/D1 mirror/D2 mirror/D3 $ cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/mirror/ROOTb none swap sw 0 0 /dev/mirror/ROOTa / ufs rw 1 1 /dev/mirror/ROOTe /tmp ufs rw 2 2 /dev/mirror/ROOTf /usr ufs rw 2 2 /dev/mirror/ROOTd /var ufs rw 2 2 /dev/concat/DATA /usr/local/smbshares ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 $ df -h Filesystem Size Used Avail Capacity Mounted on /dev/mirror/ROOTa 959M 58M 824M 7% / devfs 1.0K 1.0K 0B 100% /dev /dev/mirror/ROOTe 4.9G 24K 4.5G 0% /tmp /dev/mirror/ROOTf 98G 8.4G 82G 9% /usr /dev/mirror/ROOTd 4.9G 123M 4.4G 3% /var /dev/concat/DATA 1.2T 794G 338G 70% /usr/local/smbshares $ dmesg Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-RELEASE-p3 #0: Sun Jul 30 05:02:15 PDT 2006 root@quiet.silent:/usr/obj/usr/src/sys/GENERIC mptable_probe: MP Config Table has bad signature: 4 C ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Unknown CPU Type (1603.65-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x681 Stepping = 1 Features=0x383fbff AMD Features=0xc0400800 real memory = 268369920 (255 MB) avail memory = 253112320 (241 MB) ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe8000000-0xe9ffffff at device 0.0 on pci0 pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xee080000-0xee080fff irq 20 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xee083000-0xee083fff at device 2.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ehci0: mem 0xee084000-0xee0840ff irq 21 at device 2.2 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 6 ports with 6 removable, self powered pci0: at device 5.0 (no driver attached) pci0: at device 6.0 (no driver attached) pcib1: at device 8.0 on pci0 pci1: on pcib1 atapci0: port 0x9000-0x9007,0x9400-0x9403,0x9800-0x9807,0x9c00-0x9c03,0xa000-0xa00f mem 0xeb0a0000-0xeb0a3fff irq 16 at device 8.0 on pci1 ata2: on atapci0 ata3: on atapci0 pci1: at device 9.0 (no driver attached) atapci1: port 0xa400-0xa407,0xa800-0xa803,0xac00-0xac07,0xb000-0xb003,0xb400-0xb40f irq 18 at device 10.0 on pci1 ata4: on atapci1 ata5: on atapci1 atapci2: port 0xb800-0xb87f,0xbc00-0xbcff mem 0xeb0a4000-0xeb0a4fff,0xeb080000-0xeb09ffff irq 19 at device 11.0 on pci1 ata6: on atapci2 ata7: on atapci2 ata8: on atapci2 ata9: on atapci2 atapci3: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 9.0 on pci0 ata0: on atapci3 ata1: on atapci3 pcib2: at device 12.0 on pci0 pci2: on pcib2 xl0: <3Com 3c920B-EMB Integrated Fast Etherlink XL> port 0xc000-0xc07f mem 0xed000000-0xed00007f irq 20 at device 1.0 on pci2 miibus0: on xl0 acphy0: on miibus0 acphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:26:54:0b:50:df fwohci0: <1394 Open Host Controller Interface> mem 0xee086000-0xee0867ff,0xee087000-0xee08703f irq 21 at device 13.0 on pci0 fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:40:ca:07:01:03:77:bd fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:40:ca:03:77:bd fwe0: Ethernet address: 02:40:ca:03:77:bd fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) pcib3: at device 30.0 on pci0 pci3: on pcib3 acpi_tz0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0: port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcefff,0xd0000-0xd3fff,0xd4000-0xd67ff,0xd7000-0xd97ff,0xda000-0xdefff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1603648052 Hz quality 800 Timecounters tick every 1.000 msec ad0: 114473MB at ata0-master UDMA100 GEOM_MIRROR: Device ROOT created (id=2656088342). GEOM_MIRROR: Device ROOT: provider ad0s1 detected. ad2: 114473MB at ata1-master UDMA100 GEOM_MIRROR: Device ROOT: provider ad2s1 detected. GEOM_MIRROR: Device ROOT: provider ad2s1 activated. GEOM_MIRROR: Device ROOT: provider ad0s1 activated. GEOM_MIRROR: Device ROOT: provider mirror/ROOT launched. ad4: 476940MB at ata2-master UDMA100 ad6: 152627MB at ata3-master UDMA100 ad8: 152627MB at ata4-master UDMA100 ad10: 476940MB at ata5-master UDMA100 ad12: 476940MB at ata6-master SATA300 ad14: 194481MB at ata7-master SATA150 ad16: 476940MB at ata8-master SATA300 ad18: 194481MB at ata9-master SATA150 GEOM_MIRROR: Device D2 created (id=2018613835). GEOM_MIRROR: Device D2: provider ad4s1 detected. GEOM_MIRROR: Device D4 created (id=1140042297). GEOM_MIRROR: Device D4: provider ad6s1 detected. GEOM_MIRROR: Device D4: provider ad8s1 detected. GEOM_MIRROR: Device D4: provider ad8s1 activated. GEOM_MIRROR: Device D4: provider ad6s1 activated. GEOM_MIRROR: Device D4: provider mirror/D4 launched. GEOM_MIRROR: Device D1 created (id=2442871321). GEOM_MIRROR: Device D1: provider ad10s1 detected. GEOM_CONCAT: Device DATA created (id=2233628062). GEOM_CONCAT: Disk mirror/D4 attached to DATA. GEOM_MIRROR: Device D1: provider ad12s1 detected. GEOM_MIRROR: Device D1: provider ad12s1 activated. GEOM_MIRROR: Device D1: provider ad10s1 activated. GEOM_MIRROR: Device D1: provider mirror/D1 launched. GEOM_MIRROR: Device D3 created (id=914260241). GEOM_MIRROR: Device D3: provider ad14s1 detected. GEOM_MIRROR: Device D2: provider ad16s1 detected. GEOM_MIRROR: Device D2: provider ad16s1 activated. GEOM_MIRROR: Device D2: provider ad4s1 activated. GEOM_MIRROR: Device D2: provider mirror/D2 launched. GEOM_MIRROR: Device D3: provider ad18s1 detected. GEOM_MIRROR: Device D3: provider ad18s1 activated. GEOM_MIRROR: Device D3: provider ad14s1 activated. GEOM_MIRROR: Device D3: provider mirror/D3 launched. GEOM_CONCAT: Disk mirror/D1 attached to DATA. GEOM_CONCAT: Disk mirror/D2 attached to DATA. GEOM_CONCAT: Disk mirror/D3 attached to DATA. GEOM_CONCAT: Device DATA activated. Trying to mount root from ufs:/dev/mirror/ROOTa WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted WARNING: /usr/local/smbshares was not properly dismounted $