bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with grub version 0.93


From: John Summerfield
Subject: Problem with grub version 0.93
Date: Thu, 19 Dec 2002 13:52:23 +0800
User-agent: KMail/1.4.1

I have built GRUB with serial support, plus support for the NICs I have round 
the place. I've been booting a Vectra VE Pentium II 266 using an etherboot 
rom on a floppy, and decided to see if I could use GRUB and so one floppy for 
all systems rather than one for each different NIC.

I built with this configuration:
address@hidden grub-0.93]$ ./configure --enable-pci-direct --enable-3c509 
--enable-3c595 --enable-eepro100 --enable-rtl8139 --enable-sis900 
--enable-diskless --enable-example-kernel --prefix=/tmp/BUILD

and so
address@hidden grub-0.93]$ time make -s
address@hidden grub-0.93]$ make install

and created a floppy:
address@hidden BUILD]$ ./sbin/grub-install --root-directory=/misc/floppy 
'(fd0)'

and created a menu:
address@hidden BUILD]$ cat menu.lst 
title serial 0
   serial --unit=0 --speed=9600 --parity=no
   terminal serial
title serial 1
   serial --unit=1  --speed=9600 --parity=no
        terminal serial
title ifconfig
   ifconfig --ip=192.168.0.130 --gateway=192.168.0.1 --server=192.168.0.1
   bootp
address@hidden BUILD]$ 


All this on Red Hat Linux 7.3.

It didn't work as expected, so I had a look in the code for something obvious, 
then rebuilt:
address@hidden grub-0.93]$ make clean
address@hidden grub-0.93]$ make CC='gcc -DDEBUG' all
address@hidden grub-0.93]$ make CC='gcc -DDEBUG' install

and recreate the floppy as above. Now, on my serial console I see:
-- 
Cheers
John Summerfield


Microsoft's most solid OS: http://www.geocities.com/rcwoolley/
Join the "Linux Support by Small Businesses" list at
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb



    GRUB  version 0.93  (638K lower / 64512K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename.  ESC at any time exits. ]

grub> ifconfig                                                                 
Probing...[RTL8139] - The PCI BIOS has not enabled this device!
Updating PCI command 0106->0107. pci_bus 00 pci_device_fn 00
ioaddr 0X0000, addr 00:AA:55:15:00:00 10Mbps full-duplex
Not initialized yet.

grub> ifconfig                                                                 
Not initialized yet.

grub>                                                                          

Here is what lspci shows for this system:
address@hidden:/# lspci
00:00.0 Host bridge: Intel Corp. 440BX/ZX - 82443BX/ZX Host bridge (rev 02)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX - 82443BX/ZX AGP bridge (rev 02)
00:07.0 ISA bridge: Intel Corp. 82371AB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corp. 82371AB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB PIIX4 ACPI (rev 02)
00:0a.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 
24)
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G100 [Productiva] 
AGP (rev 02)
address@hidden:/# lspci -n
00:00.0 Class 0600: 8086:7190 (rev 02)
00:01.0 Class 0604: 8086:7191 (rev 02)
00:07.0 Class 0601: 8086:7110 (rev 02)
00:07.1 Class 0101: 8086:7111 (rev 01)
00:07.2 Class 0c03: 8086:7112 (rev 01)
00:07.3 Class 0680: 8086:7113 (rev 02)
00:0a.0 Class 0200: 10b7:9055 (rev 24)
01:00.0 Class 0300: 102b:1001 (rev 02)
address@hidden:/# 

Why is grub unable to find my network card?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]