Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Aug 1999 18:12:50 +0200 (CEST)
From:      Ronald 'Ko' Klop <ronald@node11a94.a2000.nl>
To:        Dan Williams <williams@hamlet.res.cmu.edu>
Cc:        freebsd-hardware@FreeBSD.ORG
Subject:   Re: Multihomed host
Message-ID:  <Pine.BSF.4.05.9908061807330.702-100000@dlanor.evertsen.nl>
In-Reply-To: <Pine.SOL.3.95L.990805200344.28708C-100000@hamlet.res.cmu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hallo,

You will have to recompile a kernel with a ed1 device in it.

There you can set the right irq an port settings.

Both cards must have their one settings for irq and port.
Otherwise the data of the two cards gets mixed and you get messages like
you wrote in your email (NIC memory corrupt).

See the FreeBSD-documentation about recompiling a kernel. It's very
simpel.


Greetings,

Ronald.

On Thu, 5 Aug 1999, Dan Williams wrote:

> 
> On jul 27th I posted a note concerning 2 nics at the same time.  It was
> somewhat vague, as pointed out.  I have a cyrix 486dx2/80 with just a
> combo ide/floppy/serial/parallel controller, a 256k(?) vga card, and 2
> nics.
> 
> One nic is jumperless, has an InfoExpress sticker, and is 10bt and bnc. It
> works just fine when its alone.  It is ne2000 compatible.
> 
> The second is jumpered, node address 0000c0030221, and seems to be from
> 93.  It also has "PTC1001S" on it.  Its also NetWare Tested and Approved
> (yeah, I know...).
> 
> The computer boots up just fine with either of them.  I cant change the
> irq of the infoexpress, but I can change it for the other one.  I have
> tested both of them at 0x300 irq 10, and ther pct1001s can do irqs
> 12,11,10,7,6,5,4,3,2.  When both are there, it recognizes 1, but I get
> "NIC memory corrupt: invalid packet length x" errors.
> 
> My main question:  what device # does each card go on, and how does
> freebsd find each card and assign it?  Where is ed1, and how does ed1 get
> assigned?  Of course I can see ed0, but where is ed1?
> 
> Dan
> 
> Here follows a bootlog with the infoexpress card installed, but not the
> pct.
> 
> 
> Copyright (c) 1992-1999 FreeBSD Inc.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> 	The Regents of the University of California. All rights reserved.
> FreeBSD 3.2-RELEASE #0: Tue May 18 04:05:08 GMT 1999
>     jkh@cathair:/usr/src/sys/compile/GENERIC
> Calibrating clock(s) ... i8254 clock: 1193802 Hz
> CLK_USE_I8254_CALIBRATION not specified - using default frequency
> Timecounter "i8254"  frequency 1193182 Hz
> CPU: Cyrix 486DX2 (486-class CPU)
>   Origin = "CyrixInstead"  DIR=0x341b  Stepping=3  Revision=4
> real memory  = 12582912 (12288K bytes)
> Physical memory chunk(s):
> 0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
> 0x00365000 - 0x00bfdfff, 9015296 bytes (2201 pages)
> config> di zp0
> config> di ze0
> config> di lnc0
> config> di le0
> config> di ie0
> config> di fe0
> config> di ex0
> config> di ep0
> config> di cs0
> config> di wt0
> config> di scd0
> config> di mcd0
> config> di matcdc0
> config> di bt0
> config> di aha0
> config> di adv0
> config> en ed0
> config> po ed0 0x300
> config> ir ed0 10
> config> iom ed0 0xd8000
> config> f ed0 0
> config> q
> FreeBSD Kernel Configuration Utility - Version 1.2
>  Type "help" for help or "visual" to go to the visual
>  configuration interface (requires MGA/VGA display or
>  serial terminal capable of displaying ANSI graphics).
> config> q
> avail memory = 9162752 (8948K bytes)
> Other BIOS signatures found:
> ACPI: 00000000
> $PnP: 00000000
> Preloaded elf kernel "kernel" at 0xc0358000.
> Preloaded userconfig_script "/boot/kernel.conf" at 0xc035809c.
> Math emulator present
> pci_open(1):	mode 1 addr port (0x0cf8) is 0xffffffff
> pci_open(2):	mode 2 enable port (0x0cf8) is 0xff
> Initializing PnP override table
> Probing for PnP devices:
> Trying Read_Port at 203
> Trying Read_Port at 243
> Trying Read_Port at 283
> Trying Read_Port at 2c3
> Trying Read_Port at 303
> Trying Read_Port at 343
> Trying Read_Port at 383
> Trying Read_Port at 3c3
> No Plug-n-Play devices were found
> Probing for devices on the ISA bus:
> atkbd: the current kbd controller command byte 0045
> kbdc: DIAGNOSE status:0055
> kbdc: TEST_KBD_PORT status:0000
> atkbd: keyboard ID 0xffffffff (1)
> kbdc: RESET_KBD return code:00fa
> kbdc: RESET_KBD status:00aa
> sc0 on isa
> sc0: fb0 kbd0
> sc0: VGA color <16 virtual consoles, flags=0x0>
> ed0 at 0x300-0x31f irq 10 on isa
> ed0: address 00:c0:d1:57:18:1c, type NE2000 (16 bit) 
> fe0: disabled, not probed.
> atkbdc0 at 0x60-0x6f on motherboard
> atkbd0 irq 1 on isa
> kbd0: atkbd0, AT 84 (1), config:0x0, flags:0x3d0000
> psm0: current command byte:0045
> kbdc: TEST_AUX_PORT status:0000
> kbdc: RESET_AUX return code:ffffffff
> kbdc: RESET_AUX return code:ffffffff
> kbdc: RESET_AUX return code:ffffffff
> kbdc: DIAGNOSE status:0055
> kbdc: TEST_KBD_PORT status:0000
> psm0: failed to reset the aux device.
> psm0 not found
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: irq maps: 0x1 0x1 0x1 0x1
> sio0: probe failed test(s): 0 1 2 4 6 7 9
> sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
> sio0: type 8250
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: irq maps: 0x1 0x1 0x1 0x1
> sio1: probe failed test(s): 0 1 2 4 6 7 9
> sio1 not found at 0x2f8
> sio2: disabled, not probed.
> sio3: disabled, not probed.
> fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
> fd0: 1.44MB 3.5in
> fd1: 1.2MB 5.25in
> wdc0 at 0x1f0-0x1f7 irq 14 on isa
> wdc0: unit 0 (wd0): <Conner Peripherals 210MB - CFS210A>
> wd0: 203MB (416480 sectors), 685 cyls, 16 heads, 38 S/T, 512 B/S
> wd0: ATA INQUIRE valid = 0003, dmamword = 0101, apio = 0000, udma = 0000
> wdc0: unit 1 (wd1): <WDC AC31200F>
> wd1: 1222MB (2503872 sectors), 2484 cyls, 16 heads, 63 S/T, 512 B/S
> wd1: ATA INQUIRE valid = 0003, dmamword = 0203, apio = 0001, udma = 0000
> wdc1 not found at 0x170
> wt0: disabled, not probed.
> mcd0: disabled, not probed.
> matcdc0: disabled, not probed.
> scd0: disabled, not probed.
> ppc0 not found
> ie0: disabled, not probed.
> ep0: disabled, not probed.
> ex0: disabled, not probed.
> le0: disabled, not probed.
> lnc0: disabled, not probed.
> ze0: disabled, not probed.
> zp0: disabled, not probed.
> cs0: disabled, not probed.
> adv0: disabled, not probed.
> bt0: disabled, not probed.
> aha0: disabled, not probed.
> vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
> fb0: vga0, vga, type:VGA (5), flags:0x7007f
> fb0: port:0x3b0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
> fb0: init mode:24, bios mode:3, current mode:24
> fb0: window:0xc00b8000 size:32k gran:32k, buf:0x0 size:0k
> VGA parameters upon power-up
> 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
> bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 
> b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
> 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
> VGA parameters in BIOS for mode 24
> 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
> bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
> b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
> 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
> EGA/VGA parameters to be used for mode 24
> 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
> bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
> b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
> 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
> npx0 on motherboard
> npx0: INT 16 interface
> apm0: disabled, not probed.
> imasks: bio c0084040, tty c0070412, net c0070412
> BIOS Geometries:
>  0:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
>  1:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
>  2:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
>  3:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
>  4:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
>  5:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
>  6:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
>  7:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
>  0 accounted for
> Device configuration finished.
> new masks: bio c0084040, tty c0070412, net c0070412
> Considering MFS root f/s.
> No MFS image available as root f/s.
> Considering FFS root f/s.
> changing root device to wd0s1a
> wd0s1: type 0xa5, start 0, end = 416479, size 416480 : OK
> wd1s1: type 0xa5, start 0, end = 2503871, size 2503872 : OK
> wd1s1: type 0xa5, start 0, end = 2503871, size 2503872 : OK
> wd1s1: type 0xa5, start 0, end = 2503871, size 2503872 : OK
> splash: image decoder found: rain_saver
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hardware" in the body of the message
> 

-- 
Ronald Klop
http://node11a94.a2000.nl/~ronald/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9908061807330.702-100000>