Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.7-love5 aka interim
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
cold_flame
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2003
Posts: 88
Location: Australia

PostPosted: Sun Jul 04, 2004 1:53 pm    Post subject: adsl patch Reply with quote

hey thanks for a great path

adsl modems using the eciadsl package have been having some troubles using kernels 2.6.7 and up, and greater success has been achieved by applying this patch

link

i don't know if it will break other things as if i try to patch manually, it says that the file has already been patch so (i assume) the line numbers are all out, but it would be a good inclusion for adsl users

thanks for a great pathcset
Back to top
View user's profile Send private message
William Foster
n00b
n00b


Joined: 13 Mar 2004
Posts: 17

PostPosted: Sun Jul 04, 2004 6:35 pm    Post subject: Cannot compile lirc Reply with quote

I'm getting this message compiling 2.6.7-love5 with lirc_i2c enabled:

make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
CC drivers/char/lirc/lirc_i2c.o
drivers/char/lirc/lirc_i2c.c: In function `add_to_buf_haup':
drivers/char/lirc/lirc_i2c.c:170: error: structure has no member named `c'
drivers/char/lirc/lirc_i2c.c: In function `add_to_buf_pixelview':
drivers/char/lirc/lirc_i2c.c:203: error: structure has no member named `c'
drivers/char/lirc/lirc_i2c.c:212: error: invalid type argument of `unary *'
drivers/char/lirc/lirc_i2c.c:212: error: `b' undeclared (first use in this function)
drivers/char/lirc/lirc_i2c.c:212: error: (Each undeclared identifier is reported only once
drivers/char/lirc/lirc_i2c.c:212: error: for each function it appears in.)
drivers/char/lirc/lirc_i2c.c: In function `add_to_buf_pv951':
drivers/char/lirc/lirc_i2c.c:223: error: structure has no member named `c'
drivers/char/lirc/lirc_i2c.c: In function `add_to_buf_knc1':
drivers/char/lirc/lirc_i2c.c:248: error: structure has no member named `c'
make[3]: *** [drivers/char/lirc/lirc_i2c.o] Error 1
make[2]: *** [drivers/char/lirc] Error 2
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2

Anyone know what the fix is?
_________________
"This is a court of law, young man, not a court of justice."
Back to top
View user's profile Send private message
teedog
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 211

PostPosted: Sun Jul 04, 2004 7:34 pm    Post subject: slow network performance? Reply with quote

I just want to clarify the problem with network perforance. Are all kinds of network connections affected by the bug in this kernel or is it only ADSL connections? I connect to the web using a cable modem and I too seem to be experiencing poor speeds.

Should I apply the patch posted by evermind, or cold_flame, or both?

Thanks.
Back to top
View user's profile Send private message
Evil Dark Archon
Guru
Guru


Joined: 21 Dec 2002
Posts: 562
Location: Santa Rosa, CA

PostPosted: Sun Jul 04, 2004 8:36 pm    Post subject: Reply with quote

use the evermind patch, cold_flame's patch is for a specific set of adsl modem drivers that seem to have problems with kernels 2.6.7 and up.
_________________
This post has been over explained for newb-informing purposes.

Registered Linux user 347334
Abit AV8-3rd eye, AMD Athlon64 3500+ 90nm, ATI Radeon x850 pro
Back to top
View user's profile Send private message
cold_flame
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2003
Posts: 88
Location: Australia

PostPosted: Sun Jul 04, 2004 9:29 pm    Post subject: Reply with quote

the patch i posted is from the eciadsl package webpage

it only applies to people using not just ADSL modems, but people using that specific package. (ie not people who use rp-pppoe and other variation of ppoe.) just for eciadsl

also, i've been taking a closer look at the patch, and the file it's meant to patch, and it looks like it might be mostly applied already in some other form. i'm not sure about this as my kernel hacking skills are non-existant.

but if you experience instability, you might want to try manually doing it.

good luck
Back to top
View user's profile Send private message
mrcs
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2003
Posts: 137

PostPosted: Sun Jul 04, 2004 9:46 pm    Post subject: Promise Ultra133 TX2 and SMP problems in 2.6.7-love5 Reply with quote

Hi,

When I enable SMP in this release, my Promise Ultra133 TX2 goes bananas and I get loads of lost interrputs and finally a dma_timer_expiry: dma status: 0x24 and Primary/Secondary Channel Reset on the connected disks, but it seems that this only happens when I compile the kernel with SMP support, and only in 2.6.7-love5; if I try 2.6.7-r3 for example everything works.

I have tried with both love-sources and redeeman-sources, same thing, and since I have Reiser4 I'm kinda stumped when it comes to trying any other 2.6.7-release since I really don't know what else to try that has Reiser4-support.

Anyone got any ideas or tips for another patchset to try out?
Back to top
View user's profile Send private message
placeholder
Advocate
Advocate


Joined: 07 Feb 2004
Posts: 2500

PostPosted: Sun Jul 04, 2004 9:48 pm    Post subject: Reply with quote

All works well including the bootsplash here. Thanks for this awesome patchset. :D
Back to top
View user's profile Send private message
CaribbeanKnight
Apprentice
Apprentice


Joined: 27 Apr 2003
Posts: 240
Location: Earth -> Europe -> Belgium -> Diest

PostPosted: Mon Jul 05, 2004 2:02 am    Post subject: Reply with quote

kireru: you can always give stardust-sources a chance... :wink: -> http://forums.gentoo.org/viewtopic.php?t=192934&highlight=
_________________
...we ain't shit...
Linux User #353893
Back to top
View user's profile Send private message
teedog
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 211

PostPosted: Mon Jul 05, 2004 2:05 am    Post subject: Reply with quote

Evil Dark Archon wrote:
use the evermind patch, cold_flame's patch is for a specific set of adsl modem drivers that seem to have problems with kernels 2.6.7 and up.


Thanks. That clears things up.
Back to top
View user's profile Send private message
0n0w1c
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 273

PostPosted: Mon Jul 05, 2004 5:38 am    Post subject: Reply with quote

I have an ATI 8500 Radeon AIW and have compiled fb support for it (exclusively) and used the settings suggested in the initial post. I am using the love5 with patch-3. The frame buffer works fine until I exit from X (xorg). The fb is active but the screen does not clear and the lines of text have black rows of pixels across the screen. The prompt is clear and responsive, it is just the junk that does not clear. I do not have an initrd defined in grub for a bootsplash. The bootplash was not active when I ran menuconfig. Maybe I should be using the VESA fb instead? When I tried fb with VESA and love5 with patch2 my machine would dump on boot when activating the fb.
Back to top
View user's profile Send private message
X-Ryl669
Tux's lil' helper
Tux's lil' helper


Joined: 16 Feb 2004
Posts: 135

PostPosted: Mon Jul 05, 2004 9:26 am    Post subject: Reply with quote

What is the patch-3 ?

Do you succeed running bootsplash from the very beginning of the boot ? (how ?)

Thanks
_________________
Think it twice, think it thrice, you never think enough...
Back to top
View user's profile Send private message
mrcs
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2003
Posts: 137

PostPosted: Mon Jul 05, 2004 9:28 am    Post subject: Reply with quote

CaribbeanKnight wrote:
kireru: you can always give stardust-sources a chance... :wink: -> http://forums.gentoo.org/viewtopic.php?t=192934&highlight=


Sure thing :)

I'll let you know in your thread how things went!

Thanks!
Back to top
View user's profile Send private message
Bornio
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2002
Posts: 129

PostPosted: Mon Jul 05, 2004 12:05 pm    Post subject: Reply with quote

No one a clue about why AdvanSys SCSI drivers are GONE from this kernel, while the driver files are there :?: :?: :(
I want my nice old pretty HP (true)SCSI CDRW working nicly with IVMAN! 8)
Back to top
View user's profile Send private message
gungholady
Guru
Guru


Joined: 19 Oct 2003
Posts: 392

PostPosted: Mon Jul 05, 2004 2:23 pm    Post subject: Reply with quote

Not only does bootsplash not work for me but neither does Win4Lin. Its back to linux-2.6.7-rc3-love2 where everything is working for now.
Back to top
View user's profile Send private message
Pink
Veteran
Veteran


Joined: 24 Jul 2003
Posts: 1062

PostPosted: Mon Jul 05, 2004 2:55 pm    Post subject: Reply with quote

gungholady wrote:
Not only does bootsplash not work for me but neither does Win4Lin. Its back to linux-2.6.7-rc3-love2 where everything is working for now.


Is it just a seg-fault on the win4lin or something else?

If it is a seg-fault then it is a problem _some_ people are having in the mm-kernels recently, for others it works fine - I have no idea why it works for some and not others - I can't find a link between them :?
_________________
usefuljaja.com - VPS Tutorials
Back to top
View user's profile Send private message
0n0w1c
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 273

PostPosted: Mon Jul 05, 2004 4:17 pm    Post subject: Reply with quote

X-Ryl669 wrote:

What is the patch-3 ?


Sorry, I should have typed update-3.

X-Ryl669 wrote:

Do you succeed running bootsplash from the very beginning of the boot ? (how ?)


No, I can not configure the kernel for bootsplash with the above patch applied. The fb is working correctly upon booting, but if I switch to and exit from X the fb is messed-up.
Back to top
View user's profile Send private message
evermind
Guru
Guru


Joined: 10 Jan 2004
Posts: 322

PostPosted: Mon Jul 05, 2004 5:01 pm    Post subject: Reply with quote

0n0w1c wrote:

The fb is working correctly upon booting, but if I switch to and exit from X the fb is messed-up.


reverse this patch and it may will work ;-)


mode-switch-in-fbcon_blank.patch

Code:

cd /usr/src/linux-2.6.7-love5
wget -O - -q http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7/2.6.7-mm5/broken-out/mode-switch-in-fbcon_blank.patch |patch -p1 -R
Back to top
View user's profile Send private message
0n0w1c
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 273

PostPosted: Mon Jul 05, 2004 5:10 pm    Post subject: Reply with quote

evermind,
Thanks for the suggestion, I am compiling now and will report back.

Update: That fixed it! :)
Back to top
View user's profile Send private message
gungholady
Guru
Guru


Joined: 19 Oct 2003
Posts: 392

PostPosted: Mon Jul 05, 2004 7:12 pm    Post subject: Reply with quote

PickledOnion wrote:
Is it just a seg-fault on the win4lin or something else?

If it is a seg-fault then it is a problem _some_ people are having in the mm-kernels recently, for others it works fine - I have no idea why it works for some and not others - I can't find a link between them :?


I didn't try to start win4lin from the commandline so didn't catch whether it was a seg-fault or what is was. From kde-cvs choosing the win4lin desktop link it tried to load but then did not do so. It works just fine in linux-2.6.7-rc3-love2. So does bootsplash.
Back to top
View user's profile Send private message
spiralvoice
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 238

PostPosted: Mon Jul 05, 2004 8:10 pm    Post subject: Reply with quote

Hi,

I just tried 2.6.7-love5+2.6.7-love5-np-bootsplash.update, it seems that not me, but lots of other people are having the problem that compiling of lirc_i2c breaks:
Code:
  CC [M]  drivers/char/lirc/lirc_i2c.o
drivers/char/lirc/lirc_i2c.c: In Funktion >>add_to_buf_pcf8574<<:
drivers/char/lirc/lirc_i2c.c:137: error: structure has no member named `c'
drivers/char/lirc/lirc_i2c.c: In Funktion >>add_to_buf_haup<<:
drivers/char/lirc/lirc_i2c.c:170: error: structure has no member named `c'
drivers/char/lirc/lirc_i2c.c: In Funktion >>add_to_buf_pixelview<<:
drivers/char/lirc/lirc_i2c.c:203: error: structure has no member named `c'
drivers/char/lirc/lirc_i2c.c:212: error: invalid type argument of `unary *'
drivers/char/lirc/lirc_i2c.c:212: error: `b' undeclared (first use in this function)
drivers/char/lirc/lirc_i2c.c:212: error: (Each undeclared identifier is reported only once
drivers/char/lirc/lirc_i2c.c:212: error: for each function it appears in.)
drivers/char/lirc/lirc_i2c.c: In Funktion >>add_to_buf_pv951<<:
drivers/char/lirc/lirc_i2c.c:223: error: structure has no member named `c'
drivers/char/lirc/lirc_i2c.c: In Funktion >>add_to_buf_knc1<<:
drivers/char/lirc/lirc_i2c.c:248: error: structure has no member named `c'
make[3]: *** [drivers/char/lirc/lirc_i2c.o] Fehler 1

This bug seems to be in love sources since March:
http://forums.gentoo.org/viewtopic.php?p=1310888#1310888
http://forums.gentoo.org/viewtopic.php?p=1306555#1306555
http://forums.gentoo.org/viewtopic.php?p=1023427#1023427
http://forums.gentoo.org/viewtopic.php?p=928745#928745
http://forums.gentoo.org/viewtopic.php?p=937774#937774

Several minutes later: Oh, I think I just found the answer:
http://sourceforge.net/mailarchive/message.php?msg_id=7567326
Quote:
just replace ir->c.name with ir->client.name and ir->c with ir->client and comment out the line 212.

Here is the patch:
Code:
--- lirc_i2c.c   2004-07-05 20:37:54.000000000 +0200
+++ lirc_i2c.c   2004-07-05 22:04:27.804484704 +0200
@@ -134,7 +134,7 @@
 
    if (rc == -1) {
       /* should this return -EIO? */   
-      dprintk(DEVICE_NAME ": %s read error\n", ir->c.name);
+      dprintk(DEVICE_NAME ": %s read error\n", ir->client.name);
       return -ENODATA;
    }
 
@@ -167,7 +167,7 @@
    unsigned char codes[2];
 
    /* poll IR chip */
-   if (3 == i2c_master_recv(&ir->c,keybuf,3)) {
+   if (3 == i2c_master_recv(&ir->client,keybuf,3)) {
       ir->b[0] = keybuf[0];
       ir->b[1] = keybuf[1];
       ir->b[2] = keybuf[2];
@@ -200,7 +200,7 @@
    unsigned char key;
    
    /* poll IR chip */
-   if (1 != i2c_master_recv(&ir->c,&key,1)) {
+   if (1 != i2c_master_recv(&ir->client,&key,1)) {
       dprintk(DRIVER_NAME ": read error\n");
       return -1;
    }
@@ -209,7 +209,7 @@
 
    /* return it */
    lirc_buffer_write_1( buf, &key );
-   *key = b;
+   /* *key = b; */
    return 0;
 }
 
@@ -220,7 +220,7 @@
    unsigned char codes[4];
    
    /* poll IR chip */
-   if (1 != i2c_master_recv(&ir->c,&key,1)) {
+   if (1 != i2c_master_recv(&ir->client,&key,1)) {
       dprintk(DRIVER_NAME ": read error\n");
       return -ENODATA;
    }
@@ -245,7 +245,7 @@
    unsigned char key;
    
    /* poll IR chip */
-   if (1 != i2c_master_recv(&ir->c,&key,1)) {
+   if (1 != i2c_master_recv(&ir->client,&key,1)) {
       dprintk(DRIVER_NAME ": read error\n");
       return -ENODATA;
    }

This should be included in the next release.

Have fun, spiralvoice
Back to top
View user's profile Send private message
mayday147
l33t
l33t


Joined: 22 Mar 2004
Posts: 825
Location: Bucharest, Romania

PostPosted: Tue Jul 06, 2004 12:01 am    Post subject: Reply with quote

Is there anyone who runs vmware with this love? When I do vmware-config.pl I get these errors:
Code:
Building for VMware Workstation 4.5.2.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.7-love5/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.7'
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/hash.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/task.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
/tmp/vmware-config1/vmmon-only/common/task.c: In function `void Task_Switch_TOT(VMDriver*, Vcpuid)':
/tmp/vmware-config1/vmmon-only/common/task.c:878: sorry, unimplemented: inlining failed in call to 'void SwitchToMonitor(VMCP*, int) [with VMCP = VMCrossPageTOT]': function body not available
/tmp/vmware-config1/vmmon-only/common/task.c:1053: sorry, unimplemented: called from here
make[2]: *** [/tmp/vmware-config1/vmmon-only/common/task.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.7'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.

_________________
gentoo.ro
Back to top
View user's profile Send private message
mjanthony
n00b
n00b


Joined: 06 Jul 2004
Posts: 1

PostPosted: Tue Jul 06, 2004 1:19 pm    Post subject: Wierd behaviour from vi since upgrading to 2.6.7-love5 Reply with quote

Hey all,

This is strange wierd stuff. I've upgraded from vanilla to love5, and everything is working (except for supermounts, but that's another issue).

/bin/vi[m] is now acting up.

Here's the behaviour:

# echo test >> test.txt
# cat test.txt
test

# vi test.txt
" Press ? for keyboard shortcuts
" Sorted by name (.bak,~,.o,.h,.info,.swp,.obj at end of list)
"= /tmp/test/
../
test.txt
~
~
~
"" [New File] 4,1 All


---
*snips*
I get the contents of the directory in vim!

Any ideas? I don't want to have to move to emacs! :)

Cheers,

-- M.
Back to top
View user's profile Send private message
luqas
Guru
Guru


Joined: 02 Jan 2004
Posts: 588
Location: /US/Texas/Beaumont

PostPosted: Tue Jul 06, 2004 1:55 pm    Post subject: Reply with quote

Pwnz3r wrote:
All works well including the bootsplash here. Thanks for this awesome patchset. :D


Would you mind posting or pm'ing me your config? This bootsplash thing is driving me nuts :D.
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
Page 4 of 4

 
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