Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 1999 18:15:09 -0800 (PST)
From:      Frank Mayhar <frank@exit.com>
To:        current@freebsd.org
Subject:   Problems with 3Com 547BT card versus -current.
Message-ID:  <199911150215.SAA04923@realtime.exit.com>

next in thread | raw e-mail | index | archive | help

--ELM942632109-4902-0_
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

I'm trying to use the 11/13 snap of -current on my laptop to get my 574BT
PCMCIA ethernet card going.  It _almost_ works.  Pccardd detects the card,
and configures it, but when I do an "ifconfig -a" the system crashes in
ifmedia_ioctl() (called by ep_if_ioctl()), line 280.  The *ifm->ifm_status
field is NULL, and we crash with a null pointer deference.

It looks, to my admittedly naive viewpoint, like the media information
isn't getting set up properly.  I'm using the following lines in
/etc/pccard.conf:
	# 3Com Megahertz 3C574B (3CCFE574BT)
		card "3Com" "Megahertz 574B"
		config 0x1 "ep0" 10 0x1
		insert  /etc/pccard_ether ep0
		insert  3Com Megahertz 574B card inserted
		remove  /sbin/ifconfig delete ep0
		remove  3Com Megahertz 574B card removed

And it detects the card and notes its MAC address properly, but it's still
unusable.  When I try to set the IP address on that interface, it gripes
about an unknown interface type, and settles on AUI, which is obviously
incorrect.

I have a debug kernel and a corefile (taken with DDB right before the
call to NULL).  If someone wants to look at it, they're welcome to,
just contact me.  For reference, I've attached my dmesg output.
-- 
Frank Mayhar frank@exit.com

--ELM942632109-4902-0_
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: attachment; filename=dmesg.out
Content-Description: cores/dmesg.out
Content-Transfer-Encoding: 7bit

in 15 seconds - press a key on the console to abort
Rebooting...
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-19991113-CURRENT #3: Sun Nov 14 14:20:33 PST 1999
    root@auton:/usr/src/sys/compile/AUTON
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Celeron (397.05-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134152192 (131008K bytes)
avail memory = 126894080 (123920K bytes)
Preloaded elf kernel "kernel" at 0xc02f7000.
Pentium Pro MTRR support enabled
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: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vga-pci0: <NeoMagic MagicMedia 256AV SVGA controller> at device 0.0 on pci1
pci1: unknown card (vendor=0x10c8, dev=0x8005) at 0.1 irq 11
pcic-pci0: <TI PCI-1220 PCI-CardBus Bridge> at device 4.0 on pci0
pcic-pci1: <TI PCI-1220 PCI-CardBus Bridge> at device 4.1 on pci0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
ata-pci0: <Intel PIIX4 IDE controller> at device 7.1 on pci0
ata-pci0: Busmastering DMA supported
ata0 at 0x01f0 irq 14 on ata-pci0
ata1 at 0x0170 irq 15 on ata-pci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
intpm0: <Intel 82371AB Power management controller> at device 7.3 on pci0
intpm0: I/O mapped 2180
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped 8000 
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
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
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <4 virtual consoles, flags=0x200>
pcic: polling, can't alloc 0
pcic: polling, can't alloc 0
pcic0: <VLSI 82C146> on isa0
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
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
ppc0 at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/7 bytes threshold
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ad0: <FUJITSU MHH2048AT/B819> ATA-4 disk at ata0 as master
ad0: 4645MB (9514260 sectors), 10068 cyls, 15 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 0 depth queue, UDMA33
Creating DISK ad0
Creating DISK wd0
acd0: <TOSHIBA CD-ROM XM-1902B/1A14> CDROM drive at ata1 as master
acd0: read 4134KB/s (4134KB/s), 128KB buffer, DMA
acd0: supported read types: CD-R, CD-RW, CD-DA
acd0: Audio: play, 16 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
Mounting root from ufs:/dev/wd0s2a
pccard: card inserted, slot 0
WARNING: / was not properly dismounted
ep0: <3Com 3C574B, Megahertz 3CCFE574BT or Fast Etherlink 3C574-TX> at port 0x240-0x25f irq 10 slot 0 on pccard0
ep0: Ethernet address 4b:57:4b:57:4b:57
panic: from debugger
panic: from debugger

dumping to dev #wd/0x30001, offset 262272
dump 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 succeeded
Automatic reboot in 15 seconds - press a key on the console to abort
--> Press a key on the console to reboot <--
Rebooting...
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-19991113-CURRENT #3: Sun Nov 14 14:20:33 PST 1999
    root@auton:/usr/src/sys/compile/AUTON
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Celeron (397.05-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134152192 (131008K bytes)
avail memory = 126894080 (123920K bytes)
Preloaded elf kernel "kernel" at 0xc02f7000.
Pentium Pro MTRR support enabled
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: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vga-pci0: <NeoMagic MagicMedia 256AV SVGA controller> at device 0.0 on pci1
pci1: unknown card (vendor=0x10c8, dev=0x8005) at 0.1 irq 11
pcic-pci0: <TI PCI-1220 PCI-CardBus Bridge> at device 4.0 on pci0
pcic-pci1: <TI PCI-1220 PCI-CardBus Bridge> at device 4.1 on pci0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
ata-pci0: <Intel PIIX4 IDE controller> at device 7.1 on pci0
ata-pci0: Busmastering DMA supported
ata0 at 0x01f0 irq 14 on ata-pci0
ata1 at 0x0170 irq 15 on ata-pci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
intpm0: <Intel 82371AB Power management controller> at device 7.3 on pci0
intpm0: I/O mapped 2180
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped 8000 
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
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
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <4 virtual consoles, flags=0x200>
pcic: polling, can't alloc 0
pcic: polling, can't alloc 0
pcic0: <VLSI 82C146> on isa0
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
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
ppc0 at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/7 bytes threshold
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ad0: <FUJITSU MHH2048AT/B819> ATA-4 disk at ata0 as master
ad0: 4645MB (9514260 sectors), 10068 cyls, 15 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 0 depth queue, UDMA33
Creating DISK ad0
Creating DISK wd0
acd0: <TOSHIBA CD-ROM XM-1902B/1A14> CDROM drive at ata1 as master
acd0: read 4134KB/s (4134KB/s), 128KB buffer, DMA
acd0: supported read types: CD-R, CD-RW, CD-DA
acd0: Audio: play, 16 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
Mounting root from ufs:/dev/wd0s2a
pccard: card inserted, slot 0
WARNING: / was not properly dismounted
ep0: <3Com 3C574B, Megahertz 3CCFE574BT or Fast Etherlink 3C574-TX> at port 0x240-0x25f irq 10 slot 0 on pccard0
ep0: Ethernet address 4b:57:4b:57:4b:57

--ELM942632109-4902-0_--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911150215.SAA04923>