Skip to contentSkip to conversation

BUG 2.6.11-rc4-pa1 XFS data page fault

parisc-linux Grant Grundler 2 participants 5 messages Feb 16, 2005 – Feb 21, 2005 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Bad night. :^(

Running 2.6.11-rc4-pa0-plus (equivalent to -pa1) on a500-65 (riot). xfs ran spew for 48h but panic'd when I did a "cvs up -A" to the CVS source tree on the same file system.

This file system is a raid0 of 6 disks (3 per scsi bus). Then default "mkfs -t xfs /dev/md0".

grant

Backtrace:

[ argh...no backtrace got dumped ]

Kernel Fault: Code=15 regs=0000000032860d20 (Addr=00000027452d93e1)

YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00001000000001000000000100001111 Not tainted

r00-03  0000000000000000 0000002647c44fe0 00000000a7f9a6c0 00000000f9aa3000
r04-07  0000000000000001 0000000000242000 00000000732bcab8 0000000032860ae8
r08-11  0000000000000001 00000000732bcab8 0000000000011c1b 0000000000000010
r12-15  0000000000000001 00000000f9aa3288 00000000f9aa3150 0000000000000001
r16-19  00000000328607b8 00000000cd3bb090 0000000032860560 00000000fd694400

Press Q/q to quit, Enter to continue:

r20-23  00000000002a2a40 000000000000055c 0000000058414749 00000000cb631400
r24-27  00000027452d93e0 0000000000000001 0000000000242000 0000000000242000
r28-31  00000000cb631400 0000000032860cf0 0000000032860d20 0000000000000000
sr0-3   000000000a95f800 000000000a95f800 0000000000000000 000000000a95e800
sr4-7   0000000000000000 0000000000000000 0000000000000000 0000000000000000

IASQ: 0000000000000000 0000000000000000 IAOQ: 00000000002a1574 00000000002a1578
IIR: 0f021014 ISR: 0000000000000000 IOR: 00000027452d93e1
CPU: 0 CR30: 0000000032860000 CR31: 0000000010508000
ORIG_R28: 0000000000242000
IAOQ[0]: xfs_ialloc_read_agi+0x164/0x188 [xfs]
IAOQ[1]: xfs_ialloc_read_agi+0x168/0x188 [xfs]
RP(r2): 0xa7f9a6c0

Kernel panic - not syncing: Kernel Fault

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 4 lines · Joel Soete
Quoted 3 lines

RP(r2): 0xa7f9a6c0

Kernel panic - not syncing: Kernel Fault

Any chance to know what 0xa7f9a6c0 is (iirc calling address)?

return pointer - yes, the callers address.

Quoted 1 line

and fwiw it's different from previous panic: RP was 0xfa285480?

both look like garbage to me.

Quoted 2 lines

mmm patch-2.6.11-rc4-bk3 (including some xfs fixes) is small, could you let a try?

Sure - tomorrow. You have a URL?
(Sorry - I think you posted it once before)

thanks,
grant
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#3 lore raw
In reply to Grant Grundler
Quoted 1 line · Grant Grundler

Bad night. :^(

Yes, teh new kernels don't seem so safe. I'm not very happy to move my a500 out of 2.6.9-rc2-pa11... 'cause it "just works (tm)"

Quoted 6 lines

Running 2.6.11-rc4-pa0-plus (equivalent to -pa1) on a500-65 (riot). xfs ran spew for 48h but panic'd when I did a "cvs up -A" to the CVS source tree on the same file system.

This file system is a raid0 of 6 disks (3 per scsi bus). Then default "mkfs -t xfs /dev/md0".

The rp is not correct, but doesn't have to be until reload before function return, it can actually be used as scratch. IAOQ/IASQ is a better indicator of what the cpu was doing at the time.

Quoted 18 lines

Kernel Fault: Code=15 regs=0000000032860d20 (Addr=00000027452d93e1)

YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00001000000001000000000100001111 Not tainted

r00-03  0000000000000000 0000002647c44fe0 00000000a7f9a6c0 00000000f9aa3000
r04-07  0000000000000001 0000000000242000 00000000732bcab8 0000000032860ae8
r08-11  0000000000000001 00000000732bcab8 0000000000011c1b 0000000000000010
r12-15  0000000000000001 00000000f9aa3288 00000000f9aa3150 0000000000000001
r16-19  00000000328607b8 00000000cd3bb090 0000000032860560 00000000fd694400

Press Q/q to quit, Enter to continue:

r20-23  00000000002a2a40 000000000000055c 0000000058414749 00000000cb631400
r24-27  00000027452d93e0 0000000000000001 0000000000242000 0000000000242000
r28-31  00000000cb631400 0000000032860cf0 0000000032860d20 0000000000000000
sr0-3   000000000a95f800 000000000a95f800 0000000000000000 000000000a95e800
sr4-7   0000000000000000 0000000000000000 0000000000000000 0000000000000000
Quoted 8 lines

IASQ: 0000000000000000 0000000000000000 IAOQ: 00000000002a1574 00000000002a1578
IIR: 0f021014 ISR: 0000000000000000 IOR: 00000027452d93e1
CPU: 0 CR30: 0000000032860000 CR31: 0000000010508000
ORIG_R28: 0000000000242000
IAOQ[0]: xfs_ialloc_read_agi+0x164/0x188 [xfs]
IAOQ[1]: xfs_ialloc_read_agi+0x168/0x188 [xfs]
RP(r2): 0xa7f9a6c0

Kernel panic - not syncing: Kernel Fault

The sp is aligned, and at some nominal value. I'm not sure what IIR that works out to be, can you disassemble your kernel at that point to see the faulting instruction?

c.

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#4 lore raw
In reply to Grant Grundler
Quoted 3 lines · Grant Grundler

Running 2.6.11-rc4-pa0-plus (equivalent to -pa1) on a500-65 (riot). xfs ran spew for 48h but panic'd when I did a "cvs up -A" to the CVS source tree on the same file system.

XFS behaves better with sym2+MMIO on j6000 running a 64-bit SMP kernel. I was able to run spew several hours with no problems.
This is without the patch that Joel pointed out from the -mm tree.

This suggests there is a problem with Astro/Elroy programming where "Sprockets" firmware (for Astro based workstations) does something different than PAT PDC firmware on a500. I'm investigating.

However, did see one "WARN_ON" when I rsync (/home to /home2):

root@gggj6k:/home# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3              1783984   1522420    170940  90% /
tmpfs                  4110708         0   4110708   0% /dev/shm
/dev/sda4             15439312  13086812   1568220  90% /home
/dev/sdb3             17019904   5155384  11864520  31% /mnt
/dev/sdb4             17773568  12486340   5287228  71% /home2
root@gggj6k:/home# lsscsi
[1:0:5:0]    disk    SEAGATE  ST318203LC       0001  /dev/sda
[1:0:6:0]    disk    FUJITSU  MAJ3364MC        HP12  /dev/sdb

The rsync completed but one error showed up 4 times on the console during the second half (about) of the rsync:

Filesystem "sdb4": XFS internal error xfs_btree_check_sblock at line 342 of file fs/xfs/xfs_btree.c. Caller 0x00000000102f1b84

Backtrace:
 [<00000000101145e0>] dump_stack+0x18/0x28
 [<00000000102eceac>] xfs_error_report+0x64/0x70
 [<00000000102d7718>] xfs_btree_check_sblock+0x78/0xf8
 [<00000000102f1b84>] xfs_inobt_lookup+0x144/0x3a0
 [<00000000102f3514>] xfs_inobt_lookup_le+0x24/0x30
 [<00000000102f08f0>] xfs_dialloc+0xe90/0x12e0
 [<00000000102f6638>] xfs_ialloc+0x70/0x4e0
 [<0000000010310a10>] xfs_dir_ialloc+0xb8/0x3e8
 [<0000000010316d30>] xfs_create+0x2f0/0x810
 [<0000000010326140>] linvfs_mknod+0x1e0/0x298
 [<000000001032620c>] linvfs_create+0x14/0x20
 [<00000000101d3c04>] vfs_create+0xbc/0xf8
 [<00000000101d4a30>] open_namei+0xb58/0xc10
 [<00000000101b5b14>] filp_open+0x44/0x98
 [<00000000101b5f98>] sys_open+0x98/0x110
 [<0000000010107fac>] syscall_exit+0x0/0x14

Perhaps this is fixed in the patches; I haven't looked.

hth,
grant
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#5 lore raw
Quoted 3 lines · Grant Grundler

This suggests there is a problem with Astro/Elroy programming where "Sprockets" firmware (for Astro based workstations) does something different than PAT PDC firmware on a500.

This was not the only issue, but the first one.
Two more bits in the IOC_CTRL register were getting set on j6k (vs A500):
D4 Disable 4-byte coalescing. Apperently could
result in 12 byte transfers (4 byte-lanes not enabled on the second 8 byte transaction) that "some devices don't tolerate". Documentation doesn't list these devices.

DD Disable Distributed LMMIO coalescing.
Disables coalescing for all PIO MMIO transactions to addresses below distributed LMMIO ranges. Directed LMMIO and other GMMIO ranges may still coalesce (e.g. graphics buffers usually get a directed range).

Spew ran for an hour and managed to push 80+ GB of data to 6 disks. I'll commit this change shortly.

Then I got ambitious and ran "make clean" and XFS panic'd. I expect this is a different problem.
Same one I've seen before:

[ no backtrace :^( ]

Kernel Fault: Code=26 regs=000000006cd40c10 (Addr=00000000000000c8)

YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00001000000011001111111100001111 Not tainted

r00-03  0000000000000000 000000001026d1d0 000000000028afa8 0000000000000000
r04-07  0000000000243000 0000000000000000 0000000000000000 00000000fff00800
r08-11  00000000156b60b8 0000000000000000 0000000000000008 0000000000000000
r12-15  0000000000000008 0000000000000000 0000000000000000 000000006cd40768
r16-19  0008000000000001 0000000000000000 0000000000000022 0000000000000000
r20-23  0000000000000000 0000000000000000 00000000fdfafbf8 0000000000000000
r24-27  0000000000000000 0000000000000000 00000000fdfafb38 00000000105424c0
r28-31  00000000fdfafb38 000000006cd40c70 000000006cd40c10 00000000a0000000
sr0-3   000000000044d000 0000000000000000 0000000000000000 000000000044f000
sr4-7   0000000000000000 0000000000000000 0000000000000000 0000000000000000

IASQ: 0000000000000000 0000000000000000 IAOQ: 000000000028afc0 000000000028afdc

Press Q/q to quit, Enter to continue:
IIR: 50d30190 ISR: 0000000000000000 IOR: 00000000000000c8
CPU: 0 CR30: 000000006cd40000 CR31: 000000001050c000
ORIG_R28: 00000000fda4fa80
IAOQ[0]: xfs_btree_init_cursor+0x70/0x1b8 [xfs]
IAOQ[1]: xfs_btree_init_cursor+0x8c/0x1b8 [xfs]
RP(r2): xfs_btree_init_cursor+0x58/0x1b8 [xfs]

Kernel panic - not syncing: Kernel Fault

hth,
grant
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux