From owner-freebsd-current@FreeBSD.ORG Thu Nov 15 11:57:27 2012 Return-Path: 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 9EF14E26 for ; Thu, 15 Nov 2012 11:57:27 +0000 (UTC) (envelope-from bartosz.stec@it4pro.pl) Received: from mainframe.kkip.pl (kkip.pl [78.9.102.18]) by mx1.freebsd.org (Postfix) with ESMTP id DCF508FC13 for ; Thu, 15 Nov 2012 11:57:26 +0000 (UTC) Received: from 89-69-114-93.dynamic.chello.pl ([89.69.114.93] helo=[192.168.0.100]) by mainframe.kkip.pl with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1TYy4A-0005r2-7C for freebsd-current@freebsd.org; Thu, 15 Nov 2012 12:57:18 +0100 Message-ID: <50A4D88A.2010102@it4pro.pl> Date: Thu, 15 Nov 2012 12:56:58 +0100 From: Bartosz Stec Organization: IT4Pro User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Recent CURRENT - Mounting from zfs:zroot failed with error 22. X-Authenticated-User: bartosz.stec@it4pro.pl X-Authenticator: plain X-Sender-Verify: SUCCEEDED (sender exists & accepts mail) X-Spam-Score: -8.0 X-Spam-Score-Int: -79 X-Exim-Version: 4.80.1 (build at 26-Oct-2012 17:04:45) X-Date: 2012-11-15 12:57:18 X-Connected-IP: 89.69.114.93:51356 X-Message-Linecount: 463 X-Body-Linecount: 452 X-Message-Size: 18048 X-Body-Size: 17604 X-Received-Count: 1 X-Recipient-Count: 1 X-Local-Recipient-Count: 1 X-Local-Recipient-Defer-Count: 0 X-Local-Recipient-Fail-Count: 0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 15 Nov 2012 11:57:27 -0000 Hello list, I wanted to update CURRENT installation on my home server because kernel dated: # uname -a FreeBSD server.obsysa.net 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r240357: Tue Sep 11 19:14:47 CEST 2012 root@server.obsysa.net:/usr/obj/usr/src/sys/ATHLON10 i386 is unstable for me. Unfortunately, I can't succesfully boot any recent CURRENT, it always ends with: Trying to mount root from zfs:zroot []... Mounting from zfs:zroot failed with error 22. at last stage. I've updated world and bootcodes on all disks to latest code, I've tried building with clang and gcc, still the same - old kernel boots, but recent current doesn't. dmesg from old kernel: http://pastebin.com/ppbvTRW8 kernel config: http://pastebin.com/K96T3hrV # gpart show => 34 78165293 ada0 GPT (37G) 34 128 1 freebsd-boot (64k) 162 2097152 2 freebsd-swap (1.0G) 2097314 76068013 3 freebsd-zfs (36G) => 34 78165293 ada1 GPT (37G) 34 128 1 freebsd-boot (64k) 162 2097152 2 freebsd-swap (1.0G) 2097314 76068013 3 freebsd-zfs (36G) => 34 78242909 ada2 GPT (37G) 34 128 1 freebsd-boot (64k) 162 2097152 2 freebsd-swap (1.0G) 2097314 76068013 3 freebsd-zfs (36G) 78165327 77616 - free - (37M) => 34 78242909 ada3 GPT (37G) 34 128 1 freebsd-boot (64k) 162 2097152 2 freebsd-swap (1.0G) 2097314 76068013 3 freebsd-zfs (36G) 78165327 77616 - free - (37M) # gpart show -l => 34 78165293 ada0 GPT (37G) 34 128 1 (null) (64k) 162 2097152 2 swap0 (1.0G) 2097314 76068013 3 disk0 (36G) => 34 78165293 ada1 GPT (37G) 34 128 1 (null) (64k) 162 2097152 2 swap1 (1.0G) 2097314 76068013 3 disk1 (36G) => 34 78242909 ada2 GPT (37G) 34 128 1 (null) (64k) 162 2097152 2 swap2 (1.0G) 2097314 76068013 3 disk2 (36G) 78165327 77616 - free - (37M) => 34 78242909 ada3 GPT (37G) 34 128 1 (null) (64k) 162 2097152 2 swap3 (1.0G) 2097314 76068013 3 disk3 (36G) 78165327 77616 - free - (37M) # zdb zroot: version: 28 name: 'zroot' state: 0 txg: 4 pool_guid: 4467765745870166865 hostid: 2539839140 hostname: 'mfsbsd' vdev_children: 2 vdev_tree: type: 'root' id: 0 guid: 4467765745870166865 create_txg: 4 children[0]: type: 'mirror' id: 0 guid: 697384422102507547 metaslab_array: 33 metaslab_shift: 28 ashift: 9 asize: 38942015488 is_log: 0 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 8710134285551915560 path: '/dev/gpt/disk0' phys_path: '/dev/gpt/disk0' whole_disk: 1 create_txg: 4 children[1]: type: 'disk' id: 1 guid: 13312030606858472664 path: '/dev/gpt/disk2' phys_path: '/dev/gpt/disk2' whole_disk: 1 create_txg: 4 children[1]: type: 'mirror' id: 1 guid: 4490522279017872594 metaslab_array: 30 metaslab_shift: 28 ashift: 9 asize: 38942015488 is_log: 0 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 15041339321584576645 path: '/dev/gpt/disk1' phys_path: '/dev/gpt/disk1' whole_disk: 1 create_txg: 4 children[1]: type: 'disk' id: 1 guid: 18403473023508789449 path: '/dev/gpt/disk3' phys_path: '/dev/gpt/disk3' whole_disk: 1 create_txg: 4 # zpool status -v pool: zroot state: ONLINE scan: scrub repaired 0 in 0h57m with 0 errors on Sun Nov 11 17:55:44 2012 config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gpt/disk0 ONLINE 0 0 0 gpt/disk2 ONLINE 0 0 0 mirror-1 ONLINE 0 0 0 gpt/disk1 ONLINE 0 0 0 gpt/disk3 ONLINE 0 0 0 grep -v # /etc/make.conf CPUTYPE?=athlon-xp KERNCONF=ATHLON10 MALLOC_PRODUCTION=YES WITHOUT_CLANG_IS_CC=YES MASTER_SITE_APACHE_HTTPD?= http://ftp.tpnet.pl/vol/d1/apache/httpd/ http://sunsite.icm.edu.pl/pub/www/apache/dist/httpd/ http://www.apache.net.pl/httpd/ ftp://ftp.task.gda.pl/pub/www/apache/dist/httpd/ ftp://sunsite.icm.edu.pl/pub/www/apache/dist/httpd/ ftp://ftp.tpnet.pl/d1/apache/httpd/ .if ${.CURDIR:M*/ports/*} CFLAGS=-O2 -pipe -fno-strict-aliasing BUILD_OPTIMIZED=YES WITH_OPENSSL=YES WITH_XCHARSET=all WITH_CHARSET=utf8 WITH_COLLATION=utf8_general_ci .endif .if ${.CURDIR:M*/usr/src/*} || ${.CURDIR:M*/usr/obj/*} CFLAGS=-O2 -pipe -fno-strict-aliasing COPTFLAGS=-O -pipe .if !defined(NOCCACHE) CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1} CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1} .endif .endif PERL_VERSION=5.14.2 grep -v # /boot/loader.conf loader_logo="beastie" autoboot_delay="5" accf_http_load="YES" accf_data_load="YES" vm.kmem_size="1536M" vm.kmem_size_max="1536M" zfs_load="YES" geom_mirror_load="YES" geom_stripe_load="YES" aio_load="YES" vfs.root.mountfrom="zfs:zroot" I was cleaning /usr/obj and ccache cache to make sure they are not causing any problems, no luck. Any ideas? Regards, -- Bartosz Stec