Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
warning: don't use mm-sources on non-testing systems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
iBormuth
n00b
n00b


Joined: 13 Jan 2004
Posts: 59

PostPosted: Sat Aug 28, 2004 7:24 pm    Post subject: warning: don't use mm-sources on non-testing systems Reply with quote

I know several people using the mm-sources kernel tree on daily use systems (I also used to).
Just to point it out again: The mm-patchset replaced the odd numbered experimental tree (2.7) and thus cannot be expected to be reliable.
The current tree (mm-sources-2.6.9_rc1-r1) has a bug which can lead to massive data loss via truncated files.
I used it on a rock solid box with ext3 filesystem. After a while the system was nealy unusable. Booting an older kernel fixed the issue.
Other similar cases have been reported in the forum.
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sat Aug 28, 2004 7:46 pm    Post subject: Reply with quote

Hm...I just finished compiling and rebooting into 2.6.9-rc1-mm1.Are you sure it wasn't a hardware bug or ACPI or something like that?
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
zerojay
Veteran
Veteran


Joined: 09 Aug 2003
Posts: 1033

PostPosted: Sat Aug 28, 2004 7:55 pm    Post subject: Reply with quote

codergeek42 wrote:
Hm...I just finished compiling and rebooting into 2.6.9-rc1-mm1.Are you sure it wasn't a hardware bug or ACPI or something like that?


Yep, pretty sure. I'm suffering from this bug at the moment.
Back to top
View user's profile Send private message
speeding
n00b
n00b


Joined: 13 May 2004
Posts: 14
Location: Europe

PostPosted: Sat Aug 28, 2004 7:56 pm    Post subject: Reply with quote

arrrrgh!!! 8O 8O 8O
Thank you!
Thank you!
Thank you!

I just spent the better part of the day tring to figure out why 'tar' was producing truncated files

....

Never thought it could be the kernel.


Thank you again for mentioning it.
Back to top
View user's profile Send private message
zerojay
Veteran
Veteran


Joined: 09 Aug 2003
Posts: 1033

PostPosted: Sat Aug 28, 2004 8:04 pm    Post subject: Reply with quote

Sure was a confusing little bastard. I was sitting here wondering what I should do about it all.
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sat Aug 28, 2004 8:45 pm    Post subject: Reply with quote

Ok. The bug bit me too...I went to re-compile my kernel (forgot to add support for my NIC) and it said it could not recognize some of the source files because they were truncated...oops.

/me is back in his safe little 2.6.8-rc2-love3 kernel, compiling the vanilla 2.6.9-rc1 kernel
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
markfl
Apprentice
Apprentice


Joined: 10 Apr 2003
Posts: 240
Location: Kent, UK

PostPosted: Sat Aug 28, 2004 9:29 pm    Post subject: Reply with quote

Will:
http://www.mafteah.co.il/mafteah-sources/2.6.9-rc1/2.6.9-rc1-Mafteah2/broken-out/2.6.9-rc1-mm1-fix.patch

Fix the filesystem corruption?
I think there's going to be a new mm soon anyway.
_________________
Life it seems, will fade away
Drifting further every day
Back to top
View user's profile Send private message
bulletman
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2002
Posts: 126

PostPosted: Sat Aug 28, 2004 10:39 pm    Post subject: Reply with quote

Thanks for pointing this out -- I couldn't find out what was going on.

Are the earlier versions of mm-sources the only safe kernels with reiser4 so far?

Stephen
Back to top
View user's profile Send private message
Master One
l33t
l33t


Joined: 25 Aug 2003
Posts: 754
Location: Austria

PostPosted: Sun Aug 29, 2004 12:36 pm    Post subject: Reply with quote

I started with mm-sources for my daily used workstation, because they were they first having the fixes for my nforce2 board, and also I tried a lot of other sources, I always returned to mm-sources.

I don't think it's worth a general warning, only because something breaks from time to time, especially as there are always fixes comming up fast.

I really like these sources, and as I doubt I'll find something better, I simply stick with it :)

BTW Mafteah's patch fixed it.
_________________
Las torturas mentales de la CIA
Back to top
View user's profile Send private message
iBormuth
n00b
n00b


Joined: 13 Jan 2004
Posts: 59

PostPosted: Sun Aug 29, 2004 3:31 pm    Post subject: Reply with quote

Quote:
I don't think it's worth a general warning, only because something breaks from time to time, especially as there are always fixes comming up fast.

I would never want to stop people from using the mm-tree. Testing new technology on a broad basis is much to important. But you should know what you are dealing with. My impression was that many people think of mm as a pretty stable pathset to the 2.6 tree, but as the described case showes mm introduces insufficiently tested code that can harm your data event if you not explicit use new features (e. g. reiserfs4 which seems pretty stable).

The Changelog of 2.6.8.1-mm4 says everything:
Quote:
This kernel has an x86 patch which alters the copy_*_user() functions so they will return -EFAULT on a fault rather than the number of bytes which remain to be copied. This is a bit of an experiment, because this seems to be the preferred API for those functions. It's a see-what-breaks thing.

And things will break. If weird behaviour is observed, please revert usercopy-return-EFAULT.patch and send a report.

taken from: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm4/announce.txt

To conclude: I use gentoo-sources (2.4) on my production server, gentoo-dev-sources (2.6) on my daily use notebook and mm-sources on my testing box.
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Sun Aug 29, 2004 3:37 pm    Post subject: Reply with quote

other question: do the nvidia drivers compile cleanly to this new mm kernel?
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
iBormuth
n00b
n00b


Joined: 13 Jan 2004
Posts: 59

PostPosted: Sun Aug 29, 2004 3:43 pm    Post subject: Reply with quote

Talking about the 2.6 development model:

Poll: http://kerneltrap.org/node/view/3516
Story: http://kerneltrap.org/node/view/3522
Back to top
View user's profile Send private message
Master One
l33t
l33t


Joined: 25 Aug 2003
Posts: 754
Location: Austria

PostPosted: Sun Aug 29, 2004 4:04 pm    Post subject: Reply with quote

Ok, I have to admit, my statement was a little to early, as just after writing my posting, my box froze and I had to perform a hardreset. There are definitely some bugs in mm-sources-2.6.9_rc1-r1, I wasn't aware of.

So for the moment I made a backstep to development-sources-2.6.9-rc1, which work just fine.

For the future, I'll keep both (mm-sources & development-sources) on my workstation, so that I can revert to something stable if necessary.
_________________
Las torturas mentales de la CIA
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sun Aug 29, 2004 5:19 pm    Post subject: Reply with quote

Rainmaker wrote:
other question: do the nvidia drivers compile cleanly to this new mm kernel?
When I tried 2.6.9-rc1-mm1 wih the 6111-r4 kernel module, it didn't compile. Works fine though in the vanilla 2.6.9-rc1 (what I'm using right now).
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Sun Aug 29, 2004 9:09 pm    Post subject: Reply with quote

This thread has prevented major data corruption on my desktop, thanks a lot! I've had "truncated file" errors during a Perl upgrade just now, wondering what on earth was going on, especially since the same upgrade to Perl 5.8.5 compiled flawlessly on another desktop standing right next to it - the only difference being a 2.4.27 kernel on that one... Phew. :P I've just rebooted to the 2.6.8.1-mm4 kernel I was running before 2.6.9-rc1-mm1, and it looks like it's cured the hickup.

Maybe the corruption had to do with my earlier assaults on this particular machine: This afternoon I copied 700 MB worth of email (in > 50.000 individual files) from an NFS share to a local directory, and ran a bash script over the whole shebang to convert it from MH to maildir format... :roll:
Back to top
View user's profile Send private message
Regor
Guru
Guru


Joined: 06 Aug 2002
Posts: 545
Location: 39° 2' 48" N, 120° 59' 2" W

PostPosted: Mon Aug 30, 2004 9:49 am    Post subject: Reply with quote

Hmm, shame. It's the smoothest kernel for desktop use I've tried in a while. :(

I haven't had any problems, but I don't want to risk it. Guess it's back to 2.6.8-rc2-love3.
_________________
Sometimes the appropriate response to reality is to go insane.
-Philip K. Dick, Valis
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Tue Aug 31, 2004 1:48 pm    Post subject: Reply with quote

mm2 is out. Should be fixed now
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
iBormuth
n00b
n00b


Joined: 13 Jan 2004
Posts: 59

PostPosted: Tue Aug 31, 2004 3:23 pm    Post subject: Reply with quote

'
Just to close the thread, here is the official comment:

Quote:
Nothing particularly noteworthy here. Some seriously bad scheduler performance with SMT and HT was fixed up, as was the fails-to-read-the-last-4k-of-a-file brown bag.

From: http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc1/2.6.9-rc1-mm2/announce.txt


Cheers

.
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Tue Aug 31, 2004 3:30 pm    Post subject: Reply with quote

Coolness. I'll try it out when I get home later.

Is renaming the -mm1 ebuild sufficient or is there another ebuild somewhere that I should use?
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
tormen
n00b
n00b


Joined: 01 Sep 2004
Posts: 3

PostPosted: Wed Sep 01, 2004 6:22 pm    Post subject: COOL!!! Reply with quote

Thnx a lot for this incredible important information!!!

Without it I could have destroyed all my system with the time... :(

But YOU are my HERO :P
Back to top
View user's profile Send private message
routerguy
Guru
Guru


Joined: 07 Feb 2004
Posts: 462

PostPosted: Thu Sep 02, 2004 12:23 am    Post subject: Reply with quote

I am having a few problems with mm2.


  • cdparanoia can't access the CD-ROM drive like my other kernels can
  • the nvidia kernel module refuses to load even though I have my /usr/src/linux symlink correctly set up and have done emerge nvidia-kernel and opengl-update nvidia many times. What else would the problem be?
Back to top
View user's profile Send private message
Tronil
n00b
n00b


Joined: 04 Aug 2004
Posts: 21
Location: Denmark

PostPosted: Thu Sep 02, 2004 9:06 am    Post subject: Reply with quote

Mystic0 wrote:
I am having a few problems with mm2.


  • cdparanoia can't access the CD-ROM drive like my other kernels can
  • the nvidia kernel module refuses to load even though I have my /usr/src/linux symlink correctly set up and have done emerge nvidia-kernel and opengl-update nvidia many times. What else would the problem be?


Regarding the nvidia module see this thread: https://forums.gentoo.org/viewtopic.php?t=216985
Back to top
View user's profile Send private message
DJ_Rubbie
n00b
n00b


Joined: 03 Jan 2004
Posts: 38
Location: /dev/null

PostPosted: Fri Sep 03, 2004 5:47 am    Post subject: Reply with quote

Not sure if this completely relates, but using this particular mm kernel caused this error message to show up during reiserfsck (on ReiserFS v3).

Bread: End of file. Cannot read the block (8705213).

Then it complained that it can't fix it up, and asked for the root password for system maintanence...

Boot into gentoo-sources 2.6.7 had no problems, nor did love-sources 2.6.8.1. Not sure if this is related, but it sounds like it saw end of file prematurely, as if it was truncated. Good thing it didn't mount, who knows what it would have done to my /usr partition...
_________________
Please direct all bug reports to /dev/null
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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