Thinkpad x31 und suspend to whatsoever

peterle

Forenkasper
Kuckuck,

ich knaster seit ein paar Tagen mit einem Thinkpad x31 rum und habe jetzt DesktopBSD drauf und da das ja nichts anderes als ein aufgebohrtes FreeBSD ist, schreibe ich das mal hier hin.

So weit ich sehen kann, funktioniert das fast alles out of the box.
Was mir allerdings nich gelingen will, ist der ganze Suspend-Bereich.

Bei Suspend to RAM geht der Bildschirm kurz aus und kommt dann auch direkt wieder. Suspend to Disk will gar nicht funktionieren.
Die Googelei brachte einen riesigen Wald, aber leider nicht so recht die Bäume, die ich suchte. :(
Hat vielleicht einer einen Tip oder ein ähnliches Setup und kann mir bitte mal auf die Sprünge helfen? :o
 
Doofe Kiste ist das.
Mit ACPI werden alle Eigenschaften erkannt, aber dafür kann er weder ein Suspend to RAM noch eins to disk machen.
Knipst man ACPI aus und baut einen neuen Kernel mit "device apm", dann kann er zwar sein Suspend, aber dafür den Rest nicht mehr.

Ulkigerweise kann ausgerechnet so ein blödes Openbsd 4.1 das alles ohne irgendwelche Probleme. Muß doch was dran sein, an dem "sauber programmieren" was die OpenBSDler sich immer an die Brust heften. Alle Achtung.
Bräuchte ich nicht WPA und zumindest ansatzweise Flash, wäre das jetzt der Punkt an dem ich umsteigen würde. :cool:
 
Last edited:
Mal etwas mehr Details. Was hast Du bisher gemacht? Ist acpi_ibm geladen - was liefert kldstat? Was sagt sysctl hw.acpi.suspend_state? Verwendest Du xorg und wenn ja dann wohl mit dem ati Treiber - zusammen mit dri/drm? Schonmal direkt via acpiconf nen resume probiert oder nur per Fn+Fx?

Ich verwende auf nem T41 xorg mit dem ati treiber ohne DRI, mit Unterstützung vom Kernel (acpi/acpi_ibm/radeon/drm, kein apm) und suspend to RAM funktioniert soweit.
 
Mal etwas mehr Details.

Yes, Sir! Captain, Sir! :p

Was hast Du bisher gemacht?

Neben allem möglichen Blödsinn, habe ich erstmal eine tphdisk-Diskette von IBM gezogen und eine passende Partition anlegen lassen.
Vista und OpenBSD laufen lässig ohne jede Probleme und erkennen alles.
DesktopBSD 1.6 RC3 probiert und Probleme gehabt, aber die haben einen STABLE-Kernel.
CURRENT mal probiert, aber der hat genügend andere Probleme. :rolleyes:
STABLE mit eigenem Kernel und device APM mit oben beschriebenem Mißerfolg.
6.2-RELEASE PL4 mit nun funktionierendem SUSPEND to RAM, aber nicht funktionierendem to DISK und Problemen beim Booten ohne Ultrabase, da hängt er sich bei der Suche nach acd0: auf.
Kann man bei einigen Modellen im Bios ausknipsen, bei meinem aber nicht.
BIOS und Device Manager sind auf dem aktuellesten Stand.


Ist acpi_ibm geladen

Jawollja.

Code:
# cat /boot/loader.conf 
snd_ich_load="YES"
acpi_ibm_load="YES"
if_iwi_load="YES"
wlan_load="YES"
#firmware_load="YES"
kern.maxfiles="25000"

- was liefert kldstat?

mit X an:
Code:
 kldstat
Id Refs Address    Size     Name
 1   20 0xc0400000 6f6668   kernel
 2    1 0xc0af7000 e1a8     if_iwi.ko
 3    3 0xc0b06000 2d60     firmware.ko
 4    1 0xc0b09000 5fa0     snd_ich.ko
 5    2 0xc0b0f000 22b88    sound.ko
 6    1 0xc0b32000 478c     acpi_ibm.ko
 7    2 0xc0b37000 59f20    acpi.ko
 8    1 0xc5005000 30000    iwi_bss.ko
 9    1 0xc508f000 16000    linux.ko
10    1 0xc5342000 1e000    radeon.ko
11    1 0xc536b000 e000     drm.ko


Was sagt sysctl hw.acpi.suspend_state?

Code:
# sysctl hw.acpi.suspend_state
hw.acpi.suspend_state: S3

Verwendest Du xorg und wenn ja dann wohl mit dem ati Treiber - zusammen mit dri/drm?

Mach ich zwar, aber die Versuche waren nur auf Console und das reicht ja auch erst mal.

Schonmal direkt via acpiconf nen resume probiert oder nur per Fn+Fx?

Identische Ergebnisse, wie auf den Fn-Tasten.

Ich verwende auf nem T41 xorg mit dem ati treiber ohne DRI, mit Unterstützung vom Kernel (acpi/acpi_ibm/radeon/drm, kein apm) und suspend to RAM funktioniert soweit.

Ich kann jetzt Suspend to RAM ohne APM, aber nicht to disk.
Auf der Ultrabase startet er ohne Probleme, aber ohne die Ultrabase drunter hängt er sich bei der Suche nach dem ATA1 der Base auf und dann geht gar nichts mehr.

Code:
#dmesg
Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007
    root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1400MHz (599.49-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x695  Stepping = 5
  Features=0xa7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
  Features2=0x180<EST,TM2>
real memory  = 1073020928 (1023 MB)
avail memory = 1040674816 (992 MB)
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <IBM TP-1Q> on motherboard
acpi_ec0: <Embedded Controller: GPE 0x1c, ECDT> port 0x62,0x66 on acpi0
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82855 host to AGP bridge> mem 0xd0000000-0xdfffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1800-0x181f irq 11 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801DB (ICH4) 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 82801DB (ICH4) USB controller USB-B> port 0x1820-0x183f irq 11 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801DB (ICH4) 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
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1840-0x185f irq 11 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801DB (ICH4) 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
ehci0: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> mem 0xc0000000-0xc00003ff irq 11 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
cbb0: <RF5C476 PCI-CardBus Bridge> mem 0xb0000000-0xb0000fff irq 11 at device 0.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <RF5C476 PCI-CardBus Bridge> mem 0xb1000000-0xb1000fff irq 5 at device 0.1 on pci2
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
fwohci0: <Ricoh R5C552> mem 0xc0202000-0xc02027ff irq 11 at device 0.2 on pci2
fwohci0: OHCI version 1.0 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:06:1b:03:10:01:0d:b1
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:06:1b:01:0d:b1
fwe0: Ethernet address: 02:06:1b:01:0d:b1
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xc0200000-0xc0200fff irq 11 at device 2.0 on pci2
iwi0: Ethernet address: 00:16:6f:b7:9a:d7
fxp0: <Intel 82801DB (ICH4) Pro/100 VE Ethernet> port 0x8000-0x803f mem 0xc0201000-0xc0201fff irq 11 at device 8.0 on pci2
miibus0: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:09:6b:fa:ad:aa
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pcm0: <Intel ICH4 (82801DB)> port 0x1c00-0x1cff,0x18c0-0x18ff mem 0xc0000c00-0xc0000dff,0xc0000800-0xc00008ff irq 5 at device 31.5 on pci0
pcm0: <Analog Devices AD1981B AC97 Codec>
pci0: <simple comms, generic modem> at device 31.6 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 8250 or not responding
ppc0: <Standard parallel printer port> port 0x3bc-0x3be irq 7 on acpi0
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
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
battery0: <ACPI Control Method Battery> on acpi0
battery1: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_ibm0: <IBM ThinkPad ACPI Extras> on acpi0
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd0fff,0xd1000-0xd1fff,0xdc000-0xdffff,0xe0000-0xeffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 599493502 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 152627MB <SAMSUNG HM160JC AP100-16> at ata0-master UDMA100
acd0: DVDR <SONY DVD RW DW-Q58A/1.11> at ata1-master UDMA33
Trying to mount root from ufs:/dev/ad0s4a
drm0: <ATI Radeon LY RV100 Mobility M6> port 0x3000-0x30ff mem 0xe0000000-0xe7ffffff,0xc0100000-0xc010ffff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xd0000000 256MB
info: [drm] Initialized radeon 1.24.0 20060225
info: [drm] Setting GART location based on old memory map
info: [drm] writeback test succeeded in 1 usecs

Any help appreciated. :)
 
Back
Top