Gentoo Forums
Gentoo Forums
Quick Search: in
new kernel, write ntfs, sys freeze[done]
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
frank1980
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2006
Posts: 83

PostPosted: Mon Feb 25, 2008 9:18 am    Post subject: new kernel, write ntfs, sys freeze[done] Reply with quote

Last week, I upgrade kernel from 2.6.22-r8 to 2.6.24-r2, but today I find I can't write any data in ntfs, if I do, system freeze, and back to old kernel, everything OK.
And if use new kernel, "PCI: Cannot allocate resource region 0 of bridge 0000:00:00" shows on screen at the beginning of boot process, old kernel alright.
what's wrong?


Last edited by frank1980 on Wed Feb 27, 2008 5:33 am; edited 1 time in total
Back to top
View user's profile Send private message
jyaan
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2008
Posts: 79
Location: USA

PostPosted: Mon Feb 25, 2008 1:01 pm    Post subject: Reply with quote

which are you using? im going to assume gentoo-sources

anyways, 2.6.24 series isnt really the official release right now, id give 2.6.23 a shot (i use that version) and see how it goes, unless you really must have 2.6.24 for some certain hardware (doubtful, since you were using the older one). however, there was the security update a little while ago involving vmsplice(), and if that is related to the ntfs writing, you may not be able to use the newer one for it. at any rate, try it and out and we'll take it from there.
Back to top
View user's profile Send private message
frank1980
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2006
Posts: 83

PostPosted: Tue Feb 26, 2008 7:20 am    Post subject: Reply with quote

Thanks, yes, I mean gentoo-sources.
I use a same .config file to compile defferent kernel, and use fuse+ntfs-3g to reallize writting ntfs, but just 2.6.24-r2 fail
Back to top
View user's profile Send private message
jyaan
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2008
Posts: 79
Location: USA

PostPosted: Tue Feb 26, 2008 12:12 pm    Post subject: Reply with quote

yea you need to do make menuconfig yourself (by hand). plus, you're skipping all the way from 2.6.22 to 2.6.24, so i wouldnt be surprised if the same .config didnt work. so, just open up two terminal windows, one with the new source, (pointed to by) /usr/src/linux, and the old one should be under /usr/src/linux-2.6.22-r8. so, with two terminals open (one for the new kernel directory, one for the old), run
Code:
make menuconfig
in both, and just go through each menu in the old one and select the same settings in the new one. when you're done, just exit the old one (doesnt matter if you save or not; you shouldnt have changed the older), and save the new one. then run
Code:
make && make modules_install
in the new kernel's window. then you're guaranteed that the .config for the new kernel will be good, even though it can be a pain going through and selecting everything :)

if your new kernel isnt set to /usr/src/linux, do
Code:
eselect kernel list
which will list the available kernels, then
Code:
 eselect kernel set x
where x is the number of the kernel from the previous command.

make sure /usr/src/linux is set correctly, too. just run
Code:
eselect kernel show
to make sure.

good luck, its pretty easy so there shouldnt be any problems.
Back to top
View user's profile Send private message
irgu
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2003
Posts: 130

PostPosted: Tue Feb 26, 2008 3:57 pm    Post subject: Re: new kernel, write ntfs, sys freeze Reply with quote

frank1980 wrote:
Last week, I upgrade kernel from 2.6.22-r8 to 2.6.24-r2, but today I find I can't write any data in ntfs, if I do, system freeze, and back to old kernel, everything OK.

The ntfs-3g release note says at http://article.gmane.org/gmane.comp.file-systems.ntfs-3g.devel/418
Quote:

Thanks to our Gentoo users and Miklos Szeredi, it was found out recently
that the FUSE kernel module used from the FUSE software packages (Gentoo
default) with the 2.6.24 Linux kernels can lockup the system.

Solution: use the FUSE kernel module included in the 2.6.24 Linux kernel
(drawback: NTFS can't be NFS exported).
Back to top
View user's profile Send private message
jyaan
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2008
Posts: 79
Location: USA

PostPosted: Tue Feb 26, 2008 9:50 pm    Post subject: Reply with quote

bummer... guess youll have to use an older kernel then. just make sure you have a security patched version.
Back to top
View user's profile Send private message
frank1980
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2006
Posts: 83

PostPosted: Wed Feb 27, 2008 12:09 am    Post subject: Re: new kernel, write ntfs, sys freeze Reply with quote

irgu wrote:
frank1980 wrote:
Last week, I upgrade kernel from 2.6.22-r8 to 2.6.24-r2, but today I find I can't write any data in ntfs, if I do, system freeze, and back to old kernel, everything OK.

The ntfs-3g release note says at http://article.gmane.org/gmane.comp.file-systems.ntfs-3g.devel/418
Quote:

Thanks to our Gentoo users and Miklos Szeredi, it was found out recently
that the FUSE kernel module used from the FUSE software packages (Gentoo
default) with the 2.6.24 Linux kernels can lockup the system.

Solution: use the FUSE kernel module included in the 2.6.24 Linux kernel
(drawback: NTFS can't be NFS exported).


In my system, fuse module from fuse package was loaded by modules.autoload/kernel-2.6 file, is that mean fuse module is included by kernel-2.6.24 and does not need load fuse module by autoload file?
Back to top
View user's profile Send private message
frank1980
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2006
Posts: 83

PostPosted: Wed Feb 27, 2008 5:36 am    Post subject: Reply with quote

Thanks all, it's solved.
Just compile the fuse support in kernel, then the ntfs3g does not depend on sys-fs/fuse any moe.
Back to top
View user's profile Send private message
irgu
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2003
Posts: 130

PostPosted: Wed Feb 27, 2008 4:10 pm    Post subject: Reply with quote

frank1980 wrote:
Thanks all, it's solved.
Just compile the fuse support in kernel, then the ntfs3g does not depend on sys-fs/fuse any moe.

Exactly! And the kernel won't hang anymore either :-)
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 - 5 Hours
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