Date: Mon, 27 Aug 2001 23:16:06 -0400 From: The Anarcat <anarcat@anarcat.dyndns.org> To: freebsd-questions@freebsd.org Subject: ed0: device timeout when no interrupt Message-ID: <20010827231605.B619@shall.anarcat.dyndns.org>
next in thread | raw e-mail | index | archive | help
--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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> 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: <math processor> on motherboard npx0: INT 16 interface i586_bzero() bandwidth =3D 277854959 bytes/sec bzero() bandwidth =3D 141562853 bytes/sec pcib0: <Host to PCI bridge> 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: <PCI bus> on pcib0 isab0: <UMC UM8886 ISA Bridge with EIDE> at device 18.0 on pci0 isa0: <ISA bus> on isab0 pci0: <Trident model 9440 VGA-compatible display device> (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: <Option ROMs> at iomem 0xc0000-0xc7fff,0xed000-0xedfff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0045 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x1d0000 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. vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x700ff fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81=20 bf 1f 00 4f 0d 0e 00 00 05 00 9c 8e 8f 28 1f 96=20 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c=20 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff=20 VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81=20 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96=20 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c=20 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff=20 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=20 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96=20 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c=20 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff=20 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x100> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) ata0: iobase=3D0x01f0 altiobase=3D0x03f6 bmaddr=3D0x0000 ata0: mask=3D03 status0=3D50 status1=3D00 ata0: mask=3D03 ostat0=3D50 ostat2=3D00 ata0-master: ATAPI probe a=3D00 b=3D00 ata0-slave: ATAPI probe a=3D00 b=3D00 ata0: mask=3D03 status0=3D50 status1=3D00 ata0-master: ATA probe a=3D01 b=3Da5 ata0: devices=3D01 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata1: iobase=3D0x0170 altiobase=3D0x0376 bmaddr=3D0x0000 ata1: mask=3D00 status0=3Dff status1=3Dff ata1: probe allocation failed ata1 failed to probe at port 0x170-0x177,0x376 irq 15 on isa0 fdc0: <NEC 765 or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: irq maps: 0x41 0x51 0x41 0x41 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16450, console ppc0: parallel port found at 0x378 ppc0: using extended I/O port range ppc0: SPP ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: <PLIP network interface> on ppbus0 bpf: lp0 attached lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 ed0 at port 0x300-0x31f iomem 0xd8000 irq 11 drq 0 on isa0 bpf: ed0 attached ed0: address 00:00:e8:1b:a4:1a, type NE2000 (16 bit)=20 pca0 at port 0x40 on isa0 joy0 at port 0x201 on isa0 isa_probe_children: probing PnP devices BIOS Geometries: 0:0209fe3f 0..521=3D522 cylinders, 0..254=3D255 heads, 1..63=3D63 sectors 1:01300311 0..304=3D305 cylinders, 0..3=3D4 heads, 1..17=3D17 sectors 2:01300311 0..304=3D305 cylinders, 0..3=3D4 heads, 1..17=3D17 sectors 3:01300311 0..304=3D305 cylinders, 0..3=3D4 heads, 1..17=3D17 sectors 0 accounted for Device configuration finished. bpf: lo0 attached IPsec: Initialized Security Association Processing. Creating DISK ad0 ad0: <ST34321A/3.15> ATA-4 disk at ata0-master ad0: 4103MB (8404830 sectors), 8894 cyls, 15 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, BIOSPIO ad0: piomode=3D4 dmamode=3D2 udmamode=3D2 cblid=3D0 ad0: 4103MB <ST34321A> [8894/15/63] at ata0-master BIOSPIO Mounting root from ufs:/dev/ad0a ad0s1: type 0xa5, start 63, end =3D 8401994, size 8401932 : OK start_init: trying /sbin/init =2E.. Welcome to the Gruz Fileserver. The crappiest machine in this network. gruz# ifconfig ed0 inet 192.168.0.2 netmask 255.255.255.0 gruz# Nov 7 11:24:10 gruz /kernel: ed0: device timeout Nov 7 11:24:10 gruz /kernel: ed0: device timeout Nov 7 11:24:10 gruz /kernel: ed0: device timeout --LpQ9ahxlCli8rRTG-- --DIOMP1UsTsWJauNi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjuLDPQACgkQttcWHAnWiGduTgCePAUpP6US+tihglkZiPgeZlL5 V5AAn2GGB8rHMijqCKFGmPWEaCDj2T+b =Qsut -----END PGP SIGNATURE----- --DIOMP1UsTsWJauNi-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010827231605.B619>