From None Date: None From: Subject: [kernel] bug#27: hwclock cmd hits break at boot on a500 X-PA-RISC Linux-PR-Message: report 27 X-PA-RISC Linux-PR-Package: kernel X-Loop: daniel_frazier@hp.com Received: via spool by bugs@bugs.parisc-linux.org id=B.98106096428715 (code B ref -1); Thu, 01 Feb 2001 21:03:01 GMT Date: Thu, 1 Feb 2001 12:58:22 -0800 (PST) From: Grant Grundler Message-Id: <200102012058.MAA01273@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.1 palinux-20010117.tgz XC. 2/1/2001 linux source tree. Built 64-bit kernel w/CONFIG_MODULES and CONFIG_KMOD enabled. I've seen this error on c3k (32-bit? not sure) before. A500 complains with: Setting the System Clock using the Hardware Clock as reference... break 0,0: pid=56 command='hwclock' hwclock[56]: Breakpoint 0 YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI PSW: 00001000000001001111111100001011 r0-3 0000000000000000 00000000c03a6030 0000000000000000 0000000000000000 r4-7 0000000000000000 0000000000000000 0000000000000000 0000000000000000 r8-11 0000000000000000 0000000000000000 0000000000000000 0000000000000000 r12-15 0000000000000000 0000000000000000 0000000000000000 00000000c0139200 r16-19 00000000cf8a0980 00000000cf8a0000 0000000000000077 0000000000000001 r20-23 00000000cfffb390 00000000cfffb390 0000000000000000 0000000000000000 r24-27 0000000000000000 0000000000008080 00000000000000cc 00000000c0328f00 r28-31 0000000000000000 0000000000000000 00000000cf8a0f00 0000000000000000 sr0-3 0000000000000000 0000000000000000 0000000000000000 0000000000003e00 sr4-7 0000000000000000 0000000000000000 0000000000000000 0000000000000000 IASQ: 0000000000000000 0000000000000000 IAOQ: 0000000000000000 0000000000000004 IIR: 00000000 ISR: 000000001034003f IOR: 00000000feffb3a0 ORIG_R28: 0000000000000000 From None Date: None From: Subject: [kernel] bug#27: CONFIG_MODULES is key X-PA-RISC Linux-PR-Message: report 27 X-PA-RISC Linux-PR-Package: kernel X-Loop: daniel_frazier@hp.com Received: via spool by 27-bugs@bugs.parisc-linux.org id=B27.98106203529269 (code B ref 27); Thu, 01 Feb 2001 21:18:01 GMT Date: Thu, 1 Feb 2001 13:16:09 -0800 (PST) From: Grant Grundler Message-Id: <200102012116.NAA01308@milano.cup.hp.com> To: 27@bugs.parisc-linux.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Disabled CONFIG_MODULES and CONFIG_KMOD (back to vanilla) and hwclock says: Setting the System Clock using the Hardware Clock as reference... Cannot access the Hardware Clock via any known method. Use the --debug option to see the details of our search for an access method. System Clock set. Local time: Thu Feb 1 13:06:01 PST 2001 ... But CONFIG_GENRTC=y. Looks like hwclock needs a 32-64bit ioctl wrapper. grant From None Date: None From: Subject: bug#27: [kernel] bug#27: hwclock cmd hits break at boot on a500 X-PA-RISC Linux-PR-Message: report 27 X-PA-RISC Linux-PR-Package: kernel X-Loop: daniel_frazier@hp.com Received: via spool by 27-bugs@bugs.parisc-linux.org id=B27.9813108783639 (code B ref 27); Sun, 04 Feb 2001 18:33:01 GMT Date: Sun, 4 Feb 2001 18:21:47 +0000 From: Richard Hirst To: Grant Grundler , 27@bugs.parisc-linux.org Message-ID: <20010204182147.F1374@linuxcare.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0us In-Reply-To: ; from kernel-admin@lists.parisc-linux.org on Sat, Feb 03, 2001 at 10:59:25PM +0000 This is a known feature ;-) IIRC Willy said x86 also dies if you have module support turned on but no modutils installed. See entry.S: __execve_failed: /* yes, this will trap and die. */ Kernel tries to execve /sbin/insmod. Richard On Sat, Feb 03, 2001 at 10:59:25PM +0000, kernel-admin@lists.parisc-linux.org wrote: > X-PA-RISC Linux-PR-Message: report 27 > X-PA-RISC Linux-PR-Package: kernel > X-Loop: daniel_frazier@hp.com > Received: via spool by bugs@bugs.parisc-linux.org id=B.98106096428715 > (code B ref -1); Thu, 01 Feb 2001 21:03:01 GMT > Date: Thu, 1 Feb 2001 12:58:22 -0800 (PST) > From: Grant Grundler > Message-Id: <200102012058.MAA01273@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.1 > > palinux-20010117.tgz XC. > 2/1/2001 linux source tree. > Built 64-bit kernel w/CONFIG_MODULES and CONFIG_KMOD enabled. > I've seen this error on c3k (32-bit? not sure) before. > A500 complains with: > > Setting the System Clock using the Hardware Clock as reference... > break 0,0: pid=56 command='hwclock' > hwclock[56]: Breakpoint 0 > > YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI > PSW: 00001000000001001111111100001011 > r0-3 0000000000000000 00000000c03a6030 0000000000000000 0000000000000000 > r4-7 0000000000000000 0000000000000000 0000000000000000 0000000000000000 > r8-11 0000000000000000 0000000000000000 0000000000000000 0000000000000000 > r12-15 0000000000000000 0000000000000000 0000000000000000 00000000c0139200 > r16-19 00000000cf8a0980 00000000cf8a0000 0000000000000077 0000000000000001 > r20-23 00000000cfffb390 00000000cfffb390 0000000000000000 0000000000000000 > r24-27 0000000000000000 0000000000008080 00000000000000cc 00000000c0328f00 > r28-31 0000000000000000 0000000000000000 00000000cf8a0f00 0000000000000000 > sr0-3 0000000000000000 0000000000000000 0000000000000000 0000000000003e00 > sr4-7 0000000000000000 0000000000000000 0000000000000000 0000000000000000 > > IASQ: 0000000000000000 0000000000000000 IAOQ: 0000000000000000 0000000000000004 > IIR: 00000000 ISR: 000000001034003f IOR: 00000000feffb3a0 > ORIG_R28: 0000000000000000 > > > > > _______________________________________________ > kernel mailing list > kernel@lists.parisc-linux.org > http://lists.parisc-linux.org/cgi-bin/mailman/listinfo/kernel > From None Date: None From: Subject: bug#27: [kernel] bug#27: CONFIG_MODULES is key X-PA-RISC Linux-PR-Message: report 27 X-PA-RISC Linux-PR-Package: kernel X-Loop: daniel_frazier@hp.com Received: via spool by 27-bugs@bugs.parisc-linux.org id=B27.9813109333642 (code B ref 27); Sun, 04 Feb 2001 18:33:01 GMT Date: Sun, 4 Feb 2001 18:22:59 +0000 From: Richard Hirst To: Grant Grundler , 27@bugs.parisc-linux.org Message-ID: <20010204182259.G1374@linuxcare.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0us In-Reply-To: ; from kernel-admin@lists.parisc-linux.org on Sat, Feb 03, 2001 at 10:59:28PM +0000 Are you sure you have a /dev/rtc node? Richard On Sat, Feb 03, 2001 at 10:59:28PM +0000, kernel-admin@lists.parisc-linux.org wrote: > X-PA-RISC Linux-PR-Message: report 27 > X-PA-RISC Linux-PR-Package: kernel > X-Loop: daniel_frazier@hp.com > Received: via spool by 27-bugs@bugs.parisc-linux.org id=B27.98106203529269 > (code B ref 27); Thu, 01 Feb 2001 21:18:01 GMT > Date: Thu, 1 Feb 2001 13:16:09 -0800 (PST) > From: Grant Grundler > Message-Id: <200102012116.NAA01308@milano.cup.hp.com> > To: 27@bugs.parisc-linux.org > Mime-Version: 1.0 > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > > Disabled CONFIG_MODULES and CONFIG_KMOD (back to vanilla) > and hwclock says: > > Setting the System Clock using the Hardware Clock as reference... > Cannot access the Hardware Clock via any known method. > Use the --debug option to see the details of our search for an access method. > System Clock set. Local time: Thu Feb 1 13:06:01 PST 2001 > ... > > But CONFIG_GENRTC=y. Looks like hwclock needs a 32-64bit ioctl wrapper. > > grant > > > > _______________________________________________ > kernel mailing list > kernel@lists.parisc-linux.org > http://lists.parisc-linux.org/cgi-bin/mailman/listinfo/kernel > From None Date: None From: Subject: bug#27: [kernel] bug#27: CONFIG_MODULES is key X-PA-RISC Linux-PR-Message: report 27 X-PA-RISC Linux-PR-Package: kernel X-Loop: daniel_frazier@hp.com Received: via spool by 27-bugs@bugs.parisc-linux.org id=B27.9814009565111 (code B ref 27); Mon, 05 Feb 2001 19:33:01 GMT Message-Id: <200102051925.LAA02434@milano.cup.hp.com> X-Authentication-Warning: milano.cup.hp.com: grundler@localhost [127.0.0.1] didn't use HELO protocol To: Richard Hirst Cc: 27@bugs.parisc-linux.org In-reply-to: Your message of "Sun, 04 Feb 2001 18:22:59 PST." <20010204182259.G1374@linuxcare.com> Date: Mon, 05 Feb 2001 11:24:54 -0800 From: Grant Grundler Richard Hirst wrote: > Are you sure you have a /dev/rtc node? Doh! I don't. I assumed the new NFS root would have that. Added it and A500 now says: hwclock: read() to /dev/rtc to wait for clock tick failed, errno=22: Invalid ar (sorry - minicom didn't have word wrap set) I'm going to update my .debs on that NFS root and try again. thanks! grant Grant Grundler parisc-linux {PCI|IOMMU|SMP} hacker +1.408.447.7253 From None Date: None From: Subject: [kernel] bug#29: syscall #166 sigaltstack needs 32-on-64-bit implementation X-PA-RISC Linux-PR-Message: report 29 X-PA-RISC Linux-PR-Package: kernel X-Loop: daniel_frazier@hp.com Received: via spool by bugs@bugs.parisc-linux.org id=B.9814963568795 (code B ref -1); Tue, 06 Feb 2001 22:03:01 GMT To: submit@bugs.parisc-linux.org Date: Tue, 06 Feb 2001 14:52:33 -0700 From: Paul Bame Message-Id: Package: kernel Version: 6Feb2001 From None Date: None From: Subject: [kernel] bug#30: sys_pread+38 DPF's on 64-bit kernel 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 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 From None Date: None From: Subject: bug#30: [kernel] bug#30: sys_pread+38 DPF's on 64-bit kernel 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 30-bugs@bugs.parisc-linux.org id=B30.98150967914635 (code B ref 30); Wed, 07 Feb 2001 01:48:02 GMT Date: Wed, 7 Feb 2001 01:35:09 +0000 From: Richard Hirst To: Grant Grundler , 30@bugs.parisc-linux.org Message-ID: <20010207013509.A1374@linuxcare.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0us In-Reply-To: ; from kernel-admin@lists.parisc-linux.org on Wed, Feb 07, 2001 at 01:04:38AM +0000 > 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(). > ... > IOAQ 0xc0154498 sys_pread+38 38: 73 b7 3f b1 std r23,-28(ret1) This is because I havn't committed my fixes to initialise r29 on calls to C code from syscall.S. Sorry, I'll do it tomorrow. Richard From None Date: None From: Subject: [kernel] bug#29: 64-bit sigaltstack implemented X-PA-RISC Linux-PR-Message: report 29 X-PA-RISC Linux-PR-Package: kernel X-Loop: daniel_frazier@hp.com Received: via spool by 29-bugs@bugs.parisc-linux.org id=B29.98161413421189 (code B ref 29); Thu, 08 Feb 2001 06:48:01 GMT Message-Id: From: bame@riverrock.org Errors-To: bame@riverrock.org To: 29@bugs.parisc-linux.org Date: Wed, 07 Feb 2001 23:33:45 -0700 Sender: bame@bame.riverrock.org 64-bit sigaltstack implemented From daniel_frazier@hp.com Wed, 7 Feb 2001 23:48:02 -0700 (MST) Date: Wed, 7 Feb 2001 23:48:02 -0700 (MST) From: PA-RISC Linux bug Tracking System daniel_frazier@hp.com Subject: [kernel] Processed: your mail Processing commands for control@bugs.parisc-linux.org: > close 29 bug#29: syscall #166 sigaltstack needs 32-on-64-bit implementation bug closed, send any further explanations to Paul Bame > severity 17 wishlist bug#17: palo should check for attempts to boot from unusable partitions Severity set to `wishlist'. > severity 18 wishlist bug#18: elucidate usage message Severity set to `wishlist'. > severity 19 wishlist bug#19: ABI: change struct timeval to simplify 64-bit wrappers Severity set to `wishlist'. > close 16 bug#16: timer granularity sucks bug closed, send any further explanations to Paul Bame > End of message, stopping processing here. Please contact me if you need assistance. dann frazier (administrator, PA-RISC Linux bugs database) From None Date: None From: Subject: [kernel] bug#27: hwclock cmd hits break at boot on a500 X-PA-RISC Linux-PR-Message: report 27 X-PA-RISC Linux-PR-Package: kernel X-Loop: daniel_frazier@hp.com Received: via spool by 27-bugs@bugs.parisc-linux.org id=B27.98161593321970 (code B ref 27); Thu, 08 Feb 2001 07:18:01 GMT Message-Id: From: bame@riverrock.org Errors-To: bame@riverrock.org To: 27@bugs.parisc-linux.org Date: Thu, 08 Feb 2001 00:03:11 -0700 Sender: bame@bame.riverrock.org Repairs to the CONFIG_GENRTC (drivers/char/genrtc.c) clock driver fixed the hwclock problem. A repair was also required to the settimeofday() syscall wrapper for hwclock --systohc to work properly. -P From daniel_frazier@hp.com Thu, 8 Feb 2001 00:18:02 -0700 (MST) Date: Thu, 8 Feb 2001 00:18:02 -0700 (MST) From: PA-RISC Linux bug Tracking System daniel_frazier@hp.com Subject: [kernel] Processed: your mail Processing commands for control@bugs.parisc-linux.org: > close 27 bug#27: hwclock cmd hits break at boot on a500 bug closed, send any further explanations to Grant Grundler > End of message, stopping processing here. Please contact me if you need assistance. dann frazier (administrator, PA-RISC Linux bugs database) From daniel_frazier@hp.com Thu, 8 Feb 2001 02:18:02 -0700 (MST) Date: Thu, 8 Feb 2001 02:18:02 -0700 (MST) From: PA-RISC Linux bug Tracking System daniel_frazier@hp.com Subject: [kernel] bug#30: marked as done (sys_pread+38 DPF's on 64-bit kernel) X-PA-RISC Linux-PR-Message: closed 30 Your message dated Thu, 8 Feb 2001 09:09:54 +0000 with message-id <20010208090954.S1374@linuxcare.com> and subject line [kernel] bug#30: sys_pread+38 DPF's on 64-bit kernel has caused the attached bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) dann frazier (administrator, PA-RISC Linux bugs database) -------------------------------------- Received: (at submit) by bugs.parisc-linux.org; 7 Feb 2001 00:50:09 +0000 >From grundler@cup.hp.com Tue Feb 6 17:50:09 2001 Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by dsl2.external.hp.com (Postfix) with ESMTP id C882C4A19 for ; Tue, 6 Feb 2001 17:50:08 -0700 (MST) Received: from milano.cup.hp.com (milano.cup.hp.com [15.8.80.76]) by palrel1.hp.com (Postfix) with ESMTP id F07DF68F for ; Tue, 6 Feb 2001 16:50:07 -0800 (PST) Received: (from grundler@localhost) by milano.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) id QAA04563 for submit@bugs.parisc-linux.org; Tue, 6 Feb 2001 16:52:34 -0800 (PST) Date: Tue, 6 Feb 2001 16:52:34 -0800 (PST) From: Grant Grundler Message-Id: <200102070052.QAA04563@milano.cup.hp.com> To: submit@bugs.parisc-linux.org Subject: sys_pread+38 DPF's on 64-bit kernel 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 --------------------------------------- Received: (at 30-done) by bugs.parisc-linux.org; 8 Feb 2001 09:09:29 +0000 >From rhirst@linuxcare.com Thu Feb 8 02:09:29 2001 Received: from rhirst.linuxcare.com (pc117-bre9.cable.ntl.com [213.105.88.117]) by dsl2.external.hp.com (Postfix) with ESMTP id 1CB804A19 for <30-done@bugs.parisc-linux.org>; Thu, 8 Feb 2001 02:09:29 -0700 (MST) Received: by rhirst.linuxcare.com (Postfix, from userid 501) id 27775B007; Thu, 8 Feb 2001 09:09:54 +0000 (GMT) Date: Thu, 8 Feb 2001 09:09:54 +0000 From: Richard Hirst To: 30-done@bugs.parisc-linux.org Subject: Re: [kernel] bug#30: sys_pread+38 DPF's on 64-bit kernel Message-ID: <20010208090954.S1374@linuxcare.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0us In-Reply-To: ; from kernel-admin@lists.parisc-linux.org on Wed, Feb 07, 2001 at 01:04:38AM +0000 Fixed by initialising r29 to sp-16 on syscall entry. From None Date: None From: Subject: [kernel] bug#32: pipe test program causes hang X-PA-RISC Linux-PR-Message: report 32 X-PA-RISC Linux-PR-Package: kernel X-Loop: daniel_frazier@hp.com Received: via spool by bugs@bugs.parisc-linux.org id=B.98286399022799 (code B ref -1); Thu, 22 Feb 2001 17:48:01 GMT To: submit@bugs.parisc-linux.org Date: Thu, 22 Feb 2001 10:46:27 -0700 From: Paul Bame Message-Id: Version: 21Feb2001 Package: kernel The appended test program causes the kernel to wedge (narrow and wide) though I think 'ping' still works. I tried a TOC which caught the kernel in __down_interruptible but that's not necessarily abnormal or repeatable. #include #include #define READ 0 #define WRITE 1 #define SIZE 4096 int main(int argc, char *argv[]) { int p[2]; char data[SIZE]; char rdbuf[SIZE]; int i; int pid; if (pipe(p) != 0) { perror("pipe"); return 3; } for (i = 0; i < SIZE; i++) { data[i] = rand() & 0xff; } if ((pid = fork()) < 0) { perror("fork"); return 3; } for(i = 0; i < 10000; i++) { int sendoffset = rand() % SIZE; int sendsize = rand() % (SIZE - sendoffset); int wr, rd; /* Don't bother sending 0 bytes */ if (sendoffset == SIZE - 1) continue; if (pid > 0) { wr = write(p[WRITE], data + sendoffset, sendsize); printf("%d: write(data + %d, %d) = %d\n", i, sendoffset, sendsize, wr); if (wr != sendsize) { fprintf(stderr, "write returns %d expected %d\n", wr, sendsize); if (wr < 0) perror("write"); } } else { rd = read(p[READ], rdbuf, sendsize); printf("%d: read(%d) = %d\n", i, sendsize, rd); if (rd != sendsize) { fprintf(stderr, "read returns %d expected %d\n", rd, sendsize); if (rd < 0) perror("read"); } if (memcmp(data + sendoffset, rdbuf, rd) != 0) { fprintf(stderr, "readback compare failed\n"); } } } } From None Date: None From: Subject: [kernel] bug#33: DPF in iosapic_fixup_irq() X-PA-RISC Linux-PR-Message: report 33 X-PA-RISC Linux-PR-Package: kernel X-Loop: daniel_frazier@hp.com Received: via spool by bugs@bugs.parisc-linux.org id=B.98288751426997 (code B ref -1); Fri, 23 Feb 2001 00:33:02 GMT Date: Thu, 22 Feb 2001 16:21:09 -0800 (PST) From: Grant Grundler Message-Id: <200102230021.QAA19998@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 L2000, PDC 40.48, Fully populated all add-on slots with misc PCI cards. The fact that PCI graphics cards were added complicates things since they consume lots of MMIO address space - more than we normally have for a distributed range per Elroy. "Failed to allocate resource" messages are not surprising. Data page fault at the end is due to some bug of my own in the interrupt handling code. John Marvin needs the l2k for large mem work and will remove the extra PCI cards for now. grant [ rest of output scrolled off the xterm ] ... PCI DEVICE INFORMATION Path Vendor Device Bus Slot Description (dec) Id Id # # ----------- ----- ---- ---- --- --- Ethernet cntlr 0/0/0/0 0x1011 0x19 0 1 SCSI bus cntlr 0/0/1/0 0x1000 0xb 0 1 SCSI bus cntlr 0/0/1/1 0x1000 0xb 0 1 SCSI bus cntlr 0/0/2/0 0x1000 0xf 0 1 SCSI bus cntlr 0/0/2/1 0x1000 0xf 0 1 Comp. ser cntlr 0/0/4/0 0x103c 0x1048 0 2 Comp. ser cntlr 0/0/5/0 0x103c 0x1048 0 2 3D cntlr 0/1/0/0 0x103c 0x108b 8 6 Display cntlr 0/1/1/0 0x103c 0x1005 8 5 Display cntlr 0/1/2/0 0x103c 0x1005 8 4 Display cntlr 0/1/3/0 0x103c 0x1005 8 3 Display cntlr 0/2/0/0 0x103c 0x1005 16 8 Display cntlr 0/3/0/0 0x103c 0x1005 24 10 Display cntlr 0/4/0/0 0x103c 0x1005 32 12 Display cntlr 0/5/0/0 0x103c 0x1005 40 7 Display cntlr 0/6/0/0 0x103c 0x1005 48 9 SCSI bus cntlr 0/7/0/0 0x1000 0xf 56 11 Main Menu: Enter command or menu > bo lan.15.1.50.190 Interact with IPL (Y, N, or Cancel)?> n Booting... Network Station Address 001083-ff8a59 System IP Address 15.1.53.238 Server IP Address 15.1.50.190 Boot IO Dependent Code (IODC) revision 2 HARD Booted. palo ipl grundler@hpisp747 Wed Feb 21 15:14:47 PST 2001 0/vmlinux 3436763 bytes @ 0x6800 0/palo-cmdline '0/vmlinux HOME=/ TERM=linux root=/dev/nfs nfsroot=15.1.50.190:/tftpboot/15.1.53.238 console=ttyS0' Kernel: partition 0 file /vmlinux ELF64 executable Entry 00100000 first 00100000 n 3 Segment 0 load 00100000 size 1984400 mediaptr 0x1000 Segment 1 load 002e6000 size 751856 mediaptr 0x1e6000 Segment 2 load 003a0000 size 16384 mediaptr 0x29e000 branching to kernel entry point 0x00100000 Set default PSW W bit to 1 PDC Console Initialized The 64-bit Kernel has started... FP[0] enabled: Rev 1 Model 16 Free memory starts at: 0x103ed000 start_parisc(0x64d24,0x64d24,0x0,0x0) PALO command line: 'HOME=/ TERM=linux root=/dev/nfs nfsroot=15.1.50.190:/tftpboot/15.1.53.238 console=ttyS0' PALO initrd 0-0 model 00005c40 00000491 00000000 00000002 094ade57 100000f0 00000008 000000b2 000000b2 vers 00000204 cpuid 00000229 CPUID vers 17 rev 9 model 9000/800/L2000-44 Searching for devices in PDC firmware... processor hpa 0xfffffffffffa0000 Found devices: 1. Rhapsody 440 (0) at 0xfffffffffffa0000, versions 0x5c4, 0x0, 0x4, 0x0, 0x91 2. Rhapsody 440 Memory (1) at 0xfffffffffed08000, versions 0x95, 0x0, 0x9, 0x0, 0x0 3. Astro BC Runway Port (12) at 0xfffffffffed00000, versions 0x582, 0x0, 0xb, 0x0, 0x10 4. Elroy PCI Bridge (13) at 0xfffffffffed30000, versions 0x782, 0x0, 0xa, 0x0, 0x0 5. Elroy PCI Bridge (13) at 0xfffffffffed32000, versions 0x782, 0x0, 0xa, 0x0, 0x0 6. Elroy PCI Bridge (13) at 0xfffffffffed34000, versions 0x782, 0x0, 0xa, 0x0, 0x0 7. Elroy PCI Bridge (13) at 0xfffffffffed36000, versions 0x782, 0x0, 0xa, 0x0, 0x0 8. Elroy PCI Bridge (13) at 0xfffffffffed38000, versions 0x782, 0x0, 0xa, 0x0, 0x0 9. Elroy PCI Bridge (13) at 0xfffffffffed3a000, versions 0x782, 0x0, 0xa, 0x0, 0x0 10. Elroy PCI Bridge (13) at 0xfffffffffed3c000, versions 0x782, 0x0, 0xa, 0x0, 0x0 11. Elroy PCI Bridge (13) at 0xfffffffffed3e000, versions 0x782, 0x0, 0xa, 0x0, 0x0 That's a total of 11 devices. CPU(s): 1 x PA8500 (PCX-W) at 440.000000 MHz Linux version 2.4.0 (grundler@hpisp747) (gcc version 2.97 20010128 (experimental)) #15 Thu Feb 22 12:14:26 PST 2001 free_bootmem(0x409000, 0xdfbf7000) initrd: 00000000-00000000 pagetable_init On node 0 totalpages: 917504 zone(0): 458752 pages. zone(1): 458752 pages. zone(2): 0 pages. Kernel command line: HOME=/ TERM=linux root=/dev/nfs nfsroot=15.1.50.190:/tftpboot/15.1.53.238 console=ttyS0 Calibrating delay loop... 878.18 BogoMIPS Memory: 3536740k available Dentry-cache hash table entries: 131072 (order: 9, 2097152 bytes) Buffer-cache hash table entries: 262144 (order: 9, 2097152 bytes) Page-cache hash table entries: 262144 (order: 9, 2097152 bytes) Inode-cache hash table entries: 131072 (order: 9, 2097152 bytes) POSIX conformance testing by UNIFIX lba version TR4.0 (0x5) found at 0xfffffffffed30000 LBA 0xfffffffffed30000 FID 1054103c STAT_CTL 0x0 ERROR 10/0 DMA_CTL 0x6 ARB mask 2f pri 0 mode 2 mtlt 0 lba range[2] : ignoring GMMIO (0xfffffff804000000) Scanning bus 00 Found 00:00 [1011/0019] 000200 00 Found 00:08 [1000/000b] 000100 00 Found 00:09 [1000/000b] 000100 00 Found 00:10 [1000/000f] 000100 00 Found 00:11 [1000/000f] 000100 00 Found 00:20 [103c/1048] 000700 00 Found 00:28 [103c/1048] 000700 00 Fixups for bus 00 lba_fixup_bus(0x00000000effe9480) bus 0 sysdata 0x00000000effe7000 lba_fixup_bus() LBA I/O Port [0/ffff]/100 lba_fixup_bus() LBA LMMIO [fffffffff8000000/fffffffff87fffff]/200 claimed 00:00.0 0 [0,7f]/101 claimed 00:00.0 1 [fffffffff8020000,fffffffff80203ff]/200 PCI: No parent found for region 6 of device Digital Equipment Corporation DECchip 21142/43 claimed 00:00.0 6 [fffffffffffc0000,ffffffffffffffff]/7200 claimed 00:04.0 0 [fffffffff8000000,fffffffff8000fff]/200 Bus scan for 00 returning with max=00 LBA pcibios_size_bridge() LBA pcibios_assign_unassigned_resources() PCI: dev Symbios Logic Inc. (formerly NCR) 53c896 type 64-bit PCI: dev Symbios Logic Inc. (formerly NCR) 53c896 (#2) type 64-bit PCI: dev Symbios Logic Inc. (formerly NCR) 53c896 type 64-bit PCI: dev Symbios Logic Inc. (formerly NCR) 53c896 (#2) type 64-bit LBA PIOP resource tree (0000000010300db0) 00000000effe7060 [0,ffff]/100 (00000000effe7060) 00000000effe6080 [0,7f]/101 (00000000effe7060) 00000000effe48b8 [80,bf]/101 (00000000effe7060) 00000000effe30b8 [c0,ff]/101 (00000000effe7060) 00000000effe6880 [100,1ff]/101 (00000000effe7060) 00000000effe5080 [200,2ff]/101 (00000000effe7060) 00000000effe5880 [300,3ff]/101 (00000000effe7060) 00000000effe4080 [400,4ff]/101 LBA LMMIO resource tree (0000000010300de8) 00000000effe7098 [fffffffff8000000,fffffffff87fffff]/200 (00000000effe7098) 00000000effe4880 [fffffffff8000000,fffffffff8000fff]/200 (00000000effe7098) 00000000effe58f0 [fffffffff8001000,fffffffff8001fff]/200 (00000000effe7098) 00000000effe6928 [fffffffff8002000,fffffffff8003fff]/204 (00000000effe7098) 00000000effe5128 [fffffffff8004000,fffffffff8005fff]/204 (00000000effe7098) 00000000effe40f0 [fffffffff8006000,fffffffff8006fff]/200 (00000000effe7098) 00000000effe3080 [fffffffff8007000,fffffffff8007fff]/200 (00000000effe7098) 00000000effe68b8 [fffffffff8008000,fffffffff80083ff]/204 (00000000effe7098) 00000000effe50b8 [fffffffff8009000,fffffffff80093ff]/204 (00000000effe7098) 00000000effe58b8 [fffffffff800a000,fffffffff800a0ff]/200 (00000000effe7098) 00000000effe40b8 [fffffffff800b000,fffffffff800b0ff]/200 (00000000effe7098) 00000000effe60b8 [fffffffff8020000,fffffffff80203ff]/200 (00000000effe7098) 00000000effe61d0 [fffffffff8040000,fffffffff807ffff]/7200 lba version TR4.0 (0x5) found at 0xfffffffffed32000 LBA 0xfffffffffed32000 FID 1054103c STAT_CTL 0x0 ERROR 10/0 DMA_CTL 0x6 ARB mask 1f pri 0 mode 2 mtlt 0 lba range[2] : ignoring GMMIO (0xfffffff884000000) Scanning bus 08 Found 08:00 [103c/108b] 000302 00 Found 08:08 [103c/1005] 000380 00 Found 08:10 [103c/1005] 000380 00 Found 08:18 [103c/1005] 000380 00 Fixups for bus 08 lba_fixup_bus(0x00000000effe9580) bus 8 sysdata 0x00000000effe7200 lba_fixup_bus() LBA I/O Port [10000/1ffff]/100 lba_fixup_bus() LBA LMMIO [fffffffff8800000/fffffffff8ffffff]/200 Bus scan for 08 returning with max=08 LBA pcibios_size_bridge() LBA pcibios_assign_unassigned_resources() PCI: Failed to allocate resource 0 for 08:01.0 PCI: Failed to allocate resource 0 for 08:02.0 PCI: Failed to allocate resource 0 for 08:03.0 PCI: dev PCI device 103c:108b (Hewlett-Packard Company) type 64-bit PCI: Failed to allocate resource 2 for 08:00.0 PCI: Failed to allocate resource 6 for 08:00.0 PCI: Failed to allocate resource 6 for 08:01.0 PCI: Failed to allocate resource 6 for 08:02.0 PCI: Failed to allocate resource 6 for 08:03.0 LBA PIOP resource tree (0000000010300db0) 00000000effe7260 [10000,1ffff]/100 LBA LMMIO resource tree (0000000010300de8) 00000000effe7298 [fffffffff8800000,fffffffff8ffffff]/200 (00000000effe7298) 00000000effe3880 [fffffffff8800000,fffffffff8ffffff]/120c lba version TR4.0 (0x5) found at 0xfffffffffed34000 LBA 0xfffffffffed34000 FID 1054103c STAT_CTL 0x0 ERROR 10/0 DMA_CTL 0x6 ARB mask 3 pri 0 mode 2 mtlt 0 lba range[2] : ignoring GMMIO (0xfffffff904000000) Scanning bus 10 Found 10:00 [103c/1005] 000380 00 Fixups for bus 10 lba_fixup_bus(0x00000000effe9680) bus 16 sysdata 0x00000000effe7400 lba_fixup_bus() LBA I/O Port [20000/2ffff]/100 lba_fixup_bus() LBA LMMIO [fffffffff9000000/fffffffff97fffff]/200 Bus scan for 10 returning with max=10 LBA pcibios_size_bridge() LBA pcibios_assign_unassigned_resources() PCI: Failed to allocate resource 0 for 10:00.0 LBA PIOP resource tree (0000000010300db0) 00000000effe7460 [20000,2ffff]/100 LBA LMMIO resource tree (0000000010300de8) 00000000effe7498 [fffffffff9000000,fffffffff97fffff]/200 (00000000effe7498) 00000000effe09d0 [fffffffff9000000,fffffffff900ffff]/7200 lba version TR4.0 (0x5) found at 0xfffffffffed36000 LBA 0xfffffffffed36000 FID 1054103c STAT_CTL 0x0 ERROR 10/0 DMA_CTL 0x6 ARB mask 3 pri 0 mode 2 mtlt 0 lba range[2] : ignoring GMMIO (0xfffffff984000000) Scanning bus 18 Found 18:00 [103c/1005] 000380 00 Fixups for bus 18 lba_fixup_bus(0x00000000effe9780) bus 24 sysdata 0x00000000effe7600 lba_fixup_bus() LBA I/O Port [30000/3ffff]/100 lba_fixup_bus() LBA LMMIO [fffffffff9800000/fffffffff9ffffff]/200 Bus scan for 18 returning with max=18 LBA pcibios_size_bridge() LBA pcibios_assign_unassigned_resources() PCI: Failed to allocate resource 6 for 18:00.0 LBA PIOP resource tree (0000000010300db0) 00000000effe7660 [30000,3ffff]/100 LBA LMMIO resource tree (0000000010300de8) 00000000effe7698 [fffffffff9800000,fffffffff9ffffff]/200 (00000000effe7698) 00000000effdc080 [fffffffff9800000,fffffffff9ffffff]/200 lba version TR4.0 (0x5) found at 0xfffffffffed38000 LBA 0xfffffffffed38000 FID 1054103c STAT_CTL 0x0 ERROR 10/0 DMA_CTL 0x6 ARB mask 3 pri 0 mode 2 mtlt 0 lba range[2] : ignoring GMMIO (0xfffffffa04000000) Scanning bus 20 Found 20:00 [103c/1005] 000380 00 Fixups for bus 20 lba_fixup_bus(0x00000000effe9880) bus 32 sysdata 0x00000000effe7800 lba_fixup_bus() LBA I/O Port [40000/4ffff]/100 lba_fixup_bus() LBA LMMIO [fffffffffa000000/fffffffffa7fffff]/200 Bus scan for 20 returning with max=20 LBA pcibios_size_bridge() LBA pcibios_assign_unassigned_resources() PCI: Failed to allocate resource 0 for 20:00.0 LBA PIOP resource tree (0000000010300db0) 00000000effe7860 [40000,4ffff]/100 LBA LMMIO resource tree (0000000010300de8) 00000000effe7898 [fffffffffa000000,fffffffffa7fffff]/200 (00000000effe7898) 00000000effdc9d0 [fffffffffa000000,fffffffffa00ffff]/7200 lba version TR4.0 (0x5) found at 0xfffffffffed3a000 LBA 0xfffffffffed3a000 FID 1054103c STAT_CTL 0x0 ERROR 10/0 DMA_CTL 0x6 ARB mask 3 pri 0 mode 2 mtlt 0 lba range[2] : ignoring GMMIO (0xfffffffa84000000) Scanning bus 28 Found 28:00 [103c/1005] 000380 00 Fixups for bus 28 lba_fixup_bus(0x00000000effe9980) bus 40 sysdata 0x00000000effe7a00 lba_fixup_bus() LBA I/O Port [50000/5ffff]/100 lba_fixup_bus() LBA LMMIO [fffffffffa800000/fffffffffaffffff]/200 Bus scan for 28 returning with max=28 LBA pcibios_size_bridge() LBA pcibios_assign_unassigned_resources() PCI: Failed to allocate resource 0 for 28:00.0 LBA PIOP resource tree (0000000010300db0) 00000000effe7a60 [50000,5ffff]/100 LBA LMMIO resource tree (0000000010300de8) 00000000effe7a98 [fffffffffa800000,fffffffffaffffff]/200 (00000000effe7a98) 00000000effd91d0 [fffffffffa800000,fffffffffa80ffff]/7200 lba version TR4.0 (0x5) found at 0xfffffffffed3c000 LBA 0xfffffffffed3c000 FID 1054103c STAT_CTL 0x0 ERROR 10/0 DMA_CTL 0x6 ARB mask 3 pri 0 mode 2 mtlt 0 lba range[2] : ignoring GMMIO (0xfffffffb04000000) Scanning bus 30 Found 30:00 [103c/1005] 000380 00 Fixups for bus 30 lba_fixup_bus(0x00000000effe9a80) bus 48 sysdata 0x00000000effe7c00 lba_fixup_bus() LBA I/O Port [60000/6ffff]/100 lba_fixup_bus() LBA LMMIO [fffffffffb000000/fffffffffb7fffff]/200 Bus scan for 30 returning with max=30 LBA pcibios_size_bridge() LBA pcibios_assign_unassigned_resources() PCI: Failed to allocate resource 0 for 30:00.0 LBA PIOP resource tree (0000000010300db0) 00000000effe7c60 [60000,6ffff]/100 LBA LMMIO resource tree (0000000010300de8) 00000000effe7c98 [fffffffffb000000,fffffffffb7fffff]/200 (00000000effe7c98) 00000000effd99d0 [fffffffffb000000,fffffffffb00ffff]/7200 lba version TR4.0 (0x5) found at 0xfffffffffed3e000 LBA 0xfffffffffed3e000 FID 1054103c STAT_CTL 0x0 ERROR 10/0 DMA_CTL 0x6 ARB mask 3 pri 0 mode 2 mtlt 0 lba range[2] : ignoring GMMIO (0xfffffffb84000000) Scanning bus 38 Found 38:00 [1000/000f] 000100 00 Fixups for bus 38 lba_fixup_bus(0x00000000effe9b80) bus 56 sysdata 0x00000000effe7e00 lba_fixup_bus() LBA I/O Port [70000/7ffff]/100 lba_fixup_bus() LBA LMMIO [fffffffffb800000/fffffffffbffffff]/200 Dumping Stack from 00000000efff0000 to 00000000efff1840: 0000 00000000 00000000 00000000 00000040 00000000 00000000 00000000 10300cc0 0020 00000000 00000001 00000000 00000000 ffffffff 00000000 00000000 00000000 0040 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0060 ffffffff ffffffff 00000000 10300a08 00000000 10300a08 00000000 00000000 0080 00000000 103a0000 00000000 103a0000 00000000 10309a00 00000000 00000000 00a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001 00c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 103a0000 00e0 00000000 103a0000 00000000 00000000 00000000 00000000 00000000 00000000 0100 00000000 103a0100 00000000 103a0100 00000000 00000000 00000000 103cf270 0120 00000000 00000000 00000000 efff0128 00000000 efff0128 00000000 00000000 0140 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0160 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0180 00000000 00000000 00000000 00000000 00000000 efff0000 00000000 10329d20 01a0 00000000 00000067 00000000 00000000 00000000 000002b2 00000000 00000000 01c0 00000000 00000319 00000000 00000000 00000000 00000000 00000000 00000000 01e0 00000000 00000000 00000000 00000000 00000000 00000000 80000000 00000000 0200 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 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 ffffffff 00000000 00000000 10302358 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 0000e000 0320 00000000 0000e000 00000000 00000400 00000000 00000400 ffffffff ffffffff 0340 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 0360 ffffffff ffffffff 00007377 61707065 72000000 00000000 00000000 00000000 0380 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 03a0 00000000 10342be0 00000000 10342be0 00000000 10342be0 00000000 00000078 03c0 00000000 00000000 00000000 000000fa 00000000 102c5774 00000000 102b7144 03e0 00000000 efffd7c0 00000000 00200000 00000000 00008800 00000000 00000000 0400 00000000 ef600000 00000000 00000036 00000000 1012b75c 00000000 10342be0 0420 00000000 00000000 00000000 000000ff 00000000 0800000f 00000000 00000024 0440 00000000 0000003c 00000000 0000003e 00000000 10342be0 00000000 00000001 0460 00000000 103aafa7 00000000 00000000 00000000 101003f0 00000000 00000023 0480 00000000 00000000 00000000 00000024 00000000 0800000f 00000000 000000ff 04a0 000000f0 f00003dc 000000f0 f000028c 000000f0 f0002b14 ffffffff ffffffff 04c0 ffffffff f8000006 ffffffff f8000005 00000000 00000000 00000000 00000060 04e0 00000000 00000060 00000000 003a4000 00000000 003aa840 00000000 10342be0 0500 00000000 00000000 00000000 103a0cb0 00000000 103a0e40 02040000 00802004 0520 ffd00fbf 5d42c899 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 0540 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 0560 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 0580 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 05a0 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 05c0 ffffffff ffffffff ffffffff ffffffff 00000000 00000400 00000000 00000100 05e0 00000000 00000000 00000000 00000300 ffffffff ffffffff ffffffff ffffffff 0600 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 0620 00000000 00000000 00000000 00000000 00000000 efff07c0 00000000 10104440 0640 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0660 00000000 00000000 00000000 00000000 00000000 1012b740 00000000 1012b744 0680 00000000 000000ff 00000000 0030a000 00000000 10309080 00000000 103090c0 06a0 00000000 00000000 00000000 103093f0 00000000 00000000 00000000 00000000 06c0 00000000 efff06b8 00000000 00000000 00000000 00000000 00000000 00000000 06e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0700 00000000 00000000 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 00000000 00000000 00000000 0780 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 07a0 00000000 00000000 00000000 00000000 00000000 1010445c 00000000 00000000 07c0 00000000 10342be0 00000000 103a0a40 00000000 00000000 00000000 00000000 07e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0800 00000000 103a0a40 00000000 00000000 00000000 00000000 00000000 00000000 0820 00000000 00000000 00000000 00000000 00000000 1010040c 00000000 00000000 0840 00000000 00000000 00000000 00000000 00000000 00000000 00000000 10309a00 0860 00000000 103a0000 00000000 10342be0 00000000 103a0a40 00000000 00000000 0880 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 08a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 08c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 08e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0900 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0920 00000000 00000000 00000000 00000000 00000000 10354c2c 00000000 00000000 0940 00000000 103a0a40 00000000 00000000 00000000 00000000 00000000 00000000 0960 00000000 00000000 00000000 00000000 00000000 00000000 00000000 efffc180 0980 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 09a0 00000000 00000000 00000000 00000000 00000000 1036ce60 00000000 00000000 09c0 00000000 10342be0 00000000 102dc9cc 00000000 10309a00 00000000 10309a00 09e0 00000000 10342be0 00000000 10342be0 00000000 10342be0 00000000 10342be0 0a00 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0a20 00000000 00000000 00000000 00000000 00000000 10356944 00000000 00000000 0a40 00000000 efff0000 00000000 10309a00 00000000 10342be0 00000000 10342be0 0a60 00000000 10342be0 00000000 00000000 00000000 00000000 00000000 00000000 0a80 00000000 efffd8c0 00000000 00000000 00000000 00000000 00000000 00000000 0aa0 00000000 00000000 00000000 00000000 00000000 10356e50 00000000 00000000 0ac0 00000000 efff0000 00000000 0000002f 00000000 00000000 00000000 00000000 0ae0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0b00 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0b20 00000000 00000000 00000000 00000000 00000000 1010c890 00000000 00000000 0b40 00000000 00000001 00000000 0000000a 00000000 10342be0 00000000 103003c8 0b60 00000000 103a6c48 00000000 00000000 00000000 00000000 00000000 00000000 0b80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0ba0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0bc0 00000000 00000000 00000000 efff0000 00000000 10342be0 00000000 103aaab8 0be0 00000000 10342be0 00000000 10342be0 00000000 102c0894 00000000 102c05d8 0c00 00000000 102c088c 00000000 00000005 ffffffff fed3e000 00000000 00000007 0c20 00000000 0000000a 00000000 00000005 00000000 10356b08 00000000 00000000 0c40 00000000 00000005 00000000 efff9940 00000000 10342be0 00000000 effe7e00 0c60 00ffffff ffff0007 00000000 00000000 00000000 00000004 80000000 00000000 0c80 00000000 00000038 00000000 0000003f 80000000 00000001 ffffffff fb800000 0ca0 ffffffff fbffffff 80000000 00000002 00000000 1036b528 fffffffb ffffffff 0cc0 00000000 effe7e00 00000000 00000000 00000000 00000000 00000000 00000000 0ce0 00000000 00000000 00000000 effe9b80 00000000 00000000 00000000 effe7e00 0d00 00000000 00000000 00000100 00000000 00000000 00000000 00000000 00000000 0d20 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0d40 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0d60 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0d80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0da0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0dc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0de0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0e00 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0e20 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0e40 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0e60 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0e80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0ea0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0ec0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0ee0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0f00 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0f20 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0f40 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0f60 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0f80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0fa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0fc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0fe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1040 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1080 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 10a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 10c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 10e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1100 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1120 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1140 00000000 00000000 00000000 10342be0 00000000 103a6c48 00000000 10300538 1160 00000000 10342be0 00000000 effe7e00 00000000 effe9b80 00000000 00000012 1180 00000000 103aaf96 00000000 00000000 00000000 effe7c98 00000000 003a4080 11a0 00000000 00000002 00000000 00000000 00000000 101054d0 02040000 00802004 11c0 00000000 0000003c 00000000 0000003e 00000000 10342be0 00000000 00000001 11e0 00000000 103aafcd 00000000 103aaf83 00000000 102d9620 00000000 00000038 1200 00000000 efff1248 00000000 efff0cc8 00000000 effe9b80 00000000 00000005 1220 00000000 00000100 00000000 00000100 00000000 1036b2e8 00000000 0000006c 1240 00000000 effe9b80 00000000 00000100 00000000 000000f2 00000000 10355904 1260 00000000 0804000e 00000000 00000002 00000000 effe9ba8 00000000 10342be0 1280 00000000 00000038 00000000 00000000 00000000 effe9b80 00000000 00000100 12a0 ffffffff ffffffff ffffffff ffffffff 00000000 1011bb7c ffffffff ffffffff 12c0 00000000 00000000 02000000 10342be0 00000000 00000001 00000000 0804000e 12e0 00000000 00000002 00000000 effe9ba8 00000000 10342be0 00000000 00000038 1300 00000000 00000000 00000000 effe9b80 00000000 10342be0 00000000 103a8840 1320 00000000 000000ff 00000000 103a8840 00000000 1012b75c 00000000 efff11b0 1340 00000000 00000000 00000000 000000ff 00000000 0800000f 00000000 00000012 1360 00000000 0000003c 00000000 0000003e 00000000 102c066c 00000000 102c0724 1380 ffffffff fb800000 ffffffff fbffffff 00000000 00000200 ffffffff f8000005 13a0 00000000 00000000 00000000 00000000 00000000 1011d660 00000000 000000ff 13c0 00000000 effe9b80 00000000 10342be0 00000000 effe7e00 00000000 effd6010 13e0 00000000 effd6000 00000000 10342be0 00000000 effe7e00 00000000 effd6010 1400 00000000 effd6000 00000000 effe7e00 00000000 effe7e60 00000000 10342be0 1420 00000000 00000000 00000000 efff1530 00000000 efff16c0 02040000 00802004 1440 ffd00fbf 5d42c899 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 1460 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 00000000 102c068c 1480 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 14a0 ffffffff ffffffff ffffffff ffffffff 00000000 1011e808 ffffffff ffffffff 14c0 000000ff 0804fe0f 00000000 10346be0 00000000 1011e808 00000000 effd8400 14e0 00000000 10342be0 00000000 00000000 00000000 efff9940 00000000 effd6000 1500 00000000 effe9ba8 00000000 00000200 00000000 00000604 00000000 10355904 1520 00000000 000000f2 00000000 000000fa 00000000 000000f0 00000000 000000ff 1540 000000f0 f00003dc 000000f0 f000028c 000000f0 f0002b14 00000000 00000000 1560 ffffffff fed3e840 00000000 00000000 00000000 10342be0 00000000 10346be0 1580 00000000 000000a5 00000000 00000009 00000000 103ce550 00000000 10342be0 15a0 00000000 00000000 00000000 efff1630 00000000 efff1840 00000000 00000000 15c0 ffd00fbf 5d42c899 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 15e0 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 1600 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 1620 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 1640 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 1660 ffffffff ffffffff ffffffff ffffffff 00000000 000001b0 00000000 00000030 1680 00000000 00000000 00000000 00000300 ffffffff ffffffff ffffffff ffffffff 16a0 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 16c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 16e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1700 00000000 00000000 00000000 00000000 00000000 1011e834 00000000 1011e838 1720 00000000 000000ff 00000000 103a8840 00000000 efff15a8 00000000 efff15b0 1740 00000000 00000000 00000004 00000005 00000000 efff16b0 00000000 10342be0 1760 00000000 00000009 00000000 4a7c0068 00000000 00000000 00000000 00000034 1780 00000000 efff15ca 00000000 102e470a ffffffff ffffffff 00000000 103aafc1 17a0 00000000 00000002 00000000 102e4708 ffffffff ffffffff ffffffff ffffffff 17c0 00000000 00000000 00000000 10342be0 00000000 00000001 00000000 00000040 17e0 ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000000 00000000 1800 00000000 00000000 00000000 00000300 ffffffff ffffffff ffffffff ffffffff 1820 ffffffff ffffffff ffffffff ffffffff 00000000 10105718 ffffffff ffffffff Kernel Fault: Code=26 regs=00000000efff14c0 (Addr=00000034) YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI PSW: 00001000000001001111111000001111 r0-3 0000000000000000 0000000010346be0 000000001011e808 00000000effd8400 r4-7 0000000010342be0 0000000000000000 00000000efff9940 00000000effd6000 r8-11 00000000effe9ba8 0000000000000200 0000000000000604 0000000010355904 r12-15 00000000000000f2 00000000000000fa 00000000000000f0 00000000000000ff r16-19 000000f0f00003dc 000000f0f000028c 000000f0f0002b14 0000000000000000 r20-23 fffffffffed3e840 0000000000000000 0000000010342be0 0000000010346be0 r24-27 00000000000000a5 0000000000000009 00000000103ce550 0000000010342be0 r28-31 0000000000000000 00000000efff1630 00000000efff1840 0000000000000000 sr0-3 0000000000000000 0000000000000000 0000000000000000 0000000000000000 sr4-7 0000000000000000 0000000000000000 0000000000000000 0000000000000000 IASQ: 0000000000000000 0000000000000000 IAOQ: 000000001011e834 000000001011e838 IIR: 4a7c0068 ISR: 0000000000000000 IOR: 0000000000000034 ORIG_R28: 0000000400000005 IOAQ 0x1011e834 iosapic_fixup_irq+fc GR02 0x1011e808 iosapic_fixup_irq+d0 IIR: LDW 52(r19),r28 1011e7dc: 34 18 00 00 ldi 0,r24 1011e7e0: 08 04 02 5b copy r4,dp 1011e7e4: 48 7a 00 38 ldw 1c(r3),r26 1011e7e8: 2b 61 10 00 addil 2800,dp,%r1 1011e7ec: 70 7c 00 50 std ret0,28(r3) 1011e7f0: 50 21 04 a0 ldd 250(r1),r1 1011e7f4: 08 03 02 56 copy r3,r22 1011e7f8: 34 77 00 64 ldo 32(r3),r23 1011e7fc: 37 dd 3f e1 ldo -10(sp),ret1 1011e800: eb f5 b6 15 b,l 1010a310 ,%r2 1011e804: 0c 20 10 d9 ldd 0(sr0,r1),r25 1011e808: 0c d0 10 d4 ldd 8(sr0,r6),r20 1011e80c: 40 73 00 62 ldb 31(r3),r19 1011e810: 08 04 02 5b copy r4,dp 1011e814: 36 94 00 80 ldo 40(r20),r20 1011e818: da 73 0b e0 extrd,u r19,63,32,r19 1011e81c: d2 73 09 f5 shrpw r19,r19,16,r21 1011e820: d6 b5 0e 18 depw r21,15,8,r21 1011e824: d2 b3 0a f3 shrpw r19,r21,8,r19 1011e828: 68 73 00 30 stw r19,18(r3) 1011e82c: 70 74 00 20 std r20,10(r3) 1011e830: 50 d3 00 20 ldd 10(r6),r19 1011e834: 4a 7c 00 68 ldw 34(r19),ret0 <- Kernel Fault 1011e838: 08 bc 0a 3c add,l ret0,r5,ret0 1011e83c: 68 fc 00 f8 stw ret0,7c(r7) 1011e840: db 9c 0f e0 extrd,s ret0,63,32,ret0 1011e844: 53 c2 3d e1 ldd -110(sp),rp 1011e848: 53 c6 3e 11 ldd -f8(sp),r6 1011e84c: 53 c5 3e 21 ldd -f0(sp),r5 1011e850: 53 c4 3e 31 ldd -e8(sp),r4 1011e854: 53 c3 3e 41 ldd -e0(sp),r3 1011e858: e8 40 d0 00 ret ldw 34(r19) is trying to read isi->isi_region->data.irqbase. isi->isi_region seems to be a NULL ptr. *sigh*. Enabling DEBUG_IOSAPIC (and thus ASSERT) changes the location where the code data page faults. Kernel Fault: Code=26 regs=00000000efff14c0 (Addr=00000034) YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI PSW: 00001000000001001111111000001111 r0-3 0000000000000000 0000000010338bc0 000000001011ddc8 00000000effd8400 r4-7 0000000010338bc0 0000000000000000 00000000efff9940 00000000effd6000 r8-11 00000000effe9ba8 0000000000000000 0000000000000200 0000000000000604 r12-15 00000000000000f2 00000000000000fa 00000000000000f0 00000000000000ff r16-19 000000f0f00003dc 000000f0f000028c 000000f0f0002b14 0000000000000000 r20-23 fffffffffed3e840 0000000000000000 0000000010338bc0 000000001033cbc0 r24-27 00000000000000a5 0000000000000009 00000000103c6548 0000000010338bc0 r28-31 0000000000000000 00000000efff1630 00000000efff1840 000000000000008b sr0-3 0000000000000000 0000000000000000 0000000000000000 0000000000000000 sr4-7 0000000000000000 0000000000000000 0000000000000000 0000000000000000 IASQ: 0000000000000000 0000000000000000 IAOQ: 000000001011ddf0 000000001011ddf4 IIR: 4a7c0068 ISR: 0000000000000000 IOR: 0000000000000034 ORIG_R28: 0000000000000010 IIR: LDW 52(r19),r28 I've lost the vmlinux/System.map for this run since doing it. But the instruction seems to be the same one. So perhaps I'm wrong about the culprit being isi->isi_region being NULL since I would have expected an ASSERT to catch that. From None Date: None From: Subject: [kernel] bug#35: old documentation X-PA-RISC Linux-PR-Message: report 35 X-PA-RISC Linux-PR-Package: kernel X-Loop: daniel_frazier@hp.com Received: via spool by bugs@bugs.parisc-linux.org id=B.9829457716937 (code B ref -1); Fri, 23 Feb 2001 16:33:01 GMT Date: Fri, 23 Feb 2001 09:29:26 -0700 To: submit@bugs.parisc-linux.org Message-ID: <20010223092926.F18882@zumpano.fc.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i From: willy@ldl.fc.hp.com (Matthew Wilcox) Package: kernel Version: 2.4.0 we still have Documentation/parisc/unwritten which is out of date. It should be converted into individual bug reports and submitted to the bugtracking system, then deleted. From None Date: None From: Subject: [kernel] bug#36: Coredumps of 32-bit processes on a 64-bit kernel X-PA-RISC Linux-PR-Message: report 36 X-PA-RISC Linux-PR-Package: kernel X-Loop: daniel_frazier@hp.com Received: via spool by bugs@bugs.parisc-linux.org id=B.9829458246997 (code B ref -1); Fri, 23 Feb 2001 16:33:01 GMT Date: Fri, 23 Feb 2001 09:30:13 -0700 To: submit@bugs.parisc-linux.org Message-ID: <20010223093013.G18882@zumpano.fc.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i From: willy@ldl.fc.hp.com (Matthew Wilcox) Package: kernel Version: 2.4.0 Need to fix ELF_CORE_COPY_REGS for 32-bit userspace on 64-bit kernel From None Date: None From: Subject: [kernel] bug#37: STI console doesn't display early enough X-PA-RISC Linux-PR-Message: report 37 X-PA-RISC Linux-PR-Package: kernel X-Loop: daniel_frazier@hp.com Received: via spool by bugs@bugs.parisc-linux.org id=B.9829460767115 (code B ref -1); Fri, 23 Feb 2001 16:48:01 GMT Date: Fri, 23 Feb 2001 09:34:35 -0700 To: submit@bugs.parisc-linux.org Message-ID: <20010223093435.H18882@zumpano.fc.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i From: willy@ldl.fc.hp.com (Matthew Wilcox) Package: kernel Version: 2.4.0 The fix I put in to use a `boot' console for PDC until a real console is registered works well for serial, but not so well for STI. Two possible solutions: (1) use a pdc_con instead of a pdc_console to take advantage of the fb console. (2) don't register a dummy_console, wait until STI is really ready to go. i currently favour (2). btw, we also need to take out the `pdc_console_die()' call in the STI code. From None Date: None From: Subject: [kernel] bug#38: NMI Oopser equivalent X-PA-RISC Linux-PR-Message: report 38 X-PA-RISC Linux-PR-Package: kernel X-Loop: daniel_frazier@hp.com Received: via spool by bugs@bugs.parisc-linux.org id=B.9829491217800 (code B ref -1); Fri, 23 Feb 2001 17:33:01 GMT Date: Fri, 23 Feb 2001 10:25:13 -0700 To: submit@bugs.parisc-linux.org Message-ID: <20010223102513.I18882@zumpano.fc.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i From: willy@ldl.fc.hp.com (Matthew Wilcox) Package: Kernel Version: 2.4.0 Severity: wishlist Linux/i386 has this thing called an NMI oopser which causes an oops when the kernel gets stuck somewhere. Not quite sure how it works, but i think we can probably use the Recovery Counter to implement it. It has the advantage over TOC of being automatic and working on the 712. From None Date: None From: Subject: [kernel] bug#39: CONFIG_DMB_TRAP support for kernel debugging X-PA-RISC Linux-PR-Message: report 39 X-PA-RISC Linux-PR-Package: kernel X-Loop: daniel_frazier@hp.com Received: via spool by bugs@bugs.parisc-linux.org id=B.98297401012017 (code B ref -1); Sat, 24 Feb 2001 00:33:01 GMT Message-Id: <200102240023.QAA21729@milano.cup.hp.com> X-Authentication-Warning: milano.cup.hp.com: grundler@localhost [127.0.0.1] didn't use HELO protocol To: submit@bugs.parisc-linux.org Date: Fri, 23 Feb 2001 16:23:05 -0800 From: Grant Grundler Package: kernel Version: Nov2000 Severity: wishlist I had this working under Lamont's guidance. John (as usual) gave some good feedback and GDB seems to want to hook into this as well. I didn't have the opportunity to implement John's suggestions but didn't want others to start from scratch. grant ------- Forwarded Messages Date: Wed, 22 Nov 2000 18:47:06 -0800 (PST) From: Grant Grundler To: parisc-linux@puffin.external.hp.com Subject: [parisc-linux] CONFIG_DMB_TRAP diff Hello again (last one until Monday - I promise), With Lamont's wisdom, I implemented support for Date Memory Break trap. This enables the kernel programmer to capture the evil code which stomps on other people's "private" data. Only works for stores through virtual addresses. gsc_writeX() and DMA will still bypass this mechanism. pb, dhd, (or some equivalent deity), could you review/commit this code? Or tell me it's ok to commit? I've touched: arch/parisc/config.in arch/parisc/kernel/entry.S arch/parisc/mm/kmap.c include/asm-parisc/pgtable.h thanks, grant Index: arch/parisc/config.in =================================================================== RCS file: /home/cvs/parisc/linux/arch/parisc/config.in,v retrieving revision 1.25 diff -u -p -r1.25 config.in - --- config.in 2000/10/20 18:28:26 1.25 +++ config.in 2000/11/23 02:18:23 @@ -16,8 +16,12 @@ endmenu mainmenu_option next_comment comment 'General options' - -# bool 'Symmetric multi-processing support' CONFIG_SMP - -define_bool CONFIG_SMP n +bool 'Symmetric multi-processing support' CONFIG_SMP +# define_bool CONFIG_SMP n + +# One needs to tweak dmb_trap_11 code in entry.S to match. +# Not tested for 64-bit kernel. +bool 'Debug support for Data Memory Break Trap' CONFIG_DMB_TRAP bool 'Kernel Debugger support' CONFIG_KWDB # define_bool CONFIG_KWDB n Index: arch/parisc/kernel/entry.S =================================================================== RCS file: /home/cvs/parisc/linux/arch/parisc/kernel/entry.S,v retrieving revision 1.53 diff -u -p -r1.53 entry.S - --- entry.S 2000/11/22 16:51:33 1.53 +++ entry.S 2000/11/23 02:18:23 @@ -23,6 +23,7 @@ */ #include +#include /* the following is the setup i think we should follow: * whenever the CPU is interruptible, the following has to be true: @@ -349,7 +350,39 @@ .endm #endif +#ifdef CONFIG_DMB_TRAP /* + ** Data Memory Bit trap interruption handler (parisc 1.1) + ** + ** This is a debugging aid. Use it when you think someone else + ** is stepping on your memory. It only catches *virtual* + ** accesses. gsc_writeX() functions disable virtual translation + ** (D-bit) and will happily scribble whatever physical address + ** is passed in. + ** + ** Here's how to use it: + ** 1) Call iterate_pages() from your init routine like this: + ** iterate_pages( my_private_mem, private_mem_size, + ** set_data_memory_break, 0); + ** 2) substitute your functions for your_function1 (or 2) in + ** dmb_trap_11 code below. + ** + ** Thanks to Lamont Jones for telling me how to do this. + ** - ggg 1/22/2000 + */ + .macro dmb_11 code + + mfctl %isr,spc + b dmb_trap_11 + mfctl %ior,va + + .align 32 + .endm +#else +#define dmb_11 def +#endif + + /* * dirty bit trap interruption handler (parisc 2.0) */ @@ -448,7 +481,7 @@ fault_vector_11: naitlb_11 16 nadtlb_11 17 def 18 - - def 19 + dmb_11 19 dbit_11 20 def 21 def 22 @@ -467,7 +500,6 @@ fault_vector_11: .import handle_interruption,code .import handle_real_interruption,code .import do_irq_mask,code - - .import parisc_stopkernel,code .import cpu_irq_region,data /* @@ -903,11 +935,15 @@ dtlb_miss_11: dep pte,8,7,prot extru,= pte,_PAGE_NO_CACHE_BIT,1,r0 - - depi 1,12,1,prot + depi 1,12,1,prot /* U-bit */ extru,= pte,_PAGE_USER_BIT,1,r0 depi 7,11,3,prot /* Set for user space (1 rsvd for read) */ extru,= pte,_PAGE_GATEWAY_BIT,1,r0 depi 0,11,2,prot /* If Gateway, Set PL2 to 0 */ +#ifdef CONFIG_DMB_TRAP + extru,= pte,_PAGE_DMB_BIT,1,r0 + depi 1,4,1,prot /* B-bit */ +#endif /* Get rid of prot bits and convert to page addr for idtlba */ @@ -1300,6 +1336,30 @@ dbit_trap_11: rfir nop + +#ifdef CONFIG_DMB_TRAP + .import your_function1,code + .import your_function2,code + +dmb_trap_11: + mfctl pcsq,t0 /* get space */ + comb,<>,n t0,%r0,dmb_rfi /* not kernel - bail */ + + mfctl pcoq,t0 /* get offset */ + ldil L%dmb_ok_function1, t1 + dep %r0, 31, 12, t0 + comb,=,n t0,t1,dmb_rfi /* it's ours - bail */ + + ldil L%dmb_ok_function2, t1 + comb,<>,n t0,t1,intr_save /* not ours - panic */ + +dmb_rfi: + mfctl ipsw,t0 /* Set PSW X-bit - just continue */ + depi 1,11,1,t0 /* Set X-bit */ + mtctl t0, ipsw + rfir + nop +#endif dbit_trap_20: mfctl %cr25,ptp /* Assume user space trap */ Index: arch/parisc/mm/kmap.c =================================================================== RCS file: /home/cvs/parisc/linux/arch/parisc/mm/kmap.c,v retrieving revision 1.3 diff -u -p -r1.3 kmap.c - --- kmap.c 2000/05/05 18:05:47 1.3 +++ kmap.c 2000/11/23 02:18:23 @@ -43,7 +43,16 @@ static void unmap_cached_pte(pte_t * pte } #endif +#ifdef CONFIG_DMB_TRAP /* These two routines should probably check a few things... */ +void set_data_memory_break(pte_t * pte, unsigned long arg) +{ + pte_val(*pte) |= _PAGE_DMB; +} + +#endif + +/* These two routines should probably check a few things... */ static void set_uncached(pte_t * pte, unsigned long arg) { pte_val(*pte) |= _PAGE_NO_CACHE; @@ -106,7 +115,10 @@ static inline void iterate_pmd(pgd_t * d } while (address < end); } - -static void iterate_pages(unsigned long address, unsigned long size, +#ifndef CONFIG_DMB_TRAP +static +#endif +void iterate_pages(unsigned long address, unsigned long size, pte_iterator_t op, unsigned long arg) { pgd_t *dir; Index: include/asm-parisc/pgtable.h =================================================================== RCS file: /home/cvs/parisc/linux/include/asm-parisc/pgtable.h,v retrieving revision 1.29 diff -u -p -r1.29 pgtable.h - --- pgtable.h 2000/11/10 21:44:44 1.29 +++ pgtable.h 2000/11/23 02:18:23 @@ -109,6 +109,10 @@ extern void *vmalloc_start; #define _PAGE_USER 0x400 /* Software: User accessable page */ #define _PAGE_USER_BIT 21 /* Needs to agree with _PAGE_USER above */ /* 0x800 still available */ +#ifdef CONFIG_DMB_TRAP +#define _PAGE_DMB 0x800 /* Data Memory Break Trap */ +#define _PAGE_DMB_BIT 20 /* Data Memory Break Trap */ +#endif #ifdef __ASSEMBLY__ #define _PGB_(x) (1 << (63 - (x))) - --------------------------------------------------------------------------- To unsubscribe: send e-mail to parisc-linux-request@thepuffingroup.com with `unsubscribe' as the subject. ------- Message 2 Date: Wed, 22 Nov 2000 22:50:14 -0700 (MST) From: John Marvin To: parisc-linux@puffin.external.hp.com Subject: Re: [parisc-linux] CONFIG_DMB_TRAP diff > Hello again (last one until Monday - I promise), > > With Lamont's wisdom, I implemented support for Date Memory Break trap. > > This enables the kernel programmer to capture the evil code which > stomps on other people's "private" data. Only works for stores > through virtual addresses. gsc_writeX() and DMA will still > bypass this mechanism. > > pb, dhd, (or some equivalent deity), could you review/commit this code? > Or tell me it's ok to commit? > > I've touched: > arch/parisc/config.in > arch/parisc/kernel/entry.S > arch/parisc/mm/kmap.c > include/asm-parisc/pgtable.h > Please don't. This solution is way more complicated than it should be. Here are the problems with it: 1) As I had already mentioned in a previous discussion, the pte's already reserve the location for the B bit (data memory break trap) and the dtlb miss handlers already move the entire group of bits that include this bit in one operation. So no change is necessary to the dtlb miss handlers to specially set that bit and incur extra instructions in the tlb miss handlers, and no extra bits need to be allocated in the pte. Instead of adding a new definition (e.g. 0x800, which is our last available bit) use the one that is already reserved for it: 0x010. 2) There is no reason to add a special data memory break trap handler. The general trap handler is more than sufficient for this case. handle_interruption will be called if a data memory break trap is encountered. Just add a new case for the list of traps, and handle the trap in C. You can set the X bit by simply setting it in the saved ipsw (in gr[0]) and it will be set upon return from the trap, no muss, no fuss. Note that the above also applies for the page reference trap. The T bit is also already supported (0x040 in the pte) by the dtlb miss handlers. Note that the reason I reserved these bits is because it would actually take MORE code in the dtlb miss handlers to NOT support those bits and use them for something else. Another helpful hint for those wanting to use this feature. If you are tracking corruptions that span multiple pages, then just setting the B bit on each page may be all you need. But, when I've used the data memory break trap for corruption tracking, typically I've wanted to track a corruption that was happening to a particular variable, i.e. a 4 byte quantity, and lots of other variables were being legitimately written on the same page, so you wind up with thousands of data memory break traps, where only one may be the one that is corrupting the location you are interested in. But, all is not lost, the solution is still fairly simple. The data memory break trap provides a valid iir, isr and ior. So once you get the trap, a custom data memory break handler (which can be written with a few lines of C in handle_interruption), simply uses iir, isr and ior to check if the access was to the specific byte or bytes you are interested in. I've simply used isr/ior to check for writes within the word I was interested in. That may be enough for most cases. The information you are missing from isr/ior is the size of the write transaction. To get this you would need to parse the instruction stored in iir (code to determine the size of a store from the instruction in the iir will be necessary when an unaligned fault handler is written). John Marvin jsm@fc.hp.com - --------------------------------------------------------------------------- To unsubscribe: send e-mail to parisc-linux-request@thepuffingroup.com with `unsubscribe' as the subject. ------- Message 3 Date: Thu, 23 Nov 2000 17:34:34 +1100 (EST) From: Alan Modra To: Grant Grundler Cc: Richard Hirst , John Marvin Subject: Re: [parisc-linux] CONFIG_DMB_TRAP diff gdb will eventually want to use this trap too. - -- Linuxcare. Support for the Revolution. ------- Message 4 Date: Thu, 23 Nov 2000 01:29:55 -0700 (MST) From: John Marvin Message-Id: <200011230829.BAA07840@udlkern.fc.hp.com> To: parisc-linux@puffin.external.hp.com Subject: Re: [parisc-linux] CONFIG_DMB_TRAP diff Alan Modra wrote: > gdb will eventually want to use this trap too. Cool! However, data memory break traps for user translations are a little tougher. There are some small modifications in the machine dependent code that I can make to make sure the B bit stays set during most VM operations on a page. However, since the machine independent part of the VM system doesn't know anything about this bit (nor should it), it won't be preserved if the page is paged out (and subsequently paged back in). This could be fixed fairly easily with some changes to the machine independent code, but I don't think that would be appropriate. Some potential solutions (each has its problems): 1) Just document the fact that the feature may not work on systems with low memory. It's a parisc only feature, so perhaps we could live with that. 2) Lock the page in memory (using the mlock interface) when we set the B bit on a page. Just some thoughts on the subject. John Marvin jsm@fc.hp.com - --------------------------------------------------------------------------- To unsubscribe: send e-mail to parisc-linux-request@thepuffingroup.com with `unsubscribe' as the subject. ------- End of Forwarded Messages From None Date: None From: Subject: [kernel] bug#40: "optimal" virtual IRQ support proposal X-PA-RISC Linux-PR-Message: report 40 X-PA-RISC Linux-PR-Package: kernel X-Loop: daniel_frazier@hp.com Received: via spool by bugs@bugs.parisc-linux.org id=B.98297496512197 (code B ref -1); Sat, 24 Feb 2001 00:48:01 GMT Message-Id: <200102240039.QAA21779@milano.cup.hp.com> X-Authentication-Warning: milano.cup.hp.com: grundler@localhost [127.0.0.1] didn't use HELO protocol To: submit@bugs.parisc-linux.org Date: Fri, 23 Feb 2001 16:39:00 -0800 From: Grant Grundler Package: kernel Version: Oct2000 Severity: wishlist ------- Forwarded Message To: Helge Deller Cc: parisc-linux@thepuffingroup.com Subject: Re: [parisc-linux] /proc/interrupts Date: Wed, 18 Oct 2000 09:36:31 -0700 From: Grant Grundler Hi Helge! Helge Deller wrote: ... > 1. The until now used virtual IRQ's gets new numbers and increments in every > region by 32 for parisc32 and 64 for parisc64. The old IRQ regions > incremented by 256. prumpf did something like this too. It's better - but IMHO not "optimal". I've been thinking about an "optimal" solution but haven't had a chance to try it out. Here's my proposal: o "invent" (yeah...I heard you, Carly! :^) a global "action" table. o All IRQ allocation will get an "action" entry from the global table. o And each IRQ region is a table of "action" pointers. o "busy" IRQ region entries point to entries in the global "action" table. "action" is a IRQ handler + arguments stuffed in a data structure. Here are some examples of why I think this is "optimal": o Older Workstations typically only need 10-20 "action" entries in 2-4 IRQ regions. o A500/C3000/J5000/L2000 might need about the same number of "action" entries but spread over 8 IRQ regions (4 CPU + 4 I/O Sapic). o N-4000 might use over 60 entries in 22 IRQ regions! (12*4+8+5) That's 12 PCI Slots, 8 CPUs, and 5 built-in PCI devices spread over 8 CPU + 14 I/O Sapic. o I don't know the limits of Superdome which was just announced. I've been asked about running linux on Superdome and my reply is first get it running on N-class (which isn't currently "in-plan" officially). (Note: Even though today we only allocate one IRQ region for all CPUs, in the future I'd like to see each CPU get it's own region.) > 2. since we now shift by values of 5 (parisc32) or 6 (parisc64) bits, the > time needed to calculate the offsets may have changed. This needs to be > inspected. I don't think this will be an issue. I doubt a shift op takes longer (as measured in cycles) to shift more/less. > 3. the new algorithm needs less memory than before. yup - hypothetically by 4x or 8x. That's a good thing. > By default I left the current behaviour in CVS, but you may activate the new > algorithm by changing the "#if 0" to "#if 1" in asm-parsic/irq.h and tell me > what you think. That's cool...I'll enable it here for testing. Remember - no news is good news :^) thanks! grant Grant Grundler Unix Systems Enablement Lab +1.408.447.7253 ------- End of Forwarded Message From None Date: None From: Subject: [kernel] bug#41: optimised (asm) string/IP checksum routines for PA1.0/2.0 X-PA-RISC Linux-PR-Message: report 41 X-PA-RISC Linux-PR-Package: kernel X-Loop: daniel_frazier@hp.com Received: via spool by bugs@bugs.parisc-linux.org id=B.98333997512173 (code B ref -1); Wed, 28 Feb 2001 06:03:01 GMT Date: Tue, 27 Feb 2001 22:58:09 -0700 Message-ID: <20010227225809.Q27829@tausq.org> From: "Randolph Chung" To: submit@bugs.parisc-linux.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-PGP: for PGP key, see http://www.tausq.org/pgp.txt X-GPG: for GPG key, see http://www.tausq.org/gpg.txt Package: kernel It'd be nice to have optimized (asm?) string and tcp checksum routines for hppa just like we have for most(all?) other architectures... randolph -- @..@ http://www.TauSq.org/ (----) ( >__< ) ^^ ~~ ^^