search for: bad_kernel

Displaying 9 results from an estimated 9 matches for "bad_kernel".

Did you mean: load_kernel
2009 Jun 30
2
syslinux 3.11 patch for handling both KVM and serial console input
...orig/ui.inc 2005-08-30 15:54:14.000000000 -0700 +++ s_yslinux-3.11.new/ui.inc 2009-03-20 15:12:45.000000000 -0700 @@ -196,6 +196,13 @@ ; First we need to mangle the kernel name the way DOS would... ; mov si,command_line + call find + mov si,FromFlag + call find + mov si,command_line + jmp bad_kernel + +find: mov di,KernelName push si push di @@ -346,6 +353,8 @@ add bx,byte 4 cmp bx,exten_table_end jna .search_loop ; allow == case (final case) + ret + ; Fall into bad_kernel ; ; bad_kernel: Kernel image not found This message a...
2005 Jan 19
2
RFC 3942 notice: PXELINUX, DHCP options 208-211
Dear friends, In accordance with RFC 3942 I would like to submit the following DHCP options for official consideration. These options are used by PXELINUX, which is part of the SYSLINUX distribution, and although exact usage count is impossible to determine, is widely held to be the most widely used method for booting Linux from a network. ---------- Option 208: pxelinux.magic (string)
2010 Sep 14
0
Handling error scenarios in the core
...39;ve come up with a few questions. 1) core/com32.inc: not_com32r jumps to enter_command. Should it do something based on ONERROR? 2) core/comboot.inc: comboot_bogus_tail and comboot_too_large go to enter_command. Again, use ONERROR? There may be more that I'm missing. I know bad_implicit/bad_kernel and error_or_command (from abort_load) already use it. I know abort_check (executed with user input) does not but this one make a lot of sense as it's not a system error. 3) core/ui.inc and core/abort.inc: bad_implicit/bad_kernel is silent if there's an ONERROR but any other function that...
2011 Apr 01
1
[GIT PULL] elflink ldlinux
The following changes since commit 8c576f1fe03e34879921311f46613a35c6530000: Merge remote-tracking branch 'mfleming/for-hpa/elflink/fix-compiler-warnings' into elflink (2011-03-16 12:53:58 -0700) are available in the git repository at: git://git.zytor.com/users/mfleming/syslinux.git for-hpa/elflink/ldlinux Matt Fleming (1): ldlinux: Perform auto-boot if NOESCAPE set in config
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...ne() * so that the user can help us out. */ -static void load_kernel(const char *kernel) +static void load_kernel(const char *command_line) { struct menu_entry *me; enum kernel_type type; const char *cmdline; + const char *kernel; + + kernel = strdup(command_line); + if (!kernel) + goto bad_kernel; /* Virtual kernel? */ me = find_label(kernel); @@ -78,7 +165,30 @@ static void load_kernel(const char *kernel) goto bad_implicit; type = parse_kernel_type(kernel); + if (type == KT_KERNEL) { + const char *ext; + + /* + * Automatically lookup the extension if one wasn't + * s...
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com> The following patch series is available at, git://git.zytor.com/users/mfleming/syslinux.git elflink All patches are against the 'elflink' branch. This series fixes a few serious bugs and some behavioural incompatibilities with the 4.x series. Matt Fleming (19): ldlinux: Initialise 'p' before using it. ldlinux: Parse
2011 May 25
1
[GIT PULL] elflink ldlinux
...XXX we don't handle LOCALBOOT yet */ - execute(me->cmdline, KT_KERNEL); + enum kernel_type type = KT_KERNEL; + + /* cmdline contains type specifier */ + if (me->cmdline[0] == '.') + type = KT_NONE; + + execute(me->cmdline, type); /* We shouldn't return */ goto bad_kernel; } @@ -98,11 +104,43 @@ static void enter_cmdline(void) int main(int argc, char **argv) { + com32sys_t ireg, oreg; + uint8_t *adv; + int count = 0; + openconsole(&dev_rawcon_r, &dev_ansiserial_w); parse_configs(NULL); - /* TODO: ADV */ + __syslinux_init(); + adv = syslinux_get...
2012 Jul 16
5
[PATCH 0/5] Deleting __intcall() from Syslinux
From: Matt Fleming <matt.fleming at intel.com> Since we can't use __intcall() for EFI, and since we can now have the ELF module code resolve all our symbols at runtime, we should delete as many references to __intcall() as possible and just access the symbols directly. The most interesting patch is the support for weak symbols. We need to be able to reference derivative-specific
2012 Aug 14
1
[GIT PULL] elflink fixes
...ge_type(kernel); + if (type == IMAGE_TYPE_KERNEL) { const char *ext; /* @@ -189,7 +187,7 @@ static void load_kernel(const char *command_line) free((void *)kernel); kernel = k; - type = parse_kernel_type(kernel); + type = parse_image_type(kernel); } } @@ -204,7 +202,7 @@ bad_kernel: */ if (onerrorlen) { rsprintf(&cmdline, "%s %s", onerror, default_cmd); - execute(cmdline, KT_COM32); + execute(cmdline, IMAGE_TYPE_COM32); } } @@ -225,6 +223,35 @@ static void enter_cmdline(void) } } +void ldlinux_enter_command(bool prompt) +{ + const char *cmdli...