Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Aug 1999 14:21:34 -0700 (PDT)
From:      Brian McGroarty <bvmcg@yahoo.com>
To:        Ron Klinkien <ron@zappa.demon.nl>, freebsd-current@freebsd.org
Subject:   Re: Problems with 4.0 keyboard input!
Message-ID:  <19990813212134.3021.rocketmail@web1002.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
I get the bktr device usurping its own cdevsw[] as well - I was
told it was "most likely" benign, so I've been waiting for
others' comments.

I also get the keyboard problem periodically, and I've been
trying to isolate just what I do to cause it. Generally, if I
reboot and don't hit a key before FreeBSD boots, it never
happens. If I tap enter to abort the countdown, the keyboard
scrambles perhaps one time in five.

Resetting seems to be the only remedy. This persists with two
different keyboard models and on unplugging and reinserting the
keyboard.


Copyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights
reserved.
FreeBSD 4.0-CURRENT #10: Fri Aug 13 07:02:32 CDT 1999
    bvmcg@milkymoo.newtoy.com:/usr/src/sys/compile/DOCENT
Timecounter "i8254"  frequency 1193182 Hz
CPU: Celeron (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
 
Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 536870912 (524288K bytes)
avail memory = 518422528 (506272K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc028f000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc028f09c.
Pentium Pro MTRR support enabled
Probing for PnP devices:
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on
motherboard
pci0: <PCI bus> on pcib0
WARNING: "bktr" is usurping "bktr"'s cdevsw[]
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device
1.0 on pci0
pci1: <PCI bus> on pcib1
vga-pci0: <NVidia Riva TNT graphics accelerator> irq 16 at
device 0.0 on pci1
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
ata-pci0: <Intel PIIX4 IDE controller> at device 7.1 on pci0
ata-pci0: Busmastering DMA supported
ata0 at 0x01f0 irq 14 on ata-pci0
ata1 at 0x0170 irq 15 on ata-pci0
chip1: <UHCI USB controller> at device 7.2 on pci0
chip2: <Intel 82371AB Power management controller> at device 7.3
on pci0
bktr0: <BrookTree 878> irq 16 at device 16.0 on pci0
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
smbus0: <System Management Bus> on bti2c0
Hauppauge Model 62471 A   
Hauppauge WinCast/TV, Philips FR1236 NTSC FM tuner, dbx stereo.
pci0: unknown card DD^0878 (vendor=0x109e, dev=0x0878) at 16.1
irq 16
pcm0: <AudioPCI ES1370> irq 18 at device 18.0 on pci0
pcm0: using I/O space register mapping at 0xef00
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> irq 19 at device
19.0 on pci0
fxp0: Ethernet address 00:90:27:18:a6:fa
xl0: <3Com 3c905B-TX Fast Etherlink XL> irq 16 at device 20.0 on
pci0
xl0: Ethernet address: 00:50:04:01:77:7b
xl0: autoneg complete, link status good (half-duplex, 100Mbps)
isa0: <ISA bus> on motherboard
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on
isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem
0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
IP packet filtering initialized, divert enabled, rule-based
forwarding disabled, logging disabled
SMP: AP CPU #1 Launched!
ata0: master: setting up UDMA2 mode on PIIX4 chip OK
ad0: <IBM-DTTA-371440/T71OA73A> ATA-4 disk at ata0 as master
ad0: 13783MB (28229040 sectors), 28005 cyls, 16 heads, 63 S/T,
512 B/S
ad0: piomode=4, dmamode=2, udmamode=2
ad0: 16 secs/int, 31 depth queue, DMA mode
ata0: slave: setting up UDMA2 mode on PIIX4 chip OK
ad1: <IBM-DJNA-372200/J71OA30K> ATA-4 disk at ata0 as slave 
ad1: 21557MB (44150400 sectors), 43800 cyls, 16 heads, 63 S/T,
512 B/S
ad1: piomode=4, dmamode=2, udmamode=2
ad1: 16 secs/int, 31 depth queue, DMA mode
ata1: master: setting up UDMA2 mode on PIIX4 chip OK
ad2: <IBM-DTTA-371440/T71OA73A> ATA-4 disk at ata1 as master
ad2: 13783MB (28229040 sectors), 28005 cyls, 16 heads, 63 S/T,
512 B/S
ad2: piomode=4, dmamode=2, udmamode=2
ad2: 16 secs/int, 31 depth queue, DMA mode
atapi: piomode=4, dmamode=2, udmamode=-1
ata1: slave: setting up WDMA2 mode on PIIX3/4 chip OK
atapi: DMA transfer mode set
acd0: <CRW6206A/1.2A> CDROM drive at ata1 as slave 
acd0: drive speed 344 - 1034KB/sec, 384KB cache, DMA
acd0: supported read types: CD-R, CD-RW, CD-DA, packet track
acd0: supported write types: CD-R, CD-RW, test write
acd0: Audio: play, 128 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked, lock protected




machine         i386
cpu             I686_CPU
ident           DOCENT
maxusers        32

#makeoptions    DEBUG=-g                #Build kernel with
gdb(1) debug symbols

options         INET
options         FFS
options         FFS_ROOT
options         CD9660
options         PROCFS
options         COMPAT_43
options         KTRACE
options         SYSVSHM                 #SYSV-style shared
memory
options         SYSVMSG                 #SYSV-style message
queues
options         SYSVSEM                 #SYSV-style semaphores

# To make an SMP kernel, the next two are needed
options         SMP
options         APIC_IO

controller      isa0
controller      pnp0                    # PnP support for ISA
controller      pci0

controller      fdc0    at isa? port IO_FD1 irq 6 drq 2
disk            fd0     at fdc0 drive 0

controller      ata0
device          atadisk0
device          atadisk1
device          atadisk2
device          atapicd0

controller      atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1
device          psm0    at atkbdc? irq 12

device          vga0    at isa? port ? conflicts

pseudo-device   splash

device          sc0     at isa?

options         XSERVER
options         FAT_CURSOR

device          npx0    at nexus? port IO_NPX irq 13

device          fxp0
device          xl0

pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   pty     16      # Pseudo-ttys (telnet etc)
pseudo-device   gzip            # Exec gzipped a.out's

pseudo-device   bpf     4       #Berkeley packet filter

options         IPDIVERT
options         IPFIREWALL

controller      smbus0
controller      iicbus0
controller      iicbb0
device          bktr0

device          pcm0

options         SOFTUPDATES


--- Ron Klinkien <ron@zappa.demon.nl> wrote:
> 
> Hello,
> 
> After building a few succesfull 4.0 releases (last cvsupped on
> 13 aug 99),
> the keyboard is acting very strange, i cannot login,
> i get only strange characters, and when I hit CTRL I get:
> 
> load: 0.04 cmd: login242 [ttyin] 0.01u 0.03s 0% 772K
> load: 0.04 cmd: login242 [ttyin] 0.01u 0.03s 0% 772K
> load: 0.04 cmd: login242 [ttyin] 0.01u 0.03s 0% 772K
> 
> 
> 
> Login through the network with telnet is no problem....
> 
> I also want to know what this means:
> 
> WARNING: "bktr" is usurping "bktr"'s cdevsw[]
> 
> It's my Brooktree video capture/tuner card
> 
> 
> This is my dmesg and config:
> 
> --- dmesg ---
> Copyright (c) 1992-1999 The FreeBSD Project.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> 	The Regents of the University of California. All rights
> reserved.
> FreeBSD 4.0-CURRENT #23: Fri Aug 13 22:15:49 CEST 1999
>     ron@zappa.demon.nl:/usr/src/sys/compile/MOON
> Timecounter "i8254"  frequency 1193182 Hz
> Timecounter "TSC"  frequency 334092770 Hz
> CPU: Pentium II/Xeon/Celeron (334.09-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x651  Stepping = 1
> 
>
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
> PAT,PSE36,MMX,FXSR>
> real memory  = 134205440 (131060K bytes)
> avail memory = 127098880 (124120K bytes)
> Preloaded elf kernel "kernel" at 0xc02e2000.
> VESA: v2.0, 4096k memory, flags:0x1, mode table:0xc028c1e2
> (1000022)
> VESA: Matrox Graphics Inc.
> Pentium Pro MTRR support enabled
> Probing for PnP devices:
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on
> motherboard
> pci0: <PCI bus> on pcib0
> WARNING: "bktr" is usurping "bktr"'s cdevsw[]
> pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device
> 1.0 on pci0
> pci1: <PCI bus> on pcib1
> vga-pci0: <Matrox model 051f graphics accelerator> irq 10 at
> device 0.0 on
> pci1
> isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
> chip1: <Intel PIIX4 IDE controller> at device 4.1 on pci0
> chip2: <UHCI USB controller> at device 4.2 on pci0
> chip3: <Intel 82371AB Power management controller> at device
> 4.3 on pci0
> bktr0: <BrookTree 848A> irq 14 at device 10.0 on pci0
> iicbb0: <I2C generic bit-banging driver> on bti2c0
> iicbus0: <Philips I2C bus> on iicbb0 master-only
> smbus0: <System Management Bus> on bti2c0
> Miro TV, Temic PAL tuner.
> xl0: <3Com 3c905-TX Fast Etherlink XL> irq 15 at device 11.0
> on pci0
> xl0: Ethernet address: 00:60:08:3e:74:63
> xl0: autoneg complete, link status good (half-duplex, 10Mbps)
> ncr0: <ncr 53c875 fast20 wide scsi> irq 10 at device 12.0 on
> pci0
> isa0: <ISA bus> on motherboard
> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on
> isa0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on
> isa0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: model Generic PS/2 mouse, device ID 0
> vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem
> 0xa0000-0xbffff on isa0
> sc0: <System console> on isa0
> sc0: VGA <16 virtual consoles, flags=0x200>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A
> ppc0 at port 0x378-0x37f irq 7 flags 0x40 on isa0
> ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
> lpt0: <generic printer> on ppbus 0
> lpt0: Interrupt-driven port
> isic0 at port 0xf80 iomem 0xd0000-0xd0fff irq 5 flags 0x2 on
> isa0
> isic0: Teles S0/16, Creatix ISDN S0-16 or Niccy 1016
> isic0: ISAC 2085 Version V2.3 (B3) (IOM-1) (Addr=0xc00d0100)
> isic0: HSCX 82525 or 21525 Version 2.1 (AddrA=0xc00d0180,
> AddrB=0xc00d01c0)
> Checking for GUS Plug-n-Play ...
> No Plug-n-Play devices were found
> gus0 at port 0x220 irq 11 drq 1 flags 0x3 on isa0
> snd0: <GUS PNP (CS4231A)> snd0: <Gravis PNP (1024k)>
> i4b: ISDN call control device attached
> i4bisppp: 1 ISDN SyncPPP device(s) attached
> i4bctl: ISDN system control port attached
> i4bipr: 4 IP over raw HDLC ISDN device(s) attached (VJ header
> compression)
> i4btel: 2 ISDN telephony interface device(s) attached
> i4brbch: 4 raw B channel access device(s) attached
> i4btrc: 4 ISDN trace device(s) attached
> changing root device to da0s1a
> da0 at ncr0 bus 0 target 0 lun 0
> da0: <SEAGATE ST34371W SUN4.2G 7462> Fixed Direct Access
> SCSI-2 device
> da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit),
> Tagged Queueing
> Enabled
> da0: 4094MB (8385121 512 byte sectors: 255H 63S/T 521C)
> cd0 at ncr0 bus 0 target 6 lun 0
> cd0: <PLEXTOR CD-ROM PX-12TS 1.01> Removable CD-ROM SCSI-2
> device
> cd0: 10.000MB/s transfers (10.000MHz, offset 15)
> cd0: Attempt to query device size failed: NOT READY, Medium
> not present
> --------
> 
> 
> --- CONFIG ----
> #
> # MOON -- Kernel configuration for my FreeBSD server.
> #
> #	$Id: MOON,v 1.000.0.00 1999/08/09 17:12:26 ronk Exp $
> 
> machine		"i386"
> cpu		"I686_CPU"
> ident		MOON
> maxusers	64
> 
> options		INET			#InterNETworking
> options		FFS			#Berkeley Fast Filesystem
> options		FFS_ROOT		#FFS usable as root device [keep this!]
> options		MSDOSFS			#MSDOS Filesystem
> options		CD9660			#ISO 9660 Filesystem
> options		PROCFS			#Process filesystem
> options		COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
> options		SCSI_DELAY=1000		#Be pessimistic about Joe SCSI
> device
> options		UCONSOLE		#Allow users to grab the console
> options		USERCONFIG		#boot -c editor
> options		VISUAL_USERCONFIG	#visual boot -c editor
> 
> # System bus
> controller	isa0
> controller	pnp0
> controller	pci0
> 
> # Floppy controller
> controller	fdc0	at isa? port "IO_FD1" irq 6 drq 2
> disk		fd0	at fdc0 drive 0
> 
> # Scsi controller
> controller	ncr0
> controller	scbus0
> device		da0
> device		sa0
> device		pass0
> device		cd0	#Only need one of these, the code dynamically
> grows
> 
> # Keyboard & PS/2 mouse
> controller	atkbdc0	at isa? port IO_KBD
> device		atkbd0	at atkbdc? irq 1
> device		psm0	at atkbdc? irq 12
> 
> # Display
> device		vga0	at isa? port ? conflicts
> pseudo-device	splash
> # The following option probably won't work with the LCD
> displays.
> options         VGA_WIDTH90             # support 90 column
> modes
> 
> # To include support for VESA video modes
> options         VESA
> 
> # Console
> device          sc0     at isa?
> options         MAXCONS=16              # number of virtual
> consoles
> options         SC_HISTORY_SIZE=200     # number of history
> buffer lines
> options         SC_DISABLE_REBOOT       # disable reboot key
> sequence
> 
> device          npx0    at nexus? port IO_NPX flags 0x0 irq 13
> 
> # Serial ports
> device		sio0	at isa? port "IO_COM1" flags 0x10 irq 4
> device		sio1	at isa? port "IO_COM2" irq 3
> 
> # Parallel port
> controller	ppbus0
> device          ppc0    at isa? port? flags 0x40 irq 7
> device		lpt0
> 
> # Ethernet NIC
> device xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
> 
> # Misc device
> pseudo-device   ether	#Generic Ethernet
> pseudo-device   loop	#Network loopback device
> pseudo-device   pty	#Pseudo ttys
> pseudo-device   gzip	#Exec gzipped a.out's
> pseudo-device   sppp	#Generic Synchronous PPP
> 
> # System V shared memory and message queues.
> options		SYSVSHM
> options		SYSVMSG
> options		SYSVSEM
> 
> options SHMMAXPGS=10000
> options SHMMNI=100
> options SHMSEG=10
> options SEMMNS=200
> options SEMMNI=70
> options SEMMSL=61
> 
> # Soft updates
> options		SOFTUPDATES
> 
> # Teles S0/16 or Creatix ISDN-S0 or Niccy 1016
> options "TEL_S0_16"
> device isic0 at isa? port 0xf80 iomem 0xd0000 irq 5 flags 2
> 
> # ISDN Protocol Stack
> # -------------------
> #
> # Q.921 / layer 2 - i4b passive cards D channel handling
> pseudo-device   "i4bq921"
> #
> # Q.931 / layer 3 - i4b passive cards D channel handling
> pseudo-device   "i4bq931"
> #
> # layer 4 - i4b common passive and active card handling
> pseudo-device   "i4b"
> 
> #
> # ISDN devices
> # ------------
> #
> # userland driver to do ISDN tracing (for passive cards only)
> pseudo-device   "i4btrc"        4
> #
> # userland driver to control the whole thing
> pseudo-device   "i4bctl"
> #
> # userland driver for access to raw B channel
> pseudo-device   "i4brbch"       4
> #
> # userland driver for telephony
> pseudo-device   "i4btel"        2
> #
> # network driver for IP over raw HDLC ISDN
> pseudo-device   "i4bipr"        4
> # enable VJ header compression detection for ipr i/f
> options         IPR_VJ
> #
> # network driver for sync PPP over ISDN
> pseudo-device   "i4bisppp"
> 
> # Gravis Ultrasound
> controller      snd0
> device gus0 at isa? port 0x220 irq 11 drq 1 flags 0x3
> 
> # Brooktree driver has been ported to the new I2C framework.
> Thus,
> # you'll need to have the following 3 lines in the kernel
> config.
> #     controller smbus0
> #     controller iicbus0
> #     controller iicbb0
> # The iic and smb devices are only needed if you want to
> control other
> # I2C slaves connected to the external connector of some
> cards.
> #
> device	bktr0
> controller smbus0
> controller iicbus0
> controller iicbb0
> 
> 
> 
> -----
> 
> Thanks...
> 
> Ron.
> 
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 
> 

_________________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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