[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#358017: marked as done (ioctls fail with rtc on kernel 2.6)



Your message dated Thu, 30 Jul 2009 18:33:01 +0200
with message-id <20090730163301.GA10430@galadriel.inutil.org>
and subject line Re: ioctl rtc example
has caused the Debian Bug report #358017,
regarding ioctls fail with rtc on kernel 2.6
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
358017: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358017
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: kernel
Version: 2.6.8-2-686

Hello. I hope this is the right adress for this 'bug-report', if not i am sorry for the inconvenience.

On my debian system (3.0R1) the default-loaded RTC (/dev/rtc)-Driver is genrtc.ko, wich fails on ioctl-calls for periodic-interrupts (RTC_IRQP_SET) with 'invalid argument' on kernel 2.6.8-2-686. There are other calls wich fail also (RTC_PIE_ON for example). While update-IRQ (RTC_UIE_ON) for example works fine.

With the kernel-package 2.4.27-2-386 *all* ioctls worked fine. 

After searching the net for hours i found out that the driver rtc.ko works for kernel 2.6.8-2-686. 

I dont know if this is a bug, but i found many people on the net with similar problems with the 2.6 kernel, and no answer, though. 

There are some time-critical (music)-applications wich use the rtc i know of. None of them lists the problem, even rtc.txt in the kernel-documentation lacks information. (Not to mention that the example-code in the rtc.txt breaks when encountering the periodic-irq-section).

Maybe this is a helpful hint, if not, throw it away. (But if one of you gurus could tell me *why* this happens, iŽd be rather lucky ;))

Anyway, many thanks for the great system :)

Greetings
konrad
dresden
germany


--- End Message ---
--- Begin Message ---
On Wed, Dec 24, 2008 at 04:27:57PM +0100, Moritz Muehlenhoff wrote:
> reassign 358017 linux-2.6
> thanks
> 
> On Mon, Mar 20, 2006 at 09:50:02PM +0100, Konrad Schandera wrote:
> > Hello
> > 
> > After re-reading my mail i considerd sending some example code, wich shouldn work with:
> > 
> > Kernel 2.6.8-2-686 and module genrtc.ko loaded
> > 
> > but works with:
> > 
> > Kernel 2.6.8-2-686 and module rtc.ko loaded.
> > 
> > 
> > Maybe this is a general kernel issue, or an issue with my machine. If so, i am again really sorry for the inconvenience.
> 
> Does this behaviour still occur with more recent kernel versions?

No further feedback, closing the bug.

If anyone reencounters the problem, please reopen this bug.

Cheers,
        Moritz


--- End Message ---

Reply to: