Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2000 16:53:40 +0200
From:      "Panagiotis Astithas" <past@netmode.ntua.gr>
To:        <freebsd-questions@freebsd.org>
Subject:   Laptop question
Message-ID:  <034301bf641f$4ea0fb80$070d6693@netmode.ece.ntua.gr>

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

I have installed FreeBSD 3.4-RELEASE on my laptop a few days ago, but I
can't use my PCMCIA Ethernet card. My laptop is a DTK Computer Top-5A Fortis
Pro (Made in Taiwan) and the card is an Apollo Ethernet PC Card, also Made
in Taiwan. It worked flawlessly under Win98, and I tried the same irq (7)
and port (0x320-0x33f) numbers, without any success. I believe it is a
NE2000 compatible card, so I tried the ed driver. When the machine boots it
detects (I believe) the PCMCIA controller (pcic0, pcic1), but it doesn't
detect the ed card. When it gets to the rc.pccard script it prints that the
PCIC module is compiled in, but pccardc prints:
pccardc: /dev/card0: Device not configured
The card0 and card1 devices exist. Also, pccardc dumpcis, prints:
0 slots found
What I am trying to figure out first of all, is whether my PCMCIA controller
is really recognized and I have trouble detecting the ethernet card, or not.
If that is the case, I wonder what else should I try: other drivers, other
settings (I did try the defaults, of course), something else? Can I somehow
query the card or the controller for info?
Any help would be greatly appreciated.

Further info:

# uname -a
FreeBSD laptop 3.4-RELEASE FreeBSD 3.4-RELEASE #8: Wed Jan 19 20:27:19 EET
2000     root@laptop:/usr/src/sys/compile/LAPTOP  i386

# dmesg
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California. All rights reserved.
FreeBSD 3.4-RELEASE #8: Wed Jan 19 20:27:19 EET 2000
    root@laptop:/usr/src/sys/compile/LAPTOP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P55C (233.86-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 67108864 (65536K bytes)
config> di wt0
config> di scd0
config> di mcd0
config> di matcdc0
config> di bt0
config> di aha0
config> di adv0
config> q
avail memory = 61751296 (60304K bytes)
Preloaded elf kernel "kernel" at 0xc035b000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc035b09c.
Probing for devices on PCI bus 0:
chip0: <Intel 82439TX System Controller (MTXC)> rev 0x01 on pci0.0.0
chip1: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.1.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.1.1
chip2: <Intel 82371AB Power management controller> rev 0x01 on pci0.1.3
vga0: <Chips & Technologies model 00e4 VGA-compatible display device> rev
0xc2 on pci0.6.0
pcic0: <TI PCI-1131 PCI-CardBus Bridge> rev 0x01 int a irq 255 on pci0.14.0
pcic1: <TI PCI-1131 PCI-CardBus Bridge> rev 0x01 int b irq 255 on pci0.14.1
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x320
fe0 not found at 0x300
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
pcm0 at 0x220 irq 9 drq 0 flags 0x13 on isa
ESS1868 (rev 11)
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <FUJITSU MHD2032AT>
wd0: 3102MB (6354432 sectors), 6304 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <MATSHITA CR-172/RM18>, removable, accel, dma, iordis
acd0: drive speed 3445KB/sec, 128KB cache
acd0: supported read types: CD-R, CD-RW, CD-DA
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable popup
acd0: Medium: CD-ROM 120mm data disc loaded, unlocked
ppc0 at 0x378 irq 5 flags 0x40 on isa
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/15 bytes threshold
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
ie0: unknown board_id: f000
ie0 not found at 0x300
ep0 not found at 0x300
ex0 not found
le0 not found at 0x300
lnc0 not probed due to drq conflict with pcm0 at 0
cs0 not found at 0x300
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
apm0 on isa
apm: found APM BIOS version 1.2
Initializing PC-card drivers: ed ep fe sio
Intel Pentium detected, installing workaround for F00F bug
changing root device to wd0s1a
cd9660: RockRidge Extension

# cat /usr/src/sys/i386/conf/LAPTOP|grep -v "^#"

machine  "i386"
cpu  "I586_CPU"
ident  LAPTOP
maxusers 32

options  INET   #InterNETworking
options  FFS   #Berkeley Fast Filesystem
options  FFS_ROOT  #FFS usable as root device [keep this!]
options  MFS   #Memory Filesystem
options  MFS_ROOT  #MFS usable as root device, "MFS" req'ed
options  NFS   #Network Filesystem
options  NFS_ROOT  #NFS usable as root device, "NFS" req'ed
options  MSDOSFS   #MSDOS Filesystem
options  "CD9660"  #ISO 9660 Filesystem
options  "CD9660_ROOT"  #CD-ROM usable as root. "CD9660" req'ed
options  PROCFS   #Process filesystem
options  "COMPAT_43"  #Compatible with BSD 4.3 [KEEP THIS!]
options  SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device
options  UCONSOLE  #Allow users to grab the console
options  FAILSAFE  #Be conservative
options  USERCONFIG  #boot -c editor
options  VISUAL_USERCONFIG #visual boot -c editor

config  kernel root on wd0


controller isa0
controller pnp0
controller eisa0
controller pci0

controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2
disk  fd0 at fdc0 drive 0
disk  fd1 at fdc0 drive 1

options  "CMD640" # work around CMD640 chip deficiency
controller wdc0 at isa? port "IO_WD1" bio irq 14
disk  wd0 at wdc0 drive 0
disk  wd1 at wdc0 drive 1

controller wdc1 at isa? port "IO_WD2" bio irq 15
disk  wd2 at wdc1 drive 0
disk  wd3 at wdc1 drive 1

options  ATAPI  #Enable ATAPI support for IDE bus
options  ATAPI_STATIC #Don't do it as an LKM
device  acd0  #IDE CD-ROM
device  wfd0  #IDE Floppy (e.g. LS-120)

controller ncr0
controller ahb0
controller ahc0
controller isp0

controller      dpt0

controller adv0 at isa? port ? cam irq ?
controller adw0
controller bt0 at isa? port ? cam irq ?
controller aha0 at isa? port ? cam irq ?

controller scbus0

device  da0

device  sa0

device  pass0

device  cd0 #Only need one of these, the code dynamically grows

device  wt0 at isa? port 0x300 bio irq 5 drq 1
device  mcd0 at isa? port 0x300 bio irq 10

controller matcd0 at isa? port 0x230 bio

device  scd0 at isa? port 0x230 bio

controller atkbdc0 at isa? port IO_KBD tty
device  atkbd0 at isa? tty irq 1
device  psm0 at isa? tty irq 12

device  vga0 at isa? port ? conflicts

pseudo-device splash

device  sc0 at isa? tty

device  npx0 at isa? port IO_NPX irq 13

device  apm0    at isa? # Advanced Power Management (v1.2)

controller card0
device  pcic0 at card?
device  pcic1 at card?

device  sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4
device  sio1 at isa? port "IO_COM2" tty irq 3
device  sio2 at isa? disable port "IO_COM3" tty irq 5
device  sio3 at isa? disable port "IO_COM4" tty irq 9

device  ppc0 at isa? port? flags 0x40 net irq 5
controller ppbus0
device  lpt0 at ppbus?
device  plip0 at ppbus?
device  ppi0 at ppbus?

device al0  # ADMtek AL981 (``Comet'')
device ax0  # ASIX AX88140A
device de0  # DEC/Intel DC21x4x (``Tulip'')
device fxp0  # Intel EtherExpress PRO/100B (82557, 82558)
device mx0  # Macronix 98713/98715/98725 (``PMAC'')
device pn0  # Lite-On 82c168/82c169 (``PNIC'')
device rl0  # RealTek 8129/8139
device sf0  # Adaptec AIC-6915 DuraLAN (``Starfire'')
device tl0  # Texas Instruments ThunderLAN
device tx0  # SMC 9432TX (83c170 ``EPIC'')
device vr0  # VIA Rhine, Rhine II
device vx0  # 3Com 3c590, 3c595 (``Vortex'')
device wb0  # Winbond W89C840F
device xl0  # 3Com 3c90x (``Boomerang'', ``Cyclone'')


device ed0 at isa? port 0x320 net irq 7 iomem 0xd8000
device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000
device ep0 at isa? port 0x300 net irq 10
device ex0 at isa? port? net irq?
device fe0 at isa? port 0x300 net irq ?
device le0 at isa? port 0x300 net irq 5 iomem 0xd0000
device lnc0 at isa? port 0x280 net irq 10 drq 0
device cs0 at isa? port 0x300 net irq ?

pseudo-device loop
pseudo-device ether
pseudo-device sl 1
pseudo-device ppp 1
pseudo-device tun 1
pseudo-device pty 16
pseudo-device gzip  # Exec gzipped a.out's

options  KTRACE  #kernel tracing

options  SYSVSHM
options  SYSVMSG
options  SYSVSEM

pseudo-device bpfilter 1 #Berkeley packet filter

device pcm0 at isa ? port? tty irq 9 drq 0 flags 0x13


-past



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?034301bf641f$4ea0fb80$070d6693>