Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 06-26-2009, 07:58 PM   #1
LQ Newbie
Registered: Jun 2009
Distribution: LFS
Posts: 11

Rep: Reputation: 1
Cross-LFS RealTimeClock does not work

ok.... So now when my cross linuxfromscratch on an ibook G4 with kernel 2.6.30 boots, the hardware clock fails to set! The boot message is:

Setting system clock...
RTC_RD_TIME: Invalid argument
ioctl() to /dev/rtc to read the time failed.

So i tried selecting every RTC driver available in the kernel and that didnt work. Under Device Drivers-->Real Time Clock i have selected:

Set system time from RTC on startup and resume = y
RTC used to set the system time = rtc0
/sys/class/rtc/rtcN = y
/proc/driver/rtc = y
/dev/rtcN = y
And then ALL of the drivers below selected.

I tried setting the clock through hwclock and i got the same error.
Does anyone have any idea what's going on?

Last edited by timmytycoon; 06-26-2009 at 08:00 PM.
Old 06-27-2009, 11:36 AM   #2
LQ Newbie
Registered: Jun 2009
Distribution: LFS
Posts: 11

Original Poster
Rep: Reputation: 1
YAY! I got it to work! I needed to enable the protocol under Device Drivers-->Macintosh Drivers or something like that! Thanks!
Old 06-28-2009, 05:29 AM   #3
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
Thanks for posting the solution. It allows others to benefit from your experience, just as you do/will benefit from theirs.

I understand that you can now use the Thread Tools to mark the thread "[solved]".



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Cross-LFS with custom kernel: Keyboard does not work! timmytycoon Linux - Hardware 1 06-27-2009 11:35 AM
Cross LFS for IA64 Glibc make error katinoel Linux From Scratch 1 03-03-2007 06:34 AM
Cross-lfs Glibc-2.4 EXS Linux From Scratch 1 06-09-2006 02:03 PM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 05:03 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration