bugGNU GRUB - Bugs: bug #13649, pxegrub fail to load large image...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #13649: pxegrub fail to load large image (> 95Mo)

Submitter:  Frederic Corne <fcorne>
Submitted:  Wed 06 Jul 2005 08:13:30 AM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  fcorne
Open/Closed:  Closed Release:  None
Release:  0.97 (and others) Reproducibility:  Every Time
Planned Release:  None

Sat 15 Dec 2007 05:22:47 PM UTC, comment #1: 

We've moved to GRUB 2 as a development platform. Please can you check if this bug still applies there, and if it does, reopen it?

Thanks

Robert Millan <robertmh>
Group administrator
Wed 06 Jul 2005 08:13:30 AM UTC, original submission:  

When i'm trying to load a large image with pxegrub with memdisk (from P.Anvin) as kernel , it hangs if the image is more than 95Mo. The machine has plenty of ram (more than 384Mo).

How to reproduce :
0) configure a client and a server for use of pxegrub : dhcpd , tftp, ...
1)download memdisk from syslinux http://syslinux.zytor.com/memdisk.php
2) create a 100Mo image full of zeros:
dd if=/dev/zero of=zero.img bs=512 count=204800
3) put the two in a tftp directory /win for example:
-rwxr--r--  1 root root     19124 jui  5 22:15 memdisk*
-rw-r--r--  1 root root 104857600 jui  6 01:06 zero.img
4) add an entry in menu.lst of pxegrub:
title Test
   debug
   root (nd)
   kernel (nd)/win/memdisk
   initrd /win/zero.img
5) start the client :
It start downloading the img file. the little indicator (-) spins when downloading the file , then rotate very very slowly, then stop .

DEBUG :
in fsys_tftp.c
set DEBUG to 1
and at around  line 391 in tftp_read function, add the grub_printf:
       /* Read the data.  */
grub_printf ("tftp_read %d (size %d)\n", _LINE_ , size);
       if (size > 0 && ! buf_fill (0))
        {
          errnum = ERR_READ;
          return 0;
        }
recompile pxegrub and ndgrub

redo 5) :
there is a lot of "DATA ACK" then there is a "<REXMT>"
the size decreases from 104857600 to 11027232
 (always the same : 11027232)
and then it blocks.

If I try with a 50 or 80Mo image , there is no problem.

If I try the a 100 or 150Mo Image with pxelinux (from syslinux) there is no problem.

Frederic Corne <fcorne>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by robertmh (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-15 robertmh Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code