Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jul 2006 06:18:44 -0700
From:      "Brent Hostetler" <brenthostetler@gmail.com>
To:        freebsd-geom@freebsd.org, freebsd-questions@freebsd.org
Subject:   gmirror/gconcat: mkdir causes system reboot
Message-ID:  <aadbc3580607300618h199fe47brbd1d8df75a611288@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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: <FIC    AU13    >
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400800<SYSCALL,MMX+,3DNow+,3DNow>
real memory  = 268369920 (255 MB)
avail memory = 253112320 (241 MB)
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <FIC AU13> 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: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <NVIDIA nForce2 AGP Controller> mem 0xe8000000-0xe9ffffff at
device 0.0 on pci0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <NVIDIA nForce2 USB 2.0 controller> 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: <NVIDIA nForce2 USB 2.0 controller> 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: <multimedia, audio> at device 5.0 (no driver attached)
pci0: <multimedia, audio> at device 6.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 8.0 on pci0
pci1: <ACPI PCI bus> on pcib1
atapci0: <Promise PDC20269 UDMA133 controller> port
0x9000-0x9007,0x9400-0x9403,0x9800-0x9807,0x9c00-0x9c03,0xa000-0xa00f
mem 0xeb0a0000-0xeb0a3fff irq 16 at device 8.0 on pci1
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
pci1: <display, VGA> at device 9.0 (no driver attached)
atapci1: <CMD 649 UDMA100 controller> port
0xa400-0xa407,0xa800-0xa803,0xac00-0xac07,0xb000-0xb003,0xb400-0xb40f
irq 18 at device 10.0 on pci1
ata4: <ATA channel 0> on atapci1
ata5: <ATA channel 1> on atapci1
atapci2: <Promise PDC40718 SATA300 controller> port
0xb800-0xb87f,0xbc00-0xbcff mem
0xeb0a4000-0xeb0a4fff,0xeb080000-0xeb09ffff irq 19 at device 11.0 on
pci1
ata6: <ATA channel 0> on atapci2
ata7: <ATA channel 1> on atapci2
ata8: <ATA channel 2> on atapci2
ata9: <ATA channel 3> on atapci2
atapci3: <nVidia nForce2 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 9.0 on
pci0
ata0: <ATA channel 0> on atapci3
ata1: <ATA channel 1> on atapci3
pcib2: <ACPI PCI-PCI bridge> at device 12.0 on pci0
pci2: <ACPI PCI bus> 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: <MII bus> on xl0
acphy0: <AC101L 10/100 media interface> 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: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> 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: <SBP-2/SCSI over FireWire> 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: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib3
acpi_tz0: <Thermal Zone> on acpi0
fdc0: <floppy drive controller> 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: <ECP parallel printer port> 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: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xcefff,0xd0000-0xd3fff,0xd4000-0xd67ff,0xd7000-0xd97ff,0xda000-0xdefff
on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1603648052 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 114473MB <WDC WD1200JB-00EVA0 15.05R15> at ata0-master UDMA100
GEOM_MIRROR: Device ROOT created (id=2656088342).
GEOM_MIRROR: Device ROOT: provider ad0s1 detected.
ad2: 114473MB <WDC WD1200JB-00EVA0 15.05R15> 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 <Seagate ST3500641A 3.AAH> at ata2-master UDMA100
ad6: 152627MB <Seagate ST3160023A 8.01> at ata3-master UDMA100
ad8: 152627MB <WDC WD1600JB-00GVA0 08.02D08> at ata4-master UDMA100
ad10: 476940MB <Seagate ST3500641A 3.AAE> at ata5-master UDMA100
ad12: 476940MB <Seagate ST3500641AS 3.AAE> at ata6-master SATA300
ad14: 194481MB <Maxtor 6B200M0 BANC1B70> at ata7-master SATA150
ad16: 476940MB <Seagate ST3500641AS 3.AAE> at ata8-master SATA300
ad18: 194481MB <Maxtor 6B200M0 BANC1BM0> 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
$



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aadbc3580607300618h199fe47brbd1d8df75a611288>