Re: NO AGPGART - i945 ICH7 - 7.0 Current

From: <netsick_at_iinet.net.au>
Date: Tue, 6 Jun 2006 10:57:01 +0800
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_at_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_at_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_at_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_at_pci0:2:1:       class=0x038000 card=0x01ad1028 chip=0x27768086 
rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'Integrated Graphics Controller'
    class    = display
pcib2_at_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_at_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_at_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_at_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_at_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_at_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_at_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_at_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_at_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_at_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_at_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_at_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_at_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_at_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_at_crodrigues.org>:

> On Mon, Jun 05, 2006 at 11:04:39AM +0800, netsick_at_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
> _at__at_ -167,8 +167,8 _at__at_
>  			/* 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_at_crodrigues.org
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
Received on Tue Jun 06 2006 - 01:39:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:56 UTC