Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 1999 12:25:48 -0400 (EDT)
From:      Will Andrews <andrews@TECHNOLOGIST.COM>
To:        Warner Losh <imp@village.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: pcic.ko & recent changes to sys/pccard/*
Message-ID:  <XFMail.991018122548.andrews@TECHNOLOGIST.COM>
In-Reply-To: <199910181530.JAA04534@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18-Oct-99 Warner Losh wrote:
> In message <199910180726.DAA64055@shadow.blackdawn.com> Will Andrews writes:
>:      But it doesn't work. I'm assuming that my kernel
>: config file's settings do not affect make world in any way,
>: and thus it seems that pcic.ko is not being built by make world
>: anymore...
> 
> What doesn't work?  Can you give some error messages as well as a
> complete dmesg?

I could give you a complete dmesg and error messages.. but I'll have to read
them off argon (the laptop sitting next to me), since argon's only Internet
connection _was_ through that PC-Card Ethernet card. :-)

Let me try...:

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 #0: Mon Oct 18 03:13:00 EDT 1999
    root@argon.blackdawn.com:/usr/src/sys/compile/ARGON
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (300.00-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2 
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,
PSE36,MMX,FXSR>
real memory  = 134217728 (131072K bytes)
avail memory = 127410176 (124424K bytes)
Preloaded elf kernel "kernel" at 0xc028b000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc028b09c.
Pentium Pro MTRR support enabled
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
vga-pci0: <ATI model 4c42 graphics accelerator> irq 11 at device 0.0 on pci1
pcic0: <TI PCI-1220 PCI-CardBus Bridge> at device 4.0 on pci0
pcic1: <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
devclass_alloc_unit: pcic0 already exists, using next available unit number
devclass_alloc_unit: pcic1 already exists, using next available unit number
isa0: <ISA bus> on isab0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> at device 7.1 on pci0
chip1: <UHCI USB controller> irq 11 at device 7.2 on pci0
chip2: <Intel 82371AB Power management controller> at device 7.3 on pci0
pci0: unknown card (vendor=0x125d, dev=0x1968) at 8.0 irq 5
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
wdc0 at port 0x1f0-0x1f7 irq 14 on isa0
wdc0: unit 0 (wd0): <IBM-DADA-26480>
wd0: 6194MB (12685680 sectors), 13424 cyls, 15 heads, 63 S/T, 512 B/S
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa
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 <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
ppc0 at port 0x378-0x37f irq 7 flags 0x40 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) on COMPATIBLE mode
ppc0: FIFO with 16/16/7 bytes threshold
plip0: <PLIP network interface> on ppbus 0
pccard: initializing drivers: ep
changing root device to wd0s2a

---

Here's /usr/src/sys/i386/conf/ARGON:

# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.192 1999/09/22 05:07:49 wpaul Exp $

machine         i386
cpu             I586_CPU
cpu             I686_CPU
ident           ARGON
maxusers        100

makeoptions     DEBUG=-g

options         INET
options         FFS
options         FFS_ROOT
options         MSDOSFS
options         CD9660
options         CD9660_ROOT
options         PROCFS
options         COMPAT_43
options         SCSI_DELAY=15000
options         UCONSOLE
options         USERCONFIG
options         VISUAL_USERCONFIG
options         KTRACE
options         SYSVSHM
options         SYSVMSG
options         SYSVSEM
options         SOFTUPDATES
options         NO_F00F_HACK
options         P1003_1B
options         _KPOSIX_PRIORITY_SCHEDULING
options         _KPOSIX_VERSION=199309L
options         IDE_DELAY=8000
device          pcm0
controller      isa0
controller      pnp0
controller      pci0
controller      fdc0    at isa? port IO_FD1 irq 6 drq 2
disk            fd0     at fdc0 drive 0
controller      wdc0    at isa? port IO_WD1 irq 14
disk            wd0     at wdc0 drive 0
disk            wd1     at wdc0 drive 1
device          wcd0
controller      atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1
device          psm0    at atkbdc? irq 12
device          vga0    at isa? port ? conflicts
device          sc0     at isa?
options         XSERVER
device          npx0    at nexus? port IO_NPX irq 13
device          apm0    at nexus? disable flags 0x31
controller      pcic0   at isa?
controller      pcic1   at isa?
controller      card0
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          ppc0    at isa? port? flags 0x40 irq 7
controller      ppbus0
device          lpt0
device          plip0
device          ppi0
device          ep0     at isa? port 0x300 irq 10
pseudo-device   loop
pseudo-device   ether
pseudo-device   ppp     1
pseudo-device   tun     1
pseudo-device   pty     32
pseudo-device   gzip
pseudo-device   bpf     4
pseudo-device   snp     4

---

I trimmed out the comments and other irrelevant stuff. So what you see here is
the precise order in which my kernel configfile lists everything. :)

---

Error messages:

after /dev/rwd0s2e is marked clean:

kldload: can't load pcic: No such file or directory
pccardc: /dev/card0: Device not configured
Enable PC-card.Doing initial network setup: hostname.

---

It doesn't look like there's any other relevant error messages. My original
evaluation was that the above was caused by the lack of a pcic.ko in /modules.
Which, to me, seemed to be `make world`'s fault, since it is obviously not
built when you build a kernel.

If you don't believe me when I say that pcic _was_ working for the Sept. 29
sources:

[after bootup]

pccard-ep0: <compat ep> at port 0x240-0x25f irq 10 slot 0 and pccard0
ep0: [*UTP*] address 00:50:04:8b:74:ac

>: What's going on here? Is the Makefile in src/sys/modules/pcic
>: borked somehow (Makefile v1.9, 1999/08/28)? Doesn't seem
>: likely, as the last time it was changed was for the $Id$ ->
>: $FreeBSD$ change, which of course was mostly propagated
>: by Peter Wemm. And it wasn't relevant to pcic anyway.
> 
> The pcic module is borked and hasn't worked for a long time.

Actually, it worked for me in my last world - September 29, 1999 @ 10AM EDT.

I eagerly await your reply.

--
Will Andrews <andrews@technologist.com>
GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w---
?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ 
G++>+++ e->++++ h! r-->+++ y?


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?XFMail.991018122548.andrews>