macman on April 09, 2008, 10:01:26 PM
Hi.

I've been messing around with ATI drivers and now the result is that I'm not able to run Granular in graphical mode. Actually I'm writing from Windows XP now...  :(
First of all I installed 3D ATI drivers going into the Granular Hardware configuration (sorry for not beeing so precise but I remark I'm on Windows now...) and I suppose that tool would have installed linux ati drivers which (I suppose) should be different from proprietary ATI drivers. Anyway I installed those drivers and when configuring some parameters Granular told me  "for this model you can use proprietary drivers that are marvellous and have a superior quality" or something like that. So I fell into this trap, I accepted and when rebooting I had every type of mess. Now I'm not able to restore the old drivers since ATI is still not able to create correct drivers for linux.

Any suggestion please? Thanks for your time.

Aquafire on April 10, 2008, 02:24:06 AM
Quote from: Macman
Any suggestion please? Thanks for your time.

Just one...

Reinstall Granular..

That is by far the easiest option.

Secondly I have 2 questions...

(1) Why are you wanting to muck around with olde ATA drivers?

(2) is it because your wanting to run this on a Mac ?

Aqua

Anurag Bhandari on April 10, 2008, 04:11:03 AM
macman,

Could you tell us more about your problem, more details of it? What happens when you try to get to the GUI in Granular?

macman on April 10, 2008, 04:49:20 AM
Aquafire: I don't know what has ATA to do with ATI...

Anurag Bhandari: Here there are some useful infos. I installed the new test kernel because of this http://www.granularlinux.com/forum/index.php?topic=583.0
I don't know if this helps.

Anyway, if I remove any prevoiusly installed ATI drivers with
  • sh /usr/share/ati/fglrx-uninstall.sh  (uninstalls propietary drivers )
  • apt-get remove ati   (uninstalls non-propietary drivers)
and then I install them back again with the following commands
  • init 3
  • apt-get install dkms-ati
  • XFdrake
I get this error message while runninf "apt-get install dkms-ati":
Quote
Error! Could not locate fglrx.ko.gz module for the DKMS tree. You must run a dkms build for kernel 2.6.24.3 granular1 (i586) first

and it also says to take a look at /var/lib/dkms/ati/8.40.4-2pclos2007/build/make.log :
Quote
DKMS make.log for ati-8.40.4-2pclos2007 for kernel 2.6.24.3.granular1 (i586)
Thu Apr 10 04:11:30 CEST 2008
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
 Assuming default VMAP API
 Assuming default munmap API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.24.3.granular1/build SUBDIRS=/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.24.3.granular1'
  CC [M]  /var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.o
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function '__ke_check_pci':
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:1864: warning: 'pci_find_slot' is deprecated (declared at include/linux/pci.h:493)
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function '__ke_pci_find_device':
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:1893: warning: 'pci_find_device' is deprecated (declared at include/linux/pci.h:492)
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function '__ke_vm_test_and_clear_dirty':
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:2418: error: implicit declaration of function 'ptep_test_and_clear_dirty'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function '__ke_pci_find_slot':
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:2726: warning: 'pci_find_slot' is deprecated (declared at include/linux/pci.h:493)
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function '__ke_request_irq':
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:2836: error: 'SA_SHIRQ' undeclared (first use in this function)
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:2836: error: (Each undeclared identifier is reported only once
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:2836: error: for each function it appears in.)
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:2836: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function '__ke_pte_phys_addr_str':
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:3410: error: implicit declaration of function 'pte_read'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:3412: error: implicit declaration of function 'pte_exec'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: At top level:
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5313: error: expected specifier-qualifier-list before 'kmem_cache_t'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function 'KAS_SlabCache_Initialize':
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5352: error: 'kasSlabCache_t' has no member named 'routine_type'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5353: error: 'kasSlabCache_t' has no member named 'lock'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5354: error: 'kasSlabCache_t' has no member named 'name'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5358: error: 'kasSlabCache_t' has no member named 'cache'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5359: error: 'kasSlabCache_t' has no member named 'name'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5359: error: too many arguments to function 'kmem_cache_create'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function 'KAS_SlabCache_Destroy':
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5382: error: 'kasSlabCache_t' has no member named 'cache'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5392: error: 'kasSlabCache_t' has no member named 'cache'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5394: error: 'kasSlabCache_t' has no member named 'cache'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function 'KAS_SlabCache_AllocEntry':
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5429: error: 'kasSlabCache_t' has no member named 'routine_type'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5430: error: 'kasSlabCache_t' has no member named 'lock'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5454: error: 'kasSlabCache_t' has no member named 'cache'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5457: error: 'kasSlabCache_t' has no member named 'lock'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5465: error: 'kasSlabCache_t' has no member named 'cache'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function 'KAS_SlabCache_FreeEntry':
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5493: error: 'kasSlabCache_t' has no member named 'routine_type'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5494: error: 'kasSlabCache_t' has no member named 'lock'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5506: error: 'kasSlabCache_t' has no member named 'cache'
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5509: error: 'kasSlabCache_t' has no member named 'lock'
make[2]: *** [/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.3.granular1'
make: *** [kmod_build] Error 2
build failed with return value 2

Googling a bit it seems I'm missing some kernel sources:
- are there kernel sources for that kernel test release I mentioned above?
- how to realize if I have got kernel sources for the version referred by that error message? How to install them just in case?

I recall I'm using WindowsXP now, so that obliges me to go back and forth between Linux and Windows since I cannot use a browser on Linux (no graphic means no web browser that means no google, no reading/writing posts etc) so I want to please ask you to be as much precise as you can trying to suggest the exact commands to write.

Thanks for your help.

Anurag Bhandari on April 10, 2008, 05:05:02 AM
macman,

1. Our kernel has been updated to the latest version: 2.6.24.4. It's in the "test" section of our repo. So, make sure to install it.

2. We always give the extra kernel source files in the form of an extra package. So, after installing the new kernel, download this file: http://www.granularproject.org/content/repo/granular/2008/RPMS.test/kernel-source-2.6.24.4.granular2-1-1granular2008.i686.rpm

Then, install it on your system by giving this command:

Code: [Select]
rpm -ivh kernel-source-2.6.24.4.granular2-1-1granular2008.i686.rpm

Hope that solves your problem.

Aquafire on April 10, 2008, 07:01:54 AM
Aquafire: I don't know what has ATA to do with ATI...

Nothing.

I was just a typo error on my behalf...

I meant ATI...

Aqua


macman on April 10, 2008, 01:13:48 PM
Reinstall Granular..

Unfortunately it's the solution I've been adopting with Ubuntu (various versions), Mandriva 2008, Fedora 8... hoped it was not the case of Granular but if you say so... well... it sounds quite clear  :-[
Quote
(1) Why are you wanting to muck around with old ATA drivers?
(2) is it because your wanting to run this on a Mac ?
1. Old ATI drivers? they've been updated a lot during 2008...
2. Don't want to run on Mac
« Last Edit: April 10, 2008, 01:38:45 PM by macman »

chrisz on April 10, 2008, 02:10:19 PM

macman,

Not sure how you are getting back to the command line, but go back there.

Make sure you're connected to the internet, with ifup eth0 for ethernet access.

Then do

apt-get install kernel-source-2.6.24.4.granular2
apt-get install ati
apt-get install dkms-ati

That should install the correct driver for your card.

I think those commands will work for apt-get to get the installations. If not the exact file names are going to be.

kernel-source-2.6.24.4.granular2-1-1granular2008.i686.rpm
ati-8.40.4-2pclos2007.i586.rpm
dkms-ati-8.40.4-2pclos2007.i586.rpm


Chris

macman on April 10, 2008, 02:27:13 PM
1. Our kernel has been updated to the latest version: 2.6.24.4. It's in the "test" section of our repo. So, make sure to install it.
As I said, I had already it installed because of those sound problems.

Quote
2. We always give the extra kernel source files in the form of an extra package. So, after installing the new kernel, download this file: http://www.granularproject.org/content/repo/granular/2008/RPMS.test/kernel-source-2.6.24.4.granular2-1-1granular2008.i686.rpm
I've been doing
Code: [Select]
wget http://www.granularproject.org/content/repo/granular/2008/RPMS.test/kernel-source-2.6.24.4.granular2-1-1granular2008.i686.rpmdidn't work. It gave me a "Forbidden" error. So I downloaded the 'links' (command line web browser) and managed to download it.
I installed it and had an "already installed" message.

Quote
Hope that solves your problem.
No, it didn't. Once more I ensured I had propietary and non-propietary drivers uninstalled. Then I tried installing propietary drivers at first. That's the fglrx-install.log
Code: [Select]
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
 Assuming default VMAP API
 Assuming default munmap API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.24.4.granular2/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.24.4.granular2'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
In file included from /lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:41,
                 from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:371:
/lib/modules/fglrx/build_mod/2.6.x/drmP.h:126:1: warning: "DRM_DEBUG_CODE" redefined
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:177:1: warning: this is the location of the previous definition
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:489: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘firegl_stub_open’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:612: warning: assignment discards qualifiers from pointer target type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_check_pci’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1836: warning: ‘pci_find_slot’ is deprecated (declared at include/linux/pci.h:493)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_pci_find_device’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1865: warning: ‘pci_find_device’ is deprecated (declared at include/linux/pci.h:492)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_do_mmap’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1970: warning: assignment makes pointer from integer without a cast
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_vm_test_and_clear_dirty’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2321: error: implicit declaration of function ‘ptep_test_and_clear_dirty’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_pci_find_slot’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2622: warning: ‘pci_find_slot’ is deprecated (declared at include/linux/pci.h:493)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_request_irq’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2732: error: ‘SA_SHIRQ’ undeclared (first use in this function)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2732: error: (Each undeclared identifier is reported only once
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2732: error: for each function it appears in.)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2732: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_pte_phys_addr_str’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3306: error: implicit declaration of function ‘pte_read’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3308: error: implicit declaration of function ‘pte_exec’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_smp_call_function’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4172: warning: passing argument 1 of ‘smp_call_function’ from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5106: error: expected specifier-qualifier-list before ‘kmem_cache_t’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘KAS_SlabCache_Initialize’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5145: error: ‘kasSlabCache_t’ has no member named ‘routine_type’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5146: error: ‘kasSlabCache_t’ has no member named ‘lock’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5147: error: ‘kasSlabCache_t’ has no member named ‘name’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5151: error: ‘kasSlabCache_t’ has no member named ‘cache’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5152: error: ‘kasSlabCache_t’ has no member named ‘name’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5152: error: too many arguments to function ‘kmem_cache_create’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘KAS_SlabCache_Destroy’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5175: error: ‘kasSlabCache_t’ has no member named ‘cache’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5185: error: ‘kasSlabCache_t’ has no member named ‘cache’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5187: error: ‘kasSlabCache_t’ has no member named ‘cache’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘KAS_SlabCache_AllocEntry’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5222: error: ‘kasSlabCache_t’ has no member named ‘routine_type’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5223: error: ‘kasSlabCache_t’ has no member named ‘lock’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5247: error: ‘kasSlabCache_t’ has no member named ‘cache’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5250: error: ‘kasSlabCache_t’ has no member named ‘lock’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5258: error: ‘kasSlabCache_t’ has no member named ‘cache’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘KAS_SlabCache_FreeEntry’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5286: error: ‘kasSlabCache_t’ has no member named ‘routine_type’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5287: error: ‘kasSlabCache_t’ has no member named ‘lock’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5299: error: ‘kasSlabCache_t’ has no member named ‘cache’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5302: error: ‘kasSlabCache_t’ has no member named ‘lock’
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.4.granular2'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.

So once more I removed that installation and installed 'apt-get install dkms-ati'. But still no luck. That's the stout output:
Code: [Select]
Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
  ati
The following NEW packages will be installed:
  ati dkms-ati
0 upgraded, 2 newly installed, 0 removed and 1 not upgraded.
Need to get 0B/10.9MB of archives.
After unpacking 29.0MB of additional disk space will be used.
Do you want to continue? [Y/n] Committing changes...
Preparing packages for installation...
ati-8.40.4-2pclos2007
dkms-ati-8.40.4-2pclos2007

Creating symlink /var/lib/dkms/ati/8.40.4-2pclos2007/source ->
                 /usr/src/ati-8.40.4-2pclos2007

DKMS: add Completed.

Running PCLinuxOS DKMS build routine. Please Wait....

Building module:
cleaning build area...
KERNEL_PATH=/lib/modules/2.6.24.4.granular2/build uname_r=2.6.24.4.granular2 sh make.sh....(bad exit status: 1)
Stopping atd: [  OK  ]
Starting atd: [  OK  ]
Done.
Please note that "bad exit status: 1"...

The corresponding stderr:
Code: [Select]
Error! Bad return status for module build on kernel: 2.6.24.4.granular2 (i586)
Consult the make.log in the build directory
/var/lib/dkms/ati/8.40.4-2pclos2007/build/ for more information.

Error! Could not locate fglrx.ko.gz for module ati in the DKMS tree.
You must run a dkms build for kernel 2.6.24.4.granular2 (i586) first.

and that's the make.log
Code: [Select]
DKMS make.log for ati-8.40.4-2pclos2007 for kernel 2.6.24.4.granular2 (i586)
Thu Apr 10 12:18:30 CEST 2008
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
 Assuming default VMAP API
 Assuming default munmap API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.24.4.granular2/build SUBDIRS=/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.24.4.granular2'
  CC [M]  /var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.o
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function ‘__ke_check_pci’:
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:1864: warning: ‘pci_find_slot’ is deprecated (declared at include/linux/pci.h:493)
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function ‘__ke_pci_find_device’:
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:1893: warning: ‘pci_find_device’ is deprecated (declared at include/linux/pci.h:492)
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function ‘__ke_vm_test_and_clear_dirty’:
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:2418: error: implicit declaration of function ‘ptep_test_and_clear_dirty’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function ‘__ke_pci_find_slot’:
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:2726: warning: ‘pci_find_slot’ is deprecated (declared at include/linux/pci.h:493)
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function ‘__ke_request_irq’:
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:2836: error: ‘SA_SHIRQ’ undeclared (first use in this function)
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:2836: error: (Each undeclared identifier is reported only once
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:2836: error: for each function it appears in.)
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:2836: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function ‘__ke_pte_phys_addr_str’:
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:3410: error: implicit declaration of function ‘pte_read’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:3412: error: implicit declaration of function ‘pte_exec’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: At top level:
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5313: error: expected specifier-qualifier-list before ‘kmem_cache_t’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function ‘KAS_SlabCache_Initialize’:
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5352: error: ‘kasSlabCache_t’ has no member named ‘routine_type’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5353: error: ‘kasSlabCache_t’ has no member named ‘lock’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5354: error: ‘kasSlabCache_t’ has no member named ‘name’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5358: error: ‘kasSlabCache_t’ has no member named ‘cache’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5359: error: ‘kasSlabCache_t’ has no member named ‘name’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5359: error: too many arguments to function ‘kmem_cache_create’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function ‘KAS_SlabCache_Destroy’:
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5382: error: ‘kasSlabCache_t’ has no member named ‘cache’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5392: error: ‘kasSlabCache_t’ has no member named ‘cache’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5394: error: ‘kasSlabCache_t’ has no member named ‘cache’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function ‘KAS_SlabCache_AllocEntry’:
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5429: error: ‘kasSlabCache_t’ has no member named ‘routine_type’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5430: error: ‘kasSlabCache_t’ has no member named ‘lock’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5454: error: ‘kasSlabCache_t’ has no member named ‘cache’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5457: error: ‘kasSlabCache_t’ has no member named ‘lock’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5465: error: ‘kasSlabCache_t’ has no member named ‘cache’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c: In function ‘KAS_SlabCache_FreeEntry’:
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5493: error: ‘kasSlabCache_t’ has no member named ‘routine_type’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5494: error: ‘kasSlabCache_t’ has no member named ‘lock’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5506: error: ‘kasSlabCache_t’ has no member named ‘cache’
/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.c:5509: error: ‘kasSlabCache_t’ has no member named ‘lock’
make[2]: *** [/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/lib/dkms/ati/8.40.4-2pclos2007/build/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.4.granular2'
make: *** [kmod_build] Error 2
build failed with return value 2

macman on April 10, 2008, 03:33:27 PM

Not sure how you are getting back to the command line, but go back there.
I booted "safe mode" kernel image and just get the command line.
Quote
apt-get install kernel-source-2.6.24.4.granular2
apt-get install ati
apt-get install dkms-ati
No way to solve the problem. Running in safe mode loads 2.6.24.3.granular1 I suppose and that should be the reason why it gives an error messages recalling I have no kernel source for that version. So, I just installed those sources for 2.6.24.3.granular1 with apt-get in a similar way you told me as for 2.6.24.4 . I removed the 'ati' and 'dkms-ati' packages, installed back again 'ati' but once more I get that "bad exit status: 1" and all the stuff I exposed in my previous post (please see above)

Quote
kernel-source-2.6.24.4.granular2-1-1granular2008.i686.rpm
ati-8.40.4-2pclos2007.i586.rpm
dkms-ati-8.40.4-2pclos2007.i586.rpm
I suppose that's unnecessary in my case, right?

Moreover I suppose the pint is that:
"You must run a dkms build for kernel 2.6.24.4.granular2 (i586) first."
but actually I just don't know how to "run a dkms build"
« Last Edit: April 10, 2008, 04:05:41 PM by macman »

macman on April 11, 2008, 01:27:20 PM
Some additional infos.
I login (well, actually it's autologin) it just shows a black screen and a box asking for password for root. After putting the root password I get a "3D Desktop effects" windows and still that black background. That window says:
"This tool allows you to configure 3d desktop effects."
and has some radio buttons
  • No 3D desktop efects
  • Full 3D desktop effects (OpenGL compositing)

A graphical server supporting OpenGL compositing should be selected
  • Use native support [I cannot select this radio]
  • Use Xgl
  • Use Compiz-Fusion
  • Use Compiz

I've been trying all the possible combinations but when pressing the OK button I always get this message:
You need to log out and back in again for changes to take effects

Pressing the OK button gives me no chance to logout from that strange session.
I've been trying to login and logout using another login session through CTRL+ALT+F1 but it doesn't work, I mean it's impossible to 'startx' and if I 'halt' or 'reboot' I always get that 3D Desktop Effects asking the same things to me...
I suppose that's due to the fact that I should be able lo "log out and back in" just that strange session... while using CTRL+ALT+F1 opens a new different session...

Any suggestion please? My Granular is out of use...

chrisz on April 12, 2008, 01:16:27 AM
macman,

Ok we have to take a few steps back, cause you're skipping steps.

Quote
kernel-source-2.6.24.4.granular2-1-1granular2008.i686.rpm
ati-8.40.4-2pclos2007.i586.rpm
dkms-ati-8.40.4-2pclos2007.i586.rpm
I suppose that's unnecessary in my case, right?

This step was necessary in your case, and I was trying to tell you that if the first commands for apt-get did not work,
you may have to use the commands with the actual rpm names. Then what you quoted was the actual names that I gave you to try.

Also you more than likely have the 3DDesktop package installed. You will need to start by following these steps, step by step.

First again, go back to the command line, and make sure you have an internet connection with ifup eth0, or whatever is needed for your ethernet card.

Then let's try to remove the 3ddesktop package

apt-get remove task-3ddesktop-2007-3pclos2007.noarch.rpm

Now if this does not work, we just need to stop and figure out why. Make sure the package is the one installed on the system, make sure the command was entered right.

Then install the kernel source, now I believe from earlier posts we need to try and get you sound working so we are going with the latest build of the kernel. So install by doing this

apt-get install kernel-source-2.6.24.4.granular2-1-1granular2008.i686.rpm

Now if this does not work, it's possible that you don't have that repo selected, and we would need to edit your sources.list file for apt, in order for it to see the repo.

Now I believe we removed the ati stuff, but if you have not then do so again.

Then try to install the dkms-ati package. You don't need to know how to do the dkms build, because if you install the rpm it will do it all for you. So try this

apt-get install dkms-ati-8.40.4-2pclos2007.i586.rpm

And if that does not work, we would just need to check the rpm name, and make sure it has not been updated. And if apt tells you, that you need to install ati first then do

apt-get install ati-8.40.4-2pclos2007.i586.rpm

And hopefully that will get you to a graphic interface. Understanding that these are not the drivers you desire, but we are going to have to focus on one thing at a time. Once we get you into that gui, we can then work on installing the drivers you're looking for.

Now last but not least. I honestly believe you have kinda mucked up this system pretty badly. And Aqua has given some pretty good advice, and that is to reinstall Granular. And there is nothing wrong with that, I am sure any of the other developers here will tell you. I completely hose my system beyond repair on a regular basis. And the thing is, if we manage to get you gui back, it may not have been worth the time. Because you can install the system very quickly, and we could move on from there. To figure out what drivers you want to go with, or what you are actually trying to accomplish. So I would honestly give this one more try, and if above stuff does not work, I would just reinstall. Then come back to the drivers. If it does work, we will end up at that point anyway. And would be right back to the gui. Unless there is some other reason you don't want to go with reinstalling. And if that's truly the case, we can try to dig deeper.

Chris


macman on April 12, 2008, 12:19:33 PM
Thank you cris.

apt-get remove task-3ddesktop-2007-3pclos2007.noarch.rpm

It doesn't work. I can see it with 'apt-cache showpkg task-2ddesktop' (or something like that... I'm on WinXP now...) but it's impossible to remove it. I supposed it was not installed so I also tried to install it but I didn't manage to install it.

Quote
apt-get install kernel-source-2.6.24.4.granular2-1-1granular2008.i686.rpm
The only way to get the command line is booting in "safe mode" and it loads 2.6.24.3 (confirmed through 'uname -a') so I installed sources for 2.6.24.3

Quote
apt-get install dkms-ati-8.40.4-2pclos2007.i586.rpm
Impossible to install it. It's in my apt-get package list but no way to install it. I've been trying without that ".rpm" but still didn't work.

Quote
apt-get install ati-8.40.4-2pclos2007.i586.rpm
Well I didn't try this... I'm about to reinstall Granular.

chrisz on April 12, 2008, 02:50:13 PM
macman,

I believe you're making a good choice. Let us know when you get it reinstalled, we can look into your drivers then from a clean system.


Chris

Gemini on April 12, 2008, 03:05:37 PM
 Man... I wish there was a "re-install" option for everyday life situations ;D