From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 26 10:54:31 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1523F16A4CE; Fri, 26 Dec 2003 10:54:31 -0800 (PST) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA7F843D48; Fri, 26 Dec 2003 10:54:27 -0800 (PST) (envelope-from welchsm@earthlink.net) Received: from grover.psp.pas.earthlink.net ([207.217.78.249]) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1AZx6R-0006Sp-00; Fri, 26 Dec 2003 10:54:27 -0800 Message-ID: <15259089.1072464867529.JavaMail.root@grover.psp.pas.earthlink.net> Date: Fri, 26 Dec 2003 10:54:27 -0800 (PST) From: Sean Welch To: John Baldwin Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Earthlink Zoo Mail 1.0 X-Mailman-Approved-At: Fri, 26 Dec 2003 14:08:29 -0800 cc: freebsd-hackers@freebsd.org Subject: RE: Unprobed PCI bus on VXPro II chipset X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sean Welch List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2003 18:54:31 -0000 That change seems to have done it!! I left in the extra PCI IDs I had added to pcisupport.c and pci_cfgreg.c -- looks like that helps get things going. I've got "options PCI_ENABLE_IO_MODES" in the kernel. I've also got "device puc" due to a suggestion from fbsd_user on freebsd-questions. The USB card doesn't seem to be attaching but I do see the WinTV card! Any other suggestions based on what you see below? The output of pciconf -l is as follows: pcib4@pci0:5:0: class=0x060000 card=0x80113388 chip=0x80113388 rev=0x00 hdr=0x00 pcib5@pci0:5:1: class=0x060100 card=0x80123388 chip=0x80123388 rev=0x00 hdr=0x00 pcib6@pci0:5:2: class=0x010100 card=0x80133388 chip=0x80133388 rev=0x00 hdr=0x00 bktr0@pci0:8:0: class=0x040000 card=0x13eb0070 chip=0x036e109e rev=0x02 hdr=0x00 none0@pci0:8:1: class=0x048000 card=0x13eb0070 chip=0x0878109e rev=0x02 hdr=0x00 pcib7@pci0:9:0: class=0x0c0300 card=0x12340925 chip=0x30381106 rev=0x04 hdr=0x00 none1@pci0:10:0: class=0x030000 card=0x89015333 chip=0x89015333 rev=0x16 hdr=0x00 Here is the verbose dmesg: Copyright (c) 1992-2003 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.9-RELEASE #8: Tue Oct 14 16:25:24 CDT 2003 root@:/usr/src/sys/compile/WARPPHYS Calibrating clock(s) ... TSC clock: 233912110 Hz, i8254 clock: 1193430 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium/P55C (233.87-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping = 3 Features=0x8001bf real memory = 67108864 (65536K bytes) Physical memory chunk(s): 0x000001000 - 0x00009efff, 647168 bytes (158 pages) 0x00055c000 - 0x003ff7fff, 61456384 bytes (15004 pages) config> en ed0 config> po ed0 0x340 config> ir ed0 10 config> iom ed0 0xd8000 config> f ed0 0 config> q avail memory = 60002304 (58596K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fdb00 bios32: Entry = 0xfdb10 (c00fdb10) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xdb31 pnpbios: Found PnP BIOS data at 0xc00f8450 pnpbios: Entry = f0000:7dae Rev = 1.0 Other BIOS signatures found: ACPI: 00000000 Preloaded elf kernel "kernel" at 0xc0535000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc053509c. Intel Pentium detected, installing workaround for F00F bug Creating DISK md0 md0: Malloc disk Math emulator present pci_open(1): mode 1 addr port (0x0cf8) is 0x0000ff00 pci_open(1a): mode1res=0xffffff1c (0x80000000) pci_cfgcheck: device 0 1 2 3 4 5 [class=060000] [hdr=80] is there (id=80113388 ) pcib-: pcib0 exists, using next available unit number pcib-: pcib0 exists, using next available unit number pcib-: pcib0 exists, using next available unit number npx0: on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 288267512 bytes/sec bios32: Found BIOS32 Service Directory header at 0xc00fdb00 bios32: Entry = 0xfdb10 (c00fdb10) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xdb31 pnpbios: Found PnP BIOS data at 0xc00f8450 pnpbios: Entry = f0000:7dae Rev = 1.0 Other BIOS signatures found: ACPI: 00000000 Preloaded elf kernel "kernel" at 0xc0535000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc053509c. Intel Pentium detected, installing workaround for F00F bug Creating DISK md0 md0: Malloc disk Math emulator present pci_open(1): mode 1 addr port (0x0cf8) is 0x0000ff00 pci_open(1a): mode1res=0xffffff1c (0x80000000) pci_cfgcheck: device 0 1 2 3 4 5 [class=060000] [hdr=80] is there (id=80113388 ) pcib-: pcib0 exists, using next available unit number pcib-: pcib0 exists, using next available unit number pcib-: pcib0 exists, using next available unit number npx0: on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 288267512 bytes/sec bios32: Found BIOS32 Service Directory header at 0xc00fdb00 bios32: Entry = 0xfdb10 (c00fdb10) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xdb31 pnpbios: Found PnP BIOS data at 0xc00f8450 pnpbios: Entry = f0000:7dae Rev = 1.0 Other BIOS signatures found: ACPI: 00000000 Preloaded elf kernel "kernel" at 0xc0535000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc053509c. Intel Pentium detected, installing workaround for F00F bug Creating DISK md0 md0: Malloc disk Math emulator present pci_open(1): mode 1 addr port (0x0cf8) is 0x0000ff00 pci_open(1a): mode1res=0xffffff1c (0x80000000) pci_cfgcheck: device 0 1 2 3 4 5 [class=060000] [hdr=80] is there (id=80113388 ) pcib-: pcib0 exists, using next available unit number pcib-: pcib0 exists, using next available unit number pcib-: pcib0 exists, using next available unit number npx0: on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 288267512 bytes/sec bios32: Found BIOS32 Service Directory header at 0xc00fdb00 bios32: Entry = 0xfdb10 (c00fdb10) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xdb31 pnpbios: Found PnP BIOS data at 0xc00f8450 pnpbios: Entry = f0000:7dae Rev = 1.0 Other BIOS signatures found: ACPI: 00000000 Preloaded elf kernel "kernel" at 0xc0535000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc053509c. Intel Pentium detected, installing workaround for F00F bug Creating DISK md0 md0: Malloc disk Math emulator present pci_open(1): mode 1 addr port (0x0cf8) is 0x0000ff00 pci_open(1a): mode1res=0xffffff1c (0x80000000) pci_cfgcheck: device 0 1 2 3 4 5 [class=060000] [hdr=80] is there (id=80113388 ) pcib-: pcib0 exists, using next available unit number pcib-: pcib0 exists, using next available unit number pcib-: pcib0 exists, using next available unit number npx0: on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 288267512 bytes/sec bzero() bandwidth = 147797812 bytes/sec pcib0: on motherboard found-> vendor=0x3388, dev=0x8011, revid=0x00 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x3388, dev=0x8012, revid=0x00 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x3388, dev=0x8013, revid=0x00 class=01-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x109e, dev=0x036e, revid=0x02 class=04-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 32, base ffafe000, size 12 found-> vendor=0x109e, dev=0x0878, revid=0x02 class=04-80-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 32, base ffaff000, size 12 found-> vendor=0x1106, dev=0x3038, revid=0x04 class=0c-03-00, hdrtype=0x00, mfdev=0 bzero() bandwidth = 147797812 bytes/sec pcib0: on motherboard found-> vendor=0x3388, dev=0x8011, revid=0x00 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x3388, dev=0x8012, revid=0x00 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x3388, dev=0x8013, revid=0x00 class=01-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x109e, dev=0x036e, revid=0x02 class=04-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 32, base ffafe000, size 12 found-> vendor=0x109e, dev=0x0878, revid=0x02 class=04-80-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 32, base ffaff000, size 12 found-> vendor=0x1106, dev=0x3038, revid=0x04 class=0c-03-00, hdrtype=0x00, mfdev=0 bzero() bandwidth = 147797812 bytes/sec pcib0: on motherboard found-> vendor=0x3388, dev=0x8011, revid=0x00 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x3388, dev=0x8012, revid=0x00 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x3388, dev=0x8013, revid=0x00 class=01-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x109e, dev=0x036e, revid=0x02 class=04-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 32, base ffafe000, size 12 found-> vendor=0x109e, dev=0x0878, revid=0x02 class=04-80-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 32, base ffaff000, size 12 found-> vendor=0x1106, dev=0x3038, revid=0x04 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[20]: type 1, range 32, base 0000ef80, size 5 found-> vendor=0x5333, dev=0x8901, revid=0x16 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=0 map[10]: type 1, range 32, base ec000000, size 26 pci0: on pcib0 pcib4: at device 5.0 on pci0 pcib5: at device 5.1 on pci0 pcib6: at device 5.2 on pci0 bktr0: mem 0xffafe000-0xffafefff irq 9 at device 8.0 on pci0 iicbb0: on bti2c0 iicbus0: on iicbb0 master-only iicbus: iic devclass not found iicbus1: on iicbb0 master-only iicbus: iic devclass not found smbus0: on bti2c0 smbus: smb devclass not found brooktree0: PCI bus latency is 64. bktr0: buffer size 3555328, addr 0x69c000 bktr0: GPIO is 0x00fffffb bktr0: subsystem 0x0070 0x13eb bktr0: Hauppauge Model 61291 D110 bktr0: Hauppauge WinCast/TV, Philips NTSC tuner, remote control. pci0: (vendor=0x109e, dev=0x0878) at 8.1 irq 9 pcib7: port 0xef80-0xef9f irq 11 at device 9.0 on pci0 pci0: (vendor=0x5333, dev=0x8901) at 1 0.0 irq 0 pcib1: on motherboard pci1: on pcib1 pcib2: on motherboard pci2: on pcib2 pcib3: on motherboard pci3: on pcib3 isa0: on motherboard Trying Read_Port at 203 CTL0045: start dependant CTL0045: adding irq mask 0x20 CTL0045: adding dma mask 0x2 CTL0045: adding dma mask 0x20 CTL0045: adding io range 0x220-0x22f, size=0x10, align=0x1 CTL0045: adding io range 0x330-0x331, size=0x2, align=0x1 CTL0045: adding io range 0x388-0x38b, size=0x4, align=0x1 CTL0045: start dependant CTL0045: adding irq mask 0x6a0 CTL0045: adding dma mask 0xb CTL0045: adding dma mask 0xe0 CTL0045: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0045: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0045: adding io range 0x388-0x38b, size=0x4, align=0x1 CTL0045: start dependant CTL0045: adding irq mask 0x6a0 CTL0045: adding dma mask 0xb CTL0045: adding dma mask 0xe0 CTL0045: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0045: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0045: start dependant CTL0045: adding irq mask 0x6a0 CTL0045: adding dma mask 0xb CTL0045: adding dma mask 0xe0 CTL0045: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0045: start dependant CTL0045: adding irq mask 0x6a0 CTL0045: adding dma mask 0xb CTL0045: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0045: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0045: adding io range 0x388-0x38b, size=0x4, align=0x1 CTL0045: start dependant CTL0045: adding irq mask 0x6a0 CTL0045: adding dma mask 0xb CTL0045: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0045: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0045: start dependant CTL0045: adding irq mask 0x6a0 CTL0045: adding dma mask 0xb CTL0045: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0045: start dependant isa0: too many dependant configs (8) CTL7002: start dependant CTL7002: adding io range 0x200-0x207, size=0x8, align=0x1 CTL7002: start dependant CTL7002: adding io range 0x200-0x20f, size=0x8, align=0x8 CTL7002: end dependant CTL0022: start dependant CTL0022: adding io range 0x620-0x623, size=0x4, align=0x1 CTL0022: start dependant CTL0022: adding io range 0x620-0x683, size=0x4, align=0x20 CTL0022: end dependant isa0: unexpected small tag 14 ex_isa_identify() isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: