All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: thread_should_wake() in background.c
  2003-07-17  1:59 thread_should_wake() in background.c Vikram Mehta
@ 2003-07-16 22:26 ` David Woodhouse
  0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2003-07-16 22:26 UTC (permalink / raw)
  To: Vikram Mehta; +Cc: mtd

On Thu, 2003-07-17 at 02:59, Vikram Mehta wrote:
> Hi ,
> 
> When I mount jffs2 partition
> 
> the system simply stops responding
> after givinng the message
> 
> 
> JFFS2: Garbage collect thread is pid 1792
> thread_should_wake(): nr_free_blocks 1, nr_erasing_blocks 15, dirty_size 0x0
> jffs2_garbage_collect_thread sleeping...
> thread_should_wake(): nr_free_blocks 1, nr_erasing_blocks 15, dirty_size 0x0

Does SysRq not even work? No network activity at all?

-- 
dwmw2

^ permalink raw reply	[flat|nested] 2+ messages in thread

* thread_should_wake() in background.c
@ 2003-07-17  1:59 Vikram Mehta
  2003-07-16 22:26 ` David Woodhouse
  0 siblings, 1 reply; 2+ messages in thread
From: Vikram Mehta @ 2003-07-17  1:59 UTC (permalink / raw)
  To: mtd

Hi ,

When I mount jffs2 partition

the system simply stops responding
after givinng the message


JFFS2: Garbage collect thread is pid 1792
thread_should_wake(): nr_free_blocks 1, nr_erasing_blocks 15, dirty_size 0x0
jffs2_garbage_collect_thread sleeping...
thread_should_wake(): nr_free_blocks 1, nr_erasing_blocks 15, dirty_size 0x0


thread_should_wake() is in fs/jffs2/background.c

Any ideas Y is this so

with kind regards
Vikram



# mount -t jffs2 /devmtdblock2 /mnt\b \b \b \b\b \b \b \b\b \b \b \b\b \b \b \b\b \b \b \b\b \b \b
\b\b \b \b \b\b \b \b \b\b \b \b \b\b \b \b \b\b \b \b \b\b \b \b \b\b \b \b \b\b \b \b \b/mtdblock2 /mnt
mtdblock_open
ok
jffs2: read_super for device 1f:02
jffs2_scan_eraseblock(): Scanning block at 0x0
Empty flash detected from 0x00000000 to 0x00010000
Block at 0x00000000 is empty (erased)
jffs2_scan_eraseblock(): Scanning block at 0x10000
Found empty flash at 0x1000c
Empty flash detected from 0x0001000c to 0x00020000
Block at 0x00010000: free 0x0000fff4, dirty 0x00000000, used 0x0000000c
jffs2_scan_eraseblock(): Scanning block at 0x20000
Empty flash detected from 0x00020000 to 0x00030000
Block at 0x00020000 is empty (erased)
jffs2_scan_eraseblock(): Scanning block at 0x30000
Empty flash detected from 0x00030000 to 0x00040000
Block at 0x00030000 is empty (erased)
jffs2_scan_eraseblock(): Scanning block at 0x40000
Empty flash detected from 0x00040000 to 0x00050000
Block at 0x00040000 is empty (erased)
jffs2_scan_eraseblock(): Scanning block at 0x50000
Empty flash detected from 0x00050000 to 0x00060000
Block at 0x00050000 is empty (erased)
jffs2_scan_eraseblock(): Scanning block at 0x60000
Empty flash detected from 0x00060000 to 0x00070000
Block at 0x00060000 is empty (erased)
jffs2_scan_eraseblock(): Scanning block at 0x70000
Empty flash detected from 0x00070000 to 0x00080000
Block at 0x00070000 is empty (erased)
jffs2_scan_eraseblock(): Scanning block at 0x80000
Empty flash detected from 0x00080000 to 0x00090000
Block at 0x00080000 is empty (erased)
jffs2_scan_eraseblock(): Scanning block at 0x90000
Empty flash detected from 0x00090000 to 0x000a0000
Block at 0x00090000 is empty (erased)
jffs2_scan_eraseblock(): Scanning block at 0xa0000
Empty flash detected from 0x000a0000 to 0x000b0000
Block at 0x000a0000 is empty (erased)
jffs2_scan_eraseblock(): Scanning block at 0xb0000
Empty flash detected from 0x000b0000 to 0x000c0000
Block at 0x000b0000 is empty (erased)
jffs2_scan_eraseblock(): Scanning block at 0xc0000
Empty flash detected from 0x000c0000 to 0x000d0000
Block at 0x000c0000 is empty (erased)
jffs2_scan_eraseblock(): Scanning block at 0xd0000
Empty flash detected from 0x000d0000 to 0x000e0000
Block at 0x000d0000 is empty (erased)
jffs2_scan_eraseblock(): Scanning block at 0xe0000
Empty flash detected from 0x000e0000 to 0x000f0000
Block at 0x000e0000 is empty (erased)
jffs2_scan_eraseblock(): Scanning block at 0xf0000
Empty flash detected from 0x000f0000 to 0x00100000
Block at 0x000f0000 is empty (erased)
Scanned flash completely
Pass 1 complete
Pass 2 (re)starting
Pass 2 complete
Pass 3 complete
jffs2_read_super(): Getting root inode
jffs2_read_inode(): inode->i_ino == 1
getting inocache
jffs2_get_ino_cache(): ino 1
jffs2_get_ino_cache found 00000000 for ino 1
jffs2_read_inode(): Got inocache at 00000000
Allocated inocache at 004b92c0
jffs2_read_inode(): Creating inocache for root inode
jffs2_add_ino_cache: Add 004b92c0 (ino #1)
jffs2_read_inode(): ino #1 nlink is 1
jffs2_get_inode_nodes(): ino #1
jffs2_read_inode() returning
jffs2_read_super(): d_alloc_root()
JFFS2: Garbage collect thread is pid 1792
thread_should_wake(): nr_free_blocks 1, nr_erasing_blocks 15, dirty_size 0x0
jffs2_garbage_collect_thread sleeping...
thread_should_wake(): nr_free_blocks 1, nr_erasing_blocks 15, dirty_size 0x0

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-16 22:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-17  1:59 thread_should_wake() in background.c Vikram Mehta
2003-07-16 22:26 ` David Woodhouse

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.