Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.6-love1 aka "Welcome to the real world"
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Thu May 13, 2004 6:49 pm    Post subject: that's better Reply with quote

Right. I copied my desktop .config to the tosh, edited it for IDE controller, AGP, ethernet, touchpad and NTFS support, recompiled and just like that: it works! I still don't know what the problem was, though the front-runner would have to be the register arguments stuff. Still, right at this moment, I don't care enough to go fishing for evidence.

@Gentree, thanks again for the help.
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Thu May 13, 2004 6:50 pm    Post subject: Reply with quote

Interesting that reg args did not give apparent pbs. I was only going from the help on this item:

Code:
 CONFIG_REGPARM:                                                                                                   
  x Compile the kernel with -mregparm=3. This uses an different ABI                                                    x 
  x and passes the first three arguments of a function call in registers.                                              x 
  x This will probably break binary only modules.
                           


I would expect more than instablility if this does not work.

I'll put this back in and see what happens here.
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Thu May 13, 2004 7:02 pm    Post subject: Reply with quote

mmm... I looked at that when I took it out and I must admit, I wondered how my desktop machine had ever worked. However:
Code:
nick% glxinfo | less
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
server glx extensions:
# snip

nick% zcat /proc/config.gz | grep -i reg
CONFIG_REGPARM=y

So it does seem to be working
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Thu May 13, 2004 7:43 pm    Post subject: Reply with quote

Strange stuff.

I just recompiled with regargs on: the only thing I did change. Did the nv remake as well , I rebooted and I was back to square one with exactly the same error from the nvidia driver not managing to initialise.

I reversed the step and I am back up with nVidia.

Without a doubt this is what has been stuffing my system for the last 10 days.

A case of a bridge too far in the optimisation stakes.

Quote:
mmm... I looked at that when I took it out and I must admit, I wondered how my desktop machine had ever worked. However:



Well this seems to be a "may break" rather than "will break" . I had turboprint and Opera on this system for a while both of which also contain binaries and this had no pb with regparm.

Fairly obviously it will depend on what the binary does and how its coded.

What does seem odd (if I understand your last post) is that your Tosh now seems happy to run nvidia with this option on ! Beats me.:?

Anyway , I'm running , you're running and some cleaver bugger who actually understands this rather than using empirical guess work will later tell us why.:D

In the meantime this is all off-topic since it turns out to be nothing to do with love-sources other than to confirm , once again , how good they are.

I will try to gather my thoughts and post a howto, since there was little help in finding this issue and it may save a lot of people some time to gather the threads together.

Thanks for comparing notes.

Gentree 8)
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Thu May 13, 2004 7:53 pm    Post subject: Reply with quote

gentree wrote:
What does seem odd (if I understand your last post) is that your Tosh now seems happy to run nvidia with this option on !

My fault. I turned the reg option off on the tosh. The code box was lifted from my desktop machine. I'm halfway tempted to turn it back on for the tosh, just to be sure, but its been a long day.
gentree wrote:
Thanks for comparing notes.

My pleasure.
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
gungholady
Guru
Guru


Joined: 19 Oct 2003
Posts: 392

PostPosted: Thu May 13, 2004 10:43 pm    Post subject: Reply with quote

PickledOnion wrote:
Love has win4lin in it - it works fine here (they have been using the 2.6.5 win4lin patches and so they might want the updated ones for the next love release).

Love has had them for a couple of releases now, have you tried this latest version? Apart from that, if you want to do it by hand, there were a few rejects that needed sorting out by hand but now all that hassle has been taken away by OneofOne and Steel.

Let us know some more details if its not working properly in this release as it should do and does here :D


I just now got it up and running. It was the first chance I had to reboot. Win4Lin works great. The only thing that didn't work was the nvidia. I'll have to see what is going on with that. I'm running using "nv" right now.
Back to top
View user's profile Send private message
gungholady
Guru
Guru


Joined: 19 Oct 2003
Posts: 392

PostPosted: Thu May 13, 2004 10:50 pm    Post subject: Reply with quote

snakattak3 wrote:
eNTi wrote:
no option for turning off 4k-stacks in 2.6.6-mm1 any more. don't know if it's the same with love1, but nvidia drivers will wether not load or lock X.


I had that option in 2.6.6-love1. I also don't seem to have any X lockups using nvidia and 4k-stacks. I am using Xorg though, would that be a difference?

Also..Everything seems to work fine except for bootsplash with this kernel. Keep Supermount comming!! I love it.


Which version of nvidia-kernel did you use?
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Thu May 13, 2004 11:02 pm    Post subject: Reply with quote

qpkg -v nvidia-kernel
media-video/nvidia-kernel-1.0.5336-r2 *
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Thu May 13, 2004 11:11 pm    Post subject: Reply with quote

And now:
Code:
bash-2.05b# qpkg -v nvidia-kernel
media-video/nvidia-kernel-1.0.5336-r3 *



quick emerge sync brought in new one.

Straight into xorg, works fine.
8)
Back to top
View user's profile Send private message
gungholady
Guru
Guru


Joined: 19 Oct 2003
Posts: 392

PostPosted: Fri May 14, 2004 1:37 am    Post subject: Reply with quote

Gentree wrote:
And now:
Code:
bash-2.05b# qpkg -v nvidia-kernel
media-video/nvidia-kernel-1.0.5336-r3 *



quick emerge sync brought in new one.

Straight into xorg, works fine.
8)


It wouldn't work for me using this one. That's why I asked. I'll try r2 as soon as I can.

Edited later:

The r2 one did work. Yea, I'm finally being able to use the love-sources.
Back to top
View user's profile Send private message
Dinini
Apprentice
Apprentice


Joined: 11 Jun 2003
Posts: 236

PostPosted: Sat May 15, 2004 10:05 am    Post subject: Reply with quote

From a quick look at bootsplash patch

It's extremely hard for the /proc/splash to be created if there's no "splash_init();" in fbcon.c and it's missing in the 2.6.6-love1 sources

Did you perhaps miss that there are 3 hunks which fail to apply to fbcon.c and need to be adjusted? the first and third hunks appear to be easy to adjust, the middle hunk in the "if (resize) {" block worries me since that code section was redone in mm.

You seem to have done the first 2 and missed the third.

Code:
--- linux-2.6.6-love1/drivers/video/console/fbcon.c.orig   2004-05-12 03:25:48.000000000 -0500
+++ linux-2.6.6-love1/drivers/video/console/fbcon.c   2004-05-15 04:36:52.000000000 -0500
@@ -2379,6 +2380,9 @@
 
    if (!num_registered_fb)
       return -ENODEV;
+        #ifdef CONFIG_BOOTSPLASH
+                splash_init();
+        #endif
 
    err = take_over_console(&fb_con, first_fb_vc, last_fb_vc,
             fbcon_is_default);


Note: This does provide the initial bootsplash, but the text problem in verbose mode with the scroll area not being properly setup on for boot messages (same as in the 2.6.6-rc releases) is still there. The /etc/init.d/bootsplash setting that happens much later does clear this up properly. silent mode appears to be working.

As always this works here, but no promises it won't blow up your computer, cause cancer, etc.

Time to do more hunting but I've had limited access to the test machine to try new patches.
Back to top
View user's profile Send private message
Dinini
Apprentice
Apprentice


Joined: 11 Jun 2003
Posts: 236

PostPosted: Sun May 16, 2004 3:12 pm    Post subject: Reply with quote

For completeness sake :) just in case someone can't use 2.6.6-love2 or newer.

bootsplash fix for improperly sized verbose mode (you still need to apply the patch above to get bootsplash working in 2.6.6-love1). This should apply to the 2.6.6-rc versions which had the wrong size as well if someone still needs to use those.
Code:
diff -urN  linux-2.6.6-love1/drivers/video/console/fbcon.c.interum linux-2.6.6-love1/drivers/video/console/fbcon.c
--- linux-2.6.6-love1/drivers/video/console/fbcon.c.interum   2004-05-16 10:18:36.157375110 -0500
+++ linux-2.6.6-love1/drivers/video/console/fbcon.c   2004-05-16 10:20:56.183208630 -0500
@@ -818,7 +818,7 @@
                 }
         #endif
 
-   if (logo) {
+   if (!init) {
       if (vc->vc_cols != nr_cols || vc->vc_rows != nr_rows)
          vc_resize(vc->vc_num, nr_cols, nr_rows);
       else if (CON_IS_VISIBLE(vc) &&
@@ -835,6 +835,9 @@
          vc->vc_pos += logo_lines * vc->vc_size_row;
          kfree(save);
       }
+   }
+
+   if (logo) {
       if (logo_lines > vc->vc_bottom) {
          logo_shown = -1;
          printk(KERN_INFO

Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 
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