[Bug 225624] can't load 'kernel' after enabed soft update journaling
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Feb 2 09:39:24 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225624
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 at FreeBSD.org
Reporter: leo9641 at 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 console:
root at generic:~ # shutdown -r now
Shutdown NOW!
shutdown: [pid 2254]
root at generic:~ # Stopping cron.
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:1628
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 at releng3.nyi.freebsd.org)
EFI boot environment
Loading /boot/defaults/loader.conf
/boot/kernel/kernel text=0x8128b0 data=0xb2190+0x443f15
syms=[0x8+0x10ffb0+0x8+0x102800]
/boot/entropy size=0x1000
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] in 9 seconds...
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
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:
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...
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�
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
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 at 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=24
console=efi
currdev=disk0p2:
efi-version=2.05
hint.smbios.0.mem=0x39b1b000
interpret=OK
loaddev=disk0p2:
prompt=${interpret}
smbios.bios.reldate=01/11/2018
smbios.bios.vendor=U-Boot
smbios.bios.version=2017.01
smbios.chassis.maker=raspberrypi
smbios.planar.maker=raspberrypi
smbios.planar.product=rpi
smbios.socket.enabled=1
smbios.system.maker=raspberrypi
smbios.system.product=rpi
smbios.system.serial=000000004a3c2042
smbios.system.uuid=30303030-3030-3030-3461-336332303432
smbios.version=3.0
twiddle_divisor=1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list