xfs
[Top] [All Lists]

BUG 799238 - SMP lockup between ramdisk & XFS

To: nb@xxxxxxx
Subject: BUG 799238 - SMP lockup between ramdisk & XFS
From: pv@xxxxxxxxxxxxx (dxm@xxxxxxxxxxxx)
Date: Wed, 16 Aug 2000 20:55:07 -0700 (PDT)
Cc: linux-xfs@xxxxxxxxxxx
Reply-to: sgi.bugs.xfs@xxxxxxxxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
Webexec: webpvsubmit,PvProjectIncident
Webpv: clouds.melbourne.sgi.com
View Incident: 
http://co-op.engr.sgi.com/BugWorks/code/bwxquery.cgi?search=Search&wlong=1&view_type=Bug&wi=799238

Submitter : dxm                       Submitter Domain : engr               
Assigned Engineer : nb                Assigned Domain : sgi.com             
Assigned Group : xfs-linux            Category : software                   
Customer Reported : F                 Priority : 2                          
Project : xfs-linux                   Status : open                         
Description :
OK, so this one is repeatable now, and it looks like an
interraction between the ramdisk driver and XFS.

        2 way SMP 1400 with 1Gb memory, 
        SCSI disk. 
        t-o-t kernel, kio _not_ enabled.
        
setup:

        mkfs -t xfs -f /dev/sdc5
        mount -t xfs /dev/sdc5 /mnt/scratch_0

        dd if=/dev/zero of=/dev/ram1 bs=1024 count=4
        mkfs -i 1024 /dev/ram1 4096
        mount /dev/ram1 /mnt/ram

write a "test" script:

        #!/bin/sh

        while true
        do
                echo "fish" > /mnt/ram/fish
        done

Run test in bg:

        test &

And then run some stress on the XFS partition:

        fsstress -z -f sync=1 -f creat=1 -f write=1 -n 1000000 -d 
/mnt/scratch_0 -p 1

It usually locks up for me within 30sec and drops into kdb
via the NMI magic.

Why do I care? With a R/O root, all my R/W stuff goes
to a ramdisk, including stuff from klogd etc. There seems
to be enough traffic to the ramdisk to wipe me out.

[1]kdb> cpu 0

Entering kdb (0xf4fe6000) on processor 0 due to cpu switch
[0]kdb> bt
    EBP       EIP         Function(args)
           0xc01f797a stext_lock+0x1a32
                               kernel .text.lock 0xc01f5f48 0xc01f5f48 
0xc01fbca0
0xf4fe7dac 0xc0132c1e insert_into_queues+0x5e (0xf750c180, 0xf750c180, 
0xc013314c, 0x0)
                               kernel .text 0xc0100000 0xc0132bc0 0xc0132c80
0xf4fe7dd8 0xc013335c getblk+0xa0 (0x100, 0xccf, 0x400)
                               kernel .text 0xc0100000 0xc01332bc 0xc013338c
0xf4fe7df8 0xc016da3d rd_request+0xad (0xc033c128)
                               kernel .text 0xc0100000 0xc016d990 0xc016dac0
0xf4fe7e08 0xc0164ab7 generic_unplug_device+0x2f (0xc033c128)
                               kernel .text 0xc0100000 0xc0164a88 0xc0164ac8
0xf4fe7e18 0xf89049a2 [xfs]xfs_trigger_io+0x5a
                               xfs .text 0xf888e060 0xf8904948 0xf89049b0
0xf4fe7e4c 0xf88d9086 [xfs]xlog_sync+0x2c6 (0xf5eaf8e0, 0xf5390000, 0x0)
                               xfs .text 0xf888e060 0xf88d8dc0 0xf88d92dc
0xf4fe7e80 0xf88da9e9 [xfs]xlog_state_release_iclog+0x121 (0xf5eaf8e0, 
0xf5390000)
                               xfs .text 0xf888e060 0xf88da8c8 0xf88da9f4
0xf4fe7eac 0xf88dabd5 [xfs]xlog_state_sync_all+0xf5 (0xf5eaf8e0, 0x2)
                               xfs .text 0xf888e060 0xf88daae0 0xf88dac9c
0xf4fe7ec8 0xf88d7ca7 [xfs]xfs_log_force+0x77 (0xf4699000, 0x0, 0x0, 0x2)
                               xfs .text 0xf888e060 0xf88d7c30 0xf88d7cd4
0xf4fe7f50 0xf88f122f [xfs]xfs_syncsub+0xeb (0xf4699000, 0x31, 0x0, 0x0, 
0xf4699000)
                               xfs .text 0xf888e060 0xf88f1144 0xf88f2404
0xf4fe7f70 0xf88f113b [xfs]xfs_sync+0x1b (0xf4699000, 0x31, 0xf8920f80)
                               xfs .text 0xf888e060 0xf88f1120 0xf88f1144
0xf4fe7f88 0xf8906304 [xfs]linvfs_write_super+0x24 (0xf53bde00)
                               xfs .text 0xf888e060 0xf89062e0 0xf8906310
0xf4fe7f9c 0xc0136578 sync_supers+0x6c (0x0)
                               kernel .text 0xc0100000 0xc013650c 0xc01365a0
0xf4fe7fb0 0xc0132844 fsync_dev+0x3c (0x0)
                               kernel .text 0xc0100000 0xc0132808 0xc013289c
0xf4fe7fbc 0xc01328a6 sys_sync+0xa (0x804ec68, 0xdd4176f0, 0x22be890f, 
0x4000ae60, 0xbffff984)
                               kernel .text 0xc0100000 0xc013289c 0xc01328ac
           0xc0109040 system_call+0x34
                               kernel .text 0xc0100000 0xc010900c 0xc0109044
[0]kdb> 


[0]kdb> cpu 1

Entering kdb (0xf42ca000) on processor 1 due to cpu switch
[1]kdb> bt
    EBP       EIP         Function(args)
           0xc01fa1ea stext_lock+0x42a2
                               kernel .text.lock 0xc01f5f48 0xc01f5f48 
0xc01fbca0
0xf42cbef4 0xc01aa38e sym53c8xx_intr+0x62 (0x39, 0xf7cd6000, 0xf42cbf44, 0x720, 
0xc0317f20)
                               kernel .text 0xc0100000 0xc01aa32c 0xc01aa3cc
0xf42cbf14 0xc010ab39 handle_IRQ_event+0x4d (0x39, 0xf42cbf44, 0xf7f80b00, 
0x632, 0xefd60ae0)
                               kernel .text 0xc0100000 0xc010aaec 0xc010ab68
0xf42cbf3c 0xc010ad39 do_IRQ+0x99
                               kernel .text 0xc0100000 0xc010aca0 0xc010ad8c
           0xc0109100 ret_from_intr
                               kernel .text 0xc0100000 0xc0109100 0xc0109120
Interrupt registers:
eax = 0xefd60a80 ebx = 0x00000632 ecx = 0xefdf26c0 edx = 0xefdf26c0 
esi = 0xefd60ae0 edi = 0x00000000 esp = 0xf42cbf78 eip = 0xc0132653 
ebp = 0xf42cbf98  ss = 0x00000018  cs = 0x00000010 eflags = 0x00000246 
 ds = 0xf6a60018  es = 0xf6a60018 origeax = 0xffffff39 &regs = 0xf42cbf44
           0xc0132653 sync_buffers+0x83 (0x0, 0x0)
                               kernel .text 0xc0100000 0xc01325d0 0xc01327dc
0xf42cbfb0 0xc0132819 fsync_dev+0x11 (0x0)
                               kernel .text 0xc0100000 0xc0132808 0xc013289c
0xf42cbfbc 0xc01328a6 sys_sync+0xa (0x804ec68, 0xdd4176f0, 0x22be890f, 
0x4000ae60, 0xbffff984)
                               kernel .text 0xc0100000 0xc013289c 0xc01328ac
           0xc0109040 system_call+0x34
[1]more> 
                               kernel .text 0xc0100000 0xc010900c 0xc0109044
[1]kdb> 


[1]kdb> ps
Task Addr    Pid     Parent  [*] cpu  State    Thread   Command
0xf7fb2000 00000001 00000000  0  001  stop  0xf7fb2340 init
0xf7f8c000 00000002 00000001  0  001  stop  0xf7f8c340 kswapd
0xf7f8a000 00000003 00000001  0  001  stop  0xf7f8a340 kflushd
0xf7f88000 00000004 00000001  0  001  stop  0xf7f88340 kupdate
0xf5c60000 00000350 00000001  0  000  stop  0xf5c60340 portmap
0xf6702000 00000429 00000001  0  000  stop  0xf6702340 rpciod
0xf645a000 00000430 00000001  0  000  stop  0xf645a340 lockd
0xf56fa000 00000453 00000001  0  000  stop  0xf56fa340 syslogd
0xf6806000 00000465 00000001  0  000  run   0xf6806340 klogd
0xf68c0000 00000482 00000001  0  001  stop  0xf68c0340 identd
0xf5c0e000 00000484 00000482  0  001  stop  0xf5c0e340 identd
0xf6646000 00000485 00000484  0  001  stop  0xf6646340 identd
0xf5a60000 00000486 00000484  0  001  stop  0xf5a60340 identd
0xf5e94000 00000487 00000484  0  001  stop  0xf5e94340 identd
0xf5dd6000 00000503 00000001  0  001  stop  0xf5dd6340 atd
0xf57c6000 00000520 00000001  0  000  stop  0xf57c6340 crond
0xf65f4000 00000537 00000001  0  000  stop  0xf65f4340 inetd
0xf5a56000 00000648 00000001  0  000  stop  0xf5a56340 pmcd
0xf5ea0000 00000801 00000001  0  000  stop  0xf5ea0340 pmlogger
0xf5ad2000 00000851 00000001  0  000  stop  0xf5ad2340 minilogd
0xf6986000 00000867 00000001  0  000  stop  0xf6986340 mingetty
0xf609e000 00000868 00000001  0  000  stop  0xf609e340 mingetty
[1]more> 
0xf5952000 00000869 00000001  0  000  stop  0xf5952340 mingetty
0xf574e000 00000870 00000001  0  001  stop  0xf574e340 mingetty
0xf56ca000 00000871 00000001  0  001  stop  0xf56ca340 mingetty
0xf69fc000 00000872 00000001  0  001  stop  0xf69fc340 mingetty
0xf64f8000 00000873 00000001  0  000  stop  0xf64f8340 login
0xf5eb2000 00000898 00000873  0  001  stop  0xf5eb2340 tcsh
0xf556e000 00001497 00000001  0  000  stop  0xf556e340 pagebuf_daemon
0xf55ba000 00001498 00000001  0  000  stop  0xf55ba340 page_daemon
0xf32fa000 00007853 00000898  0  000  stop  0xf32fa340 check
0xf361c000 00008084 00007853  0  000  stop  0xf361c340 sh
0xf2e70000 00008138 00008084  0  000  stop  0xf2e70340 fsstress
0xf42ca000 00008139 00008138  1  001  run   0xf42ca340*fsstress
0xf1e78000 00008140 00008138  0  001  stop  0xf1e78340 fsstress
0xe4092000 00008141 00008138  0  000  stop  0xe4092340 fsstress
0xf4044000 00008142 00008138  0  001  run   0xf4044340 fsstress
0xf4fe6000 00008143 00008138  1  000  run   0xf4fe6340 fsstress


[1]kdb> btp 8139
    EBP       EIP         Function(args)
           0xc01fa1ea stext_lock+0x42a2
                               kernel .text.lock 0xc01f5f48 0xc01f5f48 
0xc01fbca0
0xf7f80b00 0xc01aa38e sym53c8xx_intr+0x62 (0x39, 0xf7cd6000, 0xf42cbf44, 0x720, 
0xc0317f20)
                               kernel .text 0xc0100000 0xc01aa32c 0xc01aa3cc
0xf42cbf14 0xc010ab39 handle_IRQ_event+0x4d (0x39, 0xf42cbf44, 0xf7f80b00, 
0x632, 0xefd60ae0)
                               kernel .text 0xc0100000 0xc010aaec 0xc010ab68
0xf42cbf3c 0xc010ad39 do_IRQ+0x99
                               kernel .text 0xc0100000 0xc010aca0 0xc010ad8c
           0xc0109100 ret_from_intr
                               kernel .text 0xc0100000 0xc0109100 0xc0109120
Interrupt registers:
eax = 0xefd60a80 ebx = 0x00000632 ecx = 0xefdf26c0 edx = 0xefdf26c0 
esi = 0xefd60ae0 edi = 0x00000000 esp = 0xf42cbf78 eip = 0xc0132653 
ebp = 0xf42cbf98  ss = 0x00000018  cs = 0x00000010 eflags = 0x00000246 
 ds = 0xf6a60018  es = 0xf6a60018 origeax = 0xffffff39 &regs = 0xf42cbf44
           0xc0132653 sync_buffers+0x83 (0x0, 0x0)
                               kernel .text 0xc0100000 0xc01325d0 0xc01327dc
0xf42cbfb0 0xc0132819 fsync_dev+0x11 (0x0)
                               kernel .text 0xc0100000 0xc0132808 0xc013289c
0xf42cbfbc 0xc01328a6 sys_sync+0xa (0x804ec68, 0xdd4176f0, 0x22be890f, 
0x4000ae60, 0xbffff984)
                               kernel .text 0xc0100000 0xc013289c 0xc01328ac
           0xc0109040 system_call+0x34
[1]more> 
                               kernel .text 0xc0100000 0xc010900c 0xc0109044

Another run:


[0]kdb> bt
    EBP       EIP         Function(args)
           0xc01f797a stext_lock+0x1a32
                               kernel .text.lock 0xc01f5f48 0xc01f5f48 
0xc01fbca0
0xf6c7bcb4 0xc0132c1e insert_into_queues+0x5e (0xf750ba20, 0xf750ba20, 
0xc013314c, 0x0)
                               kernel .text 0xc0100000 0xc0132bc0 0xc0132c80
0xf6c7bce0 0xc013335c getblk+0xa0 (0x100, 0x969, 0x400)
                               kernel .text 0xc0100000 0xc01332bc 0xc013338c
0xf6c7bd00 0xc016da3d rd_request+0xad (0xc033c128)
                               kernel .text 0xc0100000 0xc016d990 0xc016dac0
0xf6c7bd10 0xc0164ab7 generic_unplug_device+0x2f (0xc033c128, 0xf7057060, 
0xc18e9ce4)
                               kernel .text 0xc0100000 0xc0164a88 0xc0164ac8
0xf6c7bd44 0xc0132599 __wait_on_buffer+0xa9 (0xd3e5e6e0)
                               kernel .text 0xc0100000 0xc01324f0 0xc01325d0
0xf6c7bd98 0xf8885206 [pagebuf]__pb_block_prepare_write_async+0x2ee 
(0xf7057060, 0xc18e9ce4, 0xe73, 0x1000, 0x0)
                               pagebuf .text 0xf8881060 0xf8884f18 0xf888522c
0xf6c7bde8 0xf888556b [pagebuf]__pagebuf_do_delwri+0x167 (0xf7057060, 0x7b000, 
0x0, 0x10000, 0x8053500)
                               pagebuf .text 0xf8881060 0xf8885404 0xf8885664
0xf6c7be64 0xf88857b2 [pagebuf]_pagebuf_file_write+0x14e (0xf69c4180, 
0x8053500, 0x141f5, 0xf6c7becc, 0x2)
                               pagebuf .text 0xf8881060 0xf8885664 0xf88857ec
0xf6c7bef0 0xf88859d3 [pagebuf]pagebuf_generic_file_write_Rsmp_f2244478+0x1e7 
(0xf69c4180, 0x8053500, 0x141f5, 0xf6c7bf90)
                               pagebuf .text 0xf8881060 0xf88857ec 0xf8885b80
0xf6c7bf14 0xf8900e92 [xfs]xfs_rdwr+0x72 (0xf4d9a058, 0xf69c4180, 0x8053500, 
0x141f5, 0xf6c7bf90)
                               xfs .text 0xf888e060 0xf8900e20 0xf8900ea0
0xf6c7bf60 0xf8901ff6 [xfs]xfs_write+0x19a (0xf4d9a058, 0xf69c4180, 0x8053500, 
0x141f5, 0xf6c7bf90)
                               xfs .text 0xf888e060 0xf8901e5c 0xf89020a4
0xf6c7bf98 0xf88fd030 [xfs]linvfs_write+0xec (0xf69c4180, 0x8053500, 0x141f5, 
0xf69c41a0, 0xf6c7a000)
                               xfs .text 0xf888e060 0xf88fcf44 0xf88fd05c
0xf6c7bfbc 0xc0131698 sys_write+0xa8 (0x3, 0x8053500, 0x141f5, 0x72e7be73, 
0x141f5)
                               kernel .text 0xc0100000 0xc01315f0 0xc01316b0
           0xc0109040 system_call+0x34
                               kernel .text 0xc0100000 0xc010900c 0xc0109044



[1]kdb> bt
    EBP       EIP         Function(args)
           0xc01fa4af stext_lock+0x4567
                               kernel .text.lock 0xc01f5f48 0xc01f5f48 
0xc01fbca0
0xc4a17dec 0xc01b0139 scsi_queue_next_request+0x11 (0xf7cf4798, 0x0)
                               kernel .text 0xc0100000 0xc01b0128 0xc01b0254
0xc4a17e04 0xc01abdd8 scsi_release_command+0x8c (0xf7c99600, 0x8, 0xf7c996ac)
                               kernel .text 0xc0100000 0xc01abd4c 0xc01abde4
0xc4a17e48 0xc01b052b __scsi_end_request+0x2d7 (0xf7c99600, 0x1, 0x21, 0x1)
                               kernel .text 0xc0100000 0xc01b0254 0xc01b0538
0xc4a17e88 0xc01b077c scsi_io_completion+0x160 (0xf7c99600, 0x21, 0x1)
                               kernel .text 0xc0100000 0xc01b061c 0xc01b0948
0xc4a17ea8 0xc01a2000 rw_intr+0x16c (0xf7c99600)
                               kernel .text 0xc0100000 0xc01a1e94 0xc01a200c
0xc4a17edc 0xc01b37eb scsi_old_done+0x5bb (0xf7c99600)
                               kernel .text 0xc0100000 0xc01b3230 0xc01b380c
0xc4a17ef4 0xc01aa3b1 sym53c8xx_intr+0x85 (0x39, 0xf7cd6000, 0xc4a17f44, 0x720, 
0xc0317f20)
                               kernel .text 0xc0100000 0xc01aa32c 0xc01aa3cc
0xc4a17f14 0xc010ab39 handle_IRQ_event+0x4d (0x39, 0xc4a17f44, 0xf7f80b00, 
0xd5f, 0xcb14a5c0)
                               kernel .text 0xc0100000 0xc010aaec 0xc010ab68
0xc4a17f3c 0xc010ad39 do_IRQ+0x99
                               kernel .text 0xc0100000 0xc010aca0 0xc010ad8c
           0xc0109100 ret_from_intr
                               kernel .text 0xc0100000 0xc0109100 0xc0109120
Interrupt registers:
eax = 0xcb14a620 ebx = 0x00000d5f ecx = 0xc033c128 edx = 0xf7cf6ec0 
esi = 0xcb14a5c0 edi = 0x00000000 esp = 0xc4a17f78 eip = 0xc0132636 
ebp = 0xc4a17f98  ss = 0x00000018  cs = 0x00000010 eflags = 0x00000206 
 ds = 0xc0330018  es = 0xc4a10018 origeax = 0xffffff39 &regs = 0xc4a17f44
           0xc0132636 sync_buffers+0x66 (0x0, 0x1)
                               kernel .text 0xc0100000 0xc01325d0 0xc01327dc
0xc4a17fb0 0xc0132890 fsync_dev+0x88 (0x0)
                               kernel .text 0xc0100000 0xc0132808 0xc013289c
0xc4a17fbc 0xc01328a6 sys_sync+0xa (0x804ec68, 0xad0f0221, 0x52f0fdde, 
0x4000ae60, 0xbffff984)
                               kernel .text 0xc0100000 0xc013289c 0xc01328ac
           0xc0109040 system_call+0x34
                               kernel .text 0xc0100000 0xc010900c 0xc0109044



[1]kdb> ps
Task Addr    Pid     Parent  [*] cpu  State    Thread   Command
0xf7fb2000 00000001 00000000  0  000  stop  0xf7fb2340 init
0xf7f8c000 00000002 00000001  0  001  stop  0xf7f8c340 kswapd
0xf7f8a000 00000003 00000001  0  001  stop  0xf7f8a340 kflushd
0xf7f88000 00000004 00000001  0  001  stop  0xf7f88340 kupdate
0xf5a0a000 00000350 00000001  0  000  stop  0xf5a0a340 portmap
0xf6600000 00000429 00000001  0  000  stop  0xf6600340 rpciod
0xf6604000 00000430 00000001  0  000  stop  0xf6604340 lockd
0xf5d64000 00000453 00000001  0  000  stop  0xf5d64340 syslogd
0xf649c000 00000465 00000001  0  000  run   0xf649c340 klogd
0xf67c4000 00000482 00000001  0  000  stop  0xf67c4340 identd
0xf5aa2000 00000484 00000482  0  001  stop  0xf5aa2340 identd
0xf5ae2000 00000485 00000484  0  000  stop  0xf5ae2340 identd
0xf66c0000 00000486 00000484  0  000  stop  0xf66c0340 identd
0xf5aa0000 00000487 00000484  0  000  stop  0xf5aa0340 identd
0xf6a00000 00000503 00000001  0  001  stop  0xf6a00340 atd
0xf5788000 00000520 00000001  0  000  stop  0xf5788340 crond
0xf5756000 00000537 00000001  0  001  stop  0xf5756340 inetd
0xf59d4000 00000648 00000001  0  001  stop  0xf59d4340 pmcd
0xf5e60000 00000799 00000001  0  001  stop  0xf5e60340 pmlogger
0xf60d4000 00000851 00000001  0  001  stop  0xf60d4340 minilogd
0xf7b68000 00000867 00000001  0  001  stop  0xf7b68340 mingetty
0xf5858000 00000868 00000001  0  001  stop  0xf5858340 mingetty
0xf65ae000 00000869 00000001  0  001  stop  0xf65ae340 mingetty
0xf6ade000 00000870 00000001  0  000  stop  0xf6ade340 mingetty
0xf6870000 00000871 00000001  0  000  stop  0xf6870340 mingetty
0xf6936000 00000872 00000001  0  000  stop  0xf6936340 mingetty
0xf67f4000 00000873 00000001  0  001  stop  0xf67f4340 login
0xf5658000 00000898 00000873  0  001  stop  0xf5658340 tcsh
0xf55bc000 00000981 00000001  0  001  stop  0xf55bc340 pagebuf_daemon
0xf55b2000 00000982 00000001  0  000  stop  0xf55b2340 page_daemon
0xe1f54000 00004432 00000898  0  001  stop  0xe1f54340 check
0xf2c24000 00004473 00004432  0  001  stop  0xf2c24340 sh
0xf3090000 00004603 00004473  0  000  stop  0xf3090340 fsstress
0xccb62000 00004604 00004603  0  001  run   0xccb62340 fsstress
0xc4a16000 00004605 00004603  1  001  run   0xc4a16340*fsstress
0xc59c8000 00004606 00004603  0  001  run   0xc59c8340 fsstress
0xc94f8000 00004607 00004603  0  001  run   0xc94f8340 fsstress
0xf6c7a000 00004608 00004603  1  000  run   0xf6c7a340 fsstress

And another for good luck:

root@lumpy ~/xfs# fsstress -z -f sync=1 -f creat=1 -f write=1 -n 1000000 -d 
/mnt/scratch_0 -p 2
seed = 966213390
NMI Watchdog detected LOCKUP on CPU0, registers:
CPU:    0
EIP:    0010:[<c01f7971>]
EFLAGS: 00000086
eax: f7fc0000   ebx: 00008b40   ecx: 0000db40   edx: f7ff6d00
esi: 00000010   edi: 0000000a   ebp: eb3b7d74   esp: eb3b7d64
ds: 0018   es: 0018   ss: 0018
Process test (pid: 10138, stackpage=eb3b7000)
Stack: f533a5c0 00000008 00000400 0000db40 eb3b7da0 c013335c f533a5c0 f533a5c0 
       c013314c 00000000 00000000 e9f8d420 eb3b6000 00000100 01007ddc eb3b7dc0 
       c016da3d 00000100 000008b4 00000400 00000286 e9f8d420 eb3b6000 eb3b7dd0 
Call Trace: [<c013335c>] [<c013314c>] [<c016da3d>] [<c0164ab7>] [<c0132599>] 
[<c0133b4b>] [<c0133bfe>] 
       [<c0125f26>] [<c01439bb>] [<c01240b3>] [<c0145f33>] [<c014603f>] 
[<c012fd8b>] [<c013d712>] [<c013de12>] 
       [<c0130cda>] [<c0131012>] [<c0109040>] 
Code: 80 3d 08 41 2c c0 00 f3 90 7e f5 e9 9d b2 f3 ff 50 8d 05 04 

Entering kdb (0xeb3b6000) on processor 0 due to WatchDog Interrupt @ 0xc01f7971
eax = 0xf7fc0000 ebx = 0x00008b40 ecx = 0x0000db40 edx = 0xf7ff6d00 
esi = 0x00000010 edi = 0x0000000a esp = 0xeb3b7d64 eip = 0xc01f7971 
ebp = 0xeb3b7d74  ss = 0x00000018  cs = 0x00000010 eflags = 0x00000086 
 ds = 0x00000018  es = 0x00000018 origeax = 0xf7fc0000 &regs = 0xeb3b7d30
[0]kdb> bt
    EBP       EIP         Function(args)
           0xc01f7971 stext_lock+0x1a29
                               kernel .text.lock 0xc01f5f48 0xc01f5f48 
0xc01fbca0
0xeb3b7d74 0xc0132c1e insert_into_queues+0x5e (0xf533a5c0, 0xf533a5c0, 
0xc013314c, 0x0)
                               kernel .text 0xc0100000 0xc0132bc0 0xc0132c80
0xeb3b7da0 0xc013335c getblk+0xa0 (0x100, 0x8b4, 0x400)
                               kernel .text 0xc0100000 0xc01332bc 0xc013338c
0xeb3b7dc0 0xc016da3d rd_request+0xad (0xc033c128)
                               kernel .text 0xc0100000 0xc016d990 0xc016dac0
0xeb3b7dd0 0xc0164ab7 generic_unplug_device+0x2f (0xc033c128, 0xe9f8d420, 
0xe9f8d480)
                               kernel .text 0xc0100000 0xc0164a88 0xc0164ac8
0xeb3b7e04 0xc0132599 __wait_on_buffer+0xa9 (0xe9f8d420)
                               kernel .text 0xc0100000 0xc01324f0 0xc01325d0
0xeb3b7e14 0xc0133b4b unmap_buffer+0x33 (0xe9f8d420)
                               kernel .text 0xc0100000 0xc0133b18 0xc0133b78
0xeb3b7e34 0xc0133bfe block_flushpage+0x86 (0xc1b25bf0, 0x0)
                               kernel .text 0xc0100000 0xc0133b78 0xc0133c40
0xeb3b7e64 0xc0125f26 truncate_inode_pages+0xd6 (0xeb3c4edc, 0x0, 0x0, 0x2)
                               kernel .text 0xc0100000 0xc0125e50 0xc01260c0
0xeb3b7ea8 0xc01240b3 vmtruncate+0x57 (0xeb3c4e40, 0x0, 0x0)
                               kernel .text 0xc0100000 0xc012405c 0xc0124228
0xeb3b7ec8 0xc0145f33 inode_setattr+0x37 (0xeb3c4e40, 0xeb3b7f04)
                               kernel .text 0xc0100000 0xc0145efc 0xc0145fb0
0xeb3b7eec 0xc014603f notify_change+0x8f (0xf4e747a0, 0xeb3b7f04)
                               kernel .text 0xc0100000 0xc0145fb0 0xc0146090
0xeb3b7f2c 0xc012fd8b do_truncate+0x4b (0xf4e747a0, 0x0, 0x0)
                               kernel .text 0xc0100000 0xc012fd40 0xc012fda0
0xeb3b7f60 0xc013de12 open_namei+0x472 (0xebc9f000, 0x242, 0x1b6, 0xeb3b7f84)
                               kernel .text 0xc0100000 0xc013d9a0 0xc013df54
0xeb3b7fa0 0xc0130cda filp_open+0x3a (0xebc9f000, 0x241, 0x1b6)
                               kernel .text 0xc0100000 0xc0130ca0 0xc0130cfc
0xeb3b7fbc 0xc0131012 sys_open+0x36 (0x809dff0, 0x241, 0x1b6, 0x809dff0, 
0x809d2e0)
                               kernel .text 0xc0100000 0xc0130fdc 0xc01310ac
           0xc0109040 system_call+0x34
                               kernel .text 0xc0100000 0xc010900c 0xc0109044
[0]kdb> 
[0]kdb> cpu 1

Entering kdb (0xeb344000) on processor 1 due to cpu switch
[1]kdb> bt
    EBP       EIP         Function(args)
           0xc01fa1f1 stext_lock+0x42a9
                               kernel .text.lock 0xc01f5f48 0xc01f5f48 
0xc01fbca0
0xeb345ef4 0xc01aa38e sym53c8xx_intr+0x62 (0x39, 0xf7cd6000, 0xeb345f44, 0x720, 
0xc0317f20)
                               kernel .text 0xc0100000 0xc01aa32c 0xc01aa3cc
0xeb345f14 0xc010ab39 handle_IRQ_event+0x4d (0x39, 0xeb345f44, 0xf7f80b00, 
0x42c, 0xea0f4c00)
                               kernel .text 0xc0100000 0xc010aaec 0xc010ab68
0xeb345f3c 0xc010ad39 do_IRQ+0x99
                               kernel .text 0xc0100000 0xc010aca0 0xc010ad8c
           0xc0109100 ret_from_intr
                               kernel .text 0xc0100000 0xc0109100 0xc0109120
Interrupt registers:
eax = 0xea0f4c60 ebx = 0x0000042c ecx = 0xc033c128 edx = 0xc033c138 
esi = 0xea0f4c00 edi = 0x00000000 esp = 0xeb345f78 eip = 0xc0132636 
ebp = 0xeb345f98  ss = 0x00000018  cs = 0x00000010 eflags = 0x00000206 
 ds = 0xc0330018  es = 0xeb340018 origeax = 0xffffff39 &regs = 0xeb345f44
           0xc0132636 sync_buffers+0x66 (0x0, 0x0)
                               kernel .text 0xc0100000 0xc01325d0 0xc01327dc
0xeb345fb0 0xc0132819 fsync_dev+0x11 (0x0)
                               kernel .text 0xc0100000 0xc0132808 0xc013289c
0xeb345fbc 0xc01328a6 sys_sync+0xa (0x804ec68, 0x41f349da, 0x41f349da, 
0x4000ae60, 0xbffffa74)
                               kernel .text 0xc0100000 0xc013289c 0xc01328ac
           0xc0109040 system_call+0x34
                               kernel .text 0xc0100000 0xc010900c 0xc0109044

<Prev in Thread] Current Thread [Next in Thread>
  • BUG 799238 - SMP lockup between ramdisk & XFS, dxm@xxxxxxxxxxxx <=