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

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

Postby grizzler on Sun Jun 26, 2011 9:41 am

Just helped my cousin with a new LMDE installation. Clicked 'Safely remove...' on one of the harddisc icons on the desktop to unmount an external harddisc (Samsung USB portable 640GB with 9 partitions) and got a kernel panic.
I figured it probably had something to do with his pc (a Medion) and tried the same on my own pc (an unbranded machine with ECS motherboard) after I got home. Same thing happened.

So it would seem to be unrelated to the computer hardware as such (could be something about this particular external harddisc, of course). Anyone else experience anything similar?

Edit: just for the record, these are 32 bit systems.

Final edit: no more panic here with kernel 3.2.0-1-686-pae.
Last edited by grizzler on Sun Mar 11, 2012 3:38 am, edited 2 times in total.
grizzler
Level 4
Level 4
 
Posts: 399
Joined: Wed Jun 15, 2011 5:19 pm
Location: The Hague, NL

Linux Mint is funded by ads and donations.
 

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

Postby rich_roast on Sun Jun 26, 2011 7:27 pm

Could you post the
Code: Select all
sudo fdisk -l
along with the drive you were unmounting, please?
User avatar
rich_roast
Level 6
Level 6
 
Posts: 1136
Joined: Sat Sep 05, 2009 4:37 pm

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

Postby AdamS on Sun Jun 26, 2011 7:45 pm

I encountered several issues with 2.6.39.2 kernel.

broadcom drivers b43 & sta broke

broke i7 and i5 turbo support

broke acpi on several intel based builds

failure to mount external media

went back to 2.6.39.1 or 2.6.38-10 and all was well.

That kernel needs work yet lol.
Proud owner of a 99.5 % Linux based Pc - laptop - netbook - tablet - networking business.
Do your self a favor, stop paying for imperfection. Once you know Linux, you never go back.
User avatar
AdamS
Level 5
Level 5
 
Posts: 510
Joined: Sat May 28, 2011 10:47 pm
Location: Hinckley Utah USA

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

Postby grizzler on Mon Jun 27, 2011 2:55 am

rich_roast wrote:Could you post the
Code: Select all
sudo fdisk -l
along with the drive you were unmounting, please?

Code: Select all
Disk /dev/sdb: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 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: 0x6780db81

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       13055   104857600+   7  HPFS/NTFS
/dev/sdb2           13055       15726    21461462+  83  Linux
/dev/sdb3           15727       21070    42925680   83  Linux
/dev/sdb4           21071       77825   455884537+   5  Extended
/dev/sdb5           21071       26414    42925648+  83  Linux
/dev/sdb6           26415       31758    42925648+  83  Linux
/dev/sdb7           31759       37102    42925648+  83  Linux
/dev/sdb8           37103       42446    42925648+  83  Linux
/dev/sdb9           42447       47790    42925648+  83  Linux
/dev/sdb10          47791       77564   239159623+  83  Linux
/dev/sdb11          77565       77825     2096451   82  Linux swap / Solaris


The portable (which now has 11 partitions, by the way) shows up like this in the lsusb listing:
Bus 001 Device 002: ID 04e8:1f06 Samsung Electronics Co., Ltd

It's a Samsung S2 portable, type HX-MU064DA.
grizzler
Level 4
Level 4
 
Posts: 399
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 Linux n00b on Sun Jul 03, 2011 9:33 am

Same problem here. I'm still searching for fix. I have 2.6.39-2 kernel, and from the search result, this is either kernel or one of the patch (some reported stock kernel doesn't have this problem) to kernel by distro.

There are reported fix (have to recompile kernel with couple of simple changes) with different distro. I also searched debian bug report, it seems debian hasn't got the hold of the problem yet.

It is also reported going back to 2.6.38-5 may "fix" the problem.

Appears kernel panic can also happen with DVD if it is not fixed. This issue really sucks.
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 jeffreyC on Sun Jul 03, 2011 4:01 pm

The Liquorix kernel does not have that problem, try it

http://liquorix.net/
Get Dropbox and an extra 250 mb http://db.tt/wAizqw0
jeffreyC
Level 4
Level 4
 
Posts: 318
Joined: Mon Jun 07, 2010 9:34 pm

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

Postby Linux n00b on Wed Jul 06, 2011 6:31 am

I'm here to report that the workaround posted on the ubuntu and debian forum works (the problem is wide spread). Only problem is you have to manually umount.

I guess sodu umount is not so hard.
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 hopimet on Fri Jul 08, 2011 2:12 pm

I do not have this kernel panic on my system.

Maybe it could be related to some hardware configurations ?
hopimet
Level 1
Level 1
 
Posts: 22
Joined: Sat May 14, 2011 1:58 am

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

Postby Linux n00b on Sat Jul 09, 2011 10:29 am

hopimet wrote:I do not have this kernel panic on my system.

Maybe it could be related to some hardware configurations ?


Are you using 64bit or 32bit kernel (I use 2.6.39-2 AMD64)?

The kernel panic issue is widely spread after 2.6.85 kernel. It is not only Debian. It seems also not tied to particular hardware at this moment.

Three theories:

1. Somewhere in the kernel no one knows yet, since it happens only to some, but not all, and there is particular cause at the moment.
2. Some reported compile stock 2.6.39-2 kernel fixed it, and suspect the problem is related to udev.
3. Some guy says he nailed the problem with kernel, and it require recompile with simple "patch".
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 hopimet on Sun Jul 10, 2011 3:29 am

Linux n00b wrote:
hopimet wrote:I do not have this kernel panic on my system.

Maybe it could be related to some hardware configurations ?


Are you using 64bit or 32bit kernel (I use 2.6.39-2 AMD64)?


32.

It could be an explanation.
hopimet
Level 1
Level 1
 
Posts: 22
Joined: Sat May 14, 2011 1:58 am

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

Postby lmdeman on Tue Jul 12, 2011 6:15 am

Maybe it's a different issue, but yesterday I experienced a system freeze right after a "Safely remove drive" before unplugging an USB hdd holding two partitions, one FAT32 and one NTFS. The funny (not that much, actually) thing is that it happened with a 2.6.32 64-bit kernel (LMDE tied to squeeze repos). I'm using such system since 6 months and it did never happen before. Since most external hdd are NTFS, I'm wondering if the kernel issues are actually related to FUSE. Did anyone experience this problem with non-NTFS USB drives?
User avatar
lmdeman
Level 1
Level 1
 
Posts: 38
Joined: Fri May 27, 2011 6:12 am

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

Postby Linux n00b on Sun Jul 17, 2011 2:07 am

Debian has a minor kernel update. I updated to the latest kernel, and the problem is not fixed yet.

Here I attached the screen (I took the photo from my phone) if anyone interested, and hopefully has a way to fix it easily.
Attachments
kernelpanic.jpg
kernelpanic.jpg (278.19 KiB) Viewed 6713 times
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 Sun Jul 17, 2011 2:31 am

There are a few posts on the Debian User forum that suggest this problem is still present in kernel 3.0.0-rc6. It may take a while before this is fixed... :(
grizzler
Level 4
Level 4
 
Posts: 399
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 Linux n00b on Sun Jul 24, 2011 8:49 am

Latest report. I was suspecting the problem was to do with NTFS formated drive. So it might be NTFS-3G, FUSE , or udev. There was update to NTFS-3G, I was hoping it may fix the problem. But, nope, it didn't.
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 Sun Jul 24, 2011 10:19 am

No, it hasn't been fixed yet. What's worse, someone who was using Ubuntu 10.04.2 with kernel 2.6.32-32 without any problems reports that after some updates it is also present in 2.6.32-33. So whatever the problem is, it seems to have been 'backported' to earlier kernels. Great job, guys! (NOT!)

Still, for some people the recent updates appear to have helped: viewtopic.php?f=141&t=76556&start=140#p451161
grizzler
Level 4
Level 4
 
Posts: 399
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 mccfrank on Sun Jul 24, 2011 8:56 pm

I don't use Mint...but run Debian Sid and I have never been able to get the PAE kernel to boot on my machine.
The developers seem to think it's a hardware problem - I don't think so as I NEVER before had any problems
getting any kernels to boot.
mccfrank
Level 1
Level 1
 
Posts: 4
Joined: Sun Jul 24, 2011 8:53 pm
Location: Montreal

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

Postby Linux n00b on Thu Jul 28, 2011 9:23 am

Whatever the problem is, it is not fixed. i just tried after both FUSE and udev update.

Now, rather than waiting the "official" fix, there should be a easy solution.

Since unmount from terminal works fine, just the GUI "safely remove" would cause the kernel panic, it is clear the fault is directly related with how the script/code linked to that particular GUI option. I remember back to Mint 6, there was only unmount option from GUI which always works. So why can't we change it back? Anyone knows how to do this easily for less experienced users, like myself?
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 wilberfan on Thu Jul 28, 2011 4:47 pm

I've been getting a kernel panic with this kernel at shutdown: viewtopic.php?f=141&t=78154. I've used Liquorix kernels in the past; might be time to try it again!
wilberfan
Level 1
Level 1
 
Posts: 16
Joined: Sat Sep 18, 2010 10:21 am

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

Postby The Diamond Geezer on Mon Aug 01, 2011 5:31 am

I, for one, don't get a kernel panic when I click on "Safely remove drive" to unmount an external 2TB HDD, but a system freeze. All I can do is a hard reset. Thankfully this incurs no data loss on the external drive, which leads me to think that it is indeed successfully unmounted before the freeze. My kernel is 2.6.39-2. This has happened for me since 2.6.32.

The interesting and frustrating thing is that I used to be able to right-click and "Unmount" the drive from Nautilus without a problem before Update Pack 2. Now this option has been replaced by the "Eject" black upward arrow next to the drive name in the "Places" pane. Clicking on the "Eject" symbol simply reloads the external volume without unmounting it.

I suspect some Gnome Shell package is to be blamed for this *regression*. Pardon my lack of objectivity but I had a very poor user experience with Gnome Shell in Fedora 15 and now dread it to no end.. :?

Thankfully, the proposed workaround (umount in CLI) should provide some relief to this painful glitch...for now.
The Diamond Geezer
Level 1
Level 1
 
Posts: 35
Joined: Thu Jun 23, 2011 3:47 am

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

Postby Linux n00b on Wed Aug 03, 2011 6:34 am

If Gnome shell is found to be the source of the problem, I'm sure I will switch to KDE. First there was retarded Unity, then stupid Gnome3. This madness must stop.
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

Linux Mint is funded by ads and donations.
 
Next

Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 4 guests