search for: max_cmd_len

Displaying 20 results from an estimated 33 matches for "max_cmd_len".

2005 Feb 23
4
Maximum line length of APPEND option in PXELINUX
Hi, I just replaced the pxelinux.0 of some 2.x version by pxelinux.0 vers. 3.0.7. Some of the PXE Clients refused to boot thereafter (just stopped after reading the config file). I noticed that the APPEND line was too long. Is this intentional? What is the maximum length of the APPEND option line? Thanks, Thomas
2005 Sep 13
2
Fw: Issue with pxelinux
I've been working with Matt Burgess here on this problem, and have found the following: syslinux 3.08-pre10 ? broken >>> config.inc:max_cmd_len=255 syslinux 3.08-pre11 ? works >>> config.inc:max_cmd_len=1023 syslinux 3.08 ? works >>> config.inc:max_cmd_len=1023 syslinux 3.09-pre1 ? works >>> config.inc:max_cmd_len=1023 syslinux 3.09-pre2 ? broken (repeatedly enters pxeboot*) >>> config.inc:max_cmd_le...
2005 Aug 16
8
SYSLINUX 3.10-pre9
I have just pushed out SYSLINUX 3.10-pre9. Please test it out, especially everyone who has been working with me on various systems trying to get them to work, or have had recent breakage. -hpa
2009 Jul 15
0
[PATCH] gfxboot: parse TIMEOUT keyword
...modules/gfxboot.asm =================================================================== --- syslinux-3.82-440-g6483c80.orig/modules/gfxboot.asm +++ syslinux-3.82-440-g6483c80/modules/gfxboot.asm @@ -657,8 +657,7 @@ gfx_input: shl edi,4 add edi, command_line ; buffer (0: no buffer) mov ecx, max_cmd_len ; buffer size -; xor eax,eax ; timeout value (0: no timeout) - mov eax,100 ; timeout value (0: no timeout) + mov eax,[menu_timeout] ; timeout value (0: no timeout) call far [gfx_bc_input] ret @@ -786,6 +785,42 @@ do_default: .noparm: ret +do_timeout: + call skipspace + jz .eof +...
2005 Jun 05
2
pxelinux and DISPLAY
I've begun tinkering with syslinux v3 and have uncovered an anomoly with the DISPLAY file when called by pxelinux.0. If I have: DISPLAY boot.msg With an "^Xsplash.lss\n" in the file boot.msg (exactly: 18 73 70 6C 61 73 68 2E 6C 73 73 0A) file, it will fail to load the rle image. And produce some goofy results in the tftpd log: Jun 5 06:27:06 pxe in.tftpd[24649]: RRQ from
2011 Sep 01
4
[PATCH 1/1] staging: hv: Add support for >2 TB LUN in storage driver.
...yperv_storage.h index a01f9a0..5af82f4 100644 --- a/drivers/staging/hv/hyperv_storage.h +++ b/drivers/staging/hv/hyperv_storage.h @@ -218,6 +218,7 @@ struct vstor_packet { #define STORVSC_MAX_LUNS_PER_TARGET 64 #define STORVSC_MAX_TARGETS 1 #define STORVSC_MAX_CHANNELS 1 +#define STORVSC_MAX_CMD_LEN 16 struct hv_storvsc_request; diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c index 7effaf3..26983ac 100644 --- a/drivers/staging/hv/storvsc_drv.c +++ b/drivers/staging/hv/storvsc_drv.c @@ -701,6 +701,8 @@ static int storvsc_probe(struct hv_device *device)...
2011 Sep 01
4
[PATCH 1/1] staging: hv: Add support for >2 TB LUN in storage driver.
...yperv_storage.h index a01f9a0..5af82f4 100644 --- a/drivers/staging/hv/hyperv_storage.h +++ b/drivers/staging/hv/hyperv_storage.h @@ -218,6 +218,7 @@ struct vstor_packet { #define STORVSC_MAX_LUNS_PER_TARGET 64 #define STORVSC_MAX_TARGETS 1 #define STORVSC_MAX_CHANNELS 1 +#define STORVSC_MAX_CMD_LEN 16 struct hv_storvsc_request; diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c index 7effaf3..26983ac 100644 --- a/drivers/staging/hv/storvsc_drv.c +++ b/drivers/staging/hv/storvsc_drv.c @@ -701,6 +701,8 @@ static int storvsc_probe(struct hv_device *device)...
2009 Apr 09
0
[PATCH] gfxboot: parse DEFAULT keywork in syslinux config file
...es trackbufsize db 0 ungetc_cnt db 0 ungetcdata db 0 label_keyword db 6,''label'',0 +default_keyword db 7,''default'',0 label_cnt dw 0 msg_progname db ''gfxboot: '',0 @@ -875,6 +903,8 @@ gfx_slash db ''/'', 0 db0 db 0 max_cmd_len equ 2047 command_line times max_cmd_len+2 db 0 +dentry_buf times 512 db 0 +dentry_buf_len equ $ - dentry_buf ; menu entry descriptor menu_entries equ 0 -- 1.6.2.2 --------------010806030301010902020205--
2009 Jun 30
2
syslinux 3.11 patch for handling both KVM and serial console input
...08-30 15:36:49.000000000 -0700 +++ s_yslinux-3.11.new/parseconfig.inc 2009-03-20 13:51:17.000000000 -0700 @@ -393,6 +393,7 @@ section .latebss alignb 4 ; For the good of REP MOVSD +FromFlag resb 1 ; ADP: becomes '-' for serial, '+' for kbd command_line resb max_cmd_len+2 ; Command line buffer alignb 4 default_cmd resb max_cmd_len+1 ; "default" command line --- s_yslinux-3.11.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...
2005 Jul 07
0
pxelinux and DISPLAY
...All Rights Reserved +;; Copyright 2002-2005 H. Peter Anvin - All Rights Reserved ;; ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -20,7 +20,7 @@ %ifndef _CONFIG_INC %define _CONFIG_INC -max_cmd_len equ 255 ; Must be odd; 255 is the kernel limit +max_cmd_len equ 1023 ; Must be odd; 255 is the kernel limit HIGHMEM_MAX equ 037FFFFFFh ; DEFAULT highest address for an initrd DEFAULT_BAUD equ 9600 ; Default baud rate for serial port BAUD_DIVISOR equ 115200 ; Serial port parameter diff -urN...
2009 Feb 16
3
[PATCH] cmd.c32: new module to just execute a command
Trivial module to execute an arbitrary command. --- com32/modules/Makefile | 2 +- com32/modules/cmd.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletions(-) create mode 100644 com32/modules/cmd.c diff --git a/com32/modules/Makefile b/com32/modules/Makefile index 2739a39..930e89b 100644 --- a/com32/modules/Makefile +++ b/com32/modules/Makefile
2009 Apr 05
3
[PATCH] Gfxboot COMBOOT module
...+ + add si,26 ; skip header + + add edi,esi + add bx,si + call magic_ok + or eax,eax + jnz find_file_end + + add edi,ecx + jmp find_file_loop + +find_file_end: + ret + +gfx_input: + mov edi,cs + shl edi,4 + add edi, command_line ; buffer (0: no buffer) + mov ecx, max_cmd_len ; buffer size +; xor eax,eax ; timeout value (0: no timeout) + mov eax,100 ; timeout value (0: no timeout) + + call far [gfx_bc_input] + ret + +gfx_l2so: + push eax + mov eax,[esp + 6] + shr eax,4 + mov [esp + 8],ax + and word [esp + 6],byte 0fh + pop eax + ret + +parse_config: + mov [f...
2010 Jul 15
1
Accessing command_line from core C code
...VKernelEnd VKernelEnd resd 1 ; Lowest high memory address used ; This symbol should be used by loaders to indicate @@ -470,6 +471,7 @@ IPAppend db 0 ; Default IPAPPEND option section .uibss alignb 4 ; For the good of REP MOVSD +global command_line command_line resb max_cmd_len+2 ; Command line buffer alignb 4 default_cmd resb max_cmd_len+1 ; "default" command line diff --git a/core/ui.inc b/core/ui.inc index 2d44447..3e28dac 100644 --- a/core/ui.inc +++ b/core/ui.inc @@ -150,44 +150,8 @@ set_func_flag: display_labels: cmp word [NoComplete],0 ; Label co...
2004 Oct 07
1
x86 vs. x86_64 detection proof of concept patch (try two)
..."timeout" command ; pc_timeout: call getint diff -u syslinux-2.11/pxelinux.asm syslinux-2.11.new/pxelinux.asm --- syslinux-2.11/pxelinux.asm 2004-08-04 00:16:53.000000000 -0600 +++ syslinux-2.11.new/pxelinux.asm 2004-10-04 17:33:56.000000000 -0600 @@ -304,6 +304,7 @@ command_line resb max_cmd_len+2 ; Command line buffer alignb 4 default_cmd resb max_cmd_len+1 ; "default" command line +CpuIs64 resw 1 ; Is this cpu a x86_64 machine? ; ; PXE packets which don't need static initialization @@ -392,6 +393,27 @@ call writestr ; +; ID the CPU: Shamelessly borrowed from...
2005 Mar 26
4
[ISOLINUX] No boot: prompt with ISOLINUX 3.07
I found that the version of isolinux.bin (and the debug version too) doesn't work on my Via C3 system. I get the SAY text, but never the boot: prompt. C-A-Del doesn't reboot either. The debug version does not print anything after announcing it's opening the config file. Only the single SAY text follows. The cursor sits on the next blank line, useless (no responses to key presses).
2020 Mar 10
2
[PATCH RFC v2 01/24] scsi: add 'nr_reserved_cmds' field to the SCSI host template
On Wed, Mar 11, 2020 at 12:25:27AM +0800, John Garry wrote: > From: Hannes Reinecke <hare at suse.com> > > Add a new field 'nr_reserved_cmds' to the SCSI host template to > instruct the block layer to set aside a tag space for reserved > commands. > > Signed-off-by: Hannes Reinecke <hare at suse.com> > --- > drivers/scsi/scsi_lib.c | 1 + >
2020 Mar 10
2
[PATCH RFC v2 01/24] scsi: add 'nr_reserved_cmds' field to the SCSI host template
On Wed, Mar 11, 2020 at 12:25:27AM +0800, John Garry wrote: > From: Hannes Reinecke <hare at suse.com> > > Add a new field 'nr_reserved_cmds' to the SCSI host template to > instruct the block layer to set aside a tag space for reserved > commands. > > Signed-off-by: Hannes Reinecke <hare at suse.com> > --- > drivers/scsi/scsi_lib.c | 1 + >
2008 Nov 22
5
[RFC][PATCH] Gfxboot COMBOOT module
...+ + add si,26 ; skip header + + add edi,esi + add bx,si + call magic_ok + or eax,eax + jnz find_file_end + + add edi,ecx + jmp find_file_loop + +find_file_end: + ret + +gfx_input: + mov edi,cs + shl edi,4 + add edi, command_line ; buffer (0: no buffer) + mov ecx, max_cmd_len ; buffer size +; xor eax,eax ; timeout value (0: no timeout) + mov eax,100 ; timeout value (0: no timeout) + + call far [gfx_bc_input] + ret + +gfx_l2so: + push eax + mov eax,[esp + 6] + shr eax,4 + mov [esp + 8],ax + an...
2002 Jan 12
0
no echo patch
...know if this patch has any unwanted sideeffects. Here it does work. diff -ru syslinux-1.66.old/pxelinux.asm syslinux-1.66/pxelinux.asm --- syslinux-1.66.old/pxelinux.asm Wed Jan 2 07:53:39 2002 +++ syslinux-1.66/pxelinux.asm Sat Jan 12 18:40:34 2002 @@ -1327,7 +1327,7 @@ .not_ctrl_f: cmp di,max_cmd_len+command_line ; Check there's space jnb get_char stosb ; Save it - call writechr ; Echo to screen +;Martin call writechr ; Echo to screen get_char_2: jmp short get_char not_ascii: mov byte [FuncFlag],0 cmp al,0Dh ; Enter @@ -1339,8 +1339,8 @@ backspace: cmp di,command_line...
2002 Oct 06
2
Does pxelinux work with >1GB RAM?
On machines with 2GB RAM, pxelinux doesn't seem to work for me. With Intel PXE, I had to limit the memory available to PXE to 768MB RAM. Has anyone tried pxelinux on machines with >= 1GB RAM? How do I limit memory to 768MB for pxelinux? H.J.