While debugging some qemu problems I wanted to try change the value in /proc/sys/dev/rtc/max-user-freq like suggested from qemu but there is no rtc dir in /proc/sys/dev/ a cat /boot/config-`uname -r` | grep CONFIG_RTC shows this: # CONFIG_RTC is not set [..] why is this disabled? Last time I used it it was there (was a while ago but it worked) Reason fro this?
On Sat, Aug 04, 2007 at 10:34:12AM +0200, dragoran wrote: > While debugging some qemu problems I wanted to try change the value in > > /proc/sys/dev/rtc/max-user-freq > > like suggested from qemu but there is no rtc dir in /proc/sys/dev/ > a cat /boot/config-`uname -r` | grep CONFIG_RTC shows this: > > # CONFIG_RTC is not set > [..] > > why is this disabled? Last time I used it it was there (was a while ago > but it worked) > Reason fro this? We''re using the CONFIG_RTC_CLASS drivers instead. Dave -- http://www.codemonkey.org.uk
On 8/4/07, Dave Jones <davej@redhat.com> wrote:> > On Sat, Aug 04, 2007 at 10:34:12AM +0200, dragoran wrote: > > While debugging some qemu problems I wanted to try change the value in > > > > /proc/sys/dev/rtc/max-user-freq > > > > like suggested from qemu but there is no rtc dir in /proc/sys/dev/ > > a cat /boot/config-`uname -r` | grep CONFIG_RTC shows this: > > > > # CONFIG_RTC is not set > > [..] > > > > why is this disabled? Last time I used it it was there (was a while ago > > but it worked) > > Reason fro this? > > We''re using the CONFIG_RTC_CLASS drivers instead.ok, how can I change the max user freq with this drivers? a quick google found nothing usefull... Dave> > -- > http://www.codemonkey.org.uk >
On Sat, Aug 04, 2007 at 08:02:02PM +0200, dragoran wrote: > On 8/4/07, Dave Jones <davej@redhat.com> wrote: > > > > On Sat, Aug 04, 2007 at 10:34:12AM +0200, dragoran wrote: > > > While debugging some qemu problems I wanted to try change the value in > > > > > > /proc/sys/dev/rtc/max-user-freq > > > > > > like suggested from qemu but there is no rtc dir in /proc/sys/dev/ > > > a cat /boot/config-`uname -r` | grep CONFIG_RTC shows this: > > > > > > # CONFIG_RTC is not set > > > [..] > > > > > > why is this disabled? Last time I used it it was there (was a while ago > > > but it worked) > > > Reason fro this? > > > > We''re using the CONFIG_RTC_CLASS drivers instead. > > > ok, how can I change the max user freq with this drivers? > a quick google found nothing usefull... qemu wants to raise that limit. the old driver had a limit of 64hz unless you used the override. The new driver doesn''t seem to have this check. It''s arguable that it should, and it too should have a sysctl though. Dave -- http://www.codemonkey.org.uk
On 8/4/07, Dave Jones <davej@redhat.com> wrote:> > On Sat, Aug 04, 2007 at 08:02:02PM +0200, dragoran wrote: > > On 8/4/07, Dave Jones <davej@redhat.com> wrote: > > > > > > On Sat, Aug 04, 2007 at 10:34:12AM +0200, dragoran wrote: > > > > While debugging some qemu problems I wanted to try change the value > in > > > > > > > > /proc/sys/dev/rtc/max-user-freq > > > > > > > > like suggested from qemu but there is no rtc dir in /proc/sys/dev/ > > > > a cat /boot/config-`uname -r` | grep CONFIG_RTC shows this: > > > > > > > > # CONFIG_RTC is not set > > > > [..] > > > > > > > > why is this disabled? Last time I used it it was there (was a while > ago > > > > but it worked) > > > > Reason fro this? > > > > > > We''re using the CONFIG_RTC_CLASS drivers instead. > > > > > > ok, how can I change the max user freq with this drivers? > > a quick google found nothing usefull... > > qemu wants to raise that limit. the old driver had a limit of 64hz > unless you used the override. The new driver doesn''t seem to have > this check. It''s arguable that it should, and it too should > have a sysctl though.so if I understand correctly this driver has hardcoded limits that can''t be changed from userspace (yet) ? Dave> > -- > http://www.codemonkey.org.uk >
On Sat, Aug 04, 2007 at 08:10:51PM +0200, dragoran wrote: > On 8/4/07, Dave Jones <davej@redhat.com> wrote: > > > > On Sat, Aug 04, 2007 at 08:02:02PM +0200, dragoran wrote: > > > On 8/4/07, Dave Jones <davej@redhat.com> wrote: > > > > > > > > On Sat, Aug 04, 2007 at 10:34:12AM +0200, dragoran wrote: > > > > > While debugging some qemu problems I wanted to try change the value > > in > > > > > > > > > > /proc/sys/dev/rtc/max-user-freq > > > > > > > > > > like suggested from qemu but there is no rtc dir in /proc/sys/dev/ > > > > > a cat /boot/config-`uname -r` | grep CONFIG_RTC shows this: > > > > > > > > > > # CONFIG_RTC is not set > > > > > [..] > > > > > > > > > > why is this disabled? Last time I used it it was there (was a while > > ago > > > > > but it worked) > > > > > Reason fro this? > > > > > > > > We''re using the CONFIG_RTC_CLASS drivers instead. > > > > > > > > > ok, how can I change the max user freq with this drivers? > > > a quick google found nothing usefull... > > > > qemu wants to raise that limit. the old driver had a limit of 64hz > > unless you used the override. The new driver doesn''t seem to have > > this check. It''s arguable that it should, and it too should > > have a sysctl though. > > > so if I understand correctly this driver has hardcoded limits that can''t be > changed from userspace (yet) ? No, it has no limits. Dave -- http://www.codemonkey.org.uk
On 8/4/07, Dave Jones <davej@redhat.com> wrote:> > On Sat, Aug 04, 2007 at 08:10:51PM +0200, dragoran wrote: > > On 8/4/07, Dave Jones <davej@redhat.com> wrote: > > > > > > On Sat, Aug 04, 2007 at 08:02:02PM +0200, dragoran wrote: > > > > On 8/4/07, Dave Jones <davej@redhat.com> wrote: > > > > > > > > > > On Sat, Aug 04, 2007 at 10:34:12AM +0200, dragoran wrote: > > > > > > While debugging some qemu problems I wanted to try change the > value > > > in > > > > > > > > > > > > /proc/sys/dev/rtc/max-user-freq > > > > > > > > > > > > like suggested from qemu but there is no rtc dir in > /proc/sys/dev/ > > > > > > a cat /boot/config-`uname -r` | grep CONFIG_RTC shows this: > > > > > > > > > > > > # CONFIG_RTC is not set > > > > > > [..] > > > > > > > > > > > > why is this disabled? Last time I used it it was there (was a > while > > > ago > > > > > > but it worked) > > > > > > Reason fro this? > > > > > > > > > > We''re using the CONFIG_RTC_CLASS drivers instead. > > > > > > > > > > > > ok, how can I change the max user freq with this drivers? > > > > a quick google found nothing usefull... > > > > > > qemu wants to raise that limit. the old driver had a limit of 64hz > > > unless you used the override. The new driver doesn''t seem to have > > > this check. It''s arguable that it should, and it too should > > > have a sysctl though. > > > > > > so if I understand correctly this driver has hardcoded limits that > can''t be > > changed from userspace (yet) ? > > No, it has no limits.ok