You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

I have installed -current on my PC, not trying to setup it. So have 2 problems:1. Cannot install AMD driver for video. ./amd-driver-install*run --buildpkg finishes with error of unfounded version.h
Tryied to do instructions from here - that instruction is fake I think because it is already broken on 3rd step(not such /lib/modules/fglrx/build_mod directory left after installer breaks).

2. There are no sound in any browser I run: opera, firefox, chrome. But Amarok plays nicely. mp3blaster to. Installed pulseaudio from SBo - no result

Is there any workable solutions for such problems?

EDIT: part1 not more necessary now, since driver causes segfault of X.

Full installation of course. I have managed to trick it.
1. Run installer, select wanted action to do(to build package for instance), but not confirm it.
2. Switch to other terminal, navigate to temporary directory created by installer, and apply patch there.
3. Confirm action.
Now it works.
Installed, rebooted, configured, running X.
But soon enough happened bad think: X segfaulted in fglrx code(google chrome in stack trace present also). So for now I reverted back.
But second problem not solved yet.

So I did it. It is empty now, but exists! Then, as instruction advices, I did "patch -p0 <3.8.patch" there, and? surprise, surprise, it fails, because patch cannot patch non-existing files.
Nothing changed! Installer does not uses that path. And Henry's algorithm as much useless as our conversation here.

willysr, I DID it. I am mature enough to follow instructions without errors.
1. change directory to the path where the installer is
DONE. In my case it is /usr/src
2. run the installer as root (superuser):
# ./amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run
DONE.
3. follow the instructions, at the end of installation process you will get notice that there are some errors.
DONE. Yes, there was errors.
4. exit the installer
DONE.
5. at console, copy the patch file (fglrx-3.8.patch) to /lib/modules/fglrx/build_mod/
NOT DONE. There is not any /lib/modules/fglrx/build_mod/ directory. OK, created it(it is empty now), on copied given patch file. DONE.
6. (optional, if you don't find version.h in /lib/modules/3.8.2/build/include/linux) Make symlink of version.h:
# ln -s /lib/modules/3.8.2/build/include/generated/uapi/linux/version.h /lib/modules/3.8.2/build/include/linux/version.h
DONE. In my case it was 3.8.4-smp
7. change directory to /lib/modules/fglrx/build_mod/
DONE.
8. patch the fglrx source:
# patch -p0 < fglrx-3.8.patch
NOT DONE. patch asks me for file name to patch to. What I should answer here?
9. compile the fglrx modules:
# ./make.sh
# cd ..
# ./make_install.sh
NOT CAN DO. There is no such files make.sh and make_install.sh
10. reboot
NOT DONE. No reason.

Quote:

start patching it

Start patching what? Empty space? Installer unpacks its sources into temporary directory and removes it completely it after exit. 4th step of instruction breaks whole instruction. Does anybody has reasons to consider me child/idiot? In any case, I done with this part of problem since, I do not need X to segfault every 5 minutes.

willysr, I DID it. I am mature enough to follow instructions without errors.
1. change directory to the path where the installer is
DONE. In my case it is /usr/src
2. run the installer as root (superuser):
# ./amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run
DONE.
3. follow the instructions, at the end of installation process you will get notice that there are some errors.
DONE. Yes, there was errors.
4. exit the installer
DONE.
5. at console, copy the patch file (fglrx-3.8.patch) to /lib/modules/fglrx/build_mod/
NOT DONE. There is not any /lib/modules/fglrx/build_mod/ directory. OK, created it(it is empty now), on copied given patch file. DONE.
6. (optional, if you don't find version.h in /lib/modules/3.8.2/build/include/linux) Make symlink of version.h:
# ln -s /lib/modules/3.8.2/build/include/generated/uapi/linux/version.h /lib/modules/3.8.2/build/include/linux/version.h
DONE. In my case it was 3.8.4-smp
7. change directory to /lib/modules/fglrx/build_mod/
DONE.
8. patch the fglrx source:
# patch -p0 < fglrx-3.8.patch
NOT DONE. patch asks me for file name to patch to. What I should answer here?
9. compile the fglrx modules:
# ./make.sh
# cd ..
# ./make_install.sh
NOT CAN DO. There is no such files make.sh and make_install.sh
10. reboot
NOT DONE. No reason.
Start patching what? Empty space? Installer unpacks its sources into temporary directory and removes it completely it after exit. 4th step of instruction breaks whole instruction. Does anybody has reasons to consider me child/idiot? In any case, I done with this part of problem since, I do not need X to segfault every 5 minutes.

Not. Instruction says just run as usual. I follow strictly instruction. Doesn't works. (Consider me stupid clerk instead of experienced developer.)
And YES, I did tried that too. Failed and failed again.
So forget that. Now I interested in second issue more(no sound in browsers).