Date: Fri, 02 Feb 2018 09:39:22 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 225624] can't load 'kernel' after enabed soft update journaling Message-ID: <bug-225624-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225624 Bug ID: 225624 Summary: can't load 'kernel' after enabed soft update journaling Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: leo9641@yandex.ru Hello, I installed latest ISO image FreeBSD-12.0-CURRENT-arm64-aarch64-RPI3-20180110-r327788.img (FreeBSD 12.0-CURRENT #0 r327788: Thu Jan 11 17:16:59 UTC 2018) to my device. When I tune on soft update journaling RPI3 don't boot. Below out from serial conso= le: root@generic:~ # shutdown -r now Shutdown NOW! shutdown: [pid 2254] root@generic:~ # Stopping c= ron. Waiting for PIDS: 2204. Stopping sshd. Waiting for PIDS: 2200. Stopping devd. Waiting for PIDS: 1924. Writing entropy file:. Writing early boot entropy file:. Terminated . Jan 11 17:33:52 generic syslogd: exiting on signal 15 Waiting (max 60 seconds) for system process `vnlru' to stop... done Waiting (max 60 seconds) for system process `bufdaemon' to stop... done Waiting (max 60 seconds) for system process `syncer' to stop... lock order reversal: 1st 0xfffffd0001ad09a0 syncer (syncer) @ /usr/src/sys/kern/vfs_subr.c:2157 2nd 0xfffffd00018fab78 devfs (devfs) @ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1= 628 stack backtrace: #0 0xffff0000003a79bc at witness_debugger+0x64 #1 0xffff00000031ef80 at lockmgr_lock_fast_path+0x184 #2 0xffff000000668004 at VOP_LOCK1_APV+0xac #3 0xffff000000418d0c at _vn_lock+0x64 #4 0xffff0000005b75f8 at ffs_sync+0x1a8 #5 0xffff00000040f818 at sync_fsync+0x10c #6 0xffff000000666dbc at VOP_FSYNC_APV+0xac #7 0xffff00000040db38 at sched_sync+0xe0 #8 0xffff00000030b984 at fork_exit+0x7c Syncing disks, vnodes remaining... 3 1 0 0 done All buffers synced. Uptime: 9m8 RPi3 PSCI monitor installed .... FreeBSD/arm64 EFI loader, Revision 1.1 (Thu Jan 11 17:14:07 UTC 2018 root@releng3.nyi.freebsd.org) EFI boot environment Loading /boot/defaults/loader.conf /boot/kernel/kernel text=3D0x8128b0 data=3D0xb2190+0x443f15 syms=3D[0x8+0x10ffb0+0x8+0x102800] /boot/entropy size=3D0x1000 Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel] in 9 seconds...=20 Type '?' for a list of commands, 'help' for more detailed help. OK boot -s .... # mount /dev/ufs/rootfs on / (ufs, local, read-only) devfs on /dev (devfs, local, multilabel) # tunefs -p /dev/ufs/rootfs tunefs: POSIX.1e ACLs: (-a) disabled tunefs: NFSv4 ACLs: (-N) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: soft update journaling: (-j) disabled tunefs: gjournal: (-J) disabled tunefs: trim: (-t) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 4096 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: space to hold for metadata blocks: (-k) 6368 tunefs: optimization preference: (-o) time tunefs: volume label: (-L) rootfs # tunefs -j enable -S 4194304 /dev/ufs/rootfs Using inode 4056 in cg 0 for 4194304 byte journal tunefs: Journal file fragmented. tunefs: soft updates journaling set # tunefs -p /dev/ufs/rootfs=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 tunefs: POSIX.1e ACLs: (-a) disabled tunefs: NFSv4 ACLs: (-N) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: soft update journaling: (-j) enabled tunefs: gjournal: (-J) disabled tunefs: trim: (-t) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 4096 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: space to hold for metadata blocks: (-k) 6368 tunefs: optimization preference: (-o) time tunefs: volume label: (-L) rootfs # shutdown -r now Shutdown NOW! shutdown: [pid 38] # wall: can't open temporary file: Read-only file system Jan 11 17:35:16 shutdown: reboot by root:=20 System shutdown time has arrived Waiting (max 60 seconds) for system process `vnlru' to stop... done Waiting (max 60 seconds) for system process `bufdaemon' to stop... done Waiting (max 60 seconds) for system process `syncer' to stop...=20 Syncing disks, vnodes remaining... 0 0 0 0 0 0 0 0 0 0 done All buffers synced. lock order reversal: 1st 0xfffffd00018d6b78 ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1280 2nd 0xfffffd00018d7240 devfs (devfs) @ /usr/src/sys/kern/vfs_subr.c:2607 stack backtrace: #0 0xffff0000003a79bc at witness_debugger+0x64 #1 0xffff00000031ef80 at lockmgr_lock_fast_path+0x184 #2 0xffff000000668004 at VOP_LOCK1_APV+0xac #3 0xffff000000418d0c at _vn_lock+0x64 #4 0xffff000000409390 at vget+0x78 #5 0xffff000000229adc at devfs_allocv+0xdc #6 0xffff000000229608 at devfs_root+0x44 #7 0xffff000000409ee4 at vflush+0x80 #8 0xffff00000022950c at devfs_unmount+0x3c #9 0xffff000000401a4c at dounmount+0x53c #10 0xffff00000040b238 at vfs_unmountall+0xd4 #11 0xffff0000003e9574 at bufshutdown+0x390 #12 0xffff0000003478e4 at kern_reboot+0x1f8 #13 0xffff000000347680 at sys_reboot+0x378 #14 0xffff000000639740 at do_el0_sync+0x890 #15 0xffff0000006211f4 at handle_el0_sync+0x74 Uptime: 1=EF=BF=BD RPi3 PSCI monitor installed .... >> FreeBSD EFI boot block Loader path: /boot/loader.efi Initializing modules: ZFS UFS Probing 3 block devices.....* done ZFS found no pools UFS found 1 partition Consoles: EFI console=20=20 Command line arguments: loader.efi Image base: 0x379b5008 EFI version: 2.05 EFI Firmware: Das U-boot (rev 0.00) FreeBSD/arm64 EFI loader, Revision 1.1 (Thu Jan 11 17:14:07 UTC 2018 root@releng3.nyi.freebsd.org) \ can't load 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK ls / OK OK lsdev disk devices: disk0: 62521345 X 512 blocks (removable) disk0s1: DOS/Windows disk0s2: FreeBSD disk0s2a: FreeBSD UFS net devices: net0: OK show LINES=3D24 console=3Defi currdev=3Ddisk0p2: efi-version=3D2.05 hint.smbios.0.mem=3D0x39b1b000 interpret=3DOK loaddev=3Ddisk0p2: prompt=3D${interpret} smbios.bios.reldate=3D01/11/2018 smbios.bios.vendor=3DU-Boot smbios.bios.version=3D2017.01 smbios.chassis.maker=3Draspberrypi smbios.planar.maker=3Draspberrypi smbios.planar.product=3Drpi smbios.socket.enabled=3D1 smbios.system.maker=3Draspberrypi smbios.system.product=3Drpi smbios.system.serial=3D000000004a3c2042 smbios.system.uuid=3D30303030-3030-3030-3461-336332303432 smbios.version=3D3.0 twiddle_divisor=3D1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225624-8>