Suspend/Resume problems with Thinkpad 240

Jan Richling richling at informatik.hu-berlin.de
Wed Mar 24 10:43:17 PST 2004


Hello,

I installed FreeBSD-current on my ThinkPad 240 computer (Celeron 400,
192 MB RAM, 12 GB hdd). After doing a lot of configuration and solving
minor problems now everything works as expected (pccard, usb mouse, usb
camera, ps2 mouse, X, WinModem, sound). The only thing not working is
suspend/resume.

I have three possibilities to address that problem but all three fail
with different subproblems, so I need help and/or an advice which path
seems to be most promising or is already solved elsewhere:

Possibility 1: Running without ACPI and without APM
***************************************************

hint.apm.0.disabled="1"
#hint.apm.0.at="nexus"
#hint.apm.0.flags="0x20"
hint.acpi.0.disabled="1"

The TP 240 has BIOS power management support so it is possible to
suspend it without APM/ACPI support by the OS. The disadvantage is that
the OS does not know about suspend/resume, but this method works -
except USB. After resuming and reinserting a USB device the usb
subsystem failes with

uhub0: device problem, disabling port 1

and no chance to resume usb operation. Unloading usb modules is not
possible by design
(http://lists.freebsd.org/pipermail/freebsd-stable/2003-July/002169.html
- I guess this also applies to current because it is even not possible
to unload directly after loading). Furthermore, stopping usbd before
suspending does not help.

Possibility 2: Running with APM
*******************************

hint.apm.0.disabled="0"
hint.apm.0.at="nexus"
hint.apm.0.flags="0x20"
hint.acpi.0.disabled="1"

FreeBSD recognises APM on my machine, it suspends perfectly both with
zzz and the hardware button, but it freezes during resume. "boot
-vD" does not help, it only produces additional debugging output before
freezing:

$PIR 0:7 INTD routed to irq 5
$PIR 0:10 INTD routed to irq 9
$PIR 0:11 INTD routed to irq 11
$PIR 0:12 INTD routed to irq 5
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
ata0: reiniting channel ..

For me this looks like freezing in ATA resume. I have found similar
problems on that list but no solution except "boot -vD" which does not
help here.

I have tried to disable DMA with no success.

APM detection in dmesg output see at see end of the mail.

Possibility 3: Running with ACPI
********************************

hint.apm.0.disabled="0"
#hint.apm.0.at="nexus"
#hint.apm.0.flags="0x20"
hint.acpi.0.disabled="0"

FreeBSD recognizes ACPI, it is able to adjust the CPU speed, but
suspending (both with zzz and hardware button) produces a flickering
screen and no more (no debug output in systemlog after reboot).

ACPI detection in dmesg output after boot -vD (the rest of dmesg output
see at the end of the mail):

Preloaded elf module "/boot/kernel/acpi.ko" at 0xc084235c.
acpi0: <PTLTD   RSDT> on motherboard
AcpiOsDerivePciId: bus 0 dev 7 func 0
AcpiOsDerivePciId: bus 0 dev 10 func 0
acpi0: Power Button (fixed)
ACPI timer looks BAD  min = 3, max = 6, width = 3
ACPI timer looks BAD  min = 3, max = 6, width = 3
ACPI timer looks BAD  min = 3, max = 6, width = 3
ACPI timer looks BAD  min = 3, max = 6, width = 3
ACPI timer looks BAD  min = 3, max = 6, width = 3
ACPI timer looks BAD  min = 3, max = 6, width = 3
ACPI timer looks BAD  min = 3, max = 6, width = 3
ACPI timer looks BAD  min = 3, max = 6, width = 3
ACPI timer looks BAD  min = 3, max = 6, width = 3
ACPI timer looks BAD  min = 3, max = 6, width = 3
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
AcpiOsDerivePciId: bus 0 dev 0 func 0
can't fetch resources for \\_SB_.PCI0.ISA_.FIR_ -
AE_AML_INVALID_RESOURCE_TYPE
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
pci0: <ACPI PCI bus> on pcib0
acpi_button0: <Sleep Button> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_ec0: <Embedded Controller: GPE 0x9> port 0x66,0x62 on acpi0
acpi_cpu0: set speed to 100.0%
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
acpi_acad0: acline initialization start
system power profile changed to 'economy'
acpi_acad0: Off Line
acpi_cmbat0: battery initialization start
acpi_cmbat0: battery initialization done, tried 1 times
acpi_ec0: info: new max delay is 132 us
acpi_ec0: info: new max delay is 240 us
acpi_ec0: info: new max delay is 400 us
acpi_ec0: info: new max delay is 970 us
ata0-master: pio=0x0c wdma=0x22 udma=0x44 cable=80pin
ata0-master: setting PIO4 on Intel PIIX4 chip
acpi_ec0: info: new max delay is 11000 us
system power profile changed to 'performance'
acpi_acad0: On Line
acpi_ec0: info: new max delay is 101000 us
acpi_ec0: EcRead: Failed waiting for EC to send data.
    ACPI-0440: *** Error: Handler for [EmbeddedControl] returned
AE_NO_HARDWARE_
RESPONSE
    ACPI-1303: *** Error: Method execution failed
[\\_SB_.PCI0.ISA_.EC0_.SMRD] (
Node 0xc25402e0), AE_NO_HARDWARE_RESPONSE
    ACPI-1303: *** Error: Method execution failed [\\_SB_.BAT1.UPBI]
(Node 0xc25
438c0), AE_NO_HARDWARE_RESPONSE
    ACPI-1303: *** Error: Method execution failed [\\_SB_.BAT1.CHBP]
(Node 0xc25
43840), AE_NO_HARDWARE_RESPONSE
    ACPI-1303: *** Error: Method execution failed [\\_SB_.SMSL] (Node
0xc2543a40
), AE_NO_HARDWARE_RESPONSE
    ACPI-1303: *** Error: Method execution failed
[\\_SB_.PCI0.ISA_.EC0_._Q09] (
Node 0xc2540220), AE_NO_HARDWARE_RESPONSE
acpi_ec0: evaluation of GPE query method _Q09 failed -
AE_NO_HARDWARE_RESPONSE
acpi_acad0: acline initialization done, tried 2 times
acpi_tz0: _AC0: temperature 64.0 >= setpoint 60.0
acpi_tz0: switched from NONE to _AC0: 64.0C
acpi_tz0: switched from _AC0 to NONE: 56.0C

Can anyone help me to solve at least one of these three problems (for me
it makes no difference which of the methods I use), or give hints how to
address them better?

Earlier I used that machine with Linux 2.2.18 and no APM problems (but
strange behavior if using serial port with cell phone attached - which
now works perfect with FreeBSD).

The system information follows at the end of the mail - if you need more
just tell me.

TIA, and greetings,

Jan

System Information:
*******************

shamada richling 102 ( ~ ) > uname -a
FreeBSD shamada 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Mon Mar 22 20:25:09
CET 2004     root at shamada:/usr/obj/usr/src/sys/JAN190304  i386

dmesg-output (boot -vD, with APM, for differences regarding ACPI see
above):

Copyright (c) 1992-2004 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.2-CURRENT #0: Mon Mar 22 20:25:09 CET 2004
    root at shamada:/usr/obj/usr/src/sys/JAN190304
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0842000.
Preloaded elf module "/boot/kernel/snd_solo.ko" at 0xc0842200.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc08422b0.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc084235c.
Calibrating clock(s) ... i8254 clock: 1193176 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 398198157 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (398.20-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 201261056 (191 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
0x0000000000c26000 - 0x000000000bc5ffff, 184786944 bytes (45114 pages)
avail memory = 187240448 (178 MB)
bios32: Found BIOS32 Service Directory header at 0xc00f6b30
bios32: Entry = 0xfd7c0 (c00fd7c0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xfd7c0+0x225
pnpbios: Found PnP BIOS data at 0xc00f6b80
pnpbios: Entry = f0000:843c  Rev = 1.0
Other BIOS signatures found:
wlan: <802.11 Link Layer>
random: <entropy source>
mem: <memory & I/O>
Pentium Pro MTRR support enabled
null: <null device, zero device>
cpu0 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pci_open(1):	mode 1 addr port (0x0cf8) is 0x8000384c
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=71928086)
pcibios: BIOS version 2.10
Found $PIR table, 6 entries at 0xc00fdf60
PCI-Only Interrupts: none
Location  Bus Device Pin  Link  IRQs
embedded    0    0    A   0x60  3 4 5 6 7 9 10 11 12 14 15
embedded    0    0    B   0x61  3 4 5 6 7 9 10 11 12 14 15
embedded    0    0    C   0x62  3 4 5 6 7 9 10 11 12 14 15
embedded    0    0    D   0x63  3 4 5 6 7 9 10 11 12 14 15
embedded    0    7    A   0x60  3 4 5 6 7 9 10 11 12 14 15
embedded    0    7    B   0x61  3 4 5 6 7 9 10 11 12 14 15
embedded    0    7    C   0x62  3 4 5 6 7 9 10 11 12 14 15
embedded    0    7    D   0x63  3 4 5 7 9 10 11 15
embedded    0   10    A   0x61  3 4 5 7 9 10 11 15
embedded    0   11    A   0x62  3 4 5 7 9 10 11 15
embedded    0   12    A   0x63  3 4 5 7 9 10 11 15
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
pcib0: <Intel 82443BX host to PCI bridge (AGP disabled)> at pcibus 0 on motherboard
$PIR: Entry 0.7.INTD has different mask for link 0x63, merging
$PIR: Entry 0.10.INTA has different mask for link 0x61, merging
$PIR: Entry 0.11.INTA has different mask for link 0x62, merging
$PIR: Links after initial probe:
Link  IRQ  Ref  IRQs
0x60  255    2  3 4 5 6 7 9 10 11 12 14 15
0x61  255    3  3 4 5 7 9 10 11 15
0x62  255    3  3 4 5 7 9 10 11 15
0x63  255    3  3 4 5 7 9 10 11 15
$PIR: Found matching pin for 0.7.INTD at func 2: 5
$PIR: Found matching pin for 0.10.INTA at func 0: 9
$PIR: Found matching pin for 0.11.INTA at func 0: 11
$PIR: Found matching pin for 0.12.INTA at func 0: 5
$PIR: Links after initial IRQ discovery:
Link  IRQ  Ref  IRQs
0x60  255    2  3 4 5 6 7 9 10 11 12 14 15
0x61    9    3  3 4 5 7 9 10 11 15
0x62   11    3  3 4 5 7 9 10 11 15
0x63    5    3  3 4 5 7 9 10 11 15
$PIR: IRQs used by BIOS: 5 9 11
$PIR: Interrupt Weights:
[    0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15 ]
[    0   0   0   0   0   3   0   0   0   3   0   3   0   0   0   0 ]
pci0: <PCI bus> on pcib0
pci0: physical bus=0
	map[10]: type 3, range 32, base f8000000, size 26, enabled
found->	vendor=0x8086, dev=0x7192, revid=0x03
	bus=0, slot=0, func=0
	class=06-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0106, statreg=0xa200, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x8086, dev=0x7110, revid=0x02
	bus=0, slot=7, func=0
	class=06-80-00, hdrtype=0x00, mfdev=1
	cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[20]: type 4, range 32, base 00001040, size  4, enabled
found->	vendor=0x8086, dev=0x7111, revid=0x01
	bus=0, slot=7, func=1
	class=01-01-80, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[20]: type 4, range 32, base 00001060, size  5, enabled
$PIR: 0:7 INTD routed to irq 5
found->	vendor=0x8086, dev=0x7112, revid=0x01
	bus=0, slot=7, func=2
	class=0c-03-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=d, irq=5
	map[90]: type 4, range 32, base 00002180, size  4, enabled
found->	vendor=0x8086, dev=0x7113, revid=0x03
	bus=0, slot=7, func=3
	class=06-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[10]: type 3, range 32, base f5000000, size 24, enabled
	map[14]: type 1, range 32, base f4000000, size 21, enabled
	map[18]: type 1, range 32, base f4200000, size 20, enabled
found->	vendor=0x10c8, dev=0x0004, revid=0x01
	bus=0, slot=9, func=0
	class=03-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x80 (3840 ns), mingnt=0x10 (4000 ns), maxlat=0xff (63750 ns)
	intpin=a, irq=255
$PIR: 0:10 INTA routed to irq 9
found->	vendor=0x104c, dev=0xac1e, revid=0x00
	bus=0, slot=10, func=0
	class=06-07-00, hdrtype=0x02, mfdev=0
	cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords)
	lattimer=0x20 (960 ns), mingnt=0xc0 (48000 ns), maxlat=0x07 (1750 ns)
	intpin=a, irq=9
	powerspec 1  supports D0 D1 D2 D3  current D0
	map[10]: type 4, range 32, base 00001000, size  6, enabled
	map[14]: type 4, range 32, base 00001090, size  4, enabled
	map[18]: type 4, range 32, base 00001080, size  4, enabled
	map[1c]: type 4, range 32, base 000010a4, size  2, enabled
	map[20]: type 4, range 32, base 000010a0, size  2, enabled
$PIR: 0:11 INTA routed to irq 11
found->	vendor=0x125d, dev=0x1969, revid=0x02
	bus=0, slot=11, func=0
	class=04-01-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0001, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x02 (500 ns), maxlat=0x18 (6000 ns)
	intpin=a, irq=11
	powerspec 1  supports D0 D1 D2 D3  current D0
	map[10]: type 1, range 32, base f4300000, size  8, enabled
	map[14]: type 4, range 32, base 000010a8, size  3, enabled
	map[18]: type 4, range 32, base 00001400, size  8, enabled
$PIR: 0:12 INTA routed to irq 5
found->	vendor=0x11c1, dev=0x0449, revid=0x01
	bus=0, slot=12, func=0
	class=07-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0003, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0xfc (63000 ns), maxlat=0x0e (3500 ns)
	intpin=a, irq=5
	powerspec 2  supports D0 D2 D3  current D0
PCI-ISA bridge with incorrect subclass 0x80
PCI-ISA bridge with incorrect subclass 0x80
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x1040-0x104f at device 7.1 on pci0
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0-master: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ata0-master: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata0-slave:  stat=0x00 err=0x00 lsb=0x00 msb=0x00
ata0: reset tp2 mask=03 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: reset tp1 mask=03 ostat0=00 ostat1=00
ata1-master: stat=0x00 err=0x00 lsb=0x00 msb=0x00
ata1-slave:  stat=0x00 err=0x00 lsb=0x00 msb=0x00
ata1: reset tp2 mask=03 stat0=00 stat1=00 devices=0x0
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1060-0x107f irq 5 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) 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: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pci0: <display, VGA> at device 9.0 (no driver attached)
cbb0: <TI1211 PCI-CardBus Bridge> irq 9 at device 10.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [MPSAFE]
cbb0: PCI Configuration space:
  0x00: 0xac1e104c 0x02100007 0x06070000 0x00022000 
  0x10: 0x88000000 0x220000a0 0x20010000 0xfffff000 
  0x20: 0x00000000 0xfffff000 0x00000000 0xfffffffc 
  0x30: 0x00000000 0xfffffffc 0x00000000 0x07400109 
  0x40: 0x019a1014 0x00000001 0x00000000 0x00000000 
  0x50: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x60: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x70: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x80: 0x0064b060 0x00000000 0x00000000 0x012c1272 
  0x90: 0x616482c0 0x00000000 0x00000000 0x00000000 
  0xa0: 0x7e210001 0x00c08000 0x00000805 0x0000001f 
  0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 
pcm0: <ESS Solo-1 (unknown vendor)> port 0x10a0-0x10a3,0x10a4-0x10a7,0x1080-0x108f,0x1090-0x109f,0x1000-0x103f irq 11 at device 11.0 on pci0
pcm0: sndbuf_setmap 240000, 4000; 0xcbd31000 -> 240000
pcm0: sndbuf_setmap 250000, 4000; 0xcbd35000 -> 250000
pci0: <simple comms> at device 12.0 (no driver attached)
pnpbios: 19 devices, largest 193 bytes
PNP0c02: adding io range 0x80-0x80, size=0x1, align=0x1
PNP0c02: adding io range 0x760-0x760, size=0x1, align=0x1
PNP0c02: adding io range 0x72-0x73, size=0x2, align=0x1
PNP0c02: adding io range 0x1050-0x105f, size=0x10, align=0x1
PNP0c02: adding io range 0x398-0x399, size=0x2, align=0x1
PNP0c02: adding fixed memory32 range 0xfff80000-0xffffffff, size=0x80000
PNP0c02: adding fixed memory32 range 0xcc000-0xcffff, size=0x4000
pnpbios: handle 0 device ID PNP0c02 (020cd041)
PNP0c01: adding fixed memory32 range 0-0x9ffff, size=0xa0000
PNP0c01: adding fixed memory32 range 0xe8000-0xfffff, size=0x18000
PNP0c01: adding fixed memory32 range 0x100000-0xbffffff, size=0xbf00000
pnpbios: handle 2 device ID PNP0c01 (010cd041)
PNP0200: adding io range 0-0xf, size=0x10, align=0x1
PNP0200: adding io range 0x81-0x8f, size=0xf, align=0x1
PNP0200: adding io range 0xc0-0xdf, size=0x20, align=0x1
PNP0200: adding dma mask 0x10
pnpbios: handle 3 device ID PNP0200 (0002d041)
PNP0100: adding io range 0x40-0x43, size=0x4, align=0x1
PNP0100: adding irq mask 0x1
pnpbios: handle 5 device ID PNP0100 (0001d041)
PNP0b00: adding io range 0x70-0x71, size=0x2, align=0x1
PNP0b00: adding irq mask 0x100
pnpbios: handle 6 device ID PNP0b00 (000bd041)
PNP0303: adding io range 0x60-0x60, size=0x1, align=0x1
PNP0303: adding io range 0x64-0x64, size=0x1, align=0x1
PNP0303: adding irq mask 0x2
pnpbios: handle 7 device ID PNP0303 (0303d041)
PNP0c04: adding io range 0xf0-0xff, size=0x10, align=0x1
PNP0c04: adding irq mask 0x2000
pnpbios: handle 8 device ID PNP0c04 (040cd041)
PNP0800: adding io range 0x61-0x61, size=0x1, align=0x1
pnpbios: handle 9 device ID PNP0800 (0008d041)
PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0x1
pnpbios: handle 10 device ID PNP0a03 (030ad041)
PNP0c02: adding io range 0x4d0-0x4d1, size=0x2, align=0x1
PNP0c02: adding io range 0x8000-0x803f, size=0x40, align=0x1
PNP0c02: adding io range 0x2180-0x218f, size=0x10, align=0x1
pnpbios: handle 11 device ID PNP0c02 (020cd041)
pnpbios: handle 12 device ID PNP0c02 (020cd041)
PNP0c02: adding fixed memory32 range 0xca000-0xcbfff, size=0x2000
pnpbios: handle 13 device ID PNP0c02 (020cd041)
PNP0501: adding io range 0x3f8-0x3ff, size=0x8, align=0x1
PNP0501: adding irq mask 0x10
pnpbios: handle 14 device ID PNP0501 (0105d041)
pnpbios: handle 15 device ID IBM0071 (71004d24)
PNP0700: adding io range 0x3f0-0x3f5, size=0x6, align=0x8
PNP0700: adding io range 0x3f7-0x3f7, size=0x1, align=0x1
PNP0700: adding irq mask 0x40
PNP0700: adding dma mask 0x4
pnpbios: handle 17 device ID PNP0700 (0007d041)
pnpbios: handle 18 device ID PNP0e03 (030ed041)
IBM3781: adding irq mask 0x1000
pnpbios: handle 19 device ID IBM3781 (81374d24)
PNP0400: adding io range 0x378-0x37f, size=0x8, align=0x8
PNP0400: adding irq mask 0x80
pnpbios: handle 22 device ID PNP0400 (0004d041)
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
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; skipping it
vga: vga0 already exists; skipping it
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROM> at iomem 0xc0000-0xc9fff on isa0
pmtimer0 on isa0
adv0: not probed (disabled)
aha0: not probed (disabled)
aic0: not probed (disabled)
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0047
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
bt0: not probed (disabled)
cs0: not probed (disabled)
ed0: not probed (disabled)
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
fe0: not probed (disabled)
ie0: not probed (disabled)
le0: not probed (disabled)
lnc0: not probed (disabled)
pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic1: not probed (disabled)
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: EPP SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0: irq maps: 0x41 0x51 0x41 0x41
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: irq maps: 0x41 0x41 0x41 0x41
sio1: probe failed test(s): 0 1 2 4 6 7 9
sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
sio2: not probed (disabled)
sio3: not probed (disabled)
sn0: 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 
vt0: not probed (disabled)
isa_probe_children: probing PnP devices
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0303> at port 0x60 on isa0
unknown: <PNP0800> failed to probe at port 0x61 on isa0
unknown: <PNP0c02> can't assign resources (port)
unknown: <PNP0c02> at port 0x4d0-0x4d1 on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> at port 0x3f8-0x3ff on isa0
unknown: <> failed to probe on isa0
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0700> at port 0x3f0-0x3f5 on isa0
unknown: <PNP0e03> failed to probe on isa0
unknown: <IBM3781> can't assign resources (irq)
unknown: <IBM3781> at irq 12 on isa0
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0400> at port 0x378-0x37f on isa0
Device configuration finished.
procfs registered
TSC timecounter disabled: APM enabled.
Timecounter "TSC" frequency 398198157 Hz quality -1000
Timecounters tick every 10.000 msec
Linux ELF exec handler installed
lo0: bpf attached
ata0-master: pio=0x0c wdma=0x22 udma=0x44 cable=80pin
ata0-master: setting PIO4 on Intel PIIX4 chip
ata0-master: setting UDMA33 on Intel PIIX4 chip
ad0: <IBM-DARA-212000/AR4OA51A> ATA-4 disk at ata0-master
ad0: 11513MB (23579136 sectors), 23392 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA33
GEOM: new disk ad0
ar: FreeBSD check1 failed
[0] f:00 typ:6 s(CHS):0/1/1 e(CHS):1023/10/63 s:63 l:4192902
[1] f:00 typ:7 s(CHS):1023/255/63 e(CHS):1023/13/63 s:4192965 l:5863725
[2] f:80 typ:165 s(CHS):1023/255/63 e(CHS):1023/15/63 s:10056690 l:13522446
[3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
GEOM: Configure ad0s1, start 32256 length 2146765824 end 2146798079
GEOM: Configure ad0s2, start 2146798080 length 3002227200 end 5149025279
GEOM: Configure ad0s3, start 5149025280 length 6923492352 end 12072517631
GEOM: Configure ad0s3a, start 0 length 6501171200 end 6501171199
GEOM: Configure ad0s3b, start 6501171200 length 422321152 end 6923492351
GEOM: Configure ad0s3c, start 0 length 6923492352 end 6923492351
Mounting root from ufs:/dev/ad0s3a
start_init: trying /sbin/init
ltmdm0: <Lucent Winmodem> port 0x1400-0x14ff,0x10a8-0x10af mem 0xf4300000-0xf43000ff irq 5 at device 12.0 on pci0
ltmdm0: type Virtual 16550A
found->	vendor=0x1011, dev=0x0019, revid=0x41
	bus=2, slot=0, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0000, statreg=0x0280, cachelnsz=8 (dwords)
	lattimer=0xa8 (5040 ns), mingnt=0x14 (5000 ns), maxlat=0x28 (10000 ns)
	intpin=a, irq=9
dc0: <Intel 21143 10/100BaseTX> port 0x1100-0x117f mem 0x88001000-0x880013ff irq 9 at device 0.0 on cardbus0
miibus0: <MII bus> on dc0
bmtphy0: <BCM5201 10/100baseTX PHY> on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: bpf attached
dc0: Ethernet address: 00:e0:98:06:df:d0

Kernel configuration: generic with apm and pmtimer enabled. I tried also
modular configurations with only minimal hardware support - same
results.


More information about the freebsd-mobile mailing list