From owner-freebsd-questions Thu Apr 8 0:25:39 1999 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [212.110.138.1]) by hub.freebsd.org (Postfix) with ESMTP id C658F15891 for ; Thu, 8 Apr 1999 00:24:20 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.2/8.9.2/UCB) id KAA55631; Thu, 8 Apr 1999 10:20:39 +0300 (EEST) (envelope-from ru) Date: Thu, 8 Apr 1999 10:20:38 +0300 From: Ruslan Ermilov To: Font Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Freeze on fxp0 ifconfig (3.1-RELEASE) Message-ID: <19990408102038.A43634@relay.ucb.crimea.ua> Mail-Followup-To: Font , freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Font on Wed, Apr 07, 1999 at 06:32:57PM -0500 X-Operating-System: FreeBSD 3.1-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! This seems to be a problem reported in PR/10150. This was fixed a week ago by Wes Peters: RCS file: /usr/FreeBSD-CVS/src/sys/pci/if_fxp.c,v Working file: if_fxp.c head: 1.66 branch: locks: strict access list: keyword substitution: kv total revisions: 99; selected revisions: 1 description: ---------------------------- revision 1.59.2.3 date: 1999/03/30 04:51:43; author: wes; state: Exp; lines: +10 -1 Turn on PCI busmaster in the probe routine in case the BIOS did not. PR: 10150 Reviewed by: dg ============================================================================= On Wed, Apr 07, 1999 at 06:32:57PM -0500, Font wrote: > I've freshly-installed 3.1-RELEASE and have started to set up networking. > During the boot process, the ifconfig for fxp0 (the only NIC in the > machine) freezes. This same computer also boots 2.2.8-RELEASE without > difficulty. There are no IRQ conflicts. > > Were there significant changes in the fxp driver from 2.2.8-R to 3.1-R? > Are there any special flags I need to include in order to get the fxp > driver to bring the interface up? > > This is from my 2.2.8 messages file: > > Apr 7 17:50:06 kibbeh /kernel: fxp0 Apr 7 17:50:06 kibbeh /kernel: therExpress Pro 10/100B Ethernet> rev 2 int > a irq 10 on pci0:3:0 > > This is what 3.1 says on the screen when it detects fxp0: > > fxp0: rev 2 int a irq 10 on > pci0:3:0 > fxp0: Ethernet address 00:60:94:b9:99:8e > > So, they're basically seeing the same thing. > > I can duplicate the freeze by booting in single-user and issuing the > "ifconfig fxp0 192.168.1.151 netmask 255.255.255.0" myself. > > The only other difference between the configurations is that the 3.1 > system recognizes my Adaptec 7895 dual-channel SCSI, while the 2.2.8 > mentions it but doesn't use it. I also use "set root_disk_unit=0" since I > also have an IDE drive (thanks Greg Lewis for that suggestion!). > > Would it be unreasonable to snatch the 2.2.8 pci/if_fxp*.[ch] files and > try to use them? Is there any way I can help to figure out what the real > problem is? > > dw > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message