bugGNU GRUB - Bugs: bug #21097, Grub hangs during boot with 3c905C...


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

bug #21097: Grub hangs during boot with 3c905C NIC

Submitted by:  David Chabal <dchabal>
Submitted on:  Mon 17 Sep 2007 09:03:55 AM UTC  
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  0.97
Release:  None Reproducibility:  Every Time
Planned Release:  None

Sat 15 Dec 2007 11:55:57 AM UTC, comment #1: 

We've moved to GRUB 2 as a development platform.  Unfortunately, GRUB 2 doesn't have network support yet, although there's ongoing work to implement it.  If you want to help on that, please contact <grub-devel@gnu.org>.

In the meantime, this bug doesn't apply.  I'm closing it.

Robert Millan <robertmh>
Project Administrator
Mon 17 Sep 2007 09:03:55 AM UTC, original submission:  

Problem encountered :
Grub hangs during the boot after NIC detection (after the message « MAC Address = » ). The box is frozen.

Configuration :

Grub 0.97 + grub-0.97-nic_update-2.patch

Box for cross-compiling :
FedoraCore 2.6.15-1.2054_FC5smp i686 GNU/LINUX with gcc 4.1.0 20060304 (Red Hat  4.1.0-3).

Box booting with grub : HP Kayak P3 866 MHz with a NIC 3com 509C-TX-M (MBA v4.30)

Bug analysis :
In the file 3c90x.c, the 3c90x_poll() function uses empty loops for waiting. A compiler optimization probably fires them.

Patch :
Force the declaration of the loop counter as volatile :
--- 3c90x.c.ori 2007-09-17 10:30:35.174371000 +0200
+++ 3c90x.c.ok  2007-09-17 10:48:23.054370000 +0200
@@ -601,7 +601,8 @@
 static int
 a3c90x_poll(struct nic *nic, int retrieve)
-    int i, errcode;
+    volatile int i;
+    int errcode;


David Chabal <dchabal>


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)
  • -email is unavailable- added by dchabal (Submitted the item)

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

    Only logged-in users can vote.




    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.6