Re: can't mke2fs hdb, says already mounted, but it isn't

2009-12-17 Thread David Kubicek
10M 764K 9.3M 8% /dev tmpfs 506M 0 506M 0% /dev/shm /dev/hda3 3.7G 943M 2.6G 27% /home You may have a stale record in /etc/mtab. Make sure /dev/hda1 *really* is not mounted, then remove /dev/hda1 record from /etc/mtab and try mke2fs again. -- Dav

Re: Weird time-zone oscillation

2009-12-14 Thread David Kubicek
On 12/13/2009 11:10 PM, Kumar Appaiah wrote: On Sun, Dec 13, 2009 at 10:57:24PM +0100, David Kubicek wrote: This is the first time I've seen this, though, and I use strptime() often in my SW, mostly for timestamps which would be discovered by people rather quickly! :) Are you sure you&#

Re: Weird time-zone oscillation

2009-12-13 Thread David Kubicek
On 12/13/2009 10:54 PM, Kumar Appaiah wrote: On Sun, Dec 13, 2009 at 10:14:11PM +0100, David Kubicek wrote: If/when you find a solution, send it here for other people who might google for the same issue, but I from your description it's a libc bug. Here's the solut

Re: Weird time-zone oscillation

2009-12-13 Thread David Kubicek
worse. It means "no DST" and mktime will not verify it. Only -1 is acceptable as input to mktime, unless of course you check DST yourself and set 0/1 as an informed action. I'm glad we got to the solution and this -1 behaviour of other systems is definitely good to know! Than

Re: Weird time-zone oscillation

2009-12-13 Thread David Kubicek
On 12/13/2009 08:47 PM, Kumar Appaiah wrote: On Sun, Dec 13, 2009 at 08:16:21PM +0100, David Kubicek wrote: OK, where do I move next? :-) Especially given that these things don't happen in a fresh sid chroot, I am really wondering what unearthly configuration option could be causing this.

Re: Weird time-zone oscillation

2009-12-13 Thread David Kubicek
On 12/13/2009 07:50 PM, Kumar Appaiah wrote: On Sun, Dec 13, 2009 at 07:39:31PM +0100, David Kubicek wrote: # export TZ=Europe/Prague # for i in `seq 1 20`; do ./posix; date; done 1260496200 Sun Dec 13 19:04:24 CET 2009 ... (Note: 2600 vs. 6200): [ku...@bluemoon ~] for i in `seq 1 10`;do TZ

Re: Weird time-zone oscillation

2009-12-13 Thread David Kubicek
evous processes. Thank you very much for the pointers. Wait until we'll have fixed it, if ever. :) -- David Kubicek #include #include void main(void) { char *iso_date = "2009-12-11T2:50:00"; struct tm tm; time_t time; strptime(iso_date, "%FT%T", &tm); time = mktime(&tm); printf("%ld\n", time); }

Re: IDE CD-DVD Writer won't write

2009-12-13 Thread David Kubicek
ted some modules earlier, BIOS settings, there's so many possibilities and things to check (and fix)... Reboot and send us outputs of these, I'd better see it all: cat /proc/cmdline cat /proc/scsi/scsi lsmod lshal dmesg ls -lR /dev -- David Kubicek -- To UNSUBSCRIBE, email to debi

Re: Weird time-zone oscillation

2009-12-13 Thread David Kubicek
install --reinstall libc6 tzdata libglib2.0-0 libglib2.0-data When we're sure relevant libraries are OK, we can explore other possibilities if the issue persists. I doubt it will after this action, unless, of course, you have some very peculiar configuration I cannot imagine somewhere. :) --

Re: IDE CD-DVD Writer won't write

2009-12-13 Thread David Kubicek
On 12/13/2009 03:58 PM, Merciadri Luca wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony Nelson writes: Can the drive /read/ CDs and DVDs in Windows? In Linux? If not, certainly try the next suggestion. Try fiddling with the cables to the drive. Replug them. Move the data cable a

Re: Screen highlight

2009-12-13 Thread David Kubicek
t and attach it to some hotkey-action (via window manager cfg) or some extra/media HW button (via ACPI scripts). You can choose any button(s) you have for it and it's very easy. -- David Kubicek -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsub