Hide Forgot
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:
The error handling when mount fails in hfsplus is a total trainwreck. Maybe we should just disable hfsplus completely...
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.
The USB stick has been overwritten, but I will follow Steps to Reproduce [with updated versions] when 2.6.38-rc3 appears.
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.