Displaying 12 results from an estimated 12 matches for "pxe_searchdir".
2009 Aug 08
2
[PATCH] pxe: fix OACK packet handling
...dling of the OACK packet and makes the code
work with all combinations of the tsize and blksize options.
Signed-off-by: Sebastian Herbszt <herbszt at gmx.de>
diff --git a/core/pxe.c b/core/pxe.c
index 81d3e23..a4b8a14 100644
--- a/core/pxe.c
+++ b/core/pxe.c
@@ -913,8 +913,10 @@ static void pxe_searchdir(char *filename, struct file *file)
* Now we need to parse the OACK packet to get the transfer
* and packet sizes.
*/
- if (!buffersize)
+ if (!buffersize) {
+ filesize = -1;
goto done; /* No options acked */
+ }...
2016 Apr 27
2
PXERETRY directive
...ase matching search )
> com32/elflink/ldlinux/readconfig.c:1305: else if (looking_at(p, "pxeretry"))
> com32/elflink/ldlinux/readconfig.c:1306: PXERetry =
> atoi(skipspace(p + 8));
>
> core/fs/pxe/pxe.c:275: int i = PXERetry;
>
>
> It's used in pxe_searchdir() to affect how many times it retries to
> open a file and added in commit 4f989f247 for 4.03.
What is a recommend value for the directive?
Has it a default value?
Groeten
Geert Stappers
Currently not reading source, but reading email to help the project
--
Leven en laten leven
2016 Apr 22
4
PXERETRY directive
Would someone please be so kind to explain / describe the PXERETRY
directive?
TIA,
Ady.
2010 Jul 20
3
fix byte ordering problem in TFTP/PXE fs access
Hello,
When trying out (g)pxelinux using TFTP URLs and the '<host>::<path>' syntax,
pxelinux seemed to "hang". Some printf debugging and tcpdump revealed that it
looped in the timeout after sending the TFTP RRQ. Further investigation
revealed, that if a plain IP address (e.g. "tftp://12.34.56.78/something") is
used, the byte order is not converted from host
2013 Jul 29
2
Syslinux 6.01 PXE tftp problem
I've tried the pre version, also the today's pre15. Also not working.
I've checked it with wireshark, here is the output:
No. Time Source Destination Protocol
Length Info
1 0.000000 192.168.3.13 192.168.3.1 TFTP 97
Read Request, File: rescue/dev-64/vmlinuz, Transfer type: octet,
tsize\000=0\000,
2016 Apr 27
4
PXERETRY directive
...git grep -ni pxeretry
> com32/elflink/ldlinux/readconfig.c:1305: else if (looking_at(p, "pxeretry"))
> com32/elflink/ldlinux/readconfig.c:1306: PXERetry =
> atoi(skipspace(p + 8));
>
> core/fs/pxe/pxe.c:275: int i = PXERetry;
>
>
> It's used in pxe_searchdir() to affect how many times it retries to
> open a file and added in commit 4f989f247 for 4.03.
>
> --
> -Gene
If possible, I would appreciate some additional information, perhaps
aimed at common users?
Some of the following questions might sound strange to some readers,
but I hav...
2016 Apr 27
0
PXERETRY directive
...describe the PXERETRY
> directive?
$ git grep -ni pxeretry
com32/elflink/ldlinux/readconfig.c:1305: else if (looking_at(p, "pxeretry"))
com32/elflink/ldlinux/readconfig.c:1306: PXERetry =
atoi(skipspace(p + 8));
core/fs/pxe/pxe.c:275: int i = PXERetry;
It's used in pxe_searchdir() to affect how many times it retries to
open a file and added in commit 4f989f247 for 4.03.
--
-Gene
2016 Apr 27
0
PXERETRY directive
...lflink/ldlinux/readconfig.c:1305: else if (looking_at(p, "pxeretry"))
> > com32/elflink/ldlinux/readconfig.c:1306: PXERetry =
> > atoi(skipspace(p + 8));
> >
> > core/fs/pxe/pxe.c:275: int i = PXERetry;
> >
> >
> > It's used in pxe_searchdir() to affect how many times it retries to
> > open a file and added in commit 4f989f247 for 4.03.
>
> What is a recommend value for the directive?
> Has it a default value?
>
>
> Groeten
> Geert Stappers
> Currently not reading source, but reading email to help the p...
2009 Aug 08
0
[PATCH] core:PXELINUX: fix the OACK option parsing bug.
...Signed-off-by: Liu Aleaxander <Aleaxander at gmail.com>
---
core/pxe.c | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/core/pxe.c b/core/pxe.c
index 81d3e23..bda1a54 100644
--- a/core/pxe.c
+++ b/core/pxe.c
@@ -928,20 +928,20 @@ static void pxe_searchdir(char *filename, struct file
*file)
if (*options == 0)
goto done;
- dst = src = options;
- while (buffersize--) {
- if (*src == 0)
- break; /* found a final null */
- *dst++ = *src++ | 0x20;
- if (!buffersi...
2013 Jul 31
0
Fwd: Syslinux 6.01 PXE tftp problem
...d by
starting new search for kernel.
2013/7/29 Matt Fleming <matt at console-pimps.org>
> On Mon, 29 Jul, at 03:28:24PM, Jonas Keidel wrote:
> > I've tried the pre version, also the today's pre15. Also not working.
>
> Can you run,
>
> debug.c32 -e searchdir pxe_searchdir
>
> before loading the kernel? It should display some useful debug info.
>
> --
> Matt Fleming, Intel Open Source Technology Center
>
2016 May 05
0
PXERETRY directive
...lflink/ldlinux/readconfig.c:1305: else if (looking_at(p, "pxeretry"))
> > com32/elflink/ldlinux/readconfig.c:1306: PXERetry =
> > atoi(skipspace(p + 8));
> >
> > core/fs/pxe/pxe.c:275: int i = PXERetry;
> >
> >
> > It's used in pxe_searchdir() to affect how many times it retries to
> > open a file and added in commit 4f989f247 for 4.03.
> >
> > --
> > -Gene
>
> If possible, I would appreciate some additional information, perhaps
> aimed at common users?
>
> Some of the following questions mi...
2016 May 11
0
PXERETRY directive
...t; com32/elflink/ldlinux/readconfig.c:1305: else if (looking_at(p, "pxeretry"))
>> com32/elflink/ldlinux/readconfig.c:1306: PXERetry =
>> atoi(skipspace(p + 8));
>>
>> core/fs/pxe/pxe.c:275: int i = PXERetry;
>>
>>
>> It's used in pxe_searchdir() to affect how many times it retries to
>> open a file and added in commit 4f989f247 for 4.03.
>>
>> --
>> -Gene
>
> If possible, I would appreciate some additional information, perhaps
> aimed at common users?
>
> Some of the following questions might sound...