I'm trying to install a new dell machine at work but it's coming up with an unknown internal gig ether card and it's stupidly fussy about PCI cards (won't boot with random cards in it). The device is; 0x14e4 0x1677 which some searching tells me is a broadcom BCM5751 gig ether card. Adding the device ids to if_bge.c and if_bgereg.h; #define BCOM_DEVICEID_BCM5751 0x1677 { BCOM_VENDORID, BCOM_DEVICEID_BCM5751, "Broadcom BCM5751 Gigabit Ethernet" }, and PXE booting with the new kernel gives me; bge0: <Broadcom BCM5751 Gigabit Ethernet, ASIC rev. 0x4001> mem 0xdfcf0000-0xdfcfffff irq 11 at device 0.0 on pci2 NMI ISA a0, EISA ff RAM parity error, likely hardware failure. Fatal trap 19: non-maskable interrupt trap while in kernel mode instruction pointer = 0x8:0xc028a8cb stack pointer = 0x10:0xc0821d4c frame pointer = 0x10:0xc0821d54 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, IOPL = 0 current process = 0 (swapper) interrupt mask = net tty bio cam trap number = 19 panic: non-maskable interrupt trap This doesn't happen with a default kernel (or my special build kernel without the source patch). ANy hints or does this need real driver support work ? P. -- pir
On Fri, Sep 17, 2004 at 01:58:31PM -0400, Peter Radcliffe wrote:> I'm trying to install a new dell machine at work but it's coming up > with an unknown internal gig ether card and it's stupidly fussy about > PCI cards (won't boot with random cards in it). > > The device is; 0x14e4 0x1677 which some searching tells me is a > broadcom BCM5751 gig ether card.I have a few Dell 2650s at work and I had to load FreeBSD 5.2.1 (vs. 4.x-STABLE, which at the time was 4.9). They've all been up to long so I don't have any handy dmesg output to compare to yours. pciconf gives me this, which may be of some help: bge0@pci3:6:0: class=0x020000 card=0x01211028 chip=0x16a714e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5703X NetXtreme Gigabit Ethernet' class = network subclass = ethernet The "chip" field is close to yours, but not an exact match.
This one I seemed to get working fine. Patch attatched. P. -- pir -------------- next part -------------- *** sys/dev/ata/ata-pci.c.orig Fri Sep 17 15:23:46 2004 --- sys/dev/ata/ata-pci.c Fri Sep 17 15:37:13 2004 *************** *** 156,161 **** --- 156,164 ---- case 0x24db8086: return "Intel ICH5 ATA100 controller"; + case 0x26528086: + return "Intel ICH6 SATA150 controller"; + case 0x522910b9: if (pci_get_revid(dev) >= 0xc4) return "AcerLabs Aladdin ATA100 controller"; *************** *** 634,639 **** --- 637,643 ---- break; case 0x24d18086: /* Intel ICH5 SATA150 */ + case 0x26528086: /* Intel ICH6 SATA150 */ dmastat = ATA_INB(ch->r_bmio, ATA_BMSTAT_PORT); if ((dmastat & (ATA_BMSTAT_ACTIVE | ATA_BMSTAT_INTERRUPT)) ! ATA_BMSTAT_INTERRUPT) *** sys/dev/ata/ata-dma.c.orig Wed Dec 31 13:05:16 2003 --- sys/dev/ata/ata-dma.c Fri Sep 17 15:39:40 2004 *************** *** 218,223 **** --- 218,224 ---- case 0x24db8086: /* Intel ICH5 */ case 0x24d18086: /* Intel ICH5 SATA */ + case 0x26528086: /* Intel ICH6 SATA */ case 0x24ca8086: /* Intel ICH4 mobile */ case 0x24cb8086: /* Intel ICH4 */ case 0x248a8086: /* Intel ICH3 mobile */
is this a gx280? danny> John Kennedy <jk@jk.homeunix.net> probably said: > > Still, not your exact chipset (presumably 0x14e4 is vendor and 0x1677 is > > version, the chip= field has them swapped, > > You're correct. > > > and my two machines straddle your chip. > > I have another 5.3-BETA4 box with a BCM5788 (chip=0x169c14e4) but that > > isn't the right chip either, and it isn't a Dell. > > Yes, there is support for devices either side of the version ID I'm > having probles with. > > Unfortunately it's not supported under HEAD or 5.x; > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/ > > which is why I was asking for help with how to add support. > > P. > > -- > pir > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >
Can you try http://yogurt.org/FreeBSD/bge_5750.diff It got my 5751 working. Peter Radcliffe (pir@pir.net) wrote:> I'm trying to install a new dell machine at work but it's coming up > with an unknown internal gig ether card and it's stupidly fussy about > PCI cards (won't boot with random cards in it). > > The device is; 0x14e4 0x1677 which some searching tells me is a > broadcom BCM5751 gig ether card. > > Adding the device ids to if_bge.c and if_bgereg.h; > > #define BCOM_DEVICEID_BCM5751 0x1677 > > { BCOM_VENDORID, BCOM_DEVICEID_BCM5751, > "Broadcom BCM5751 Gigabit Ethernet" }, > > and PXE booting with the new kernel gives me; > > bge0: <Broadcom BCM5751 Gigabit Ethernet, ASIC rev. 0x4001> mem > 0xdfcf0000-0xdfcfffff irq 11 at device 0.0 on pci2 > NMI ISA a0, EISA ff > RAM parity error, likely hardware failure. > > Fatal trap 19: non-maskable interrupt trap while in kernel mode > instruction pointer = 0x8:0xc028a8cb > stack pointer = 0x10:0xc0821d4c > frame pointer = 0x10:0xc0821d54 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, IOPL = 0 > current process = 0 (swapper) > interrupt mask = net tty bio cam > trap number = 19 > panic: non-maskable interrupt trap > > This doesn't happen with a default kernel (or my special build kernel > without the source patch). ANy hints or does this need real driver > support work ? > > P. > > -- > pir-- -ps