https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198789
Bug ID: 198789 Summary: Panic while mounting an NANDFS filesystem Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: stefan.ber...@imoriath.com I tried to use NANDFS instead of UFS to keep an SD-Card longer alife. I have tested it on 10.1 -> amd64 (seems working) and 11.0 -> amd64 and armv6 (both making panic) root@test:~ # dd if=/dev/zero of=/nandtest bs=1M count=1024 1024+0 records in 1024+0 records out 1073741824 bytes transfered in 17.864829 secs (63667521 bytes/sec) root@test:~ # mdconfig -a -t vnode /nandtest md0 root@test:~ # newfs_nandfs /dev/md0 filesystem parametsers: blocksize: 0x1000 sectorsize: 0x200 erasesize: 0x20000 mediasize: 0x40000000 segment size: 0x20000 blocks per segment: 0x20 filesystem created successfully total segments: 0x1ffa valid segments: 0x1ffa total space: 1023 MB free: 1023 MB root@test:~ # kldload nandfs root@test:~ # mount -t nandfs /dev/md0 WARNING: NANDFS is considered to be a highly experimental feature in FreeBSD NULL mp in getnewvnode() NULL mp in getnewvnode() NULL mp in getnewvnode() NULL mp in getnewvnode() panic: bsize == 0, check bo->bo_size cpuid = 2 KDB: stack backtrace: db_trace_self_wrapper() ad db_trace_self_wrapper+0x2b/frame 0xfffffe01207f2220 vpanic() at vpanic+0x189/frame 0xfffffe01207f20a0 kassert_panic() at kassert_panic+0x132/frame 0xfffffe01207f2310 getblk() at getblk+0x850/frame 0xfffffe01207f23d0 breadn_flags() at dreadn_flags+0x2d/frame 0xfffffe01207f2410 nandfs_bread() at nandfs_bread+0x6e/frame 0xfffffe01207f2460 nandfs_get_seg_stat() at nandfs_get_seg_stat+0xa7/frame 0xfffffe01207f24e0 nandfs_mount() at nandfs_mount+0x1f62/frame 0xfffffe01207f26d0 vfs_donmount() at vfs_donmount+0x1330/frame 0xfffffe01207f2aa0 sys_nmount() at sys_nmount+0x72/frame 0xfffffe01207f2ae0 amd64_syscall() at amd64_syscall+0x27f/frame 0xfffffe01207f2bf0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe01207f2bf0 --- syscall (378, FreeBSD ELF64, sys_nmount) rip = 0x800aab9ca, rsb = 0x7fffffffdb58, rbp = 0x7fffffffffe0c0 --- KDB: enter: panic -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"