Received: from list by lists.gnu.org with archive (Exim 4.71) id 1TGaIO-0000I4-66 for mharc-grub-devel@gnu.org; Tue, 25 Sep 2012 14:55:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGaIL-0000Hy-MQ for grub-devel@gnu.org; Tue, 25 Sep 2012 14:55:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGaIK-0004X7-91 for grub-devel@gnu.org; Tue, 25 Sep 2012 14:55:45 -0400 Received: from che.mayfirst.org ([209.234.253.108]:43775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGaIK-0004X3-4X for grub-devel@gnu.org; Tue, 25 Sep 2012 14:55:44 -0400 Received: from pip.fifthhorseman.net (lair.fifthhorseman.net [108.58.6.98]) by che.mayfirst.org (Postfix) with ESMTPSA id 9D662F970 for ; Tue, 25 Sep 2012 14:55:42 -0400 (EDT) Received: by pip.fifthhorseman.net (Postfix, from userid 1000) id 452EB118D4; Tue, 25 Sep 2012 14:55:40 -0400 (EDT) From: Daniel Kahn Gillmor To: Grub 2 Development List Subject: pxe failing on grub 2.00 for files larger than 50KiB User-Agent: Notmuch/0.13.2 (http://notmuchmail.org) Emacs/23.4.1 (i486-pc-linux-gnu) Date: Tue, 25 Sep 2012 14:55:35 -0400 Message-ID: <876272dja0.fsf@pip.fifthhorseman.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 209.234.253.108 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 18:55:47 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable hi grub folks-- i'm using grub 2.00-5 from debian experimental. I made a pxeboot netdir with grub-mknetdir. i'm trying to boot from it, and i get: error: timeout reading '/boot/grub/i386-pc/normal.mod'. From=20the command prompt, i can successfully load smaller modules like cat.mod and hello.mod, but trying to do "insmod normal" gives me the timeout. doing a packet capture on the tftp server, i see this: $ tshark -n -r tftp.pcap=20 1 0.000000 192.168.13.114 -> 192.168.13.1 TFTP 98 Read Request, File: /= boot/grub/i386-pc/cat.mod, Transfer type: octet, blksize\000=3D1024\000, ts= ize\000=3D0\000 2 0.002586 192.168.13.1 -> 192.168.13.114 TFTP 68 Option Acknowledgemen= t, blksize\000=3D1024\000, tsize\000=3D2232\000 3 0.002858 192.168.13.114 -> 192.168.13.1 TFTP 60 Acknowledgement, Bloc= k: 0 4 0.003064 192.168.13.1 -> 192.168.13.114 TFTP 1070 Data Packet, Block:= 1 5 0.003741 192.168.13.114 -> 192.168.13.1 TFTP 60 Acknowledgement, Bloc= k: 1 6 0.003846 192.168.13.1 -> 192.168.13.114 TFTP 1070 Data Packet, Block:= 2 7 0.004523 192.168.13.114 -> 192.168.13.1 TFTP 60 Acknowledgement, Bloc= k: 2 8 0.004618 192.168.13.1 -> 192.168.13.114 TFTP 230 Data Packet, Block: = 3 (last) 9 0.004901 192.168.13.114 -> 192.168.13.1 TFTP 60 Acknowledgement, Bloc= k: 3 10 5.189722 192.168.13.114 -> 192.168.13.1 TFTP 101 Read Request, File: = /boot/grub/i386-pc/normal.mod, Transfer type: octet, blksize\000=3D1024\000= , tsize\000=3D0\000 11 5.192318 192.168.13.1 -> 192.168.13.114 TFTP 70 Option Acknowledgemen= t, blksize\000=3D1024\000, tsize\000=3D110364\000 12 5.192602 192.168.13.114 -> 192.168.13.1 TFTP 60 Acknowledgement, Bloc= k: 0 13 5.192779 192.168.13.1 -> 192.168.13.114 TFTP 1070 Data Packet, Block:= 1 14 5.193423 192.168.13.114 -> 192.168.13.1 TFTP 60 Acknowledgement, Bloc= k: 1 15 5.193537 192.168.13.1 -> 192.168.13.114 TFTP 1070 Data Packet, Block:= 2 16 5.194219 192.168.13.114 -> 192.168.13.1 TFTP 60 Acknowledgement, Bloc= k: 2 [...a bunch of TFTP data and acks snipped...] 109 5.229248 192.168.13.1 -> 192.168.13.114 TFTP 1070 Data Packet, Block:= 49 110 5.229909 192.168.13.114 -> 192.168.13.1 TFTP 60 Acknowledgement, Bloc= k: 49 111 5.230033 192.168.13.1 -> 192.168.13.114 TFTP 1070 Data Packet, Block:= 50 112 5.230699 192.168.13.114 -> 192.168.13.1 TFTP 60 Acknowledgement, Bloc= k: 50 113 5.230798 192.168.13.1 -> 192.168.13.114 TFTP 1070 Data Packet, Block:= 51 114 6.234305 192.168.13.1 -> 192.168.13.114 TFTP 1070 Data Packet, Block:= 51 115 8.238690 192.168.13.1 -> 192.168.13.114 TFTP 1070 Data Packet, Block:= 51 116 12.243560 192.168.13.1 -> 192.168.13.114 TFTP 1070 Data Packet, Block:= 51 117 14.821514 192.168.13.114 -> 192.168.13.1 TFTP 60 Error Code, Code: Not= defined, Message: closed $=20 any idea what's going on here? i note that normal.mod is the largest module on the system, at 110364 bytes.=20 also, when i try to "cat test.txt" and test.txt is a large file, it only prints about 32767 bytes from the file before hanging, and then producing: > error: timeout reading 'test.txt' looking at the network, i see that it actually acknowledges the receipt of 50 1024-byte chunks, even though only 32 of them are being printed. So i'd say there's some sort of bug in this version of grub's pxe code that makes it unable to fetch anything larger than 50KiB. This is *not* a problem when pxebooting with grub 1.99. can i provide any more details that would help track this down? --dkg --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQJ8BAEBCgBmBQJQYf4nXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwRUU1QkU5NzkyODJEODBCOUY3NTQwRjFD Q0QyRUQ5NEQyMTczOUU5AAoJEMzS7ZTSFznphHsQAJiKWXIUkeJHHuxygsfUYFju lK3V7JFgkGawKE2ddKY0xaOB6lJ4HY4euJ1mENGxfDFJyxAEyGhF/tllL9dBCXCw s8hOy0Ai+Pn0o49uX1orUDghd6j2d/LiFvnDjFcQDFuIE0ElGVrA1OXfy2+IcJKk h2TPxRJqevcn9aCuL3te1bvkfg0gHxQ8JMps7Vk12XUeIkLcuWn5pwcbTJboe3l1 HrV8R/dfUbIJuFB/JQmrt+SCASpdm0VAv4t6xEyyKbcAbauo1Ygn3RQHWXnPmq9g qO29Svw7dBw1ApqUKhQ39s3E16wvvjhst4gJsBRer19HW8YswtpCY7gSeySRTje4 alA5x2nxX08qdq4n3zWZcW4ljFOaj6SdG2dPIcKgwMPFX/Whi6n5RTa2z3pJSOE9 Z4WKUyh5jBWteoypesCT9sJSr23eQ8F5b9LV/1JioAq0BkE8FeHk5N1WFmPXT9eG Mq5I1jhHDN4gUigzVFxVh+Br6oSkeVP0PYFGSyRMDu4QYUwjILCdFYFVhRQbN0zY RWc61o4lVtAYSCm+l8GziN3RpDYvByzuGF02IsOg56ivNBtrwnpX8g8ENWhEDa/f ebyokPjjCSPqG0+qXLlkU24hGEP3ny96hJLx0rIXc3g659D/0bzTGWigiZ31WtKx T2S0e1ipXkzLHL3akV0i =pZ5/ -----END PGP SIGNATURE----- --=-=-=--