Date: Tue, 6 Jun 2006 10:57:01 +0800 From: netsick@iinet.net.au To: Craig Rodrigues <rodrigc@crodrigues.org> Cc: freebsd-current@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: NO AGPGART - i945 ICH7 - 7.0 Current Message-ID: <1149562621.4484eefd725ff@mail.iinet.net.au> In-Reply-To: <20060605060436.GA31638@crodrigues.org> References: <1149476679.44839f4740950@mail.iinet.net.au> <20060605060436.GA31638@crodrigues.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Craig, Patched pci_cfgreg.c as supplied. Rebuilt kernel. Rebooted. The patch broke the boot up sequence. I ended up at a mountroot> prompt due to no SATA support. (worked previously) atapci0: <Intel ICH7 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170- 0x177,0x376,0xffa0-0xffaf irq 16 at device 31.1 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 atapci1: <Intel ICH7 SATA300 controller> port 0xfe00-0xfe07,0xfe10- 0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfea0-0xfeaf irq 20 at device 31.2 on pci0 atapci1: failed to enable memory mapping! ata2: <ATA channel 0> on atapci1 ata3: <ATA channel 1> on atapci1 Making things difficult to get a log of the boot process as the HDD will not mount. Taking a look at the changes in the patch you have a "did" of 0x2700 for 945 support. Should this be looking for the Memory controller or the PCI-E controller? 0x2700 is the Memory Controller and 0x2701 is the PCI-e. Will try to get a better log, any suggestions considering the HDD will not mount? I can still see fd0. Thanks for you help. Kris hostb0@pci0:0:0: class=0x060000 card=0x01ad1028 chip=0x27708086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82945 Series Memory Controller Hub (MCH)' class = bridge subclass = HOST-PCI pcib1@pci0:1:0: class=0x060400 card=0x00000088 chip=0x27718086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = 'PCI Express Graphics Port' class = bridge subclass = PCI-PCI vgapci0@pci0:2:0: class=0x030000 card=0x01ad1028 chip=0x27728086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = 'Integrated Graphics Controller' class = display subclass = VGA vgapci1@pci0:2:1: class=0x038000 card=0x01ad1028 chip=0x27768086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = 'Integrated Graphics Controller' class = display pcib2@pci0:28:0: class=0x060400 card=0x00000040 chip=0x27d08086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class = bridge subclass = PCI-PCI pcib3@pci0:28:1: class=0x060400 card=0x00000040 chip=0x27d28086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class = bridge subclass = PCI-PCI uhci0@pci0:29:0: class=0x0c0300 card=0x01ad1028 chip=0x27c88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci1@pci0:29:1: class=0x0c0300 card=0x01ad1028 chip=0x27c98086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci2@pci0:29:2: class=0x0c0300 card=0x01ad1028 chip=0x27ca8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci3@pci0:29:3: class=0x0c0300 card=0x01ad1028 chip=0x27cb8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB ehci0@pci0:29:7: class=0x0c0320 card=0x01ad1028 chip=0x27cc8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller' class = serial bus subclass = USB pcib4@pci0:30:0: class=0x060401 card=0x00000050 chip=0x244e8086 rev=0xe1 hdr=0x01 vendor = 'Intel Corporation' device = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI pcm0@pci0:30:2: class=0x040100 card=0x01ad1028 chip=0x27de8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB I/O Controller Hub AC'97 Audio' class = multimedia subclass = audio isab0@pci0:31:0: class=0x060100 card=0x00000000 chip=0x27b88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB/GR (ICH7 Family) LPC Interface Controller' class = bridge subclass = PCI-ISA atapci0@pci0:31:1: class=0x01018a card=0x01ad1028 chip=0x27df8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) Ultra ATA Storage Controller' class = mass storage subclass = ATA atapci1@pci0:31:2: class=0x01018f card=0x01ad1028 chip=0x27c08086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller' class = mass storage subclass = ATA none0@pci0:31:3: class=0x0c0500 card=0x01ad1028 chip=0x27da8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) SMBus Controller' class = serial bus subclass = SMBus bge0@pci2:0:0: class=0x020000 card=0x01ad1028 chip=0x167714e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5750A1 NetXtreme Gigabit Ethernet PCI Express' class = network subclass = ethernet Quoting Craig Rodrigues <rodrigc@crodrigues.org>: > On Mon, Jun 05, 2006 at 11:04:39AM +0800, netsick@iinet.net.au wrote: > > > > device agp in my kernel > > > > no /dev/agpgart > > > > Can we get this supported please ? > > Can you try this patch? > > > Index: pci_cfgreg.c > =================================================================== > RCS file: /home/ncvs/src/sys/i386/pci/pci_cfgreg.c,v > retrieving revision 1.123 > diff -u -u -r1.123 pci_cfgreg.c > --- pci_cfgreg.c 8 Dec 2005 18:55:15 -0000 1.123 > +++ pci_cfgreg.c 5 Jun 2006 06:02:33 -0000 > @@ -167,8 +167,8 @@ > /* Intel 7520 or 7320 */ > pciebar = pci_cfgregread(0, 0, 0, 0xce, 2) << 16; > pciereg_cfgopen(); > - } else if (did == 0x2580 || did == 0x2584) { > - /* Intel 915 or 925 */ > + } else if (did == 0x2580 || did == 0x2584 || did == 0x2770) { > + /* Intel 915, 925, or 945 */ > pciebar = pci_cfgregread(0, 0, 0, 0x48, 4); > pciereg_cfgopen(); > } > > > -- > Craig Rodrigues > rodrigc@crodrigues.org > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1149562621.4484eefd725ff>