LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-02-2003, 01:37 PM   #1
smith847be
Member
 
Registered: Jun 2003
Location: Hanover, New Hampshire, USA
Distribution: Debian Sid (Unstable)
Posts: 143

Rep: Reputation: 15
agpgart 'device not found' with i810


Warning: Newbie question.

I recently installed Debian Woody 3.0_r1 on my computer and I have yet to be able to launch X Windows. The XFree86.0.log file says: "(EE) Unable to open /dev/agpgart (No such device)" and ends with "Fatal server error:
AddScreen/ScreenInit failed for driver 0". The 'agpgart' file does exist there.
My hardware: Intel 82810E chipset (graphics card and main processor), NEC MultiSync 77F monitor, MicronPC RS2110 computer (I haven't changed it).
The relevant part of my XFree86.0.log file and XF86Config-4 file are copied below. I've already tried several things, but to no avail:

Tried: updating XFree86 (including all required dependencies for updating) with the 'testing' copy (xfree86-common_4.2.1-6_all.deb).
Result: no effect

Tried: $ "modprobe agpgart" in various directories (root, /dev/)
Result: "Error: cannot load module " and "Error: module not found"

Tried: $ "makedev agpgart"
Result: "Bash: command makedev not found"

Tried: $ "mkmod agpgart c 10 175" (copied this from some website)
Result: "Error: module not found"


By the way, I do not have internet access yet on Linux (I have a DWL-520+ 802.11b wireless card, which doesn't have a Linux driver available), but I do have a dual-boot with Microsoft Winblows ME that does work with it.


**************************************
XF86Config-4:
**************************************
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
# dpkg-reconfigure xserver-xfree86
# as root. Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "pex5"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
Load "xie"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "i810"
VideoRam 8192
Option "UseFBDev" "true"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 31-70
VertRefresh 50-125
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

### END DEBCONF SECTION




*************************************
XFree86.0.log
Note: removed all except video initialization stuff
*************************************

(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.4
(**) I810(0): Depth 24, (--) framebuffer bpp 24
(==) I810(0): RGB weight 888
(==) I810(0): Default visual is TrueColor
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Reloading /usr/X11R6/lib/modules/libvbe.a
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/linux/libint10.a
(II) I810(0): initializing int10
(II) I810(0): Primary V_BIOS segment is: 0xc000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 1024 kB
(II) I810(0): VESA VBE OEM: Intel(R) 8xx Chipset Video BIOS
(II) I810(0): VESA VBE OEM Software Rev: 4.1
(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Intel(R) 8xx Chipset
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Reloading /usr/X11R6/lib/modules/libddc.a
(II) I810(0): VESA VBE DDC supported
(II) I810(0): VESA VBE DDC Level 2
(II) I810(0): VESA VBE DDC transfer in appr. 1 sec.
(II) I810(0): VESA VBE DDC read successfully
(II) I810(0): Manufacturer: NEC Model: 61d2 Serial#: 16843009
(II) I810(0): Year: 2002 Week: 12
(II) I810(0): EDID Version: 1.3
(II) I810(0): Analog Display Input, Input Voltage Level: 0.700/0.300 V
(II) I810(0): Sync: Separate Composite
(II) I810(0): Max H-Image Size [cm]: horiz.: 33 vert.: 24
(II) I810(0): Gamma: 2.20
(II) I810(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) I810(0): First detailed timing is preferred mode
(II) I810(0): redX: 0.640 redY: 0.322 greenX: 0.277 greenY: 0.598
(II) I810(0): blueX: 0.145 blueY: 0.062 whiteX: 0.283 whiteY: 0.297
(II) I810(0): Supported VESA Video Modes:
(II) I810(0): 720x400@70Hz
(II) I810(0): 720x400@88Hz
(II) I810(0): 640x480@60Hz
(II) I810(0): 640x480@67Hz
(II) I810(0): 640x480@72Hz
(II) I810(0): 640x480@75Hz
(II) I810(0): 800x600@56Hz
(II) I810(0): 800x600@60Hz
(II) I810(0): 800x600@72Hz
(II) I810(0): 800x600@75Hz
(II) I810(0): 832x624@75Hz
(II) I810(0): 1024x768@60Hz
(II) I810(0): 1024x768@70Hz
(II) I810(0): 1024x768@75Hz
(II) I810(0): Manufacturer's mask: 0
(II) I810(0): Supported Future Video Modes:
(II) I810(0): #0: hsize: 640 vsize 480 refresh: 85 vid: 22833
(II) I810(0): #1: hsize: 800 vsize 600 refresh: 85 vid: 22853
(II) I810(0): #2: hsize: 1024 vsize 768 refresh: 85 vid: 22881
(II) I810(0): #3: hsize: 1152 vsize 864 refresh: 70 vid: 19057
(II) I810(0): #4: hsize: 1280 vsize 960 refresh: 60 vid: 16513
(II) I810(0): #5: hsize: 1280 vsize 1024 refresh: 60 vid: 32897
(II) I810(0): Supported additional Video Mode:
(II) I810(0): clock: 94.5 MHz Image Size: 310 x 232 mm
(II) I810(0): h_active: 1024 h_sync: 1072 h_sync_end 1168 h_blank_end 1376 h_border: 0
(II) I810(0): v_active: 768 v_sync: 769 v_sync_end 772 v_blanking: 808 v_border: 0
(II) I810(0): Ranges: V min: 55 V max: 120 Hz, H min: 31 H max: 70 kHz, PixClock max 110 MHz
(II) I810(0): Monitor name: MultiSync 77F
(II) I810(0): Serial No: 2350204YA
(--) I810(0): Chipset: "i810e"
(--) I810(0): Linear framebuffer at 0xE8000000
(--) I810(0): IO registers at addr 0xEFF80000
(EE) Unable to open /dev/agpgart (No such device)
(**) I810(0): Will alloc AGP framebuffer: 8192 kByte
(==) I810(0): Using gamma correction (1.0, 1.0, 1.0)
(II) I810(0): Generic Monitor: Using hsync range of 31.00-70.00 kHz
(II) I810(0): Generic Monitor: Using vrefresh range of 50.00-125.00 Hz
(II) I810(0): Clock range: 12.00 to 136.00 MHz
(II) I810(0): Not using default mode "1024x768" (unknown reason)
(II) I810(0): Not using default mode "1280x960" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1280x1024" (hsync out of range)
(II) I810(0): Not using default mode "1280x1024" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1792x1344" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1792x1344" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1856x1392" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1856x1392" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1400x1050" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using mode "1600x1200" (no mode of this name)
(--) I810(0): Virtual size is 1280x1024 (pitch 2048)
(**) I810(0): Default mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz
(II) I810(0): Modeline "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
(**) I810(0): Default mode "1280x960": 108.0 MHz, 60.0 kHz, 60.0 Hz
(II) I810(0): Modeline "1280x960" 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync
(**) I810(0): Default mode "1152x864": 108.0 MHz, 67.5 kHz, 75.0 Hz
(II) I810(0): Modeline "1152x864" 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
(**) I810(0): Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
(II) I810(0): Modeline "1024x768" 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
(**) I810(0): Default mode "800x600": 56.3 MHz, 53.7 kHz, 85.1 Hz
(II) I810(0): Modeline "800x600" 56.30 800 832 896 1048 600 601 604 631 +hsync +vsync
(**) I810(0): Default mode "640x480": 36.0 MHz, 43.3 kHz, 85.0 Hz
(II) I810(0): Modeline "640x480" 36.00 640 696 752 832 480 481 484 509 -hsync -vsync
(--) I810(0): Display dimensions: (33, 24) cm
(--) I810(0): DPI set to (98, 108)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
ABI class: XFree86 ANSI C Emulation, version 0.1
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.4
(==) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
[0] 0 0 0xeff80000 - 0xefffffff (0x80000) MS[B]
[1] 0 0 0xe8000000 - 0xebffffff (0x4000000) MS[B]
[2] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[3] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[4] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[5] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[6] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[7] -1 0 0xefde0000 - 0xefdeffff (0x10000) MX[B]E
[8] -1 0 0xefdff000 - 0xefdfffff (0x1000) MX[B]E
[9] -1 0 0xeff80000 - 0xefffffff (0x80000) MX[B](B)
[10] -1 0 0xe8000000 - 0xebffffff (0x4000000) MX[B](B)
[11] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
[12] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
[13] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
[14] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[15] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[16] -1 0 0x0000a800 - 0x0000a8ff (0x100) IX[B]E
[17] -1 0 0x0000ac00 - 0x0000acff (0x100) IX[B]E
[18] -1 0 0x0000d000 - 0x0000d0ff (0x100) IX[B]E
[19] -1 0 0x0000d400 - 0x0000d4ff (0x100) IX[B]E
[20] -1 0 0x00000540 - 0x0000057f (0x40) IX[B]E
[21] -1 0 0x0000cc00 - 0x0000ccff (0x100) IX[B]E
[22] -1 0 0x0000ffa0 - 0x0000ffbf (0x20) IX[B]E
[23] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
[24] 0 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(==) I810(0): Write-combining range (0xe8000000,0x4000000)
(II) I810(0): Setting dot clock to 108.0 MHz [ 0x10 0x2 0x20 ] [ 18 4 2 ]
(II) I810(0): chose watermark 0x22418000: (tab.freq 108.0)

Fatal server error:
AddScreen/ScreenInit failed for driver 0
 
Old 07-03-2003, 02:09 PM   #2
vladkrack
Member
 
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
The device is probably missin, so its need to creat with:
# mknod /dev/agpgart c 10 175
 
Old 07-03-2003, 02:58 PM   #3
smith847be
Member
 
Registered: Jun 2003
Location: Hanover, New Hampshire, USA
Distribution: Debian Sid (Unstable)
Posts: 143

Original Poster
Rep: Reputation: 15
Okay, I just tried that. It didn't work. First, the file /dev/agpgart is already there, and mknod won't do anything with it already there. I tried deleting it and then running the mknod command, which re-created the file, but I still have the same error when I try to start X.
 
Old 07-05-2003, 03:06 PM   #4
Abject
Member
 
Registered: Mar 2002
Location: Studio City, CA
Distribution: Debian (Sarge-Sid)
Posts: 76

Rep: Reputation: 15
If you're sure it is an AGP card (just checking), how about another round of
# debconf
to be sure you've selected it? Does that do anything for you?
 
Old 07-11-2003, 12:25 PM   #5
smith847be
Member
 
Registered: Jun 2003
Location: Hanover, New Hampshire, USA
Distribution: Debian Sid (Unstable)
Posts: 143

Original Poster
Rep: Reputation: 15
I'm about 95% sure that my graphics 'card' is considered AGP - The graphics functionality is an on-board thing that is part of the motherboard (Yes, it's one of those wimpy Celeron things). I've tried # debconf with a number of different command line switches, and it still doesn't work. By the way, I believe that # debconf is run automatically when X doesn't start. Intel's website says that agpgart modules can be used with my 82810E chipset. I did install the 'stable' version of Debian, should I just try to reinstall, but with the 'testing' version?
 
Old 07-11-2003, 01:51 PM   #6
Haite
LQ Newbie
 
Registered: Mar 2003
Location: Santa Margarita, CA
Distribution: Debian Sarge
Posts: 9

Rep: Reputation: 0
Can you post a dmesg? A lot of times X is funny with AGP cards, and you have to tell it where they're located on the PCI bus. Usually it's the first address, but it may be different in your case. At any rate, try adding
Code:
BusID "PCI:1:0:0"
to the "Device" section of XF86Config-4, but substitute whatever your device is located on in dmesg for the above address (which is the AGP slot in most non-integrated boards).
 
Old 07-11-2003, 05:32 PM   #7
Haite
LQ Newbie
 
Registered: Mar 2003
Location: Santa Margarita, CA
Distribution: Debian Sarge
Posts: 9

Rep: Reputation: 0
By the way, if your card isn't recognized at boot time then you may have to roll a new kernel, because AGP support and framebuffer modules need to be there in the first place. The default Debian kernel, in all its bloatedness, should have it all though.
 
Old 07-14-2003, 05:50 PM   #8
ether_joe
LQ Newbie
 
Registered: Apr 2003
Location: Bay Area, CA
Distribution: Debian Woody
Posts: 9

Rep: Reputation: 0
just went through this too!

Okay, I went through this a few weeks ago (newbie myself), it was very frustrating!

I found this howto, have you checked it out yet?

http://www.tldp.org/HOWTO/i810-HOWTO/x21.html

I managed to make it work. I had to upgrade to a 2.4 kernel to get the right AGP support. Had a problem with ncurses, don't remember the fix. . . uh. . . right, in my notes I have

apt-get install libncurses5-dev

as a command I used.

HTH!!!!! 8^)
 
Old 07-15-2003, 12:23 PM   #9
smith847be
Member
 
Registered: Jun 2003
Location: Hanover, New Hampshire, USA
Distribution: Debian Sid (Unstable)
Posts: 143

Original Poster
Rep: Reputation: 15
Thanks - I'm away, now, so I'll try later

Thanks, ether_joe and Haite. I'll try that stuff in another week and a half. I'm at a summer camp for a couple of weeks, but I'll try it soon. I haven't checked out that website, ether_joe, but it looks good. It didn't come up in my Google searches for some reason. Hopefully it will work. Thanks!
 
Old 08-02-2003, 12:15 PM   #10
smith847be
Member
 
Registered: Jun 2003
Location: Hanover, New Hampshire, USA
Distribution: Debian Sid (Unstable)
Posts: 143

Original Poster
Rep: Reputation: 15
Yes! That finally worked. I also had to upgrade to 2.4.x kernel (kinda strange that I had to do that, though). Then it worked, finally. Thanks again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel and agpgart and ide_scsi module not found houler Slackware 5 08-01-2008 02:01 AM
nVdia's AGPGART or Kernel 2.6.11.1 AGPGART slackermike Slackware 3 06-09-2005 02:26 PM
usblp0 no device found marzojl Linux - Newbie 7 07-22-2004 01:18 PM
2.6.0 i810 agpgart and xwindows g_manO0O0 Slackware 4 12-31-2003 11:34 AM
agpgart 'device not found' with i810 smith847be Linux - Software 3 12-19-2003 11:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration