From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 13:09:43 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8418A37B401 for ; Fri, 13 Jun 2003 13:09:43 -0700 (PDT) Received: from nightmare.dreamchaser.org (pm7-2.blackfoot.net [12.32.36.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3318343FBD for ; Fri, 13 Jun 2003 13:09:42 -0700 (PDT) (envelope-from freebsd@dreamchaser.org) Received: from dreamchaser.org (imagination.dreamchaser.org. [12.32.36.74]) by nightmare.dreamchaser.org (8.11.6/8.9.3) with ESMTP id h5DJHtJ00259 for ; Fri, 13 Jun 2003 13:17:55 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Message-ID: <3EEA2F84.3070504@dreamchaser.org> Date: Fri, 13 Jun 2003 14:09:40 -0600 From: Gary Aitken User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-US, es MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: de0 recognized but not configurable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 20:09:43 -0000 I'm building a kernel with two ethernet devices, an ed0 and a de0. Both devices are recognized during the hardware probe at system startup: de0: irq 9 at device 18.0 on pci 0 device_probe_and_attach: de0 attach returned 6 ed0: at port 0x240-0x25f irq 5 on isa 0 Both cards are good, as I've tested them in a different system (also fbsd). However, the de0 card is not configurable in this system, although the ed0 device is: ifconfig de0 a.b.c.d netmask 255.255.255.248 ifconfig: interface de0 does not exist I presume the "device_probe_and_attach: de0 attach returned 6" has something to do with this; my archive search didn't find anything, however. The irqs appear to be allocated as follows: irq1 atkbd0 irq3 sio1 irq4 sio0 irq5 ed0 irq6 fdc0 irq9 de0 irq11 bt0 irq15 pci0 On the (other) system where the device is configurable successfully, the graphics card is at 9 and the de device is at 15. My kernel config specifies device de There is an if_de.o in the compile/KERNELNAME directory. An nm on the kernel shows d if_de_pci_driver_list d if_de_pci_driver_mod d if_de_pci_mod d if_de_pcimodule_sys_init What determines the order of irq assignment? What does the "device_probe_and_attach" message mean? Device not present / responding? Any hints on how to get this device to pay attention? What's the syntax for pci device assignment in rc.config when specifying irqs? I tried permutations on the isa version and got nowhere. Thanks for any hints. Gary