Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 May 1999 08:30:02 -0700 (PDT)
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/11018: detection of sc0 and atkbd fails
Message-ID:  <199905271530.IAA21937@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/11018; it has been noted by GNATS.

From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905271530.IAA21937>