Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
weird message loading kernel + kernel dri driver (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Fri Apr 08, 2005 6:03 pm    Post subject: weird message loading kernel + kernel dri driver (solved) Reply with quote

Hi guys,

just two questions i want to clarify, as i think im doing something wrong:

- first thing i realised : when loading a fresh compiled kernel, *sometimes* i get : read failed when loading the image. To compile a kernel i do something like:

Code:
make all && make modules_install
cp /usr/src/linux/vmlinux /boot/whatever
configure yaboot and ybin -v
reboot


what am i doing wrong ???

- and second : when running X, the radeon (kernel-dri) module does not seem to be used, even if module radeon should be loaded following my xorg.conf. Why ???
Maybe its using the xorg one ??


And a bit OT -> does somebody know here when we will have a working grub in ppc ??? I have read somewhere the latest beta have some kind of alpha support for ppc.
I really miss grubs console Sad


TIA + cheers
_________________
Error: Failing not supported by current locale


Last edited by gringo on Tue Apr 19, 2005 10:15 am; edited 1 time in total
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Fri Apr 15, 2005 10:19 am    Post subject: Reply with quote

bump ... nobody ?

cheers
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Fri Apr 15, 2005 1:25 pm    Post subject: Re: weird message when loading kernel + kernel dri driver Reply with quote

X does not use the radeon kernel module unless you pass the UseFBDev option (and then it does not load any new kernel module, it just uses whatever the kernel uses). The notions of X module (the one you are woried about) and kernel module are not the same. Inspect /var/log/Xorg.0.log to see what is X loading and how.

For the kernel issue, what are you doing with the system map? It should go into /boot along with the kernel.
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Fri Apr 15, 2005 1:58 pm    Post subject: Reply with quote

Quote:
X does not use the radeon kernel module unless you pass the UseFBDev option (and then it does not load any new kernel module, it just uses whatever the kernel uses). The notions of X module (the one you are woried about) and kernel module are not the same. Inspect /var/log/Xorg.0.log to see what is X loading and how.


ok, will have a closer look to the logs. Not that im worried about it, just would know wtf is going on ;)
I did hear/read about this xorg option, never tried though ... and i dont think using the kernel one will make a difference, am i right ?

Quote:
For the kernel issue, what are you doing with the system map? It should go into /boot along with the kernel.


i dont use the system.map file for years now ( on x86, ppc, whatever) and i dont believe not using it will result in an invalid kernel image.
I really dont know what the map file is good for nowadays, on other linux systems im running i dont use it as well and had no troubles with it. Is the map file mandatory on ppc ???

As you can see im quite noob in ppc, any help is much appreciated !

thanx
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Fri Apr 15, 2005 9:42 pm    Post subject: Reply with quote

gringo wrote:
I did hear/read about this xorg option, never tried though ... and i dont think using the kernel one will make a difference, am i right ?

The kernel radeon module is not related to X's. It used to be that X would use the framebuffer device offered by the kernel, but this is no longer necessary with newer Xorgs (in other words there is no reason for enabling the UseFBDev option anymore).
gringo wrote:
i dont use the system.map file for years now ( on x86, ppc, whatever) and i dont believe not using it will result in an invalid kernel image.

Honestly I don't know if it would make any difference with respect to your particular problem. I just mentioned the most obvious thing that I noticed (and which may lead to problems). Now that I think of it, the most probable cause of intermitent read errors are the file system (or maybe a flaky hard disk?). I am not able to come up with anything else though; sorry about this.
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Sat Apr 16, 2005 2:36 pm    Post subject: Reply with quote

Quote:
The kernel radeon module is not related to X's. It used to be that X would use the framebuffer device offered by the kernel, but this is no longer necessary with newer Xorgs (in other words there is no reason for enabling the UseFBDev option anymore).


ahhhh, thanx for clarifying this !

Quote:
Honestly I don't know if it would make any difference with respect to your particular problem. I just mentioned the most obvious thing that I noticed (and which may lead to problems). Now that I think of it, the most probable cause of intermitent read errors are the file system (or maybe a flaky hard disk?). I am not able to come up with anything else though; sorry about this.


yep, i thought too my hd was dying or something was going wrong. Tried with several tools in macos/ linux and all seems to be ok with it. I have no idea why it simply says the kernel image is not readable, ive done it always the same way. Will try with the map file, maybe its just this.

thanx
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Tue Apr 19, 2005 10:15 am    Post subject: Reply with quote

Quote:
yep, i thought too my hd was dying or something was going wrong. Tried with several tools in macos/ linux and all seems to be ok with it. I have no idea why it simply says the kernel image is not readable, ive done it always the same way. Will try with the map file, maybe its just this.


looks like i made some dummy mistakes in my kernel conf, now it loads without any problem ... sorry for the noise ;)

cheers
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum