search for: confignam

Displaying 20 results from an estimated 26 matches for "confignam".

Did you mean: configname
2011 Jul 12
0
[PATCH] pxelinux: open_file() returns a non-negative handle
...b/core/fs/pxe/pxe.c index f0f8b61..d689e61 100644 --- a/core/fs/pxe/pxe.c +++ b/core/fs/pxe/pxe.c @@ -1065,7 +1065,7 @@ static int pxe_open_config(struct com32_filedata *filedata) get_prefix(); if (DHCPMagic & 0x02) { /* We got a DHCP option, try it first */ - if (!open_file(ConfigName, filedata)) + if (open_file(ConfigName, filedata) >= 0) return 0; } @@ -1077,13 +1077,13 @@ static int pxe_open_config(struct com32_filedata *filedata) /* Try loading by UUID */ if (have_uuid) { strcpy(config_file, UUID_str); - if (!open_file(ConfigName, filedata)) + if...
2013 Jun 27
3
Syslinux 6.00 released
On Thu, 27 Jun, at 11:45:28AM, Matt Fleming wrote: > I'll bisect to see why this broke after 5.01. Which is... commit 5447ef821c24b526079ef785d2454ed0efff3e2b Author: Matt Fleming <matt.fleming at intel.com> Date: Thu Feb 28 17:44:54 2013 +0000 ldlinux: Always update ConfigName when opening a config file With the introduction of commit aa7dd29db684 ("ldlinux: Pass config filename as argv[1] to ldlinux.c32") we stopped using ConfigName to store the filename of the config file we intend to open in execute() since it interfered with the filesy...
2013 Jun 27
0
Syslinux 6.00 released
...7 Jun, at 11:45:28AM, Matt Fleming wrote: | > I'll bisect to see why this broke after 5.01. | | Which is... | | commit 5447ef821c24b526079ef785d2454ed0efff3e2b | Author: Matt Fleming <matt.fleming at intel.com> | Date: Thu Feb 28 17:44:54 2013 +0000 | | ldlinux: Always update ConfigName when opening a config file | | With the introduction of commit aa7dd29db684 ("ldlinux: Pass | config | filename as argv[1] to ldlinux.c32") we stopped using ConfigName | to | store the filename of the config file we intend to open in | execute() | since i...
2008 May 16
1
xm new
Hello, i have Centos5.1 64bit, with xen3.2, using centos xen kernel, xen3.2 builded from source rpm for centos. Virtual machines work fine trough xm create configname ,but when i am trying to add them to xen source : xm new configname, this is what i get : [root at xen-prod xen]# xm new test01.hvm Unexpected error: exceptions.ImportError Please report to xen-devel at lists.xensource.com Traceback (most recent call last): File "/usr/sbin/xm", line...
2013 Jun 27
3
Syslinux 6.00 released
Hi, I have the same problem as Helmut with INCLUDE keyword and extlinux 5.10 an later. The following configuration has been tested and worked with extlinux 4.05, 4.06, 5.01 Contents of "boot_label" file DEFAULT 1 --------------------------------------- Contents of "extlinux.conf" file # Enable menu.c32 UI menu.c32 # Disable the boot: prompt PROMPT 0 # 5 sec TIMEOUT 50 #
2008 Nov 10
1
[PATCH 1/1] COMBOOT API: Add get current working directory call to most (revised)
...+43,7 @@ SYMLINK_SECTORS equ 2 ; Max number of sectors in a symlink ; (should be >= FILENAME_MAX) ROOT_DIR_WORD equ 0x002F +CUR_DIR_DWORD equ 0x00002F2E ; ; This is what we need to do when idle @@ -845,7 +846,7 @@ load_config: mov si,config_name ; Save config file name mov di,ConfigName call strcpy - mov word[CurrentDirName], ROOT_DIR_WORD ; Write '/',0 to the CurrentDirName + mov dword[CurrentDirName], CUR_DIR_DWORD ; Write './',0,0 to the CurrentDirName call build_curdir_str mov di,ConfigName diff --git a/core/isolinux.asm b/core/isolinux.asm index f...
2008 Nov 10
2
[PATCH 1/1] COMBOOT API: Add get current working directory call to most
...ADV dw comapi_writeadv ; 001D write ADV to disk + dw comapi_getcwd ; 001E get current working directory int22_count equ ($-int22_table)/2 APIKeyWait db 0 @@ -1109,3 +1118,4 @@ err_comlarge db 'COMBOOT image too large.', CR, LF, 0 alignb 4 DOSErrTramp resd 33 ; Error trampolines ConfigName resb FILENAME_MAX +CurrentDirName resb FILENAME_MAX diff --git a/core/extlinux.asm b/core/extlinux.asm index 24d0d92..c9ec166 100644 --- a/core/extlinux.asm +++ b/core/extlinux.asm @@ -42,6 +42,8 @@ MAX_SYMLINKS equ 64 ; Maximum number of symlinks per lookup SYMLINK_SECTORS equ 2 ; Max number...
2014 Feb 24
3
[RFC, PATCH] core/pxe: Add architecture-specific discovery request for PXE config file
...082 100644 --- a/core/fs/pxe/pxe.c +++ b/core/fs/pxe/pxe.c @@ -471,6 +471,11 @@ static int pxe_open_config(struct com32_filedata *filedata) tries--; }; + /* Try by client architecture */ + sprintf(config_file, "arch-%04x", ntohs(DHCP_CLIENT_ARCH)); + if (open_file(ConfigName, O_RDONLY, filedata) >= 0) + return 0; + /* Final attempt: "default" string */ strcpy(config_file, default_str); if (open_file(ConfigName, O_RDONLY, filedata) >= 0) diff --git a/core/fs/pxe/pxe.h b/core/fs/pxe/pxe.h index 279957a..9ba27e5 100644 --- a/core/fs/...
2011 Mar 27
1
[PATCH] MAC Address Ranges
...r *config_file; char *last; int tries = 8; + int mac_tries = 16; + char *last_mac; get_prefix(); if (DHCPMagic & 0x02) { @@ -1101,8 +1103,16 @@ static int pxe_load_config(void) /* Try loading by MAC address */ strcpy(config_file, MAC_str); - if (try_load(ConfigName)) - return 0; + last_mac = &config_file[20]; + + while (mac_tries) { + *last_mac = '\0'; + if (try_load(ConfigName)) { + return 0; + } + last_mac--; + mac_tries--; + } /* Nope, try hexadecimal IP prefixes... */...
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
2009 Jan 04
1
How to compile Kernel with pciback.hide
...:07.0)(0000:02:08.0)(0000:02:09.0) Unknown boot option `pciback.hide=(0000:02:05.0)(0000:02:06.0)(0000:02:07.0)(0000:02:08.0)(0000:02:09.0)'': ignoring when i tried to compile a Kernel like last times, it doesn''t work... DOMAIN0:/usr/src/xen-3.3.0# make linux2.6-xen0-config CONFIGNAME=menuconfig KERNELS="linux-2.6-xen0" make -f buildconfigs/mk.linux2.6-xen0 config make[1]: Entering directory `/usr/src/xen-3.3.0'' make[1]: buildconfigs/mk.linux2.6-xen0: Datei oder Verzeichnis nicht gefunden make[1]: *** Keine Regel, um »buildconfigs/mk.linux2.6-xen0« zu ers...
2013 May 21
3
Centos 6.4: Possible bug in system-config-network-cmd
...ter MYHOST=<hostname>, and I am using system-config-network-cmd to set the boot configuration during the network process (using a small custom system service that runs just before network startup, reads the configuration name from /proc/cmdline and calls "system-config-network-cmd -p <configname>"). I have properly disabled NetworkManager, and have /etc/sysconfig/networking/devices and .../profiles set up correctly AFAIK (it was all copied from a CentOS 5 machine, and the hand links were maintained properly as needed; such a PITA that they got rid of the very nice GUI for this)....
2009 Feb 08
1
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
...0020 open directory + dw comapi_readdir ; 0021 read directory + dw comapi_closedir ; 0022 close directory int22_count equ ($-int22_table)/2 APIKeyWait db 0 @@ -1124,3 +1194,4 @@ err_comlarge db 'COMBOOT image too large.', CR, LF, 0 alignb 4 DOSErrTramp resd 33 ; Error trampolines ConfigName resb FILENAME_MAX +CurrentDirName resb FILENAME_MAX diff --git a/core/extlinux.asm b/core/extlinux.asm index 24d0d92..c7a51e9 100644 --- a/core/extlinux.asm +++ b/core/extlinux.asm @@ -42,6 +42,9 @@ MAX_SYMLINKS equ 64 ; Maximum number of symlinks per lookup SYMLINK_SECTORS equ 2 ; Max number...
2012 Oct 19
3
[PATCH 0/3] elflink fixes
From: Matt Fleming <matt.fleming at intel.com> The first two patches in this series are fixes for bugs reported by someone in #syslinux. The third makes dmitest.c32 actually wait for user input. If no one has any objections/concerns, I'll pull this into the official elflink branch. Matt Fleming (3): core: Print error message if we don't load ldlinux.c32 Clean up $(GPLLIB) leak
2008 Dec 04
2
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
...001F open directory + dw comapi_readdir ; 0020 read directory + dw comapi_closedir ; 0021 close directory int22_count equ ($-int22_table)/2 APIKeyWait db 0 @@ -1109,3 +1179,4 @@ err_comlarge db 'COMBOOT image too large.', CR, LF, 0 alignb 4 DOSErrTramp resd 33 ; Error trampolines ConfigName resb FILENAME_MAX +CurrentDirName resb FILENAME_MAX diff --git a/core/extlinux.asm b/core/extlinux.asm index 24d0d92..c7a51e9 100644 --- a/core/extlinux.asm +++ b/core/extlinux.asm @@ -42,6 +42,9 @@ MAX_SYMLINKS equ 64 ; Maximum number of symlinks per lookup SYMLINK_SECTORS equ 2 ; Max number...
2013 Jun 04
3
Syslinux 5.10 released
...pxe: disentangle the legacy and lwip stacks without #ifdef font: load data as a single block serial: Clean up and abstract handling of serial ports Josh Triplett (1): Fix support for Linux kernel images with no protected mode code Matt Fleming (12): ldlinux: Always update ConfigName when opening a config file readconfig: Don't display "(null)" labels when hitting TAB Partially revert "pxe: Pass absolute path to pxe_chdir()" ldlinux: Fixup lwip merge botch pxe: Fix compiler warnings and real bug load_linux: update errno bef...
2012 Nov 02
10
[PATCH 0/9] elflink fixes
From: Matt Fleming <matt.fleming at intel.com> Here are the patches that I've got queued up based on the very helpful feedback I received from people testing Syslinux 5.00-pre9. Unless anyone has any concerns these will make it into Syslinux 5.00-pre10. Matt Fleming (9): pxe: Don't call open_config() from the pxe core ldlinux: Print a warning if no config file is found
2008 Jun 17
1
ldlinux: CurrentDir not set if syslinux.cfg is missing
If a syslinux floppy does not contain a config file (syslinux.cfg) modules are not being found unless specified with a directory prefix (e.g. /pcitest.c32). The reason is that CurrentDir is only set if there is a config file present. This is a possible regression since commit 68eefb79e2cbb590ebf958dd0c50ce00b941abd2. Before this change RootDir was used in searchdir and now it's CurrentDir
2008 Jul 09
1
[RESEND][PATCH] ldlinux: CurrentDir not set if syslinux.cfg is missing
...his to the top of the "check for config file" block. Initialize CurrentDir to RootDir and change it if a config file is found. - Sebastian --- core/ldlinux.asm.orig 2008-06-17 19:25:35.000000000 +0200 +++ core/ldlinux.asm 2008-06-18 12:10:45.000000000 +0200 @@ -901,6 +901,8 @@ mov di,ConfigName call strcpy + mov eax,[RootDir] ; Make the root directory ... + mov [CurrentDir],eax ; ... the current directory mov di,syslinux_cfg1 call open jnz .config_open
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.