Subject : Partition check considered as error is breaking mounting in 2.6.27
Submitter : Herton Ronaldo Krzesinski <email@example.com>
Date : 2008-09-12 16:56
References : http://marc.info/?l=linux-kernel&m=122123862519434&w=4
This entry is being used for tracking a regression from 2.6.26. Please don't
close it until the problem is fixed in the mainline.
Reportedly caused by:
Author: Abdel Benamrouche <firstname.lastname@example.org>
Date: Fri Jul 25 01:48:26 2008 -0700
block/ioctl.c and fs/partition/check.c: check value returned by add_partition()
Now that add_partition() has been aught to propagate errors, let's check them.
[email@example.com: coding-style fixes]
Signed-off-by: Abdel Benamrouche <firstname.lastname@example.org>
Cc: Jens Axboe <email@example.com>
Signed-off-by: Andrew Morton <firstname.lastname@example.org>
Signed-off-by: Linus Torvalds <email@example.com>
On Sunday, 14 of September 2008, Herton Ronaldo Krzesinski wrote:
> On Friday 12 September 2008 16:06:31 Rafael J. Wysocki wrote:
> > This message has been generated automatically as a part of a report
> > of recent regressions.
> > The following bug entry is on the current list of known regressions
> > from 2.6.26. Please verify if it still should be listed and let me know
> > (either way).
> > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11554
> > Subject : Partition check considered as error is breaking
> mounting in 2.6.27
> > Submitter : Herton Ronaldo Krzesinski <firstname.lastname@example.org>
> > Date : 2008-09-12 16:56 (1 days old)
> > References : http://marc.info/?l=linux-kernel&m=122123862519434&w=4
> Fixed now with commit 8d99f83b9478768d3a8d7d1bcd9bd182c75a0447
Just a note to add Nikon Coolpix 5900 and Swissonic MDR-2 to the faulty devices list.
Moreover, I've some questions if anybody could answer:
1. When I connect a card with a reader, I get the "p1 exceeds" error. However, when I'm connecting the camera, everything is nice, even if the partition still exceeds the device capability. There is absolutely no warning or error, neither "p1 exceeds" message. Why does the camera works and not the card reader?
2. Isn't it dangerous to store files on a partition that goes beyond the card capacité? What happens if the device gets full, or FAT tries to store at the end of the device? Is the partition size written in the FAT fs correct, to prevent that risk?