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

Re: IP handling in Mach/Hurd - route & ifconfig functionality



> I've attached the /dev/klog & "ifconfig --verbose" output in case
> there's any clue there.  This is a DE-220 NIC that I started to discuss
> on hurd-help.  Here's the actual change I made to
> gnumach-20020421/linux/dev/drivers/net/Space.c
> 
>    static struct device eth0_dev = {
>        "eth0", 0, 0, 0, 0, 0x240, 10, 0, 0, 0, &eth1_dev, ethif_probe };
 
   This is fine.

> Thanks in advance,
> 
> -- 
> -- Grant Bowman                                <grantbow@grantbow.com>
> 
> 
> GNUmach 1.2
> AT386 boot: physical memory from 0x0 to 0x6000000
> GNUmach 1.2
> AT386 boot: physical memory from 0x0 to 0x6000000
> pcibios_init : BIOS32 Service Directory structure at 0x000fadb0
> pcibios_init : BIOS32 Service Directory entry at 0xfb230
> pcibios_init : PCI BIOS revision 2.10 entry at 0xfb260
> Probing PCI hardware.
> ide: i82371 PIIX (Triton) on PCI bus 0 function 57
>     ide0: BM-DMA at 0xf000-0xf007
>     ide1: BM-DMA at 0xf008-0xf00f
> hd0: Maxtor 96147H8, 58623MB w/2048kB Cache, CHS=7473/255/63, UDMA
> hd3: TOSHIBA CD-ROM XM-6302B, 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 a post-1991 82077
> EATA0: address 0x1f0 in use, skipping probe.
> EATA0: address 0x170 in use, skipping probe.
> scsi : 0 hosts.
> scsi : detected total.
> ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
> NE*000 ethercard probe at 0x240: 00 80 c8 d9 8c 02
> eth0: NE2000 found at 0x240, using IRQ 10.

 Good your card was found.

> Partition check (DOS partitions):
>  hd0: hd0s1 hd0s2 hd0s3 hd0s4 < hd0s5 hd0s6 hd0s7 hd0s8 hd0s9 hd0s10 hd0s11
> hd0s12 hd0s13 hd0s14 hd0s15 hd0s16 >
> com0: at atbus0, port = 3f8, spl = 6, pic = 4. (DOS COM1)
> com1: at atbus1, port = 2f8, spl = 6, pic = 3. (DOS COM2)
> com2: at atbus2, port = 3e8, spl = 6, pic = 5. (DOS COM3)
> module 0: /hurd/ext2fs.static
> --multiboot-command-line=${kernel-command-line} 
> --host-priv-port=${host-port} --device-master-port=${device-port}
> --exec-server-task=${exec-task} -T typed ${root} $(task-create)
> $(task-resume) 
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 root=device:hd0s16 --host-priv-port=2
> --device-master-port=3 --exec-server-task=4 -T typed device:hd0s16
> task loaded: /lib/ld.so.1 /hurd/exec
> 
> start /hurd/ext2fs.static: hd04: bad access: block=28, count=2, blockend=30,
> nr_sects2
> end_request: I/O error, dev 03:04, sector 28
> 
> 
> 
> Script started on Wed May  1 04:39:53 2002
> hurd:~# settrans -fg /servers/socket/2
> hurd:~# settrans -ap /servers/socket/2/  /hurd/pfinet -i eth0 -a

> 192.168.0.2 -g 1

 This is wrong, I don't think '1' is a valid ip address.  try
  hurd:~# settrans -fg /servers/socket/2
  hurd:~# settrans -ap /servers/socket/2/  /hurd/pfinet -i eth0 \
          -a 192.168.0.2 -m 255.255.255.0 -g 192.168.0.1


> 92.168.0.1 -m 255.255.255.0
> hurd:~# ping 192.168.0.1
> PING 192.168.0.1 (192.168.0.1): 56 data bytes
> 64 bytes from hurd.grantbow.com (192.168.0.2): Destination Host Unreachable
> Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst Data
>  4  5  c0 8400 0200   0 0000  ff  01 6239 192.168.0.2  192.168.0.2 
> 64 bytes from hurd.grantbow.com (192.168.0.2): Destination Host Unreachable
> Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst Data
>  4  5  c0 8400 0300   0 0000  ff  01 6139 192.168.0.2  192.168.0.2 
> ^C--- 192.168.0.1 ping statistics ---
> 4 packets transmitted, 0 packets received, 100% packet loss
> 
> ifconfig --verbose shows only this:
> 
> lo (1):
>   inet address  127.0.0.1
>   netmask       255.0.0.0
>   flags         UP LOOPBACK RUNNING
>   mtu           3924
> 
> eth0 (2):
>   inet address  192.168.0.2
>   netmask       255.255.255.0
>   broadcast     192.168.0.255
>   flags         UP BROADCAST RUNNING MULTICAST
>   mtu           1500
> 
> 
> --
> To UNSUBSCRIBE, email to debian-hurd-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 


=====
James Morrison
   University of Waterloo
   Computer Science - Digital Hardware
   2A co-op
http://hurd.dyndns.org

Anyone refering this as 'Open Source' shall be eaten by a GNU

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com


-- 
To UNSUBSCRIBE, email to debian-hurd-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: