[kernel] bug#30: sys_pread+38 DPF's on 64-bit kernel


None


X-PA-RISC Linux-PR-Message: report 30
X-PA-RISC Linux-PR-Package: kernel
X-Loop: daniel_frazier@hp.com
Received: via spool by bugs@bugs.parisc-linux.org id=B.98150700913356
          (code B ref -1); Wed, 07 Feb 2001 01:03:02 GMT
Date: Tue, 6 Feb 2001 16:52:34 -0800 (PST)
From: Grant Grundler <grundler@cup.hp.com>
Message-Id: <200102070052.QAA04563@milano.cup.hp.com>
To: submit@bugs.parisc-linux.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Package: kernel
Version: 2.4.0

Built the pciuctils package and tried to run lspci.
Crashes in sys_pread() on 64-bit and works on 32-bit.
This is very reproducible on the current (2001.02.06) head
plus Matthew's patch to include/asm-parisc/mmu_context.h
for init_new_context().


gggA500:/new_debs# lspci                                                        
                                                                                
Dumping Stack from 00000000ce2e0000 to 00000000ce2e0c00:                        
0000 00000000 00000000 00000000 00000000 00000000 00000001 00000000 c0308cc0    
0020 00000000 00000001 00000000 00000000 ffffffff 00000000 00000000 00000007    
0040 00000000 00000000 00000000 00000000 00000000 cfc62880 00000000 00000000    
0060 ffffffff ffffffff 00000000 c0308a08 00000000 cf8cc068 00000000 00131c7b    
0080 00000000 c03a8000 00000000 cf438000 00000000 cfc62880 00000000 c0306000    
00a0 00000000 00000012 00000000 00000000 00000000 00800000 c0000000 00000159    
00c0 00000159 00000000 0000007a 00000159 00000000 00000000 00000000 cfb40000    
00e0 00000000 cfb40000 00000000 00000000 00000000 00000000 00000000 00000000    
0100 00000000 ce2e0100 00000000 ce2e0100 00000000 00000000 00000000 c03d7d28    
0120 00000000 00000000 00000000 ce2e0128 00000000 ce2e0128 00000000 00000000    
0140 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000    
0160 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000    
0180 00000000 00000000 00000000 0000580c 00000000 ce2e0000 00000000 c0331d40    
01a0 00000000 00000003 00000000 00000000 00000000 00131c79 00000000 00000009    
01c0 00000000 000005da 00000000 0000000f 00000000 00000082 00000000 00000000    
01e0 00000000 00000000 00000000 00000000 00000000 00000000 80000000 00000000    
0200 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001    
0220 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000    
0240 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000    
0260 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000    
0280 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000    
02a0 fffffeff 00000000 fffffeff 00000000 00000000 c030a358 ffffffff ffffffff    
02c0 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff    
02e0 ffffffff ffffffff 00000000 00800000 00000000 05000000 00000000 00000000    
0300 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 00000000 00001000    
0320 00000000 00001000 00000000 00000400 00000000 00000400 ffffffff ffffffff    
0340 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff    
0360 ffffffff ffffffff 00006c73 70636900 72000000 00000000 00000000 00000000    
0380 00000000 cfae6000 00000000 00000000 00000000 00000000 00000000 00000000    
03a0 00000000 00000000 00000000 0000a3a8 00000000 000072bf 00000000 00000040    
03c0 00000000 0000b07c 00000000 00000000 00000000 0000b9b0 00000000 0000a3a8    
03e0 00000000 0000a7a2 00000000 0008a810 00000000 00094f50 00000000 00094910    
0400 00000000 00000000 00000000 00000000 00000000 00094f10 00000000 00000000    
0420 00000000 00000000 00000000 00000001 00000000 0000b71b 00000000 40149908    
0440 00000000 0000006c 00000000 400ea264 00000000 00000000 00000000 00000000    
0460 00000000 00000040 00000000 0000b07c 00000000 00000003 00000000 0000a3a8    
0480 00000000 00000003 00000000 0000b068 00000000 bb000500 00000000 400ea28f    
04a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000    
04c0 00000000 00000000 00000000 c034abc0 00000000 cfc71080 00000000 c034abc0    
04e0 00000000 00000802 00000000 00000060 00000000 c03d7140 00000000 c035d944    
0500 00000000 0804000a 00000000 00000001 00000000 c0169cf4 00000000 cfff0000    
0520 00000000 c0311a00 00000000 cfc71080 00000000 cfff0000 00000000 00000000    
0540 00000000 c034abc0 00000000 c03110c0 cccccccd 00040000 00000000 00000000    
0560 00000010 00000004 3fe00000 00000000 412e8480 00000000 00000000 00000001    
0580 00000000 00000010 00000000 00000001 00000000 c0146ee4 00000000 c03cfcb8    
05a0 00000000 0000d100 00000000 0000d100 00000000 00000000 00000000 0000d100    
05c0 00000000 0000d100 00000000 0000d100 00000000 0000d100 00000000 0000d100    
05e0 00000000 0000d100 00000000 0000d100 00000000 400ea267 00000000 400ea26b    
0600 00000000 00000000 00000000 c03a8d70 00000000 c011a238 03000000 00802004    
0620 00000000 ce2e0000 00000000 00000003 00000000 ce2e1250 00000000 c01044fc    
0640 00000000 00000016 00000000 43ffff80 00000000 1024003e 00000000 3980b064    
0660 00000000 c03b0840 00000000 0000003c 00000000 c03b0840 00000000 c03b0840    
0680 00000000 000000ff 00000000 0f8d4000 00000000 00000000 00000000 cfe3c300    
06a0 00000000 cfe37740 00000000 00000000 00000000 cf951980 00000000 00000000    
06c0 00000000 00000000 00000000 ce2e06c0 00000000 00000000 00000000 00000000    
06e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000    
0700 00000004 00000005 00000000 00000000 00000000 00000000 00000000 00000000    
0720 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000    
0740 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000    
0760 00000000 00000000 00000000 00000000 00000000 c0105c88 00000000 00000000    
0780 00000000 00000001 00000000 40145018 00000000 40034da8 00000000 40022000    
07a0 00000000 40133084 00000000 4001a380 00000000 c0105fc8 00000000 00000000    
07c0 00000000 0008a810 00000000 0000a7a2 00000000 0000a3a8 00000000 0000b9b0    
07e0 00000000 00000000 00000000 40149908 00000000 00000040 00000000 0000b9b0    
0800 00000000 0000b008 00000000 0000b070 00000000 00008000 00000000 0000a3a8    
0820 00000000 0000b9b0 00000000 00000000 00000000 0000b07c 00000000 00000040    
0840 00000000 00000000 00000000 0000b070 00000000 c034abc0 00000000 0000b070    
0860 000190f0 0001a0f0 0001a0f0 00000a48 00000000 c0126664 00001000 00000002    
0880 00000000 ce2e0780 00000000 c034abc0 00000000 cfc62380 00000000 ce2e0000    
08a0 00000000 cf5c8000 00000000 cfc62880 00000000 c0153788 00000000 bb0008d8    
08c0 00000000 0804000b ffffffff c0103000 00000000 c0105fc8 00000000 00000040    
08e0 00000000 c034abc0 00000000 00000000 ffffffff fffffff7 00000000 0000b028    
0900 00000000 00000040 00000000 0000b07c 00000000 00094f50 00000000 00094910    
0920 00000000 00000000 00000000 00000000 00000000 00094f10 00000000 00000000    
0940 00000000 00000000 00000000 00000001 00000000 0000b71b 00000000 c0154460    
0960 00000000 0000006c 00000000 400ea264 00000000 00000000 00000000 00000000    
0980 00000000 00000040 00000000 0000b07c 00000000 00000003 00000000 c034abc0    
09a0 00000000 0800000b 00000000 0000b068 00000000 ce2e0c00 00000000 400ea28f    
09c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000    
09e0 00000000 00000000 00000000 c034abc0 00000000 cfc71080 00000000 c034abc0    
0a00 00000000 00000802 00000000 00000060 00000000 c03d7140 00000000 c035d944    
0a20 00000000 0804000a 00000000 00000001 00000000 c0169cf4 00000000 cfff0000    
0a40 00000000 c0311a00 00000000 cfc71080 00000000 cfff0000 00000000 00000000    
0a60 00000000 c034abc0 00000000 c03110c0 cccccccd 00040000 00000000 00000000    
0a80 00000010 00000004 3fe00000 00000000 412e8480 00000000 00000000 00000001    
0aa0 00000000 00000010 00000000 00000001 00000000 c0146ee4 00000000 c03cfcb8    
0ac0 00000000 0000d100 00000000 0000d100 00000000 00000000 00000000 0000d100    
0ae0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000    
0b00 00000000 00000000 00000000 00000000 00000000 c0154498 00000000 c015449c    
0b20 00000000 cfb02000 00000000 00000001 00000000 c0164584 00000000 cfff0000    
0b40 00000000 00000000 00000000 ce2e08c8 ffffffff ffffffeb 00000000 c034abc0    
0b60 00000000 00000016 00000000 73b73fb1 00000000 00000000 00000000 0000b040    
0b80 00000000 00000000 00000000 00000000 00000000 cfc62880 00000000 cfad0540    
0ba0 00000000 cf8d4008 00000000 400ea267 00000000 c034abc0 00000000 cfad0540    
0bc0 00000000 ce1e7340 00000000 c034abc0 ffffffff cf2e3b40 00000000 ce2e08c8    
0be0 00000000 ce2e0ad0 00000000 00000000 00000000 c0105c88 00000000 00000000    
                                                                                
Kernel Fault: Code=15 regs=00000000ce2e08c0 (Addr=0000b040)                     
                                                                                
     YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI                                           
PSW: 00001000000001000000000000001011                                           
r0-3     0000000000000000 ffffffffc0103000 00000000c0105fc8 0000000000000040    
r4-7     00000000c034abc0 0000000000000000 fffffffffffffff7 000000000000b028    
r8-11    0000000000000040 000000000000b07c 0000000000094f50 0000000000094910    
r12-15   0000000000000000 0000000000000000 0000000000094f10 0000000000000000    
r16-19   0000000000000000 0000000000000001 000000000000b71b 00000000c0154460    
r20-23   000000000000006c 00000000400ea264 0000000000000000 0000000000000000    
r24-27   0000000000000040 000000000000b07c 0000000000000003 00000000c034abc0    
r28-31   000000000800000b 000000000000b068 00000000ce2e0c00 00000000400ea28f    
sr0-3    000000000000d100 000000000000d100 0000000000000000 000000000000d100    
sr4-7    0000000000000000 0000000000000000 0000000000000000 0000000000000000    
                                                                                
IASQ: 0000000000000000 0000000000000000 IAOQ: 00000000c0154498 00000000c015449c 
 IIR: 73b73fb1    ISR: 0000000000000000  IOR: 000000000000b040                  
ORIG_R28: 00000000ce2e08c8                                                      


IOAQ 0xc0154498 sys_pread+38
GR02 0xc0105fc8 syscall_exit+0