Bug 673857

Summary: BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
Product: [Fedora] Fedora Reporter: John Reiser <jreiser>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-05 01:56:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
/var/log/messages Oops report traceback
none
/var/log/messages successful ignore when no filesystem on partition none

Description John Reiser 2011-01-30 23:49:18 UTC
Created attachment 476097 [details]
/var/log/messages Oops report traceback

Description of problem: kernel Oops when mounting usb flash memory partition with no filesystem present.  (Previous contents of entire device was desktop-x86_64-20110128.15.iso of rawhide nightly build.)


Version-Release number of selected component (if applicable):
kernel-2.6.38-0.rc2.git7.1.fc15.x86_64

How reproducible:
every time

Steps to Reproduce:
1. dd if=desktop-x86_64-20110128.15.iso of=/dev/sdX  # put nightly LiveCD onto whole device (not partitio)n)
2. fdisk /dev/sdX;  Open new DOS label; New Primary partion #1, default sectors [all that are offered: start at 1MB, go to end]; Write partition table and exit
3. mount /dev/sdX1 /mnt  # the partition created in step 2, which does not have a filesystem yet.
  
Actual results:
BUG: unable to handle kernel NULL pointer dereference at 0000000000000008

Expected results: no bug.


Additional info:

Comment 1 Chuck Ebbert 2011-02-01 05:30:24 UTC
The error handling when mount fails in hfsplus is a total trainwreck. Maybe we should just disable hfsplus completely...

Comment 2 Chuck Ebbert 2011-02-01 17:49:44 UTC
Did you happen to save that USB stick? If so, can you try it when 2.6.38-rc3 is available in rawhide? I added some fixes for this problem.

Comment 3 John Reiser 2011-02-01 18:26:56 UTC
The USB stick has been overwritten, but I will follow Steps to Reproduce [with updated versions] when 2.6.38-rc3 appears.

Comment 4 John Reiser 2011-02-02 16:40:44 UTC
Created attachment 476610 [details]
/var/log/messages successful ignore when no filesystem on partition

Successfully ignored "no filesystem present on partition" (in particular, no Oops) when Steps to Reproduce were followed using desktop-x86_64-20110128.15.iso. This was using kernel-2.6.38-0.rc3.git0.1.fc15.x86_64.