From owner-freebsd-smp Sat Sep 29 8: 4:59 2001 Delivered-To: freebsd-smp@freebsd.org Received: from digitaldaemon.com (digitaldaemon.com [63.105.9.34]) by hub.freebsd.org (Postfix) with SMTP id EF73E37B401 for ; Sat, 29 Sep 2001 08:04:38 -0700 (PDT) Received: (qmail 15687 invoked from network); 29 Sep 2001 15:03:20 -0000 Received: from 213-84-202-101.adsl.xs4all.nl (HELO jak.nl) (213.84.202.101) by jak.nl with SMTP; 29 Sep 2001 15:03:20 -0000 Message-ID: <3BB5E34A.40001@jak.nl> Date: Sat, 29 Sep 2001 17:05:46 +0200 From: Arjan Knepper Organization: JAK++ Software Development B.V. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Bruce@FreeBSD.ORG, Evans@FreeBSD.ORG Cc: freebsd-smp Subject: Re: Problems with accessing ports on multiple Cyclades YeP cards References: <20010928222423.J53717-100000@delplex.bde.org> <3BB487F5.3070602@jak.nl> Content-Type: multipart/mixed; boundary="------------030807050300010301050302" Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------030807050300010301050302 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit In the meanwhile I have updated the second machine to FreeBSD-4.4-STABLE as well. I have build two kernels both without support for the second serial port (sio1) parallele port (ppc) and also have disabled those in the bios. The system has 2 Cyclades YeP (PCI) boards and the kernel support both device with device cy0 and device cy1. options CY_PCI_FASTINTR is ENABLED. - Booting the SINGLE proc kernel locks-up just after the detection of the first YeP (cy0) line: cy0: port 0xec80-0xecff mem 0xfe104000-0xfe107fff,0xfe109400-0xfe10947f irq 11 at device 4.0 on pci0 - Booting the SINGLE proc kernel with the scsi-cable to the expansion boards of the cy0 disconnected does NOT lock-up. The board-ports are accessable through /dev/cuac00 to /dev/cuac0v eventhough the first board (cy0) has no ports connected. - The DUAL kernel boots without problems detects and connects both cy adapters and ports. But when I try to access the first boards-ports (cy0) with cu there is no response from the ports. Disconnecting the ports works ok. The second board-ports are accessable and work ok. When I connect a modem to one of the first board-ports and try to conversate with the modem using cu -l /dev/cuac0f the DTR-light of the modem lights up. I turns off as soon a I exit cu. I have switched the pci-boards and expansion=boards but still got the same results. Does anyone have a clue or pointer? TIA Arjan Knepper --------------030807050300010301050302 Content-Type: text/plain; name="dmesg-v_dual.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg-v_dual.txt" Copyright (c) 1992-2001 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.4-STABLE #2: Sat Sep 29 16:16:22 CEST 2001 arjan@fax2.teledirekt.nl:/usr/src/sys/compile/DELL_PE_2550 Calibrating clock(s) ... TSC clock: 930941130 Hz, i8254 clock: 1193161 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 III/Pentium III Xeon/Celeron (930.96-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383fbff real memory = 536805376 (524224K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00352000 - 0x1ffe7fff, 533291008 bytes (130198 pages) config> q avail memory = 519098368 (506932K bytes) Changing APIC ID for IO APIC #0 from 0 to 2 on chip Changing APIC ID for IO APIC #1 from 0 to 3 on chip Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 16 pins in IOAPIC #1 SMP: CPU0 apic_initialize(): lint0: 0x00000700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x000f0011, at 0xfec00000 io1 (APIC): apic id: 3, version: 0x000f0011, at 0xfec01000 bios32: Found BIOS32 Service Directory header at 0xc00ffe80 bios32: Entry = 0xffe90 (c00ffe90) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xc73e pnpbios: Found PnP BIOS data at 0xc00fe2d0 pnpbios: Entry = f0000:e2f4 Rev = 1.0 Other BIOS signatures found: ACPI: 000fdc80 Preloaded elf kernel "kernel" at 0xc0328000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03280a8. Pentium Pro MTRR support enabled md0: Malloc disk Creating DISK md0 SMP: CPU0 bsp_apic_configure(): lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000010 SVR: 0x000001ff pci_open(1): mode 1 addr port (0x0cf8) is 0x80000270 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=00081166) Using $PIR table, 8 entries at 0xc00fc270 pcib-: pcib0 exists, using next available unit number pcib-: pcib1 exists, using next available unit number npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard found-> vendor=0x1166, dev=0x0008, revid=0x23 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1166, dev=0x0008, revid=0x01 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1166, dev=0x0006, revid=0x01 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1166, dev=0x0006, revid=0x01 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 IOAPIC #1 intpin 6 -> irq 2 Freeing (NOT implemented) redirected PCI irq 11. found-> vendor=0x120e, dev=0x0101, revid=0x01 class=07-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=2 map[10]: type 1, range 32, base fe109400, size 7 map[14]: type 1, range 32, base 0000ec80, size 7 map[18]: type 1, range 32, base fe104000, size 14 IOAPIC #1 intpin 2 -> irq 3 Freeing (NOT implemented) redirected PCI irq 10. found-> vendor=0x120e, dev=0x0101, revid=0x01 class=07-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=3 map[10]: type 1, range 32, base fe109000, size 7 map[14]: type 1, range 32, base 0000ec00, size 7 map[18]: type 1, range 32, base fe100000, size 14 found-> vendor=0x1002, dev=0x4752, revid=0x27 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base fd000000, size 24 map[14]: type 1, range 32, base 0000e800, size 8 map[18]: type 1, range 32, base fe108000, size 12 found-> vendor=0x1166, dev=0x0200, revid=0x50 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1166, dev=0x0211, revid=0x00 class=01-01-8a, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 000008b0, size 4 pci0: on pcib0 cy0: port 0xec80-0xecff mem 0xfe104000-0xfe107fff,0xfe109400-0xfe10947f irq 2 at device 4.0 on pci0 cy0: driver is using old-style compatibility shims cy1: port 0xec00-0xec7f mem 0xfe100000-0xfe103fff,0xfe109000-0xfe10907f irq 3 at device 8.0 on pci0 cy1: driver is using old-style compatibility shims pci0: (vendor=0x1002, dev=0x4752) at 14.0 isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: port 0x8b0-0x8bf at device 15.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x08b0 ata0: mask=03 status0=50 status1=01 ata0: mask=03 ostat0=50 ostat2=01 ata0-master: ATAPI probe a=14 b=eb ata0-slave: ATAPI probe a=14 b=eb ata0: mask=03 status0=00 status1=01 ata0: devices=0c ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x08b8 ata1: mask=00 status0=ff status1=ff ata1: probe allocation failed pcib2: on motherboard found-> vendor=0x8086, dev=0x0962, revid=0x02 class=06-04-00, hdrtype=0x01, mfdev=1 subordinatebus=3 secondarybus=3 IOAPIC #1 intpin 0 -> irq 5 Freeing (NOT implemented) redirected PCI irq 7. found-> vendor=0x8086, dev=0x1229, revid=0x08 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=5 map[10]: type 1, range 32, base feb00000, size 12 map[14]: type 1, range 32, base 0000ccc0, size 6 map[18]: type 1, range 32, base fe700000, size 20 pci2: on pcib2 pcib4: at device 2.0 on pci2 IOAPIC #1 intpin 15 -> irq 7 Freeing (NOT implemented) redirected PCI irq 5. found-> vendor=0x9005, dev=0x00cf, revid=0x01 class=01-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=7 map[10]: type 1, range 32, base 0000dc00, size 8 map[14]: type 1, range 64, base fe9ff000, size 12 IOAPIC #1 intpin 14 -> irq 10 Freeing (NOT implemented) redirected PCI irq 3. found-> vendor=0x9005, dev=0x00cf, revid=0x01 class=01-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=b, irq=10 map[10]: type 1, range 32, base 0000d800, size 8 map[14]: type 1, range 64, base fe9fe000, size 12 pci3: on pcib4 ahc0: port 0xdc00-0xdcff mem 0xfe9ff000-0xfe9fffff irq 7 at device 4.0 on pci3 ahc0: Reading SEEPROM...done. ahc0: Manual LVD Termination ahc0: BIOS eeprom is present ahc0: Secondary High byte termination Enabled ahc0: Secondary Low byte termination Enabled ahc0: Primary Low Byte termination Enabled ahc0: Primary High Byte termination Enabled ahc0: Downloading Sequencer Program... 419 instructions downloaded aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs ahc1: port 0xd800-0xd8ff mem 0xfe9fe000-0xfe9fefff irq 10 at device 4.1 on pci3 ahc1: Reading SEEPROM...done. ahc1: Manual LVD Termination ahc1: BIOS eeprom is present ahc1: Secondary High byte termination Enabled ahc1: Secondary Low byte termination Enabled ahc1: Primary Low Byte termination Enabled ahc1: Primary High Byte termination Enabled ahc1: Downloading Sequencer Program... 419 instructions downloaded aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs fxp0: port 0xccc0-0xccff mem 0xfe700000-0xfe7fffff,0xfeb00000-0xfeb00fff irq 5 at device 4.0 on pci2 fxp0: using memory space register mapping fxp0: Ethernet address 00:06:5b:04:5b:04 fxp0: PCI IDs: 8086 1229 1028 009b 0008 fxp0: Chip Type: 0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bpf: fxp0 attached pcib1: on motherboard pci1: on pcib1 pci-: pci3 exists, using next available unit number pcib3: on motherboard pci4: on pcib3 Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: