Date: 18 Dec 2002 23:13:22 +0100 From: Ralf-Philipp Weinmann <ralf@fimaluka.org> To: freebsd-hackers@freebsd.org Subject: fxp faults in FreeBSD-5.0RC1 Message-ID: <1040249606.1767.19.camel@bender.fimaluka.org>
next in thread | raw e-mail | index | archive | help
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 <shrug>. 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,<b31>> real memory = 267845632 (255 MB) avail memory = 252985344 (241 MB) Initializing GEOMetry subsystem Pentium Pro MTRR support enabled npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <PTLTD Sheeks > 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: <CPU> on acpi0 acpi_tz0: <thermal zone> 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: <AC adapter> 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: <Control method Battery> on acpi0 acpi_button0: <Power Button> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_button1: <Sleep Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <Intel 82845 host to AGP bridge> mem 0xec000000-0xefffffff at device 0.0 on pci0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0x1800-0x181f irq 11 at device 29.0 on pci0 usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> 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: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 0x1820-0x183f irq 10 at device 29.1 on pci0 usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> 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: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port 0x1840-0x185f irq 11 at device 29.2 on pci0 usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> 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: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci2: <ACPI PCI bus> on pcib2 cbb0: <RF5C475 PCI-CardBus Bridge> at device 3.0 on pci2 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib2: slot 3 INTA is routed to irq 11 pci2: <serial bus, FireWire> at device 3.1 (no driver attached) fxp0: <Intel Pro/100 Ethernet> port 0x4000-0x403f mem 0xe8200000-0xe8200fff irq 11 at device 8.0 on pci2 fxp0: Ethernet address 00:00:f0:76:12:70 inphy0: <i82562ET 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH3 ATA100 controller> 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: <serial bus, SMBus> at device 31.3 (no driver attached) pci0: <multimedia, audio> at device 31.5 (no driver attached) pci0: <simple comms> at device 31.6 (no driver attached) acpi_ec0: <embedded controller> port 0x66,0x62 on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> 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: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 orm0: <Option ROMs> at iomem 0xdc000-0xdffff,0xd8000-0xdbfff,0xd0000-0xd3fff,0xc0000-0xcffff on isa0 pmtimer0 on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec cbb0: Unsupported card type detected system power profile changed to 'economy' ad0: 28615MB <FUJITSU MHR2030AT> [58140/16/63] at ata0-master UDMA100 acd0: CD-RW <Samsung CD-RW/DVD-ROM SN-308B> at ata1-master PIO4 MBREXT Slice 5 on ad0s2: 0000 00 01 81 7e 82 fe ff 01 3f 00 00 00 45 5b 20 00 |...~....?...E[ .| [0] f:00 typ:130 s(CHS):126/1/129 e(CHS):1/254/255 s:63 l:2120517 0000 00 00 c1 02 05 fe ff ff 84 5b 20 00 fe 64 9c 00 |.........[ ..d..| [1] f:00 typ:5 s(CHS):2/0/193 e(CHS):255/254/255 s:2120580 l:10249470 MBREXT Slice 6 on ad0s2: 0000 00 01 c1 02 83 fe ff ff 3f 00 00 00 bf 64 9c 00 |........?....d..| [0] f:00 typ:131 s(CHS):2/1/193 e(CHS):255/254/255 s:63 l:10249407 0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 Mounting root from ufs:/dev/ad0s3a system power profile changed to 'performance' <------------------- SNAP --------------------> <------------------- SNIP --------------------> agp0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x1a308086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82845/E/MP/MZ Brookdale CPU to I/O Bridge' class = bridge subclass = HOST-PCI pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x1a318086 rev=0x04 hdr=0x01 vendor = 'Intel Corporation' device = '82845/E/MP/MZ Brookdale CPU to AGP Bridge' class = bridge subclass = PCI-PCI uhci0@pci0:29:0: class=0x0c0300 card=0x19588086 chip=0x24828086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801CA/CAM (ICH3-S/ICH3-M) USB Controller #1' class = serial bus subclass = USB uhci1@pci0:29:1: class=0x0c0300 card=0x19588086 chip=0x24848086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801CA/CAM (ICH3-S/ICH3-M) USB Controller #2' class = serial bus subclass = USB uhci2@pci0:29:2: class=0x0c0300 card=0x19588086 chip=0x24878086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801CA/CAM (ICH3-S/ICH3-M) USB Controller #3' class = serial bus subclass = USB pcib2@pci0:30:0: class=0x060400 card=0x00000000 chip=0x24488086 rev=0x42 hdr=0x01 vendor = 'Intel Corporation' device = '82801BAM/CAM Hub Interface to PCI Bridge (Camino 2)' class = bridge subclass = PCI-PCI isab0@pci0:31:0: class=0x060100 card=0x00000000 chip=0x248c8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801CAM LPC Interface or ISA bridge: see Notes' class = bridge subclass = PCI-ISA atapci0@pci0:31:1: class=0x01018a card=0x19588086 chip=0x248a8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801CAM (ICH3-M) UltraATA/100 EIDE Controller' class = mass storage subclass = ATA none0@pci0:31:3: class=0x0c0500 card=0x19588086 chip=0x24838086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801CA/CAM (ICH3-S/ICH3-M) SMBus Controller' class = serial bus subclass = SMBus none1@pci0:31:5: class=0x040100 card=0xc006144d chip=0x24858086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801CA/CAM (ICH3-S/ICH3-M) AC'97 Audio Controller' class = multimedia subclass = audio none2@pci0:31:6: class=0x070300 card=0x2115144d chip=0x24868086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801CA/CAM (ICH3-S/ICH3-M) AC'97 Modem Controller' class = simple comms none3@pci1:0:0: class=0x030000 card=0xc006144d chip=0x4c571002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies' device = 'Radeon Mobility M6 LW' class = display subclass = VGA cbb0@pci2:3:0: class=0x060700 card=0xc006144d chip=0x04751180 rev=0xb8 hdr=0x02 vendor = 'Communication Automation Corporation' device = 'RL5C475 CardBus controller' class = bridge subclass = PCI-CardBus none4@pci2:3:1: class=0x0c0010 card=0xc006144d chip=0x05511180 rev=0x00 hdr=0x00 vendor = 'Communication Automation Corporation' device = 'IEEE1394 Controller' class = serial bus subclass = FireWire fxp0@pci2:8:0: class=0x020000 card=0xc006144d chip=0x10318086 rev=0x42 hdr=0x00 vendor = 'Intel Corporation' device = '82801CAM (ICH3) PRO/100 VE (LOM) Network Connection' class = network subclass = ethernet <------------------- SNAP --------------------> <------------------- SNIP --------------------> nexus0 npx0 acpi0 Interrupt request lines: 9 acpi_timer0 I/O ports: 0x1008-0x100b acpi_cpu0 acpi_tz0 acpi_acad0 acpi_cmbat0 acpi_button0 acpi_lid0 acpi_button1 pcib0 pci0 agp0 I/O memory addresses: 0xec000000-0xefffffff pcib1 pci1 uhci0 Interrupt request lines: 11 I/O ports: 0x1800-0x181f usb0 uhub0 uhci1 Interrupt request lines: 10 I/O ports: 0x1820-0x183f usb1 uhub1 uhci2 I/O ports: 0x1840-0x185f usb2 uhub2 pcib2 pci2 cbb0 I/O memory addresses: 0xe8200000-0xe8200fff cardbus0 pccard0 fxp0 I/O ports: 0x4000-0x403f miibus0 inphy0 isab0 isa0 sc0 sio0 Interrupt request lines: 4 I/O ports: 0x3f8-0x3ff vga0 I/O ports: 0x3c0-0x3df I/O memory addresses: 0xa0000-0xbffff orm0 I/O memory addresses: 0xc0000-0xcffff 0xd0000-0xd3fff 0xd8000-0xdbfff 0xdc000-0xdffff pmtimer0 atapci0 ata0 Interrupt request lines: 14 I/O ports: 0x1f0-0x1f7 0x3f6 0x1860-0x1867 ata1 Interrupt request lines: 15 I/O ports: 0x170-0x177 0x376 0x1868-0x186f attimer0 atpic0 attimer1 npxisa0 atdma0 acpi_sysresource0 I/O ports: 0x2e-0x2f 0x61 0x63 0x65 0x67 0x80 0x92 0x580-0x587 0x600-0x60f 0x700-0x70f 0x100c-0x108b 0x1180-0x11bf 0xfe00 I/O memory addresses: 0xfebffc00-0xfebfffff 0xfed00000-0xfed03fff acpi_ec0 I/O ports: 0x62 0x66 fdc0 Interrupt request lines: 6 DMA request lines: 2 I/O ports: 0x3f0-0x3f5 0x3f7 ppc0 Interrupt request lines: 7 DMA request lines: 1 I/O ports: 0x378-0x37f ppbus0 plip0 lpt0 ppi0 atkbdc0 I/O ports: 0x60 0x64 atkbd0 Interrupt request lines: 1 psm0 Interrupt request lines: 12 psmcpnp0 <------------------- SNAP --------------------> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1040249606.1767.19.camel>