Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Odd problem with HPE smart array and sanboot
2020-10-06, 09:10 (This post was last modified: 2020-10-07 09:53 by p4rancesc0.)
Post: #2
RE: Odd problem with HPE smart array and sanboot
Hi everybody, still so sorry for the triple posting.

I did some more testing:

If the ipxe script contains only:
console
and then execute manually
sanboot

everything get stuck

But if I press control + B, enter the iPXE console, and issue the command:
sanboot
everything works like charm...


So, I guess which is the difference between the CTRL+B console and the console instance created with the script.

I did some debugging...

This is code line where everything get stuck:

PHP Code:
__asm__ __volatile__ REAL_CODE "pushw %%es\n\t"
                                           "pushl %%ebx\n\t"
                                           "popw %%bx\n\t"
                                           "popw %%es\n\t"
                                           "stc\n\t"
                                           "sti\n\t"
                                           "int $0x13\n\t"
                                           "sti\n\t" 
/* BIOS bugs */
                                           
"jc 1f\n\t"
                                           "xorw %%ax, %%ax\n\t"
                                           "\n1:\n\t"
                                           "popw %%es\n\t" 
)
                               : 
"=a" status ), "=b" discard_b ),
                                 
"=c" discard_c ), "=d" discard_d )
                               : 
"a" 0x0201 ), "b" ( *address ),
                                 
"c" ), "d" drive ) ); 

it's inside :

src/arch/x86/interface/pcbios/int13.c

the function is:

static int int13_load_mbr ( unsigned int drive, struct segoff *address )

Best Regards
Francesco
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Odd problem with HPE smart array and sanboot - p4rancesc0 - 2020-10-06 09:10



User(s) browsing this thread: 2 Guest(s)