xfs
[Top] [All Lists]

Re: mount hangs

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: mount hangs
From: Sidik Isani <lksi@xxxxxxxxxxxxxxx>
Date: Thu, 3 Oct 2002 18:25:39 -1000
Cc: Sidik Isani <lksi@xxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.44.0210032309170.26324-100000@xxxxxxxxxxxxxxxxxxxxxx>; from sandeen@xxxxxxx on Thu, Oct 03, 2002 at 11:09:57PM -0500
References: <20021003180533.A11986@xxxxxxxxxxxxxxx> <Pine.LNX.4.44.0210032309170.26324-100000@xxxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Thu, Oct 03, 2002 at 11:09:57PM -0500, Eric Sandeen wrote:
> If you can get into kdb, and do:
> 
> kdb> btp <pid of mount>
> 
> to see what the backtrace is, and where it's stuck, that might be helpful.

  Sure.  (Now that I figured out how to send a real Ctrl-A in minicom ;-)
  Here it is.

XFS mounting filesystem md(9,0)

Entering kdb (current=0xc1c12000, pid 0) on processor 1 due to Keyboard Entry
[1]kdb> ps
...
[1]kdb> btp 801
EBP        EIP        Function (args)
0xf6b51afc 0xc0118598 schedule+0x5c0 (0xf781edc4, 0xf781edc4, 0xf7e3d274, 
0xf6b50000, 0xf781ee24, 0xf6b51b1c, 0x1, 0xf6b50000, 0xf781ee2c, 0xf781e)
                               kernel .text 0xc0100000 0xc0117fd8 0xc0118740
0xf6b51b2c 0xc0107c65 __down+0xc9 (0xf781ee1c, 0x0, 0xc021b1b3)
                               kernel .text 0xc0100000 0xc0107b9c 0xc0107d1c
                               0xc021b1b3 (xfs_bwrite+0x6f)
0xf6b51b40 0xc0107f7f __down_failed+0xb (0x1, 0xf6b51b64, 0xc021b1b3, 
0xf781edc4, 0xf781edc4, 0x20000, 0xf7e3d274, 0xf6b51b90, 0xc01fedd8, 0xf6b4d)
                               kernel .text 0xc0100000 0xc0107f74 0xc0107f88
                               0xc021b1b3 (xfs_bwrite+0x6f)
                               0xc01fedd8 (xlog_bwrite+0xa8)
                               0xc01febf3 (xlog_get_bp+0x3b)
                               0xc02002ee (xlog_write_log_records+0x162)
                               0xc0200441 (xlog_clear_stale_blocks+0x119)
                               0xc01ffeef (xlog_find_tail+0x3bf)
                               0xc0203b39 (xlog_recover+0x21)
                               0xc01f9907 (xfs_log_mount+0xc7)
                               0xc020881d (xfs_mountfs+0xa59)
                               0xc04c6000 (init_task_union)
                               0xc0480c3c (semaphore_lock)
                               0xc0494508 (io_request_lock)
                               0xc0107d12 (__down+0x176)
                               0xc021dfef (pagebuf_iowait+0x4f)
                               0xc021d069 (pagebuf_rele+0x19)
                               0xc02129a6 (xfs_finish_flags+0x92)
                               0xc0212c2c (xfs_mount+0x20c)
                               0xc0212a20 (xfs_mount)
           0xc021f1cc .text.lock.page_buf+0xc7
                               kernel .text 0xc0100000 0xc021f105 0xc021f234
0xf6b51b4c 0xc021dfde pagebuf_iowait+0x3e (0xf781edc4, 0xf781edc4, 0x20000, 
0xf7e3d274)
                               kernel .text 0xc0100000 0xc021dfa0 0xc021dffc
0xf6b51b64 0xc021b1b3 xfs_bwrite+0x6f (0xf6b4d800, 0xf781edc4, 0xf781edc4, 
0xf781edc4, 0xf777fe00, 0xf7760200, 0xf7780000, 0xc01febf3, 0x20000)
                               kernel .text 0xc0100000 0xc021b144 0xc021b25c
                               0xc01febf3 (xlog_get_bp+0x3b)
0xf6b51b90 0xc01fedd8 xlog_bwrite+0xa8 (0xf7e3d274, 0x2, 0x100, 0xf781edc4, 
0x200, 0x2, 0x0, 0xf77c18ac, 0xf7e3d274, 0x296)
                               kernel .text 0xc0100000 0xc01fed30 0xc01fee04
0xf6b51be8 0xc02002ee xlog_write_log_records+0x162 (0xf7e3d274, 0x0, 0x2, 
0x200, 0x1, 0x0, 0xf7e3d274, 0x1, 0xf6b51c9c, 0x1)
                               kernel .text 0xc0100000 0xc020018c 0xc0200328
0xf6b51c1c 0xc0200441 xlog_clear_stale_blocks+0x119 (0xf7e3d274, 0x0, 0x1, 
0xf7e3d274, 0xf7e3d274, 0xf6b51c94, 0xf7732600, 0x40000, 0x2, 0x0)
                               kernel .text 0xc0100000 0xc0200328 0xc0200454
0xf6b51c68 0xc01ffeef xlog_find_tail+0x3bf (0xf7e3d274, 0xf6b51c94, 0xf6b51c9c, 
0x0, 0xf7e3d274, 0x900, 0xf6b4d800, 0x8000, 0xf6b51c9c, 0x2)
                               kernel .text 0xc0100000 0xc01ffb30 0xc01fff20
0xf6b51ca4 0xc0203b39 xlog_recover+0x21 (0xf7e3d274, 0x0, 0xf6b4d800, 0x40000, 
0x5f800080, 0x0)
                               kernel .text 0xc0100000 0xc0203b18 0xc0203bd8
0xf6b51cc4 0xc01f9907 xfs_log_mount+0xc7 (0xf6b4d800, 0x900, 0x5f800080, 0x0, 
0x40000, 0xf6b4d800, 0x0, 0xf79c9cf8, 0xf781eef8, 0xc1c1269c)
                               kernel .text 0xc0100000 0xc01f9840 0xc01f993c
                               0xc04c6000 (init_task_union)
                               0xc0480c3c (semaphore_lock)
                               0xc0494508 (io_request_lock)
                               0xc0107d12 (__down+0x176)
                               0xc021dfef (pagebuf_iowait+0x4f)
                               0xc021d069 (pagebuf_rele+0x19)
                               0xc02129a6 (xfs_finish_flags+0x92)
0xf6b51dd8 0xc020881d xfs_mountfs+0xa59 (0xf7753d84, 0xf6b4d800, 0x900, 0x0, 
0xf6b4dc00, 0xf7753d84, 0xc0212a20, 0xf79c9cf8, 0x0, 0x0)
                               kernel .text 0xc0100000 0xc0207dc4 0xc0208d80
                               0xc0212a20 (xfs_mount)
0xf6b51e0c 0xc0212c2c xfs_mount+0x20c (0xf7753d84, 0xf7ce6000, 0x0, 0xc0484a00, 
0xf6b4dc00, 0xc048c02c, 0x202, 0x0, 0xf7ce600c, 0xf7ce6000)
                               kernel .text 0xc0100000 0xc0212a20 0xc0212c98
                               0xc0484a00 (super_blocks)
                               0xc048c02c (xfs_fs_type)
                               0xc01493b0 (alloc_super+0x18)
                               0xc0149802 (insert_super+0x6e)
0xf6b51e80 0xc022809b linvfs_read_super+0x11f (0xf6b4dc00, 0x0, 0x0, 
0xf6b4dc00, 0xc048c02c, 0xfffffff4, 0xf7d90e4c, 0xc048c02c, 0xfffffff0, 0xf6b)
                               kernel .text 0xc0100000 0xc0227f7c 0xc02281e0
                               0xc048c02c (xfs_fs_type)
                               0xc048c02c (xfs_fs_type)
                               0xc048c02c (xfs_fs_type)
0xf6b51edc 0xc014a2df get_sb_bdev+0x26b (0xc048c02c, 0x0, 0xf6b4e000, 0x0, 
0xf6b4f000, 0xf6b51f68, 0xf6b4f003)
                               kernel .text 0xc0100000 0xc014a074 0xc014a378
                               0xc048c02c (xfs_fs_type)
0xf6b51f00 0xc014a53f do_kern_mount+0x57 (0xf6b4f000, 0x0, 0xf6b4e000, 0x0, 
0x0, 0x0, 0xf6b51f68, 0xf6b50000, 0x9, 0xf77a8df8)
                               kernel .text 0xc0100000 0xc014a4e8 0xc014a5e8
0xf6b51f34 0xc015f84d do_add_mount+0x6d (0xf6b51f68, 0xf6b4f000, 0x0, 0x0, 
0xf6b4e000, 0x0, 0x0, 0xf6b50000, 0xf77de000, 0x0)
                               kernel .text 0xc0100000 0xc015f7e0 0xc015f930
                               0xc015f97d (copy_mount_options+0x4d)
0xf6b51f84 0xc015fb14 do_mount+0x140 (0xf6b4e000, 0xf77de000, 0xf6b4f000, 
0xc0ed0000, 0x0, 0xf6b50000, 0xc0ed0000, 0x0, 0xf6b50000, 0x0)
                               kernel .text 0xc0100000 0xc015f9d4 0xc015fb30
0xf6b51fbc 0xc01600fc sys_mount+0xd4 (0x8059218, 0x8059228, 0x8055366, 
0xc0ed0000, 0x0, 0xbffff8e8)
                               kernel .text 0xc0100000 0xc0160028 0xc0160188
           0xc0109353 system_call+0x33
                               kernel .text 0xc0100000 0xc0109320 0xc0109358


<Prev in Thread] Current Thread [Next in Thread>