APM problem in 5.1-RELEASE

From: Jesse Guardiani <jesse_at_wingnet.net>
Date: Wed, 18 Jun 2003 13:16:23 -0400
Not sure if this is the appropriate list, but
I've tried the -mobile list a few times with no
response.


Background:
-----------

I have an IBM Thinkpad A30p with all the latest
BIOS code and Controller code.

It's running 5.1-RELEASE well. But I had to set:

hw.pci.allow_unsupported_io_range=1

To get the kernel booting.

I have apm enabled and loading properly in the
kernel (as a module), and I have apmd running
and apm enabled in user space.


Problem:
--------

I can place the system into Standby mode and
bring it back without problems, but when I try
to suspend the system, I run into problems:

The system suspends without problems. But when
I try to bring it back from suspend it freezes
right after the line:

ata1: resetting devices ..

Firewire appears to resume fine, and so does ata0,
but I think it's hanging on the ATAPI devices under
ata1.

Help! This APM BIOS suspends fine under Linux (2.4.18
kernel)! I've tried everything I can think of to
get suspend working under 5.1-RELEASE!

I will happily do my best to provide any further
information required! I'll even build a debug
kernel if that's what it takes. I'm out of ideas
here...


Dmesg.boot:
-----------

Copyright (c) 1992-2003 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.1-RELEASE #7: Wed Jun 18 12:02:02 EDT 2003
    jesse_at_trevarthan.int.wingnet.net:/usr/src/sys/i386/compile/TREVARTHAN
Preloaded elf kernel "/boot/kernel/kernel" at 0xc04df000.
Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc04df26c.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc04df318.
Preloaded elf module "/boot/kernel/apm.ko" at 0xc04df3c4.
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Pentium(R) III Mobile CPU      1200MHz (1198.99-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 402063360 (383 MB)
avail memory = 385155072 (367 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 14 entries at 0xc00fdeb0
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82830 host to AGP bridge> mem 0xd0000000-0xdfffffff at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0x1800-0x181f irq 9 at device 29.0 on pci0
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> 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
uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 0x1820-0x183f irq 11 at device 29.1 on pci0
usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ums0: Logitech USB Receiver, rev 1.10/16.00, addr 2, iclass 3/1
ums0: 7 buttons and Z dir.
uhci2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port 0x1840-0x185f irq 9 at device 29.2 on pci0
usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pcib2: <PCIBIOS PCI-PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
cbb0: <RF5C478 PCI-CardBus Bridge> mem 0x50000000-0x50000fff irq 9 at device 0.0 on pci2
start (50000000) < sc->membase (c0200000)
start (50000000) < sc->pmembase (e8000000)
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <RF5C478 PCI-CardBus Bridge> mem 0x50100000-0x50100fff irq 5 at device 0.1 on pci2
start (50100000) < sc->membase (c0200000)
start (50100000) < sc->pmembase (e8000000)
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
fwohci0: vendor=1180, dev=522
fwohci0: <1394 Open Host Controller Interface> mem 0xc0201000-0xc02017ff irq 9 at device 0.2 on pci2
fwohci0: OHCI version 1.0 (ROM=0)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 00:06:1b:02:01:00:24:63
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
if_fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:06:1b:00:24:63
sbp0: <SBP2/SCSI over firewire> on firewire0
fwohci0: Initiate bus reset
wi0: <Intersil Prism2.5> mem 0xf0000000-0xf0000fff irq 9 at device 2.0 on pci2
wi0: 802.11 address: 00:20:e0:8a:90:61
wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2)
wi0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
fxp0: <Intel 82801CAM (ICH3) Pro/100 VE Ethernet> port 0x8000-0x803f mem 0xc0200000-0xc0200fff irq 10 at device 8.0 on pci2
fxp0: Ethernet address 00:d0:59:aa:70:ec
miibus0: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 UDMA100 controller> port 0x1860-0x186f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ichsmb0: <Intel 82801CA (ICH3) SMBus controller> port 0x1880-0x189f irq 5 at device 31.3 on pci0
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus generic I/O> on smbus0
pcm0: <Intel 82801CA (ICH3)> port 0x18c0-0x18ff,0x1c00-0x1cff irq 5 at device 31.5 on pci0
pcm0: <Cirrus Logic CS4299 AC97 Codec>
pci0: <simple comms> at device 31.6 (no driver attached)
eisa0: <EISA bus> on motherboard
eisa0: unknown card _at_H_at_0000 (0x01000000) at slot 1
orm0: <Option ROMs> at iomem 0xe0000-0xeffff,0xdc000-0xdffff,0xd1000-0xd1fff,0xd0000-0xd0fff,0xc0000-0xcffff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
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
pcic0 at port 0x3e0 iomem 0xa0000-0xa1fff irq 3 on isa0
pcic_attach: attach found no sockets
device_probe_and_attach: pcic0 attach returned 6
ppc0: <Parallel port> at port 0x3bc-0x3c3 irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
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>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0680> can't assign resources (port)
unknown: <PNP0680> can't assign resources (port)
unknown: <IBM3780> can't assign resources (irq)
unknown: <PNP0501> can't assign resources (port)
unknown: <IBM0071> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
Timecounters tick every 10.000 msec
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
ata1-slave: timeout waiting for interrupt
ata1-slave: ATAPI identify failed
ad0: 45780MB <IC25T048ATDA05-0> [93015/16/63] at ata0-master UDMA100
acd0: DVD-ROM <HL-DT-STDVD-ROM GDR8081N> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s3a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 16 files 1
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 68 files 13

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net
Received on Wed Jun 18 2003 - 08:26:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:12 UTC