Date: Mon, 18 Mar 2019 03:34:47 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 236585] BTX Halted upgrading FreeBSD 11.2 UFS from r344213 to r345199 Message-ID: <bug-236585-227-wwwDE731sH@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-236585-227@https.bugs.freebsd.org/bugzilla/> References: <bug-236585-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236585 --- Comment #1 from john@feith.com --- Created attachment 202946 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=202946&action=edit Patch for crash Here's what seems to be happening ... 1) bd_init calls bd_int13probe which creates entries for the various drives, including the card reader. Unfortunately bd_sectorsize is set to zero for the card reader (presumably because no media is present). 2) zfs_dev_init calls i386_zfs_probe which uses zfs_probe_dev to probe all the drives. 3) zfs_probe_dev -> open -> disk_open -> ptable_open -> ptable_iso9660read at which point things go splat due to cdb2devb attempting to divide by the sector size (which is zero). Fixed by having disk_open check for a sector size of zero. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236585-227-wwwDE731sH>
