Hello, I've recently ran into a problem trying to boot over TFTP using pxelinux.0. On the console, I got the following message: Could not find ramdisk image: initramfs-3.10.0-123.13.2el7.x86_64 It took me a while to figure out that the file *could* be found but that the file permissions were set wrong and the file couldn't be read. At the protocol level (tcpdump), the server reply was looking as follows: 0000 00 05 00 00 50 65 72 6d 69 73 73 69 6f 6e 20 64 ....Permission d 0010 65 6e 69 65 64 00 enied. Likewise, when the kernel image can't be accessed, I get "Could not find kernel image: vmlinuz-3.10.0-123.13.2.el7.x86_64". So errors are apparently not reported very well. Could this please be improved? Thanks, Andreas
Hello Andreas, Andreas Gruenbacher wrote:> Hello, > > I've recently ran into a problem trying to boot over TFTP using > pxelinux.0. On the console, I got the following message: > > Could not find ramdisk image: initramfs-3.10.0-123.13.2el7.x86_64 > > It took me a while to figure out that the file *could* be found but that > the file permissions were set wrong and the file couldn't be read. At > the protocol level (tcpdump), the server reply was looking as follows: > > 0000 00 05 00 00 50 65 72 6d 69 73 73 69 6f 6e 20 64 ....Permission d > 0010 65 6e 69 65 64 00 enied. > > Likewise, when the kernel image can't be accessed, I get "Could not find > kernel image: vmlinuz-3.10.0-123.13.2.el7.x86_64". So errors are > apparently not reported very well. > > Could this please be improved? > > Thanks, > Andreaswhich version of pxelinux were you trying? Looks like < 5.x. Sebastian
Sebastian, On 01/15/2015 12:49 AM, Sebastian Herbszt wrote:> which version of pxelinux were you trying? Looks like < 5.x.the one from Fedora 20, syslinux-4.05. It turns out that pxelinux.0 from Fedora 21, syslinux-6.03, reports "Failed to load ldlinux.c32" when ldlinux.c32 can't be read, and "Loading <FILE>... failed: No such file or directory" when the TFTP server replies with "Permission denied" for the kernel or initrd. So this problem has slightly changed, but it hasn't been fixed. Thanks, Andreas
On 01/14/2015 03:49 PM, Sebastian Herbszt wrote:> Hello Andreas, > > Andreas Gruenbacher wrote: >> Hello, >> >> I've recently ran into a problem trying to boot over TFTP using >> pxelinux.0. On the console, I got the following message: >> >> Could not find ramdisk image: initramfs-3.10.0-123.13.2el7.x86_64 >> >> It took me a while to figure out that the file *could* be found but that >> the file permissions were set wrong and the file couldn't be read. At >> the protocol level (tcpdump), the server reply was looking as follows: >> >> 0000 00 05 00 00 50 65 72 6d 69 73 73 69 6f 6e 20 64 ....Permission d >> 0010 65 6e 69 65 64 00 enied. >> >> Likewise, when the kernel image can't be accessed, I get "Could not find >> kernel image: vmlinuz-3.10.0-123.13.2.el7.x86_64". So errors are >> apparently not reported very well. >> >> Could this please be improved? >> >> Thanks, >> Andreas > > which version of pxelinux were you trying? Looks like < 5.x. >The error code is zero, which means there is no way to understand this error without parsing the string, which is totally server dependent. -hpa