Darren J Moffat
2006-Jun-19 18:15 UTC
[zfs-discuss] snv_42 zfs/zpool dump core and kernel/fs/zfs won''t load.
I''m pretty sure this is my fault but I need some help in fixing the system. It was installed at one point with snv_29 with the pre integration SUNWzfs package. I did a live upgrade to snv_42 but forgot to remove the old SUNWzfs before I did so. When the system booted up got complaints about kstat install because I still had an old zpool kernel module lying around. So I did pkgrm SUNWzfs and SUNWzfskr SUNWzfsku SUNWzfsr (ie the old and the new). I then rebooted, all okay. Now I need to get ZFS bits on here so I pkgadd SUNWzfs* from the snv_42 Solaris_11/Product directory. All goes fine but zfs(1) and zpool(1) dump core because /dev/zfs doesn''t exist - because kernel/fs/zfs didn''t load. Here is some more info, can some one help me fix this up. For internal to Sun people this is ardbeg.sfbay ardbeg# zpool list internal error: Bad file number Jun 19 11:10:57 ardbeg genunix: NOTICE: core_log: zpool[4895] core dumped: /var/core/zpool.4895.core zsh: IOT instruction (core dumped) zpool list ardbeg# mdb zpool.4895.core Loading modules: [ libumem.so.1 libnvpair.so.1 libuutil.so.1 libc.so.1 libsysevent.so.1 libavl.so.1 ld.so.1 ] > $c libc.so.1`_lwp_kill+7(1, 6) libc.so.1`raise+0x22(6) libc.so.1`abort+0xcd(9, 80db548, fefba000, 8042e34, fef79953, 80db96c) libzfs.so.1`zfs_verror+0xce(80db548, 7f7, fefa8b14, 8042e74) libzfs.so.1`zfs_standard_error+0x7d(80db548, 9, fefa8b14) libzfs.so.1`namespace_reload+0x3cf(80db548) libzfs.so.1`zpool_iter+0x21(80db548, 8059e0f, 80d4fb0) pool_list_get+0x7c(0, 8047e8c, 8043db4) for_each_pool+0x1e(0, 8047e8c, 1, 8055a2d, 8043dec) zpool_do_list+0x191(1, 8047e8c) main+0xc7(2, 8047e84, 8047e90) _start+0x7a(2, 8047f2c, 8047f32, 0, 8047f37, 8047f49) > $q ardbeg# modinfo | grep zfs ardbeg# file /kernel/fs/amd64/zfs /kernel/fs/amd64/zfs: ELF 64-bit LSB relocatable AMD64 Version 1 ardbeg# uname -a SunOS ardbeg 5.11 snv_42 i86pc i386 i86pc ardbeg# digest -a sha1 /kernel/fs/amd64/zfs 22b5a1a76d04238c5156b9edb9696c691c77927d ardbeg# elfsign verify -e /kernel/fs/amd64/zfs elfsign: verification of /kernel/fs/amd64/zfs passed. ardbeg# modload /kernel/fs/amd64/zfs can''t load module: No such device or address ardbeg# truss -t modctl modload /kernel/fs/amd64/zfs modctl(MODLOAD, 0x00000000, 0xFFFFFD7FFFDFF980, 0xFFFFFD7FFFDFFD8C, 0xFFFFFF0000000000) Err#6 ENXIO can''t load module: No such device or address ardbeg# -- Darren J Moffat