[DragonFlyBSD - Bug #3446] (Resolved) Boot loader hangs reading past a CD9660 directory
liweitianux
bugtracker-admin at leaf.dragonflybsd.org
Sun Oct 11 07:13:10 PDT 2026
Issue #3446 has been updated by liweitianux.
Status changed from In Progress to Resolved
Patch merged. Thank you.
----------------------------------------
Bug #3446: Boot loader hangs reading past a CD9660 directory
http://bugs.dragonflybsd.org/issues/3446#change-14835
* Author: sigttou
* Status: Resolved
* Priority: Normal
* Assignee: liweitianux
* Category: installer
* Target version: 6.6
* Start date: 2026-10-11
----------------------------------------
The pc32 boot loader reads a DragonFly install ISO and hangs before the
kernel starts. There is no crash and no panic; it just spins. This
happens on a normal ISO.
@cd9660_open()@ in @stand/lib/cd9660.c@ walks a directory record by
record. It moves the record pointer @dp@ to the next record and only
then adds the record length to the byte counter @off at . Because @dp@ has
already moved, @off@ gets the next record's length, not the current
one.
On the ISO that was checked, @/boot/kernel@ ends with a single @ZLIB.KO;1@ record and the next sector is the start of @aac.ko at . Its first byte @0x7f@ is read as a record length of 127 and its name-length byte is 0, so the scanner never advances and the loader hangs.
---Files--------------------------------
0001-cd9660-handle-padding-after-advance-v2.patch (1.76 KB)
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list