Kernel 2.6.39-2-686-pae panics on unmount of external hd

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby AlbertP on Wed Aug 03, 2011 6:58 am

The problem is not Gnome or the Shell. It is the Linux kernel 2.6.39-686-pae.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 15
Level 15
 
Posts: 5833
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Linux Mint is funded by ads and donations.
 

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby Aradan on Thu Aug 18, 2011 1:58 pm

I'm still having this problem with liquorix 3.0 kernel on amd64 :/
Aradan
Level 1
Level 1
 
Posts: 30
Joined: Fri Feb 27, 2009 1:09 pm
Location: Chile

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby Monsta on Fri Aug 19, 2011 3:59 am

So... does this really happen only if at least one NTFS partition is present on the external HDD?

I've encountered this one too. LMDE 201108 RC, tracking Latest, kernel is 2.6.39-2-amd64 (so it's not only 32-bit kernels that are affected). External HDD: WD Scorpio Blue 640 Gb in Zalman ZM-VE200 case, with a single NTFS partition.
Monsta
Level 5
Level 5
 
Posts: 704
Joined: Fri Aug 19, 2011 3:46 am

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby Linux n00b on Fri Aug 19, 2011 10:08 am

AlbertP wrote:The problem is not Gnome or the Shell. It is the Linux kernel 2.6.39-686-pae.


Do you have any information? I'd like to find out what went wrong.

So far, my own experience and searching other places, all pointed to a few very specified areas:

1. It seems only related to NTFS.
2. It only happens if using the GUI's "safely remove" option, CLI unmount works without any problem.
3. It happens across systems with different kernels.

I'm not expert, but NTFS support is not part of kernel itself, and the problem does not happen to CLI, strongly suggested something really went wrong with the GUI file manager/shell.

@Monsta

It appears most (if not all) affected systems are 64bit, 32bit is relatively safe.
The difference between genius and stupidity is that genius has its limits.
-- Albert Einstein
User avatar
Linux n00b
Level 3
Level 3
 
Posts: 144
Joined: Sat Jul 05, 2008 9:55 am

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby grizzler on Fri Aug 19, 2011 12:26 pm

Linux n00b wrote:It appears most (if not all) affected systems are 64bit, 32bit is relatively safe.

Nope. I've had it happen on two (very different) 32 bit systems.
grizzler
Level 4
Level 4
 
Posts: 275
Joined: Wed Jun 15, 2011 5:19 pm
Location: The Hague, NL

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby Monsta on Fri Aug 19, 2011 1:31 pm

That's right, the previous page is full of reports of the same issue in 32-bit kernel.
It's still not clear how to solve this problem.

Well, at least there's a ticket already: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631187
Monsta
Level 5
Level 5
 
Posts: 704
Joined: Fri Aug 19, 2011 3:46 am

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby Linux n00b on Sun Sep 11, 2011 9:06 am

After this long time, and no one has taken any responsibility on this issue, has anyone worked out at least how to take the defective GUI option out for good?

I mean, back to not long ago, simple working "unmount" was perfect. It was not hard to teach new users (just say unmount is Linux work for "safe remove") either.

We are in this mess because someone decided everything should copy what Apple/MS does. :evil:
The difference between genius and stupidity is that genius has its limits.
-- Albert Einstein
User avatar
Linux n00b
Level 3
Level 3
 
Posts: 144
Joined: Sat Jul 05, 2008 9:55 am

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby CaptHilts on Mon Sep 12, 2011 2:16 pm

hey folks, may I join the club?

Running lmde 64Bit pretty much up to date (tracking Debian Testing)

Three kernels installed (all 64bit obviously):

- liquorix 3.0.0.4
- linux 3.0.0.1 (from debian testing)
- linux 2.6.39-2 (from lmde source-cd, so probably Debian testing? :D)

Tried with all of these kernels and when unmounting my WD ext HDD (probably the rest of my externals as well tho) CAPS lock starts to wink at me and the system seems to be in shock :D Well, i feel kinda ridiculous to open a terminal to unmount my ext HDD :wink: Anyway, somebody any suggestions yet?

Otherwise i'd be curious to know if those who run pure Debian have the same issue! If not, a switch is in order I guess...

On my second computer I run Debian Testing KDE (kernel 3.0.0.1) and the problem is NOT present.

Cheers
Captn
CaptHilts
Level 3
Level 3
 
Posts: 107
Joined: Wed Jan 06, 2010 7:47 am

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby zerozero on Mon Sep 12, 2011 6:10 pm

the bug report linked a few post above is from a "proper" debian install, and we can find reports of the same issue in the debian forum, so it's not a LMDE specific issue, can be at most a debian-kernel problem.
User avatar
zerozero
Level 16
Level 16
 
Posts: 6301
Joined: Tue Jul 07, 2009 2:29 pm

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby ajar108 on Tue Sep 13, 2011 3:59 am

I am using 3.0.0-1 64 bit kernel on lmde and having the same problem. Apart from CLI I noticed that when I used the disk utility program to unmount, it works with no problem.
ajar108
Level 1
Level 1
 
Posts: 5
Joined: Sat Jun 18, 2011 12:25 am

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby r3dux on Wed Sep 14, 2011 3:01 am

Bug 631187 is still kernel panicking liquorix 3.0.0-4 64-bit when "safely removing" a USB drive with a NTFS partition in LMDE Gnome RC1 [fully testing branch patched at time of post]:

Code: Select all
$ sudo fdisk -l
... other drives ...
Disk /dev/sdc: 1000.2 GB, 1000170586112 bytes
255 heads, 63 sectors/track, 121597 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00042ada

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      121598   976728064    7  HPFS/NTFS


Code: Select all
$ uname -r
3.0.0-4.dmz.2-liquorix-amd64


Hope it's sorted soon =/
r3dux
Level 1
Level 1
 
Posts: 1
Joined: Wed Sep 14, 2011 2:47 am

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby gosa on Thu Sep 15, 2011 2:59 am

ajar108 wrote:I am using 3.0.0-1 64 bit kernel on lmde and having the same problem. Apart from CLI I noticed that when I used the disk utility program to unmount, it works with no problem.


Yeah, I was doing the same with my LMDE install (tracking testing) after I got the newer kernels. Don't remember when it started, but I got the same thing with CAPS LOCK blinking like crazy... Figured out - by accident - that the disk utility works.

Question:

This thing with unmounting using CLI - I know that in Windows you can create .bat-files that do all sort of interesting things for you... (never actually remember those lessons I got sometime back in the turn of the century).
Being a lazy person who likes to focus on other things than opening a terminal/disk utilities everytime I'd like to unmount something I'm wondering if it would be possible to create a small "script" or similar for each drive you use (have a couple of different drives I plug/unplug on a regular basis) and just put it on the desktop?
Image
Windows, Linux, MacOS, Android or iOS. It doesn't matter what you run, with Dropbox you can access your files - all the time!
gosa
Level 4
Level 4
 
Posts: 296
Joined: Mon Nov 01, 2010 5:12 am
Location: Spain

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby Linux n00b on Thu Sep 15, 2011 6:46 am

@gosa,
Well, I don't know if the script would be easier, but certainly changing that offensive GUI option would be better option if it is possible (which I'm sure should be possible).

At this stage, all the evidence points to the desktop/file manager, not the kernel. Maybe it's time to change to something else.
The difference between genius and stupidity is that genius has its limits.
-- Albert Einstein
User avatar
Linux n00b
Level 3
Level 3
 
Posts: 144
Joined: Sat Jul 05, 2008 9:55 am

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby CaptHilts on Fri Sep 16, 2011 3:14 pm

Linux n00b wrote:At this stage, all the evidence points to the desktop/file manager, not the kernel. Maybe it's time to change to something else.


agreed! I think it may be nautilus related rather than the kernel because using Debian Testing KDE and Dolphin I don't have any issues at all with the above mentioned kernels when unmounting my ext HDDs - and unmounting the CLI way (or with geparted, also noticed that by accident but frankly i'm too lazy to open gparted just to unmount my ext HDDs :D ) on gnome works perfectly fine. Btw, i noticed that when nautilus is open and i right-click the HD i wanna unmount i don't have the option "unmount", only "safely remove" - normally nautilus would have both options, no?

Cheers
Captn
CaptHilts
Level 3
Level 3
 
Posts: 107
Joined: Wed Jan 06, 2010 7:47 am

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby AlbertP on Fri Sep 16, 2011 3:44 pm

Am on Windows at the moment but I'm also quite sure that both options should be there using Mint 11 Gnome. I don't think Debian's Nautilus is very different from Ubuntu's.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 15
Level 15
 
Posts: 5833
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby CaptHilts on Fri Sep 16, 2011 3:59 pm

thx for clarifying!

yea i thought so...from what I remember from Mint 11 there should be the option...I tested Mint Debian RC and the option to "unmount" in nautilus wasn't there - maybe it's changed with the stable release
CaptHilts
Level 3
Level 3
 
Posts: 107
Joined: Wed Jan 06, 2010 7:47 am

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby grizzler on Fri Sep 23, 2011 12:25 pm

I've decided to go back to kernel 2.6.38-2 until this problem and the one mentioned here viewtopic.php?f=187&t=80386&start=20#p467333 are fixed.

It's a pity more recent kernels are seriously broken for some.
grizzler
Level 4
Level 4
 
Posts: 275
Joined: Wed Jun 15, 2011 5:19 pm
Location: The Hague, NL

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby Monsta on Tue Oct 11, 2011 3:18 am

While bugzilla.kernel.org is still down, there were some updates on debian and ubuntu bug trackers.

http://bugs.debian.org/cgi-bin/bugrepor ... =631187#93
So, "they believe" the bug is fixed in 3.0.0-5. Can anyone who tracks Incoming or Testing confirm this? (That's if the kernel there is new enough, of course.)

On the other hand, Ubuntu users complain that the bug is still present in ubuntu kernel 3.0.0-12:
https://bugs.launchpad.net/ubuntu/+sour ... bug/793796
https://bugs.launchpad.net/ubuntu/+sour ... bug/844957
https://bugs.launchpad.net/ubuntu/+sour ... bug/867811

Now I start to wonder what version of the upstream kernel does this ubuntu kernel 3.0.0-12 correspond to... :roll:
Monsta
Level 5
Level 5
 
Posts: 704
Joined: Fri Aug 19, 2011 3:46 am

Re: Kernel 2.6.39-2-686-pae panics on unmount of external hd

Postby lilmonkey1 on Tue Apr 10, 2012 2:57 pm

Has this problem been fixed? I just installed Mint on a new computer and I still get the error when I try to 'safely remove' my external drive. So if it's a kernel issue then you guys need to get on it! I would consider the liquorix route if I fully understood what was involved. That and I am not good at compiling. It spooks me a bit to mess with the kernel.
lilmonkey1
Level 1
Level 1
 
Posts: 3
Joined: Mon Apr 09, 2012 5:55 pm

Linux Mint is funded by ads and donations.
 
Previous

Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 3 guests