Subject: ThinkPad 1400 series help ...
To: None <netbsd-users@netbsd.org>
From: Malcolm Herbert <mjch@mjch.net>
List: netbsd-users
Date: 03/20/2002 15:26:55
Hi all ... I have a ThinkPad series notebook I'm installing 1.5.2 on,
and I'm having a number of problems with the machine which people might
be able to help me out on.

I'm booting with the GENERIC_LAPTOP kernel, but things seem to behave
differently if this is the first boot after powerup or is a boot after a
warm reset.

I am also puzzled by the PCMCIA services messages within these dmesg
logs as it doesn't appear that the kernel is detecting a card in the
first slot (I'm not expecting it to work with it, but it should at least
be able to see it)

This is all I can recover of the boot messages immediately following a
powerup:

|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
|lpt2 at isa0 port 0x3bc-0x3bf: polled
|pcppi0 at isa0 port 0x61
|midi0 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
|fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
|fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
|isapnp0: read port 0x203
|ym0 at isapnp0 port 0x220/16,0x530/8,0x388/8,0x330/2,0x370/2 irq 5 drq 0,7
|ym0: YAMAHA OPL3-SAx Audio System : OPL3-SA3
|audio0 at ym0: full duplex, mmap
|opl0 at ym0: model OPL3
|midi1 at opl0: OPL3-SA3 Yamaha OPL3
|mpu0 at ym0
|midi2 at mpu0: OPL3-SA3 MPU-401 MIDI UART
|isapnp0: card 2 violates PnP spec; byte 0
|isapnp0: No current device for tag, card 2
|isapnp0: No current device for tag, card 2

... 148 lines of the same message later ... 

|isapnp0: No current device for tag, card 2
|isapnp0: No current device for tag, card 2
|isapnp0: Resource timeout, card 2
|cbb0: interrupting at irq 9
|cbb0: cacheline 0x0 lattimer 0x20
|cbb0: bhlc 0x822000 lscp 0x20010100
|cardslot0 at cbb0 slot 0 flags 0
|cardbus0 at cardslot0: bus 1 device 0 cacheline 0x0, lattimer 0x20
|pcmcia0 at cardslot0
|cbb1: interrupting at irq 9
|cbb1: cacheline 0x0 lattimer 0x20
|cbb1: bhlc 0x822000 lscp 0x20020200
|cardslot1 at cbb1 slot 1 flags 0
|cardbus1 at cardslot1: bus 2 device 0 cacheline 0x0, lattimer 0x20
|pcmcia1 at cardslot1
|apm0 at mainbus0: Power Management spec V1.2
|biomask efcd netmask efcd ttymask ffcf
|boot device: wd0
|root on wd0a dumps on wd0b
|root file system type: ffs
|wsdisplay0: screen 1 added (80x25, vt100 emulation)
|wsdisplay0: screen 2 added (80x25, vt100 emulation)
|wsdisplay0: screen 3 added (80x25, vt100 emulation)
|wsdisplay0: screen 4 added (80x25, vt100 emulation)
|wsmux1: connecting to wsdisplay0

If I do a warm boot I get the following more complete dmesg output, but
notably without any audio support:

|NetBSD 1.5.2 (GENERIC_LAPTOP) #3: Sat Aug 18 23:43:41 CEST 2001
|    he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC_LAPTOP
|cpu0: Intel Pentium/MMX (Tillamook) (586-class), 299.95 MHz
|total memory = 32320 KB
|avail memory = 25756 KB
|using 429 buffers containing 1716 KB of memory
|BIOS32 rev. 0 found at 0xf0210
|PCI BIOS rev. 2.1 found at 0xf0200
|pcibios: config mechanism [1][x], special cycles [x][x], last bus 0
|PCI IRQ Routing Table rev. 1.0 found at 0xfbad0, size 144 bytes (7 entries)
|PCI Interrupt Router at 255:31:7
|pci_intr_fixup: no compatible PCI ICU found: ICU vendor 0xffff product 0xffff
|------------------------------------------
|  device vendor product pin PIRQ IRQ stage
|------------------------------------------
|000:05:0 0x1217 0x6832   A  0x02   9  1    already assigned
|000:05:1 0x1217 0x6832   B  0x03   9  1    already assigned
|000:06:0 0x10c8 0x0004   A  0x04   -  0   
|000:15:0 0x10b9 0x5237   A  0x01  10  1    already assigned
|------------------------------------------
|PCI bridge 0: primary 0, secondary 1, subordinate 1
|PCI bridge 1: primary 0, secondary 2, subordinate 2
|PCI bus #2 is the last bus
|[System BIOS Setting]-----------------------
|  device vendor product
|  register space address    size
|--------------------------------------------
|000:00:0 0x10b9 0x1531 
|		[OK]
|000:02:0 0x10b9 0x1533 
|		[OK]
|000:05:0 0x1217 0x6832 
|	10h mem  0x02000000 0x00001000
|		[OK]
|000:05:1 0x1217 0x6832 
|	10h mem  0x02001000 0x00001000
|		[OK]
|000:06:0 0x10c8 0x0004 
|	10h mem  0x03000000 0x01000000
|	14h mem  0x04000000 0x00200000
|	18h mem  0x04200000 0x00100000
|		[OK]
|000:11:0 0x10b9 0x5229 
|	20h port 0x00006090 0x00000010
|		[OK]
|000:12:0 0x10b9 0x7101 
|	10h port 0x0000f100 0x00000040
|	14h port 0x0000f140 0x00000020
|		[OK]
|000:15:0 0x10b9 0x5237 
|	10h mem  0x04300000 0x00001000
|		[OK]
|--------------------------[  0 devices bogus]
| Physical memory end: 0x01fed000
| PCI memory mapped I/O space start: 0x02000000
|mainbus0 (root)
|pci0 at mainbus0 bus 0: configuration mode 1
|pci0: i/o space, memory space enabled
|pchb0 at pci0 dev 0 function 0
|pchb0: Acer Labs M1531 Host-PCI Bridge (rev. 0xb3)
|pcib0 at pci0 dev 2 function 0
|pcib0: Acer Labs M1543 PCI-ISA Bridge (rev. 0x0a)
|cbb0 at pci0 dev 5 function 0: O2 Micro Inc OZ6832 CardBus Controller (rev. 0x34)
|cbb1 at pci0 dev 5 function 1: O2 Micro Inc OZ6832 CardBus Controller (rev. 0x34)
|vga1 at pci0 dev 6 function 0: Neomagic MagicGraph 128XD (rev. 0x01)
|wsdisplay0 at vga1: console (80x25, vt100 emulation)
|pciide0 at pci0 dev 11 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0x20)
|pciide0: bus-master DMA support present
|pciide0: primary channel configured to compatibility mode
|wd0 at pciide0 channel 0 drive 0: <HITACHI_DK238A-43>
|wd0: drive supports 16-sector pio transfers, lba addressing
|wd0: 4126 MB, 8944 cyl, 15 head, 63 sec, 512 bytes/sect x 8452080 sectors
|wd0: 32-bit data port
|wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
|pciide0: primary channel interrupting at irq 14
|wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
|pciide0: secondary channel configured to compatibility mode
|atapibus0 at pciide0 channel 1
|cd0 at atapibus0 drive 0: <CRN-8241B, 1999/02/27, 1.16> type 5 cdrom removable
|cd0: 32-bit data port
|cd0: drive supports PIO mode 4, DMA mode 2
|pciide0: secondary channel interrupting at irq 15
|cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
|Acer Labs M7101 Power Management Controller (miscellaneous bridge, revision 0x09) at pci0 dev 12 function 0 not configured
|ohci0 at pci0 dev 15 function 0: Acer Labs M5237 USB Host Controller (rev. 0x03)
|ohci0: interrupting at irq 10
|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
|isa0 at pcib0
|com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
|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
|lpt2 at isa0 port 0x3bc-0x3bf: polled
|pcppi0 at isa0 port 0x61
|midi0 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
|fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
|fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
|isapnp0: no ISA Plug 'n Play devices found
|cbb0: interrupting at irq 9
|cbb0: cacheline 0x0 lattimer 0x20
|cbb0: bhlc 0x822000 lscp 0x20010100
|cardslot0 at cbb0 slot 0 flags 0
|cardbus0 at cardslot0: bus 1 device 0 cacheline 0x0, lattimer 0x20
|pcmcia0 at cardslot0
|cbb1: interrupting at irq 9
|cbb1: cacheline 0x0 lattimer 0x20
|cbb1: bhlc 0x822000 lscp 0x20020200
|cardslot1 at cbb1 slot 1 flags 0
|cardbus1 at cardslot1: bus 2 device 0 cacheline 0x0, lattimer 0x20
|pcmcia1 at cardslot1
|apm0 at mainbus0: Power Management spec V1.2
|biomask efed netmask efed ttymask ffef
|boot device: wd0
|root on wd0a dumps on wd0b
|root file system type: ffs
|wsdisplay0: screen 1 added (80x25, vt100 emulation)
|wsdisplay0: screen 2 added (80x25, vt100 emulation)
|wsdisplay0: screen 3 added (80x25, vt100 emulation)
|wsdisplay0: screen 4 added (80x25, vt100 emulation)
|wsmux1: connecting to wsdisplay0

-- 
Malcolm Herbert                                This brain intentionally
mjch@mjch.net                                                left blank