[Bug 808582] New: grub2 cannot boot from pxe
https://bugzilla.novell.com/show_bug.cgi?id=808582 https://bugzilla.novell.com/show_bug.cgi?id=808582#c0 Summary: grub2 cannot boot from pxe Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: mchang@suse.com QAContact: jsrain@suse.com CC: jcheung@suse.com, jlee@suse.com, dchang@suse.com Found By: System Test Blocker: --- When testing grub2 pxe boot I found that it cannot work, neither image created by grub2-mknetdir nor packaged grub2.efi. It's not firmware related, happened on both pc bios firmware and UEFI. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808582 https://bugzilla.novell.com/show_bug.cgi?id=808582#c1 --- Comment #1 from Michael Chang <mchang@suse.com> 2013-03-11 06:53:53 UTC --- For grub2.efi, we have to add tftp and efinet to support pxe boot. Besides, we have too one patch from upstream [1] to fix the timeout problem when loading larger files (for eg, larger files like kernel or normal.mod will fail to load with timeout error). [1] upstream patch: === modified file 'ChangeLog' --- ChangeLog 2012-07-02 09:20:51 +0000 +++ ChangeLog 2012-07-02 09:22:50 +0000 @@ -1,5 +1,11 @@ 2012-07-02 Vladimir Serbinenko <phcoder@gmail.com> + * grub-core/net/tftp.c (ack): Fix endianness problem. + (tftp_receive): Likewise. + Reported by: Michael Davidsaver. + +2012-07-02 Vladimir Serbinenko <phcoder@gmail.com> + * gentpl.py: Make mans depend on grub-mkconfig_lib. 2012-07-02 Vladimir Serbinenko <phcoder@gmail.com> === modified file 'grub-core/net/tftp.c' --- grub-core/net/tftp.c 2012-06-22 20:04:16 +0000 +++ grub-core/net/tftp.c 2012-07-02 09:22:50 +0000 @@ -143,7 +143,7 @@ tftph_ack = (struct tftphdr *) nb_ack.data; tftph_ack->opcode = grub_cpu_to_be16 (TFTP_ACK); - tftph_ack->u.ack.block = block; + tftph_ack->u.ack.block = grub_cpu_to_be16 (block); err = grub_net_send_udp_packet (data->sock, &nb_ack); if (err) @@ -225,7 +225,7 @@ grub_priority_queue_pop (data->pq); if (file->device->net->packs.count < 50) - err = ack (data, tftph->u.data.block); + err = ack (data, data->block + 1); else { file->device->net->stall = 1; -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808582 https://bugzilla.novell.com/show_bug.cgi?id=808582#c2 --- Comment #2 from Michael Chang <mchang@suse.com> 2013-03-11 07:21:10 UTC --- created request id 158250 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808582 https://bugzilla.novell.com/show_bug.cgi?id=808582#c Jiri Srain <jsrain@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsrain@suse.com |mchang@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808582 https://bugzilla.novell.com/show_bug.cgi?id=808582#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-03-11 11:00:09 CET --- This is an autogenerated message for OBS integration: This bug (808582) was mentioned in https://build.opensuse.org/request/show/158519 Factory / grub2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=808582 https://bugzilla.novell.com/show_bug.cgi?id=808582#c5 Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Michael Chang <mchang@suse.com> 2013-04-26 09:08:32 UTC --- As the patch has been identified and included .. set to resolved fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com