Steve Lord [lord@xxxxxxx] wrote:
>
> OK, you made it a lot further through unmount than before, there are
> two disk I/O's left until you are unmounted from here, and you are
> waiting for one of them to complete - not sure why it is not completing
> yet - previously you were stuck at the start of unmount. Russell changed
> the code in a different direction than we had discussed, I need to go look
> at what he did. If you have the kdbm_pg module in the kernel when this
> happens can you take the first argument of pagebuf_iowait and run the
> pb command on it? From the stack below that would be:
>
> kdb> pb 0xcf724180
>
> Thanks for trying this stuff out for us.
>
> Steve
here it is:
Entering kdb (current=0xc0358000, pid 0) due to Keyboard Entry
kdb> ps
Task Addr Pid Parent [*] cpu State Thread Command
0xc15fe000 00000001 00000000 0 000 stop 0xc15fe260 init
0xc15f0000 00000002 00000001 0 000 stop 0xc15f0260 keventd
0xc15ec000 00000003 00000001 0 000 stop 0xc15ec260 kswapd
0xc15ea000 00000004 00000001 0 000 stop 0xc15ea260 kreclaimd
0xc15e8000 00000005 00000001 0 000 stop 0xc15e8260 bdflush
0xc15e6000 00000006 00000001 0 000 stop 0xc15e6260 kupdated
0xc15c0000 00000007 00000001 0 000 stop 0xc15c0260 scsi_eh_0
0xc157e000 00000008 00000001 0 000 stop 0xc157e260 mdrecoveryd
0xc1572000 00000009 00000001 0 000 stop 0xc1572260 pagebuf_daemon
0xce426000 00001240 00000001 0 000 stop 0xce426260 rc
0xccc9e000 00001628 00001240 0 000 stop 0xccc9e260 S20reboot
0xcf80a000 00001649 00001628 0 000 stop 0xcf80a260 umount
kdb> btp 1649
EBP EIP Function(args)
0xcf80be58 0xc01108ae schedule+0x2de (0xcf7e50c0)
kernel .text 0xc0100000 0xc01105d0 0xc0110a10
0xcf80be70 0xc0105a2f __down+0x5f
kernel .text 0xc0100000 0xc01059d0 0xc0105a80
0xc0105b94 __down_failed+0x8 (0xcf7e50c0, 0xc01aa992, 0xcf7e50c0,
0xcfc95800, 0xcf7e50c0)
kernel .text 0xc0100000 0xc0105b8c 0xc0105b98
0xc0270fe5 stext_lock+0x9cd
kernel .text.lock 0xc0270618 0xc0270618
0xc02717c0
0xc015cfea pagebuf_iowait+0x2a (0xcf7e50c0, 0xcfc95800, 0xcf7e50c0,
0xcf7e50c0)
kernel .text 0xc0100000 0xc015cfc0 0xc015cff0
0xc01aa992 xfs_unmountfs_writesb+0x92 (0xcfc95800)
kernel .text 0xc0100000 0xc01aa900 0xc01aa9e0
0xc01aa85a xfs_unmountfs+0x5a (0xcfc95800, 0x3, 0xc03ac360)
kernel .text 0xc0100000 0xc01aa800 0xc01aa8b0
0xc01b2f48 xfs_unmount+0x168 (0xcfc95800, 0x0, 0xc03ac360)
kernel .text 0xc0100000 0xc01b2de0 0xc01b2f60
0xc01bdf1a fs_dounmount+0x5a (0xcfc95800, 0x0, 0x0, 0xc03ac360,
0xcf7f2dc8)
kernel .text 0xc0100000 0xc01bdec0 0xc01bdf40
0xc01c5288 linvfs_put_super+0x58 (0xcf917e00)
kernel .text 0xc0100000 0xc01c5230 0xc01c5300
0xc0134237 kill_super+0x87 (0xcf917e00, 0x0, 0xc1575f40, 0xffffffff,
0xcfb7fac0)
more>
kernel .text 0xc0100000 0xc01341b0 0xc01342f0
0xc0134641 do_umount+0x1c1 (0xc1575f40, 0x0, 0x0)
kernel .text 0xc0100000 0xc0134480 0xc0134650
0xc0134716 sys_umount+0xc6 (0x8052428, 0x0)
kernel .text 0xc0100000 0xc0134650 0xc0134750
0xc013475c sys_oldumount+0xc (0x8052428, 0x804ee27, 0x8052468,
0x8052429, 0x804ee20)
kernel .text 0xc0100000 0xc0134750 0xc0134760
0xc0106f17 system_call+0x33
kernel .text 0xc0100000 0xc0106ee4 0xc0106f1c
kdb> pb 0xcf7e50c0
page_buf_t at 0xcf7e50c0
pb_flags WRITE MAPPED PARTIAL ASYNC NONE DELWRI SYNC LOCKABLE MEM_ALLOCATED
FORCEIO
pb_target 0xcf7f2ac0 pb_hold 1 pb_next 0xceee8f00 pb_prev 0xceee80c0
pb_file_offset 0x0 pb_buffer_length 0x200 pb_addr 0xcf79c200
pb_bn 0x0 pb_count_desired 0x200
pb_io_remaining 0 pb_error 0 pb_mem 0xcfc25cc0
pb_iodonesema (-1,1) pb_sema (1,0) pincount (0)
pb_fspriv 0xcec4bc10 pb_fspriv2 0x00000000
kdb> reboot
utz
|