From owner-freebsd-stable@FreeBSD.ORG Fri Aug 11 09:14:39 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37CC416A4DA; Fri, 11 Aug 2006 09:14:39 +0000 (UTC) (envelope-from dom@goodforbusiness.co.uk) Received: from mailhost.graphdata.co.uk (mailhost.graphdata.co.uk [195.12.22.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2193143D49; Fri, 11 Aug 2006 09:14:38 +0000 (GMT) (envelope-from dom@goodforbusiness.co.uk) Received: from localhost (localhost [127.0.0.1]) by mailhost.graphdata.co.uk (Postfix) with ESMTP id C58BE114026; Fri, 11 Aug 2006 10:14:36 +0100 (BST) X-Virus-Scanned: amavisd-new at graphdata.co.uk Received: from mailhost.graphdata.co.uk ([127.0.0.1]) by localhost (mailhost.graphdata.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sUzMXTYeebGe; Fri, 11 Aug 2006 10:14:33 +0100 (BST) Received: from [192.168.0.86] (gdc083.internal.graphdata.co.uk [192.168.0.86]) by mailhost.graphdata.co.uk (Postfix) with ESMTP id 9993F114037; Fri, 11 Aug 2006 10:14:33 +0100 (BST) Message-ID: <44DC4A79.7010501@goodforbusiness.co.uk> Date: Fri, 11 Aug 2006 10:14:33 +0100 From: Dominic Marks User-Agent: Thunderbird 1.5.0.5 (X11/20060809) MIME-Version: 1.0 To: John Baldwin References: <44D9B5B4.7010208@goodforbusiness.co.uk> <200608091627.43286.jhb@freebsd.org> <44DB5074.7040002@goodforbusiness.co.uk> <200608101341.57641.jhb@freebsd.org> In-Reply-To: <200608101341.57641.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Device conflict 3ware twe and CMedia sound card X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2006 09:14:39 -0000 John Baldwin wrote: > On Thursday 10 August 2006 11:27, Dominic Marks wrote: >> I've had a look, I don't exactly know what to look for, but I have >> several PCI Express to >> PCI bridges: >> >> pcib3@pci1:0:2: class=0x060400 card=0x00000044 chip=0x032a8086 rev=0x00 >> hdr=0x01 >> vendor = 'Intel Corporation' >> device = '6700PXH PCI Express-to-PCI Express Bridge B' >> class = bridge >> subclass = PCI-PCI > > You probably are hitting the condition I'm thinking of then. > >> While looking through the pciconf -vl output I also noticed this error: >> >> twe0@pci3:13:0: class=0x010400 card=0x100113c1 chip=0x100113c1 rev=0x01 >> hdr=0x00 >> vendor = '3ware Inc.' >> device = '7000/8000 series ATA-133 Storage Controller' ** >> class = mass storage >> subclass = RAID >> >> ** This actually a SATA 150 Controller. Not a big deal, but still incorrect. > > It's just a string in /usr/share/misc/pci_vendors, it has no effect on > operation or anything in the kernel. :) I thought so, but it is still wrong :) >>> hint.pci3.13.INTA.irq=17 >>> >>> That should make twe0 use IRQ 17. >>> >> I doesn't seem to have had the desired effect: >> >> > kenv | grep pci3 >> hint.pci3.13.INTA.irq="17" >> >> > grep twe0 /var/run/dmesg.boot >> twe0: <3ware Storage Controller. [...]> port 0xdcb0-0xdcbf mem >> 0xdf000000-0xdf7fffff irq 49 at device 13.0 on pci3 > > Erm, that should have worked. Did you just do 'kenv' to set it or did you > reboot and set it in the loader? Also, what version are you running, and > what revision of /sys/dev/pci/pci.c do you have? > I set it in devices.hints and rebooted. FreeBSD gdc083.internal.graphdata.co.uk 6.1-STABLE FreeBSD 6.1-STABLE #2: Mon Jul 17 16:30:13 BST 2006 dominicm@gdc083.internal.graphdata.co.uk:/usr/obj/usr/src/sys/GDC083 i386 /usr/src/sys/dev/pci/pci.c: $FreeBSD: src/sys/dev/pci/pci.c,v 1.292.2.7 2006/01/31 14:42:43 imp Exp $ Thanks John! Dominic