Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jan 2005 12:13:10 GMT
From:      stephane <tokxi@yahoo.fr>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/76851: AGP unrecognized & Over Use  of my CPU
Message-ID:  <200501301213.j0UCDAJ6070127@www.freebsd.org>
Resent-Message-ID: <200501301220.j0UCKA4F066796@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         76851
>Category:       i386
>Synopsis:       AGP unrecognized & Over Use  of my CPU
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 30 12:20:10 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     stephane
>Release:        FreeBSD 5.3-RELEASE #0
>Organization:
>Environment:
FreeBSD localhost 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004     root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
I ve recently install FreeBSD 5.3 on my laptop and get a strange trouble with X ( Xfree or XOrg give the same result ) : it use 100% of my cpu when i load it and i have reboot.

I get the same trouble with anterior version 5.1 , 4.10 and 4.8 . 

I ve noticed that my agp ( ali Cyberblade Ai/1 ) is disabling on loading due to a bad apertume size but i can't fix it ( apertume size) in my BIOS.

#dmesg
....
CPU: Intel Celeron (801.82-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x686 Stepping = 6
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory = 125763584 (119 MB)
avail memory = 117600256 (112 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 6 Entries> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Ali Generic host to PCI bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0
agp0: bad initial aperture size, disabling
device_attach: agp0 attach returned 6
....

#pciconf -lv
....
agp0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x163210b9 rev=0x01 hdr=0x00
vendor = 'Acer Labs Incorporated (ALi)'
device = 'ALI M1632 Aladdin i1 CyberBlade AGP System Controller'
class = bridge
subclass = HOST-PCI
pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x524710b9 rev=0x01 hdr=0x01
vendor = 'Acer Labs Incorporated (ALi)'
device = 'ALI M1621 PCI to AGP Bridge'
class = bridge
subclass = PCI-PCI
....


Here is a dump of my XFree loading

#cat XFree86.0.log

XFree86 Version 4.4.0
Release Date: 29 February 2004
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: FreeBSD 5.1-RELEASE i386 [ELF]
Current Operating System: FreeBSD localhost 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Thu Dec 23 21:48:59 UTC 2004 root@localhost:/usr/src/sys/i386/compile/TOSHKERN i386
Build Date: 27 February 2004
Changelog Date: 29 February 2004
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sun Dec 26 19:22:26 2004
(==) Using config file: "/etc/X11/XF86Config-4"
(==) ServerLayout "layout"
(**) |-->Screen "Screen 1" (0)
(**) | |-->Monitor "tftmonitor"
(**) | |-->Device "vesadevice"
(**) |-->Input Device "mouse"
(**) |-->Input Device "Keyboard"
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "genmouse"
(**) FontPath set to "unix/:7100"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.2
XFree86 Video Driver: 0.7
XFree86 XInput driver : 0.4
XFree86 Server Extension : 0.2
XFree86 Font Renderer : 0.4
(II) Loader running on freebsd
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.4.0, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.4.0, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.7
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 10b9,1632 card 0000,0000 rev 01 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 10b9,5247 card 0000,0000 rev 01 class 06,04,00 hdr 01
(II) PCI: 00:02:0: chip 10b9,5237 card 1179,0004 rev 03 class 0c,03,10 hdr 00
(II) PCI: 00:04:0: chip 10b9,5229 card 1179,0004 rev c3 class 01,01,f0 hdr 00
(II) PCI: 00:06:0: chip 10b9,5451 card 1179,0001 rev 01 class 04,01,00 hdr 00
(II) PCI: 00:07:0: chip 10b9,1533 card 1179,0004 rev 00 class 06,01,00 hdr 00
(II) PCI: 00:08:0: chip 10b9,7101 card 1179,0001 rev 00 class 06,80,00 hdr 00
(II) PCI: 00:11:0: chip 1179,0617 card 1000,0000 rev 32 class 06,07,00 hdr 82
(II) PCI: 00:11:1: chip 1179,0617 card fffc,0000 rev 32 class 06,07,00 hdr 82
(II) PCI: 01:00:0: chip 1023,8620 card 1179,0001 rev 5d class 03,00,00 hdr 00
(II) PCI: 03:00:0: chip 115d,0003 card 1014,8181 rev 03 class 02,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,4), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
[0] -1 0 0xfe000000 - 0xff7fffff (0x1800000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:7:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(II) PCI-to-CardBus bridge:
(II) Bus 3: bridge is at (0:17:0), (0,3,3), BCTRL: 0x0700 (VGA_EN is cleared)
(II) Bus 3 I/O range:
[0] -1 0 0x00001000 - 0x0000107f (0x80) IX[B]
(II) PCI-to-CardBus bridge:
(II) Bus 4: bridge is at (0:17:1), (0,4,4), BCTRL: 0x0400 (VGA_EN is cleared)
(--) PCI:*(1:0:0) Trident Microsystems CyberBlade/i1 rev 93, Mem @ 0xff000000/23, 0xfefe0000/17, 0xfe000000/23
(II) Addressable bus resource ranges are
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
[1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) PCI Memory resource overlap reduced 0xf8000000 from 0xffffffff to 0xf7ffffff
(II) Active PCI resource ranges:
[0] -1 0 0xfdffe000 - 0xfdffffff (0x2000) MX[B]E
[1] -1 0 0xfdfff000 - 0xfdffffff (0x1000) MX[B]E
[2] -1 0 0xf8000000 - 0xf7ffffff (0x0) MX[B]EO
[3] -1 0 0xfe000000 - 0xfe7fffff (0x800000) MX[B](B)
[4] -1 0 0xfefe0000 - 0xfeffffff (0x20000) MX[B](B)
[5] -1 0 0xff000000 - 0xff7fffff (0x800000) MX[B](B)
[6] -1 0 0x00001000 - 0x000010ff (0x100) IX[B]E
[7] -1 0 0x0000ed00 - 0x0000edff (0x100) IX[B]E
[8] -1 0 0x0000eff0 - 0x0000efff (0x10) IX[B]E
(II) Inactive PCI resource ranges:
[0] -1 0 0x88000000 - 0x8fffffff (0x8000000) MX[B]E
[1] -1 0 0x88000800 - 0x88000fff (0x800) MX[B]E
(II) PCI Memory resource overlap reduced 0xfdffe000 from 0xfdffffff to 0xfdffefff
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0 0xfdffe000 - 0xfdffefff (0x1000) MX[B]E
[1] -1 0 0xfdfff000 - 0xfdffffff (0x1000) MX[B]E
[2] -1 0 0xf8000000 - 0xf7ffffff (0x0) MX[B]EO
[3] -1 0 0xfe000000 - 0xfe7fffff (0x800000) MX[B](B)
[4] -1 0 0xfefe0000 - 0xfeffffff (0x20000) MX[B](B)
[5] -1 0 0xff000000 - 0xff7fffff (0x800000) MX[B](B)
[6] -1 0 0x00001000 - 0x000010ff (0x100) IX[B]E
[7] -1 0 0x0000ed00 - 0x0000edff (0x100) IX[B]E
[8] -1 0 0x0000eff0 - 0x0000efff (0x10) IX[B]E
(II) Inactive PCI resource ranges after removing overlaps:
[0] -1 0 0x88000000 - 0x8fffffff (0x8000000) MX[B]E
[1] -1 0 0x88000800 - 0x88000fff (0x800) MX[B]E
(II) OS-reported resource ranges after removing overlaps with PCI:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0xfdffe000 - 0xfdffefff (0x1000) MX[B]E
[6] -1 0 0xfdfff000 - 0xfdffffff (0x1000) MX[B]E
[7] -1 0 0xf8000000 - 0xf7ffffff (0x0) MX[B]EO
[8] -1 0 0xfe000000 - 0xfe7fffff (0x800000) MX[B](B)
[9] -1 0 0xfefe0000 - 0xfeffffff (0x20000) MX[B](B)
[10] -1 0 0xff000000 - 0xff7fffff (0x800000) MX[B](B)
[11] -1 0 0x88000000 - 0x8fffffff (0x8000000) MX[B]E
[12] -1 0 0x88000800 - 0x88000fff (0x800) MX[B]E
[13] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[14] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[15] -1 0 0x00001000 - 0x000010ff (0x100) IX[B]E
[16] -1 0 0x0000ed00 - 0x0000edff (0x100) IX[B]E
[17] -1 0 0x0000eff0 - 0x0000efff (0x10) IX[B]E
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
compiled for 4.4.0, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
compiled for 4.4.0, module version = 1.0.2
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project & the After X-TT Project"
compiled for 4.4.0, module version = 2.1.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
compiled for 4.4.0, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "vesa"
(II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.o
(II) Module vesa: vendor="The XFree86 Project"
compiled for 4.4.0, module version = 1.0.0
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.7
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.4.0, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.4
(II) VESA: driver for VESA chipsets: vesa
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset vesa found
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0xfdffe000 - 0xfdffefff (0x1000) MX[B]E
[6] -1 0 0xfdfff000 - 0xfdffffff (0x1000) MX[B]E
[7] -1 0 0xf8000000 - 0xf7ffffff (0x0) MX[B]EO
[8] -1 0 0xfe000000 - 0xfe7fffff (0x800000) MX[B](B)
[9] -1 0 0xfefe0000 - 0xfeffffff (0x20000) MX[B](B)
[10] -1 0 0xff000000 - 0xff7fffff (0x800000) MX[B](B)
[11] -1 0 0x88000000 - 0x8fffffff (0x8000000) MX[B]E
[12] -1 0 0x88000800 - 0x88000fff (0x800) MX[B]E
[13] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[14] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[15] -1 0 0x00001000 - 0x000010ff (0x100) IX[B]E
[16] -1 0 0x0000ed00 - 0x0000edff (0x100) IX[B]E
[17] -1 0 0x0000eff0 - 0x0000efff (0x10) IX[B]E
(II) resource ranges after probing:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0xfdffe000 - 0xfdffefff (0x1000) MX[B]E
[6] -1 0 0xfdfff000 - 0xfdffffff (0x1000) MX[B]E
[7] -1 0 0xf8000000 - 0xf7ffffff (0x0) MX[B]EO
[8] -1 0 0xfe000000 - 0xfe7fffff (0x800000) MX[B](B)
[9] -1 0 0xfefe0000 - 0xfeffffff (0x20000) MX[B](B)
[10] -1 0 0xff000000 - 0xff7fffff (0x800000) MX[B](B)
[11] -1 0 0x88000000 - 0x8fffffff (0x8000000) MX[B]E
[12] -1 0 0x88000800 - 0x88000fff (0x800) MX[B]E
[13] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
[14] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
[15] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
[16] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[17] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[18] -1 0 0x00001000 - 0x000010ff (0x100) IX[B]E
[19] -1 0 0x0000ed00 - 0x0000edff (0x100) IX[B]E
[20] -1 0 0x0000eff0 - 0x0000efff (0x10) IX[B]E
[21] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
[22] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="The XFree86 Project"
compiled for 4.4.0, module version = 1.1.0
ABI class: XFree86 Video Driver, version 0.7
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/libint10.a
(II) Module int10: vendor="The XFree86 Project"
compiled for 4.4.0, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.7
(II) VESA(0): initializing int10
(==) VESA(0): Write-combining range (0xa0000,0x20000) was already clear
(==) VESA(0): Write-combining range (0xc0000,0x40000) was already clear
(II) VESA(0): Primary V_BIOS segment is: 0xc000
(==) VESA(0): Write-combining range (0x0,0x1000) was already clear
(II) VESA(0): VESA BIOS detected
(II) VESA(0): VESA VBE Version 2.0
(II) VESA(0): VESA VBE Total Mem: 8192 kB
(II) VESA(0): VESA VBE OEM: Trident CYBER 8620
(II) VESA(0): VESA VBE OEM Software Rev: 2.0
(II) VESA(0): VESA VBE OEM Vendor: TRIDENT MICROSYSTEMS INC.
(II) VESA(0): VESA VBE OEM Product: CYBER 8620
(II) VESA(0): VESA VBE OEM Product Rev: BTT 7.0 (05.10)
(**) VESA(0): Depth 16, (--) framebuffer bpp 16
(==) VESA(0): RGB weight 565
(==) VESA(0): Default visual is TrueColor
(==) VESA(0): Using gamma correction (1.0, 1.0, 1.0)
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
compiled for 4.4.0, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.7



>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501301213.j0UCDAJ6070127>