From owner-freebsd-current@FreeBSD.ORG Thu Apr 12 10:01:38 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA14B16A405; Thu, 12 Apr 2007 10:01:38 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp1.yandex.ru (smtp1.yandex.ru [213.180.223.87]) by mx1.freebsd.org (Postfix) with ESMTP id 989C513C457; Thu, 12 Apr 2007 10:01:37 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([77.72.136.145]:25867 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S2078220AbXDLKB3 (ORCPT + 1 other); Thu, 12 Apr 2007 14:01:29 +0400 X-Comment: RFC 2476 MSA function at smtp1.yandex.ru logged sender identity as: bu7cher Message-ID: <461E0375.7080002@yandex.ru> Date: Thu, 12 Apr 2007 14:01:25 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: freebsd-current@freebsd.org, Pawel Jakub Dawidek , Kris Kennaway Content-Type: multipart/mixed; boundary="------------070301060500060000020406" Cc: Subject: ZFS: panic on kldunload X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2007 10:01:38 -0000 This is a multi-part message in MIME format. --------------070301060500060000020406 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Hi, All. I have recently CURRENT on the IBM x3650 server. FreeBSD 7.0-CURRENT #0: Sat Jan 6 12:12:26 MSK 2007 butcher@zfs-storage:/usr/obj/usr/src/sys/ZFS Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (3000.13-MHz 686-class CPU) Cores per package: 2 Logical CPUs per core: 2 real memory = 3221008384 (3071 MB) avail memory = 3150757888 (3004 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 .... acd0: CDRW at ata1-master UDMA33 aacd0: on aac0 aacd0: 69890MB (143134720 sectors) aacd1: on aac0 aacd1: 69890MB (143134720 sectors) aacd2: on aac0 aacd2: 69890MB (143134720 sectors) aacd3: on aac0 aacd3: 69890MB (143134720 sectors) I can't use ZFS on this server. Any manipulation with zpool or zfs brings to panic. Any suggestion? -- WBR, Andrey V. Elsukov --------------070301060500060000020406 Content-Type: text/plain; name="kgdb.txt" Content-Transfer-Encoding: 8bit Content-Disposition: inline; filename="kgdb.txt" Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 3; apic id = 03 fault virtual address = 0x20 fault code = supervisor read, page not present instruction pointer = 0x20:0xc6570b07 stack pointer = 0x28:0xecdc4bf8 frame pointer = 0x28:0xecdc4bfc 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 = 1017 (kldunload) trap number = 12 panic: page fault cpuid = 3 Syncing disks, buffers remaining... 2283 Syncing disks, vnodes remaining...0 2283 2283 2283 2283 2283 2283 0 2283 2283 2283 0 2283 2283 0 2283 2283 0 2283 0 2283 0 2283 2283 0 2283 0 2283 0 Giving up on 2283 buffers 0 Uptime: 20m8s Physical memory: 3063 MB Dumping 120 MB: 105 89 73 57 41 25 9 #0 doadump () at pcpu.h:172 in pcpu.h (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 0xc656d9d0 -s .data 0xc65db340 -s .bss 0xc65ddac0 add symbol table from file "/boot/kernel/zfs.ko.symbols" at .text_addr = 0xc656d9d0 .data_addr = 0xc65db340 .bss_addr = 0xc65ddac0 (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 *) 0xc64a61b0 bootopt = 256 newpanic = 1 ap = 0xecdc4ad8 "ÉÜ\226À" buf = "page fault", '\0' #3 0xc08bafa2 in trap_fatal (frame=0xecdc4bb8, 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 = 2, ssd_xx1 = 0, ssd_def32 = 1, ssd_gran = 1} msg = 0x0 #4 0xc08bac9b in trap_pfault (frame=0xecdc4bb8, usermode=0, eva=32) at /usr/src/sys/i386/i386/trap.c:785 va = 0 vm = (struct vmspace *) 0x0 map = 0xc67f81d0 rv = 1 ftype = 1 '\001' td = (struct thread *) 0xc64a61b0 p = (struct proc *) 0xc64a8240 #5 0xc08ba8e2 in trap (frame=0xecdc4bb8) at /usr/src/sys/i386/i386/trap.c:462 td = (struct thread *) 0xc64a61b0 p = (struct proc *) 0xc64a8240 i = 0 ucode = 0 type = 12 code = 0 addr = -321106952 eva = 32 ksi = {ksi_link = {tqe_next = 0xc06e22e8, tqe_prev = 0xc6805000}, ksi_info = {si_signo = -1063143040, si_errno = 6, si_code = 0, si_pid = 536871841, si_uid = 0, si_status = 0, si_addr = 0x0, si_value = {sival_int = 0, sival_ptr = 0x0}, _reason = {_fault = {_trapno = 0}, _timer = { _timerid = 0, _overrun = 0}, _mesgq = {_mqd = 0}, _poll = {_band = 0}, __spare__ = {__spare1__ = 0, __spare2__ = {0, 0, 0, 0, 0, 0, 0}}}}, ksi_flags = 0, ksi_sigq = 0x0} #6 0xc08a535b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 No locals. #7 0xc6570b07 in kmem_cache_destroy (cache=0x0) at /usr/src/sys/modules/zfs/../../compat/opensolaris/kern/opensolaris_kmem.c:169 No locals. #8 0xc65bbef6 in zil_fini () at /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/zil.c:1181 No locals. #9 0xc65a5f29 in spa_fini () at /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/spa_misc.c:1119 No locals. #10 0xc65c6a55 in zfs_modevent (mod=0xc62a2e80, type=-968203856, unused=0x0) at /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c:1798 error = -968204031 #11 0xc06b7b36 in module_unload (mod=0xc62a2e80, flags=0) at /usr/src/sys/kern/kern_module.c:244 error = 0 #12 0xc06b2245 in linker_file_unload (file=0xc6307400, flags=0) at /usr/src/sys/kern/kern_linker.c:594 mod = 0xc62a2e80 next = 0xc62a2e40 ml = 0x1 nextml = 0xc62a2e80 cp = (struct common_symbol *) 0xc64a61b0 error = -968204031 i = -970314112 #13 0xc06b2b0f in kern_kldunload (td=0xc6307400, fileid=3, flags=0) at /usr/src/sys/kern/kern_linker.c:942 lf = 0xc6307400 error = 2 #14 0xc06b2b6e in kldunloadf (td=0xc64a61b0, uap=0xc64a61b0) at /usr/src/sys/kern/kern_linker.c:971 No locals. #15 0xc08bb26a in syscall (frame=0xecdc4d38) at /usr/src/sys/i386/i386/trap.c:1016 params = 0xbfbfe7f0
callp = (struct sysent *) 0xc09ed360 td = (struct thread *) 0xc64a61b0 p = (struct proc *) 0xc64a8240 orig_tf_eflags = 658 error = 0 narg = 2 args = {3, 0, 0, 4096, -1, 0, 0, 0} code = 444 ksi = {ksi_link = {tqe_next = 0xc64a61b0, tqe_prev = 0xecdc4d38}, ksi_info = {si_signo = 671877032, si_errno = 671877032, si_code = 0, si_pid = 0, si_uid = 3326771776, si_status = -968203856, si_addr = 0xc0947430, si_value = {sival_int = 145, sival_ptr = 0x91}, _reason = {_fault = { _trapno = -1062796988}, _timer = {_timerid = -1062796988, _overrun = -321106708}, _mesgq = {_mqd = -1062796988}, _poll = {_band = -1062796988}, __spare__ = {__spare1__ = -1062796988, __spare2__ = {-321106708, -1064647127, 671543576, 3, -1077942248, -1064675009, -321106696}}}}, ksi_flags = -321126392, ksi_sigq = 0xc06a0028} #16 0xc08a53c0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196 No locals. #17 0x00000033 in ?? () No symbol table info available. (kgdb) --------------070301060500060000020406--