Josef Siemes
2002-Oct-21 15:43 UTC
[syslinux] strange problem with pxelinux - Config file size limit?
Hi, I have some strange problem with pxelinux. I have a quite big config file (>8K), with much labels (29), long append's and some texts on the F-Keys (F1-F5). This works as expected, pxelinux loads all labels without a peep. Now I added 'kbdmap kbd-de' to this config file - and I get strange errors all over. pxelinux reports several times 'Unknown keyword in config file.' and finally 'Missing parameter in config file.'. It seems to work with this, though, since the keyboard remap happened, and also the F-Keys report the desired texts, also I can boot the client as before. If I comment out this kbdmap-line the error stays there - still the 'Unknown keyword'! If I delete the kbdmap-line or if I comment out all the F-Statements it works again. My ideas: - pxelinux has some limit for the config file - kbdmap and F-Statements don't do well - kbdmap redefined '#' - so pxelinux can't read the config file any more (is the config file also processed by kbdmap?) - too many labels - some bug in pxelinux / the pxe stack / the network card that messes up memory - ... Any other ideas? I tried this with pxelinux 1.76. I can also post the config file, the F-Files and the kbdmap, but just wanted to make sure this has to do with it. Regards, Josef ________________________________________________________________ Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
Jim Wright
2002-Oct-21 17:46 UTC
[syslinux] strange problem with pxelinux - Config file size limit?
I've also found what appears to be a limit in pxelinux for the number of labels. It seems to be higher than what you have though. I've worked around it be commenting out things. My setup is working, and the only thing you mention which I don't have is a kbdmap statement. But the error messages you mention sound like what I encountered when I had a few more label statements in the config file. % grep -i ^label /tftpboot/pxelinux.cfg/default | wc -l 59 % grep -i ^#label /tftpboot/pxelinux.cfg/default | wc -l 10 % wc -c /tftpboot/pxelinux.cfg/default 9935 default % grep -i ^f default | wc -l 10 On Mon, 21 Oct 2002, Josef Siemes wrote:> Hi, > > I have some strange problem with pxelinux. I have a quite big config file (>8K), with much labels > (29), long append's and some texts on the F-Keys (F1-F5). This works as expected, pxelinux > loads all labels without a peep. > > Now I added 'kbdmap kbd-de' to this config file - and I get strange errors all over. pxelinux > reports several times 'Unknown keyword in config file.' and finally 'Missing parameter in config file.'. > It seems to work with this, though, since the keyboard remap happened, and also the F-Keys > report the desired texts, also I can boot the client as before. If I comment out this kbdmap-line the error stays there - still the 'Unknown keyword'! If I delete the kbdmap-line or if I comment > out all the F-Statements it works again. > > My ideas: > - pxelinux has some limit for the config file > - kbdmap and F-Statements don't do well > - kbdmap redefined '#' - so pxelinux can't read the config file any more (is the config file also > processed by kbdmap?) > - too many labels > - some bug in pxelinux / the pxe stack / the network card that messes up memory > - ... > > Any other ideas? > > I tried this with pxelinux 1.76. I can also post the config file, the F-Files and the kbdmap, > but just wanted to make sure this has to do with it. > > Regards, > > Josef > > ________________________________________________________________ > Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! > Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 > > > _______________________________________________ > SYSLINUX mailing list > Submissions to SYSLINUX at zytor.com > Unsubscribe or set options at: > http://www.zytor.com/mailman/listinfo/syslinux >Jim Wright, Senior Engineer Tel: 415-358-2609 Fax: 415-358-2646 Toll Free: 888-PENGUIN PENGUIN COMPUTING - www.penguincomputing.com
Josef Siemes
2002-Oct-22 09:38 UTC
[syslinux] strange problem with pxelinux - Config file size limit?
Hi, "H. Peter Anvin" <hpa at zytor.com> schrieb am 21.10.02 20:23:56:> PXELINUX *should* have a limit of 128 labels. Both of these seem to > have in common that the config file is more than 8K, which means it's > larger than the getcbuf, which could be the problem.ok, so my config file stays within the 128 label limit.> However, without actually seeing the config files it's all but > impossible to guess what might be wrong. > > This definitely sounds like a bug, though.I stripped down the config file without the keymap and F1-F5-files on the server: Same problem. So take the attached config file, make sure the keymap and F1-F5-files aren't there. This should give 9 'Unknown keyword ...'-errors, and one 'Missing parameter ...'-error on pxelinux 1.76 before the 'boot:-prompt. If you delete the 'kbdmap invalid' - line pxelinux should give no error. I gave this file as the IP address config file, so this is named '0A01A8F8'. Since I also tried with a different client the IP address shouldn't matter. BTW: The append's contain homebrew kernel-parameters. These are in fact needed, since I parse these in the init-scripts. Regards, Josef ________________________________________________________________ Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 -------------- next part -------------- A non-text attachment was scrubbed... Name: default-sc-buggy Type: application/octet-stream Size: 8566 bytes Desc: not available URL: <http://www.zytor.com/pipermail/syslinux/attachments/20021022/9bf6d3b7/attachment.obj>