From owner-freebsd-hackers Wed Dec 18 14:13:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89C5437B401 for ; Wed, 18 Dec 2002 14:13:41 -0800 (PST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E4A243ED4 for ; Wed, 18 Dec 2002 14:13:35 -0800 (PST) (envelope-from ralf@fimaluka.org) Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 18OmRa-0002Kp-00 for freebsd-hackers@freebsd.org; Wed, 18 Dec 2002 23:13:34 +0100 Received: from [217.82.40.221] (helo=[192.168.1.2]) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 18OmRY-0001Da-00 for freebsd-hackers@freebsd.org; Wed, 18 Dec 2002 23:13:32 +0100 Subject: fxp faults in FreeBSD-5.0RC1 From: Ralf-Philipp Weinmann To: freebsd-hackers@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 18 Dec 2002 23:13:22 +0100 Message-Id: <1040249606.1767.19.camel@bender.fimaluka.org> Mime-Version: 1.0 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I just gave FreeBSD 5.0RC1 a spin on my new notebook, a Samsung P10 XTC (very similar to the MicronPC Transport T1000 sold in the US) and got bitten by a bug in the fxp driver which landed my in ddb land when trying to download and install ports: > Fatal trap 18: integer divide fault while in kernel mode > instruction pointer = 0x8:0xc024db35 > stack pointer = 0x10:0xd67dacc0 > frame pointer = 0x10:0xd67dace0 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, IOPL = 0 > current process = 23 (irq11: cbb0 fxp0++) Doing a trace in ddb yield the following: > db> trace > cbb_intr(c1518a00,0,c04ca046,216,c406d760) at cbb_intr+0x45 > ithread_loop(c4051d00,d67dad48,c04c9ebb,35a,0) at ithread_loop+0x182 > fork_exit(c02da650,c4051d00,d67dad48) at fork_exit+0xa5 > fork_trampoline() at fork_trampoline+0x1a > --- trap 0x1, eip = 0, esp = 0xd67dad7c, ebp = 0 --- > db> fxp0: device timeout I'm also kind of confused why it's faulting in cbb_intr. Looking at the bus topology the NIC should be hanging off the PCI bridge and not off the CardBus bridge . Before writing this mail, I had a look at the CVS repository but was not able to find any new checkins for the fxp driver and the CardBus stuff (after the RC1 release). FreeBSD-4.7 seems to run fine on the machine, though I only did rather superficial testing. Can anyone help me with this one? I've also had a high success rate reproducing this failure by ping -f'ing my machine. Attached you find the dmesg as well as output from pciconf -l and devinfo -r. The kernel is the default one included on the 5.0-RC1 i386 ISOs. Cheers, Ralf <------------------- SNIP --------------------> Copyright (c) 1992-2002 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.0-RC1 #0: Sat Dec 7 22:16:29 GMT 2002 root@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc06b5000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc06b50a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1196124752 Hz CPU: Pentium 4 (1196.12-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xffffffffbfebf9ff> real memory = 267845632 (255 MB) avail memory = 252985344 (241 MB) Initializing GEOMetry subsystem Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 ACPI-0625: *** Info: GPE Block1 defined as GPE16 to GPE31 ACPI-1287: *** Error: Method execution failed, AE_AML_UNINITIALIZED_LOCAL Using $PIR table, 8 entries at 0xc00fdf40 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE acpi_acad0: on acpi0 ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE acpi_cmbat0: on acpi0 acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xec000000-0xefffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) uhci0: port 0x1800-0x181f irq 11 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 10 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1840-0x185f irq 11 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 cbb0: at device 3.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib2: slot 3 INTA is routed to irq 11 pci2: at device 3.1 (no driver attached) fxp0: port 0x4000-0x403f mem 0xe8200000-0xe8200fff irq 11 at device 8.0 on pci2 fxp0: Ethernet address 00:00:f0:76:12:70 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1860-0x186f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) pci0: at device 31.6 (no driver attached) acpi_ec0: port 0x66,0x62 on acpi0 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 Generic PS/2 mouse, device ID 0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 1 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: