2.6.0 uptime bug
Hi,
I found a bug in the 2.6.0-test? kernels. /proc/uptime shows a uptime since the start of the epoch, approx. 33 years.
Is anybody able to reproduce this bug?
mfg,
Patrick "Petschge" Kilian
Signature · 14 lines
I still think the fastest way to get wholesale IPv6 adoption is to write a pr0n server that serves thumbnails over IPv[46] and full-size images over IPv6 only. -- Ingvar ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 3 lines · Patrick Kilian
I found a bug in the 2.6.0-test? kernels.
/proc/uptimeshows a uptime since the start of the epoch, approx. 33 years.
Is anybody able to reproduce this bug?
| virtual:~# uptime | Unknown HZ value! (0) Assume 100. | 21:10:46 up 12299 days, 19:10, 1 user, load average: 0.84, 0.62, 0.27 | virtual:~# cat /proc/uptime | 1062702653.67 31.10 | virtual:~# uname -a | Linux virtual 2.6.0-test3-1um #7 Tue Sep 2 17:07:34 CEST 2003 i686 unknown | virtual:~#
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 2 lines · [email protected] said:
I have a patch which gives the correct uptime. I don't know what the patch breaks so please post any problems you have.
Have you been able to figure out whether this is also a problem for other ports? Your patch suggests that it is, and if it is, then you should send it to LKML so it can be fixed in mainline.
Jeff
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Hi,
Quoted 5 lines
Quoted 2 lines
I have a patch which gives the correct uptime. I don't know what the patch breaks so please post any problems you have.
Have you been able to figure out whether this is also a problem for other ports? Your patch suggests that it is, and if it is, then you should send it to LKML so it can be fixed in mainline.
I don't know if other arch beside uml give the wrong uptime. If anyone could check this on i386 or other "read" hardware I'd be glad to hear the result. Looking at the code and the callpath all arch should have this bug. If someone is able to confirm this I'm going to post the patch to the lkml.
mfg,
Patrick "Petschge" Kilian
Signature · 15 lines
Spam ist weniger ein technisches als ein soziales Problem. Die einzigen technischen Mittel, die soziale Probleme halbwegs brauchbar loesen, sind schwere Waffen. Und das auch nur bei wirklich konsequenter Anwendung. -- Alexander Schreiber in dasr ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel