Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 2009 21:24:29 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        freebsd-hardware@freebsd.org
Subject:   Msg: no prefetched decode (going from stable/6 -> stable/7)
Message-ID:  <20091114052429.GF1649@albert.catwhisker.org>

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

--SxgehGEc6vB0cZwN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I admit that I don't know what "no prefetched decode" means in this
context, or what I can or should do about it.

But the same hardware running stable/6 does not issue that whine, and
the laptop in question does see the additional PCI devices on the
docking station when running stable/6, but issues the above whine, and
fails to "see" the additional PCI devices in the docking station running
any of stable/7, stable/8, or head (9.0-CURRENT).

And while there are certainly advances in many respects in going to
newer versions of FreeBSD, I'm a little hard-pressed to understand how
this qualifies. :-}

A bit of background:

My laptop is parts from 3 Dell laptops -- 2 Inspiron 8200s and 1
Latitude C840.  I use the FreeBSD bootloader, and have 4 distinct
bootable slices on the disk.  At this time:

* slice 1: / and /usr for stable/6
* slice 2: / and /usr for stable/7
* slice 4: / and /usr for stable/8
* slice 4: / and /usr for head (9.0-CURRENT); also swap, as well as a
           few other partitions (e.g., /var) that are mounted to the
           same place regardless of which slice is booted.

For last night's BAFUG meeting, Julian had volunteered to demonstrate
vimage.  He needed access to a machine running stable/8 or head with
multiple NICs.

I volunteered the use of my laptop, as it has a couple of NICs in its
chassis, and I recalled that when I had run stable/6, FreeBSD saw the
wired NIC in the docking station.

So I brought a couple of PCI NICs to stick in the dockinig station,
figuring that would give us 5 NICs (not counting Firewire -- or
anything I could shove in a PCCard slot), which should be adequate.

But as I was building stable/8 (running stable/7 at teh time), I noticed
that "ifconfig" output didn't show the additional 3 NICs.

So this evening, I booted each of the slices in turn to single user
mode, then (in each case) entered:

* fsck -p && mount -a
* csh
* uname -a >/var/tmp/pciconf.N
* pciconf -lv >>!$
* dmesg >/vat/tmp/dmesg.N

(where "N" was one of "6", "7", "8", or "9", according to the version of
FreeBSD being run at the time).

I've attached the resulting files.

Here's the tail end of diff -u pciconf.{6,7}:

=2E..
-iwi0@pci2:3:0: class=3D0x028000 card=3D0x27218086 chip=3D0x42208086 rev=3D=
0x05 hdr=3D0x00
+iwi0@pci0:2:3:0:       class=3D0x028000 card=3D0x27218086 chip=3D0x4220808=
6 rev=3D0x05 hdr=3D0x00
     vendor     =3D 'Intel Corporation'
-    device     =3D 'MPCI3B  driverIntel PRO/Wireless 2200BG'
+    device     =3D 'driverIntel PRO/Wireless 2200BG (MPCI3B)'
     class      =3D network
-pcib3@pci2:12:0:       class=3D0x060400 card=3D0x00000000 chip=3D0x0022101=
1 rev=3D0x04 hdr=3D0x01
+pcib3@pci0:2:12:0:     class=3D0x060400 card=3D0x00000000 chip=3D0x0022101=
1 rev=3D0x04 hdr=3D0x01
     vendor     =3D 'Digital Equipment Corporation'
-    device     =3D '21150-AA PCI to PCI Bridge'
+    device     =3D 'PCI-PCI Bridge (DC21150-AA)'
     class      =3D bridge
     subclass   =3D PCI-PCI
-xl1@pci3:1:0:  class=3D0x020000 card=3D0x905510b7 chip=3D0x905510b7 rev=3D=
0x30 hdr=3D0x00
-    vendor     =3D '3COM Corp, Networking Division'
-    device     =3D '3C905-TX Fast Etherlink 10/100 PCI TX NIC'
-    class      =3D network
-    subclass   =3D ethernet
-dc0@pci3:2:0:  class=3D0x020000 card=3D0xf0041385 chip=3D0x000211ad rev=3D=
0x20 hdr=3D0x00
-    vendor     =3D 'Lite-On Communications Inc'
-    device     =3D 'KNE110TX Kingston EtheRx KNE110TX PCI Fast Ethernet Ad=
apter'
-    class      =3D network
-    subclass   =3D ethernet
-atapci0@pci3:5:0:      class=3D0x01018f card=3D0x06461095 chip=3D0x0646109=
5 rev=3D0x07 hdr=3D0x00
-    vendor     =3D 'Silicon Image Inc (Was: CMD Technology Inc)'
-    device     =3D 'PCI-0646 EIDE Adapter (Single FIFO)'
-    class      =3D mass storage
-    subclass   =3D ATA
-ahc0@pci3:7:0: class=3D0x010000 card=3D0x78809004 chip=3D0x80789004 rev=3D=
0x01 hdr=3D0x00
-    vendor     =3D 'Adaptec Inc'
-    device     =3D 'AIC-7880P Ultra/Ultra Wide SCSI Chipset'
-    class      =3D mass storage
-    subclass   =3D SCSI
-xl2@pci3:8:0:  class=3D0x020000 card=3D0x00a81028 chip=3D0x920010b7 rev=3D=
0x6c hdr=3D0x00
-    vendor     =3D '3COM Corp, Networking Division'
-    device     =3D '3C905 CX-TX-M Fast EtherLink for PC Management NIC'
-    class      =3D network
-    subclass   =3D ethernet

And here's the part of the output from "diff -u dmesg.{6,7}" that
inspired the Subject:

=2E..
@@ -381,172 +412,34 @@
 iwi0: bpf attached
 iwi0: bpf attached
 iwi0: [MPSAFE]
+iwi0: [ITHREAD]
 iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
 iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mb=
ps 36Mbps 48Mbps 54Mbps
 pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci2
+pcib3:   domain            0
 pcib3:   secondary bus     3
 pcib3:   subordinate bus   3
 pcib3:   I/O decode        0xf000-0xffff
 pcib3:   memory decode     0xfa000000-0xfbffffff
-pcib3:   prefetched decode 0xfff00000-0xfffff
-ACPI: Found matching pin for 3.5.INTA at func 0: 11
-ACPI: Found matching pin for 3.1.INTA at func 0: 11
-ACPI: Found matching pin for 3.2.INTA at func 0: 11
-ACPI: Found matching pin for 3.7.INTA at func 0: 11
-ACPI: Found matching pin for 3.8.INTA at func 0: 11
+pcib3:   no prefetched decode
 pci3: <ACPI PCI bus> on pcib3
-pci3: physical bus=3D3
-found->        vendor=3D0x10b7, dev=3D0x9055, revid=3D0x30
-       bus=3D3, slot=3D1, func=3D0
-       class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0
-       cmdreg=3D0x0117, statreg=3D0x0210, cachelnsz=3D8 (dwords)
-       lattimer=3D0x20 (960 ns), mingnt=3D0x0a (2500 ns), maxlat=3D0x0a (2=
500 ns)
-       intpin=3Da, irq=3D11
-       powerspec 1  supports D0 D1 D2 D3  current D0
-       map[10]: type 4, range 32, base 0000fc80, size  7, enabled
-pcib3: requested I/O range 0xfc80-0xfcff: in range
-pcib2: requested I/O range 0xfc80-0xfcff: in range
-       map[14]: type 1, range 32, base fafffc00, size  7, enabled
-pcib3: requested memory range 0xfafffc00-0xfafffc7f: good
-pcib2: requested memory range 0xfafffc00-0xfafffc7f: good
-pcib3: matched entry for 3.1.INTA (src \\_SB_.PCI0.LNKC:0)
-pcib3: slot 1 INTA routed to irq 11 via \\_SB_.PCI0.LNKC
-found->        vendor=3D0x11ad, dev=3D0x0002, revid=3D0x20
-       bus=3D3, slot=3D2, func=3D0
-       class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0
-       cmdreg=3D0x0107, statreg=3D0x0280, cachelnsz=3D0 (dwords)
-       lattimer=3D0x20 (960 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)
-       intpin=3Da, irq=3D11
-       map[10]: type 4, range 32, base 0000f800, size  8, enabled
-pcib3: requested I/O range 0xf800-0xf8ff: in range
-pcib2: requested I/O range 0xf800-0xf8ff: in range
-       map[14]: type 1, range 32, base fafff800, size  8, enabled
-pcib3: requested memory range 0xfafff800-0xfafff8ff: good
-pcib2: requested memory range 0xfafff800-0xfafff8ff: good
-pcib3: matched entry for 3.2.INTA (src \\_SB_.PCI0.LNKC:0)
-pcib3: slot 2 INTA routed to irq 11 via \\_SB_.PCI0.LNKC
-found->        vendor=3D0x1095, dev=3D0x0646, revid=3D0x07
-       bus=3D3, slot=3D5, func=3D0
-       class=3D01-01-8f, hdrtype=3D0x00, mfdev=3D0
-       cmdreg=3D0x0005, statreg=3D0x0290, cachelnsz=3D0 (dwords)
-       lattimer=3D0x20 (960 ns), mingnt=3D0x02 (500 ns), maxlat=3D0x04 (10=
00 ns)
-       intpin=3Da, irq=3D11
-       powerspec 1  supports D0 D1 D2 D3  current D0
-       map[10]: type 4, range 32, base 0000fc78, size  3, enabled
-pcib3: requested I/O range 0xfc78-0xfc7f: in range
-pcib2: requested I/O range 0xfc78-0xfc7f: in range
-       map[14]: type 4, range 32, base 0000fc70, size  2, enabled
-pcib3: requested I/O range 0xfc70-0xfc73: in range
-pcib2: requested I/O range 0xfc70-0xfc73: in range
-       map[18]: type 4, range 32, base 0000fc60, size  3, enabled
-pcib3: requested I/O range 0xfc60-0xfc67: in range
-pcib2: requested I/O range 0xfc60-0xfc67: in range
-       map[1c]: type 4, range 32, base 0000fc58, size  2, enabled
-pcib3: requested I/O range 0xfc58-0xfc5b: in range
-pcib2: requested I/O range 0xfc58-0xfc5b: in range
-       map[20]: type 4, range 32, base 0000fc40, size  4, enabled
-pcib3: requested I/O range 0xfc40-0xfc4f: in range
-pcib2: requested I/O range 0xfc40-0xfc4f: in range
-pcib3: matched entry for 3.5.INTA (src \\_SB_.PCI0.LNKC:0)
-pcib3: slot 5 INTA routed to irq 11 via \\_SB_.PCI0.LNKC
-found->        vendor=3D0x9004, dev=3D0x8078, revid=3D0x01
-       bus=3D3, slot=3D7, func=3D0
-       class=3D01-00-00, hdrtype=3D0x00, mfdev=3D0
-       cmdreg=3D0x0117, statreg=3D0x0290, cachelnsz=3D8 (dwords)
-       lattimer=3D0x20 (960 ns), mingnt=3D0x08 (2000 ns), maxlat=3D0x08 (2=
000 ns)
-       intpin=3Da, irq=3D11
-       powerspec 1  supports D0 D3  current D0
-       map[10]: type 4, range 32, base 0000f000, size  8, enabled
-pcib3: requested I/O range 0xf000-0xf0ff: in range
-pcib2: requested I/O range 0xf000-0xf0ff: in range
-       map[14]: type 1, range 32, base faffe000, size 12, enabled
-pcib3: requested memory range 0xfaffe000-0xfaffefff: good
-pcib2: requested memory range 0xfaffe000-0xfaffefff: good
-pcib3: matched entry for 3.7.INTA (src \\_SB_.PCI0.LNKC:0)
-pcib3: slot 7 INTA routed to irq 11 via \\_SB_.PCI0.LNKC
-found->        vendor=3D0x10b7, dev=3D0x9200, revid=3D0x6c
-       bus=3D3, slot=3D8, func=3D0
-       class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0
-       cmdreg=3D0x0117, statreg=3D0x0210, cachelnsz=3D8 (dwords)
-       lattimer=3D0x20 (960 ns), mingnt=3D0x0a (2500 ns), maxlat=3D0x0a (2=
500 ns)
-       intpin=3Da, irq=3D11
-       powerspec 2  supports D0 D1 D2 D3  current D0
-       map[10]: type 4, range 32, base 0000f400, size  7, enabled
-pcib3: requested I/O range 0xf400-0xf47f: in range
-pcib2: requested I/O range 0xf400-0xf47f: in range
-       map[14]: type 1, range 32, base fafff400, size  7, enabled
-pcib3: requested memory range 0xfafff400-0xfafff47f: good
-pcib2: requested memory range 0xfafff400-0xfafff47f: good
-pcib3: matched entry for 3.8.INTA (src \\_SB_.PCI0.LNKC:0)
-pcib3: slot 8 INTA routed to irq 11 via \\_SB_.PCI0.LNKC
-xl1: <3Com 3c905B-TX Fast Etherlink XL> port 0xfc80-0xfcff mem 0xfafffc00-=
0xfafffc7f irq 11 at device 1.0 on pci3
-xl1: Reserved 0x80 bytes for rid 0x14 type 3 at 0xfafffc00
-xl1: using memory mapped I/O
-xl1: media options word: a
-xl1: found MII/AUTO
-miibus1: <MII bus> on xl1
-xlphy0: <3Com internal media interface> on miibus1
-xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
-xl1: bpf attached
-xl1: Ethernet address: 00:50:da:23:e6:d2
-xl1: [MPSAFE]
=2E...

I realize this isn't The End Of The World As We Know It -- and
Julian was able to demo vimage with only 2 NICs showing up -- but
I would rather prefer to be able to make use of the docking station
without running FreEBSD 6.x to do so.

[I set Reply-To because I'm (still) not subscribe to -hardware@.]

Clues?

Thanks!

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--SxgehGEc6vB0cZwN
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iEYEARECAAYFAkr+PwwACgkQmprOCmdXAD21RACgiOdDoL0w/ehVaqAP9dUud52U
z3QAn3wSEAajbVKlXPblv+QszuhcdTJf
=LR3/
-----END PGP SIGNATURE-----

--SxgehGEc6vB0cZwN--



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