All of lore.kernel.org
 help / color / mirror / Atom feed
* PMU_IOC_SLEEP failed
@ 2010-12-28 12:25 jjDaNiMoTh
  2010-12-28 15:32 ` Michel Dänzer
  0 siblings, 1 reply; 6+ messages in thread
From: jjDaNiMoTh @ 2010-12-28 12:25 UTC (permalink / raw)
  To: linuxppc-dev

Hi all,

what could be the problem here?

[root@myhost ~]# /usr/lib/hal/hal-system-power-pmu sleep
power-pmu : PMU_IOC_SLEEP failed

(same with pm-suspend, kernel version: any >= 2.6.33. I'm now on a .37-rc).

KMS is disabled (modprobe radeon modeset=0, and I can't switch over VT).
userspace thing has kms for radeon disabled (libdrm, mesa, xf86-video-ati).

There are some important parts of config should I attach?

Thanks

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PMU_IOC_SLEEP failed
  2010-12-28 12:25 PMU_IOC_SLEEP failed jjDaNiMoTh
@ 2010-12-28 15:32 ` Michel Dänzer
  2010-12-28 16:39   ` jjDaNiMoTh
  0 siblings, 1 reply; 6+ messages in thread
From: Michel Dänzer @ 2010-12-28 15:32 UTC (permalink / raw)
  To: jjDaNiMoTh; +Cc: linuxppc-dev

On Die, 2010-12-28 at 13:25 +0100, jjDaNiMoTh wrote:=20
>=20
> what could be the problem here?
>=20
> [root@myhost ~]# /usr/lib/hal/hal-system-power-pmu sleep
> power-pmu : PMU_IOC_SLEEP failed
>=20
> (same with pm-suspend, kernel version: any >=3D 2.6.33. I'm now on a .37-=
rc).
>=20
> KMS is disabled (modprobe radeon modeset=3D0, and I can't switch over VT)=
.

What exactly does "can't switch over VT" mean?

Sleep requires radeonfb, is that enabled?


--=20
Earthling Michel D=C3=A4nzer           |                http://www.vmware.c=
om
Libre software enthusiast         |          Debian, X and DRI developer

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PMU_IOC_SLEEP failed
  2010-12-28 15:32 ` Michel Dänzer
@ 2010-12-28 16:39   ` jjDaNiMoTh
  2010-12-28 20:54     ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 6+ messages in thread
From: jjDaNiMoTh @ 2010-12-28 16:39 UTC (permalink / raw)
  To: Michel Dänzer; +Cc: linuxppc-dev

2010/12/28 Michel D=C3=A4nzer <michel@daenzer.net>:
[cut]
> What exactly does "can't switch over VT" mean?
After X is running, I can't switch over ctrl + alt + f{1,2,3,4,5,6}
consoles ( the screen flicker, then blank ). If I switch to f7, where
X live, all return to normal and I can see normal X window.
This doesn't happend with X active.

> Sleep requires radeonfb, is that enabled?

Of course, but I think there is something wrong:

(dmesg..)
[...]
radeonfb_pci_register BEGIN
radeonfb 0000:00:10.0: BAR 0: can't reserve [mem 0xb8000000-0xbfffffff pref=
]
radeonfb (0000:00:10.0): cannot request region 0.
radeonfb: probe of 0000:00:10.0 failed with error -16

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PMU_IOC_SLEEP failed
  2010-12-28 16:39   ` jjDaNiMoTh
@ 2010-12-28 20:54     ` Benjamin Herrenschmidt
  2010-12-28 23:35       ` jjDaNiMoTh
  0 siblings, 1 reply; 6+ messages in thread
From: Benjamin Herrenschmidt @ 2010-12-28 20:54 UTC (permalink / raw)
  To: jjDaNiMoTh; +Cc: linuxppc-dev

On Tue, 2010-12-28 at 17:39 +0100, jjDaNiMoTh wrote:
> 2010/12/28 Michel Dänzer <michel@daenzer.net>:
> [cut]
> > What exactly does "can't switch over VT" mean?
> After X is running, I can't switch over ctrl + alt + f{1,2,3,4,5,6}
> consoles ( the screen flicker, then blank ). If I switch to f7, where
> X live, all return to normal and I can see normal X window.
> This doesn't happend with X active.
> 
> > Sleep requires radeonfb, is that enabled?
> 
> Of course, but I think there is something wrong:
> 
> (dmesg..)
> [...]
> radeonfb_pci_register BEGIN
> radeonfb 0000:00:10.0: BAR 0: can't reserve [mem 0xb8000000-0xbfffffff pref]
> radeonfb (0000:00:10.0): cannot request region 0.
> radeonfb: probe of 0000:00:10.0 failed with error -16

That looks bad indeed. Send me the complete dmesg, a snapshot of the
device-tree (tar -c /proc/device-tree >foo.tar) and the output
of /proc/iomem please.

Cheers,
Ben.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PMU_IOC_SLEEP failed
  2010-12-28 20:54     ` Benjamin Herrenschmidt
@ 2010-12-28 23:35       ` jjDaNiMoTh
  2010-12-31 23:30         ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 6+ messages in thread
From: jjDaNiMoTh @ 2010-12-28 23:35 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev

2010/12/28 Benjamin Herrenschmidt <benh@kernel.crashing.org>:
> On Tue, 2010-12-28 at 17:39 +0100, jjDaNiMoTh wrote:
>> 2010/12/28 Michel D=C3=A4nzer <michel@daenzer.net>:
>> [cut]
>> > What exactly does "can't switch over VT" mean?
>> After X is running, I can't switch over ctrl + alt + f{1,2,3,4,5,6}
>> consoles ( the screen flicker, then blank ). If I switch to f7, where
>> X live, all return to normal and I can see normal X window.
>> This doesn't happend with X active.
>>
>> > Sleep requires radeonfb, is that enabled?
>>
>> Of course, but I think there is something wrong:
>>
>> (dmesg..)
>> [...]
>> radeonfb_pci_register BEGIN
>> radeonfb 0000:00:10.0: BAR 0: can't reserve [mem 0xb8000000-0xbfffffff p=
ref]
>> radeonfb (0000:00:10.0): cannot request region 0.
>> radeonfb: probe of 0000:00:10.0 failed with error -16
>
> That looks bad indeed. Send me the complete dmesg, a snapshot of the
> device-tree (tar -c /proc/device-tree >foo.tar) and the output
> of /proc/iomem please.

[1] http://nat.vacau.com/linux/iomem.txt.gz
[2] http://nat.vacau.com/linux/dmesg_37-rc.txt.gz
[3] http://nat.vacau.com/linux/device_tree.tar

Thank you

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PMU_IOC_SLEEP failed
  2010-12-28 23:35       ` jjDaNiMoTh
@ 2010-12-31 23:30         ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 6+ messages in thread
From: Benjamin Herrenschmidt @ 2010-12-31 23:30 UTC (permalink / raw)
  To: jjDaNiMoTh; +Cc: linuxppc-dev

On Wed, 2010-12-29 at 00:35 +0100, jjDaNiMoTh wrote:
> >> (dmesg..)
> >> [...]
> >> radeonfb_pci_register BEGIN
> >> radeonfb 0000:00:10.0: BAR 0: can't reserve [mem
> 0xb8000000-0xbfffffff pref]
> >> radeonfb (0000:00:10.0): cannot request region 0.
> >> radeonfb: probe of 0000:00:10.0 failed with error -16
> >
> > That looks bad indeed. Send me the complete dmesg, a snapshot of the
> > device-tree (tar -c /proc/device-tree >foo.tar) and the output
> > of /proc/iomem please.
> 
> [1] http://nat.vacau.com/linux/iomem.txt.gz
> [2] http://nat.vacau.com/linux/dmesg_37-rc.txt.gz
> [3] http://nat.vacau.com/linux/device_tree.tar 

Are you trying to use radeonfb as a module ? The dmesg seems to indicate
that you have offb taking control of the framebuffer, preventing
radeonfb from loading.

There's no offb->radeonfb handover (the handover mechanism is new and
only used by KMS for now). On those machines, radeonfb should be
built-in.

Cheers,
Ben.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-12-31 23:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-28 12:25 PMU_IOC_SLEEP failed jjDaNiMoTh
2010-12-28 15:32 ` Michel Dänzer
2010-12-28 16:39   ` jjDaNiMoTh
2010-12-28 20:54     ` Benjamin Herrenschmidt
2010-12-28 23:35       ` jjDaNiMoTh
2010-12-31 23:30         ` Benjamin Herrenschmidt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.