Date: Wed, 29 Oct 1997 23:50:09 -0600 (CST) From: "William D. Ward" <euswdwj@exu.ericsson.se> To: se@FreeBSD.ORG (Stefan Esser) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Compaq XL 590-PCNet Problem? (jkh sent me) Message-ID: <199710300550.XAA23333@b04h32.exu.ericsson.se> In-Reply-To: <19970926133824.46824@mi.uni-koeln.de> from "Stefan Esser" at Sep 26, 97 01:38:24 pm
next in thread | previous in thread | raw e-mail | index | archive | help
I'm finally caught up enough to take a look at this again. The last correspondence I received is provided for a recap. All of your recommendations taken. Verbose dmesg output with only -v specified at boot is provided last /TAG1. Notice the final entry from dmesg is "lnc1: Initialisation failed" which occurred after ifconfiging lnc1. Thank you for your patience. > On Sep 25, "William D. Ward" <euswdwj@exu.ericsson.se> wrote: > > Perhaps it was some sort of devine province that Jordan decided post the > > mini-FAQ (ref. Q-2) shortly after I sent this question to comp.unix.- > > freebsd.misc. Or not. It would depend on your faith maybe. > > > > -- > > > > Hello, > > > > This message was originally posted to the freebsd-questions mailing list > > > > with minimal response. > > > > I have about 40 of these machines and it would be good if I could > > do something useful with them for a change. > > > > The FreeBSD installation boot floppy did not work for this system (this > > is definitely not the norm) so I roled my own using methods I found in > > the /usr/src/release directory. > > > > Please help. > > > > ---original message posted to freebsd-questions mailing list follows--- > > > > I'm having some difficulties getting the Ethernet interface to work on > > a Compaq Deskpro XL 590. Currently ifconfig on this machine results > > in a syslog message reporting 'lnc0: Initialisation failed' (which > > perhaps means that the initialization failed). The FreeBSD > > installation boot floppy did not work for this system so I roled my own > > using methods I found in the /usr/src/release directory. I have about > > 40 of these machines and it would be good if I could do something > > useful with them for a change. Please help. > > > > > > I am using 2.2.2-RELEASE. My procedure is as follows: > > > > 1. boot from custom boot floppy that does not go into > > /stand/sysinstall but instead starts /etc/rc script containing just > > /stand/sh. it also has ifconfig, mount, ping, route, and dmesg > > (crunched dmesg isn't working thus no verbose boot info in this note. > > i could use some help here too maybe. separate issue). > > > > 2. boot -c. set port for lnc0 to 0x7000 and continue boot. the > > hardware is probed. i see the following: > > Wrong! This was a workaround to get the ISA Lance probe/attach code > to find the PCI Ethernet chip, and is necessary in FreeBSD-2.1.x. > > I added the code to attach PCI versions of the Lance late last year, > and you should no longer use that workaround because it will make the > attach fail! > > > a. pci0:0 is probed but no driver is assigned. (bad sign or not?) > > That's OK. It is part of the chip set, which has been configured by > the BIOS and will be used (of course :) but in no way reconfigured > later. > > > b. lnc1 shown to be detected even though there is only one > > interface. this is immediately after pci0:0 is probed. (hmmm) > > Yes, and you should be using that as the network interface ... > > > c. lnc0 is shown to be detected later on when the rest of the > > Ethernet > > interfaces are looked for. > > Well, and this is where it fails !!! > > You have attached the same device twice, and two drivers compete for > it. > > > 3. /stand/sh is invoked. from command line issue: > > > > # ifconfig lnc0 161.76.4.7 > > > > lnc0: Initialisation failed > > ^ ^ ^ > > (note case and spelling.) > > Please do NOT configure lnc0 to probe port 0x7000. Use lnc1 as the > name of the network interface. > > ISA devices are probed after PCI, and the PCI attach could not know > whether or not the ISA attach might connect a real ISA Lance card as > lnc0. > > I've prepared the PCI code to support "wired" devices, but since the > code for the other bus types has to cooperate, I did not enable that > feature, yet. > > > Other points: > > > > 1. another point that might be interesting (or not) is that ifconfig -a > > reports that there are two lnc interfaces (lnc0 and lnc1) yet there is > > only one adapter. configuring either interface yields the same result. > > Yes. And that's what's confusing both driver instances :) > > > 3. in looking through the mailing list archive it appears that this has > > been a problem in the past for some Compaq platforms. in some cases > > resolution may have been obtained by setting the port for lnc0 to 0x7000. > > other cases appear to be unresolved faulting Compaq's PCI bus which may > > not conform to accepted standards on some models. > > This was indeed the solution for 2.1.x (FreeBSD-stable as of one year > ago). > > I can't prevent old articles from the mail-archive stating a no longer > valid work-around :( > > > 4. floppies/boot.flp does not work on this system. it appears to hang > > when sysinstall would normally display its UI. this is not a problem as > > it is possible for me to load the machine manually once the network > > interface is configured. it is only a problem in getting verbose boot > > messages as the fixit floppy which probably has a working dmesg is not > > accessible. > > Hmmm ? I don't understand what's wrong here. You should be able to > complete the boot procedure, if you don't reconfigure lnc0 ... > > > ---original message ends--- > > > > Doug White (thanks, Doug) responded to my original post and pointed out > > that I did not mentioned that I tried booting without making changes to > > the port address. > > Well, what *exactly* happens if you just boot with "-v" ? > > Regards, STefan ::TAG1:: Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.5-RELEASE #0: Wed Oct 29 16:01:04 CST 1997 adm@tilde:/usr/src/sys/compile/BOOTMFS Calibrating clock(s) ... i586 clock: 90206326 Hz, i8254 clock: 1193168 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency CLK_USE_I586_CALIBRATION not specified - using old calibration method CPU: Pentium (90.21-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x524 Stepping=4 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 16777216 (16384K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x003c2000 - 0x00ffdfff, 12828672 bytes (3132 pages) avail memory = 12980224 (12676K bytes) eisa0: <CPQ521 (System Board)> Probing for devices on the EISA bus pcibus_setup(1): mode 1 addr port (0x0cf8) is 0x00006040 pcibus_setup(1a): mode1res=0x00000000 (0x80000000) pcibus_setup(1b): mode1res=0x80000000 (0xff000001) pcibus_check: device 0 is there (id=10000e11) Probing for devices on PCI bus 0: configuration mode 1 allows 32 devices. pci0:0: Compaq, device=0x1000, class=old (misc) [no driver assigned] map(10): mem32(0ffffff0) map(18): mem32(0ffffff0) map(20): io(10000e10) lnc1 <PCNet/PCI Ethernet adapter> rev 2 int b irq 10 on pci0:11 mapreg[10] type=1 addr=00007000 size=0020. lnc1: PCnet-32 VL-Bus address 00:80:5f:f4:70:6d amd0 <amd 53c974 scsi> rev 2 int a irq 11 on pci0:12 mapreg[10] type=1 addr=00007100 size=0080. DC390: scanning for devices ... amd0 waiting for scsi devices to settle (amd0:0:0): "COMPAQPC DPES-30540 S31K" type 0 fixed SCSI 2 sd0(amd0:0:0): Direct-Access 511MB (1046532 512 byte sectors) sd0(amd0:0:0): with 4901 cyls, 2 heads, and an average 106 sectors/track (amd0:3:0): "NEC CD-ROM DRIVE:502 2.0r" type 5 removable SCSI 2 cd0(amd0:3:0): CD-ROM cd present [135683 x 2048 byte records] DC390: Attach devices return vga0 <VGA-compatible display device> rev 0 int a irq 5 on pci0:13 mapreg[10] type=0 addr=02000000 size=4000. chip0 <generic PCI bridge (vendor=0e11 device=0001 subclass=2)> rev 3 on pci0:15 pci0: uses 16384 bytes of memory from 2000000 upto 2003fff. pci0: uses 160 bytes of I/O space from 7000 upto 717f. Probing for devices on the ISA bus: sc0: the current keyboard controller command byte 0065 kbdio: DIAGNOSE status:0055 kbdio: TEST_KBD_PORT status:0000 kbdio: RESET_KBD return code:00fa kbdio: RESET_KBD status:00aa sc0 at 0x60-0x6f irq 1 on motherboard sc0: BIOS video mode:3 sc0: VGA registers upon power-up 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 04 10 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 sc0: video mode:24 sc0: VGA registers 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 sc0: VGA color <4 virtual consoles, flags=0x0> ed0 not found at 0x280 ed1 not found at 0x300 fe0 not found at 0x300 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2: disabled, not probed. sio3: disabled, not probed. lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface lpt1 not found at 0xffffffff mse0: wrong signature ff mse0 not found at 0x23c psm0: disabled, not probed. fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 not found at 0x1f0 wdc1 not found at 0x170 bt0 not found at 0x330 uha0 not found at 0x330 aha0 not found at 0x330 aic0 not found at 0x340 nca0 not found at 0x1f88 nca1 not found at 0x350 sea0 not found wt0 not found at 0x300 mcd0: timeout getting status mcd0 not found at 0x300 matcdc0 not found at 0x230 scd0 not found at 0x230 ie0: unknown board_id: f000 ie0 not found at 0x300 ie1: unknown board_id: f000 ie1 not found at 0x360 ep0 not found at 0x300 ex0 not found at 0x300 le0 not found at 0x300 lnc0 not found at 0x280 ze0 not found at 0x300 zp0 not found at 0x300 npx0 flags 0x1 on motherboard npx0: INT 16 interface apm0: disabled, not probed. imasks: bio c0000840, tty c003049a, net c003049a BIOS Geometries: 0:01fe3f20 0..510=511 cylinders, 0..63=64 heads, 1..32=32 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. Considering MFS root f/s. configure() finished. rootfs is 1440 Kbyte compiled in MFS lnc1: Initialisation failed
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710300550.XAA23333>