Date: Thu, 09 Dec 1999 11:43:52 -0500 From: "Stephane E. Potvin" <sepotvin@videotron.ca> To: freebsd-hackers@freebsd.org Cc: Warner Losh <imp@village.org> Subject: ifconfig panic using 3C574 card Message-ID: <384FDC48.C5EC7804@videotron.ca>
next in thread | raw e-mail | index | archive | help
I just upgraded my laptop to use a fresh current from this morning (fresh checkout with empty /usr/obj). The machine is an IBM ThinkPad 760XD with 88Mb RAM. Now when the ep driver attaches my 3COM 3C574 it reports the following mac address: ep0: <3Com 3C574> at port 0x240-0x25f irq 10 slot 0 on pccard0 ep0: Ethernet address 40:57:40:57:40:57 ep0: strange connector type in EEPROM: assuming AUI The error is mostly harmless as the card is functionning otherwise. (I'm not speaking about performances which are not very good right now). Now to the subject, when I run ifconfig on the machine, I instantly got the following panics. I guess that the second one is only an artefact of the first one and should not be considered. dmesg, pccardc dumpcis and config file follows. If you need anything else let me know. I'll try to look into this as soon as I get a few minutes (well, when I get the damn video console working on my 'winder). Steph Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0x0 stack pointer = 0x10:0xc71a6de8 frame pointer = 0x10:0xc71a6e0c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 266 (ifconfig) interrupt mask = net kernel: type 12 trap, code=0 Stopped at 0: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01bc10c stack pointer = 0x10:0xc71a6c54 frame pointer = 0x10:0xc71a6c58 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resule, IOPL = 0 current process = 266 (ifconfig) interrupt mask = net kernel: type 12 trap, code=0 symbols near 0xc01bc10c: c01bc0f0 T db_read_bytes c01bc128 T db_write_bytes dmesg output: Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #1: Thu Dec 9 08:39:31 EST 1999 spotvin@alexis.videotron.ca:/mnt/.0/src/sys/compile/AZIMOV Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P55C (165.79-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x544 Stepping = 4 Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> real memory = 92274688 (90112K bytes) avail memory = 86859776 (84824K bytes) Preloaded elf kernel "kernel" at 0xc0269000. Intel Pentium detected, installing workaround for F00F bug npx0: <math processor> on motherboard npx0: INT 16 interface apm0: <APM BIOS> on motherboard apm: found APM BIOS v1.2, connected at v1.2 pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 isab0: <Intel 82371FB PCI to ISA bridge> at device 1.0 on pci0 isa0: <ISA bus> on isab0 pcic-pci0: <TI PCI-1130 PCI-CardBus Bridge> at device 2.0 on pci0 pcic-pci1: <TI PCI-1130 PCI-CardBus Bridge> at device 2.1 on pci0 vga-pci0: <Trident model 9660 VGA-compatible display device> irq 11 at device 3.0 on pci0 pci0: unknown card (vendor=0x1014, dev=0x0057) at 5.0 irq 11 atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 ata0 at port 0x1f0 irq 14 on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold pcic: polling, can't alloc 0 pcic: polling, can't alloc 0 pcic0: <Intel i82365> on isa0 pccard0: <PC Card bus -- kludge version> on pcic0 pccard1: <PC Card bus -- kludge version> on pcic0 vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A ppc0 at port 0x3bc-0x3c3 irq 7 on isa0 isa_compat: didn't get ports for ppc ppc0: PC87334 chipset (ECP/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold lpt0: <generic printer> on ppbus 0 lpt0: Interrupt-driven port ad0: <IBM-DLGA-23080/A50D52> ATA-3 disk at ata0 as master ad0: 2937MB (6015744 sectors), 5968 cyls, 16 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, PIO acd0: <SANYO CRD-S58P/1.21> CDROM drive at ata0 as slave acd0: read 1377KB/s (1377KB/s), 256KB buffer, PIO acd0: supported read types: acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM 120mm data disc loaded, unlocked Mounting root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted pccard: card inserted, slot 0 ep0: <3Com 3C574> at port 0x240-0x25f irq 10 slot 0 on pccard0 ep0: Ethernet address 40:57:40:57:40:57 ep0: strange connector type in EEPROM: assuming AUI 'pccardc dumpcis' output: Configuration data for card in slot 0 Tuple #1, code = 0x1 (Common memory descriptor), length = 2 000: 00 ff Common memory device information: Device number 1, type No device, WPS = OFF Speed = No speed, Memory block size = reserved, 32 units Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3 000: 43 02 ff Attribute memory device information: Device number 1, type EEPROM, WPS = OFF Speed = 150nS, Memory block size = 8Kb, 1 units Tuple #3, code = 0x20 (Manufacturer ID), length = 4 000: 01 01 74 05 PCMCIA ID = 0x101, OEM ID = 0x574 Tuple #4, code = 0x21 (Functional ID), length = 2 000: 06 00 Network/LAN adapter Tuple #5, code = 0x15 (Version 1 info), length = 46 000: 04 01 33 43 6f 6d 00 33 43 35 37 34 2d 54 58 20 010: 46 61 73 74 20 45 74 68 65 72 4c 69 6e 6b 20 50 020: 43 20 43 61 72 64 00 41 00 30 30 31 00 ff Version = 4.1, Manuf = [3Com],card vers = [3C574-TX Fast EtherLink PC Card] Addit. info = [A],[001] Tuple #6, code = 0x1a (Configuration map), length = 6 000: 02 03 00 00 01 03 Reg len = 3, config register addr = 0x10000, last config = 0x3 Registers: XX------ Tuple #7, code = 0x1b (Configuration entry), length = 15 000: c1 01 1d 71 55 35 55 54 e0 72 5d 65 30 ff ff Config index = 0x1(default) Interface byte = 0x1 (I/O) Vcc pwr: Nominal operating supply voltage: 5 x 1V Max current average over 1 second: 3 x 10mA Max current average over 10 ms: 5 x 10mA Power down supply current: 5 x 1mA Wait scale Speed = 7.0 x 100 ns RDY/BSY scale Speed = 7.0 x 100 ns Card decodes 18 address lines, full 8/16 Bit I/O IRQ modes: Level, Pulse IRQs: IOCK 1 4 5 6 8 10 11 12 14 Tuple #8, code = 0x19 (JEDEC descr for attribute memory), length = 3 000: 00 00 ff Tuple #9, code = 0x14 (No link), length = 0 Tuple #10, code = 0x10 (Checksum), length = 5 000: 9d ff 6c 00 00 Checksum from offset -99, length 108, value is 0x0 Tuple #11, code = 0xff (Terminator), length = 122 000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 030: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 040: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 050: ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 060: 00 00 00 00 74 00 00 00 02 00 07 00 62 01 1b 00 070: 00 00 86 10 ff ff 00 00 10 20 2 slots found config file: # # ALEXIS - kernel configuration fle # machine i386 cpu I586_CPU ident ALEXIS maxusers 32 makeoptions DEBUG=-g options INCLUDE_CONFIG_FILE options CPU_FASTER_5X86_FPU options COMPAT_43 options USER_LDT options SYSVSHM options SYSVSEM options SYSVMSG options DDB options KTRACE options UCONSOLE options INET options ICMP_BANDLIM options FFS options FFS_ROOT options SOFTUPDATES options MSGBUF_SIZE=32768 options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L options PSM_HOOKAPM options PSM_RESETAFTERSUSPEND options PCIC_RESUME_RESET pseudo-device ether pseudo-device loop pseudo-device bpf pseudo-device pty pseudo-device speaker pseudo-device gzip controller isa0 controller pnp0 controller atkbdc0 at isa? port IO_KBD controller ata0 at isa? port IO_WD1 irq 14 controller fdc0 at isa? port IO_FD1 irq 6 drq 2 controller pci0 controller smbus0 controller intpm0 controller ppbus0 controller card0 controller pcic0 at isa? controller pcic1 at isa? device atkbd0 at atkbdc? irq 1 device vga0 at isa? port? conflicts device sc0 at isa? device npx0 at nexus? port IO_NPX irq 13 device atadisk0 device atapicd0 device fd0 at fdc0 drive 0 device sio0 at isa? port IO_COM1 irq 4 device smb0 at smbus? device lpt0 device ppc0 at isa? port? irq 7 device psm0 at atkbdc? irq 12 device ep0 device apm0 -- Stephane E. Potvin InnoMediaLogic Inc. - http://www.multichassis.com/ 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?384FDC48.C5EC7804>