From owner-freebsd-bugs Thu Apr 8 0:12: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 107C815891 for ; Thu, 8 Apr 1999 00:12:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id AAA26379; Thu, 8 Apr 1999 00:10:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from gw-nl3.philips.com (gw-nl3.philips.com [192.68.44.35]) by hub.freebsd.org (Postfix) with ESMTP id DFF1D15888 for ; Thu, 8 Apr 1999 00:08:37 -0700 (PDT) (envelope-from Walter.Belgers@nl.cis.philips.com) Received: from smtprelay-nl1.philips.com (localhost.philips.com [127.0.0.1]) by gw-nl3.philips.com with ESMTP id JAA06784 for ; Thu, 8 Apr 1999 09:06:37 +0200 (MEST) (envelope-from Walter.Belgers@nl.cis.philips.com) Received: from smtprelay-eur1.philips.com(130.139.36.3) by gw-nl3.philips.com via mwrap (4.0a) id xma006781; Thu, 8 Apr 99 09:06:37 +0200 Received: from giga.mpn.cp.philips.com (giga.mpn.cp.philips.com [130.139.64.107]) by smtprelay-nl1.philips.com (8.9.3/8.6.10-1.2.2m-970826) with ESMTP id JAA24518 for ; Thu, 8 Apr 1999 09:06:34 +0200 (MET DST) Received: by giga.mpn.cp.philips.com (Postfix, from userid 399) id 13B8B33; Thu, 8 Apr 1999 09:06:34 +0200 (CEST) Message-Id: <19990408070634.13B8B33@giga.mpn.cp.philips.com> Date: Thu, 8 Apr 1999 09:06:34 +0200 (CEST) From: Walter.Belgers@nl.cis.philips.com Reply-To: walter@giga.mpn.cp.philips.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/11018: kern Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 11018 >Category: kern >Synopsis: detection of sc0 and atkbd fails >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 8 00:10:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Walter Belgers >Release: FreeBSD 3.1-RELEASE i386 >Organization: Origin >Environment: 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 #3: Wed Apr 7 11:16:44 CEST 1999 walter@giga.mpn.cp.philips.com:/home1/usr.src/sys/compile/GIGA Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 200455406 Hz CPU: Pentium/P55C (200.46-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping=3 Features=0x8001bf real memory = 67108864 (65536K bytes) avail memory = 62263296 (60804K bytes) Preloaded elf kernel "kernel" at 0xf02cf000. Probing for devices on PCI bus 0: chip0: rev 0x01 on pci0.0.0 de0: rev 0x30 int a irq 11 on pci0.3.0 de0: DEC 21143 [10-100Mb/s] pass 3.0 (invalid EESP ROM checksum) de0: address 00:00:f8:d0:80:72 chip1: rev 0x01 on pci0.7.0 ide_pci0: rev 0x01 on pci0.7.1 chip2: rev 0x01 on pci0.7.3 vga0: rev 0x01 int a irq 9 on pci0.9.0 ncr0: rev 0x11 int a irq 10 on pci0.17.0 de1: rev 0x30 int a irq 15 on pci0.18.0 de1: DEC DE500-BA 21143 [10-100Mb/s] pass 3.0 de1: address 00:00:f8:1f:96:95 Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x280 fe0 not found at 0x300 atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 sio1 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio1: type 16550A pca0 on motherboard pca0: PC speaker audio driver 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): wd0: 515MB (1056384 sectors), 1048 cyls, 16 heads, 63 S/T, 512 B/S ppc0 at 0x378 irq 7 on isa ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode nlpt0: on ppbus 0 nlpt0: Interrupt-driven port ppi0: on ppbus 0 plip0: on ppbus 0 1 3C5x9 board(s) on ISA found at 0x300 ep0 at 0x300-0x30f irq 10 on isa ep0: aui/utp/bnc[*UTP*] address 00:a0:24:a2:72:e9 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface sb0 at 0x220 irq 5 drq 3 on isa snd0: sbxvi0 not probed due to drq conflict with sb0 at 3 sbmidi0 not found at 0x330 opl0 not found at 0x388 Intel Pentium detected, installing workaround for F00F bug Waiting 2 seconds for SCSI devices to settle de1: enabling 10baseT port de0: enabling 10baseT port sa0 at ncr0 bus 0 target 5 lun 0 sa0: Removable Sequential Access SCSI-CCS device sa0: 3.300MB/s transfers da0 at ncr0 bus 0 target 6 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 10.0MB/s transfers (10.0MHz, offset 8), Tagged Queueing Enabled da0: 4148MB (8496884 512 byte sectors: 255H 63S/T 528C) changing root device to wd0s1a de0: enabling 10baseT port de1: enabling 10baseT port >Description: When compiling a custom kernel, I get errors on sc0 and atkdb0, making the keyboard useless. I have no screendump, but errors I saw were sc0: irq with no handler and something like atkbd not probed due to irq conflict with sc0 >How-To-Repeat: On my system, use this custom kernel config and boot the kernel: machine "i386" cpu "I586_CPU" ident GIGA maxusers 64 options "MAXDSIZ=(256*1024*1024)" options "DFLDSIZ=(256*1024*1024)" options "CPU_FASTER_5X86_FPU" options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options NFS #Network Filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options UCONSOLE #Allow users to grab the console config kernel root on wd0 controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 controller wdc0 at isa? port "IO_WD1" bio irq 14 disk wd0 at wdc0 drive 0 options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM controller ncr0 controller scbus0 device da0 device sa0 device pass0 device cd0 #Only need one of these, the code dynamically grows controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device psm0 at isa? tty irq 12 device vga0 at isa? port ? conflicts pseudo-device splash device sc0 at isa? tty device npx0 at isa? port IO_NPX irq 13 device sio1 at isa? port "IO_COM1" flags 0x10 tty irq 4 device ppc0 at isa? port? net irq 7 controller ppbus0 device nlpt0 at ppbus? device plip0 at ppbus? device ppi0 at ppbus? device de0 device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 pseudo-device loop pseudo-device ether pseudo-device speaker pseudo-device vn 2 pseudo-device snp 3 pseudo-device sl 1 pseudo-device ppp 1 pseudo-device tun 2 pseudo-device pty 48 pseudo-device gzip # Exec gzipped a.out's options KTRACE #kernel tracing options SYSVSHM options SYSVMSG options SYSVSEM pseudo-device bpfilter 4 #Berkeley packet filter controller snd0 device sb0 at isa? port 0x220 irq5 conflicts drq3 device sbxvi0 at isa? drq 3 device sbmidi0 at isa? port 0x330 device opl0 at isa? port 0x388 device pca0 at isa? port IO_TIMER1 tty options MROUTING # multicast routing options NSWAPDEV=20 options SCSI_REPORT_GEOMETRY options "MD5" options "VM86" options PERFMON options "AUTO_EOI_1" options COMPAT_LINUX options SCSI_NCR_DEBUG options SCSI_NCR_DFLT_TAGS=4 options SCSI_NCR_MAX_SYNC=10000 >Fix: Actually, workaround. Add this to the kernel config: device ep0 at isa? port 0x300 net irq 10 device fe0 at isa? port 0x300 net irq ? These get probed (but are not found) between sc0 and atkdb0. This fixes the problem (see dmesg output on top). >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message