Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

kernel/3373: Thinkpad R31 APM Kernel Problem

From: Dave Harrison <dave(at)nullcube.com>
Date: Mon Jul 28 2003 - 04:52:32 EDT


>Number: 3373
net
>Environment:

	Machine is an IBM Thinkpad R31
	OS is OpenBSD Current
	System      : OpenBSD 3.3
	Architecture: OpenBSD.i386
	Machine     : i386

>Description:
When shutting the lid of the laptop or making the following apm calls : apm -S : causes the laptop to go into standby and then immediately come out of it to the HDD power up password, where it freezes (not responding to pings or connections, and no keyboard response) apm -z : causes the laptop to go into suspend and then immediately come out of it to the HDD power up password, password is accepted and screen returns to previous state, however mouse and keyboard do not respond, and machine is frozen (not responding to pings or connections, and no keyboard response) These symptoms occur in exactly the same way, both from within X, and from a terminal. Also using Fn-F4 cause the machine to crash to a terminal with no response, and a black screen, +again no ping response or connections. The dmesg during boot time is as follows : OpenBSD 3.3-current (GENERIC) #2: Mon Jul 21 22:00:46 EST 2003 dave@alana.ucc.usyd.edu.au:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (Tualatin) ("GenuineIntel" 686-class) 1.20 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SIMD real mem = 259436544 (253356K) avail mem = 234483712 (228988K) using 3192 buffers containing 13074432 bytes (12768K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(ff) BIOS, date 04/11/03, BIOS32 rev. 0 @ 0xf0210 apm0 at bios0: Power Management spec V1.2
Do you need help?X
apm0: battery life expectancy 99% apm0: AC on, battery charge high, charging pcibios0 at bios0: rev. 2.1 @ 0xf0200/0xb00 pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfc800/144 (7 entries) pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x248c pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc0000/0xca00! pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82830MP CPU to I/O Bridge 1" rev 0x04 vga1 at pci0 dev 2 function 0 "Intel 82830MP Integrated Video" rev 0x04: aperture at 0x98000000, size 0x8000000 wsdisplay0 at vga1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) "Intel 82830MP Integrated Video" rev 0x00 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 29 function 0 "Intel 82801CA/CAM USB" rev 0x02: interrupting at irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 29 function 1 "Intel 82801CA/CAM USB" rev 0x02: interrupting at irq 11 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 29 function 2 "Intel 82801CA/CAM USB" rev 0x02: interrupting at irq 11 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x42 pci1 at ppb0 bus 1 fxp0 at pci1 dev 8 function 0 "Intel PRO/100 VE" rev 0x42: irq 11, address 00:00:e2:8c:7c:27 inphy0 at fxp0 phy 1: i82562ET 10/100 media interface, rev. 0
Do you need more help?X
cbb0 at pci1 dev 9 function 0 "Texas Instruments PCI1410 PCI-CardBus" rev 0x02: irq 11 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x40 pcmcia0 at cardslot0 pcib0 at pci0 dev 31 function 0 "Intel 82801CAM LPC" rev 0x02 pciide0 at pci0 dev 31 function 1 "Intel 82801CAM IDE" rev 0x02: DMA, channel 0 configured to compatibility, cha nnel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA, 19077MB, 16383 cyl, 16 head, 63 sec, 39070080 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 "Intel 82801CA/CAM SMB" rev 0x02 at pci0 dev 31 function 3 not configured auich0 at pci0 dev 31 function 5 "Intel 82801CA/CAM AC97 Audio" rev 0x02: irq 11, ICH3 AC97 ac97: codec id 0x41445348 (Analog Devices AD1881A) ac97: codec features headphone, Analog Devices Phat Stereo audio0 at auich0 "Intel 82801CA/CAM Modem" rev 0x02 at pci0 dev 31 function 6 not configured isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 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 midi0 at pcppi0: sysbeep0 at pcppi0 lpt2 at isa0 port 0x3bc/4: polled npx0 at isa0 port 0xf0/16: using exception 16 biomask c800 netmask c800 ttymask d802 pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matched BIOS disk 80
Can we help you?X
root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 I have upgraded the laptops firmware to the latest version, no change in problem. I have tried disabling the "machdep.apmhalt=1" line in sysctl.conf file, also without success. I have tried using a recompiled kernel with the line "option APM_DISABLE_INTERRUPTS=0" included. No success either. NB : The problem occurs under the GENERIC kernel which I normally use. I have also tried turning off PCI related power options in the BIOS settings, and have also disabled all BIOS passwords. Still no luck.
>How-To-Repeat:
Any of the following actions will trigger the problem : - call apm with either -S or -z options - shut lid of laptop (triggers suspend) - using key sequence Fn-F4
>Fix:
None that I am aware of.

>Release-Note:
Received on Mon Jul 28 05:39:22 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:30:01 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library