Subject: Got a kernel config for TP 755CSE?
To: None <port-i386@netbsd.org>
From: Kevin P. Neal <kpneal@pobox.com>
List: port-i386
Date: 03/29/2000 00:30:18
--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii

I've got a Thinkpad 755 CSE and a Dock II. I'm looking for a kernel
config file for 1.4U for this setup. 

The difficulty: I've got an ne2000-clone card and an IBM PCMCIA card
that probes as an ne2000 clone in my Thinkpad, and I don't have
enough ... of anything.

I've got resource conflicts "all over my screen". Heh. The PCMCIA
card probes as "ne2" and the ISA card as "ne1". The "ne2" won't
probe ("where did the card go?") when the machine is in the dock
(card in the thinkpad, not in the dock, pcmcia slot). 

The X server would work in the dock but stopped (I don't know why).
Now it never kicks into the proper resolution, instead staying in
whatever resolution the text display is (42.1kHz, 79Hz), with the
graphics wrapping around the screen and general unstableness. 

When out of the dock the X server says it doesn't recognize the 
VGA hardware (Western Digital 90C24) (but curiously enough it
names the chip), and then assumes I have 64k of video memory. 

Can NetBSD manipulate the settings for where the different built-in
pieces of hardware grab their IRQ, DMA, and memory settings? For
example, NetBSD only grabs half the video memory available, putting
other stuff in the other half of the memory. 

The monitor kicks into power-save mode every Z number of seconds (I
haven't measured Z). It did this in FreeBSD 2.2.6 as well. 

The IR port probes correctly when not in the dock, but doesn't if in
the dock (com2). 

The APM at first blush looks fine: my battery is very dead. IBM's
site says they don't sell them anymore. *sigh*

The installation floppies don't work, they crap out because of
isapnp0. I'm having better luck with pnpbios0. 

Which of these IRQ's are dynamically assigned? What can I hardcode
in the config file? What can I move around in memory while still having
the ability to boot from NetBSD.Org's boot floppies?

Anybody got a kernel config file, or can suggest some other fixes?
I'm in the process of trying the suggestions from the FAQ, but they
are for models of thinkpad that aren't what I have. 

Attached are the dmesg from booting in the dock, out of the dock,
and out of the dock with the dock kernel. The first is annotated.

Thanks for any help.
-- 
Kevin P. Neal                                http://www.pobox.com/~kpn/
      'Concerns about "rights" and "ownership" of domains are inappropriate.  
 It is appropriate to be concerned about "responsibilities" and "service" 
 to the community.' -- RFC 1591, page 4: March 1994

--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=dmesg-now

NetBSD 1.4Q (DARKWALKER-DOCK) #4: Wed Mar 22 23:50:00 EST 2000
    root@darkwalker:/altroot/usr/src/sys/arch/i386/compile/DARKWALKER-DOCK
cpu0: family 4 model 8 step 0
cpu0: Intel 486DX4 (486-class)
total memory = 40576 KB
avail memory = 35544 KB
using 532 buffers containing 2128 KB of memory
biostramp installed @ 1000
mainbus0 (root)

# This address is the address of the System ROM
pnpbios0 at mainbus0: code f0000, data f0000, entry e724
pnpbios0: 19 nodes, max len 115

# Cascading IRQ 2
PNP0000 (io 20-21 a0-a1, irq 2) at pnpbios0 index 0 ignored

# unknown
PNP0200 (io 0-f 80-8f c0-df, dma 4) at pnpbios0 index 1 ignored

# IRQ 0: Timer
PNP0100 (io 40-43, irq 0) at pnpbios0 index 2 ignored

# IRQ 8: RTC
PNP0B00 (io 70-71, irq 8) at pnpbios0 index 3 ignored

# IRQ 1: keyboard buffer full
PNP0303 (io 60 64, irq 1) at pnpbios0 index 4 ignored

# IRQ 12: (mouse) aux
PNP0F13 (irq 12) at pnpbios0 index 5 ignored

# IRQ 13: Math coprocessor exception?
PNP0C04 (io f0-ff, irq 13) at pnpbios0 index 6 ignored

# TP Video: Video BIOS, Video VRAM
pnpbios0: length mismatch in node 7: used 113 of 115 Bytes
PNP0907 (mem c0000-c7fff a0000-bffff, io 3b4-3b5 3ba 3c0-3cf 3d0-3df) at pnpbios0 index 7 ignored

# IRQ 14: IDE controller (primary)
PNP0600 (io 1f0-1f7 3f6, irq 14) at pnpbios0 index 8 ignored

# IRQ 6: floppy
PNP0700 (io 3f0-3f5 3f7, irq 6, dma 2) at pnpbios0 index 9 ignored

# Port 0x3e0: pcic0
PNP0E00 (io 3e0-3e1) at pnpbios0 index 10 ignored

# unknown (MWave? IR?)
PNP0A00 at pnpbios0 index 11 disabled

# Port 0x3e2: pcic1
PNP0E00 (io 3e2-3e3) at pnpbios0 index 12 ignored

# unknown
PNP0C02 (io 24-27 61 92 94 100-107 15ee-15ef) at pnpbios0 index 13 ignored

lpt3 at pnpbios0 index 14 (PNP0401)
lpt3: io 3bc-3bf, irq 7

com2 at pnpbios0 index 15 (PNP0501)
com2: io 3f8-3ff, irq 4
com2: ns16550a, working fifo

com3 at pnpbios0 index 16 (PNP0501)
com3: io 2f8-2ff, irq 3
com3: ns16550a, working fifo

com4 at pnpbios0 index 17 (IBM0070, attached as PNP0501)
com4: io 3e8-3ef 1a0-1af, irq 5, dma 0 3
com4  # probe failed

# unknown
IBM36E1 at pnpbios0 index 18 disabled

isa0 at mainbus0
aic0 at isa0 port 0x340-0x35f irq 11
scsibus0 at aic0: 8 targets, 8 luns per target
ne1 at isa0 port 0x300-0x31f irq 10
ne1: NE2000 Ethernet
ne1: Ethernet address 00:40:95:10:52:83
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pmsiprobe: intellimode -> 6
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <DHAA-2540>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 515 MB, 1047 cyl, 16 head, 63 sec, 512 bytes/sect x 1055376 sectors
wd0: drive supports PIO mode 3, DMA mode 1
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay0 at vga0: console (80x25, vt100 emulation), using wskbd0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
sysbeep0 at pcppi0
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
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff: using irq 5
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
pcic1 at isa0 port 0x3e2-0x3e3 iomem 0xd4000-0xd7fff: using irq 9
pcic1: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia2 at pcic1 controller 0 socket 0
pcmcia3 at pcic1 controller 0 socket 1
apm0 at mainbus0: Power Management spec V1.1
apm0: battery life expectancy: 0%
apm0: A/C state: on
apm0: battery charge state: low
biomask e945 netmask ed45 ttymask ffe7
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 targ 1 lun 0: <IBM, DCAS-34330, S65A> SCSI2 0/direct fixed
sd0: 4134 MB, 8205 cyl, 6 head, 171 sec, 512 bytes/sect x 8467200 sectors
sd1 at scsibus0 targ 2 lun 0: <QUANTUM, LIGHTNING 730S, 241E> SCSI2 0/direct fixed
sd1: 698 MB, 3657 cyl, 4 head, 97 sec, 512 bytes/sect x 1431518 sectors
cd0 at scsibus0 targ 5 lun 0: <TOSHIBA, CD-ROM XM-4101TA, 1084> SCSI2 5/cdrom removable
cd1 at scsibus0 targ 6 lun 0: <YAMAHA, CRW6416S, 1.0c> SCSI2 5/cdrom removable
pcmcia1: CIS version PCMCIA 2.0 or 2.1
pcmcia1: CIS info: IBM Corp., Ethernet, 0934214, PC-NIC ENCC 990010759-001A
pcmcia1: Manufacturer code 0xa4, product 0x2
pcmcia1: function 0: network adapter, ccr addr 20000 mask b
pcmcia1: function 0, config table entry 1: I/O card; irq mask ffff; iomask 5, iospace 0-1f; memspace 11000-14fff; mwait_required io16 irqpulse irqlevel
ne2 at pcmcia1 function 0 port 0x360-0x36f port 0x370-0x37f
ne2: National Semiconductor InfoMover Ethernet
ne2000_writemem: failed to complete
ne2: where did the card go?
findroot: can't open dev sd1a (6)
boot device: wd0
root on sd0a dumps on sd0b
mountroot: trying msdos...
mountroot: trying cd9660...
mountroot: trying ntfs...
mountroot: trying nfs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
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)
wsdisplay0: screen 5 added (80x25, vt100 emulation)
wsdisplay0: screen 6 added (80x25, vt100 emulation)
wsdisplay0: screen 7 added (80x25, vt100 emulation)

--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=probe-undocked

NetBSD 1.4Q (DARKWALKER-MOBILE) #0: Wed Mar 22 04:16:48 EST 2000
    root@darkwalker:/altroot/usr/src/sys/arch/i386/compile/DARKWALKER-MOBILE
cpu0: family 4 model 8 step 0
cpu0: Intel 486DX4 (486-class)
total memory = 40576 KB
avail memory = 35564 KB
using 532 buffers containing 2128 KB of memory
biostramp installed @ 1000
mainbus0 (root)
isa0 at mainbus0
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
pmsiprobe: intellimode -> 6
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <DHAA-2540>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 515 MB, 1047 cyl, 16 head, 63 sec, 512 bytes/sect x 1055376 sectors
wd0: drive supports PIO mode 3, DMA mode 1
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay0 at vga0: console (80x25, vt100 emulation), using wskbd0
lpt2 at isa0 port 0x3bc-0x3bf: polled
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
sysbeep0 at pcppi0
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
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff: using irq 3
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
apm0 at mainbus0: Power Management spec V1.1
apm0: battery life expectancy: 0%
apm0: A/C state: on
apm0: battery charge state: low
biomask efe5 netmask efe5 ttymask ffef
pcmcia1: CIS version PCMCIA 2.0 or 2.1
pcmcia1: CIS info: IBM Corp., Ethernet, 0934214, PC-NIC ENCC 990010759-001A
pcmcia1: Manufacturer code 0xa4, product 0x2
pcmcia1: function 0: network adapter, ccr addr 20000 mask b
pcmcia1: function 0, config table entry 1: I/O card; irq mask ffff; iomask 5, iospace 0-1f; memspace 11000-14fff; mwait_required io16 irqpulse irqlevel
ne2 at pcmcia1 function 0 port 0x340-0x34f port 0x350-0x35f
ne2: National Semiconductor InfoMover Ethernet
ne2: Ethernet address 08:00:5a:3a:3b:fc
boot device: wd0
root on wd0a dumps on wd0b
mountroot: trying msdos...
mountroot: trying cd9660...
mountroot: trying ntfs...
mountroot: trying nfs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
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)
wsdisplay0: screen 5 added (80x25, vt100 emulation)
wsdisplay0: screen 6 added (80x25, vt100 emulation)
wsdisplay0: screen 7 added (80x25, vt100 emulation)
APM get event: unknown error code (0x530b)
APM get event: unknown error code (0x530b)

--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=probe-undocked-dockkern

NetBSD 1.4Q (DARKWALKER-DOCK) #6: Thu Mar 23 21:00:16 EST 2000
    root@darkwalker:/usr/src/sys/arch/i386/compile/DARKWALKER-DOCK
cpu0: family 4 model 8 step 0
cpu0: Intel 486DX4 (486-class)
total memory = 40576 KB
avail memory = 35552 KB
using 532 buffers containing 2128 KB of memory
biostramp installed @ 1000
mainbus0 (root)
isa0 at mainbus0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com2 at isa0 port 0x3e8-0x3ef irq 5: ns8250 or ns16450, no fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pmsiprobe: intellimode -> 6
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <DHAA-2540>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 515 MB, 1047 cyl, 16 head, 63 sec, 512 bytes/sect x 1055376 sectors
wd0: drive supports PIO mode 3, DMA mode 1
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay0 at vga0: console (80x25, vt100 emulation), using wskbd0
lpt2 at isa0 port 0x3bc-0x3bf: polled
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
sysbeep0 at pcppi0
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
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff: using irq 3
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
apm0 at mainbus0: Power Management spec V1.1
apm0: battery life expectancy: 0%
apm0: A/C state: on
apm0: battery charge state: low
biomask efc5 netmask efc5 ttymask ffcf
pcmcia1: CIS version PCMCIA 2.0 or 2.1
pcmcia1: CIS info: IBM Corp., Ethernet, 0934214, PC-NIC ENCC 990010759-001A
pcmcia1: Manufacturer code 0xa4, product 0x2
pcmcia1: function 0: network adapter, ccr addr 20000 mask b
pcmcia1: function 0, config table entry 1: I/O card; irq mask ffff; iomask 5, iospace 0-1f; memspace 11000-14fff; mwait_required io16 irqpulse irqlevel
ne2 at pcmcia1 function 0 port 0x340-0x34f port 0x350-0x35f
ne2: National Semiconductor InfoMover Ethernet
ne2: Ethernet address 08:00:5a:3a:3b:fc
boot device: wd0
device sd0 (0x400) not configured
root device (default wd0a): 
dump device (default wd0b): 
file system (default generic): 
root on wd0a dumps on wd0b
mountroot: trying msdos...
mountroot: trying cd9660...
mountroot: trying ntfs...
mountroot: trying nfs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
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)
wsdisplay0: screen 5 added (80x25, vt100 emulation)
wsdisplay0: screen 6 added (80x25, vt100 emulation)
wsdisplay0: screen 7 added (80x25, vt100 emulation)

--5vNYLRcllDrimb99--