You are not logged in.

#1 2005-07-13 19:32:12

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Unmounting filesystems

Is it just me, or other people also have random problems unmounting filesystems when the computer shuts down with kernel 2.6.12.2-1 (stock)?
With 2.6.11-10 there were no issues, now the puter randomly hangs when unmounting at the end of the shutdown process (maybe one time out of three). Even more annoying, whenever this happens, when firing the alternate OS on my dualboot system (WinXP) it prompts for filesystem sanity check at startup.
Is there something NTFS-related changed on that new kernel? I could not find some useful info at kernel.org.


Microshaft delenda est

Offline

#2 2005-07-13 20:28:16

TheRaginAsian
Member
From: Brooklyn MI
Registered: 2004-04-05
Posts: 70
Website

Re: Unmounting filesystems

I am expirencing similar issues.


John Gallias
Technician/Friend/Bassist
http://www.concretearmy.com
john@concretearmy.com
john.gallias@gmail.com
Arch Linux v0.7 (Wombat), XFce 4.2, XOrg, Firefox

Offline

#3 2005-07-13 20:36:36

Karma XXL
Member
From: Budapest, Hungary
Registered: 2005-06-13
Posts: 91

Re: Unmounting filesystems

I have this too. And the WindowsXP I dual-boot did check my NTFS partitions after the forced power cycle.

I'm using a self-compiled 2.6.12-nitro3 kernel.


Ailen:
Kernel: Linux 2.6.14-rc4-ck1 #1 PREEMPT
Built on: Mon Oct 17 14:51:37 CEST 2005
Hardware: Mobile AMD Sempron(tm) Processor 2800+ AuthenticAMD
WM: E17 snapshot 20051016

Offline

#4 2005-07-13 20:37:22

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: Unmounting filesystems

Nope, not just you... others are reporting similar problems:

http://bbs.archlinux.org/viewtopic.php?t=13748

http://bbs.archlinux.org/viewtopic.php?t=13725


oz

Offline

#5 2005-07-13 21:45:20

Karma XXL
Member
From: Budapest, Hungary
Registered: 2005-06-13
Posts: 91

Re: Unmounting filesystems

I must have overlooked them. But anyway, I'm sure this is NTFS-related, and we don't have a solution yet...

I'm currently browsing through lkml.org, they seem to know about this, and probably there's a patch hidden somewhere...

EDIT: I've lurked some and found this page about the issue and this patch.

I'll try to patch my kernel now.

EDIT2: It works! The patch applied cleanly, and even after two restarts I had no hardlocks  lol


Ailen:
Kernel: Linux 2.6.14-rc4-ck1 #1 PREEMPT
Built on: Mon Oct 17 14:51:37 CEST 2005
Hardware: Mobile AMD Sempron(tm) Processor 2800+ AuthenticAMD
WM: E17 snapshot 20051016

Offline

#6 2005-07-14 04:57:16

Greycloack
Member
Registered: 2004-03-05
Posts: 166

Re: Unmounting filesystems

Anyone know if this will be solved in an updated package or I should patch my kernel as well?

And if I should - anyone can point me to a crash course in kernel patching?  smile

Offline

#7 2005-07-14 05:42:05

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Unmounting filesystems

Greycloack wrote:

Anyone know if this will be solved in an updated package or I should patch my kernel as well?

Well, is it in the bug tracker? If not, and you're concerned about it, you should log it there... the devs don't read this stuff

Offline

#8 2005-07-14 08:00:59

Greycloack
Member
Registered: 2004-03-05
Posts: 166

Re: Unmounting filesystems

Well it seems rather important to me. Filed a bug report :
http://bugs.archlinux.org/index.php?do= … 9&edit=yep

Hopefully it will be fixed.

Offline

#9 2005-07-14 09:07:23

iom
Member
From: Slovenia
Registered: 2005-04-18
Posts: 35

Re: Unmounting filesystems

hm. interesting. i only had this problem once, the first time i tried the 2.6.12-cko2 kernel. i've never had this problem with my vanilla 2.6.12.2. the config file was the same for both of them (well, -cko2 may have altered it a bit).

Offline

#10 2005-07-14 09:14:45

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Unmounting filesystems

iom: chances are the patches were probably merged upstream into -ac which -cko uses.

there doesnt have to be a config option for a change or patch. there wasnt a config option to break it.

iphitus

Offline

#11 2005-07-14 11:57:38

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Unmounting filesystems

I'm sporatically having this problem in kernel26cko.  Sometimes it happens, sometimes not.

Offline

#12 2005-07-14 12:08:25

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Unmounting filesystems

dont mount your ntfs filesystems?

cmon, how often do you actually read something off them? I know others will be different, and will use them, but I have only ever needed to access my windows partition from linux a handful of times.

Offline

#13 2005-07-14 19:36:00

Karma XXL
Member
From: Budapest, Hungary
Registered: 2005-06-13
Posts: 91

Re: Unmounting filesystems

Greycloack wrote:

And if I should - anyone can point me to a crash course in kernel patching?  smile

EDIT: I cut out my BS, check my post on page two  :?


Ailen:
Kernel: Linux 2.6.14-rc4-ck1 #1 PREEMPT
Built on: Mon Oct 17 14:51:37 CEST 2005
Hardware: Mobile AMD Sempron(tm) Processor 2800+ AuthenticAMD
WM: E17 snapshot 20051016

Offline

#14 2005-07-15 06:22:12

Greycloack
Member
Registered: 2004-03-05
Posts: 166

Re: Unmounting filesystems

It doesn't work for me I'm afraid :-(

First I had problems with ndevfs.patch.
So I found it on the net and downloaded it.

Then there was a problem with th md5s.... I ignored it (not wise but still...)

Then when I started building and got failed hunks after almost all the patches...

But thanks a lot for trying :-)

Offline

#15 2005-07-15 08:22:20

Karma XXL
Member
From: Budapest, Hungary
Registered: 2005-06-13
Posts: 91

Re: Unmounting filesystems

I'm not really sure what's going on.. It doesn't build for me now either, something's wrong with the patch too... I'll try to do something about it  :shock:


Ailen:
Kernel: Linux 2.6.14-rc4-ck1 #1 PREEMPT
Built on: Mon Oct 17 14:51:37 CEST 2005
Hardware: Mobile AMD Sempron(tm) Processor 2800+ AuthenticAMD
WM: E17 snapshot 20051016

Offline

#16 2005-07-15 09:33:32

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Unmounting filesystems

is ndevfs the problem? Just dump it. Peoples can survive with udev in the meantime.

if it's one of the other patches, does it depend on further patches? if not, chances are it's for the wrong version. patches are very version dependent.

Offline

#17 2005-07-15 13:09:11

Karma XXL
Member
From: Budapest, Hungary
Registered: 2005-06-13
Posts: 91

Re: Unmounting filesystems

I've created a tarball which contains the modified PKGBUILD, the patch (I modified it again to fit the sources), and everything needed for the kernel.

Download here, and I've compiled it as well, you can download the binary package here.

Instructions:

The source way: Unpack the PKGBUILD tarball somewhere, run makepkg to compile then use pacman -U to install the package. Or use 'makepkg -cfi' to automatically install.

The binary way: Use 'pacman -U kernel26-2.6.12.2-1.pkg.tar.gz'  to install the binary package.


Ailen:
Kernel: Linux 2.6.14-rc4-ck1 #1 PREEMPT
Built on: Mon Oct 17 14:51:37 CEST 2005
Hardware: Mobile AMD Sempron(tm) Processor 2800+ AuthenticAMD
WM: E17 snapshot 20051016

Offline

#18 2005-07-15 14:07:59

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: Unmounting filesystems

iphitus wrote:

is ndevfs the problem? Just dump it. Peoples can survive with udev in the meantime.

It certainly isn't, as my current installation was made from scratch with no devfs present. In fact I was omitting devfs on base install since at least six months ago.


Microshaft delenda est

Offline

#19 2005-07-15 16:03:43

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Unmounting filesystems

scarecrow wrote:
iphitus wrote:

is ndevfs the problem? Just dump it. Peoples can survive with udev in the meantime.

It certainly isn't, as my current installation was made from scratch with no devfs present. In fact I was omitting devfs on base install since at least six months ago.

okai, but i the patches failing, was ndevfs failing or which of the others.

Offline

#20 2005-07-15 21:26:44

Greycloack
Member
Registered: 2004-03-05
Posts: 166

Re: Unmounting filesystems

Hi Karma,

Your package works, my system doesn't hang now - thanks a lot.

Though on the down side my modem and WiFi don't work because it can't load the modules now - that's not a problem for me because I don't use them but still - thought I should point it out.

Anyway, once again - Thank you very much  big_smile

Offline

#21 2005-08-07 05:57:28

TheRaginAsian
Member
From: Brooklyn MI
Registered: 2004-04-05
Posts: 70
Website

Re: Unmounting filesystems

iphitus wrote:

dont mount your ntfs filesystems?

cmon, how often do you actually read something off them? I know others will be different, and will use them, but I have only ever needed to access my windows partition from linux a handful of times.

Considering i've had this issue for quite some time and its been the main reason ive actually stayed out of my arch for awhile, I find that quite discouraging. I actually save all of my data to an NTFS drive and until recenctly had no problems.  I may not be a super user of arch but I feel like it is an issue nonetheless and should have been treated in such a manner. I understand completely if it is a kernel issue and not to do at all with anything in arch, but even a simple new bulletin on the homepage or forums telling me to try a patch of some sort or download a binary with the patch would have been more for helpful then having to search and search until finding the issue and solving it in an unofficial manner.


John Gallias
Technician/Friend/Bassist
http://www.concretearmy.com
john@concretearmy.com
john.gallias@gmail.com
Arch Linux v0.7 (Wombat), XFce 4.2, XOrg, Firefox

Offline

#22 2005-08-07 06:38:11

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Unmounting filesystems

TheRaginAsian wrote:
iphitus wrote:

dont mount your ntfs filesystems?

cmon, how often do you actually read something off them? I know others will be different, and will use them, but I have only ever needed to access my windows partition from linux a handful of times.

Considering i've had this issue for quite some time and its been the main reason ive actually stayed out of my arch for awhile, I find that quite discouraging. I actually save all of my data to an NTFS drive and until recenctly had no problems.  I may not be a super user of arch but I feel like it is an issue nonetheless and should have been treated in such a manner. I understand completely if it is a kernel issue and not to do at all with anything in arch, but even a simple new bulletin on the homepage or forums telling me to try a patch of some sort or download a binary with the patch would have been more for helpful then having to search and search until finding the issue and solving it in an unofficial manner.

Well kernel issues are best taken to the LKML....

Either way, Did you post a bug in the bug tracker? If you didnt, the developers never knew this problem existed. Few ever read the forums.

If they did know it had existed, they would have found a patch themselves and released a new kernel, or waited till it was solved in vanilla. Relative to other issues, this is minor, and probably wouldnt deserve a mention on the front page.

iphitus

Offline

#23 2005-08-07 06:58:43

Greycloack
Member
Registered: 2004-03-05
Posts: 166

Re: Unmounting filesystems

Well, I did post a bug report on july 14th... though no-one seems to take any notice of it...
I hope they'll solve it in 2.6.12.4 or whatever number it is now...(and hopefully soon)

Offline

#24 2005-08-10 03:38:49

TheRaginAsian
Member
From: Brooklyn MI
Registered: 2004-04-05
Posts: 70
Website

Re: Unmounting filesystems

iphitus wrote:
TheRaginAsian wrote:
iphitus wrote:

dont mount your ntfs filesystems?

cmon, how often do you actually read something off them? I know others will be different, and will use them, but I have only ever needed to access my windows partition from linux a handful of times.

Considering i've had this issue for quite some time and its been the main reason ive actually stayed out of my arch for awhile, I find that quite discouraging. I actually save all of my data to an NTFS drive and until recenctly had no problems.  I may not be a super user of arch but I feel like it is an issue nonetheless and should have been treated in such a manner. I understand completely if it is a kernel issue and not to do at all with anything in arch, but even a simple new bulletin on the homepage or forums telling me to try a patch of some sort or download a binary with the patch would have been more for helpful then having to search and search until finding the issue and solving it in an unofficial manner.

Well kernel issues are best taken to the LKML....

Either way, Did you post a bug in the bug tracker? If you didnt, the developers never knew this problem existed. Few ever read the forums.

If they did know it had existed, they would have found a patch themselves and released a new kernel, or waited till it was solved in vanilla. Relative to other issues, this is minor, and probably wouldnt deserve a mention on the front page.

iphitus

A bug report was already posted for the issue I was having I didn't wanna make another one.

I very hesitantly applied the kernel that is posted above to have the patch. Everything is now working fine but the fact that I had to apple a rouge kernel is what bothered me. no worries, Ill live wink

Thanks for all the support either way, your very calm responses help me appriciate the work and the community. I can understand that its not that big of an issue so no real notice of it was made. Thanks again.


John Gallias
Technician/Friend/Bassist
http://www.concretearmy.com
john@concretearmy.com
john.gallias@gmail.com
Arch Linux v0.7 (Wombat), XFce 4.2, XOrg, Firefox

Offline

Board footer

Powered by FluxBB