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

Re: Hurd on Bochs 2.1 eth0 problem



  I found the problem.  The Bochs setup for ne2000
uses adress 0x240, but the driver built into gnumach
expects the card to be found at:
0x300,280,320,340,360.  Changing the ne2000 line in
the bochsrc let me bring up the network card:

ne2k: ioaddr=0x300, irq=9, mac=fe:fd:00:00:00:01,
ethmod=tuntap, ethdev=tun,
script=/opt/bochs/gnu_mach/start-tun

--- Sandman <desert_heat_nm@yahoo.com> wrote:
>   I installed the Hurd from the following link: 
> 
>
http://eu.hurd.gnuab.org/pub/debian/base/debian-gnu-hurd-2004.05.09.tar.gz
> 
>   under Bochs 2.1 running with the configuration
> below.  Everything seems to be working, with the
> exception of eth0 (Bochs' ne2000 network card).  I
> tried rebuilding mach from
> http://ftp.gnu.org/gnu/gnumach/gnumach-1.3.tar.gz
> with:
> 
> $ MIG=i386-gnu-mig CC=i386-gnu-gcc ./configure
> --enable-ide --enable-ne2000 --build i386-linux
> --host
> i386-gnu --prefix=/gnu
> 
>   and was successful in loading up this mach as well
> as the original, but had the same results with the
> ne2000 card.  The mach boot messages don't even
> mention the ne2000 driver probing the hardware.
> 
>   Is there something that needs to be set at
> compilation time or an argument to mach at boot time
> to force the ne2000 driver to query the hardware and
> initialize itself?  Does anyone have this
> configuration up and running successfully and could
> you share your bochsrc?
> 
> bochsrc:
> 
> megs: 64
> boot: disk
> clock: sync=realtime, time0=local
> ne2k: ioaddr=0x240, irq=9, mac=fe:fd:00:00:00:01,
> ethmod=tuntap, ethdev=tun,
> script=/opt/bochs/gnu_mach/start-tun
> floppya: 1_44=./1.44
> ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0,
> irq=14
> ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370,
> irq=15
> ata0-master: type=disk, path="2Gb.img", mode=flat,
> cylinders=4161, heads=16, spt=63
> ata0-slave: type=disk, path="128M.img", mode=flat,
> cylinders=260, heads=16, spt=63
> #log: /dev/null
> log: ./bochs.out
> vga_update_interval: 250000
> keyboard_serial_delay: 200
> vgaromimage: /usr/share/bochs/VGABIOS-elpin-2.40
> romimage: file=/usr/share/bochs/BIOS-bochs-latest,
> address=0xf0000
> i440fxsupport: enabled=1
> 
> bootlog (original mach):
> GNUmach 1.3
> AT386 boot: physical memory from 0x0 to 0x4000000
> GNUmach 1.3
> AT386 boot: physical memory from 0x0 to 0x4000000
> pcibios_init : BIOS32 Service Directory structure at
> 0x000f9540
> pcibios_init : BIOS32 Service Directory entry at
> 0xf9550
> bios32_service(0x49435024) : not present
> pci_init: no BIOS32 detected
> hd0: Generic 1234, 2047MB w/256kB Cache,
> CHS=520/128/63
> hd1: Generic 1234, 127MB w/256kB Cache,
> CHS=260/16/63
> hd2: Generic 1234, ATAPI CDROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is an 8272A
> qlogicisp : PCI bios not present
> eata_pio: No BIOS32 extensions present. This driver
> release still depends on it.
>           Skipping scan for PCI HBAs.
> Failed initialization of WD-7000 SCSI card!
> EATA0: address 0x1f0 in use, skipping probe.
> EATA0: address 0x170 in use, skipping probe.
> ppa: Version 1.42
> ppa: Probing port 03bc
> ppa: Probing port 0378
> ppa:     SPP port present
> ppa:     PS/2 bidirectional port present
> ppa:     EPP 1.7
> ppa: Probing port 0278
> scsi : 0 hosts.
> scsi : detected total.
> 3c59x.c:v0.99L 5/28/99 Donald Becker
> http://cesdis.gsfc.nasa.gov/linux/drivers/vor
> tex.html
> 0 3c515 cards found.
> eth0: D-Link DE-600 pocket adapter: not at I/O
> 0x378.
> D-Link DE-620 pocket adapter not identified in the
> printer port
> TLAN:   PCI Bios not present.
> 0 3c515 cards found.
> eth1: D-Link DE-600 pocket adapter: not at I/O
> 0x378.
> D-Link DE-620 pocket adapter not identified in the
> printer port
> TLAN:   PCI Bios not present.
> Partition check (DOS partitions):
>  hd0: hd0s1
>  hd1: hd1s1
> com0: at atbus0, port = 3f8, spl = 6, pic = 4. (DOS
> COM1)
> module 0: /hurd/ext2fs.static
> --multiboot-command-line=${kernel-command-line} --ho
> st-priv-port=${host-port}
> --device-master-port=${device-port}
> --exec-server-task=$
> module 1: /lib/ld.so.1 /hurd/exec
> $(exec-task=task-create)
> 
> 2 multiboot modules
> 
>                                                     
>  
>               task loaded:
> /hurd/ext2fs.static
> --multiboot-command-line=/boot/gnumach.gz
> root=device:hd0s1 --
> host-priv-port=2 --device-master-port=3
> --exec-server-task=4 -T typed device:hd0s1
> task loaded: /lib/ld.so.1 /hurd/exec
> 
> start /hurd/ext2fs.static:
> 
> 
> bootlog (compiled mach):
> GNUmach 1.3
> AT386 boot: physical memory from 0x0 to 0x4000000
> GNUmach 1.3
> AT386 boot: physical memory from 0x0 to 0x4000000
> pcibios_init : BIOS32 Service Directory structure at
> 0x000f9540
> pcibios_init : BIOS32 Service Directory entry at
> 0xf9550
> pcibios_init : PCI BIOS revision 2.10 entry at
> 0xf9590
> Probing PCI hardware.
> hd0: Generic 1234, 2047MB w/256kB Cache,
> CHS=520/128/63
> hd1: Generic 1234, 127MB w/256kB Cache,
> CHS=260/16/63
> hd2: Generic 1234, ATAPI CDROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> Partition check (DOS partitions):
>  hd0: hd0s1
>  hd1: hd1s1
> com0: at atbus0, port = 3f8, spl = 6, pic = 4. (DOS
> COM1)
> module 0: /hurd/ext2fs.static
> --multiboot-command-line=${kernel-command-line} --ho
> st-priv-port=${host-port}
> --device-master-port=${device-port}
> --exec-server-task=$
> module 1: /lib/ld.so.1 /hurd/exec
> $(exec-task=task-create)
> 
> 2 multiboot modules
> 
>                                                     
>  
>               task loaded:
> /hurd/ext2fs.static
> --multiboot-command-line=/boot/gnumach.gz
> root=device:hd0s1 --
> host-priv-port=2 --device-master-port=3
> --exec-server-task=4 -T typed device:hd0s1
> task loaded: /lib/ld.so.1 /hurd/exec
> 
> start /hurd/ext2fs.static:
> 
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail is new and improved - Check it out!
> http://promotions.yahoo.com/new_mail
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> debian-hurd-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 
> 



		
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 



Reply to: