From owner-freebsd-questions@FreeBSD.ORG Tue May 25 20:58:11 2004 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 6D60316A4CE for ; Tue, 25 May 2004 20:58:11 -0700 (PDT) Received: from ms-smtp-03-eri0.socal.rr.com (ms-smtp-03-qfe0.socal.rr.com [66.75.162.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4338643D58 for ; Tue, 25 May 2004 20:58:11 -0700 (PDT) (envelope-from hoe-waa@hawaii.rr.com) Received: from ms-mss-01 ([10.10.4.12])i4Q3w4OD027579 for ; Tue, 25 May 2004 20:58:04 -0700 (PDT) Received: from socal.rr.com (localhost [127.0.0.1]) by ms-mss-01.socal.rr.com (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HYA00DB9Z0SWI@ms-mss-01.socal.rr.com> for freebsd-questions@freebsd.org; Tue, 25 May 2004 20:58:04 -0700 (PDT) Received: from [10.10.6.201] (Forwarded-For: [24.25.245.126]) by ms-mss-01.socal.rr.com (mshttpd); Tue, 25 May 2004 17:58:04 -1000 Date: Tue, 25 May 2004 17:58:04 -1000 From: hoe-waa@hawaii.rr.com To: freebsd-questions@freebsd.org Message-id: MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.21 (built Sep 8 2003) Content-type: multipart/mixed; boundary="Boundary_(ID_NVGqofzm1t2qC6FfCpe6KQ)" Content-language: en X-Accept-Language: en Priority: normal X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: ethernet card not coming up on reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hoe-waa@hawaii.rr.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 03:58:11 -0000 This is a multi-part message in MIME format. --Boundary_(ID_NVGqofzm1t2qC6FfCpe6KQ) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline Aloha I have a little annoyance on one of my boxes. The box has an Asus P4P800 mobo with a 2.6GHz P4 and 1GB of DDR-400 Ram. I have FreeBSD 5.2-RC1 loaded on a 120Gig SATA Hard disk. My ouput of uname -a: p4# uname -a FreeBSD p4.hawaii.rr.com 5.2-RC1 FreeBSD 5.2-RC1 #0: Sun Dec 7 22:15:14 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 The mobo has an onboard 3COM 3C940 Gbit LAN controller. This device is recognised during boot as sk0 and uses the SysKonnectPCI driver. The problem is that after a reboot a DHCP address is not assigned to sk0. Here is "ifconfig -a" after a reboot. p4# ifconfig -a sk0: flags=8843 mtu 1500 inet6 fe80::20c:6eff:fe91:dea6%sk0 prefixlen 64 scopeid 0x1 ether 00:0c:6e:91:de:a6 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 Here is the output of resolv.conf and rc.conf p4# cat /etc/resolv.conf search hawaii.rr.com nameserver 24.25.227.66 nameserver 24.25.227.33 nameserver 24.25.227.64 p4# cat /etc/rc.conf # -- sysinstall generated deltas -- # Thu May 20 10:05:35 2004 # Created: Thu May 20 10:05:35 2004 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. hostname="p4.hawaii.rr.com" ifconfig_sk0="DHCP" linux_enable="YES" nfs_client_enable="YES" sshd_enable="YES" usbd_enable="YES" # This file now contains just the overrides from /etc/defaults/rc.conf. # Please make all changes to this file, not to /etc/defaults/rc.conf. # Enable network daemons for user convenience. # Created: Thu May 20 20:27:06 2004 # -- sysinstall generated deltas -- # Thu May 20 20:27:06 2004 ifconfig_sk0="DHCP" hostname="p4.hawaii.rr.com" # This file now contains just the overrides from /etc/defaults/rc.conf. # Please make all changes to this file, not to /etc/defaults/rc.conf. # Enable network daemons for user convenience. Notice that there is a second entry in rc.conf relating to sk0. If I enter /stand/sysinstall and choose configure then networking and then interfaces and then chooses DHCP, the fields are all populated with the correct information. I can then exit back to the "#" and when I then look at "ifconfig -a" I get some good stuff! p4# ifconfig -a sk0: flags=8843 mtu 1500 inet6 fe80::20c:6eff:fe91:dea6%sk0 prefixlen 64 scopeid 0x1 inet 192.168.1.103 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:0c:6e:91:de:a6 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 Notice I now have an inet line populated with an IP address. If I now look at rc.conf I get this p4# cat /etc/rc.conf # -- sysinstall generated deltas -- # Thu May 20 10:05:35 2004 # Created: Thu May 20 10:05:35 2004 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. hostname="p4.hawaii.rr.com" ifconfig_sk0="DHCP" linux_enable="YES" nfs_client_enable="YES" sshd_enable="YES" usbd_enable="YES" # This file now contains just the overrides from /etc/defaults/rc.conf. # Please make all changes to this file, not to /etc/defaults/rc.conf. # Enable network daemons for user convenience. # Created: Thu May 20 20:27:06 2004 # -- sysinstall generated deltas -- # Thu May 20 20:27:06 2004 ifconfig_sk0="DHCP" hostname="p4.hawaii.rr.com" # This file now contains just the overrides from /etc/defaults/rc.conf. # Please make all changes to this file, not to /etc/defaults/rc.conf. # Enable network daemons for user convenience. # Created: Tue May 25 16:17:31 2004 # This file now contains just the overrides from /etc/defaults/rc.conf. # Please make all changes to this file, not to /etc/defaults/rc.conf. # Enable network daemons for user convenience. # Created: Tue May 25 17:28:40 2004 # This file now contains just the overrides from /etc/defaults/rc.conf. # Please make all changes to this file, not to /etc/defaults/rc.conf. # Enable network daemons for user convenience. # Created: Tue May 25 17:31:13 2004 # -- sysinstall generated deltas -- # Tue May 25 17:31:13 2004 ifconfig_sk0="DHCP" hostname="p4.hawaii.rr.com" Still another entry for sk0!! As I stated at the begimming of this epic, this is merely an annoyance. I don't reboot all that often and when I do I usually log in as a normal user. Of course, at that time, I am not able to access the network and have logout and log back in as root in order to use sysinstall. Has anyone run into this before? I have also attached a copy of dmesg if anyone is still reading. :-) Thanks Robert --Boundary_(ID_NVGqofzm1t2qC6FfCpe6KQ) Content-type: text/plain; NAME=dmesg.txt Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=dmesg.txt Copyright (c) 1992-2003 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 5.2-RC1 #0: Sun Dec 7 22:15:14 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a2c000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a2c21c. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (2598.76-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 1072889856 (1023 MB) avail memory = 1032749056 (984 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 14 entries at 0xc00f5230 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf0000000-0xf7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P1 - AE_NOT_FOUND pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci1: at device 0.1 (no driver attached) uhci0: port 0xeec0-0xeedf irq 16 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xef00-0xef1f irq 19 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ums0: KYE Genius USB Wheel Mouse, rev 1.00/0.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. uhci2: port 0xef20-0xef3f irq 18 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xef40-0xef5f irq 16 at device 29.3 on pci0 usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) pcib2: at device 30.0 on pci0 pci2: on pcib2 skc0: <3Com 3C940 Gigabit Ethernet> port 0xd800-0xd8ff mem 0xfeafc000-0xfeafffff irq 22 at device 5.0 on pci2 skc0: 3Com Gigabit LOM (3C940) sk0: on skc0 sk0: Ethernet address: 00:0c:6e:91:de:a6 miibus0: on sk0 e1000phy0: on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xfc00-0xfc0f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] atapci1: port 0xef90-0xef9f,0xefa8-0xefab,0xefa0-0xefa7,0xefac-0xefaf,0xefe0-0xefe7 irq 18 at device 31.2 on pci0 atapci1: [MPSAFE] ata2: at 0xefe0 on atapci1 ata2: [MPSAFE] ata3: at 0xefa0 on atapci1 ata3: [MPSAFE] pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) acpi_button0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: