Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2001 15:00:08 -0400 (EDT)
From:      Viren R.Shah <viren@cigital.com>
To:        freebsd-current@freebsd.org
Subject:   PS/2 mouse (psm0) is not detected with recent -current
Message-ID:  <15275.36408.294384.257898@jabberwock.cigital.com>

next in thread | raw e-mail | index | archive | help

I tried to upgrade my -current system today (I hadn't upgraded for a
couple of weeks before this), and my PS/2 mouse went undetected.

Here's my hints file:

# $FreeBSD: src/sys/i386/conf/GENERIC.hints,v 1.2 2000/06/14 10:01:39 peter Exp $
hint.fdc.0.at="isa"
hint.fdc.0.port="0x3F0"
hint.fdc.0.irq="6"
hint.fdc.0.drq="2"
hint.fd.0.at="fdc0"
hint.fd.0.drive="0"
hint.fd.1.at="fdc0"
hint.fd.1.drive="1"
hint.ata.0.at="isa"
hint.ata.0.port="0x1F0"
hint.ata.0.irq="14"
hint.ata.1.at="isa"
hint.ata.1.port="0x170"
hint.ata.1.irq="15"
hint.atkbdc.0.at="isa"
hint.atkbdc.0.port="0x060"
hint.atkbd.0.at="atkbdc"
hint.atkbd.0.irq="1"
hint.atkbd.0.flags="0x1"
hint.psm.0.at="atkbdc"
hint.psm.0.irq="12"
hint.vga.0.at="isa"
hint.sc.0.at="isa"
hint.sc.0.flags="0x100"
hint.npx.0.at="nexus"
hint.npx.0.port="0x0F0"
hint.npx.0.irq="13"
hint.apm.0.at="nexus"
hint.apm.0.disabled="1"
hint.apm.0.flags="0x20"
hint.pcic.0.at="isa"
hint.sio.0.at="isa"
hint.sio.0.port="0x3F8"
hint.sio.0.flags="0x10"
hint.sio.0.irq="4"
hint.sio.1.at="isa"
hint.sio.1.port="0x2F8"
hint.sio.1.irq="3"
hint.sio.2.at="isa"
hint.sio.2.disabled="1"
hint.sio.2.port="0x3E8"
hint.sio.2.irq="5"
hint.sio.3.at="isa"
hint.sio.3.disabled="1"
hint.sio.3.port="0x2E8"
hint.sio.3.irq="9"
hint.ppc.0.at="isa"
hint.ppc.0.irq="7"


and here's my verbose dmesg from a boot with today's sources:

I notice that my atkbdc gets allocated as:

atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
                                            ^^^^^^^^^

which Kazutaka YOKOTA suggested in a different thread might indicate
some weirdness. Any suggestions? I tried setting "acpi_load=NO" at
boot,but the acpi module gets loaded anyway. 

Thanks
Viren


Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #0: Fri Sep 21 14:00:04 EDT 2001
    vshah@jabberwock:/home/FreeBSD/src/sys/i386/compile/VORPAL
Calibrating clock(s) ... TSC clock: 797899598 Hz, i8254 clock: 1193087 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
Timecounter "TSC"  frequency 797966949 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (797.97-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 402391040 (392960K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x00420000 - 0x17fb7fff, 398032896 bytes (97176 pages)
avail memory = 387207168 (378132K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00fda60
bios32: Entry = 0xfda74 (c00fda74)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf0000+0xda95
pnpbios: Found PnP BIOS data at 0xc00f2c10
pnpbios: Entry = f0000:24ca  Rev = 1.0
Other BIOS signatures found:
Preloaded elf kernel "/boot/kernel/kernel" at 0xc03f9000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc03f90b4.
null: <null device, zero device>
mem: <memory & I/O>
Pentium Pro MTRR support enabled
random: <entropy source>
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000058
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=25018086)
Using $PIR table, 11 entries at 0xc00f3190
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL   LP82010A> on motherboard
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_pcib0: <Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: physical bus=0
	map[10]: type 3, range 32, base f8000000, size 26, enabled
found->	vendor=0x8086, dev=0x2501, revid=0x04
	bus=0, slot=0, func=0
	class=06-00-00, hdrtype=0x00, mfdev=0
found->	vendor=0x8086, dev=0x250f, revid=0x04
	bus=0, slot=1, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
found->	vendor=0x8086, dev=0x2418, revid=0x02
	bus=0, slot=30, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
found->	vendor=0x8086, dev=0x2410, revid=0x02
	bus=0, slot=31, func=0
	class=06-01-00, hdrtype=0x00, mfdev=1
	map[20]: type 4, range 32, base 0000ffa0, size  4, enabled
found->	vendor=0x8086, dev=0x2411, revid=0x02
	bus=0, slot=31, func=1
	class=01-01-80, hdrtype=0x00, mfdev=0
	map[20]: type 4, range 32, base 0000ef80, size  5, enabled
found->	vendor=0x8086, dev=0x2412, revid=0x02
	bus=0, slot=31, func=2
	class=0c-03-00, hdrtype=0x00, mfdev=0
	intpin=d, irq=10
	map[20]: type 4, range 32, base 0000efa0, size  4, enabled
found->	vendor=0x8086, dev=0x2413, revid=0x02
	bus=0, slot=31, func=3
	class=0c-05-00, hdrtype=0x00, mfdev=0
	intpin=b, irq=9
pci0: <PCI bus> on acpi_pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   I/O decode        0xf000-0xfff
pcib1:   memory decode     0xfc900000-0xfe9fffff
pcib1:   prefetched decode 0xe4600000-0xf46fffff
pci1: physical bus=1
	map[10]: type 1, range 32, base fd000000, size 24, enabled
	map[14]: type 3, range 32, base e8000000, size 27, enabled
found->	vendor=0x10de, dev=0x0100, revid=0x10
	bus=1, slot=0, func=0
	class=03-00-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=11
	powerspec 1  supports D0 D3  current D0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <PCI-PCI bridge> at device 30.0 on pci0
pcib2:   secondary bus     2
pcib2:   subordinate bus   2
pcib2:   I/O decode        0xd000-0xdfff
pcib2:   memory decode     0xfea00000-0xfeafffff
pcib2:   prefetched decode 0xf4700000-0xf47fffff
pci2: physical bus=2
	map[10]: type 4, range 32, base 0000dc00, size  7, enabled
	map[14]: type 1, range 32, base feaffc00, size  7, enabled
found->	vendor=0x10b7, dev=0x9200, revid=0x78
	bus=2, slot=8, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=11
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 1, range 32, base fea80000, size 18, enabled
	map[14]: type 4, range 32, base 0000dff0, size  3, enabled
	map[18]: type 4, range 32, base 0000dfe0, size  3, enabled
found->	vendor=0x12eb, dev=0x0002, revid=0xfe
	bus=2, slot=11, func=0
	class=04-01-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=10
	powerspec 1  supports D0 D2 D3  current D0
pci2: <PCI bus> on pcib2
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc00-0xdc7f mem 0xfeaffc00-0xfeaffc7f irq 11 at device 8.0 on pci2
pcib2: device xl0 requested decoded I/O range 0xdc00-0xdc7f
xl0: Ethernet address: 00:01:03:1d:d6:4e
xl0: media options word: a
xl0: found MII/AUTO
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: xl0 attached
pci2: <multimedia, audio> at device 11.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH ATA66 controller> port 0xffa0-0xffaf at device 31.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xffa0
ata0: mask=03 ostat0=50 ostat2=00
ata0-master: ATAPI probe 00 00
ata0-slave: ATAPI probe 00 00
ata0: mask=03 stat0=50 stat1=00
ata0-master: ATA probe 01 a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xffa8
ata1: mask=03 ostat0=50 ostat2=00
ata1-master: ATAPI probe 14 eb
ata1-slave: ATAPI probe 00 00
ata1: mask=03 stat0=00 stat1=00
ata1: devices=04
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801AA (ICH) USB controller> port 0xef80-0xef9f irq 10 at device 31.2 on pci0
usb0: <Intel 82801AA (ICH) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0065
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
atkbd1: unable to allocate IRQ
psm0: unable to allocate IRQ
fdc0: <NEC 72065B or clone> port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3,0x3f0-0x3f1 irq 6 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
unknown: not probed (disabled)
unknown: not probed (disabled)
ppc0: using extended I/O port range
ppc0: ECP SPP ECP+EPP SPP
ppc0 port 0x778-0x77f,0x378-0x37f irq 7 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
ata-: ata0 already exists, using ata2 instead
ata-: ata1 already exists, using ata3 instead
atkbdc-: atkbdc0 already exists, using atkbdc1 instead
fdc-: fdc0 already exists, using fdc1 instead
ppc-: ppc0 already exists, using ppc1 instead
sio-: sio0 already exists, using sio1 instead
sio-: sio1 already exists, using sio2 instead
sio-: sio2 already exists, using sio3 instead
sio-: sio3 already exists, using sio4 instead
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
sc-: sc0 already exists, using sc1 instead
vga-: vga0 already exists, using vga1 instead
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd07ff on isa0
ata2 failed to probe at port 0x1f0 irq 14 on isa0
ata3 failed to probe at port 0x170 irq 15 on isa0
atkbdc1: <Keyboard controller (i8042)> failed to probe at port 0x60 on isa0
fdc1: cannot reserve I/O port range (6 ports)
fdc1 failed to probe at port 0x3f0 irq 6 drq 2 on isa0
pcic0 failed to probe on isa0
ppc1: parallel port found at 0x378
ppc1: cannot reserve I/O port range
ppc1: <Parallel port> failed to probe at port 0x378-0x37f irq 7 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio1 failed to probe at port 0x3f8 irq 4 flags 0x10 on isa0
sio2: configured irq 3 not in bitmap of probed irqs 0
sio2: irq maps: 0x1 0x1 0x1 0x1
sio2: probe failed test(s): 0 1 2 4 6 7 9
sio2 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
sio3: not probed (disabled)
sio4: not probed (disabled)
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
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 0d 0e 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 
sc1: no video adapter found.
sc1: <System console> failed to probe on isa0
vga1: <Generic ISA VGA> failed to probe on isa0
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: faith0 attached
bpf: lo0 attached
ad0: success setting UDMA4 on Intel chip
Creating DISK ad0
ad0: <QUANTUM FIREBALLP LM30.0/A35.0700> ATA-5 disk at ata0-master
ad0: 28629MB (58633344 sectors), 58168 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA66
ad0: piomode=4 dmamode=2 udmamode=4 cblid=1
ata1-master: piomode=4 dmamode=2 udmamode=2 dmaflag=1
ata1-master: success setting PIO4 on generic chip
acd0: <CRD-8482B/1.05> CDROM drive at ata1 as master
acd0: read 8250KB/s (32KB/s), 128KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
acd0: Writes:
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray, unlocked, lock protected
acd0: Medium: no/blank disc
Mounting root from ufs:/dev/ad0s1a
ad0s1: type 0xa5, start 63, end = 58621184, size 58621122 : OK
start_init: trying /sbin/init
splash: image decoder found: logo_saver


-- 
Viren R. Shah         | "Practice safe government 
viren@cigital.com     |  -- use kingdoms."

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?15275.36408.294384.257898>