Russell Cattelan [cattelan@xxxxxxxxxxx] wrote:
> Utz Lehmann wrote:
>
> > Hi
> >
> > With newer cvs kernel (cvs from this week, before i had holidays) i have
> > problems with my linux workstation (suse 7.1) at work.
> >
> > Umounting the filesystems while shutdown hangs.
> >
> > Following partitions are xfs:
> >
> > /dev/sda1 on / type xfs (rw)
> > /dev/vg00/usr on /usr type xfs (rw,kio,logbufs=4,logbsize=32768)
> > /dev/vg00/var on /var type xfs (rw,kio,logbufs=4,logbsize=32768)
> > /dev/vg00/opt on /opt type xfs (rw,kio,logbufs=4,logbsize=32768)
> > /dev/vg00/tmp on /tmp type xfs (rw,kio,logbufs=4,logbsize=32768)
>
> I assume these are lvm volumes?
> Could you sent configuration of these volumes.
Sorry, i think i send too little information about the system.
It's my workstation at my job. It's a thunderbrid 800, 256MB RAM, 18GB IBM
DDYS-T18350N attached to a Adaptec 7892A running SuSE 7.1.
It has a nvidia TNT2 Graphics using the 0.9-769 glx driver.
The kernel and the nvidia kernel module is compiled with the redhat 7.0 kgcc
rpm.
One tricky thing is that it runs 25 automount processes (to simulate direct
maps).
It hangs without X and automounter also.
ok, here is the lvm configuration (vgdisplay -v).
/dev/vg00/usr are xfs.
/dev/vg00/USR are ext2 (used by installation and for backup).
/ is on sda1 (xfs)
/boot is on sda2 (ext2)
No initrd is used.
--- Volume group ---
VG Name vg00
VG Access read/write
VG Status available/resizable
VG # 0
MAX LV 256
Cur LV 10
Open LV 5
MAX LV Size 255.99 GB
Max PV 256
Cur PV 1
Act PV 1
VG Size 16.45 GB
PE Size 4 MB
Total PE 4212
Alloc PE / Size 4212 / 16.45 GB
Free PE / Size 0 / 0
VG UUID G8ohzN-Dp3u-GOYz-LZwr-eWD5-zYMc-a1dDwE
--- Logical volume ---
LV Name /dev/vg00/usr
VG Name vg00
LV Write Access read/write
LV Status available
LV # 1
# open 1
LV Size 4 GB
Current LE 1024
Allocated LE 1024
Allocation next free
Read ahead sectors 120
Block device 58:0
--- Logical volume ---
LV Name /dev/vg00/var
VG Name vg00
LV Write Access read/write
LV Status available
LV # 2
# open 1
LV Size 512 MB
Current LE 128
Allocated LE 128
Allocation next free
Read ahead sectors 120
Block device 58:1
--- Logical volume ---
LV Name /dev/vg00/opt
VG Name vg00
LV Write Access read/write
LV Status available
LV # 3
# open 1
LV Size 2 GB
Current LE 512
Allocated LE 512
Allocation next free
Read ahead sectors 120
Block device 58:2
--- Logical volume ---
LV Name /dev/vg00/tmp
VG Name vg00
LV Write Access read/write
LV Status available
LV # 4
# open 1
LV Size 256 MB
Current LE 64
Allocated LE 64
Allocation next free
Read ahead sectors 120
Block device 58:3
--- Logical volume ---
LV Name /dev/vg00/USR
VG Name vg00
LV Write Access read/write
LV Status available
LV # 5
# open 0
LV Size 4 GB
Current LE 1024
Allocated LE 1024
Allocation next free
Read ahead sectors 120
Block device 58:4
--- Logical volume ---
LV Name /dev/vg00/VAR
VG Name vg00
LV Write Access read/write
LV Status available
LV # 6
# open 0
LV Size 512 MB
Current LE 128
Allocated LE 128
Allocation next free
Read ahead sectors 120
Block device 58:5
--- Logical volume ---
LV Name /dev/vg00/OPT
VG Name vg00
LV Write Access read/write
LV Status available
LV # 7
# open 0
LV Size 2 GB
Current LE 512
Allocated LE 512
Allocation next free
Read ahead sectors 120
Block device 58:6
--- Logical volume ---
LV Name /dev/vg00/TMP
VG Name vg00
LV Write Access read/write
LV Status available
LV # 8
# open 0
LV Size 256 MB
Current LE 64
Allocated LE 64
Allocation next free
Read ahead sectors 120
Block device 58:7
--- Logical volume ---
LV Name /dev/vg00/swap
VG Name vg00
LV Write Access read/write
LV Status available
LV # 9
# open 1
LV Size 256 MB
Current LE 64
Allocated LE 64
Allocation next free
Read ahead sectors 120
Block device 58:8
--- Logical volume ---
LV Name /dev/vg00/test
VG Name vg00
LV Write Access read/write
LV Status available
LV # 10
# open 0
LV Size 2.7 GB
Current LE 692
Allocated LE 692
Allocation next free
Read ahead sectors 120
Block device 58:9
--- Physical volumes ---
PV Name (#) /dev/sda3 (1)
PV Status available / allocatable
Total PE / Free PE 4212 / 0
>
> Also one more kdb command.
> kdb> bta
> Back trace all.
>
> We need to find out why the pagebuf pagebuf_delwri_flush is currently
> working on has a pin count.... that shouldn't be happening at this point.
Entering kdb (current=0xc035a000, pid 0) due to Keyboard Entry
kdb> bta
Stack traceback for pid 1
EBP EIP Function(args)
0xc15ffefc 0xc0112b18 schedule+0x2d8 (0xc15fff10)
kernel .text 0xc0100000 0xc0112840 0xc0112c70
0xc15fff24 0xc011280a schedule_timeout+0x7a
kernel .text 0xc0100000 0xc0112790 0xc0112830
0xc013fd13 do_select+0x93 (0xb, 0xc15fffa8, 0xc15fffa4)
kernel .text 0xc0100000 0xc013fc80 0xc013fe90
0xc01402f2 sys_select+0x432 (0xb, 0xbffff93c, 0x0, 0x0, 0xbffff884)
kernel .text 0xc0100000 0xc013fec0 0xc0140470
0xc0108f77 system_call+0x33
kernel .text 0xc0100000 0xc0108f44 0xc0108f7c
Enter <q> to end, <cr> to continue:
Stack traceback for pid 2
EBP EIP Function(args)
0xc15f1fa8 0xc0112b18 schedule+0x2d8 (0x700)
kernel .text 0xc0100000 0xc0112840 0xc0112c70
0xc0120015 context_thread+0x115
kernel .text 0xc0100000 0xc011ff00 0xc01200c0
0xc01074f3 kernel_thread+0x23
kernel .text 0xc0100000 0xc01074d0 0xc0107500
Enter <q> to end, <cr> to continue:
Stack traceback for pid 3
EBP EIP Function(args)
0xc15edf90 0xc0112b18 schedule+0x2d8 (0xc15edfa4)
kernel .text 0xc0100000 0xc0112840 0xc0112c70
0xc15edfb8 0xc011280a schedule_timeout+0x7a (0x10f00, 0xc0283711, 0xc15ec239)
kernel .text 0xc0100000 0xc0112790 0xc0112830
0xc15edfdc 0xc0112e76 interruptible_sleep_on_timeout+0x46 (0xc15fffbc)
kernel .text 0xc0100000 0xc0112e30 0xc0112ea0
0xc012b8e9 kswapd+0xe9
kernel .text 0xc0100000 0xc012b800 0xc012b910
0xc01074f3 kernel_thread+0x23
kernel .text 0xc0100000 0xc01074d0 0xc0107500
Enter <q> to end, <cr> to continue:
Stack traceback for pid 4
EBP EIP Function(args)
0xc15ebfb0 0xc0112b18 schedule+0x2d8 (0x10f00)
kernel .text 0xc0100000 0xc0112840 0xc0112c70
0xc15ebfcc 0xc0112e10 interruptible_sleep_on+0x40 (0x10f00, 0xc15fffb0)
kernel .text 0xc0100000 0xc0112dd0 0xc0112e30
0xc012b9bb kreclaimd+0x5b
kernel .text 0xc0100000 0xc012b960 0xc012ba40
0xc01074f3 kernel_thread+0x23
kernel .text 0xc0100000 0xc01074d0 0xc0107500
Enter <q> to end, <cr> to continue:
Stack traceback for pid 5
EBP EIP Function(args)
0xc15e9fd8 0xc0112b18 schedule+0x2d8 (0x10f00)
kernel .text 0xc0100000 0xc0112840 0xc0112c70
0xc013526e bdflush+0xce
kernel .text 0xc0100000 0xc01351a0 0xc0135280
0xc01074f3 kernel_thread+0x23
kernel .text 0xc0100000 0xc01074d0 0xc0107500
Enter <q> to end, <cr> to continue:
Stack traceback for pid 6
EBP EIP Function(args)
0xc15e7f88 0xc0112b18 schedule+0x2d8
kernel .text 0xc0100000 0xc0112840 0xc0112c70
0xc01360b3 __wait_on_super+0x73 (0xcf8ab800)
kernel .text 0xc0100000 0xc0136040 0xc01360d0
0xc0136115 sync_supers+0x45 (0x0)
kernel .text 0xc0100000 0xc01360d0 0xc0136180
0xc0135097 sync_old_buffers+0x7 (0x10f00)
kernel .text 0xc0100000 0xc0135090 0xc01350d0
0xc013535c kupdate+0xdc
kernel .text 0xc0100000 0xc0135280 0xc0135360
0xc01074f3 kernel_thread+0x23
kernel .text 0xc0100000 0xc01074d0 0xc0107500
Enter <q> to end, <cr> to continue:
Stack traceback for pid 7
EBP EIP Function(args)
0xc1581fb4 0xc0112b18 schedule+0x2d8
kernel .text 0xc0100000 0xc0112840 0xc0112c70
0xc0235914 md_thread+0x104
kernel .text 0xc0100000 0xc0235810 0xc0235980
0xc01074f3 kernel_thread+0x23
kernel .text 0xc0100000 0xc01074d0 0xc0107500
Enter <q> to end, <cr> to continue:
Stack traceback for pid 8
EBP EIP Function(args)
0xc1563f90 0xc0112b18 schedule+0x2d8 (0xced50e00)
kernel .text 0xc0100000 0xc0112840 0xc0112c70
0xc1563fac 0xc0112e10 interruptible_sleep_on+0x40 (0xc1563fdc, 0xc1563fdc,
0xf00)
kernel .text 0xc0100000 0xc0112dd0 0xc0112e30
0xc0160534 pagebuf_daemon+0xd4
kernel .text 0xc0100000 0xc0160460 0xc0160690
0xc01074f3 kernel_thread+0x23
kernel .text 0xc0100000 0xc01074d0 0xc0107500
Enter <q> to end, <cr> to continue:
Stack traceback for pid 1174
EBP EIP Function(args)
0xcdacdf80 0xc0112b18 schedule+0x2d8 (0xcdacc000)
kernel .text 0xc0100000 0xc0112840 0xc0112c70
0xc0117fff sys_wait4+0x37f (0xffffffff, 0xbffff8a0, 0x0, 0x0, 0x0)
kernel .text 0xc0100000 0xc0117c80 0xc0118030
0xc0108f77 system_call+0x33
kernel .text 0xc0100000 0xc0108f44 0xc0108f7c
Enter <q> to end, <cr> to continue:
Stack traceback for pid 1561
EBP EIP Function(args)
0xcff13f80 0xc0112b18 schedule+0x2d8 (0xcff12000)
kernel .text 0xc0100000 0xc0112840 0xc0112c70
0xc0117fff sys_wait4+0x37f (0xffffffff, 0xbffffa00, 0x0, 0x0, 0x0)
kernel .text 0xc0100000 0xc0117c80 0xc0118030
0xc0108f77 system_call+0x33
kernel .text 0xc0100000 0xc0108f44 0xc0108f7c
Enter <q> to end, <cr> to continue:
Stack traceback for pid 1582
EBP EIP Function(args)
0xcd5e1e58 0xc0112b18 schedule+0x2d8
kernel .text 0xc0100000 0xc0112840 0xc0112c70
0xc015fb13 pagebuf_iorequest+0x103 (0xced50380)
kernel .text 0xc0100000 0xc015fa10 0xc015fba0
0xc01c7c47 xfs_bdstrat_cb+0x27 (0xced50380)
kernel .text 0xc0100000 0xc01c7c20 0xc01c7c70
0xc0160763 pagebuf_delwri_flush+0xd3 (0xcf776140, 0x1, 0xcd5e1ec8)
kernel .text 0xc0100000 0xc0160690 0xc0160880
0xc01c7d2d XFS_bflush+0x1d (0xcf776140, 0x3a01)
kernel .text 0xc0100000 0xc01c7d10 0xc01c7d40
0xc01b6873 xfs_unmount+0xd3 (0xcf701400, 0x0, 0xc03b16a0)
kernel .text 0xc0100000 0xc01b67a0 0xc01b6920
0xc01c189a fs_dounmount+0x5a (0xcf701400, 0x0, 0x0, 0xc03b16a0,
0xcf776444)
kernel .text 0xc0100000 0xc01c1840 0xc01c18c0
0xc01c8d38 linvfs_put_super+0x58 (0xcf8ab800)
kernel .text 0xc0100000 0xc01c8ce0 0xc01c8db0
0xc0136867 kill_super+0x87 (0xcf8ab800, 0x0, 0xcf79e440, 0xffffffff,
0xcfb11940)
kernel .text 0xc0100000 0xc01367e0 0xc0136920
0xc0136c71 do_umount+0x1c1 (0xcf79e440, 0x0, 0x0)
kernel .text 0xc0100000 0xc0136ab0 0xc0136c80
more>
0xc0136d46 sys_umount+0xc6 (0x8052428, 0x0)
kernel .text 0xc0100000 0xc0136c80 0xc0136d80
0xc0136d8c sys_oldumount+0xc (0x8052428, 0x804ee27, 0x8052468,
0x8052429, 0x804ee20)
kernel .text 0xc0100000 0xc0136d80 0xc0136d90
0xc0108f77 system_call+0x33
kernel .text 0xc0100000 0xc0108f44 0xc0108f7c
Enter <q> to end, <cr> to continue:
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 kupdate
0xc1580000 00000007 00000001 0 000 stop 0xc1580260 mdrecoveryd
0xc1562000 00000008 00000001 0 000 stop 0xc1562260 pagebuf_daemon
0xcdacc000 00001174 00000001 0 000 stop 0xcdacc260 rc
0xcff12000 00001561 00001174 0 000 stop 0xcff12260 S20reboot
0xcd5e0000 00001582 00001561 0 000 stop 0xcd5e0260 umount
kdb> reboot
utz
|