On Tue, 14 Dec 1999, Kazutaka YOKOTA wrote:

> 
> >I have two systems, both now running 3.4-RC (built from the most recent
> >source I had via CTM a couple of hours ago).  I also have two very similar
> >mice.  However:
> [...]
> >system1 is a Gigabyte 71X Athlon motherboard (AMD chipset)
> >system2 is a PC-Chips socket-7 motherboard (SiS chipset)
> >
> >mouse1 is a MouseSystems M5 PS/2 optical mouse (model 403011-001)
> >mouse2 is a MouseSystems type 2544 PS/2 optical mouse (model 404273-001)
> >Both have been in use for some time on FreeBSD 2.2 systems (the main
> >difference between mouse1 and mouse2 is that mouse1 cost about 4 times as
> >much and has slightly better buttons!).
> 
> When you were running FreeBSD 2.2, were you using the above
> motherboards?

No, system 1 is brand-new (when upgrading from 2.2 to 3.x I replaced the
whole machine, just keeping the kbd/mouse/screen).

I just tried booting a 2.2.8-RELEASE CD in the problem machine, and it
didn't detect psm0 either, so this is a red herring.

I then went looking for a hardware problem.  I thought I was onto
something when I measured the +5V on-load voltage at the PS/2
keyboard/mouse ports as only 4.71V: this motherboard seems to have a
high-resistance fuse.  However, soldering a wire to bypass the fuse gave
me a solid 5.01V but no change in the behaviour.

I suppose I ought to try installing Windows and see if the mouse works
there, though that will take some time as this is currently an all-SCSI
machine.


> >System1/Mouse1:
> [...]
> >psm0: current command byte:0047
> >kbdc: TEST_AUX_PORT status:0000
> >kbdc: RESET_AUX return code:00fa
> >kbdc: RESET_AUX status:ffffffff
> >kbdc: DIAGNOSE status:0055
> >kbdc: TEST_KBD_PORT status:0000
> >psm0: failed to reset the aux device.
> >psm0 not found
> 
> Do you by any chance use any console switch?  We may have a timing
> problem here.  Would you send us the full dmesg output?

I do not have a switch: the mouse is plugged directly into the motherboard
mouse port.  Full dmesg output is attached.

> In the meantime, try adding the following options in your kernel
> configuration file.
> 
> options KBDIO_MAXWAIT 10
> 
> The default value is 5.  Increase the value if your mouse is not still
> recognized.

I assume you mean "options KBD_MAXWAIT=10" ?

I tried this, but it had no effect.  I also tried other values, including:

options     KBD_MAXWAIT=10
options     KBD_RESETDELAY=1000
options     KBD_MAXRETRY=10

but again no obvious effect (other than a noticeable delay at that point
in the boot sequence).

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.4-RC #7: Wed Dec 15 00:46:57 GMT 1999
    [EMAIL PROTECTED]:/usr/src/sys/compile/ROCKET
Calibrating clock(s) ... TSC clock: 598896444 Hz, i8254 clock: 1193301 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: AMD-K7(tm) Processor (598.84-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x612  Stepping = 2
  Features=0x81f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,MMX>
  AMD Features=0xc0400000<<b22>,<b30>,3DNow!>
Data TLB: 24 entries, fully associative
Instruction TLB: 16 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L2 internal cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
real memory  = 134217728 (131072K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x002e8000 - 0x07ff5fff, 131129344 bytes (32014 pages)
avail memory = 127516672 (124528K bytes)
Found BIOS32 Service Directory header at 0xc00fafc0
Entry = 0xfb430 (0xc00fb430)  Rev = 0  Len = 1
PCI BIOS entry at 0xb460
SMIBIOS header at 0xc00f5040
Version 2.1
Table at 0xf0800, 39 entries, 958 bytes, largest entry 74 bytes
DMI header at 0xc00f5050
Version 2.1
Table at 0xf0800, 39 entries, 958 bytes
Other BIOS signatures found:
ACPI: 00000000
$PnP: 000fc0a0
Preloaded elf kernel "kernel" at 0xc02cf000.
VESA: information block
56 45 53 41 00 02 00 01 00 01 00 00 00 00 22 00 
00 01 80 00 00 01 0b 01 00 01 21 01 00 01 2a 01 
00 01 00 01 01 01 10 01 11 01 12 01 03 01 13 01 
14 01 15 01 05 01 16 01 17 01 18 01 07 01 19 01 
VESA: 3 mode(s) found
Pentium Pro MTRR support enabled
Math emulator present
pci_open(1):    mode 1 addr port (0x0cf8) is 0x80003840
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=80] is there (id=70061022)
Probing for devices on PCI bus 0:
found-> vendor=0x1022, dev=0x7006, revid=0x23
        class=06-00-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
        map[0]: type 3, range 32, base d8000000, size 26
        map[1]: type 3, range 32, base e3101000, size 12
        map[2]: type 4, range 32, base 0000e000, size  2
chip0: <Host to PCI bridge (vendor=1022 device=7006)> rev 0x23 on pci0.0.0
found-> vendor=0x1022, dev=0x7007, revid=0x01
        class=06-04-00, hdrtype=0x01, mfdev=1
        subordinatebus=1        secondarybus=1
chip1: <PCI to PCI bridge (vendor=1022 device=7007)> rev 0x01 on pci0.1.0
found-> vendor=0x1022, dev=0x7408, revid=0x01
        class=06-01-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
chip2: <PCI to ISA bridge (vendor=1022 device=7408)> rev 0x01 on pci0.7.0
found-> vendor=0x1022, dev=0x7409, revid=0x03
        class=01-01-8a, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        map[0]: type 4, range 32, base 0000f000, size  4
found-> vendor=0x1022, dev=0x740b, revid=0x03
        class=06-80-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
chip3: <PCI to 0x80 bridge (vendor=1022 device=740b)> rev 0x03 on pci0.7.3
found-> vendor=0x1022, dev=0x740c, revid=0x06
        class=0c-03-10, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=d, irq=11
        map[0]: type 1, range 32, base e3102000, size 12
found-> vendor=0x109e, dev=0x036e, revid=0x02
        class=04-00-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
        intpin=a, irq=9
        map[0]: type 3, range 32, base e3105000, size 12
bktr0: <BrookTree 878> rev 0x02 int a irq 9 on pci0.8.0
bti2c0: <bt848 Hard/Soft I2C controller>
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicbus: iic devclass not found
smbus0: <System Management Bus> on bti2c0
smbus: smb devclass not found
brooktree0: PCI bus latency is 32.
bktr0: buffer size 3555328, addr 0x5000000
bktr: GPIO is 0x00ffffdb
subsytem 0x0070 0x13eb
bktr0: Hauppauge Model 61324 D229
bktr0: Detected a MSP3415D-A2 at 0x80
Hauppauge WinCast/TV, Philips PAL I tuner, msp3400c stereo, remote control.
found-> vendor=0x109e, dev=0x0878, revid=0x02
        class=04-80-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
        intpin=a, irq=9
        map[0]: type 3, range 32, base e3108000, size 12
found-> vendor=0x8086, dev=0x1229, revid=0x08
        class=02-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=5
        map[0]: type 1, range 32, base e3100000, size 12
        map[1]: type 4, range 32, base 0000e400, size  6
        map[2]: type 1, range 32, base e3000000, size 20
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x08 int a irq 5 on pci0.9.0
fxp0: Ethernet address 00:90:27:c1:e1:34
bpf: fxp0 attached
found-> vendor=0x1000, dev=0x000c, revid=0x01
        class=01-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=10
        map[0]: type 4, range 32, base 0000e800, size  8
        map[1]: type 1, range 32, base e3103000, size  8
        map[2]: type 1, range 32, base e3104000, size 12
ncr0: <ncr 53c895 fast40 wide scsi> rev 0x01 int a irq 10 on pci0.10.0
ncr0: minsync=10, maxsync=137, maxoffs=31, 128 dwords burst, large dma fifo
ncr0: single-ended, open drain IRQ driver, using on-chip SRAM
found-> vendor=0x1000, dev=0x000f, revid=0x03
        class=01-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=11
        map[0]: type 4, range 32, base 0000ec00, size  8
        map[1]: type 1, range 32, base e3106000, size  8
        map[2]: type 1, range 32, base e3107000, size 12
ncr1: <ncr 53c875 fast20 wide scsi> rev 0x03 int a irq 11 on pci0.11.0
ncr1: minsync=12, maxsync=137, maxoffs=16, 128 dwords burst, large dma fifo
ncr1: single-ended, open drain IRQ driver, using on-chip SRAM
Probing for devices on PCI bus 1:
found-> vendor=0x1002, dev=0x4742, revid=0x5c
        class=03-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=5
        map[0]: type 1, range 32, base dc000000, size 24
        map[1]: type 4, range 32, base 0000d000, size  8
        map[2]: type 1, range 32, base de000000, size 12
vga0: <ATI model 4742 graphics accelerator> rev 0x5c int a irq 5 on pci1.5.0
Initializing PnP override table
Probing for PnP devices:
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
No Plug-n-Play devices were found
Probing for devices on the ISA bus:
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
sc0 on isa
sc0: fb0 kbd0
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
psm0: current command byte:0047
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:ffffffff
kbdc: DIAGNOSE status:0055
kbdc: TEST_KBD_PORT status:0000
psm0: failed to reset the aux device.
psm0 not found
sio0: irq maps: 0x1001 0x1011 0x1001 0x1001
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1: irq maps: 0x1001 0x1009 0x1001 0x1001
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
mss_probe: no address supplied, try default 0x530
mss_detect error, busy still set (0xff)
sb_probe: no address supplied, try defaults (0x220,0x240)
pcm0 not found
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
ppc: parallel port found at 0x378
ppc: chipset forced to generic
ppc0: ECP SPP ECP+EPP SPP
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip: irq 7
plip0: <PLIP network interface> on ppbus 0
bpf: lp0 attached
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
fb0: vga0, vga, type:VGA (5), flags:0x700ff
fb0: port:0x3b0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0x0 size:0k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VESA: v2.0, 8192k memory, flags:0x0, mode table:0xc027ec42 (1000022)
VESA: ATI MACH64
VESA: ATI Technologies Inc.
VESA: MACH64GT
VESA: 01.00
npx0 on motherboard
npx0: INT 16 interface
apm0 flags 0x31 on isa
apm: found APM BIOS version 1.2
imasks: bio c0080040, tty c00702ba, net c00702ba
BIOS Geometries:
 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: tun0 attached
bpf: tun1 attached
bpf: sl0 attached
bpf: lo0 attached
Waiting 15 seconds for SCSI devices to settle
ncr0: restart (scsi reset).
ncr1: restart (scsi reset).
(probe18:ncr1:0:3:0): INQUIRY. CDB: 12 1 80 0 ff 0 
(probe18:ncr1:0:3:0): ILLEGAL REQUEST asc:24,0
(probe18:ncr1:0:3:0): Invalid field in CDB
(probe19:ncr1:0:4:0): INQUIRY. CDB: 12 1 80 0 ff 0 
(probe19:ncr1:0:4:0): ILLEGAL REQUEST csi:40,0,0,0
sa0 at ncr1 bus 0 target 4 lun 0
sa0: <WANGTEK 5525ES SCSI REV7 0W> Removable Sequential Access SCSI-CCS device 
sa0: 3.300MB/s transfers
pass0 at ncr0 bus 0 target 0 lun 0
pass0: <IBM DRVS09V 0270> Fixed Direct Access SCSI-3 device 
pass0: Serial Number       680210B7HA
pass0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled
pass1 at ncr1 bus 0 target 3 lun 0
pass1: <PLEXTOR CD-ROM PX-32TS 1.03> Removable CD-ROM SCSI-2 device 
pass1: 20.000MB/s transfers (20.000MHz, offset 15)
pass2 at ncr1 bus 0 target 4 lun 0
pass2: <WANGTEK 5525ES SCSI REV7 0W> Removable Sequential Access SCSI-CCS device 
pass2: 3.300MB/s transfers
da0 at ncr0 bus 0 target 0 lun 0
da0: <IBM DRVS09V 0270> Fixed Direct Access SCSI-3 device 
da0: Serial Number       680210B7HA
da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled
da0: 8754MB (17928698 512 byte sectors: 255H 63S/T 1116C)
Considering FFS root f/s.
changing root device to da0s1a
(cd0:ncr1:0:3:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(cd0:ncr1:0:3:0): NOT READY asc:3a,0
(cd0:ncr1:0:3:0): Medium not present
cd0 at ncr1 bus 0 target 3 lun 0
cd0: <PLEXTOR CD-ROM PX-32TS 1.03> Removable CD-ROM SCSI-2 device 
cd0: 20.000MB/s transfers (20.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0s1: type 0xa5, start 63, end = 17928539, size 17928477 : OK
start_init: trying /sbin/init
#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.freebsd.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.143.2.23 1999/10/10 23:04:56 wpaul Exp $

machine         "i386"
cpu             "I586_CPU"
cpu             "I686_CPU"
ident           GENERIC
maxusers        64

options         KBD_MAXWAIT=10
options         KBD_RESETDELAY=1000
options         KBD_MAXRETRY=10
options         "MSGBUF_SIZE=40960"

options         MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         MFS                     #Memory Filesystem
options         NFS                     #Network Filesystem
options         NFS_ROOT                #NFS usable as root device, "NFS" req'ed
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=15000        #Be pessimistic about Joe SCSI device
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         KTRACE                  #ktrace(1) syscall trace support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores

config          kernel  root on wd0

controller      isa0
controller      pnp0                    # PnP support for ISA
controller      pci0

# Floppy drives
controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2
disk            fd0     at fdc0 drive 0

# IDE controller and disks
#controller     wdc0    at isa? port "IO_WD1" bio irq 14
#disk           wd0     at wdc0 drive 0
#disk           wd1     at wdc0 drive 1

#controller     wdc1    at isa? port "IO_WD2" bio irq 15
#disk           wd2     at wdc1 drive 0
#disk           wd3     at wdc1 drive 1

# ATAPI devices
#options                ATAPI           #Enable ATAPI support for IDE bus
#options                ATAPI_STATIC    #Don't do it as an LKM
#device         acd0            #IDE CD-ROM
#device         wfd0            #IDE Floppy (e.g. LS-120)

# SCSI Controllers
# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
controller      ncr0            # NCR/Symbios Logic

# SCSI peripherals
# Only one of each of these is needed, they are dynamically allocated.
controller      scbus0          # SCSI bus (required)
device          da0             # Direct Access (disks)
device          sa0             # Sequential Access (tape etc)
device          cd0             # CD
device          pass0           # Passthrough device (direct SCSI)

# atkbdc0 controls both the keyboard and the PS/2 mouse
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

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? tty

# Floating point support - do not disable.
device          npx0    at isa? port IO_NPX irq 13

# Power management support (see LINT for more options)
device          apm0    at isa? flags 0x31 # Advanced Power Management

# Serial (COM) ports
device          sio0    at isa? port "IO_COM1" flags 0x10 tty irq 4
device          sio1    at isa? port "IO_COM2" tty irq 3
#device         sio2    at isa? disable port "IO_COM3" tty irq 5
#device         sio3    at isa? disable port "IO_COM4" tty irq 9

# Parallel port
device          ppc0    at isa? port? flags 0x40 net irq 7
controller      ppbus0                  # Parallel port bus (required)
device          lpt0    at ppbus?       # Printer
device          plip0   at ppbus?       # TCP/IP over parallel
device          ppi0    at ppbus?       # Parallel port interface device
#controller     vpo0    at ppbus?       # Requires scbus and da0

# PCI Ethernet NICs.
device          fxp0            # Intel EtherExpress PRO/100B (82557, 82558)

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   sl      1       # Kernel SLIP
pseudo-device   tun     2       # Packet tunnel
pseudo-device   pty     16      # Pseudo-ttys (telnet etc)
pseudo-device   gzip            # Exec gzipped a.out's

# The `bpfilter' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# The number of devices determines the maximum number of
# simultaneous BPF clients programs runnable.
pseudo-device   bpfilter 16     #Berkeley packet filter


controller      smbus0
controller      iicbus0
controller      iicbb0
device          bktr0

options         "VM86"
options         VESA                    # needs VM86 defined too!!
device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0
options         SOFTUPDATES

Reply via email to