Openmoko Bug #2256: [kernel] problem with swap file on fat partition

Openmoko Public Trac bugs at docs.openmoko.org
Sun Mar 8 20:19:14 CET 2009


#2256: [kernel] problem with swap file on fat partition
------------------------------+---------------------------------------------
 Reporter:  Richard.Kralovic  |          Owner:  openmoko-devel
     Type:  defect            |         Status:  new           
 Priority:  normal            |      Milestone:                
Component:  unknown           |        Version:                
 Severity:  normal            |       Keywords:                
 Haspatch:  0                 |      Blockedby:                
Estimated:                    |    Patchreview:                
 Blocking:                    |   Reproducible:                
------------------------------+---------------------------------------------
 I tried to setup a swap file on a fat partition on sd card (using kernel
 linux-
 openmoko-2.6.28-2.6.28-oe1+git~c06ae36180dee695aa25bbae869b2aa26-r3), but
 the swapon command hangs; /proc/<pid>/wchan says that it hangs in
 _fat_bmap.

 In fs/fat/inode.c:205, there is some mutex_lock protecting call to
 generic_block_bmap. After commenting it out, everything works nicely. But
 I assume this is not the correct fix...

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2256>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the devel mailing list