Re: Wierd IRQ Routing issues

2001-08-03 Thread Peter Pentchev
On Thu, Aug 02, 2001 at 10:01:25PM +0200, lists wrote: > Hi, hoping someone can help me out with something here, because Ive got a > very strange problem. > > On my one pc, when assigning an IRQ to my PCIC device, it assigns an IRQ > and continues, works 100% now that I changed device.hints to lo

Re: Accessing /dev/klog and similar

2001-08-03 Thread Peter Pentchev
On Wed, Aug 01, 2001 at 11:58:52AM -0700, Dima Dorfman wrote: > Peter Pentchev <[EMAIL PROTECTED]> writes: > > Or rather, do not try this while syslogd is running. > > > > src/sys/kern/subr_log.c defines the operation of the /dev/klog > > device, and there i

Re: libmp

2001-08-06 Thread Peter Pentchev
On Mon, Aug 06, 2001 at 12:33:40PM +, Eugene L. Vorokov wrote: > Hello, > > I cvsup'ed 5.0-CURRENT yesterday, successfully compiled the kernel and > tried to compile the rest. However, when doing make in the lib directory, > it stops on libmp. The problem is that libmp uses include files from

Re: libmp

2001-08-06 Thread Peter Pentchev
On Mon, Aug 06, 2001 at 03:18:28PM +0300, Peter Pentchev wrote: > On Mon, Aug 06, 2001 at 12:33:40PM +, Eugene L. Vorokov wrote: > > Hello, > > > > I cvsup'ed 5.0-CURRENT yesterday, successfully compiled the kernel and > > tried to compile the rest. How

Re: libmp

2001-08-06 Thread Peter Pentchev
On Mon, Aug 06, 2001 at 04:46:22PM +, Eugene L. Vorokov wrote: > > Er... the OpenSSL sources *are* shipped with FreeBSD. > > Or at least they should be, if your CVSup is doing the right thing. > > Are you cvsup'ping the src-all collection, or the subcollections? > > There is no longer any

Re: libmp

2001-08-06 Thread Peter Pentchev
On Mon, Aug 06, 2001 at 05:18:49PM +, Eugene L. Vorokov wrote: > > > Hmm yes, it's there. But the snapshot I installed first doesn't > > > have it (why ?). When I installed it manually prior to compiling libs, > > > libmp compiles fine ... Btw, is there any guide of what is the proper > > > or

Re: Ypbind malfunction on 4.x

2001-08-07 Thread Peter Pentchev
I think that there has been quite a lot of work on ypbind recently. Try updating to 4.3-STABLE (actually 4.4-PRERELEASE now), there were several patches in that area in the past week or two. Or alternatively, wait for 4.4-RELEASE about the end of August. G'luck, Peter -- Do you think anybody h

Re: Tuning the 4.1-R kernel for networking

2001-08-08 Thread Peter Pentchev
On Tue, Aug 07, 2001 at 09:33:20PM -0700, Brian O'Shea wrote: > Hello, > > I am using a PIII 550MHz UP system running FreeBSD 4.1-RELEASE. It has > a 3c905B-TX Fast Etherlink XL card. > > # ifconfig xl0 > xl0: flags=8843 mtu 1500 > inet 10.34.24.62 netmask 0xfc00 broadcast 1

Re: Signal Handling

2001-08-17 Thread Peter Pentchev
On Tue, Aug 14, 2001 at 09:11:58PM -0700, brian o'shea wrote: > On Tue, Aug 14, 2001 at 07:47:50PM -0700, Hans Zaunere wrote: > > > [...] > > > > 2) If a 10k binary is running, the signal is sent, and the program > > > > is reloaded from disk, but is 100k (or 1k even) how does the > > > > signal h

Re: Signal Handling

2001-08-17 Thread Peter Pentchev
On Mon, Aug 13, 2001 at 09:09:32AM -0700, Hans Zaunere wrote: > > In a program that I am working on, I've decided to > catch signal 15, which then calls execl() in the > handler to reload the program from the on-disk binary. > I am able to send it the signal, it reloads, and > works fine. Howev

Re: 4.4-RC NFS panic

2001-08-20 Thread Peter Pentchev
On Mon, Aug 20, 2001 at 12:27:24PM +0100, Walter C. Pelissero wrote: > [ it seems my original article didn't get through ] > > I recently upgraded to 4.4-RC. > Now my Vaio panics when I use NFS volumes (as client). > The panic is reproducible with a: > > find /some/NFS/mount/point -type f -e

Re: notebook HW

2001-08-21 Thread Peter Pentchev
On Tue, Aug 21, 2001 at 06:24:10PM +0200, Christoph Kukulies wrote: > Is there a maiing list that deal especially with FreeBSD on notebook > issues? > > If not, could it be created or is this covered by another list? (hardware?) Try [EMAIL PROTECTED] :) G'luck, Peter -- I've heard that this

Re: tunable support for ata interrupt sharing

2001-08-22 Thread Peter Pentchev
On Tue, Aug 21, 2001 at 09:41:50PM +0200, Søren Schmidt wrote: > It seems Brooks Davis wrote: > > Attached it a patch to make sharing of the main ata control interrupts > > dependent on a tunable, hw.ata.shared_irqs. This is required for my new > > HP Omnibook 500 to use the CMD 648 in the expans

Re: your mail

2001-08-25 Thread Peter Pentchev
Now why do I have this uneasy feeling that you just fell for a spammer's email address collection bait.. G'luck, Peter -- If wishes were fishes, the antecedent of this conditional would be true. On Fri, Aug 24, 2001 at 08:42:17AM -0700, Laurence Berland wrote: > From now on, please use the tes

Re: cvsup RELENG_4 = 4.4-RC1 ?

2001-08-25 Thread Peter Pentchev
On Sat, Aug 25, 2001 at 01:16:00AM -0700, Kris Kennaway wrote: > On Sat, Aug 25, 2001 at 10:10:25AM +0200, Chojin wrote: > > Hello, > > > > I want to know if RELENG_4 will download 4.4-RC1 or lastest 4.3-STABLE files > > ? > > Because I don't want to be in 4.4-RC1, too many problems. > > "The la

Re: running diff on huge files

2001-08-25 Thread Peter Pentchev
On Fri, Aug 24, 2001 at 06:23:31PM -0700, Rob wrote: > I am trying to run diff on two huge files (220M) and I run out of swap > space. Is there another alternative? I have a Python script that does > something similar, but works on huge files, but it is much slower than > diff. Thanks, Rob. H

Re: function calls/rets in assembly

2001-08-25 Thread Peter Pentchev
On Sat, Aug 25, 2001 at 03:44:27PM +0300, Valentin Nechayev wrote: > Fri, Aug 24, 2001 at 11:36:45, jhb (John Baldwin) wrote about "Re: function >calls/rets in assembly": > > > > printasint: > > > pushl %ebp > > > movl %esp,%ebp > > > subl $8,%esp > > > addl $-8,%esp >

Re: cvsup RELENG_4 = 4.4-RC1 ?

2001-08-25 Thread Peter Pentchev
On Sat, Aug 25, 2001 at 09:45:41AM -0500, Conrad Sabatier wrote: > > On 25-Aug-2001 Chojin wrote: > > Hello, > > > > I want to know if RELENG_4 will download 4.4-RC1 or lastest 4.3-STABLE files > > ? > > Because I don't want to be in 4.4-RC1, too many problems. > > Then you don't want to cvsup

Re: cvsup RELENG_4 = 4.4-RC1 ?

2001-08-25 Thread Peter Pentchev
On Sat, Aug 25, 2001 at 10:07:18AM -0500, Conrad Sabatier wrote: > > On 25-Aug-2001 Peter Pentchev wrote: > > On Sat, Aug 25, 2001 at 09:45:41AM -0500, Conrad Sabatier wrote: > >> > >> On 25-Aug-2001 Chojin wrote: > >> > Hello, > >> > >

Re: installation problem

2001-08-27 Thread Peter Pentchev
On Sun, Aug 26, 2001 at 11:35:49PM -0700, Rohit Panda wrote: > > hi , > > i was using linux and a great fan of it.Then i heard about this > wonderful OS called FreeBSD and wanted to try it out.i thought to install > it via FTP. My E: drive in my windows machine is the place where i want > to

Re: Problems with Squid on 4.4-RC

2001-08-27 Thread Peter Pentchev
On Mon, Aug 27, 2001 at 12:05:39PM +0300, Vladimir Terziev wrote: > > Hi hackers, > > I've cvsuped with release tag RELENG_4 and I've considered that I had > FreeBSD 4.4-RC. This is not a problem at all, but I've tried to install and > run Squid-2.4-STABLE1. It has installed sucsessfuly. I

Re: problem with unloading device driver

2001-08-27 Thread Peter Pentchev
On Mon, Aug 27, 2001 at 01:43:41PM +0400, Eugene L. Vorokov wrote: > Hello, > > I have a module which adds new device. It does make_dev() and then simulates > mknod() syscall, so that /dev/name is always automatically created. > Also I have a daemon which reads from and writes to this device. The

Re: virtual consoles

2001-09-03 Thread Peter Pentchev
On Mon, Sep 03, 2001 at 12:04:45PM +0200, Gunnar Olsson wrote: > Hi, > > To increase number of xterms I thought. > only the option MAXCONS could be changed. > But even though I change it from 16 to 32, > I still only get 16. > > Someone there who can give me I quick answer? I think this is the

Re: virtual consoles

2001-09-04 Thread Peter Pentchev
On Tue, Sep 04, 2001 at 11:37:39AM +0800, Igor Podlesny wrote: [snip] > > Screen is a nice thing, I agree. Just one drawback is (Ctrl-A)*N > consoles (i.e., when you use screen at local console, than log in > into another box and run screen there. Local screen will see catch > Ctrl-A and you're f

Re: local changes to CVS tree

2001-09-05 Thread Peter Pentchev
On Wed, Sep 05, 2001 at 01:10:27PM +0200, Alexander Langer wrote: > Thus spake Kris Kennaway ([EMAIL PROTECTED]): > > > On Wed, Sep 05, 2001 at 09:52:34AM +0300, Giorgos Keramidas wrote: > > > > > I have it fixed now in my local CVS tree. Hopefully Kris will commit > > > something to fix it soo

Re: Permissions on /root directory and /etc/mtree/BSD.root.dist

2001-09-07 Thread Peter Pentchev
On Thu, Sep 06, 2001 at 08:23:34PM +0100, void wrote: > On Thu, Sep 06, 2001 at 10:30:08AM +0400, Andrey Simonenko wrote: > > > > 0700 mode restricts other users from reading /root directory. > > When root wants to upgrade system he/she run "make buildworld", > > "make installworld". But installw

Re: Kernel-loadable Root Kits

2001-09-08 Thread Peter Pentchev
On Sat, Sep 08, 2001 at 05:43:41AM -0400, Deepak Jain wrote: > > Short question: > > Is there a way to prevent the kernel from allowing loadable modules? Run your system in securelevel 1 or higher. See the init(8) manual page and the kern_securelevel_enable and kern_securelevel variables in the

Re: Question about what programs to use in /etc/rc*

2001-09-10 Thread Peter Pentchev
On Sun, Sep 09, 2001 at 06:06:01PM -0400, Adrian Filipi-Martin wrote: > On Sun, 9 Sep 2001, Ulf Zimmermann wrote: > > > These are some examples strings: > > > > "dhcp" > > "dhcp media 10baseTX" > > "media 10baseTX dhcp mediaopt half-duplex" > > > > The following code will get me inside a if condi

Re: Question about what programs to use in /etc/rc*

2001-09-10 Thread Peter Pentchev
On Mon, Sep 10, 2001 at 11:03:41AM -0400, Adrian Filipi-Martin wrote: > On Mon, 10 Sep 2001, Peter Pentchev wrote: > > > On Sun, Sep 09, 2001 at 06:06:01PM -0400, Adrian Filipi-Martin wrote: > > > On Sun, 9 Sep 2001, Ulf Zimmermann wrote: > > > > >

Re: Question about what programs to use in /etc/rc*

2001-09-10 Thread Peter Pentchev
On Mon, Sep 10, 2001 at 09:35:24AM -0700, Ulf Zimmermann wrote: > On Mon, Sep 10, 2001 at 06:19:54PM +0300, Peter Pentchev wrote: > > Come to think of it, it might be as easy as: [**UNTESTED**] > > > > case ${ifconfig_args}; in > > [Dd][Hh][Cc][Pp]*) > &g

Does boot1 still have a > 1023 cyl limit?

2001-09-14 Thread Peter Pentchev
Hi, A quote from the end of the boot_i386.8 manual page.. IMPORTANT NOTE: Because of limitations imposed by the conventional disk interface provided by the BIOS, all boot-related files and structures (including the kernel) that need to be accessed during the boot phase must reside on the

Re: Does boot1 still have a > 1023 cyl limit?

2001-09-14 Thread Peter Pentchev
On Fri, Sep 14, 2001 at 09:50:23AM -0700, Mike Smith wrote: > > A quote from the end of the boot_i386.8 manual page.. > > > > IMPORTANT NOTE: Because of limitations imposed by the conventional disk > > interface provided by the BIOS, all boot-related files and structures > > (including the

Re: Loosing STDOUT after file rotation

2004-04-27 Thread Peter Pentchev
), or use something > like Apache's logrotate instead of newsyslog (pipe the program's > output to logrotate, which takes care of the rest) Or, as an alternative to Apache's logrotate, there is multilog from djb's daemontools package - ports/sysutils/daemontools, http://cr.yp.to

Re: IP frag need

2004-05-19 Thread Peter Pentchev
ee IP frag needed, but WindowsNT don't want to do it. > > What I cat do on FreeBSD box to solve the problem ?? If you are using a recent version of mpd, try putting the following line: set iface enable tcpmssfix in your bundle definition in mpd.conf. G'luck, Peter -- Peter

Re: obtaining a kernel crash dump

2004-05-19 Thread Peter Pentchev
ic' at the DDB prompt. If this works, and you get a crash dump, then the problem might be that with your kernel patch, the kernel is panicking in a low-level layer, like memory management or disk drivers or something like that, and it simply cannot make a crash dump, since that would mean i

Re: pkg_create @cwd and @srcdir

2004-05-27 Thread Peter Pentchev
ake.conf). Errr, that's all fine and good, but how about people who still use GNU tar for various reasons, such as sticking with RELENG_4? :) Or do you have any plans for MFC'ing libarchive/bsdtar into RELENG_4 (please please please!), even without making it the default

Re: freebsd asm

2004-06-14 Thread Peter Pentchev
/x86-portable-code.html If so, note that this page says that you need to create this file yourself, it is neither part of nasm nor part of the standard FreeBSD distribution :) See the last paragraph on the page - "Go ahead, enter it into your editor and save it as system.inc." :) G'

Re: FreeBSD or other BSD for no-MMU ARM processor ?

2004-06-14 Thread Peter Pentchev
#x27;t have an MMU.. or was that even earlier, and does it also hold true for other BSD's? G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E

Re: freebsd asm

2004-06-16 Thread Peter Pentchev
On Wed, Jun 16, 2004 at 09:01:02AM -0700, Wes Peters wrote: > On Monday 14 June 2004 07:04, Peter Pentchev wrote: > > On Mon, Jun 14, 2004 at 01:59:11PM +0200, Jos? Nicol?s Castellano wrote: > > > Hello to all, > > > > > > I'm proud to join this maili

Re: RFC: "-exit" option for find(1)

2004-07-16 Thread Peter Pentchev
x27;s problem with this is that it will still traverse the whole hierarchy even after a match is found. In some cases, the hierarchy may be huge, and if the match is within the first 100-200 files, well... :) I wonder if it wouldn't be a bit better to add to find(1) something like -maxmatche

Re: RFC: "-exit" option for find(1)

2004-07-16 Thread Peter Pentchev
On Fri, Jul 16, 2004 at 05:28:57PM +0300, Peter Pentchev wrote: > On Fri, Jul 16, 2004 at 11:58:07AM +0400, Denis Antrushin wrote: > > Alfred Perlstein wrote: > > >I'm up too late, this doesn't work because find returns > > >success whenever it

Re: freebsd-gnats-submit@FreeBSD.org

2004-07-28 Thread Peter Pentchev
il addresses and choosing them at random. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence would be seven

[CFR] OpenSSL ENGINE fix

2004-09-02 Thread Peter Pentchev
r_all_complete(); if (RAND_status()) { printf("RAND_status said ok\n"); } else { printf("RAND_status kinda sorta failed\n"); } return (0); } G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED]

Re: [CFR] OpenSSL ENGINE fix

2004-09-02 Thread Peter Pentchev
On Thu, Sep 02, 2004 at 07:03:00PM +0300, Peter Pentchev wrote: > Hi, > > The stunnel port had been badly broken on -CURRENT for some time, and > today I seem to have tracked it down. There is a problem in > OpenSSL's ENGINE code, which seems to depend on realloc()'s ini

[PATCH] Fix USB panics

2004-09-08 Thread Peter Pentchev
the whole handler be removed, since the only thing it does ought to be handled by usb_disconnect_port() already? Is this even the right direction? IMHO, this situation ought to be resolved one way or another before 5.3 hits the shelves, even if the solution has nothing to do with my proposed patch

Re: [PATCH] Fix USB panics

2004-09-08 Thread Peter Pentchev
On Wed, Sep 08, 2004 at 11:17:06AM -0600, M. Warner Losh wrote: > [[ redirected to hackers only ]] Thanks for looking over this so quickly! > In message: <[EMAIL PROTECTED]> > Peter Pentchev <[EMAIL PROTECTED]> writes: [snip] > : So here's a How to Pa

Re: [PATCH] Fix USB panics

2004-09-08 Thread Peter Pentchev
test. > Here's the patch that I've come up with. Does it work for you? Unfortunately, I have to run right now, but from a quick look over it seems that it will work. I'll test it and let you know tomorrow at the latest. Thanks! G'luck, Peter -- Peter Pentchev

Re: [PATCH] Fix USB panics

2004-09-09 Thread Peter Pentchev
test. > Here's the patch that I've come up with. Does it work for you? Yes, this patch works just fine. I assume you will commit it without the printf and indentation chunks, though? :) Thanks again! G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTEC

Re: struct proc - basic question

2004-09-13 Thread Peter Pentchev
t possible to get the pointer to struct proc using for example the pid_t pid > > as an argument? > > >From userland, maybe the kvm_* functions will do what you want. > See the kvm, kvm_open and kvm_getprocs manpages. The kern.proc.all sysctl might be a better idea; see my other e-ma

Re: struct proc - basic question

2004-09-13 Thread Peter Pentchev
, but see for details. - use the sysctl(3) interface to fetch the value of the kern.proc.all sysctl. It is a snapshot of the current process info, see the kinfo_proc structure and the comments around it in the file for more information. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED]

Re: What does it mean

2004-09-14 Thread Peter Pentchev
o but their parent is busy doing something else, possibly locked up or something. You may gather a lot more information by including the parent process ID in the 'ps' output: try 'ps axl' or 'ps axlwww', see what has invoked all those 'sh' processes, see if i

Re: Booting encrypted

2004-09-15 Thread Peter Pentchev
ourse, the key word is 'mostly', and there is more to TCPA than just encrypted booting, and there are lots of people who disagree with the 'more' part, but still you might want to take a look at it. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED]

[CFR] Fix adduser's recognition of nologin

2004-09-20 Thread Peter Pentchev
e - # /usr/sbin/nologin is a special case - if [ "$_shell" = "${NOLOGIN}" -o \ - "$_shell" = "${NOLOGIN_PATH}" ]; then - echo ${NOLOGIN_PATH} - return 0; - fi - return 1 } G'luck, Peter -- Peter Pen

Re: Kernel-loadable Root Kits

2004-09-24 Thread Peter Pentchev
On Sat, Sep 08, 2001 at 05:43:41AM -0400, Deepak Jain wrote: > > Short question: > > Is there a way to prevent the kernel from allowing loadable modules? Run your system in securelevel 1 or higher. See the init(8) manual page and the kern_securelevel_enable and kern_securelevel variables in the

Re: [PATCH] add '-' glibc extension to strftime(3)

2004-10-17 Thread Peter Pentchev
pt = _conv(t->tm_mday, (Palternative == PAD_LESS) ? > + "%d" : "%2d", In view of future extensions (PAD_SPACE, etc), could this not be done better with an array of printf format specifiers, indexed by Palternative? Thanks

Re: Freebsd assembly programming - IN/OUT commands.

2004-10-17 Thread Peter Pentchev
he i386_set_ioperm(2) syscall :) It is a bit non-portable, true, but since Jan uses MASM-style assembly and mentions ports 70h and 71h, I think it would do what he needs. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.

Re: [PATCH] add '-' glibc extension to strftime(3)

2004-10-17 Thread Peter Pentchev
On Sun, Oct 17, 2004 at 05:43:53PM +0300, Peter Pentchev wrote: > On Sun, Oct 17, 2004 at 01:23:02AM +0800, Xin LI wrote: > > Hi, folks, > > > > It turns out that the GNU extension '-' in their strftime(3) implementation > > is somewhat popular in several appl

[CFR] Specify the lock(1) timeout unit

2004-10-21 Thread Peter Pentchev
sectimeout != 1 ? "s" : ""); + (void)printf(" timeout in %d %s%s.", sectimeout, + timeout_str, sectimeout != 1 ? "s" : ""); if (vtylock) (void)printf(" vty locked.");

Re: [CFR] Specify the lock(1) timeout unit

2004-10-21 Thread Peter Pentchev
On Thu, Oct 21, 2004 at 04:38:10PM -0400, Robert Watson wrote: > On Thu, 21 Oct 2004, Peter Pentchev wrote: > > > Here's a little patch that teaches lock(1) about timeouts specified in > > seconds, hours, or days in addition to the minutes it currently assumes. > >

Re: questionable feature in FreeBSD pmake

2004-10-28 Thread Peter Pentchev
t;, seems to show that .OBJDIR and MAKEOBJDIRPREFIX handling is present in all of them, and OpenBSD's make(1) manual lists the same search order, including 'obj.${MACHINE}' and 'obj'. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL

Re: questionable feature in FreeBSD pmake

2004-10-28 Thread Peter Pentchev
On Thu, Oct 28, 2004 at 01:51:00PM +0300, Peter Pentchev wrote: > On Thu, Oct 28, 2004 at 03:23:02AM -0700, Dan Strick wrote: > > I just spent a *very* frustrating hour trying to figure out why the > > FreeBSD make program was invoking all commands to make things in a > > su

Re: tcsh is not csh

2004-11-12 Thread Peter Pentchev
Christos Zoulas, I've found him to be quite responsive and willing to accomodate reasonable requests and bugfixes :) G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint

Re: HD Mirroring

2004-11-24 Thread Peter Pentchev
u need :) There is also an excellent separate article about Vinum at http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/vinum/ Hope that helps! G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam

Re: FreeBSD system call implementation

2004-12-15 Thread Peter Pentchev
ps). E... actually, if you look at , you'll see that this is exactly the way it is - p->p_sysent is a *pointer* to a struct sysentvec, and there are only a few struct sysentvec's in the kernel, definitely not one per process :) G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED

Re: duplicate CVS modules in merged CVSROOT

2004-12-17 Thread Peter Pentchev
for ports which conflict with the src tree, a 'ports_' prefix is added to the CVSROOT module definition. Lots of examples in the CVSROOT-ports/modules file :) G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.Fre

Re: Fixing Posix semaphores

2004-12-21 Thread Peter Pentchev
lat namespace, especially as... 4. there are widely-used OS's (ISTR Solaris, but ICBW) that only provide a flat namespace. Thus, it would seem that even if somebody would do the work to really tie the semaphore naming fully to the filesystem, still programs that want to be Really Really Po

Re: Creating Compressed Loop FS from stdin

2004-12-30 Thread Peter Pentchev
- } fdw = open(oname, O_WRONLY | O_TRUNC | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); if (fdw < 0) { -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fin

Re: Creating Compressed Loop FS from stdin

2004-12-30 Thread Peter Pentchev
On Thu, Dec 30, 2004 at 01:28:28PM +0100, Matteo Riondato wrote: > Il giorno Gio, 30-12-2004 alle 12:34 +0200, Peter Pentchev ha scritto: > > This could be fixed by the following patch. I'm CC'ing Maxim Sobolev, > > the author of mkuzip(8); Maxim, do you have any

Re: Support for Adaptec Ultra 320 (29320)

2004-12-30 Thread Peter Pentchev
ler on FreeBSD 5.3 ? > > I know it is a new controller. According to the CVS history of the src/sys/dev/aic7xxx/ahd_pci.c file, the 'ahd' driver (which supports Adaptec Ultra 320) was added to FreeBSD about two and a half years ago :) http://cvsweb.FreeBSD.org/src/sys/dev/aic7xxx/a

Re: Support for Adaptec Ultra 320 (29320)

2004-12-30 Thread Peter Pentchev
.1, 5.2, 5.1, 5.0, and actually all the way back to 4.7 :) G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 If you think this

Re: Creating Compressed Loop FS from stdin

2004-12-30 Thread Peter Pentchev
On Thu, Dec 30, 2004 at 03:32:27PM +0200, Maxim Sobolev wrote: > Peter Pentchev wrote: > >On Thu, Dec 30, 2004 at 01:28:28PM +0100, Matteo Riondato wrote: > > > >>Il giorno Gio, 30-12-2004 alle 12:34 +0200, Peter Pentchev ha scritto: > >> > >>>Thi

Re: Creating Compressed Loop FS from stdin

2004-12-30 Thread Peter Pentchev
ks the return value, too. This version of mkuzip works on today's RELENG_5, as can be seen from the attached mkuzip.script sequence of commands. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam

Re: Creating Compressed Loop FS from stdin

2004-12-30 Thread Peter Pentchev
On Thu, Dec 30, 2004 at 04:55:43PM +0200, Peter Pentchev wrote: > On Thu, Dec 30, 2004 at 04:20:16PM +0200, Maxim Sobolev wrote: > > You don't check return code of the second lseek - I bet it fails. This > > probably leads to creation of seemingly valid loop fs (i.e. with val

Re: Freeing Volatile Pointer

2005-01-03 Thread Peter Pentchev
ompiler. If you do, it will again give this warning, just because you have explicitly asked it to :) G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51

Re: GNUstep and libkvm

2005-01-23 Thread Peter Pentchev
as, say, application/octet-stream, it *will* be stripped from the message before it makes it to the list. Best use text/plain for patches and source files. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roa

Re: Opening and wriiting to file in Kern

2005-02-06 Thread Peter Pentchev
ll OS's provide basically the same userland-to-kernel interface for having a program open a device and issue ioctl's to it :) Another way would be, again, communication between a userland utility and a kernel module, but this time using mmap'd files/devices instead of ioctl&#

Re: How many developers?

2005-02-10 Thread Peter Pentchev
t; cvs co -p CVSROOT-src/access CVSROOT-doc/access CVSROOT-ports/access \ > 2>/dev/null | grep -v ^# | awk '{print $1}' | sort -u | wc -l Surely you mean awk '!/^#/ {print $1}' ;) Nahh, I don't need a coat, it's just -17C outside... G'luck, Peter -- Peter Pen

Re: SIGBUS help, please

2005-02-13 Thread Peter Pentchev
modes yet? Wasn't some valgrind output included in the message you actually replied to? :) Or am I misunderstanding your question due to the fact that I've never actually used valgrind? If so, sorry... G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED]

Re: clock.h

2005-02-28 Thread Peter Pentchev
at there is a DELAY() function that it could possibly use. It simply cannot, since the DELAY() function is declared within kernel code for use by the kernel only. If you want a high-precision delay/sleep interface in a userland program, take a look at the usleep(2) and nanosleep(2) syscall

Re: passwd & permissions

2005-03-24 Thread Peter Pentchev
what to fix in order to make the system stop resetting my > permissions when I install ports ? The mtree(8) file for the /usr/local hierarchy, found in /etc/mtree/BSD.local.dist G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key

Re: ABV.BG автоматичен отговор

2005-03-29 Thread Peter Pentchev
lf, it says 'thank you for the letter you sent; I'll respond as soon as possible'. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E

Re: How to reset root passwd FreeBSdD4.7

2005-07-15 Thread Peter Pentchev
#x27;t do the work (this is not Linux, eah) > /etc/master.passwd must be edited and then pwd_mkdb /etc/master.passwd > must be run. Much easier to just chroot(8) into the mounted filesystem and use the 'passwd root' command, as others have already suggested - after booting from the fixit CD, of

Re: fok() execve() -> No child processes

2005-09-09 Thread Peter Pentchev
return -14; > } Just an idea: what happens if you try waitpid(pid, &stat, 0) instead of wait(&stat)? G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc

Re: ELF binary type "0" not known.

2005-09-16 Thread Peter Pentchev
ecutable' on the file that you want to actually run. For more information, see chapter 10, "Linux Binary Compatibility", of the FreeBSD Handbook. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://peopl

Re: ELF binary type "0" not known.

2005-09-16 Thread Peter Pentchev
On Fri, Sep 16, 2005 at 11:07:31PM +0930, Daniel O'Connor wrote: > On Friday 16 September 2005 22:53, Peter Pentchev wrote: > > On Fri, Sep 16, 2005 at 11:56:09AM +, Wouter van Rooij wrote: > > > I have this error message when i'm wanting to start mozilla for exampl

Re: ELF binary type "0" not known.

2005-09-16 Thread Peter Pentchev
, the kernel does not know what to do with an unknown ELF binary type? :) What I find weird is the fact that as soon as linux.ko is loaded, the kernel "learns" to treat type 0 binaries as type 3; but this is probably because Daniel Eischen has at some earlier time set the kern.fallback

Re: Doubt of system(3)

2001-10-02 Thread Peter Pentchev
On Sat, Sep 29, 2001 at 11:28:39PM +0100, David Taylor wrote: [snip] > IMO, the below patch is probably the best solution. Yep, it also fixes the fact that the return value from wait4() needs to be preserved, at least for the return statement of __system(). G'luck, Peter -- "yields falsehood,

Re: setjmp/longjmp

2001-10-02 Thread Peter Pentchev
On Mon, Oct 01, 2001 at 10:56:24AM +0930, Greg Lehey wrote: > [Format recovered--see http://www.lemis.com/email/email-format.html] > > On Friday, 28 September 2001 at 10:12:14 -0700, Julian Elischer wrote: > > On Fri, 28 Sep 2001, Gersh wrote: > >> On Fri, 28 Sep 2001, Bernd Walter wrote: > >>> O

Re: Duping a hard disk

2001-10-23 Thread Peter Pentchev
On Tue, Oct 23, 2001 at 08:35:05AM -0400, PSI, Mike Smith wrote: > I am running a lab with 43 FreeBDS machines and will be adding about 20 > more in the near future. ALL these machines are absolutely identical > except for IP address and machine name. To speed up the adding of new > machines, I en

Re: Duping a hard disk

2001-10-23 Thread Peter Pentchev
On Tue, Oct 23, 2001 at 03:45:07PM +0300, Peter Pentchev wrote: > On Tue, Oct 23, 2001 at 08:35:05AM -0400, PSI, Mike Smith wrote: > > I am running a lab with 43 FreeBDS machines and will be adding about 20 > > more in the near future. ALL these machines are absolutely identical &g

Re: strange code?

2001-10-24 Thread Peter Pentchev
On Wed, Oct 24, 2001 at 04:53:12PM +0400, Alexey V . Neyman wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello there! > > I've stumbled accross the following in sys/netinet/ip_input.c (v.1.173) > > - --- lines 470-477 --- > if (m == NULL) {/* Packet discarded by fire

Re: mountd will not start at boot. Or function later...

2001-10-25 Thread Peter Pentchev
On Thu, Oct 25, 2001 at 04:13:09AM -0600, Joesh Juphland wrote: > > I cannot mount any of the NFS shares that I share from my server due to a > problem with mountd and RPC. > > rc.conf looks like this: > > network_interfaces="lo0" > removable_interfaces="wi0" > nfs_server_enable="YES" > nfs_se

Re: cvsupd / cvs repository

2001-10-25 Thread Peter Pentchev
On Thu, Oct 25, 2001 at 11:59:03AM +0100, Rasputin wrote: > > First of all, sorry for the dumb questions. > > I've installed the cvsupd-mirror port, so I now have around 1.5Gb of > CVS data in /usr/repo. > > I was wondering if there was a way to access this as a CVS repository? > > What I'm re

Re: anoncvs down?

2001-10-25 Thread Peter Pentchev
On Fri, Oct 26, 2001 at 09:15:28AM +0200, Peter Wullinger wrote: > Err ... just another dump question: > > I'm unable to access the anoncvs server ... > > (using bash) > % export CVSROOT=:pserver:[EMAIL PROTECTED]:/home/ncvs > % cvs login > (Logging in to [EMAIL PROTECTED]) > CVS pas

Re: cvs commit: ports/devel/ORBit Makefile ports/devel/ORBit/files patch-src::IIOP::giop-msg-buffer.c

2001-10-26 Thread Peter Pentchev
On Fri, Oct 26, 2001 at 05:49:08PM +0300, Maxim Sobolev wrote: > Ian Dowse wrote: > > > > In message <[EMAIL PROTECTED]>, Maxim Sobolev writ > > es: > > > Nautilus from working properly. The problem disappeared when I've replaced > > > writev(2) call with appropriate loop based around ordinary

Re: cvs commit: ports/devel/ORBit Makefile ports/devel/ORBit/files patch-src::IIOP::giop-msg-buffer.c

2001-10-26 Thread Peter Pentchev
On Fri, Oct 26, 2001 at 06:06:59PM +0300, Maxim Sobolev wrote: > Peter Pentchev wrote: > > > > On Fri, Oct 26, 2001 at 05:49:08PM +0300, Maxim Sobolev wrote: [snip] > > > > > > On the step 3, when marshalling results of the call, daemon > > > creates a

Re: cvs commit: ports/devel/ORBit Makefile ports/devel/ORBit/files patch-src::IIOP::giop-msg-buffer.c

2001-10-26 Thread Peter Pentchev
On Fri, Oct 26, 2001 at 06:31:56PM +0300, Maxim Sobolev wrote: > Peter Pentchev wrote: > > > > On Fri, Oct 26, 2001 at 06:06:59PM +0300, Maxim Sobolev wrote: > > > Peter Pentchev wrote: > > > > > > > > On Fri, Oct 26, 2001 at

Re: syslogd and kqueue

2001-10-29 Thread Peter Pentchev
On Mon, Oct 29, 2001 at 01:16:29PM -0500, Leo Bicknell wrote: > On Sun, Oct 28, 2001 at 07:40:34PM -0800, Terry Lambert wrote: > > The _useful_ thing to do would be to roll the newsyslog > > functionality into syslogd; however, as a .conf file that > > is expected to be distributed over NIS, I thi

Re: buildworld breakage during "make depend" at usr.bin/kdump

2001-11-01 Thread Peter Pentchev
On Thu, Nov 01, 2001 at 01:36:24PM +0100, Guido van Rooij wrote: > On Thu, Nov 01, 2001 at 01:29:50PM +0100, Dag-Erling Smorgrav wrote: > > Guido van Rooij <[EMAIL PROTECTED]> writes: > > > May I aks which shell you are using? > > > > Zsh. > > I am starting to wonder which sh is broken. > >

Re: Planet

2001-09-27 Thread Peter Pentchev
On Thu, Sep 27, 2001 at 04:44:31PM +0200, Martin Vana wrote: > Hi, I tried to rebuilt my kernel with device rl0 (NIC PLANET ENW-9503A based on >REALTEK 8139 chip) it has collapsed during make phase. It cannot find files starting >with mii* but they are present. Is it that it cannot find the fil

<    1   2   3   4   5   >