Re: enable ECC in OS code?

2009-08-27 Thread Steve Watt
In 200908271130.18073.er...@apsara.com.sg, er...@apsara.com.sg wrote: Hi, On 27 August 2009 am 06:53:36 Steve Watt wrote: In 4a954a35.4030...@icyb.net.ua, a...@icyb.net.ua wrote: Assuming that ECC data lanes are connected between the two on motherboard, and given that BIOS doesn't perform any

Re: enable ECC in OS code?

2009-08-26 Thread Steve Watt
that. If the BIOS is broken to the extent that it doesn't enable ECC on a system that it should be available, whine at the vendor. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5 / 37N 20' 15.3 Internet: steve @ Watt.COM Whois: SW32-ARIN Free time? There's no such thing

Re: Question about PCIe networks

2009-05-19 Thread Steve Watt
memory, and set up the bridge so that is visible to the other side. Set up a pair of rings (one per direction of traffic), and go. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5 / 37N 20' 15.3 Internet: steve @ Watt.COM Whois: SW32-ARIN Free time? There's

Re: tcsh loses the foreground process group?

2008-12-03 Thread Steve Watt
On Wed, Dec 03, 2008 at 03:58:36PM -0800, Nate Eldredge wrote: On Tue, 2 Dec 2008, Steve Watt wrote: In [EMAIL PROTECTED] Steve Watt wrote: [ tcsh 6.15.00 ] The symptom is that when I do a long-ish running task inside a `` expansion that I then ^C, nobody gets the foreground process

Re: tcsh loses the foreground process group?

2008-12-02 Thread Steve Watt
now) before 6.4 releases... -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5 / 37N 20' 15.3 Internet: steve @ Watt.COM Whois: SW32-ARIN Free time? There's no such thing. It just comes in varying prices

tcsh loses the foreground process group?

2008-11-30 Thread Steve Watt
? -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5 / 37N 20' 15.3 Internet: steve @ Watt.COM Whois: SW32-ARIN Free time? There's no such thing. It just comes in varying prices... ___ freebsd-hackers@freebsd.org

Re: [Doubt] Can a PCI device communicate with another PCI or other

2008-10-16 Thread Steve Watt
assignment, but once that's complete, any device on the bus can see all others. Whether that's useful depends rather heavily on the devices on the bus, obviously. TANSTAAFL applies, though, in that multiple initiators must be careful not to step on each others' accesses. -- Steve Watt KD6GGD PP-ASEL-IA

Re: Path to executable of current process?

2007-07-20 Thread Steve Watt
to trace (easy - getpid). The first argument is trickey since FreeBSD frequently does not have a /proc filesystem. So it seems kvm_getargv should have this path no? # mount_procfs proc /proc # /bin/ls -l /proc/pid/file Note that if the executable on disk gets replaced, this won't work. -- Steve

Re: p_vmspace in syscall

2007-07-04 Thread Steve Watt
systems have a way of being tricky in unexpected places. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5 / 37N 20' 15.3 Internet: steve @ Watt.COM Whois: SW32-ARIN Free time? There's no such thing. It just comes in varying prices

Re: sendto() giving EPERM outside a jail

2007-03-27 Thread Steve Watt
On Mar 28, 10:23, Daniel O'Connor wrote: } Subject: Re: sendto() giving EPERM outside a jail } } On Saturday 24 March 2007 02:47, Steve Watt wrote: } According to my reading of the man page it is not possible to get this } error unless I'm using jails (which I'm not). The code in question does

Re: sendto() giving EPERM outside a jail

2007-03-23 Thread Steve Watt
, sizeof(struct sockaddr_in) ); (line 278 of miniupnpd.c). Can someone shed light on what the problem is? The application appears to work fine even with this error though. man setsockopt, search for SO_BROADCAST. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5 / 37N 20' 15.3 Internet

Re: sendto() giving EPERM outside a jail

2007-03-22 Thread Steve Watt
278 of miniupnpd.c). Can someone shed light on what the problem is? The application appears to work fine even with this error though. man setsockopt, search for SO_BROADCAST. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5 / 37N 20' 15.3 Internet: steve @ Watt.COM

Re: harddrive no memory ---FreeBSD scenario

2007-03-08 Thread Steve Watt
tens of milliseconds to read a random address from a disk. Note that DDR isn't the fastest memory in the system, either -- there are the L1 and L2 (and sometimes L3) caches as well. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5 / 37N 20' 15.3 Internet: steve @ Watt.COM

Re: Trying to join an already exited pthread

2007-02-07 Thread Steve Watt
pthread_join from within a signal handler. It this variable on Unix OSes? That the results are unspecified? No. What unspecified means? Absolutely. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5 / 37N 20' 15.3 Internet: steve @ Watt.COM Whois: SW32-ARIN Free time

Re: Interesting TCP issue

2007-01-22 Thread Steve Watt
On Jan 22, 9:15, Uwe Doering wrote: } Subject: Re: Interesting TCP issue } Steve Watt wrote: } In [EMAIL PROTECTED], Julian Elischer wrote: } } [ Snip discussion of symptoms of window scaling broken when } talking to at least the skype mail servers. ] } } we have seen this since 4.x } I

Re: ipw3945 assistance?

2007-01-22 Thread Steve Watt
(and are not used to applying non-standard drivers.) What have you tried so far, and how is it failing? http://www.catb.org/~esr/faqs/smart-questions.html Steve -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5 / 37N 20' 15.3 Internet: steve @ Watt.COM Whois

Re: Interesting TCP issue

2007-01-20 Thread Steve Watt
-sc_requested_s_scale; + tp-snd_scale = sc-sc_requested_s_scale; tp-request_r_scale = sc-sc_request_r_scale; } if (sc-sc_flags SCF_TIMESTAMP) { -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5 / 37N 20' 15.3 Internet: steve @ Watt.COM

Re: Interesting TCP issue

2007-01-02 Thread Steve Watt
On Jan 1, 23:56, Julian Elischer wrote: } Subject: Re: Interesting TCP issue } Steve Watt wrote: } One of my users is having trouble receiving mail from Skype. So, } after some sniffing, I discovered this: } } # tcpdump -vv -s 1500 -i dc0 -X net 213.244.128.0/18 } tcpdump: lestening on dc0

Re: Interesting TCP issue

2007-01-02 Thread Steve Watt
On Jan 2, 0:06, Steve Watt wrote: } Subject: Re: Interesting TCP issue } On Jan 1, 23:56, Julian Elischer wrote: } } Subject: Re: Interesting TCP issue } } Steve Watt wrote: } } One of my users is having trouble receiving mail from Skype. So, } } after some sniffing, I discovered

Interesting TCP issue

2007-01-01 Thread Steve Watt
opinions on possible workarounds, since I'm not expecting Skype to fix their (broken) system? -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5 / 37N 20' 15.3 Internet: steve @ Watt.COM Whois: SW32-ARIN Free time? There's no such thing. It just comes

Re: Interesting TCP issue

2007-01-01 Thread Steve Watt
In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: From Steve Watt on Monday, January 01, 2007 4:37 PM # tcpdump -vv -s 1500 -i dc0 -X net 213.244.128.0/18 [ snip ] Interesting. I presume it has something to do with the idiotically small window the remote server is advertising. So I set

Re: Infrequent disk system hang on 5.4-RELEASE-p8

2006-03-08 Thread Steve Watt
, seems to be upgrade to 6.x. Whee. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM Whois: SW32-ARIN Free time? There's no such thing. It just comes in varying prices

Re: nvi for serious hacking

2005-10-19 Thread Steve Watt
, so please give me your opinions. I've tried emacs several times, and keep going back to vi because I don't like hitting so many modifier keys. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM Whois: SW32 Free

Re: perl's tie problem

2005-08-12 Thread Steve Watt
= passed_in_permissions ~umask; It's working as designed. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM Whois: SW32 Free time? There's no such thing. It just comes in varying prices

getdirtybuf()'s kdb_backtrace fired

2005-08-10 Thread Steve Watt
--- The system in question is 5-STABLE updated around 17Z on 2 May. It's running inn, sendmail, and a bevy of milterish things, but is otherwise pretty quiet, a few thousand email per day, no jails, no weird (i.e. all are ufs or devfs) filesystems in use. -- Steve Watt KD6GGD PP-ASEL-IA ICBM

Re: unitialized memory is all zeros...why not garbage instead?

2005-06-13 Thread Steve Watt
like it's saying that malloc (as opposed to calloc) is NOT pre-zeroed. Is there a different document I should be reading? And if calloc() grabs something from the in-process used, now free pool, it will be zeroed. If malloc() grabs something from that same pool, it won't be. -- Steve Watt

Re: snapshots and innds

2005-06-01 Thread Steve Watt
choice at that point would be to type call doadump at the DDB prompt to get a kernel dump (going through doadump seems to be the most reliable way to get a usable dump, at least for me). -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM

Re: snapshots and innds

2005-05-22 Thread Steve Watt
like this bug should be easily reproduced by having a process do a lot of msync() while another creates snapshots. I don't have a box that's scratch enough to try running that on, though. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM

EPERM from write()

2005-05-03 Thread Steve Watt
handshake problem is first, but that 2 byte skip in sequence numbers is _weird_. I suppose it could be related somehow. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM Whois: SW32 Free time? There's no such thing

Re: Route/arp help?

2005-04-13 Thread Steve Watt
# telnet 10.0.0.1 No silly route commands, no forcing of ARP. Just add the IP address to the interface and do your connect. My guess is that the same is true in Linux, but I don't know the exact syntax there. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet

Re: Causing a process switch to test a theory.

2005-03-21 Thread Steve Watt
On Mar 21, 10:05, Matthew Hagerty wrote: } Steve Watt wrote: } In [EMAIL PROTECTED], } [EMAIL PROTECTED] wrote: } That's another layer of indirection, though. If all of the children } have separate pipes to the parent, and then the parent logs to your } program, all should be fine. } } That's

Re: Causing a process switch to test a theory.

2005-03-20 Thread Steve Watt
, writes longer than PIPE_BUF might get interleaved. The longer the write, the higher the probability, so for your test, if you can generate, say, 10K writes over and over, you can probably trip it. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM

Re: sched_4BSD

2005-03-06 Thread Steve Watt
(1000 threads of a single process *do* get 1000 times the time slices). Whether that is a bug or a feature depends very heavily on the system load. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM Whois: SW32

Re: sched_4BSD

2005-03-06 Thread Steve Watt
In [EMAIL PROTECTED], Kamal R. Prasad [EMAIL PROTECTED] wrote: --- Steve Watt [EMAIL PROTECTED] wrote: [ snip ] NPTL is a particular (less brain damaged than LinuxThreads) implementation of the POSIX thread standard. Likewise, scheduler activations are a decent implementation of doesn't

Re: clock time in milliseconds into a c program

2005-01-19 Thread Steve Watt
In article [EMAIL PROTECTED] you write: Hi, I need to clock the function execution time into a C program. I know /usr/include/time.h library but I need to clock the time in milliseconds. Any suggestions, links? % man clock_gettime Is nanoseconds too much? -- Steve Watt KD6GGD PP-ASEL-IA

Re: Determining userland return address (from syscall)

2005-01-03 Thread Steve Watt
this securely and still keep reasonable *NIX-like behavior. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM Whois: SW32 Free time? There's no such thing. It just comes in varying prices

snapshots and innds

2004-12-18 Thread Steve Watt
-H. For that matter, when I try to do a print *(struct proc *)0x{blah} in kgdb for an address I got out of ps -o pid,uprocp,wchan,command, it doesn't seem to believe that there is a struct proc. Is there an up-to-date (i.e. covers 5.3) place that talks about kernel debugging? -- Steve Watt KD6GGD

Re: Booting encrypted

2004-09-07 Thread Steve Watt
won't be trying to reverse-engineer it anyhow. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM Whois: SW32 Free time? There's no such thing. It just comes in varying prices

Re: Booting encrypted

2004-09-07 Thread Steve Watt
requiring a password to boot (not necessarily a bad thing, but probably not appropriate for your application). -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM Whois: SW32 Free time? There's no such thing. It just comes

Re: api for sharing memory from kernel to userspace?

2004-05-19 Thread Steve Watt
be hard with a device driver. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM Whois: SW32 Free time? There's no such thing. It just comes in varying prices... ___ [EMAIL

Re: how to flush out cache.?

2004-04-21 Thread Steve Watt
suggestions? What are you hoping to accomplish? There are probably other ways to solve the larger problem. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM Whois: SW32 Free time? There's no such thing. It just

Re: how to flush out cache.?

2004-04-21 Thread Steve Watt
On Apr 21, 13:28, Julian Elischer wrote: } Subject: Re: how to flush out cache.? } } On Wed, 21 Apr 2004, Steve Watt wrote: } } In article [EMAIL PROTECTED] you write: } } Ok so I have an application where I need to } reread a file I have just written to ensure that it went to disk

Re: send(2) does not block, send(2) man page wrong?

2004-01-26 Thread Steve Watt
= start.tv_sec + (start.tv_nsec / 10.); printf(%d loops, %f elapsed, , loops, te - ts); printf(time per loop: %.3f us\n, ((te - ts) / loops) * 100.); return 0; } -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM

kernel environment between reboots, diskless

2004-01-14 Thread Steve Watt
, if there was a way to stash somewhere between 2 and 8 bytes somewhere... Thanks for insights! Pls cc: me directly on replies. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM Whois: SW32 Free time? There's no such thing

Re: kernel environment between reboots, diskless

2004-01-14 Thread Steve Watt
On Jan 14, 13:11, Brooks Davis wrote: } On Wed, Jan 14, 2004 at 12:55:49PM -0800, Steve Watt wrote: } I'm working on a dataless system that will be booting and rooting } from flash for some environmental chamber (thermal) tests, and } logging the results to an NFS server outside the chamber

Re: kernel environment between reboots, diskless

2004-01-14 Thread Steve Watt
On Jan 14, 13:24, Brooks Davis wrote: } On Wed, Jan 14, 2004 at 01:16:01PM -0800, Steve Watt wrote: } On Jan 14, 13:11, Brooks Davis wrote: } } On Wed, Jan 14, 2004 at 12:55:49PM -0800, Steve Watt wrote: } } I'm working on a dataless system that will be booting and rooting } } from flash

PCI bridges interrupts

2003-09-24 Thread Steve Watt
unit number ata-: ata1 exists, using next available unit number - - - 8 - - - dmesg diffs -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM Whois: SW32 Free time? There's no such thing. It just comes in varying

RE: PCI bridges interrupts

2003-09-24 Thread Steve Watt
On Sep 24, 16:38, John Baldwin wrote: } Subject: RE: PCI bridges interrupts } } On 24-Sep-2003 Steve Watt wrote: } [ Too advanced for -questions? Trying again. ] } } I'm having a strange problem with interrupts, PCI bridges, and } FreeBSD 4-STABLE (cvsupped from a few months ago

RE: PCI bridges interrupts

2003-09-24 Thread Steve Watt
On Sep 24, 18:17, John Baldwin wrote: } Subject: RE: PCI bridges interrupts } } On 24-Sep-2003 Steve Watt wrote: } On Sep 24, 16:38, John Baldwin wrote: } } Subject: RE: PCI bridges interrupts } } And if I were clever, I would've mentioned that it's in the } same slot. And the IRQ