Re: ZFS: amd64, devd, root file system.

From: Joao Barros <joao.barros_at_gmail.com>
Date: Sat, 14 Apr 2007 15:04:26 +0100
On 4/12/07, Joao Barros <joao.barros_at_gmail.com> wrote:
> On 4/12/07, Dag-Erling Smørgrav <des_at_des.no> wrote:
> > "Joao Barros" <joao.barros_at_gmail.com> writes:
> > > The aim is to disconnect the ATA ad0 thus rendering the SATA ad2 to
> > > ad0, something like this:
> > >
> > > ATA channel 0:
> > >    Master:  ad0 <WDC WD3200KS-00PFB0/21.00M21> Serial ATA II
> > >    Slave:   ad1 <ST3320620AS/3.AAJ> Serial ATA II
> > > ATA channel 1:
> > >    Master:  ad2 <ST3320620AS/3.AAK> Serial ATA II
> > >    Slave:       no device present
> > > ATA channel 2:
> > >    Master:  ad4 <ST3320620AS/3.AAK> Serial ATA II
> > >    Slave:       no device present
> > >
> > > The problem is that the info in zpool.cache is diferent from the new
> > > disk order and zfs  doesn't pick the volume thus no root fs.
> > > I jumped on my "let's go for anything" suit and even tried to edit
> > > zpool.cache by hand with the new disk order, sadly with no luck.
> >
> > Run "zpool export" before moving the disks, then "zpool import" after
> > rebooting.
>
> I can export  the zpool when I'm running off the ATA ad0 but I can't
> import from the SATA ad0, the root fs is on zfs...
>

As a workaround I copied my system from the ATA ad0 to a scsi disk in
order to get a zpool.cache with the final configuration.
I got my system on zfs :D

xeon# mount
r4x320 on / (zfs, local)
devfs on /dev (devfs, local)
/dev/ad0s1a on /bootdisk (ufs, local)

xeon# zfs list
NAME          USED  AVAIL  REFER  MOUNTPOINT
r4x320       6.55G   870G  4.55G  /r4x320
r4x320/swap  23.9K   872G  23.9K  -

xeon# cat /etc/fstab
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/zvol/r4x320/swap           none            swap    sw
 0       0
/dev/ad0s1a             /bootdisk               ufs     rw
 0       0
#/dev/zvol/r4x320       /               ufs     rw              1       1
/dev/acd0               /cdrom          cd9660  ro,noauto       0       0

I only got one problem now: from what I can see swapon runs first that
the zfs startup script so I have no swap.
Only after booting I can see /dev/zvol/r4x320/swap and swapon works.

Here is dmesg:

Mar 19 10:59:32 xeon syslogd: kernel boot file is /boot/kernel/kernel
Mar 19 10:59:32 xeon kernel: Copyright (c) 1992-2007 The FreeBSD Project.
Mar 19 10:59:32 xeon kernel: Copyright (c) 1979, 1980, 1983, 1986,
1988, 1989, 1991, 1992, 1993, 1994
Mar 19 10:59:32 xeon kernel: The Regents of the University of
California. All rights reserved.
Mar 19 10:59:32 xeon kernel: FreeBSD is a registered trademark of The
FreeBSD Foundation.
Mar 19 10:59:32 xeon kernel: FreeBSD 7.0-CURRENT #5: Tue Apr 10
00:06:35 WEST 2007
Mar 19 10:59:32 xeon kernel: root_at_xeon.bsdtech.org:/usr/obj/usr/src/sys/GENERIC
Mar 19 10:59:32 xeon kernel: WARNING: WITNESS option enabled, expect
reduced performance.
Mar 19 10:59:32 xeon kernel: acpi_alloc_wakeup_handler: can't alloc wake memory
Mar 19 10:59:32 xeon kernel: ACPI APIC Table: <IntelR AWRDACPI>
Mar 19 10:59:32 xeon kernel: Timecounter "i8254" frequency 1193182 Hz quality 0
Mar 19 10:59:32 xeon kernel: CPU: Intel(R) Xeon(TM) CPU 3.06GHz
(3073.65-MHz 686-class CPU)
Mar 19 10:59:32 xeon kernel: Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
Mar 19 10:59:32 xeon kernel:
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CL
Mar 19 10:59:32 xeon kernel: Features2=0x4400<CNXT-ID,xTPR>
Mar 19 10:59:32 xeon kernel: Logical CPUs per core: 2
Mar 19 10:59:32 xeon kernel: real memory  = 1072562176 (1022 MB)
Mar 19 10:59:32 xeon kernel: avail memory = 1035956224 (987 MB)
Mar 19 10:59:32 xeon kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
Mar 19 10:59:32 xeon kernel: cpu0 (BSP): APIC ID:  0
Mar 19 10:59:32 xeon kernel: cpu1 (AP): APIC ID:  1
Mar 19 10:59:32 xeon kernel: ACPI: RSDP _at_ 0x0xf7bf0/0x0014 (v  0 IntelR)
Mar 19 10:59:32 xeon kernel: ACPI: RSDT _at_ 0x0x3fee3040/0x002C (v  1
IntelR AWRDACPI 0x42302E31 AWRD 0x00000000)
Mar 19 10:59:32 xeon kernel: ACPI: FACP _at_ 0x0x3fee30c0/0x0074 (v  1
IntelR AWRDACPI 0x42302E31 AWRD 0x00000000)
Mar 19 10:59:32 xeon kernel: ACPI: DSDT _at_ 0x0x3fee3180/0x3FF3 (v  1
INTELR AWRDACPI 0x00001000 MSFT 0x0100000E)
Mar 19 10:59:32 xeon kernel: ACPI: FACS _at_ 0x0x3fee0000/0x0040
Mar 19 10:59:32 xeon kernel: ACPI: APIC _at_ 0x0x3fee71c0/0x0090 (v  1
IntelR AWRDACPI 0x42302E31 AWRD 0x00000000)
Mar 19 10:59:32 xeon kernel: ioapic0: Changing APIC ID to 4
Mar 19 10:59:32 xeon kernel: ioapic0 <Version 2.0> irqs 0-23 on motherboard
Mar 19 10:59:32 xeon kernel: ioapic1 <Version 2.0> irqs 24-47 on motherboard
Mar 19 10:59:32 xeon kernel: kbd1 at kbdmux0
Mar 19 10:59:32 xeon kernel: ath_hal: 0.9.20.3 (AR5210, AR5211,
AR5212, RF5111, RF5112, RF2413, RF5413)
Mar 19 10:59:32 xeon kernel: acpi0: <IntelR AWRDACPI> on motherboard
Mar 19 10:59:32 xeon kernel: acpi0: [ITHREAD]
Mar 19 10:59:32 xeon kernel: acpi0: Power Button (fixed)
Mar 19 10:59:32 xeon kernel: acpi0: reservation of 0, a0000 (3) failed
Mar 19 10:59:32 xeon kernel: acpi0: reservation of 100000, 3fde0000 (3) failed
Mar 19 10:59:32 xeon kernel: Timecounter "ACPI-fast" frequency 3579545
Hz quality 1000
Mar 19 10:59:32 xeon kernel: acpi_timer0: <24-bit timer at
3.579545MHz> port 0x408-0x40b on acpi0
Mar 19 10:59:32 xeon kernel: cpu0: <ACPI CPU> on acpi0
Mar 19 10:59:32 xeon kernel: cpu1: <ACPI CPU> on acpi0
Mar 19 10:59:32 xeon kernel: acpi_button0: <Power Button> on acpi0
Mar 19 10:59:32 xeon kernel: pcib0: <ACPI Host-PCI bridge> port
0xcf8-0xcff on acpi0
Mar 19 10:59:32 xeon kernel: pci0: <ACPI PCI bus> on pcib0
Mar 19 10:59:32 xeon kernel: agp0: <Intel 82875P host to AGP bridge> on hostb0
Mar 19 10:59:32 xeon kernel: pcib1: <PCI-PCI bridge> at device 1.0 on pci0
Mar 19 10:59:32 xeon kernel: pci1: <PCI bus> on pcib1
Mar 19 10:59:32 xeon kernel: vgapci0: <VGA-compatible display> mem
0xf8000000-0xf8ffffff,0xf0000000-0xf7ffffff irq 16 at de
Mar 19 10:59:32 xeon kernel: pcib2: <ACPI PCI-PCI bridge> at device 3.0 on pci0
Mar 19 10:59:32 xeon kernel: pci2: <ACPI PCI bus> on pcib2
Mar 19 10:59:32 xeon kernel: em0: <Intel(R) PRO/1000 Network
Connection Version - 6.2.9> port 0xa000-0xa01f mem 0xfb020000-
Mar 19 10:59:32 xeon kernel: em0: Ethernet address: 00:11:d8:a2:21:c8
Mar 19 10:59:32 xeon kernel: em0: [FILTER]
Mar 19 10:59:32 xeon kernel: pcib3: <ACPI PCI-PCI bridge> at device 28.0 on pci0
Mar 19 10:59:32 xeon kernel: pci3: <ACPI PCI bus> on pcib3
Mar 19 10:59:32 xeon kernel: uhci0: <UHCI (generic) USB controller>
port 0xc400-0xc41f irq 16 at device 29.0 on pci0
Mar 19 10:59:32 xeon kernel: uhci0: [GIANT-LOCKED]
Mar 19 10:59:32 xeon kernel: uhci0: [ITHREAD]
Mar 19 10:59:32 xeon kernel: usb0: <UHCI (generic) USB controller> on uhci0
Mar 19 10:59:32 xeon kernel: usb0: USB revision 1.0
Mar 19 10:59:32 xeon kernel: uhub0: <Intel UHCI root hub, class 9/0,
rev 1.00/1.00, addr 1> on usb0
Mar 19 10:59:32 xeon kernel: uhub0: 2 ports with 2 removable, self powered
Mar 19 10:59:32 xeon kernel: uhci1: <UHCI (generic) USB controller>
port 0xc000-0xc01f irq 19 at device 29.1 on pci0
Mar 19 10:59:32 xeon kernel: uhci1: [GIANT-LOCKED]
Mar 19 10:59:32 xeon kernel: uhci1: [ITHREAD]
Mar 19 10:59:32 xeon kernel: usb1: <UHCI (generic) USB controller> on uhci1
Mar 19 10:59:32 xeon kernel: usb1: USB revision 1.0
Mar 19 10:59:32 xeon kernel: uhub1: <Intel UHCI root hub, class 9/0,
rev 1.00/1.00, addr 1> on usb1
Mar 19 10:59:32 xeon kernel: uhub1: 2 ports with 2 removable, self powered
Mar 19 10:59:32 xeon kernel: pci0: <base peripheral> at device 29.4
(no driver attached)
Mar 19 10:59:32 xeon kernel: ehci0: <Intel 6300ESB USB 2.0 controller>
mem 0xfc100000-0xfc1003ff irq 23 at device 29.7 on p
Mar 19 10:59:32 xeon kernel: ehci0: [GIANT-LOCKED]
Mar 19 10:59:32 xeon kernel: ehci0: [ITHREAD]
Mar 19 10:59:32 xeon kernel: usb2: EHCI version 1.0
Mar 19 10:59:32 xeon kernel: usb2: companion controllers, 2 ports
each: usb0 usb1
Mar 19 10:59:32 xeon kernel: usb2: <Intel 6300ESB USB 2.0 controller> on ehci0
Mar 19 10:59:32 xeon kernel: usb2: USB revision 2.0
Mar 19 10:59:32 xeon kernel: uhub2: <Intel EHCI root hub, class 9/0,
rev 2.00/1.00, addr 1> on usb2
Mar 19 10:59:32 xeon kernel: uhub2: 4 ports with 4 removable, self powered
Mar 19 10:59:32 xeon kernel: pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
Mar 19 10:59:32 xeon kernel: pci4: <ACPI PCI bus> on pcib4
Mar 19 10:59:32 xeon kernel: fwohci0: <Texas Instruments TSB43AB22/A>
mem 0xfc025000-0xfc0257ff,0xfc020000-0xfc023fff irq 2
Mar 19 10:59:32 xeon kernel: fwohci0: [ITHREAD]
Mar 19 10:59:32 xeon kernel: fwohci0: OHCI version 1.10 (ROM=1)
Mar 19 10:59:32 xeon kernel: fwohci0: No. of Isochronous channels is 4.
Mar 19 10:59:32 xeon kernel: fwohci0: EUI64 00:11:d8:00:00:18:1b:79
Mar 19 10:59:32 xeon kernel: fwohci0: Phy 1394a available S400, 2 ports.
Mar 19 10:59:32 xeon kernel: fwohci0: Link S400, max_rec 2048 bytes.
Mar 19 10:59:32 xeon kernel: firewire0: <IEEE1394(FireWire) bus> on fwohci0
Mar 19 10:59:32 xeon kernel: fwe0: <Ethernet over FireWire> on firewire0
Mar 19 10:59:32 xeon kernel: if_fwe0: Fake Ethernet address: 02:11:d8:18:1b:79
Mar 19 10:59:32 xeon kernel: fwe0: Ethernet address: 02:11:d8:18:1b:79
Mar 19 10:59:32 xeon kernel: fwe0: if_start running deferred for Giant
Mar 19 10:59:32 xeon kernel: sbp0: <SBP-2/SCSI over FireWire> on firewire0
Mar 19 10:59:32 xeon kernel: fwohci0: Initiate bus reset
Mar 19 10:59:32 xeon kernel: fwohci0: BUS reset
Mar 19 10:59:32 xeon kernel: fwohci0: node_id=0xc800ffc0, gen=1,
CYCLEMASTER mode
Mar 19 10:59:32 xeon kernel: firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
Mar 19 10:59:32 xeon kernel: firewire0: bus manager 0 (me)
Mar 19 10:59:32 xeon kernel: atapci0: <Promise PDC20319 SATA150
controller> port 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb87f
Mar 19 10:59:32 xeon kernel: atapci0: [ITHREAD]
Mar 19 10:59:32 xeon kernel: atapci0: [ITHREAD]
Mar 19 10:59:32 xeon kernel: ata2: <ATA channel 0> on atapci0
Mar 19 10:59:32 xeon kernel: ata2: [ITHREAD]
Mar 19 10:59:32 xeon kernel: ata3: <ATA channel 1> on atapci0
Mar 19 10:59:32 xeon kernel: ata3: [ITHREAD]
Mar 19 10:59:32 xeon kernel: ata4: <ATA channel 2> on atapci0
Mar 19 10:59:32 xeon kernel: ata4: [ITHREAD]
Mar 19 10:59:32 xeon kernel: ata5: <ATA channel 3> on atapci0
Mar 19 10:59:32 xeon kernel: ata5: [ITHREAD]
Mar 19 10:59:32 xeon kernel: isab0: <PCI-ISA bridge> at device 31.0 on pci0
Mar 19 10:59:32 xeon kernel: isa0: <ISA bus> on isab0
Mar 19 10:59:32 xeon kernel: atapci1: <Intel 6300ESB SATA150
controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0x
Mar 19 10:59:32 xeon kernel: ata0: <ATA channel 0> on atapci1
Mar 19 10:59:32 xeon kernel: ata0: [ITHREAD]
Mar 19 10:59:32 xeon kernel: ata1: <ATA channel 1> on atapci1
Mar 19 10:59:32 xeon kernel: ata1: [ITHREAD]
Mar 19 10:59:32 xeon kernel: ichsmb0: <Intel 6300ESB (ICH) SMBus
controller> port 0x500-0x51f irq 17 at device 31.3 on pci0
Mar 19 10:59:32 xeon kernel: ichsmb0: [GIANT-LOCKED]
Mar 19 10:59:32 xeon kernel: ichsmb0: [ITHREAD]
Mar 19 10:59:32 xeon kernel: smbus0: <System Management Bus> on ichsmb0
Mar 19 10:59:32 xeon kernel: pcm0: <Intel 6300ESB> port
0xe000-0xe0ff,0xe400-0xe43f mem 0xfc102000-0xfc1021ff,0xfc103000-0x
Mar 19 10:59:32 xeon kernel: pcm0: [ITHREAD]
Mar 19 10:59:32 xeon kernel: pcm0: <Analog Devices AD1980 AC97 Codec>
Mar 19 10:59:32 xeon kernel: sio0: <16550A-compatible COM port> port
0x3f8-0x3ff irq 4 flags 0x10 on acpi0
Mar 19 10:59:32 xeon kernel: sio0: type 16550A
Mar 19 10:59:32 xeon kernel: sio0: [FILTER]
Mar 19 10:59:32 xeon kernel: atkbdc0: <Keyboard controller (i8042)>
port 0x60,0x64 irq 1 on acpi0
Mar 19 10:59:32 xeon kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Mar 19 10:59:32 xeon kernel: kbd0 at atkbd0
Mar 19 10:59:32 xeon kernel: atkbd0: [GIANT-LOCKED]
Mar 19 10:59:32 xeon kernel: atkbd0: [ITHREAD]
Mar 19 10:59:32 xeon kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
Mar 19 10:59:32 xeon kernel: psm0: [GIANT-LOCKED]
Mar 19 10:59:32 xeon kernel: psm0: [ITHREAD]
Mar 19 10:59:32 xeon kernel: psm0: model IntelliMouse Explorer, device ID 4
Mar 19 10:59:32 xeon kernel: pmtimer0 on isa0
Mar 19 10:59:32 xeon kernel: orm0: <ISA Option ROM> at iomem
0xc0000-0xcb7ff pnpid ORM0000 on isa0
Mar 19 10:59:32 xeon kernel: ppc0: parallel port not found.
Mar 19 10:59:32 xeon kernel: sc0: <System console> at flags 0x100 on isa0
Mar 19 10:59:32 xeon kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Mar 19 10:59:32 xeon kernel: sio1: configured irq 3 not in bitmap of
probed irqs 0
Mar 19 10:59:32 xeon kernel: sio1: port may not be enabled
Mar 19 10:59:32 xeon kernel: vga0: <Generic ISA VGA> at port
0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Mar 19 10:59:32 xeon kernel: Timecounters tick every 1.000 msec
Mar 19 10:59:32 xeon kernel: ad0: 305245MB <WDC WD3200KS-00PFB0
21.00M21> at ata0-master SATA150
Mar 19 10:59:32 xeon kernel: ad1: 305245MB <Seagate ST3320620AS 3.AAJ>
at ata0-slave SATA150
Mar 19 10:59:32 xeon kernel: acd0: DVDROM <Pioneer DVD-ROM ATAPIModel
DVD-120/1.23> at ata1-master UDMA66
Mar 19 10:59:32 xeon kernel: ad4: 305245MB <Seagate ST3320620AS 3.AAK>
at ata2-master SATA150
Mar 19 10:59:32 xeon kernel: ad6: 305245MB <Seagate ST3320620AS 3.AAK>
at ata3-master SATA150
Mar 19 10:59:32 xeon kernel: acd0: FAILURE - INQUIRY ILLEGAL REQUEST
asc=0x24 ascq=0x00
Mar 19 10:59:32 xeon kernel: ar0: 305245MB <Promise Fasttrak RAID0
(stripe 64 KB)> status: READY
Mar 19 10:59:32 xeon kernel: ar0: disk0 READY using ad4 at ata2-master
Mar 19 10:59:32 xeon kernel: ar1: 305245MB <Promise Fasttrak RAID0
(stripe 64 KB)> status: READY
Mar 19 10:59:32 xeon kernel: ar1: disk0 READY using ad6 at ata3-master
Mar 19 10:59:32 xeon kernel: WARNING: ZFS is considered to be an
experimental feature in FreeBSD.
Mar 19 10:59:32 xeon kernel: SMP: AP CPU #1 Launched!
Mar 19 10:59:32 xeon kernel: cd0 at ata1 bus 0 target 0 lun 0
Mar 19 10:59:32 xeon kernel: cd0: <PIONEER DVD-ROM DVD-120 1.23>
Removable CD-ROM SCSI-0 device
Mar 19 10:59:32 xeon kernel: cd0: 66.000MB/s transfers
Mar 19 10:59:32 xeon kernel: cd0: Attempt to query device size failed:
NOT READY, Medium not present
Mar 19 10:59:32 xeon kernel: ZFS filesystem version 6
Mar 19 10:59:32 xeon kernel: ZFS storage pool version 6
Mar 19 10:59:32 xeon kernel: Trying to mount root from zfs:r4x320
Mar 19 10:59:32 xeon kernel: lock order reversal:
Mar 19 10:59:32 xeon kernel: 1st 0xc4bbd520 zfs:&dr->dt.di.dr_mtx
(zfs:&dr->dt.di.dr_mtx) _at_ /usr/src/sys/modules/zfs/../../
Mar 19 10:59:32 xeon kernel: 2nd 0xc4932f00 zfs:&db->db_mtx
(zfs:&db->db_mtx) _at_ /usr/src/sys/modules/zfs/../../contrib/open
Mar 19 10:59:32 xeon kernel: KDB: stack backtrace:
Mar 19 10:59:32 xeon kernel: db_trace_self_wrapper(c094c217) at
db_trace_self_wrapper+0x25
Mar 19 10:59:32 xeon kernel:
kdb_backtrace(0,ffffffff,c0a5b5c8,c0a5b6e0,c09f6eac,...) at
kdb_backtrace+0x29
Mar 19 10:59:32 xeon kernel:
witness_checkorder(c4932f00,9,c0cb54b3,75f) at
witness_checkorder+0x586
Mar 19 10:59:32 xeon kernel:
_sx_xlock(c4932f00,c0cb54b3,75f,b55,0,...) at _sx_xlock+0x3e
Mar 19 10:59:32 xeon kernel:
dbuf_sync_list(c4bbd538,c44bdd00,b55,0,c4197800,...) at
dbuf_sync_list+0x15b
Mar 19 10:59:32 xeon kernel:
dbuf_sync_list(c492fb90,c44bdd00,255,14,0,...) at dbuf_sync_list+0xde
Mar 19 10:59:32 xeon kernel:
dnode_sync(c492fae0,c44bdd00,c4197878,c492fae0,10,...) at
dnode_sync+0x3a8
Mar 19 10:59:32 xeon kernel:
dmu_objset_sync_dnodes(c492f3a0,c44bdd00,b55,0,c48c9400,...) at
dmu_objset_sync_dnodes+0x29
Mar 19 10:59:32 xeon kernel:
dmu_objset_sync(c4197800,c48d1000,c44bdd00,c41a2000,0,...) at
dmu_objset_sync+0x11d
Mar 19 10:59:32 xeon kernel:
dsl_pool_sync(c434ea00,b55,0,c41a2000,b55,...) at dsl_pool_sync+0x13e
Mar 19 10:59:32 xeon kernel:
spa_sync(c41a2000,b55,0,c434eaac,c0cb8db2,...) at spa_sync+0x33f
Mar 19 10:59:32 xeon kernel: txg_sync_thread(c434ea00,e6952d38) at
txg_sync_thread+0x183
Mar 19 10:59:32 xeon kernel: fork_exit(c0c889bc,c434ea00,e6952d38) at
fork_exit+0xac
Mar 19 10:59:32 xeon kernel: fork_trampoline() at fork_trampoline+0x8
Mar 19 10:59:32 xeon kernel: --- trap 0, eip = 0, esp = 0xe6952d70, ebp = 0 ---
Loading configuration files.
No suitable dump device was found.
Entropy harvesting: interrupts ethernet point_to_point kickstart.
swapon: /dev/zvol/r4x320/swap: No sich file or directory
Starting file system checks:
Mar 19 10:59:32 xeon kernel: lock order reversal:
Mar 19 10:59:32 xeon kernel: 1st 0xc60871e0 zfs:&db->db_mtx
(zfs:&db->db_mtx) _at_ /usr/src/sys/modules/zfs/../../contrib/open
Mar 19 10:59:32 xeon kernel: 2nd 0xc60411e8 zfs:&zp->z_lock
(zfs:&zp->z_lock) _at_ /usr/src/sys/modules/zfs/../../contrib/open
Mar 19 10:59:32 xeon kernel: KDB: stack backtrace:
Mar 19 10:59:32 xeon kernel: db_trace_self_wrapper(c094c217) at
db_trace_self_wrapper+0x25
Mar 19 10:59:32 xeon kernel:
kdb_backtrace(0,ffffffff,c0a5b6e0,c0a5b578,c09f6eac,...) at
kdb_backtrace+0x29
Mar 19 10:59:32 xeon kernel:
witness_checkorder(c60411e8,9,c0cb9cda,49) at witness_checkorder+0x586
Mar 19 10:59:32 xeon kernel:
_sx_xlock(c60411e8,c0cb9cda,49,c0cb5dd5,e69529d8,...) at
_sx_xlock+0x3e
Mar 19 10:59:32 xeon kernel:
znode_pageout_func(c60871a4,c60411d8,c60871a4,e6952a04,c0c63d01,...)
at znode_pageout_func+0x1
Mar 19 10:59:32 xeon kernel:
dbuf_evict_user(c6087230,c60871a4,0,c566ee30,e6952a14,...) at
dbuf_evict_user+0x31
Mar 19 10:59:32 xeon kernel:
dbuf_clear(c60871a4,0,e6952ad4,c0c732bd,c60871a4,...) at
dbuf_clear+0x1d
Mar 19 10:59:32 xeon kernel:
dbuf_evict(c60871a4,c60871e0,c0cb5dd5,1a1,c566ee18,...) at
dbuf_evict+0xd
Mar 19 10:59:32 xeon kernel:
dnode_evict_dbufs(c566ecb0,0,255,28,0,...) at dnode_evict_dbufs+0x1fd
Mar 19 10:59:32 xeon kernel:
dnode_sync(c566ecb0,c5f37600,c4bb54c8,c566ecb0,20,...) at
dnode_sync+0x257
Mar 19 10:59:32 xeon kernel:
dmu_objset_sync_dnodes(c4b5f3a0,c5f37600,b56,0,c460bc00,...) at
dmu_objset_sync_dnodes+0x29
Mar 19 10:59:32 xeon kernel:
dmu_objset_sync(c4bb5400,c47bb400,c5f37600,c434eb4c,c4197800,...) at
dmu_objset_sync+0x112
Mar 19 10:59:32 xeon kernel:
dsl_pool_sync(c434ea00,b56,0,c41a2000,b56,...) at dsl_pool_sync+0x6d
Mar 19 10:59:32 xeon kernel:
spa_sync(c41a2000,b56,0,c434eaac,c0cb8db2,...) at spa_sync+0x33f
Mar 19 10:59:32 xeon kernel: txg_sync_thread(c434ea00,e6952d38) at
txg_sync_thread+0x183
Mar 19 10:59:32 xeon kernel: fork_exit(c0c889bc,c434ea00,e6952d38) at
fork_exit+0xac
Mar 19 10:59:32 xeon kernel: fork_trampoline() at fork_trampoline+0x8
Mar 19 10:59:32 xeon kernel: --- trap 0, eip = 0, esp = 0xe6952d70, ebp = 0 ---
Mounting local file systems:.
Mar 19 10:59:32 xeon kernel: lock order reversal:
Mar 19 10:59:32 xeon kernel: 1st 0xc0a4bccc GEOM topology (GEOM
topology) _at_ /usr/src/sys/modules/zfs/../../contrib/opensola
Mar 19 10:59:32 xeon kernel: 2nd 0xc0cc9d50 zfs:&spa_namespace_lock
(zfs:&spa_namespace_lock) _at_ /usr/src/sys/modules/zfs/..
Mar 19 10:59:32 xeon kernel: KDB: stack backtrace:
Mar 19 10:59:32 xeon kernel: db_trace_self_wrapper(c094c217) at
db_trace_self_wrapper+0x25
Mar 19 10:59:32 xeon kernel:
kdb_backtrace(0,ffffffff,c0a5cb80,c0a5be10,c09f6eac,...) at
kdb_backtrace+0x29
Mar 19 10:59:32 xeon kernel:
witness_checkorder(c0cc9d50,9,c0cb70e1,33c) at
witness_checkorder+0x586
Mar 19 10:59:32 xeon kernel: _sx_xlock(c0cc9d50,c0cb70e1,33c,0,0,...)
at _sx_xlock+0x3e
Mar 19 10:59:32 xeon kernel:
spa_open_common(c0cb3bcb,0,c0cb3bcb,c144eba0,0,...) at
spa_open_common+0x46
Mar 19 10:59:32 xeon kernel:
dsl_dir_open_spa(0,c5cc9000,c0cb3c79,e67cfaec,e67cfaf0,...) at
dsl_dir_open_spa+0x58
Mar 19 10:59:32 xeon kernel:
dsl_dataset_open_spa(0,c5cc9000,2,c43523b0,e67cfb40,...) at
dsl_dataset_open_spa+0x28
Mar 19 10:59:32 xeon kernel:
dsl_dataset_open(c5cc9000,2,c43523b0,e67cfb40,8,...) at
dsl_dataset_open+0x16
Mar 19 10:59:32 xeon kernel:
dmu_objset_open(c5cc9000,3,2,e67cfb84,11,...) at dmu_objset_open+0x25
Mar 19 10:59:32 xeon kernel:
zvol_create_minor(c5cc9000,c4373200,e67cfbf4,c0ca7988,c5cc9000,...) at
zvol_create_minor+0x152
Mar 19 10:59:32 xeon kernel:
zfs_ioc_create_minor(c5cc9000,0,cef45a17,c4eef438,e67cfc24,...) at
zfs_ioc_create_minor+0x12
Mar 19 10:59:32 xeon kernel:
zfsdev_ioctl(c4373200,cef45a17,c5cc9000,3,c44f11b0,...) at
zfsdev_ioctl+0x84
Mar 19 10:59:32 xeon kernel:
devfs_ioctl_f(c4eef438,cef45a17,c5cc9000,c3f08900,c44f11b0) at
devfs_ioctl_f+0xaf
Mar 19 10:59:32 xeon kernel: kern_ioctl(c44f11b0,3,cef45a17,c5cc9000)
at kern_ioctl+0x1ae
Mar 19 10:59:32 xeon kernel: ioctl(c44f11b0,e67cfd00) at ioctl+0xf1
Mar 19 10:59:32 xeon kernel: syscall(e67cfd38) at syscall+0x252
Mar 19 10:59:32 xeon kernel: Xint0x80_syscall() at Xint0x80_syscall+0x20
Mar 19 10:59:32 xeon kernel: --- syscall (54, FreeBSD ELF32, ioctl),
eip = 0x281976eb, esp = 0xbfbfc70c, ebp = 0xbfbfd638 -
Mar 19 10:59:32 xeon kernel: em0: link state changed to UP
Mar 19 10:59:32 xeon root: /etc/rc: WARNING: Dump device does not
exist.  Savecore not run.

-- 
Joao Barros
Received on Sat Apr 14 2007 - 12:04:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:08 UTC