Author Topic: Same Procedure Every Few Month, Any Plans >r121  (Read 5465 times)

Martin

  • Full Member
  • ***
  • Posts: 138
    • View Profile
Same Procedure Every Few Month, Any Plans >r121
« on: November 30, 2006, 07:04:59 am »
Hi ...

I'm thinking about my c860 ...

is there a new release after r121 in near future (maybe end nov. or december 2006) ...

I have problems on r121 with ....
- ethernet over usbd
- getting my wlan card to work ...
- console trouble after exit x
- date / time setting after reboot
many described in forum before (some with solutions) but after reinstall (reflash) or reboot  I have to do many manual work again ...

Thanks to Sazh and all other developers, testers for their great work
Martin
--------------------------------------------------------
sl-c860 /w pdaXrom 1.1.0 Kathrin r121
CF 1GB , SD 2GB + 1GB + 512MB , MMC 512MB
Netgear MA701 WLAN 801b
Asus WL-HDD2.5 (very nice thing) /w 60 GB
--------------------------------------------------------
PC/Notebook SuSE 10.1 Prof. / KDE3.5.4
VDR /w KnoppMyth R5C7 (/w Myth 0.19)
--------------------------------------(August 2006)---

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Same Procedure Every Few Month, Any Plans >r121
« Reply #1 on: November 30, 2006, 08:15:55 am »
About date & time after reboot
Two scripts:
/usr/sbin/savedate
#!/bin/sh
date +%m%d%H%M%y > /etc/sysconfig/date

/usr/sbin/restoredate
date `cat /etc/sysconfig/date`

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Same Procedure Every Few Month, Any Plans >r121
« Reply #2 on: November 30, 2006, 08:36:20 am »
Sash has been pretty busy with his real job... and I'm working on getting all the bug fixes implemented into the next release and making a lot of changes to the "Settings Apps"... and this may take a little bit...

but, it defiently wont be end of November... because today is the last day of Nov. :-)

But hopefully soon...

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Same Procedure Every Few Month, Any Plans >r121
« Reply #3 on: November 30, 2006, 08:38:14 am »
Quote
About date & time after reboot
Two scripts:
/usr/sbin/savedate
#!/bin/sh
date +%m%d%H%M%y > /etc/sysconfig/date

/usr/sbin/restoredate
date `cat /etc/sysconfig/date`
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147582\"][{POST_SNAPBACK}][/a][/div]

That will be fixed in the next release...

It is due to the cxxx series rom not having "hwclock" not on it...
There is a script that runs at shutdown that syncs the realtime clock to hardware clock and vice versa at boot... :-)

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Same Procedure Every Few Month, Any Plans >r121
« Reply #4 on: November 30, 2006, 10:13:47 am »
Quote
Quote
About date & time after reboot
Two scripts:
/usr/sbin/savedate
#!/bin/sh
date +%m%d%H%M%y > /etc/sysconfig/date

/usr/sbin/restoredate
date `cat /etc/sysconfig/date`
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147582\"][{POST_SNAPBACK}][/a][/div]

That will be fixed in the next release...

It is due to the cxxx series rom not having "hwclock" not on it...
There is a script that runs at shutdown that syncs the realtime clock to hardware clock and vice versa at boot... :-)

Late
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147587\"][{POST_SNAPBACK}][/a][/div]

Actually my C1000 suffers from exactly the same thing after flashing Beta3 for a while. After suspend, not even reboot, the clock will revert back to a far earlier time (looks like the time of flashing, but i can't verify here).
Already read the posts here but the problem remained unresolved.
Tried sethwclock & hwclock (with --debug and --systoch) and sltime -set after date --set, but the problem persists. A not-so-big bug, but rather annoying.
So In Search Of can you give me the pointer to the script you mention?
Thanks!
« Last Edit: November 30, 2006, 10:15:41 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Same Procedure Every Few Month, Any Plans >r121
« Reply #5 on: November 30, 2006, 10:25:22 am »
Quote
Actually my C1000 suffers from exactly the same thing after flashing Beta3 for a while. After suspend, not even reboot, the clock will revert back to a far earlier time (looks like the time of flashing, but i can't verify here).
Already read the posts here but the problem remained unresolved.
Tried sethwclock & hwclock (with --debug and --systoch) and sltime -set after date --set, but the problem persists. A not-so-big bug, but rather annoying.
So In Search Of can you give me the pointer to the script you mention?
Thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147591\"][{POST_SNAPBACK}][/a][/div]

I was actually referring to rc121... but I will check on that for you... I may take a little because currently I'm running rc121 doing beta testing and debugging...

Late
« Last Edit: November 30, 2006, 10:31:43 am by InSearchOf »
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Same Procedure Every Few Month, Any Plans >r121
« Reply #6 on: November 30, 2006, 10:38:53 am »
Thanks a lot!

Just a sidenote: this has never happened to my C860 running Beta1.

And let me reproduce the outputs here:

Code: [Select]
# sethwclock
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
# sethwclock --systohc
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
# sethwclock --debug
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
# hwclock
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
# hwclock --systohc
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
# hwclock --debug
hwclock from util-linux-2.12j
hwclock: Open of /dev/rtc failed, error=16: Device or resource busy.
No usable clock interface found.
Cannot access the Hardware Clock via any known method.

I forgot since when, but I also began to see the same error message upon exiting X.  
« Last Edit: November 30, 2006, 11:05:18 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Same Procedure Every Few Month, Any Plans >r121
« Reply #7 on: November 30, 2006, 10:43:17 am »
I will load beta3 back on my Z tonight and look at this...  (I'm at work... but I can ssh into my Z...)

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Same Procedure Every Few Month, Any Plans >r121
« Reply #8 on: November 30, 2006, 10:49:19 am »
ZDevil... try this

Do a
Code: [Select]
hwclock --directisa
This will bypass /dev/rtc

Let me know what you get...

LAte
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Same Procedure Every Few Month, Any Plans >r121
« Reply #9 on: November 30, 2006, 11:04:02 am »
In Search Of:

Same story:  
Code: [Select]
# hwclock --directisa
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.

But thanks anyway.
« Last Edit: November 30, 2006, 11:04:47 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Same Procedure Every Few Month, Any Plans >r121
« Reply #10 on: November 30, 2006, 11:23:02 am »
ok... sorry that was a wasted command... only works on ALPHA and ISA hardware :-)...

I will look into it tonight
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
Same Procedure Every Few Month, Any Plans >r121
« Reply #11 on: November 30, 2006, 02:32:12 pm »
Quote
In Search Of:

Same story: 
Code: [Select]
# hwclock --directisa
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.

But thanks anyway.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147596\"][{POST_SNAPBACK}][/a][/div]
Are you sure the clock isn't locked/in use by something like atd?
SL6000-L, RC12

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Same Procedure Every Few Month, Any Plans >r121
« Reply #12 on: November 30, 2006, 03:26:37 pm »
Ohh and sorry Martin for hi-jacking your thread :-(

Please post your problems at
https://www.oesf.org/forums/index.php?showtopic=22119&hl=

So we can have to documented as bugs that need fixed.

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Same Procedure Every Few Month, Any Plans >r121
« Reply #13 on: November 30, 2006, 03:40:00 pm »
Quote
Quote
In Search Of:

Same story: 
Code: [Select]
# hwclock --directisa
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.

But thanks anyway.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147596\"][{POST_SNAPBACK}][/a][/div]
Are you sure the clock isn't locked/in use by something like atd?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147619\"][{POST_SNAPBACK}][/a][/div]

You are right!! I forgot I installed atd in order to get the alarm working for KO/Pi.
Uninstalling atd sethwclock works again.
So how does atd cause such as problem?
Is there a way to resolve the conflict between atd and the system clock?
If not, then I will have to give up using KO/Pi...

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
Same Procedure Every Few Month, Any Plans >r121
« Reply #14 on: November 30, 2006, 05:16:53 pm »
Quote
You are right!! I forgot I installed atd in order to get the alarm working for KO/Pi.
Uninstalling atd sethwclock works again.
So how does atd cause such as problem?
Is there a way to resolve the conflict between atd and the system clock?
If not, then I will have to give up using KO/Pi...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147628\"][{POST_SNAPBACK}][/a][/div]
You don't need to uninstall atd (or give up ko/pi) - just stop the service ('/etc/rc.d/init.d/atd stop') before running sethwclock, then start it ('/etc/rc.d/init.d/atd start') again after. You probably want to add this to the scripts that run sltime, sethwclock etc.

atd locks the clock because it is constantly using it - stopping it for a second to access the clock and starting it again shouldn't be a hassle.
SL6000-L, RC12