Subject: Re: keyboard unresponsive after boot (fixed)
To: None <current-users@netbsd.org>
From: Emre Yildirim <ey@ieee.org>
List: current-users
Date: 01/20/2004 02:09:35
After compiling a few kernels, I've narrowed down the problem.  I took out:

options     ACPI_PCI_FIXUP       # PCI interrupt routing via ACPI
options     ACPI_ACTIVATE_DEV    # If set, activate inactive devices
options     ACPICA_PEDANTIC      # force strict conformance to the specification

from my config and now the keyboard doesn't die after a few seconds anymore.  I
forgot to mention that the screen also flickered earlier.  In any case, it's working
fine now.

I want to give a special thanks to all the people who have made wireless and
firewire possible in NetBSD.  I'm also very happy with my laptop's power button.  I
can press it while in X and it takes about 1 second to sync the disks and do a clean
shut down.  Really cool stuff.  Thanks!

Once upon a time Emre Yildirim proclaimed:
> Here's a quick update.  The cursor seems to be scrolling across the screen after I'm
> unable to type.  It almost looks like someone is pressing the space bar
> indefinitely.
>
>
> Once upon a time Emre Yildirim proclaimed:
>> Hello,
>>
>> I just compiled a new kernel today.  Everything boots up fine and I can login as
>> root.  Then about 5 seconds after I boot and I'm typing something, the keyboard
>> seems to die completely.  I can type part of what I'm typing but then it just
>> stops.
>>  The system is still in tact though, because I still get kernel messages and
>> pushing
>> the power button shows me APM messages.  What could be the problem?  Below is my
>> dmesg.  The kernel is a slightly modified version of GENERIC_LAPTOP with some
>> verbose options (I also took out some soundcards, network cards, linux fs support
>> etc.)
>>
>> I'm not sure if it has to do with the warning message at the bottom.  Does anyone
>> know?
>>
>> Thanks
>>
>>
>> NetBSD 1.6ZH (COGITO) #3: Sun Jan 18 13:36:40 UTC 2004
>> 	root@cogito:/usr/obj/sys/arch/i386/compile/COGITO
>> total memory = 111 MB
>> avail memory = 104 MB
>> BIOS32 rev. 0 found at 0xfd740
>> PCI BIOS rev. 2.1 found at 0xfd85e
>> pcibios: config mechanism [1][x], special cycles [x][x], last bus 0
>> PCI IRQ Routing Table rev. 1.0 found at 0xfdef0, size 240 bytes (13 entries)
>> PCI Interrupt Router at 000:07:0 (Acer Labs M1543 PCI-ISA Bridge)
>> ------------------------------------------
>>   device vendor product pin PIRQ IRQ stage
>> ------------------------------------------
>> 000:06:0 0x10b9 0x5451   A  0x07   9  0    already assigned
>> 000:08:0 0x10b9 0x5457   A  0x06   9  0    already assigned
>> 000:09:0 0x104c 0x8021   A  0x01   9  0    already assigned
>> 000:10:0 0x10cf 0x2011   A  0x02   9  0    already assigned
>> 000:11:0 0x10ec 0x8139   A  0x02   9  0    already assigned
>> 000:12:0 0x1002 0x4c59   A  0x00   9  0    already assigned
>> 000:15:0 0x10b9 0x5237   A  0x04   9  0    already assigned
>> 000:18:0 0x1180 0x0475   A  0x02   9  0    fixed up
>> ------------------------------------------
>> PCI fixup examining 1279:395
>> PCI fixup examining 1279:396
>> PCI fixup examining 1279:397
>> PCI fixup examining 10b9:5451
>> PCI fixup examining 10b9:1533
>> PCI fixup examining 10b9:5457
>> PCI fixup examining 104c:8021
>> PCI fixup examining 10cf:2011
>> PCI fixup examining 10ec:8139
>> PCI fixup examining 1002:4c59
>> PCI fixup examining 10b9:5237
>> PCI fixup examining 10b9:5229
>> PCI fixup examining 10b9:7101
>> PCI fixup examining 1180:475
>> PCI bridge 0: primary 0, secondary 1, subordinate 1
>> PCI fixup examining 10b9:5237
>> PCI bus #1 is the last bus
>> [System BIOS Setting]-----------------------
>>   device vendor product
>>   register space address    size
>> --------------------------------------------
>> 000:00:0 0x1279 0x0395
>> 	10h mem  0xe8100000 0x00100000
>> 		[OK]
>> 000:00:1 0x1279 0x0396
>> 		[OK]
>> 000:00:2 0x1279 0x0397
>> 		[OK]
>> 000:06:0 0x10b9 0x5451
>> 	10h port 0x00001400 0x00000100
>> 	14h mem  0xe8014000 0x00001000
>> 		[OK]
>> 000:07:0 0x10b9 0x1533
>> 		[OK]
>> 000:08:0 0x10b9 0x5457
>> 	10h mem  0xe8015000 0x00001000
>> 	14h port 0x00001800 0x00000100
>> 		[OK]
>> 000:09:0 0x104c 0x8021
>> 	10h mem  0xe8018000 0x00000800
>> 	14h mem  0xe8010000 0x00004000
>> 		[OK]
>> 000:10:0 0x10cf 0x2011
>> 	10h port 0x00001c00 0x00000100
>> 	14h mem  0xe8200000 0x00100000
>> 		[OK]
>> 000:11:0 0x10ec 0x8139
>> 	10h port 0x00002000 0x00000100
>> 	14h mem  0xe8018800 0x00000100
>> 		[OK]
>> 000:12:0 0x1002 0x4c59
>> 	10h mem  0xf0000000 0x08000000
>> 	14h port 0x00002400 0x00000100
>> 	18h mem  0xe8000000 0x00010000
>> 		[OK]
>> 000:15:0 0x10b9 0x5237
>> 	10h mem  0xe8016000 0x00001000
>> 		[OK]
>> 000:16:0 0x10b9 0x5229
>> 	10h port 0x000001f0 0x00000010
>> 	14h port 0x000003f4 0x00000004
>> 	18h port 0x00000170 0x00000010
>> 	1ch port 0x00000374 0x00000004
>> 	20h port 0x00002800 0x00000010
>> 		[OK]
>> 000:17:0 0x10b9 0x7101
>> 		[OK]
>> 000:18:0 0x1180 0x0475
>> 	10h mem  0x00000000 0x00001000
>> 		[NG]
>> 000:20:0 0x10b9 0x5237
>> 	10h mem  0x000e0000 0x00001000
>> 		[OK]
>> --------------------------[  1 devices bogus]
>>  Physical memory end: 0x06ffc000
>>  PCI memory mapped I/O space start: 0x07000000
>> [PCIBIOS fixup stage]-----------------------
>>   device vendor product
>>   register space address    size
>> --------------------------------------------
>> 000:00:0 0x1279 0x0395
>> 	10h mem  0xe8100000 0x00100000
>> 		[OK]
>> 000:00:1 0x1279 0x0396
>> 		[OK]
>> 000:00:2 0x1279 0x0397
>> 		[OK]
>> 000:06:0 0x10b9 0x5451
>> 	10h port 0x00001400 0x00000100
>> 	14h mem  0xe8014000 0x00001000
>> 		[OK]
>> 000:07:0 0x10b9 0x1533
>> 		[OK]
>> 000:08:0 0x10b9 0x5457
>> 	10h mem  0xe8015000 0x00001000
>> 	14h port 0x00001800 0x00000100
>> 		[OK]
>> 000:09:0 0x104c 0x8021
>> 	10h mem  0xe8018000 0x00000800
>> 	14h mem  0xe8010000 0x00004000
>> 		[OK]
>> 000:10:0 0x10cf 0x2011
>> 	10h port 0x00001c00 0x00000100
>> 	14h mem  0xe8200000 0x00100000
>> 		[OK]
>> 000:11:0 0x10ec 0x8139
>> 	10h port 0x00002000 0x00000100
>> 	14h mem  0xe8018800 0x00000100
>> 		[OK]
>> 000:12:0 0x1002 0x4c59
>> 	10h mem  0xf0000000 0x08000000
>> 	14h port 0x00002400 0x00000100
>> 	18h mem  0xe8000000 0x00010000
>> 		[OK]
>> 000:15:0 0x10b9 0x5237
>> 	10h mem  0xe8016000 0x00001000
>> 		[OK]
>> 000:16:0 0x10b9 0x5229
>> 	10h port 0x000001f0 0x00000010
>> 	14h port 0x000003f4 0x00000004
>> 	18h port 0x00000170 0x00000010
>> 	1ch port 0x00000374 0x00000004
>> 	20h port 0x00002800 0x00000010
>> 		[OK]
>> 000:17:0 0x10b9 0x7101
>> 		[OK]
>> 000:18:0 0x1180 0x0475
>> 	10h mem  0x07000000 0x00001000
>> 		[OK]
>> 000:20:0 0x10b9 0x5237
>> 	10h mem  0x000e0000 0x00001000
>> 		[OK]
>> --------------------------[  0 devices bogus]
>> mainbus0 (root)
>> cpu0 at mainbus0: (uniprocessor)
>> cpu0: Transmeta Crusoe (586-class), 727.94 MHz, id 0x543
>> cpu0: Processor revision 1.4.1.0
>> cpu0: Code Morphing Software Rev: 4.2.7-8-278
>> cpu0: 20011004 02:04 official release 4.2.7#7
>> cpu0: LongRun mode: 2  <733MHz 1300mV 100%>
>> cpu0: features 84893f<FPU,VME,DE,PSE,TSC,MSR,CX8,SEP>
>> cpu0: features 84893f<CMOV,PN,MMX>
>> cpu0: serial number 0000-0543-0000-EEA3-0099-42EC
>> acpi0 at mainbus0
>> acpi0: using Intel ACPI CA subsystem version 20031203
>> acpi0: X/RSDT: OemId <SONY  ,E0      ,20011206>, AslId < LTP,00000000>
>> acpi0: SCI interrupting at int 9
>> ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
>> acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
>> acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
>> PNP0A03 at acpi0 not configured
>> acpiec0 at acpi0 (PNP0C09): ACPI Embedded Controller
>> acpiec0: io 0x62,0x66
>> acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
>> acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
>> SNY5001 at acpi0 not configured
>> PNP0200 at acpi0 not configured
>> PNP0000 at acpi0 not configured
>> PNP0100 at acpi0 not configured
>> PNP0B00 at acpi0 not configured
>> PNP0C04 at acpi0 not configured
>> PNP0800 at acpi0 not configured
>> PNP0303 at acpi0 not configured
>> SNY9004 at acpi0 not configured
>> PNP0C02 at acpi0 not configured
>> PNP0C0F at acpi0 not configured
>> PNP0C0F at acpi0 not configured
>> PNP0C0F at acpi0 not configured
>> PNP0C0F at acpi0 not configured
>> PNP0C0F at acpi0 not configured
>> PNP0C0F at acpi0 not configured
>> PNP0C0F at acpi0 not configured
>> PNP0C0F at acpi0 not configured
>> ACPI Object Type 'Power' (0x0b) at acpi0 not configured
>> PNP0C0B at acpi0 not configured
>> acpitz0 at acpi0: ACPI Thermal Zone
>> acpitz0: unable to get polling interval; using default of 30.0s
>> pci0 at mainbus0 bus 0: configuration mode 1
>> pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
>> pchb0 at pci0 dev 0 function 0
>> pchb0: Transmeta Corp LongRun Northbridge (rev. 0x01)
>> Transmeta Corp SDRAM Controller (RAM memory) at pci0 dev 0 function 1 not
>> configured
>> Transmeta Corp BIOS Scratchpad (RAM memory) at pci0 dev 0 function 2 not
>> configured
>> autri0 at pci0 dev 6 function 0: Acer Labs M5451 AC-Link Controller Audio Device
>> (rev. 0x02)
>> autri0: interrupting at irq 9
>> autri0: ac97: Yamaha YMF753-S codec; 18 bit DAC, no 3D stereo
>> audio0 at autri0: full duplex, mmap, independent
>> midi0 at autri0: 4DWAVE MIDI UART
>> pcib0 at pci0 dev 7 function 0
>> pcib0: Acer Labs M1543 PCI-ISA Bridge (rev. 0x00)
>> Acer Labs product 0x5457 (modem communications) at pci0 dev 8 function 0 not
>> configured
>> Texas Instruments TSB43AA22 OHCI IEEE 1394 Host Controller (Firewire serial bus,
>> interface 0x10, revision 0x02) at pci0 dev 9 function 0 not configured
>> Citicorp TTI product 0x2011 (miscellaneous multimedia) at pci0 dev 10 function 0
>> not
>> configured
>> rtk0 at pci0 dev 11 function 0: RealTek 8139 10/100BaseTX
>> rtk0: interrupting at irq 9
>> rtk0: Ethernet address 08:00:46:46:fd:9d
>> ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
>> ukphy0: OUI 0x000000, model 0x0000, rev. 0
>> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>> vga1 at pci0 dev 12 function 0: ATI Technologies Radeon Mobility M6 LY (AGP) (rev.
>> 0x00)
>> wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
>> wsmux1: connecting to wsdisplay0
>> wsdisplay0: screen 1-3 added (80x25, vt100 emulation)
>> ohci0 at pci0 dev 15 function 0: Acer Labs M5237 USB Host Controller (rev. 0x03)
>> ohci0: interrupting at irq 9
>> ohci0: OHCI version 1.0, legacy support
>> usb0 at ohci0: USB revision 1.0
>> uhub0 at usb0
>> uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>> uhub0: 2 ports with 2 removable, self powered
>> aceride0 at pci0 dev 16 function 0
>> aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc4)
>> aceride0: bus-master DMA support present
>> aceride0: primary channel wired to compatibility mode
>> aceride0: primary channel interrupting at irq 14
>> atabus0 at aceride0 channel 0
>> aceride0: secondary channel wired to compatibility mode
>> aceride0: secondary channel ignored (disabled)
>> Acer Labs M7101 Power Management Controller (miscellaneous prehistoric) at pci0
>> dev
>> 17 function 0 not configured
>> cbb0 at pci0 dev 18 function 0: Ricoh 5C475 PCI-CardBus bridge (rev. 0x80)
>> ohci1 at pci0 dev 20 function 0: Acer Labs M5237 USB Host Controller (rev. 0x03)
>> ohci1: interrupting at irq 9
>> ohci1: OHCI version 1.0, legacy support
>> usb1 at ohci1: USB revision 1.0
>> uhub1 at usb1
>> uhub1: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>> uhub1: 2 ports with 2 removable, self powered
>> isa0 at pcib0
>> pckbc0 at isa0 port 0x60-0x64
>> pckbd0 at pckbc0 (kbd slot)
>> pckbc0: using irq 1 for kbd slot
>> wskbd0 at pckbd0: console keyboard, using wsdisplay0
>> pms0 at pckbc0 (aux slot)
>> pckbc0: using irq 12 for aux slot
>> wsmouse0 at pms0 mux 0
>> pcppi0 at isa0 port 0x61
>> midi1 at pcppi0: PC speaker
>> sysbeep0 at pcppi0
>> isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
>> npx0 at isa0 port 0xf0-0xff: using exception 16
>> isapnp0: no ISA Plug 'n Play devices found
>> cbb0: interrupting at irq 9
>> cardslot0 at cbb0 slot 0 flags 0
>> cardbus0 at cardslot0: bus 1 device 0
>> pcmcia0 at cardslot0
>> Kernelized RAIDframe activated
>> pcmcia0: CIS version PC Card Standard 5.0
>> pcmcia0: CIS info: NETGEAR MA401RA Wireless PC, Card, ISL37300P, Eval-RevA
>> pcmcia0: Manufacturer code 0xb, product 0x7300
>> pcmcia0: function 0: network adapter, ccr addr 3e0 mask 1
>> pcmcia0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 6,
>> iospace 0-3f; io16 irqpulse irqlevel
>> wi0 at pcmcia0 function 0: NETGEAR MA401RA Wireless PC, Card, ISL37300PEval-RevA
>> wi0: 802.11 address 00:30:ab:20:8b:1c
>> wi0: using RF:PRISM2.5 MAC:ISL3873B(PCMCIA)
>> wi0: Intersil Firmware: Primary (1.0.7), Station (1.3.6)
>> wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
>> umass0 at uhub0 port 1 configuration 1 interface 0
>> umass0: Sony USB Memory Stick Slot, rev 1.10/1.83, addr 2
>> umass0: using ATAPI over CBI with CCI
>> atapibus0 at umass0: 2 targets
>> sd0 at atapibus0 drive 0: <Sony, MSC-U02, 1.00> disk removable
>> sd0: drive offline
>> wd0 at atabus0 drive 0: <IC25N020ATDA04-0>
>> wd0: drive supports 16-sector PIO transfers, LBA addressing
>> wd0: 19077 MB, 38760 cyl, 16 head, 63 sec, 512 bytes/sect x 39070080 sectors
>> wd0: 32-bit data port
>> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
>> wd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data
>> transfers)
>> sd0(umass0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
>>     SENSE KEY:  Not Ready
>>      ASC/ASCQ:  Medium Not Present
>>
>> sd0(umass0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
>>     SENSE KEY:  Not Ready
>>      ASC/ASCQ:  Medium Not Present
>>
>> sd0(umass0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
>>     SENSE KEY:  Not Ready
>>      ASC/ASCQ:  Medium Not Present
>>
>> boot device: wd0
>> root on wd0a dumps on wd0b
>> WARNING: possible botched superblock upgrade detected
>> on filesystem previously mounted on /
>> fs_bsize == fs_maxbsize (0x00002000) but FS_FLAGS_UPDATED is not set
>> Test your filesystem by running fsck_ffs -n -f on it.
>> If it reports:
>> ``VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE''
>> you should be able to recover with fsck_ffs -b 32 -c 4
>> See the file src/UPDATING or
>> http://mail-index.netbsd.org/current-users/2004/01/11/0022.html
>> for more details
>> root file system type: ffs
>>
>>
>
>