Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2007 14:24:08 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        unlisted-recipients:; (no To-header on input)
Cc:        freebsd-current@freebsd.org, Pawel Jakub Dawidek <pjd@FreeBSD.org>, Kris Kennaway <kris@obsecurity.org>
Subject:   ZFS: panic on zpool create
Message-ID:  <461E08C8.7070908@yandex.ru>
In-Reply-To: <461E0375.7080002@yandex.ru>
References:  <461E0375.7080002@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------010707070608030500070602
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 7bit

Andrey V. Elsukov wrote:
> I have recently CURRENT on the IBM x3650 server.
> 
> I can't use ZFS on this server. Any manipulation with zpool or zfs
> brings to panic. Any suggestion?

This command brings to panic:
# zpool create media aacd1

-- 
WBR, Andrey V. Elsukov

--------------010707070608030500070602
Content-Type: text/plain;
 name="kgdb2.txt"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline;
 filename="kgdb2.txt"

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "i386-marcel-freebsd".

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address	= 0x20
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc659fb26
stack pointer	        = 0x28:0xecd4eab8
frame pointer	        = 0x28:0xecd4eac0
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 826 (zpool)
trap number		= 12
panic: page fault
cpuid = 1

Syncing disks, vnodes remaining...3 Syncing disks, buffers remaining... 7154 7153 7153 7153 7153 7153 7153 7153 0 7153 7153 7153 0 7153 7153 0 7153 7153 0 7153 0 7153 0 7153 7153 0 7153 0 7153 0 
Giving up on 7153 buffers
0 0 0 0 0 Uptime: 23m24s
Physical memory: 3063 MB
Dumping 200 MB: 185 169 1530  137 121 105 89 73 57 41 25 9

#0  doadump () at pcpu.h:172
	in pcpu.h
(kgdb) 
(kgdb) add-symbol-file /boot/kernel/acpi.ko.symbols 0xc0b894b8 -s .data 0xc0bc0040 -s .bss 0xc0bc2820
add symbol table from file "/boot/kernel/acpi.ko.symbols" at
	.text_addr = 0xc0b894b8
	.data_addr = 0xc0bc0040
	.bss_addr = 0xc0bc2820
(y or n) Reading symbols from /boot/kernel/acpi.ko.symbols...done.
(kgdb) add-symbol-file /boot/kernel/zfs.ko.symbols 0xc659c9d0 -s .data 0xc660a340 -s .bss 0xc660cac0
add symbol table from file "/boot/kernel/zfs.ko.symbols" at
	.text_addr = 0xc659c9d0
	.data_addr = 0xc660a340
	.bss_addr = 0xc660cac0
(y or n) Reading symbols from /boot/kernel/zfs.ko.symbols...done.
(kgdb) bt full
#0  doadump () at pcpu.h:172
No locals.
#1  0xc06c0b20 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:409
	first_buf_printf = 0
#2  0xc06c0e2a in panic (fmt=0xc09038b4 "%s") at /usr/src/sys/kern/kern_shutdown.c:563
	td = (struct thread *) 0xc646d000
	bootopt = 256
	newpanic = 1
	ap = 0xecd4e998 "ÉÜ\226À"
	buf = "page fault", '\0' <repeats 245 times>
#3  0xc08bafa2 in trap_fatal (frame=0xecd4ea78, eva=32) at /usr/src/sys/i386/i386/trap.c:876
	code = 0
	type = 12
	ss = 40
	esp = 0
	softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, ssd_dpl = 0, ssd_p = 1, ssd_xx = 0, ssd_xx1 = 0, ssd_def32 = 1, ssd_gran = 1}
	msg = 0x0
#4  0xc08bac9b in trap_pfault (frame=0xecd4ea78, usermode=0, eva=32) at /usr/src/sys/i386/i386/trap.c:785
	va = 0
	vm = (struct vmspace *) 0x0
	map = 0xc64103a0
	rv = 1
	ftype = 1 '\001'
	td = (struct thread *) 0xc646d000
	p = (struct proc *) 0xc6470000
#5  0xc08ba8e2 in trap (frame=0xecd4ea78) at /usr/src/sys/i386/i386/trap.c:462
	td = (struct thread *) 0xc646d000
	p = (struct proc *) 0xc6470000
	i = 0
	ucode = 0
	type = 12
	code = 0
	addr = -957120804
	eva = 32
	ksi = {ksi_link = {tqe_next = 0xecd4ea34, tqe_prev = 0xc06c66ae}, ksi_info = {si_signo = -969902464, si_errno = 4, si_code = -966767395, 
    si_pid = 202, si_uid = 3337844736, si_status = -969902440, si_addr = 0xc6307680, si_value = {sival_int = -321590672, sival_ptr = 0xecd4ea70}, 
    _reason = {_fault = {_trapno = -1056487032}, _timer = {_timerid = -1056487032, _overrun = 1832}, _mesgq = {_mqd = -1056487032}, _poll = {
        _band = -1056487032}, __spare__ = {__spare1__ = -1056487032, __spare2__ = {1832, -1063905702, -321590680, -1066696169, -1056487032, 1, 
          -1064024269}}}}, ksi_flags = 214, ksi_sigq = 0xc106d420}
#6  0xc08a535b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
No locals.
#7  0xc659fb26 in kmem_cache_alloc (cache=0x0, flags=2) at /usr/src/sys/modules/zfs/../../compat/opensolaris/kern/opensolaris_kmem.c:178
No locals.
#8  0xc65ae19e in arc_buf_alloc (spa=0x0, size=0, tag=0xc6546008, type=ARC_BUFC_UNDEF)
    at /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/arc.c:866
	hdr = (arc_buf_hdr_t *) 0xc6546000
	buf = (arc_buf_t *) 0xc6546218
#9  0xc65ba11b in dmu_objset_open_impl (spa=0xc610b000, ds=0x0, bp=0xc6546218, osip=0x0)
    at /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dmu_objset.c:177
	winner = (objset_impl_t *) 0xc6546218
	osi = (objset_impl_t *) 0xc6546000
	i = 145
	err = -967548392
	checksum = 0
#10 0xc65ba29b in dmu_objset_create_impl (spa=0xc610b000, ds=0x0, bp=0xc6546218, type=DMU_OST_META, tx=0xc6ae7600)
    at /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dmu_objset.c:402
	osi = (objset_impl_t *) 0xc65bcbbf
	mdn = (dnode_t *) 0xc6546200
#11 0xc65c730b in dsl_pool_create (spa=0xc610b000, txg=) at /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c:146
	dp = (dsl_pool_t *) 0xc6546200
	tx = (dmu_tx_t *) 0xc6ae7600
#12 0xc65cefc6 in spa_create (pool=0xc610b000 "À§)Æ", nvroot=0xc629b0a0, altroot=0x0)
    at /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/spa.c:1180
	spa = (spa_t *) 0xc610b000
	rvd = (vdev_t *) 0xc653b400
	dp = (dsl_pool_t *) 0x0
	tx = (dmu_tx_t *) 0x0
	c = 1
	error = 0
	spares = (nvlist_t **) 0xecd4ebd4
	nspares = 3328129721
	__func__ = (kgdb) 

--------------010707070608030500070602--



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