Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2002 20:23:45 +0100
From:      "Harry Kroonen" <h.kroonen@brinktech.nl>
To:        freebsd-mobile@freebsd.org
Subject:   (newbie) pccard network install problem
Message-ID:  <3C6C1CD1.19363.CD052B@localhost>

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

I am trying to get my PCCARD network going on my Toshiba 
Satellite Pro 4200, and I am not getting anywhere.

The card is a =91sitecom=92 (whatever that may be; I got it with 
the laptop), Windows recognises it as a =91Unex 10/100=92 and 
installs it (correctly) on IRQ5, 0x300, D0000, the 
OEMsetup.inf calls it a NE2000.

On a standard FreeBSD4.4 install, the system hung. From the 
4.4 release notes, I set =93hw.pcic.intr_path=94=3D=941=94 and that 
looked a lot better. The card is recognised (correctly??), and 
seems to be installed okay, but I can=92t get any traffic 
through it.

(BTW, I disabled the com&lpt ports in the BIOS, so IRQ3 as 
automatically selected should be okay. I tried a few others, 
that made no difference.)

I am using the standard /etc/defaults/pccard.conf, which shows 
(among others; my card selects this config for itself):

card =93PCMCIA=94 =93FastEthernet=94
	config auto =93ed=94 ? 0x30000
logstr =93Telecom Device SuperSocket HPC100=94
	insert /etc/pccard_ether $device start
	remove /etc/pccard_ether $device stop

Below is all the info that might be usefull: dmesg, ifconfig, 
pccardc dumpcis, rc.conf. What really strikes me pretty 
strange is the =91ed0=92 that shows up once between all the =91ed1=92-
s.

Any ideas?

Thanks,

Harry Kroonen

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

t4200# ifconfig    <without card inserted>

lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
	inet 127.0.0.1 netmask 0xff000000 
ppp0: flags=3D8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=3Dc010<POINTOPOINT,LINK2,MULTICAST> mtu 552
faith0: flags=3D8000<MULTICAST> mtu 1500

<INSERT CARD>

/kernel: pccard: card inserted, slot 0
pccardd[90]: Card =93PCMCIA=94(=93FastEthernet=94) [V] {1.0] matched 
=93PCMCIA=94 (=93FastEthernet=94) [(null)] [(null)]
pccardd[90]: Using I/O addr 0x300, size 32
pccardd[90]: Setting config reg at offs 0x3c0 to 0x47, Reset 
time =3D 50 ms
pccardd[90]: Assigning I/O window 0, start 0x300, size 0x20 
flags 0x5
pccardd[90]: Assign ed0, io 0x300-0x31f, mem 0x0, 0 bytes, irq 
3, flags 30000
/kernel: ed1 at port 0x300-0x31f irq 3 slot 0 on pccard0
/kernel: ed1: address 01:02:00:ff:15:1d, type NE2000 (16bit)
pccardd[90]: ed1: Telecom Device SuperSocket HPC100 inserted

t4200# ifconfig   <with card inserted>

lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
	inet 127.0.0.1 netmask 0xff000000 
ppp0: flags=3D8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=3Dc010<POINTOPOINT,LINK2,MULTICAST> mtu 552
faith0: flags=3D8000<MULTICAST> mtu 1500
ed1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 
1500
	inet 192.168.1.99 netmask 0xffffff00 broadcast 
192.168.1.255
	inet6 fe80::60aa:f74c:475d:79d9%ed1 prefixlen 64 scopeid 
0x5 
	ether 01:02:00:ff:15:1d 

t4200# pccard dumpcis

Configuration data for card in slot 0
Tuple #1, code =3D 0x1 (Common memory descriptor), length =3D 2
    000:  00 ff
	Common memory device information:
		Device number 1, type No device, WPS =3D OFF
		Speed =3D No speed, Memory block size =3D reserved, 32 
units
Tuple #2, code =3D 0x15 (Version 1 info), length =3D 29
    000:  04 01 50 43 4d 43 49 41 00 46 61 73 74 45 74 68
    010:  65 72 6e 65 74 00 56 00 31 2e 30 00 ff
	Version =3D 4.1, Manuf =3D [PCMCIA], card vers =3D 
[FastEthernet]
	Addit. info =3D [V],[1.0]
Tuple #3, code =3D 0x20 (Manufacturer ID), length =3D 4
    000:  1b 02 02 02
	PCMCIA ID =3D 0x21b, OEM ID =3D 0x202
Tuple #4, code =3D 0x1a (Configuration map), length =3D 5
    000:  01 01 c0 03 63
	Reg len =3D 2, config register addr =3D 0x3c0, last config =3D 
0x1
	Registers: XX---XX- 
Tuple #5, code =3D 0x1b (Configuration entry), length =3D 11
    000:  c7 81 19 07 55 4d 5d 65 30 ff ff
	Config index =3D 0x7(default)
	Interface byte =3D 0x81 (I/O)  wait signal supported
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
		Minimum operating supply voltage: 4.5 x 1V
		Maximum operating supply voltage: 5.5 x 1V
	Card decodes 5 address lines, full 8/16 Bit I/O
		IRQ modes: Level
		IRQs:  0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Tuple #6, code =3D 0x1b (Configuration entry), length =3D 7
    000:  07 08 ca 60 00 03 1f
	Config index =3D 0x7
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start =3D 0x300 block length 
=3D 0x20
Tuple #7, code =3D 0x1b (Configuration entry), length =3D 7
    000:  07 08 ca 60 20 03 1f
	Config index =3D 0x7
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start =3D 0x320 block length 
=3D 0x20
Tuple #8, code =3D 0x1b (Configuration entry), length =3D 7
    000:  07 08 ca 60 40 03 1f
	Config index =3D 0x7
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start =3D 0x340 block length 
=3D 0x20
Tuple #9, code =3D 0x1b (Configuration entry), length =3D 7
    000:  07 08 ca 60 60 03 1f
	Config index =3D 0x7
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start =3D 0x360 block length 
=3D 0x20
Tuple #10, code =3D 0x1b (Configuration entry), length =3D 7
    000:  07 08 ca 60 00 02 1f
	Config index =3D 0x7
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start =3D 0x200 block length 
=3D 0x20
Tuple #11, code =3D 0x1b (Configuration entry), length =3D 7
    000:  07 08 ca 60 20 02 1f
	Config index =3D 0x7
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start =3D 0x220 block length 
=3D 0x20
Tuple #12, code =3D 0x21 (Functional ID), length =3D 2
    000:  06 00
	Network/LAN adapter
Tuple #13, code =3D 0x14 (No link), length =3D 0
Tuple #14, code =3D 0xff (Terminator), length =3D 0
2 slots found

t4200# cat /etc/rc.conf	

hostname=3D"t4200.brinktech.demon.nl"
kern_securelevel_enable=3D"NO"
moused_enable=3D"YES"
nfs_reserved_port_only=3D"YES"
sendmail_enable=3D"YES"
sshd_enable=3D"YES"
usbd_enable=3D"NO"
pccard_enable=3D"YES"
pccard_ifconfig=3D"inet 192.168.1.99 netmask 255.255.255.0"

t4200# dmesg

Copyright (c) 1992-2001 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 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001
    murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (497.56-MHz 686-
class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x681  Stepping =3D 1
  
Features=3D0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR
,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  =3D 66977792 (65408K bytes)
avail memory =3D 60612608 (59192K bytes)
Preloaded elf kernel "kernel" at 0xc0480000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f0190
npx0: <math processor> on motherboard
npx0: INT 16 interface
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
pci1: <S3 model 8c12 graphics accelerator> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 5.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfff0-0xffff at 
device 5.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xff80-
0xff9f irq 11 at device 5.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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
chip1: <Intel 82371AB Power management controller> port 
0xfe70-0xfe7f at device 5.3 on pci0
pci0: <unknown card> (vendor=3D0x1179, dev=3D0x0d01) at 9.0 irq 11
pcic0: <Toshiba ToPIC100 PCI-CardBus Bridge> at device 11.0 on 
pci0
pcic0: PCI Memory allocated: 0x44000000
pcic0: Polling mode
pccard0: <PC Card bus (classic)> on pcic0
pcic1: <Toshiba ToPIC100 PCI-CardBus Bridge> at device 11.1 on 
pci0
pcic1: PCI Memory allocated: 0x44001000
pcic1: Polling mode
pccard1: <PC Card bus (classic)> on pcic1
pci0: <unknown card> (vendor=3D0x1073, dev=3D0x0010) at 12.0 irq 
11
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 
drq 2 on isa0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on 
isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-
0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: parallel port not found.
ad0: 19077MB <IBM-DJSA-220> [38760/16/63] at ata0-master 
UDMA33
acd0: CDROM <CD-224E-B> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0s4a
pccard: card inserted, slot 0
ed1 at port 0x300-0x31f irq 3 slot 0 on pccard0
ed1: address 01:02:00:ff:15:1d, type NE2000 (16 bit) 


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C6C1CD1.19363.CD052B>