Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

intel 845 patch installation troubles

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
18 posts • Page 1 of 1
Author
Message
Jarhead
Guru
Guru
User avatar
Posts: 474
Joined: Fri Mar 26, 2004 4:21 pm

intel 845 patch installation troubles

  • Quote

Post by Jarhead » Wed Mar 31, 2004 12:50 am

I am using a Dell Inspiron 1100 (with the intel 845 graphics card). This requires a patch to display graphics, and when I try to install Intel's driver, I get an error message that my agpgart and drm modules aren't compiling. My log file gives me this message:

makefile:15: /Rules.make: No such file or directory
make: ***No rule to make target '/Rules.make'. Stop
make: Makefile.linux: No such file or directory
make: ***No rule to make target 'Makefile.linux'. Stop

Any ideas about how I can add these files to my machine?
Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated.
Top
kongit
n00b
n00b
Posts: 35
Joined: Fri Mar 26, 2004 8:17 pm

  • Quote

Post by kongit » Wed Mar 31, 2004 1:08 am

I have an inspiron 5100 and it has an 845 also. I don't require special drivers for video or graphics besides the intel-agp included with kernel 2.6 and there is one for 2.4 in the kernel also. maybe we have different 845 versions?
Top
zerocool_australia
n00b
n00b
Posts: 58
Joined: Thu Jul 31, 2003 11:04 am

  • Quote

Post by zerocool_australia » Wed Mar 31, 2004 2:17 am

I have both an 1100 and a 5100 and i don't think any 5100's have intel graphics. 5100s have Intel graphics controllers but the actual video chip is a Radeon 7500 or similar.

The 1100 with the Intel graphics chip does require a patch for allocation of graphics memory properly on both 2.4 and 2.6 kernels.

Jarhead: what kernel do you have?
Top
kongit
n00b
n00b
Posts: 35
Joined: Fri Mar 26, 2004 8:17 pm

  • Quote

Post by kongit » Wed Mar 31, 2004 2:58 am

The 1100 with the Intel graphics chip does require a patch for allocation of graphics memory properly on both 2.4 and 2.6 kernels.
Oh. You learn something new everyday. And even more with linux. :)
Top
Jarhead
Guru
Guru
User avatar
Posts: 474
Joined: Fri Mar 26, 2004 4:21 pm

whoops...

  • Quote

Post by Jarhead » Wed Mar 31, 2004 3:19 am

oops.. kernel 2.4.24. BTW.. when I upgrade kernels, will it require the patch to be put on again?
Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated.
Top
zerocool_australia
n00b
n00b
Posts: 58
Joined: Thu Jul 31, 2003 11:04 am

  • Quote

Post by zerocool_australia » Wed Mar 31, 2004 3:45 am

Well it's not actually a kernel patch, it's just a utility built against the kernel....
However it is dependant on the kernel so I believe you would need to rebuild it when you upgrade.

Back to the issue...the Inspiron 1100 i have is running 2.6.4 where 845patch compiles ok..so I'm not sure about your problem. I thought it was developed on 2.4 and hence should work there though.

One thing you can check that would cause problems:
is /usr/src/linux symlinked to /usr/src/linux-your-running-kernel-version?

I will keep thinking about this one..

Edit/addition: Looked at your error again and to me it suggest theres files missing. Try extracting a clean copy again and compile that
Top
zerocool_australia
n00b
n00b
Posts: 58
Joined: Thu Jul 31, 2003 11:04 am

  • Quote

Post by zerocool_australia » Wed Mar 31, 2004 3:52 am

Hmm.. Makefile.linux? I don't have that either.

Here is my list of files:

Code: Select all

 
TheOne 845patch # ls
845patch  845patch.c  845patch.o  Makefile  lrmi-0.8
What i get if i remake it:

Code: Select all

TheOne 845patch # make clean
rm -f 845patch.o lrmi-0.8/lrmi.o 845patch core
TheOne 845patch # make
gcc -c  -Wall -Ilrmi-0.8 -o 845patch.o 845patch.c
gcc -c  -Wall -Ilrmi-0.8 -o lrmi-0.8/lrmi.o lrmi-0.8/lrmi.c
gcc  -Wall -Ilrmi-0.8 -o 845patch 845patch.o lrmi-0.8/lrmi.o
Pretty clean really...
Maybe you have a different version
You're welcome to try my copy, i put it up at http://www.c2h2.net/files/845patch.tar.gz
Top
Jarhead
Guru
Guru
User avatar
Posts: 474
Joined: Fri Mar 26, 2004 4:21 pm

  • Quote

Post by Jarhead » Wed Mar 31, 2004 4:24 am

I was using the patch on Intel's site. The patch you are using is similar to the one I used while I was still with Fedora. The patch doesn't seem to play nice with 'make clean' on my system... How do you go about installing it? I appreciate your help.
Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated.
Top
Jarhead
Guru
Guru
User avatar
Posts: 474
Joined: Fri Mar 26, 2004 4:21 pm

  • Quote

Post by Jarhead » Wed Mar 31, 2004 4:11 pm

I found the install guide for my previous patch (the one similar to yours), and it was a matter of doing "cp 845patch /sbin/." Is that still the case?
Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated.
Top
zerocool_australia
n00b
n00b
Posts: 58
Joined: Thu Jul 31, 2003 11:04 am

  • Quote

Post by zerocool_australia » Wed Mar 31, 2004 4:51 pm

Yes that would be one way. You can run it from anywhere really, sbin is as good as any.
Were you trying to put it in the kernel tree?..If so don't do that
Top
Jarhead
Guru
Guru
User avatar
Posts: 474
Joined: Fri Mar 26, 2004 4:21 pm

make clean

  • Quote

Post by Jarhead » Wed Mar 31, 2004 7:58 pm

I did 'make clean' once, and even after deleting the file and putting it back onto my machine I get this error when executing 'make.'

Code: Select all

 make
gcc -c -Wall -lrmi-0.8 -o 845patch.o 845patch.c
845patch.c:26:18: lrmi.h: No such file or directory
845patch.c:27:17: vbe.h: No such file or directory
845patch.c: In function 'main':
845patch.c:44: error: storage size of 'r' isn't known
845patch.c:106: warning: implicit declaration of function 'LRMI_init'
845patch.c:107: warning: implicit declaration of function 'LRMI_alloc_real'
845patch.c:107:error: invalid application of 'sizeof' to an incomplete type
845patch.c:107: warning: assignment makes pointer from integer without a cast
845patch.c:119: warning: implicit declaration of function 'LRMI_int'
845patch.c:122: warning: implicit declaration of function 'LRMI_free_real'
845patch.c:129: error: dereferencing pointer to incomplete type
845patch.c:44: warning: unused variable 'r'
make: *** [845patch.o] Error 1
How do I fix this? And about the kernel tree, that would mean no patching the kernel directly, right? Sorry for the ignorant question... I'm still very much in the learning stage of using Linux.
Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated.
Top
zerocool_australia
n00b
n00b
Posts: 58
Joined: Thu Jul 31, 2003 11:04 am

  • Quote

Post by zerocool_australia » Wed Mar 31, 2004 8:17 pm

And about the kernel tree, that would mean no patching the kernel directly, right? Sorry for the ignorant question... I'm still very much in the learning stage of using Linux.
Yeah, don't mess with the kernel tree at all for this one. Just extract 845patch.tar.gz in an isolated directory, there should only be a few files then run make in that directory.
Top
klarnox
Guru
Guru
User avatar
Posts: 350
Joined: Tue Jan 28, 2003 3:26 am
Location: Wisconsin, USA

  • Quote

Post by klarnox » Wed Mar 31, 2004 9:37 pm

You may want to check out Dell's download site they have a new BIOS posted (A29) for the Inspiron 1100/5100 and one of the listed fixes relates to the Intel video under linux.
Top
Jarhead
Guru
Guru
User avatar
Posts: 474
Joined: Fri Mar 26, 2004 4:21 pm

didn't even know you could do that

  • Quote

Post by Jarhead » Thu Apr 01, 2004 12:46 am

I didn't realize that you can update your BIOS. I see that it is an executable file... How do you run that on Linux?
Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated.
Top
klarnox
Guru
Guru
User avatar
Posts: 350
Joined: Tue Jan 28, 2003 3:26 am
Location: Wisconsin, USA

  • Quote

Post by klarnox » Thu Apr 01, 2004 1:58 pm

Well, I'm dual booting so I can just run the executable in Windows... However they usually release a CD iso image within a week or so of the executable. Assuming they are going to do that you'll need to wait for the iso.

I'd probably post a message on their forums asking for it. They seem to respond a bit faster when they see a lot of requests.
Top
zerocool_australia
n00b
n00b
Posts: 58
Joined: Thu Jul 31, 2003 11:04 am

  • Quote

Post by zerocool_australia » Thu Apr 01, 2004 5:37 pm

Just a little warning, numerous people have reported problems with upgrading their BIOSes on the Dell 1100/5100 series...it seemed to lose even more ACPI support when we went to A28 and didn't gain anything.

Be warned and let us know how it goes!

David
Top
klarnox
Guru
Guru
User avatar
Posts: 350
Joined: Tue Jan 28, 2003 3:26 am
Location: Wisconsin, USA

  • Quote

Post by klarnox » Thu Apr 01, 2004 6:52 pm

ACPI seems to have the same functionality with A29 as it had with the last few revisions on my 5100. I'm running mm-sources 2.6.4 for reference.
Top
Jarhead
Guru
Guru
User avatar
Posts: 474
Joined: Fri Mar 26, 2004 4:21 pm

BIOS update ok

  • Quote

Post by Jarhead » Thu Apr 01, 2004 9:50 pm

I found an alternative... burn the file to a bootable cd (or floppy). Just boot it up and follow the prompts. Very quick and painless. Didn't see any change in my OS, so I'm going to attempt at stage 1 install (gulp) and see if that is any better.
Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated.
Top
Post Reply

18 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic