From owner-freebsd-questions Mon Aug 27 20:16:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tomts14-srv.bellnexxia.net (tomts14.bellnexxia.net [209.226.175.35]) by hub.freebsd.org (Postfix) with ESMTP id 5DB4737B405 for ; Mon, 27 Aug 2001 20:16:20 -0700 (PDT) (envelope-from anarcat@anarcat.dyndns.org) Received: from khan.anarcat.dyndns.org ([65.92.160.216]) by tomts14-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010828031618.UMGH8611.tomts14-srv.bellnexxia.net@khan.anarcat.dyndns.org> for ; Mon, 27 Aug 2001 23:16:18 -0400 Received: from shall.anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1]) by khan.anarcat.dyndns.org (Postfix) with ESMTP id 67E3B1A5C for ; Mon, 27 Aug 2001 23:16:10 -0400 (EDT) Received: by shall.anarcat.dyndns.org (Postfix, from userid 1000) id E187820B46; Mon, 27 Aug 2001 23:16:06 -0400 (EDT) Date: Mon, 27 Aug 2001 23:16:06 -0400 From: The Anarcat To: freebsd-questions@freebsd.org Subject: ed0: device timeout when no interrupt Message-ID: <20010827231605.B619@shall.anarcat.dyndns.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DIOMP1UsTsWJauNi" Content-Disposition: inline User-Agent: Mutt/1.3.20i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --DIOMP1UsTsWJauNi Content-Type: multipart/mixed; boundary="LpQ9ahxlCli8rRTG" Content-Disposition: inline --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi. I have a crappy NE2000 compatible card that is not working under 4.4-RC here. The card is recognized and setup in windows (I can ping with it), but in freebsd, setting it up with ifconfig yields the error. Now I know the manpage says that the error might be due to an interrupt conflict, but there's almost nothing in that box (see attached verbose dmesg with a few commands). I know, I know, i'll probably have to buy a new card, but I was just wondering how the heck could there be an interrupt conflict. I tried to set the card to irq 3 (possibly conflicting with a non-existent sio1) and irq 11, then gave up. :) Anyways, any hint on a fix or a cheap card is welcome If the master of the driver wants to experiment here, I could give out a serial console access or gdb, or whatever, I don't care about the box. ;) I could also try some patches or stuff out here too. A. --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=us-ascii Content-Description: Dmesg and sample output Content-Disposition: attachment; filename=dmesg Content-Transfer-Encoding: quoted-printable ok boot -cv SMAP type=3D01 base=3D00000000 00000000 len=3D00000000 0009fc00 SMAP type=3D02 base=3D00000000 0009fc00 len=3D00000000 00000400 SMAP type=3D01 base=3D00000000 00100000 len=3D00000000 01c80000 SMAP type=3D02 base=3D00000000 fec00000 len=3D00000000 00100000 SMAP type=3D02 base=3D00000000 fee00000 len=3D00000000 00100000 SMAP type=3D02 base=3D00000000 ffff0000 len=3D00000000 00010000 Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-RC #1: Mon Aug 27 19:17:38 EDT 2001 root@shall.anarcat.dyndns.org:/usr/obj/usr/src/sys/GRUZ Calibrating clock(s) ... TSC clock: 100271390 Hz, i8254 clock: 1193709 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium/P54C (100.23-MHz 586-class CPU) Origin =3D "GenuineIntel" Id =3D 0x525 Stepping =3D 5 Features=3D0x1bf real memory =3D 30932992 (30208K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x003aa000 - 0x01d77fff, 27058176 bytes (6606 pages) config>=20 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> ls Device port irq drq iomem iosize unit flags enab atkbdc0 0x60 0 0 0 0 0 0 Yes =20 atkbd0 0 1 0 0 0 0 0x1 Yes =20 psm0 0 12 0 0 0 0 0 Yes =20 vga0 0 0 0 0 0 0 0 Yes =20 sc0 0 0 0 0 0 0 0x100 Yes =20 npx0 0xf0 13 0 0 0 0 0 Yes =20 ata0 0x1f0 14 0 0 0 0 0 Yes =20 ata1 0x170 15 0 0 0 1 0 Yes =20 fdc0 0x3f0 6 2 0 0 0 0 Yes =20 fd0 0 0 0 0 0 0 0 Yes =20 apm0 0 0 0 0 0 0 0x20 No =20 sio0 0x3f8 4 0 0 0 0 0x10 Yes =20 ppc0 0 7 0 0 0 0 0 Yes =20 ed0 0x300 3 0 d8000 0 0 0 Yes =20 pca0 0x40 0 0 0 0 0 0 Yes =20 joy0 0x201 0 0 0 0 0 0 Yes =20 Number of EISA slots to probe: 10 config> irq ed0 11 config> q avail memory =3D 26701824 (26076K bytes) bios32: Found BIOS32 Service Directory header at 0xc00f6f10 bios32: Entry =3D 0xf6f20 (c00f6f20) Rev =3D 0 Len =3D 1 pcibios: PCI BIOS entry at 0x6f41 pnpbios: Found PnP BIOS data at 0xc00f8f70 pnpbios: Entry =3D f0000:8cc6 Rev =3D 1.0 Other BIOS signatures found: ACPI: 00000000 Preloaded elf kernel "kernel" at 0xc0384000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03840a8. Intel Pentium detected, installing workaround for F00F bug VESA: information block 56 45 53 41 02 01 6a 00 00 c0 00 00 00 00 ea 10=20 00 c0 10 00 00 00 00 00 00 00 00 00 00 00 00 00=20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 VESA: 23 mode(s) found VESA: v1.2, 1024k memory, flags:0x0, mode table:0xc00c10ea (c00010ea) VESA: Copyright 1994 TRIDENT MICROSYSTEMS INC. netsmb_dev: loaded md0: Malloc disk Creating DISK md0 pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c pci_open(1a): mode1res=3D0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=3D060000] [hdr=3D00] is there (id=3D0891106= 0) npx0: on motherboard npx0: INT 16 interface i586_bzero() bandwidth =3D 277854959 bytes/sec bzero() bandwidth =3D 141562853 bytes/sec pcib0: on motherboard found-> vendor=3D0x1060, dev=3D0x0891, revid=3D0x01 class=3D06-00-00, hdrtype=3D0x00, mfdev=3D0 subordinatebus=3D0 secondarybus=3D0 found-> vendor=3D0x1060, dev=3D0x886a, revid=3D0x01 class=3D06-01-00, hdrtype=3D0x00, mfdev=3D0 subordinatebus=3D0 secondarybus=3D0 found-> vendor=3D0x1023, dev=3D0x9440, revid=3D0xe3 class=3D03-00-00, hdrtype=3D0x00, mfdev=3D0 subordinatebus=3D0 secondarybus=3D0 intpin=3Da, irq=3D11 map[10]: type 1, range 32, base ff800000, size 21 map[14]: type 1, range 32, base ffbe0000, size 16 pci0: on pcib0 isab0: at device 18.0 on pci0 isa0: on isab0 pci0: (vendor=3D0x1023, = dev=3D0x9440) at 20.0 irq 11 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 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: