From owner-freebsd-bugs Thu May 27 8:30: 7 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 60257158BE for ; Thu, 27 May 1999 08:30:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA21937; Thu, 27 May 1999 08:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Thu, 27 May 1999 08:30:02 -0700 (PDT) Message-Id: <199905271530.IAA21937@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Kazutaka YOKOTA Subject: Re: kern/11018: detection of sc0 and atkbd fails Reply-To: Kazutaka YOKOTA Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/11018; it has been noted by GNATS. From: Kazutaka YOKOTA To: freebsd-gnats-submit@freebsd.org Cc: yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: kern/11018: detection of sc0 and atkbd fails Date: Fri, 28 May 1999 00:25:04 +0900 Are you sure that the system doesn't work without your suggested work around? Guessing from the error messages you described, I suspect that when your initial custom kernel failed, it was compiled with the following wrong declarations: controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty [...] device sc0 at isa? tty irq 1 "irq 1" should be associated with atkbd0 rather than sc0. Your kernel configuration file attached to the problem report has correct declarations: controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 [...] device sc0 at isa? tty Therefore, I expect they should work... Please compile a kernel without unecessary fe and ep devices and see if atkbd and sc are recognized. Kazu yokota@FreeBSD.ORG >detection of sc0 and atkbd fails [...] >Originator > Walter Belgers walter@giga.mpn.cp.philips.com >Release > FreeBSD 3.1-RELEASE i386 >Organization > > Origin > >Environment [...] >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: [...] > 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 [...] >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). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message