Date: Thu, 15 Nov 2012 14:18:33 +0200 From: Andriy Gapon <avg@FreeBSD.org> To: Bartosz Stec <bartosz.stec@it4pro.pl> Cc: freebsd-current@FreeBSD.org Subject: Re: Recent CURRENT - Mounting from zfs:zroot failed with error 22. Message-ID: <50A4DD99.30705@FreeBSD.org> In-Reply-To: <50A4D88A.2010102@it4pro.pl> References: <50A4D88A.2010102@it4pro.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
on 15/11/2012 13:56 Bartosz Stec said the following: > 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. I am looking into this. That's probably a bug in one of my commits. > 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, > -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50A4DD99.30705>