From owner-freebsd-hardware@FreeBSD.ORG Thu May 6 16:20:21 2004 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AC6016A4CF for ; Thu, 6 May 2004 16:20:21 -0700 (PDT) Received: from pr93.lublin.sdi.tpnet.pl (pr93.lublin.sdi.tpnet.pl [217.97.36.93]) by mx1.FreeBSD.org (Postfix) with SMTP id BB52243D45 for ; Thu, 6 May 2004 16:20:10 -0700 (PDT) (envelope-from michal@pasternak.w.lub.pl) Received: (qmail 872 invoked by uid 1001); 6 May 2004 23:20:07 -0000 Date: Fri, 7 May 2004 01:20:07 +0200 From: Michal Pasternak To: freebsd-i386@freebsd.org, freebsd-hardware@freebsd.org Message-ID: <20040506232007.GA811@pasternak.w.lub.pl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline Subject: [michal@pasternak.w.lub.pl: ASUS mobo + ATI 9200 + FreeBSD [45] DRI + XFree86 4.[34].0 == Panic] X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Michal Pasternak List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2004 23:20:21 -0000 --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline ----- Forwarded message from Michal Pasternak ----- From: Michal Pasternak Date: Wed, 31 Mar 2004 02:24:38 +0200 To: anholt@freebsd.org Subject: ASUS mobo + ATI 9200 + FreeBSD [45] DRI + XFree86 4.[34].0 == Panic Reply-To: Michal Pasternak Content-Type: text/plain; charset=iso-8859-2 Hi, Hardware mentioned (ATI 9200) worked okay with other mainboard / fbsd / X combinations, so I suppose, that it is its fault. Test OS: FreeBSD mainframe.w.lub.pl 5.2.1-RC FreeBSD 5.2.1-RC #0: Sat Jan 31 05:36:22 GMT 2004 root@cypress.btc.adpatec.com:/usr/obj/usr/src/sys/GENERIC i386 Mobo is VIA-based ASUS with Athlon CPU: ACPI APIC Table: acpi0: on motherboard pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf0000000-0xf7ffffff at device 0.0 o n pci0 Module loads pretty okayish, when I start X: Mar 30 23:11:46 mainframe kernel: drm0: port 0xd800-0xd8ff mem 0xd7800000-0xd780ffff,0xe8000000-0xefffffff irq 16 at device 0.0 on pci1 Mar 30 23:11:46 mainframe kernel: info: [drm] AGP at 0xf0000000 128MB Mar 30 23:11:46 mainframe kernel: info: [drm] Initialized radeon 1.10.0 20020828 on minor 0 Mar 30 23:11:46 mainframe kernel: info: [drm] Loading R200 Microcode ^^ What makes me curious about this: my Radeon has 64 MB RAM on board. Here I see "AGP at 0xf... 128 MB". I have no idea, what "AGP Aperture" really is, but perhaps this is detected wrong, somehow. X screen appears, computer starts to work slower, and slower, then panics & reboots (with ACPI) or locks the machine hard (without ACPI): Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xe6ffa714 fault code = supervisor write, page not present instruction pointer = 0x8:0xc724efc0 stack pointer = 0x10:0xe2060acc frame pointer = 0x10:0xe2060ae8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 3 current process = 20053 (XFree86) trap number = 12 panic: page fault cpuid = 0; What's more interesting, if I run any graphics-intensive environment, the lock up occurs faster. When I run twm, I could move cursor on a hashed X root for a moment (5.2-CURRENT without ACPI) - pressing button showed a box with the menu, but no letters - then the system started to act slower and slower, and then locked up. The same card with another mobo (VIA Soltek & Duron) & FreeBSD 4.9 & XFree86 4.3.0 worked okay. I even wrote you an e-mail, because I was stunned how good it worked. After replacing mobo, 4.9 & 4.3.0 won't work. Same for 5.2.1-RC or 5.2-CURRENT with XFree86 4.4.0. With / without ACPI - no change. How to debug this? If it will drop to DDB, I won't see that. Is there any chance of saving bt output from DDB to disk without actually seeing it? I don't have 2nd machine to use it as a serial console. Currently I am writing this e-mail using 5.2.1-RC & X4.4 & no DRI - works okay. I seriously wonder where the problem could be. dmesg.boot and XF86log attached. Thank you for any assistance. Take care, -- Michal Pasternak :: http://pasternak.w.lub.pl :: http://winsrc.sf.net ----- End forwarded message ----- -- Michal Pasternak :: http://pasternak.w.lub.pl :: http://winsrc.sf.net Here's my obfuscated Python signature code, to indicate I'm a Python guy: >>> print u'micha\u0142 pasternak'.encode("iso8859-2") --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: attachment; filename="dmesg.boot" Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2.1-RC #0: Sat Jan 31 05:36:22 GMT 2004 root@cypress.btc.adpatec.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a35000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a35244. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(TM) XP 2500+ (1822.51-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 Features=0x383fbff AMD Features=0xc0400000 real memory = 536854528 (511 MB) avail memory = 511815680 (488 MB) ACPI APIC Table: ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 11 entries at 0xc00f1f20 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf0000000-0xf7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci1: at device 0.1 (no driver attached) skc0: <3Com 3C940 Gigabit Ethernet> port 0xb800-0xb8ff mem 0xd6800000-0xd6803fff irq 18 at device 9.0 on pci0 skc0: 3Com Gigabit LOM (3C940) sk0: on skc0 sk0: Ethernet address: 00:0c:6e:e1:cd:0e miibus0: on sk0 e1000phy0: on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto pci0: at device 11.0 (no driver attached) atapci0: port 0x9400-0x94ff,0x9800-0x980f,0xa000-0xa003,0xa400-0xa407,0xa800-0xa803,0xb000-0xb007 irq 20 at device 15.0 on pci0 atapci0: [MPSAFE] ata2: at 0xb000 on atapci0 ata2: [MPSAFE] ata3: at 0xa400 on atapci0 ata3: [MPSAFE] atapci1: port 0x9000-0x900f at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci1 ata1: [MPSAFE] uhci0: port 0x8800-0x881f irq 21 at device 16.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x8400-0x841f irq 21 at device 16.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x8000-0x801f irq 21 at device 16.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x7800-0x781f irq 21 at device 16.3 on pci0 usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered uhub3: port error, restarting port 1 uhub3: port error, giving up port 1 uhub3: port error, restarting port 2 uhub3: port error, giving up port 2 pci0: at device 16.4 (no driver attached) pci0: at device 16.5 (no driver attached) isab0: at device 17.0 on pci0 isa0: on isab0 pci0: at device 17.5 (no driver attached) pci0: at device 19.0 (no driver attached) ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model 4D Mouse, device ID 6 orm0: