| From | Subject | Date |
|---|---|---|
| Joey | Eradicates classrooms and traveling call without delay
F A S T T R A C K D E G R E E P R O G R A M
Obtain the degree you deserve, based on your present knowledge and
life experience.
A prosperous future, money earning power, and the Admiration of all.
Degrees from an Established, Prestigious, Leading Institution.
Your Degree will show exactly what you really can do.
Get the Job, Promotion, Business Opportunity
and Social Advancement you Desire!
Eliminates classrooms and traveling.
Achieve your Bachelors, Masters, ...
| Feb 22, 10:05 am 2008 |
| Jeremy Chadwick | Re: Winbond IO chip driver
Somewhat related:
I can work with you on this, if need be. I've been working with both
the Winbond W83627HF and (more so) the Winbond W83793G, talking to both
via SMBus, so that we have a way to monitor fans and thermal information
on our Supermicro boxes.
I've written an application that fetches said information per Supermicro
specs (they deviate from Winbond's specifications a bit, since they
appear to use resistors on some of the thermistors at different
resistances -- and to make ...
| Feb 22, 4:38 pm 2008 |
| David Duchscher | Winbond IO chip driver
It was suggested that this list may be a better place to post my
request.
I have started work on a WinBond chip driver (currently only the
W83627HF chip) to provide access to the chips watchdog timer and
sensors. I have never written a driver before and my C is rather
rusty so I figured I would post what I currently have in hopes that
some kind soul would take pity on me. What I have so far is located
here:
http://freebsd.tamu.edu/wbio/
The driver does attach and the ...
| Feb 22, 8:53 am 2008 |
| Sharad Chandra | Start Fire nic card.
Hi,
How does dual port star fire nic card time stamp? Is the sheduling round
robin. if it is, there can be chances, a frame comes later than other can get
lesser timestamp.
--
Thanks
Sharad Chandra
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
| Feb 22, 3:20 am 2008 |
| KAYVEN RIESE | Re: usleep
oh.. you DID say "microseconds" .. i was going to assume complete
ignorance in pointing out that "u" is used because it looks remotely
like the greek letter "mu" which is the metric abbreviation for "micro"
wich is 10^-6
*----------------------------------------------------------*
Kayven Riese, BSCS, MS (Physiology and Biophysics)
(415) 902 5513 cellular
http://kayve.net
Webmaster ...
| Feb 22, 3:28 pm 2008 |
| Heiko Wundram (Beenic) | Re: usleep
Quoting from POSIX:
"""
The usleep() function will cause the calling thread to be suspended from
execution until either the number of real-time microseconds specified by the
argument useconds has elapsed or a signal is delivered to the calling thread
and its action is to invoke a signal-catching function or to terminate the
process. The suspension time may be longer than requested due to the
scheduling of other activity by the system.
"""
See the last sentence, specifically.
So, ...
| Feb 22, 6:37 am 2008 |
| Peter Jeremy | Re: usleep
Such as? If you are talking about having the process suspended
instead of the thread then this is dependent on the threading library
and the thread attributes and is no more or less surprising than any
If you bothered to read what Sharad had said, the man page or the source,
you would find that usleep(3) _is_ implemented using nanosleep(2) so there
is no point in using nanosleep() instead of usleep().
--=20
Peter Jeremy
Please excuse any delays as the result of my ISP's inability to ...
| Feb 22, 11:08 am 2008 |
| Sharad Chandra | usleep
Hi Guys,
Does usleep work for you? i just saw it is implemented over nanosleep which
passes a struct timeval to "select".
on my system, one of instance for usleep and select sleep value.
provided
(sec).(microsec) => select (sleep) usleep (sleep)
0.000000 => select: 0.000004 usleep: 0.000008
0.000001 => select: 0.002199 usleep: 0.001758
0.000002 => select: 0.004125 usleep: 0.001688
0.000003 => select: 0.005546 usleep: 0.001999
0.000004 => select: 0.006645 usleep: 0.002045
0.000005 => ...
| Feb 22, 3:28 am 2008 |
| Andrew Pogrebennyk | Re: usleep
Sharad,
Additionally, this C routine is considered obsolete (unlike shell
command by the same name). The interaction of this function with SIGALRM
and other timer functions such as sleep(), alarm(), setitimer(), and
nanosleep() is unspecified. Additionally, its use in multi-threaded
programs can lead to somewhat surprising results. Use nanosleep(2) or
setitimer(2) instead.
--
Sincerely,
Andrew Pogrebennyk
_______________________________________________
freebsd-hackers@freebsd.org ...
| Feb 22, 8:14 am 2008 |
| Bert JW Regeer | Re: memory not cleared on reboot (Was: cool feature of d ...
This is more scary:
http://www.engadget.com/2008/02/21/cold-boot-disk-encryption-attack-is-shockingly-effe...
Which is the exact effect you are seeing.
Cheerio,
Bert JW Regeer
| Feb 22, 2:31 am 2008 |
| Oliver Fromme | Re: cool feature of dmesg.boot file
[Empty message]
| Feb 22, 2:52 am 2008 |
| soralx | Re: cool feature of dmesg.boot file
IMHO, 'kern.forget_old_msgbuf' would more accurately describe what it does
[SorAlx] ridin' VS1400
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
| Feb 22, 5:24 am 2008 |
| Rink Springer | Re: cool feature of dmesg.boot file
Sounds good to me. I'll give it a try this weekend as well, but let me
know if it works for you. I'll commit it and MFC it to 6/7-STABLE then.
Regards,
--
Rink P.W. Springer - http://rink.nu
"Anyway boys, this is America. Just because you get more votes doesn't
mean you win." - Fox Mulder
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send ...
| Feb 22, 3:51 am 2008 |
| Jeremy Chadwick | Re: cool feature of dmesg.boot file
I've never seen a single kernel panic push output into the kernel
message buffer; do you mean things ike automatic stack trace dumping on
panic? (We have this disabled, which may be why I've never seen it).
Either way, it's a feature with major security implications. So, for
those of us who are concerned about master.passwd changes via
mergemaster being stuffed into msgbuf, how do we disable said feature?
No can do -- we have many users who look at dmesg for a reason: logging
of ...
| Feb 22, 3:09 am 2008 |
| Jeremy Chadwick | Re: cool feature of dmesg.boot file
There is also kern.msgbuf_clear. However, this is a sysctl, which
means if set to 1 in /etc/sysctl.conf, you'd lose your dmesg output
after the OS had started. Bummer.
It would be useful if there was a loader.conf variable which was the
equivalent of msgbuf_clear. In fact, I'm wondering why the message
buffer isn't cleared on shutdown/immediately prior to reboot...
Interesting tidbit: We have one production machine which when booted
into single-user via serial console for a world ...
| Feb 22, 2:25 am 2008 |
| Oliver Fromme | Re: cool feature of dmesg.boot file
Bartosz Giza wrote:
> I have found quite interesting feature on one of router that lately i have
> taken to administer.
> What i knew was that file /var/run/dmesg.boot holds data from kernel buffer
> that is taken right after file system(s) are mounted.
> Lately i have found that one router writes to this file data from kernel
> buffer when system is going to reeboot. Below are few lines from this file.
> What you can see are lines from kernel right before reeboot. I have never seen
...
| Feb 22, 1:28 am 2008 |
| Oliver Fromme | Re: cool feature of dmesg.boot file
Jeremy Chadwick wrote:
> Oliver Fromme wrote:
> > [...]
> Either way, it's a feature with major security implications. So, for
> those of us who are concerned about master.passwd changes via
> mergemaster being stuffed into msgbuf, how do we disable said feature?
> (Before answering, see below as well).
>
> > sysctl security.bsd.unprivileged_read_msgbuf=0
>
> No can do -- we have many users who look at dmesg for a reason: logging
> of coredumped binaries (kern.logsigexit=1), and ...
| Feb 22, 3:31 am 2008 |
| Jeremy Chadwick | Re: cool feature of dmesg.boot file
rink@ just provided one, and it does default to off. I fully agree with
defaulting it to off as well; those of us that want it on can set it as
such in loader.conf.
I'll try out said patch this weekend. Assuming it works, and does get
committed, I'll be more than happy to submit a PR along with a patch to
update the loader.8 manpage, documenting kern.ignore_old_msgbuf.
Thanks!
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking ...
| Feb 22, 3:46 am 2008 |
| Rink Springer | Re: cool feature of dmesg.boot file
I suggest just making a loader tunable to do this. I think the following
should do it (untested):
--- subr_prf.c 2007-03-08 07:44:34.000000000 +0100
+++ subr_prf.new.c 2008-02-22 11:21:53.000000000 +0100
@@ -913,14 +913,20 @@
msgbufinit(void *ptr, int size)
{
char *cp;
+ char *rv;
static struct msgbuf *oldp = NULL;
size -= sizeof(*msgbufp);
cp = (char *)ptr;
msgbufp = (struct msgbuf *)(cp + size);
- msgbuf_reinit(msgbufp, cp, ...
| Feb 22, 3:22 am 2008 |
| Tim Kientzle | Re: OT: Stream structures in bzlib and zlib
I think they're not defined as const just to maintain
compatibility with old and/or broken compilers.
libarchive treats them as const and has never had any
problems from this.
Cheers,
Tim Kientzle
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
| Feb 21, 6:59 pm 2008 |
| Andriy Gapon | Re: cx_lowest and CPU usage
> DEVACTB
| Feb 22, 9:04 am 2008 |
| Rui Paulo | Re: cx_lowest and CPU usage
I'll handle this. Thanks!
--
Rui Paulo
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
| Feb 22, 10:53 am 2008 |
| Oliver Fromme | Re: /boot/loader graphics support & extensibility
Marcel Moolenaar wrote:
> [Oliver explains bitblit, then Marcel explains bitblt.]
OK, so we mean the same thing, bascially.
> The higher lever TTY code simply calls bitblt with a
> bit mask of the glyph to be printed and doesn't need to
> know about the details of the display. As such, simple
> console output works at any resolution and with any
> color depth.
>
> At the same time the VGA driver is abstracted from any
> high-level details, like fonts or character sets. This
> ...
| Feb 22, 1:39 pm 2008 |
| Marcel Moolenaar | Re: /boot/loader graphics support & extensibility
True. What do you envision? How generic do you think
we should make it?
For me the difference between an abstraction solely
based on bitblt and an abstraction that includes a
couple more primitives is minimal. The key aspect is
that we should not have to duplicate 1000 lines of
code, of which less than 10% deals with the hardware.
This, for example, is a problem with syscons and the
keyboard- and video switch interfaces. The keyboard
switch interface alone has 18 functions???? That's ...
| Feb 22, 2:59 pm 2008 |
| previous day | today | next day |
|---|---|---|
| February 21, 2008 | February 22, 2008 | February 23, 2008 |
