Re: Silent errors when reading CDs

2004-07-13 Thread Yar Tikhiy
On Sat, Jul 10, 2004 at 12:07:40AM +0200, Jean-Sebastien Roy wrote: > > I'm currently using FreeBSD 4.10 on an HP D530 SFF. > The system is perfectly stable except for the following problem > I'm unable to understand : > > When I mount a cdrom (mount /cdrom), then calculate the MD5 hash > of a bi

Re: Code review / Monitoring battery

2004-07-13 Thread Igor Pokrovsky
On Tue, Jul 13, 2004 at 03:51:26PM +0200, Phil Schulz wrote: > Also I'd like to know if anyone knows something similar to this little > tool. I found wmbattery from ports, but it doesn't shut down the > computer. If there isn't such a program, I'd be happy to make this > little thing a port (pr

Code review / Monitoring battery

2004-07-13 Thread Phil Schulz
Hello! I wrote a little daemon which monitors the value of sysctl hw.acpi.battery.life and issues me two warnings before shutting down the machine in case of low battery. Since this is one of my first steps in Unix-programming, I wonder if anyone might take a minute or two to look over the cod

Re: Article on Sun's DTrace

2004-07-13 Thread Eitarou Kamo
Hi Andrey, (B (BAndrey Simonenko wrote: (B (B> (B> Having read that bug report I began to think that they change several (B> continues bytes in a function, probably they just search for well known (B> commands sequence and atomically change one of them. I think it is (B> possible (B> to ch

Re: Article on Sun's DTrace

2004-07-13 Thread Andrey Simonenko
On Mon, Jul 12, 2004 at 07:09:33PM +0100, Steven Smith wrote: > > On their DTrace support forum there is the article about the problem > > with different byte patterns of "movl %esp, %ebp" produced by > > different assemblers. > Do you have an URL for that? I can't seem to find it. http://forum.s

Re: Article on Sun's DTrace

2004-07-13 Thread Dag-Erling Smørgrav
Steven Smith <[EMAIL PROTECTED]> writes: > I don't know enough about Sparcs to even speculate how it's done > there. The UltraSparc is a RISC processor, which amongst other things implies constant instruction size. Memory barriers take care of any cache coherence issues that may arise. DES -- D