Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  3 Apr 1999 13:21:48 -0800 (PST)
From:      kentp@isy.liu.se
To:        freebsd-gnats-submit@freebsd.org
Subject:   i386/10935: PCI cards detected twice
Message-ID:  <19990403212148.150E514BD6@hub.freebsd.org>

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

>Number:         10935
>Category:       i386
>Synopsis:       PCI cards detected twice
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr  3 13:20:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Kent Palmkvist
>Release:        3.1-RELEASE
>Organization:
>Environment:
FreeBSD pcn.hFreeBSD pcn.home.isy.liu.se 3.1-RELEASE FreeBSD 3.1-RELEASE #1: Tue Mar 30 21:46:14 CEST 1999     root@pcn.home.isy.liu.se:/usr/src/sys/compile/PCN  i386
ome.isy.liu.se 3.1-RELEASE FreeBSD 3.1-RELEASE #1: Tue Mar 30 21:46:14 CEST 1999     root@pcn.home.isy.liu.se:/usr/src/sys/compile/PCN  i386

>Description:
PCI cards detected twice. Could be hardware or software problem (this is
an old pci-based card). Was not a problem when using FreeBSD 2.2.8. 
This is a dmesg of boot -v :

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.1-RELEASE #0: Sun Mar 28 01:43:08 CET 1999
    kentp@pcn.home.isy.liu.se:/usr/src/sys/compile/PCN
Calibrating clock(s) ... i8254 clock: 1189531 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CPU: i486DX (486-class CPU)
real memory  = 25165824 (24576K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x0028b000 - 0x017fdfff, 22491136 bytes (5491 pages)
avail memory = 22183936 (21664K bytes)
Found BIOS32 Service Directory header at 0xf00fc640
Entry = 0xfc9d0 (0xf00fc9d0)  Rev = 0  Len = 1
PCI BIOS entry at 0xca00
Other BIOS signatures found:
ACPI: 00000000
$PnP: 00000000
Preloaded elf kernel "kernel" at 0xf027e000.
pci_open(1):    mode 1 addr port (0x0cf8) is 0x8000a708
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 1 2 3 4 5 [class=060000] [hdr=00] is there (id=04961039)
Probing for devices on PCI bus 0:
found-> vendor=0x1039, dev=0x0496, revid=0x00
        class=06-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
chip0: <SiS 85c496> rev 0x00 on pci0.5.0
found-> vendor=0x100c, dev=0x3206, revid=0x00
        class=03-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=15
        map[0]: type 1, range 32, base f0000000, size 24
vga0: <Tseng Labs ET4000 W32P graphics accelerator> rev 0x00 int a irq 15 on pci0.11.0
found-> vendor=0x10ec, dev=0x8029, revid=0x00
        class=02-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=10
        map[0]: type 4, range 32, base 00006000, size  5
ed1: <NE2000 PCI Ethernet (RealTek 8029)> rev 0x00 int a irq 10 on pci0.15.0
ed1: address 00:40:05:6a:66:e0, type NE2000 (16 bit) 
bpf: ed1 attached
found-> vendor=0x1039, dev=0x0496, revid=0x00
        class=06-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
chip1: <SiS 85c496> rev 0x00 on pci0.21.0
found-> vendor=0x100c, dev=0x3206, revid=0x00
        class=03-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=15
        map[0]: type 1, range 32, base f0000000, size 24
vga1: <Tseng Labs ET4000 W32P graphics accelerator> rev 0x00 int a irq 15 on pci0.27.0
found-> vendor=0x10ec, dev=0x8029, revid=0x00
        class=02-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=10
        map[0]: type 4, range 32, base 00006000, size  5
ed2: <NE2000 PCI Ethernet (RealTek 8029)> rev 0x00 int a irq 10 on pci0.31.0
ed2: address 00:40:05:6a:66:e0, type NE2000 (16 bit) 
bpf: ed2 attached
        using shared irq10.
Probing for devices on the ISA bus:
atkbd: the current kbd controller command byte 0045
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
sc0 on isa
sc0: fb0 kbd0
sc0: VGA color <16 virtual consoles, flags=0x0>ed0 not found at 0x280
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
kbd0: atkbd0, AT 101/102 (2), config:0x10000, flags:0x3d0000
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1: irq maps: 0x1 0x9 0x1 0x1
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
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): <ST32140A>



>How-To-Repeat:

>Fix:
Change the definitions of PCI_SLOTMAX in /usr/src/sys/pci/pcivar.h
and /usr/src/sys/pci/pcireg.h to 15 instead of 31.

Perhaps an entry in the config file to set the SLOTMAX value would be
nice?


>Release-Note:
>Audit-Trail:
>Unformatted:


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?19990403212148.150E514BD6>