From owner-freebsd-hackers Mon Nov 11 14:45:04 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA17157 for hackers-outgoing; Mon, 11 Nov 1996 14:45:04 -0800 (PST) Received: from pluto.plutotech.com (root@pluto.plutotech.com [206.168.67.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA17143 for ; Mon, 11 Nov 1996 14:44:52 -0800 (PST) Received: from shane.plutotech.com (durian@shane.plutotech.com [206.168.67.149]) by pluto.plutotech.com (8.8.2/8.8.2) with ESMTP id PAA04235; Mon, 11 Nov 1996 15:41:11 -0700 (MST) Message-Id: <199611112241.PAA04235@pluto.plutotech.com> From: "Mike Durian" To: se@zpr.uni-koeln.de (Stefan Esser) cc: freebsd-hackers@freebsd.org Subject: Re: small bugs in pci code In-reply-to: Your message of "Mon, 11 Nov 1996 23:04:38 +0100." Date: Mon, 11 Nov 1996 15:41:11 -0700 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 11 Nov 1996 23:04:38 +0100, se@zpr.uni-koeln.de (Stefan Esser) wrote: > >Well, the PCI probe in your boot message logs looks different >from everything I've seen before :-) We've certainly made some inhouse changes, but not much to the generic pci code. You can ignore all those strange ISA devices at the end. They're for some of our custom devices, and aren't even found on this machine (despite some of the false positives). This output is from /var/log/messages, not dmesg(8). >Please boot the same kernel (with your debug printf()s) again, >but this time with the "-v" option at the "Boot: " prompt. Here you go. It looks like the mistaken i/o maps are from expansion ROM maps. I still don't know about the DEC thing. mike Nov 11 15:28:12 shane /kernel: FreeBSD 2.1.5-RELEASE #43: Mon Nov 11 15:26:34 MST 1996 Nov 11 15:28:12 shane /kernel: durian@shane.plutotech.com:/usr/src/sys-head/compile/AVIO Nov 11 15:28:13 shane /kernel: CPU: 132-MHz Pentium 735\90 or 815\100 (Pentium-class CPU) Nov 11 15:28:13 shane /kernel: Origin = "GenuineIntel" Id = 0x52b Stepping=11 Nov 11 15:28:13 shane /kernel: Features=0x1bf Nov 11 15:28:14 shane /kernel: dedicated mem= 2097152 (2048K) from 31457280 (30720K) to 33554432 (32768K) Nov 11 15:28:14 shane /kernel: reg_physmem i=0 base=1e00000(31457280.) len=2097152. Nov 11 15:28:14 shane /kernel: real memory = 31457280 (30720K bytes) Nov 11 15:28:14 shane /kernel: avail memory = 28545024 (27876K bytes) Nov 11 15:28:15 shane /kernel: pcibus_setup(1): mode1res=0x80000000 (0x80000000), mode2res=0xff (0x0e) Nov 11 15:28:15 shane /kernel: pcibus_setup(2): mode1res=0x80000000 (0x80000000) Nov 11 15:28:15 shane /kernel: pcibus_check: device 0 is there (id=122d8086) Nov 11 15:28:15 shane /kernel: Probing for devices on PCI bus 0: Nov 11 15:28:15 shane /kernel: configuration mode 1 allows 32 devices. Nov 11 15:28:15 shane /kernel: ahc0 rev 0 int a irq 11 on pci0:20 Nov 11 15:28:15 shane /kernel: vendor = 0x9004, device = 0x8178 Nov 11 15:28:16 shane /kernel: map = 0xfc01, data = 0xffffff01 Nov 11 15:28:16 shane /kernel: case 1,5: i/o addr = 0xfc00, size = 0x100 Nov 11 15:28:16 shane /kernel: mapreg[10] type=1 addr=0000fc00 size=0100. Nov 11 15:28:16 shane /kernel: map = 0xffbdf000, data = 0xfffff000 Nov 11 15:28:16 shane /kernel: case 0,2,4: i/o addr = 0xffbdf000, size = 0x1000 Nov 11 15:28:17 shane /kernel: mapreg[14] type=0 addr=ffbdf000 size=1000. Nov 11 15:28:17 shane /kernel: map = 0xffbc0000, data = 0xffff0001 Nov 11 15:28:17 shane /kernel: case 1,5: i/o addr = 0xffbc0000, size = 0x10000 Nov 11 15:28:17 shane /kernel: mapreg[30] type=0 addr=ffbc0000 size=10000. Nov 11 15:28:17 shane /kernel: reg16: ioaddr=0xfc00 size=0x100 Nov 11 15:28:17 shane /kernel: reg48: virtual=0xf4951000 physical=0xffbc0000 size=0x10000 Nov 11 15:28:18 shane /kernel: rom_reg=ffbc0001 Nov 11 15:28:18 shane /kernel: command_status_reg=02800117 Nov 11 15:28:18 shane /kernel: ahc0 va=f4951000 pa=ffbc0000 Nov 11 15:28:18 shane /kernel: ahc0: Reading SEEPROM...done. Nov 11 15:28:18 shane /kernel: ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs Nov 11 15:28:19 shane /kernel: ahc0: Reseting Channel A Nov 11 15:28:19 shane /kernel: ahc0: Downloading Sequencer Program...Done Nov 11 15:28:19 shane /kernel: ahc0: Probing channel A Nov 11 15:28:19 shane /kernel: ahc0 waiting for scsi devices to settle Nov 11 15:28:19 shane /kernel: ahc0: target 0 using 16Bit transfers Nov 11 15:28:20 shane /kernel: ahc0: target 0 synchronous at 10.0MHz, offset = 0x8 Nov 11 15:28:20 shane /kernel: (ahc0:0:0): "SEAGATE ST31230W 0640" type 0 fixed SCSI 2 Nov 11 15:28:20 shane /kernel: sd0(ahc0:0:0): Direct-Access 1010MB (2069860 512 byte sectors) Nov 11 15:28:20 shane /kernel: sd0(ahc0:0:0): with 3992 cyls, 5 heads, and an average 103 sectors/track Nov 11 15:28:20 shane /kernel: ahc0:A:2: refuses WIDE negotiation. Using 8bit transfers Nov 11 15:28:20 shane /kernel: ahc0: target 2 synchronous at 4.4MHz, offset = 0xf Nov 11 15:28:20 shane /kernel: (ahc0:2:0): "TOSHIBA CD-ROM XM-3701TA 3205" type 5 removable SCSI 2 Nov 11 15:28:20 shane /kernel: cd0(ahc0:2:0): CD-ROM Nov 11 15:28:20 shane /kernel: cd0(ahc0:2:0): NOT READY asc:4,1 Nov 11 15:28:20 shane /kernel: cd0(ahc0:2:0): Logical unit is in process of becoming ready Nov 11 15:28:21 shane /kernel: can't get the size Nov 11 15:28:21 shane /kernel: Nov 11 15:28:21 shane /kernel: ahc0:A:6: refuses WIDE negotiation. Using 8bit transfers Nov 11 15:28:21 shane /kernel: ahc0:A:6: refuses syncronous negotiation. Using asyncronous transfers Nov 11 15:28:21 shane /kernel: (ahc0:6:0): "HP C4324/C4325 1.27" type 5 removable SCSI 2 Nov 11 15:28:21 shane /kernel: worm0(ahc0:6:0): Write-Once - UNTESTED Nov 11 15:28:21 shane /kernel: worm0(ahc0:6:0): NOT READY asc:4,0 Nov 11 15:28:21 shane /kernel: worm0(ahc0:6:0): Logical unit not ready, cause not reportable Nov 11 15:28:21 shane /kernel: Nov 11 15:28:21 shane /kernel: worm0(ahc0:6:0): could not get size Nov 11 15:28:22 shane /kernel: - can't get capacity. Nov 11 15:28:22 shane /kernel: vga0 rev 3 on pci0:19 Nov 11 15:28:22 shane /kernel: vendor = 0x1002, device = 0x4758 Nov 11 15:28:22 shane /kernel: map = 0xfe000000, data = 0xff000000 Nov 11 15:28:22 shane /kernel: case 0,2,4: i/o addr = 0xfe000000, size = 0x1000000 Nov 11 15:28:22 shane /kernel: mapreg[10] type=0 addr=fe000000 size=1000000. Nov 11 15:28:22 shane /kernel: map = 0xffbe0000, data = 0xffff0001 Nov 11 15:28:22 shane /kernel: case 1,5: i/o addr = 0xffbe0000, size = 0x10000 Nov 11 15:28:22 shane /kernel: mapreg[30] type=0 addr=ffbe0000 size=10000. Nov 11 15:28:22 shane /kernel: de0 rev 32 int a irq 15 on pci0:17 Nov 11 15:28:23 shane /kernel: vendor = 0x1011, device = 0x0009 Nov 11 15:28:23 shane /kernel: map = 0xf881, data = 0xffffff81 Nov 11 15:28:23 shane /kernel: case 1,5: i/o addr = 0xf880, size = 0x80 Nov 11 15:28:23 shane /kernel: mapreg[10] type=1 addr=0000f880 size=0080. Nov 11 15:28:23 shane /kernel: map = 0xffbdef80, data = 0xffffff80 Nov 11 15:28:23 shane /kernel: case 0,2,4: i/o addr = 0xffbdef80, size = 0x80 Nov 11 15:28:23 shane /kernel: mapreg[14] type=0 addr=ffbdef80 size=0080. Nov 11 15:28:23 shane /kernel: map = 0x500a1011, data = 0x500a1011 Nov 11 15:28:23 shane /kernel: case 1,5: i/o addr = 0x500a1010, size = 0x10 Nov 11 15:28:23 shane /kernel: mapreg[2c] type=1 addr=500a1010 size=0010. Nov 11 15:28:24 shane /kernel: map = 0xffb40000, data = 0xfffc0001 Nov 11 15:28:24 shane /kernel: case 1,5: i/o addr = 0xffb40000, size = 0x40000 Nov 11 15:28:24 shane /kernel: mapreg[30] type=0 addr=ffb40000 size=40000. Nov 11 15:28:24 shane /kernel: reg16: ioaddr=0xf880 size=0x80 Nov 11 15:28:24 shane /kernel: de0: DE500-AA DC21140A [10-100Mb/s] pass 2.0 Nov 11 15:28:24 shane /kernel: de0: address 00:00:f8:02:c5:5f Nov 11 15:28:24 shane /kernel: de0(phy5): model = NS DP83840 (supports media autonegotiation) Nov 11 15:28:24 shane /kernel: de0(phy5): media = 10baseT, Full Duplex 10baseT, 100baseTX, Full Duplex 100baseTX Nov 11 15:28:24 shane /kernel: de0(phy5): autonegotiation restarted: 0x3300 Nov 11 15:28:24 shane /kernel: bpf: de0 attached Nov 11 15:28:24 shane /kernel: chip0 rev 2 on pci0:7:0 Nov 11 15:28:25 shane /kernel: vendor = 0x8086, device = 0x122e Nov 11 15:28:25 shane /kernel: I/O Recovery Timing: 8-bit 8 clocks, 16-bit 4 clocks Nov 11 15:28:25 shane /kernel: Extended BIOS: disabled Nov 11 15:28:25 shane /kernel: Lower BIOS: disabled Nov 11 15:28:25 shane /kernel: Coprocessor IRQ13: enabled Nov 11 15:28:25 shane /kernel: Mouse IRQ12: disabled Nov 11 15:28:25 shane /kernel: Interrupt Routing: A: IRQ11, B: disabled, C: disabled, D: IRQ15 Nov 11 15:28:25 shane /kernel: MB0: disabled, MB1: disabled Nov 11 15:28:25 shane /kernel: chip1 rev 2 on pci0:7:1 Nov 11 15:28:25 shane /kernel: vendor = 0x8086, device = 0x1230 Nov 11 15:28:25 shane /kernel: map = 0xfff1, data = 0xfff1 Nov 11 15:28:25 shane /kernel: case 1,5: i/o addr = 0xfff0, size = 0x10 Nov 11 15:28:26 shane /kernel: mapreg[20] type=1 addr=0000fff0 size=0010. Nov 11 15:28:26 shane /kernel: I/O Base Address: %#lx Nov 11 15:28:26 shane /kernel: Primary IDE: disabled Nov 11 15:28:26 shane /kernel: Secondary IDE: disabled Nov 11 15:28:26 shane /kernel: chip2 rev 2 on pci0:0 Nov 11 15:28:26 shane /kernel: vendor = 0x8086, device = 0x122d Nov 11 15:28:26 shane /kernel: CPU Inactivity timer: clocks Nov 11 15:28:26 shane /kernel: Peer Concurrency: enabled Nov 11 15:28:26 shane /kernel: CPU-to-PCI Write Bursting: enabled Nov 11 15:28:26 shane /kernel: PCI Streaming: enabled Nov 11 15:28:26 shane /kernel: Bus Concurrency: enabled Nov 11 15:28:27 shane /kernel: Cache: 256K pipelined-burst secondary; L1 enabled Nov 11 15:28:27 shane /kernel: DRAM: no memory hole, 66 MHz refresh Nov 11 15:28:27 shane /kernel: Read burst timing: x-3-3-3/x-4-4-4 Nov 11 15:28:27 shane /kernel: Write burst timing: x-3-3-3 Nov 11 15:28:27 shane /kernel: RAS-CAS delay: 3 clocks Nov 11 15:28:27 shane /kernel: pci0: uses 16781440 bytes of memory from fe000000 upto ffbdffff. Nov 11 15:28:27 shane /kernel: pci0: uses 416 bytes of I/O space from f880 upto ffff. Nov 11 15:28:27 shane /kernel: Probing for devices on the ISA bus: Nov 11 15:28:27 shane /kernel: sc0 at 0x60-0x6f irq 1 on motherboard Nov 11 15:28:27 shane /kernel: sc0: VGA color <16 virtual consoles, flags=0x0> Nov 11 15:28:27 shane /kernel: ed0 not found at 0x320 Nov 11 15:28:28 shane /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa Nov 11 15:28:28 shane /kernel: sio0: type 16550A Nov 11 15:28:28 shane /kernel: mci0 at 0x2f8-0x2ff irq 3 on isa Nov 11 15:28:28 shane /kernel: mci0: type 16550A Nov 11 15:28:28 shane /kernel: sio2 not found at 0x3e8 Nov 11 15:28:28 shane /kernel: sio3 not found at 0x2e8 Nov 11 15:28:28 shane /kernel: lpt0 at 0x378-0x37f irq 7 on isa Nov 11 15:28:28 shane /kernel: lpt0: Interrupt-driven port Nov 11 15:28:28 shane /kernel: lp0: TCP/IP capable interface Nov 11 15:28:28 shane /kernel: bpf: lp0 attached Nov 11 15:28:28 shane /kernel: mse0: wrong signature ff Nov 11 15:28:28 shane /kernel: mse0 not found at 0x23c Nov 11 15:28:29 shane /kernel: wdog0 not found Nov 11 15:28:29 shane /kernel: wrote 0x1 to 0xf00dfff6 Nov 11 15:28:29 shane /kernel: wrote 0x80 to 0xf00dfff7 Nov 11 15:28:29 shane /kernel: 0xf00dfff1 = 0xff Nov 11 15:28:29 shane /kernel: 0xf00dfff1 = 0xff Nov 11 15:28:29 shane /kernel: S_TBUSY never went low Nov 11 15:28:29 shane /kernel: weather0 not found Nov 11 15:28:29 shane /kernel: power0 at 0x0 maddr 0xdfff0 msize 16 on isa Nov 11 15:28:29 shane /kernel: dled0 at 0x0 maddr 0xdfff0 msize 16 on isa Nov 11 15:28:29 shane /kernel: pled0 at 0x0 maddr 0xdfff0 msize 16 on isa Nov 11 15:28:30 shane /kernel: sysstat0 at 0x0 maddr 0xdfff0 msize 16 on isa Nov 11 15:28:30 shane /kernel: sercon0 at 0x0 maddr 0xdfff0 msize 16 on isa Nov 11 15:28:30 shane /kernel: smpte0 at 0x0 maddr 0xdfff0 msize 16 on isa Nov 11 15:28:30 shane /kernel: xilinx0 at 0x0 maddr 0xdfff0 msize 16 on isa Nov 11 15:28:30 shane /kernel: nvram0 not found Nov 11 15:28:30 shane /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa Nov 11 15:28:30 shane /kernel: fdc0: NEC 765 Nov 11 15:28:30 shane /kernel: fd0: 1.44MB 3.5in Nov 11 15:28:30 shane /kernel: fd1: 1.2MB 5.25in Nov 11 15:28:30 shane /kernel: ep0 not found at 0x320 Nov 11 15:28:30 shane /kernel: npx0 on motherboard Nov 11 15:28:30 shane /kernel: npx0: INT 16 interface Nov 11 15:28:31 shane /kernel: Device configuration finished. Nov 11 15:28:31 shane /kernel: Considering FFS root f/s. Nov 11 15:28:31 shane /kernel: changing root device to sd0a Nov 11 15:28:31 shane /kernel: Configuring root and swap devs. Nov 11 15:28:31 shane /kernel: configure() finished. Nov 11 15:28:31 shane /kernel: BIOS Geometries: Nov 11 15:28:31 shane /kernel: 0:03f13f20 0..1009=1010 cylinders, 0..63=64 heads, 1..32=32 sectors Nov 11 15:28:32 shane /kernel: 0 accounted for Nov 11 15:28:32 shane /kernel: bpf: lo0 attached Nov 11 15:28:32 shane /kernel: bpf: sl0 attached Nov 11 15:28:32 shane /kernel: bpf: tun0 attached