[Bug 234031] loader can't traverse filesystem, LUA ERROR: cannot open /boot/lua/loader.lua

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 1 19:49:54 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234031

--- Comment #42 from Adam <adamrosas1972 at gmail.com> ---
so I built btxldr with BTXLDR_VERBOSE and had to resort to taking pictures of
the monitor, my problem machined is passing the bootdev for CDROM's in the 0x90
range (scsi is 0x9f and ide is 0x90) while my working machine has the CDROM
bootdev as 0x82.

looking through the code a 'base/head/stand/i386/llibi386/biosdisk.c' it
appears that 0x80 is assumed in 2 places, and in
'/base/stable/10/sys/boot/i386/libi386' it looks like CDROM is handled by
bioscd.c and doesn't make such assumptions. At some point after freebsd 10,
biosdisk.c and bioscd.c were merged, is my guess. 

images  are too large to attach, please forgive the mega link.
https://mega.nz/#!CfRhiIiD!sU86zyBKp2AcDCk7qQBMwl-dbjTqISD2lifND7nqQXM

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list