Why is our symbol lookup the way it is?

2005-09-06 Thread Joe Marcus Clarke
This is something that's been bothering me for a while, ever since I fixed the symbol conflicts in Mozilla with -Bsymbolic. Why do we not look in the referencing object first by default? I'm referring to the great comments in the symlook_default() function in rtld.c. We only check the referencin

Re: vn_fullpath() again

2005-09-06 Thread Kamal R. Prasad
On 9/6/05, Robert Watson <[EMAIL PROTECTED]> wrote: > > On Tue, 6 Sep 2005, Kamal R. Prasad wrote: > > >> one or more names and none of these names are more correct or > >> authoritative than any of the others. If a user does 'ln /bin/ls /tmp' > >> (assuming /bin and /tmp are on the same filesys

Re: vn_fullpath() again

2005-09-06 Thread Matthew Dillon
At the cost of drawing ire from FreeBSD core developers, I will point out that reverse-resolution is hardly a black-and-white issue. There are many shades of grey, and there is a huge problem set that can either be solved or 99.99% of the way solved (greatly reducing the time r

RE: Intel PRO/Wireless 2200BG/2915ABG

2005-09-06 Thread Darren Pilgrim
From: Nick Strebkov > On Tue, Sep 06, 2005 at 03:30:18PM -0700, Darren Pilgrim wrote: > > From: Nick Strebkov > > > > > > Thanks for your answers. I have 2915ABG and Belkin F5D8230-4 > > > access point. Will it be enough to install RELENG_6 to play > > > with iwi stuff? > > > > That depends. Yo

Re: Intel PRO/Wireless 2200BG/2915ABG

2005-09-06 Thread Nick Strebkov
On Tue, Sep 06, 2005 at 03:30:18PM -0700, Darren Pilgrim wrote: > From: Nick Strebkov > > > > Thanks for your answers. I have 2915ABG and Belkin F5D8230-4 > > access point. Will it be enough to install RELENG_6 to play > > with iwi stuff? > > That depends. You'll need firmware before you can u

RE: Intel PRO/Wireless 2200BG/2915ABG

2005-09-06 Thread Darren Pilgrim
From: Nick Strebkov > > Thanks for your answers. I have 2915ABG and Belkin F5D8230-4 > access point. Will it be enough to install RELENG_6 to play > with iwi stuff? That depends. You'll need firmware before you can use the iwi driver. One of show-stopper problems with the iwi driver is that co

Re: Intel PRO/Wireless 2200BG/2915ABG

2005-09-06 Thread Nick Strebkov
Guys, > Does anybody here work already on this piece of hardware? I'm very > interested in getting it work under FreeBSD and ready to help. Thanks for your answers. I have 2915ABG and Belkin F5D8230-4 access point. Will it be enough to install RELENG_6 to play with iwi stuff? -- Nick Strebkov P

RE: Intel PRO/Wireless 2200BG/2915ABG

2005-09-06 Thread Darren Pilgrim
From: Nick Strebkov > > Does anybody here work already on this piece of hardware? I'm > very interested in getting it work under FreeBSD and ready to help. The iwi driver supports these cards. You'll want to get in touch with Sam Leffler[1] and Damien Bergamini[2] and probably help get the iwi

Intel PRO/Wireless 2200BG/2915ABG

2005-09-06 Thread Nick Strebkov
Hi, hackers. Does anybody here work already on this piece of hardware? I'm very interested in getting it work under FreeBSD and ready to help. -- Nick Strebkov Public key: http://humgat.org/~nick/pubkey.txt fpr: 552C 88D6 895B 6E64 F277 D367 8A70 8132 47F5 C1B6 __

Re: rc sequencing issue / mountcritremote

2005-09-06 Thread Brooks Davis
On Sat, Sep 03, 2005 at 03:33:54PM -0400, Tuc at T-B-O-H wrote: > > > > On Sat, Sep 03, 2005 at 12:20:41PM -0400, Tuc at T-B-O-H wrote: > > > > > The problem I'm having is that when it attempts to remotely > > > mount the NFS filesystem I need, there are no support programs > > > running, n

Re: Sendmail & Procmail

2005-09-06 Thread Dan Busarow
On Sep 6, 2005, at 9:58 AM, Gregory Neil Shapiro wrote: ... FEATURE(local_procmail, `/usr/bin/procmail') MAILER(procmail) MAILER(local) ... You don't need MAILER(procmail) if you are using FEATURE (local_procmail). On the other hand, procmail as a local mailer will only read the user's ~/

Re: vn_fullpath() again

2005-09-06 Thread Robert Watson
On Tue, 6 Sep 2005, Kamal R. Prasad wrote: one or more names and none of these names are more correct or authoritative than any of the others. If a user does 'ln /bin/ls /tmp' (assuming /bin and /tmp are on the same filesystem), it may be obvious to you that /bin/ls is the "real name" is /tmp

Re: accept: Invalid argument

2005-09-06 Thread erkan kolemen
you're right; i added following before accept() addrlen = sizeof(struct sockaddr); >From manual: therwise, the addrlen argument is a value-result argument; it should initially contain the amount of space pointed to by addr; thanks - erkan --- victor cruceru <[EMAIL PROTECTED]> wrote: > Also t

Re: accept: Invalid argument

2005-09-06 Thread victor cruceru
Also the 3rd argument for accept must be positive. See man accept. victor cruceru. On 9/6/05, victor cruceru <[EMAIL PROTECTED]> wrote: > Did you call bind() and especially listen() before accept()? > victor cruceru > > > On 9/6/05, erkan kolemen <[EMAIL PROTECTED]> wrote: > > Hi, > > > > In a

Re[3]: vn_fullpath() again

2005-09-06 Thread Robert Watson
On Tue, 6 Sep 2005, Igor Shmukler wrote: Thank you very much for a detailed reply. I was aware of many of the things you mentioned, but it never hurts to hear something one more time. How do you feel about small incremental improvements to name lookup? What about looking up device name in t

Re: Sendmail & Procmail

2005-09-06 Thread Gregory Neil Shapiro
> ... > FEATURE(local_procmail, `/usr/bin/procmail') > MAILER(procmail) > MAILER(local) > ... You don't need MAILER(procmail) if you are using FEATURE(local_procmail). On the other hand, procmail as a local mailer will only read the user's ~/.procmailrc, *not* the system wide one. If you want to

Re: accept: Invalid argument

2005-09-06 Thread victor cruceru
Did you call bind() and especially listen() before accept()? victor cruceru On 9/6/05, erkan kolemen <[EMAIL PROTECTED]> wrote: > Hi, > > In a daemon loop, i am using accept() to accept > incoming connections. > > while(1) { > if((fd = accept(socketd, (struct sockaddr *) &addr, > &addrlen)) ==

Re: accept: Invalid argument

2005-09-06 Thread Sergey Uvarov
Did you issue listen(2) call before accepting connections? Sergey. erkan kolemen wrote: Hi, In a daemon loop, i am using accept() to accept incoming connections. while(1) { if((fd = accept(socketd, (struct sockaddr *) &addr, &addrlen)) == -1) { syslog(LOG_ERR, "accept: %s", strerror(errno))

Re: vn_fullpath() again

2005-09-06 Thread Kamal R. Prasad
> > [snip] I did. You just don't get it. A file may be associated with zero, > one or more names and none of these names are more correct or > authoritative than any of the others. If a user does 'ln /bin/ls > /tmp' (assuming /bin and /tmp are on the same filesystem), it may be > obvious to yo

Re: Sendmail & Procmail

2005-09-06 Thread Julian Stacey
Steve Suhre wrote: > > > I want to run spamassassin site-wide, but can't get mail to it I've > followed the instructions but for some reason email isn't going through > sendmail, into procmail, and then filtering through spamassassin. > > I'm running FreeBSD 4.6, sendmail 8.12 and have pro

Sendmail & Procmail

2005-09-06 Thread Steve Suhre
I want to run spamassassin site-wide, but can't get mail to it I've followed the instructions but for some reason email isn't going through sendmail, into procmail, and then filtering through spamassassin. I'm running FreeBSD 4.6, sendmail 8.12 and have procmail installed on the server.

Re[3]: vn_fullpath() again

2005-09-06 Thread Igor Shmukler
Robert, Thank you very much for a detailed reply. I was aware of many of the things you mentioned, but it never hurts to hear something one more time. How do you feel about small incremental improvements to name lookup? What about looking up device name in the structure itself for VCHR nodes th

accept: Invalid argument

2005-09-06 Thread erkan kolemen
Hi, In a daemon loop, i am using accept() to accept incoming connections. while(1) { if((fd = accept(socketd, (struct sockaddr *) &addr, &addrlen)) == -1) { syslog(LOG_ERR, "accept: %s", strerror(errno)); continue; } else { ... } accept always fails. What is wrong? i could create socket and

Re: vn_fullpath() again

2005-09-06 Thread Giorgos Keramidas
On 2005-09-06 19:27, Igor Shmukler <[EMAIL PROTECTED]> wrote: > Perhaps, I do not get it or maybe you are do not getting my point. > > There are times when resolving would not be possible or a name returned is > not necessarily the one used when file was first accessed. We have discussed > it here

Re[2]: vn_fullpath() again

2005-09-06 Thread Igor Shmukler
Perhaps, I do not get it or maybe you are do not getting my point. There are times when resolving would not be possible or a name returned is not necessarily the one used when file was first accessed. We have discussed it here and everyone agreed on that. The hardlinks or files unlinked while vn

Re[2]: vn_fullpath() again

2005-09-06 Thread Robert Watson
On Tue, 6 Sep 2005, Igor Shmukler wrote: You are correct about the Unix file system organization, but does it mean reliable vnode to fullname conversation is not possible? Yes. Get over it. Well, I do not think it is a Yes. I very much think it is a No. You should have continued reading my

Re: vn_fullpath() again

2005-09-06 Thread Dag-Erling Smørgrav
Igor Shmukler <[EMAIL PROTECTED]> writes: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > > Igor Shmukler <[EMAIL PROTECTED]> writes: > > > You are correct about the Unix file system organization, but does it > > > mean reliable vnode to fullname conversation is not possible? > > Yes. Get over

Re[2]: vn_fullpath() again

2005-09-06 Thread Igor Shmukler
> > You are correct about the Unix file system organization, but does it > > mean reliable vnode to fullname conversation is not possible? > > Yes. Get over it. Well, I do not think it is a Yes. I very much think it is a No. You should have continued reading my email 'til the middle or even far

Re: Adding new option to ktrace

2005-09-06 Thread Robert Watson
On Tue, 6 Sep 2005, Nikhil Dharashivkar wrote: Yes, it is ok if i loose data in ktrace queue when crash occurs. Basically, I want to give an Disk IO trace support to ktrace on FreeBSD. So, what I am thinking to use struct dio in dastrategy routine to trace the IO. I 'll use this struct to

Re: Adding new option to ktrace

2005-09-06 Thread Robert Watson
On Tue, 6 Sep 2005, Peter Jeremy wrote: On Tue, 2005-Sep-06 10:33:53 +0530, Nikhil Dharashivkar wrote: Thanks for replying me. Basically what happend, while testing scsi driver on freebsd, at some point it crashes. So, there is no way to know how much IO is performed. To know the IO state

Re: Adding new option to ktrace

2005-09-06 Thread Rajesh S. Ghanekar
Scott Long wrote: Nikhil Dharashivkar wrote: Hi, i want to hack the ktrace system call. Basically, I want to monitor scsi disk IO through dastrategy() routine. It seems that kern_ktrace.c implements different functions for ktrace options like -tc / -ti ... etc (see man page). So, is it

Re: FreeBSD 6.0 Beta #3 - IDE Problems? (Intel / ICH6 based laptop)

2005-09-06 Thread Stanislav Sedov
On Mon, Sep 05, 2005 at 04:50:21PM +0100, Karl Pielorz wrote: > > > --On 05 September 2005 19:31 +0400 Stanislav Sedov <[EMAIL PROTECTED]> wrote: > > >Try to disable ACPI - it can helps. There may be some problems with ACPI > >on your laptop - BIOS update sometime helps. But first try to disable

Re: FreeBSD 6.0 Beta #3 - IDE Problems? (Intel / ICH6 based laptop)

2005-09-06 Thread Stanislav Sedov
On Mon, Sep 05, 2005 at 01:41:00PM +0100, Karl Pielorz wrote: > > Hi All, > > I recently tried to boot the FreeBSD 6.0 Beta #3 on my laptop, and ran into > a problem. > > The hard drive controller probes as: > > " > atapci0: port > 0xbfa0-0xbfaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 17 at

Summer of Code 2005: Improve Libalias

2005-09-06 Thread Paolo Pisati
Hi guys, Summer of Code is finished so i released my work about libalias, and i would appreciate if anyone try it out and report. There's a tarball here: http://ubi8.imc.pi.cnr.it/~flag/libalias/libalias.tgz or if you prefer perforce: http://perforce.freebsd.org/depotTreeBrowser.cgi?FSPC=//depo

Re: BPF patch

2005-09-06 Thread Vladimir Yu. Stepanov
Vlad GALU wrote: On 9/1/05, Vladimir Yu. Stepanov <[EMAIL PROTECTED]> wrote: [snip] You can always control which traffic to sniff (ingress/egress) using layer 2 filters (ether src/dst host <>). It's not a simple way. BPF filter code must be used depending on type of device. For some of dr

Re: FreeBSD 6.0 Beta #3 - IDE Problems? (Intel / ICH6 based laptop)

2005-09-06 Thread Karl Pielorz
--On 05 September 2005 21:52 +0400 Stanislav Sedov <[EMAIL PROTECTED]> wrote: How does your SATA controller operate? Try to use LEGACY mode. Do you mean in the BIOS? - If so, there's no adjustments for this that I can see in the BIOS :( Infact, in keeping with most modern laptops - the 'f

Re: Adding new option to ktrace

2005-09-06 Thread Nikhil Dharashivkar
Sorry it's struct bio instead of struct dio. On 9/6/05, Nikhil Dharashivkar <[EMAIL PROTECTED]> wrote: > Yes, it is ok if i loose data in ktrace queue when crash occurs. > Basically, I want to give an Disk IO trace support to ktrace on > FreeBSD. >So, what I am thinking to use struct dio

Re: Adding new option to ktrace

2005-09-06 Thread Nikhil Dharashivkar
Yes, it is ok if i loose data in ktrace queue when crash occurs. Basically, I want to give an Disk IO trace support to ktrace on FreeBSD. So, what I am thinking to use struct dio in dastrategy routine to trace the IO. I 'll use this struct to generate ktr_request. Throught ktr_writereques

Re: vn_fullpath() again

2005-09-06 Thread Dag-Erling Smørgrav
Igor Shmukler <[EMAIL PROTECTED]> writes: > You are correct about the Unix file system organization, but does it > mean reliable vnode to fullname conversation is not possible? Yes. Get over it. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ free

Re: Adding new option to ktrace

2005-09-06 Thread Peter Jeremy
On Tue, 2005-Sep-06 10:33:53 +0530, Nikhil Dharashivkar wrote: > Thanks for replying me. Basically what happend, while testing >scsi driver on freebsd, at some point it crashes. So, there is no way >to know how much IO is performed. To know the IO state just before the >driver fails, i selecte

FFS pread causes kernel panic on loaded 5.4 server

2005-09-06 Thread Tom Alsberg
Greetings, We have a FreeBSD 5.4 server which we try run in production, but have severe problems with it crashing every few days. Having run it with DDB, it originally appeared to be filesystem and NFS related on crash. However, I enabled dumps to swap and fired up kgdb on the core, and it seems