|Summary:||Partition check considered as error is breaking mounting in 2.6.27|
|Product:||IO/Storage||Reporter:||Rafael J. Wysocki (rjw)|
|Component:||Block Layer||Assignee:||Jens Axboe (axboe)|
|Bug Depends on:|
Description Rafael J. Wysocki 2008-09-12 11:36:10 UTC
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 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.
Comment 1 Rafael J. Wysocki 2008-09-12 11:37:04 UTC
Reportedly caused by: commit 04ebd4aee52b06a2c38127d9208546e5b96f3a19 Author: Abdel Benamrouche <email@example.com> 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. [firstname.lastname@example.org: coding-style fixes] Signed-off-by: Abdel Benamrouche <email@example.com> Cc: Jens Axboe <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
Comment 2 Rafael J. Wysocki 2008-09-14 17:19:57 UTC
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 <email@example.com> > > 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
Comment 3 Christian Casteyde 2008-10-12 04:41:40 UTC
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?