disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Andreas Klemm
Hi, DragonFly uses another disklabel as FreeBSD I discovered. Made a test installation of their 1.6 yesterday. Later I wanted to mount the dfly filesystems on FreeBSD 6.1, of course still my main Unix ;-) But it wasn't possible. The disklabel couldn't be read and as a result devfs didn't

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Andreas Klemm
to followup myself ... I just see, we also have pack identifier, its the additional struct behind it that differs. Bootstrap name etc... Andreas /// -- Andreas Klemm - Powered by FreeBSD 6 Need a magic printfilter today ? - http://www.apsfilter.org/

How to Use ddb(4)?

2006-07-27 Thread Intron
I have add relevant options into my kernel (7.0-CURRENT) configuration file: makeoptions DEBUG=-g options KDB options DDB options GDB options INVARIANTS options INVARIANT_SUPPORT options WITNESS options WITNESS_SKIPSPIN When kernel

Re: How to Use ddb(4)?

2006-07-27 Thread Dag-Erling Smørgrav
Intron [EMAIL PROTECTED] writes: When kernel panics, the prompt db will appear. But at this time I cannot control my computer with keyboard any longer. What's wrong with me? I don't know what's wrong with you, but as regards your computer: disable kbdmux and use a PS/2 keyboard. DES --

Need some articles on routing sockets in FreeBSD

2006-07-27 Thread Shriek
I need to understand the usage and to some level details of the routing sockets (internals may not be the exact word but still ... :-] ) there is this scenario of this multiple daemons that are communicating using *rt_sock *and need to trace the communication that is happening ... for this

Re: [PATCH] adding two new options to 'cp'

2006-07-27 Thread Oliver Fromme
Eric Anderson [EMAIL PROTECTED] wrote: I'm tired of trying to use rsync or gcp (which doesn't like symlinks often) to copy trees of files/directories using hard links, so I added the gcp-ish options -a and -l. -a is 'archive' mode, which is just a quick form of -PpR. -P is the

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Joerg Sonnenberger
On Thu, Jul 27, 2006 at 08:39:37AM +0200, Andreas Klemm wrote: Later I wanted to mount the dfly filesystems on FreeBSD 6.1, of course still my main Unix ;-) But it wasn't possible. DragonFly disklabels allow 16 entries by default, FreeBSD still limits it to 8. That's why you can't read it

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Steve Ames
On Thu, Jul 27, 2006 at 02:21:59PM +0200, Joerg Sonnenberger wrote: On Thu, Jul 27, 2006 at 08:39:37AM +0200, Andreas Klemm wrote: Later I wanted to mount the dfly filesystems on FreeBSD 6.1, of course still my main Unix ;-) But it wasn't possible. DragonFly disklabels allow 16 entries by

Re: Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Sergey Babkin
to followup myself ... I just see, we also have pack identifier, its the additional struct behind it that differs. Bootstrap name etc... Those are parts of an union, so the total size still shouldn't change. I'd guess that the char[] format is used on-disk and the pointers are used in-memory.

Re: How to Use ddb(4)?

2006-07-27 Thread Intron
Dag-Erling [iso-8859-1] Smo/rgrav wrote: Intron [EMAIL PROTECTED] writes: When kernel panics, the prompt db will appear. But at this time I cannot control my computer with keyboard any longer. What's wrong with me? I don't know what's wrong with you, but as regards your computer: disable

Re: How to Use ddb(4)?

2006-07-27 Thread Dag-Erling Smørgrav
Intron [EMAIL PROTECTED] writes: Dag-Erling [iso-8859-1] Smo/rgrav wrote: Intron [EMAIL PROTECTED] writes: When kernel panics, the prompt db will appear. But at this time I cannot control my computer with keyboard any longer. What's wrong with me? I don't know what's wrong with

Warning Message from uma_zdestroy(9)

2006-07-27 Thread Intron
Why does uma_zdestroy(9) print message like: Freed UMA keg was not empty (100 items). Lost 2 pages of memory. But actually I have made sure that uma_zalloc(9) and uma_zfree(9) appear in pair in my code. Does it represent any problems?

Re: How to Use ddb(4)?

2006-07-27 Thread maksim yevmenkin
Dag-Erling Smørgrav wrote: Intron [EMAIL PROTECTED] writes: Dag-Erling [iso-8859-1] Smo/rgrav wrote: Intron [EMAIL PROTECTED] writes: When kernel panics, the prompt db will appear. But at this time I cannot control my computer with keyboard any longer. What's wrong with me? I don't know

Re: A bug in semctl()

2006-07-27 Thread Ed Schouten
* Maxim Konovalov [EMAIL PROTECTED] wrote: What version of the file do you read? We have a different code in HEAD. It looks like he's using RELENG_6, src/sys/kern/sysv_sem.c, 1.78. Yours, -- Ed Schouten [EMAIL PROTECTED] WWW: http://g-rave.nl/ pgpyVMxtlWpTD.pgp Description: PGP signature

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Brooks Davis
On Thu, Jul 27, 2006 at 09:49:48AM -0400, Steve Ames wrote: On Thu, Jul 27, 2006 at 02:21:59PM +0200, Joerg Sonnenberger wrote: On Thu, Jul 27, 2006 at 08:39:37AM +0200, Andreas Klemm wrote: Later I wanted to mount the dfly filesystems on FreeBSD 6.1, of course still my main Unix ;-) But

RE: puc question

2006-07-27 Thread Helge.Oldach
20060428: The puc(4) driver has been overhauled. The ebus(4) and sbus(4) attachments have been removed. Make sure to configure scc(4) on sparc64. Note also that by default puc(4) will use uart(4) and not sio(4) for serial ports because interrupt handling has been

Re: WINE vs. FreeBSD

2006-07-27 Thread John Baldwin
On Monday 24 July 2006 21:58, Tijl Coosemans wrote: On Monday 24 July 2006 18:49, Daniel Eischen wrote: On Mon, 24 Jul 2006, Tijl Coosemans wrote: On Monday 24 July 2006 17:39, Daniel Eischen wrote: On Mon, 24 Jul 2006, Tijl Coosemans wrote: I've attached two patches that accomplish

Re: A question about ipcperm() call?

2006-07-27 Thread John Baldwin
On Sunday 23 July 2006 22:07, 李尚杰 wrote: The code for ipcperm() call : 93 if (mode IPC_M) { 94 error = suser(td); 95 if (error) 96 return (error); 97 } 116 if

Re: A bug in semctl()

2006-07-27 Thread John Baldwin
On Wednesday 26 July 2006 03:50, 李尚杰 wrote: In file kern/sysv_sem.c: 554 __semctl(td, uap) 555 struct thread *td; 556 struct __semctl_args *uap; 557 { 558 int semid = uap-semid; here 1 559 int semnum = uap-semnum; 560 int cmd = uap-cmd; 561

Re: [PATCH] adding two new options to 'cp'

2006-07-27 Thread Doug Barton
Oliver Fromme wrote: Eric Anderson [EMAIL PROTECTED] wrote: I'm tired of trying to use rsync or gcp (which doesn't like symlinks often) to copy trees of files/directories using hard links, so I added the gcp-ish options -a and -l. -a is 'archive' mode, which is just a quick form

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Rick C. Petty
On Thu, Jul 27, 2006 at 09:49:48AM -0400, Steve Ames wrote: On Thu, Jul 27, 2006 at 02:21:59PM +0200, Joerg Sonnenberger wrote: DragonFly disklabels allow 16 entries by default, FreeBSD still limits it to 8. That's why you can't read it directly. Are there plans to bump the default up

Re: A bug in semctl()

2006-07-27 Thread Ed Schouten
* John Baldwin [EMAIL PROTECTED] wrote: Actually, this is on purpose. SEM_STAT is just used for Linux binaries, and they apparently specify a kernel semid rather than a user one for this specific request. Yes. Below is a snippet from the semctl(2) manpage on a Linux machine: | SEM_STAT

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Mike Meyer
In [EMAIL PROTECTED], Rick C. Petty [EMAIL PROTECTED] typed: On Thu, Jul 27, 2006 at 09:49:48AM -0400, Steve Ames wrote: On Thu, Jul 27, 2006 at 02:21:59PM +0200, Joerg Sonnenberger wrote: DragonFly disklabels allow 16 entries by default, FreeBSD still limits it to 8. That's why you can't

Re: How to Use ddb(4)?

2006-07-27 Thread Dag-Erling Smørgrav
maksim yevmenkin [EMAIL PROTECTED] writes: Dag-Erling Smørgrav [EMAIL PROTECTED] writes: No, kbdmux needs to be fixed so it works in DDB. actually, atkbd(4) needs to be fixed to support polled mode :) It used to work fine before kbdmux(4) came along... DES -- Dag-Erling Smørgrav - [EMAIL

Re: How to Use ddb(4)?

2006-07-27 Thread Maksim Yevmenkin
Dag-Erling Smørgrav wrote: maksim yevmenkin [EMAIL PROTECTED] writes: Dag-Erling Smørgrav [EMAIL PROTECTED] writes: No, kbdmux needs to be fixed so it works in DDB. actually, atkbd(4) needs to be fixed to support polled mode :) It used to work fine before kbdmux(4) came along... because

Re: How to Use ddb(4)?

2006-07-27 Thread Hans Petter Selasky
On Thursday 27 July 2006 20:40, Dag-Erling Smørgrav wrote: maksim yevmenkin [EMAIL PROTECTED] writes: Dag-Erling Smørgrav [EMAIL PROTECTED] writes: No, kbdmux needs to be fixed so it works in DDB. actually, atkbd(4) needs to be fixed to support polled mode :) It used to work fine

Re: How to Use ddb(4)?

2006-07-27 Thread Dag-Erling Smørgrav
Maksim Yevmenkin [EMAIL PROTECTED] writes: so far i only got one (successful) report. would people please give it a try to see if work, so i can commit it. Please commit it. I don't see how it can do any harm. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED]

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Alex Zbyslaw
Mike Meyer wrote: In [EMAIL PROTECTED], Rick C. Petty [EMAIL PROTECTED] typed: On Thu, Jul 27, 2006 at 09:49:48AM -0400, Steve Ames wrote: On Thu, Jul 27, 2006 at 02:21:59PM +0200, Joerg Sonnenberger wrote: DragonFly disklabels allow 16 entries by default, FreeBSD still limits

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Andreas Klemm
On Thu, Jul 27, 2006 at 02:28:18PM -0400, Mike Meyer wrote: In [EMAIL PROTECTED], Rick C. Petty [EMAIL PROTECTED] typed: On Thu, Jul 27, 2006 at 09:49:48AM -0400, Steve Ames wrote: On Thu, Jul 27, 2006 at 02:21:59PM +0200, Joerg Sonnenberger wrote: DragonFly disklabels allow 16 entries

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Andreas Klemm
On Thu, Jul 27, 2006 at 02:21:59PM +0200, Joerg Sonnenberger wrote: On Thu, Jul 27, 2006 at 08:39:37AM +0200, Andreas Klemm wrote: Later I wanted to mount the dfly filesystems on FreeBSD 6.1, of course still my main Unix ;-) But it wasn't possible. DragonFly disklabels allow 16 entries by

Re: How to Use ddb(4)?

2006-07-27 Thread Maksim Yevmenkin
Hans Petter Selasky wrote: On Thursday 27 July 2006 20:40, Dag-Erling Smørgrav wrote: maksim yevmenkin [EMAIL PROTECTED] writes: Dag-Erling Smørgrav [EMAIL PROTECTED] writes: No, kbdmux needs to be fixed so it works in DDB. actually, atkbd(4) needs to be fixed to support polled mode :) It

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Mike Meyer
In [EMAIL PROTECTED], Michael R. Wayne [EMAIL PROTECTED] typed: On Thu, Jul 27, 2006 at 02:28:18PM -0400, Mike Meyer wrote: These days, the only technical reason I know of for having separate mountpoints is because you want to run commands that work on filesystems on the two parts with

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Mike Meyer
In [EMAIL PROTECTED], Andreas Klemm [EMAIL PROTECTED] typed: On Thu, Jul 27, 2006 at 02:28:18PM -0400, Mike Meyer wrote: These days, the only technical reason I know of for having separate mountpoints is because you want to run commands that work on filesystems on the two parts with

Re: WINE vs. FreeBSD

2006-07-27 Thread Tijl Coosemans
On Thursday 27 July 2006 17:21, John Baldwin wrote: On Monday 24 July 2006 21:58, Tijl Coosemans wrote: However, Wine/Windows uses %fs for TLS and it appears that the FreeBSD kernel doesn't preserve it. It always ends up pointing to GUDATA_SEL. The kernel should preserve %fs across

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Joerg Sonnenberger
On Thu, Jul 27, 2006 at 10:25:28PM +0200, Andreas Klemm wrote: On Thu, Jul 27, 2006 at 02:21:59PM +0200, Joerg Sonnenberger wrote: On Thu, Jul 27, 2006 at 08:39:37AM +0200, Andreas Klemm wrote: Later I wanted to mount the dfly filesystems on FreeBSD 6.1, of course still my main Unix ;-)

Re: [PATCH] adding two new options to 'cp'

2006-07-27 Thread John Baldwin
On Thursday 27 July 2006 13:44, Doug Barton wrote: Oliver Fromme wrote: Eric Anderson [EMAIL PROTECTED] wrote: I'm tired of trying to use rsync or gcp (which doesn't like symlinks often) to copy trees of files/directories using hard links, so I added the gcp-ish options -a and -l.

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread John Baldwin
On Thursday 27 July 2006 16:58, Mike Meyer wrote: Right. I typically install / and /usr as distinct files systems for just that reason (/ and /usr have different backup recovery strategies and I use dump, so that's why they are two partitions). So why does / need to be different from /var,

Re: How to Use ddb(4)?

2006-07-27 Thread John Baldwin
On Thursday 27 July 2006 15:04, Hans Petter Selasky wrote: On Thursday 27 July 2006 20:40, Dag-Erling Smørgrav wrote: maksim yevmenkin [EMAIL PROTECTED] writes: Dag-Erling Smørgrav [EMAIL PROTECTED] writes: No, kbdmux needs to be fixed so it works in DDB. actually, atkbd(4) needs

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Alex Zbyslaw
Mike Meyer wrote: You assume that running out of space happens over time, but with some runaway process logging to a file, for example, the partition filling up will still happen without you expecting it. It might take a bit longer with a big disk, but 20 minutes instead of 5 minutes isn't

Re: WINE vs. FreeBSD

2006-07-27 Thread Julian Elischer
Tijl Coosemans wrote: On Thursday 27 July 2006 17:21, John Baldwin wrote: On Monday 24 July 2006 21:58, Tijl Coosemans wrote: However, Wine/Windows uses %fs for TLS and it appears that the FreeBSD kernel doesn't preserve it. It always ends up pointing to GUDATA_SEL. The kernel

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Mike Meyer
In [EMAIL PROTECTED], Alex Zbyslaw [EMAIL PROTECTED] typed: Mike Meyer wrote: You assume that running out of space happens over time, but with some runaway process logging to a file, for example, the partition filling up will still happen without you expecting it. It might take a bit longer

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Alex Zbyslaw
Mike Meyer wrote: A further reason to separate partitions is that dump works at the level of a partition. Different partitions may have very different backup requirements, and for those of us without huge tape drives, partitioning to a size that can be dumped on one tape makes life easier.

Any success with bacula and DVD

2006-07-27 Thread george+freebsd
Is anybody successfully using bacula with DVD? When I install the bacula-server port, it cannot pass even the trivial btape FileStorage/temp test, let alone trying to write to DVD. Advice cheerfully accepted! -- George Mitchell ___

Re: WINE vs. FreeBSD

2006-07-27 Thread Tijl Coosemans
On Thursday 27 July 2006 23:53, Julian Elischer wrote: Tijl Coosemans wrote: On Thursday 27 July 2006 17:21, John Baldwin wrote: The kernel should preserve %fs across syscalls, traps, and faults. Can you point to a specific case where %fs is not preserved? It sounds like %fs is never

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Rick C. Petty
Mike Meyer wrote: Boxes are cheaper than disk space - my last two low-end boxes cost less than my last small disk drive, even though I ordered them all about the same time. If you can afford the disk for some process, then chances are good you can afford a system instead, or as well. I'm not

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Mike Meyer
In [EMAIL PROTECTED], Rick C. Petty [EMAIL PROTECTED] typed: Mike Meyer wrote: Boxes are cheaper than disk space - my last two low-end boxes cost less than my last small disk drive, even though I ordered them all about the same time. If you can afford the disk for some process, then chances

Re: FBSD 5.5 and software timers

2006-07-27 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Michael Scheidell [EMAIL PROTECTED] writes: : Found it! library libc_r : : Given POC: : : int main( int argc, char **argv ) : { : char execs1[256] = /bin/date +A%Y%m%d%H%M.%S; : char execs2[256] = /bin/date +B%Y%m%d%H%M.%S; : int a; : : while ( 1) {

Re: Programs not accepting input?

2006-07-27 Thread Eric Schuele
On 07/21/2006 08:32, Robert Watson wrote: On Fri, 21 Jul 2006, Greg 'groggy' Lehey wrote: I've been keeping a closer eye on my problem. I'm using fvwm1 with click-to-focus and lose-focus-on-screen-switch. If I move from one screen to another and quickly click on a window, the border

Re: Any success with bacula and DVD

2006-07-27 Thread Stanislav Sedov
On Thu, 27 Jul 2006 17:11:11 -0700 (PDT) [EMAIL PROTECTED] mentioned: Is anybody successfully using bacula with DVD? When I install the bacula-server port, it cannot pass even the trivial btape FileStorage/temp test, let alone trying to write to DVD. Advice cheerfully accepted!