Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 1998 13:41:12 -0700 (PDT)
From:      Jin Guojun (FTG staff) <jin@george.lbl.gov>
To:        ken@plutotech.com
Cc:        bugs@FreeBSD.ORG, se@mi.uni-koeln.de
Subject:   Re: pciconf does not report unloaded devices under 3.x-RELEASE, as well as the kernel, which causes modload failure
Message-ID:  <199810192041.NAA07912@george.lbl.gov>

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

The patch does fix pciconf problem, but modload still fails, any idea?

Thanks,

	-Jin

# pciconf -l
chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x12378086 rev=0x02 hdr=0x00
chip1@pci0:1:0: class=0x060100 card=0x00000000 chip=0x70008086 rev=0x01 hdr=0x00
ide_pci0@pci0:1:1:      class=0x010180 card=0x00000000 chip=0x70008086 rev=0x01 hdr=0x00
none0@pci0:9:0:         class=0x020300 card=0x00000000 chip=0x03001127 rev=0x00 hdr=0x00
ncr0@pci0:10:0: class=0x010000 card=0x00000000 chip=0x000f1000 rev=0x03 hdr=0x00
fxp0@pci0:11:0: class=0x020000 card=0x00018086 chip=0x12298086 rev=0x02 hdr=0x00
none0@pci0:12:0:        class=0x023000 card=0x00000000 chip=0x00011193 rev=0x0a hdr=0x00

# modload -v -ezatm_mod /lkm/znatmdrv.o
modload: error initializing module: Device not configured

> > FBSD3.x # pciconf -l
> > 
> > chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x12378086 rev=0x02 hdr=0x
> 00
> > chip1@pci0:1:0: class=0x060100 card=0x00000000 chip=0x70008086 rev=0x01 hdr=0x
> 00
> > ide_pci0@pci0:1:1:      class=0x010180 card=0x00000000 chip=0x70008086 rev=0x0
> 1 hdr=0x00
> > chip2@pci0:1:2: class=0x0c0300 card=0x00000000 chip=0x70108086 rev=0x00 hdr=0x
> 00
> > ncr0@pci0:10:0: class=0x010000 card=0x00000000 chip=0x00031000 rev=0x03 hdr=0x
> 00
> > fxp0@pci0:11:0: class=0x020000 card=0x00018086 chip=0x12298086 rev=0x02 hdr=0x
> 00
> > 
> 
> Try the attached patch to src/usr.sbin/pciconf/pciconf.c and see if it
> causes all of the devices to be printed out.
> 
> The PCI code in 3.0 is substantially different than the PCI code in the 2.x
> tree.  The pciconf device listing code didn't work until I re-wrote it.
> 
> Anyway, let me know what the patched version of pciconf prints out.
> 
> Ken

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



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