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)

Submitted by:  Frederic Corne <fcorne>
Submitted on:  Wed 06 Jul 2005 08:13:30 AM UTC  
 
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: fcorne
Open/Closed: ClosedRelease: 0.97 (and others)
Release: NoneReproducibility: 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>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Dec 2007 05:22:47 PM UTCrobertmhOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1