Displaying 3 results from an estimated 3 matches for "6d8ab36".
2017 Mar 22
0
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
...ons Thomas, you've found the bug! Very well done. Thank you.
Changing the code to
sectors = (stack-16)
heads = (stack-18)
lets my always fail EBIOS detection version to boot the iso.
Please David if you see this, try this.
Patch:
diff --git a/mbr/isohdpfx.S b/mbr/isohdpfx.S
index 6d8ab36..5a8b267 100644
--- a/mbr/isohdpfx.S
+++ b/mbr/isohdpfx.S
@@ -48,8 +48,8 @@ isolinux_start_hybrid = 0x7c00+64+4
stack = 0x7c00
partoffset = (stack-8)
driveno = (stack-14)
-heads = (stack-16)
-sectors = (stack-18)
+sectors = (stack-16)
+heads = (stack-18)
ebios_flag = (stack-20)
secpercy...
2017 Mar 21
0
Patch: make slightly more verbose versions of isohdp.x.S
...0-9a-z]/) {
$maxsize = $padsize = 439;
diff --git a/mbr/isohdpfv.S b/mbr/isohdpfv.S
new file mode 100644
index 0000000..46c9c07
--- /dev/null
+++ b/mbr/isohdpfv.S
@@ -0,0 +1,3 @@
+#define DEBUG_PRINT 1
+#include "isohdpfx.S"
+
diff --git a/mbr/isohdpfx.S b/mbr/isohdpfx.S
index 17e1efe..6d8ab36 100644
--- a/mbr/isohdpfx.S
+++ b/mbr/isohdpfx.S
@@ -121,10 +121,24 @@ _start:
/* We have GPT partition information */
movl (32+20)(%si), %ecx
movl (36+20)(%si), %ebx
+
+#ifdef DEBUG_PRINT
+ push %si
+ call print_string
+ .ascii "G\r\n"
+ pop %si
+#endif
jmp 1f
/* We have non-...
2017 Mar 22
3
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
Hi,
given the fact that the conversion has the factor HC*SH = "secpercyl",
which is invariant under swapping, there remains as suspect in
read_sector_cbios only this division:
divb (sectors)
There is a suspicious discrepancy in the code:
heads = (stack-16)
sectors = (stack-18)
...
/* here we computer CHS values or just do some dummy computation for EBIOS */
andw $0x3f,