Re: Copyright Contradiction in libalias

2001-08-21 Thread Brandon D. Valentine

On Mon, 20 Aug 2001, Crist J. Clark wrote:

It is now written policy, and I
believe it was the understood, unwritten policy in the past, that any
patches and additions to a file in FreeBSD are governed by the
existing licensing of the file unless otherwise stated. This would
indicate to me that this file is arguably still public domain.

The problem with source in the public domain versus a BSD license is
that public domain source code does not explicitly release the project
and author from liability.  I'm sure that's why a BSD license was
slapped over this code.

-- 
Never put off until tomorrow what you can do today.  There might be a
law against it by that time.   -- /usr/games/fortune, 07/30/2001

Brandon D. Valentine bandix at looksharp.net



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



syscons VTY switch panic...

2001-08-21 Thread Jim Bryant

I am getting this with regularity now.

The one time I was available to see the panic, I forgot to go into the debugger and do 
a traceback, but it had something to do with 
a mwrite, and had a line concerning [maybe a buffer is?]...

I know this isn't much to go on, but that's what I have.  I'll get more info when I 
feel like wasting ten or fifteen minutes for a 
double-reboot...  [is it necessary to do the `shutdown -r now` to write a new entropy, 
or can we just keep going if it boots without 
the proper entropy?]...

I have pretty much isolated this to VTY switching via syscons.  Occasionally, it will 
leave the system speaker in a constant tone 
until it reboots.  This is very noticable then X exits.

jim
-- 
ET has one helluva sense of humor!
He's always anal-probing right-wing schizos!


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



problem not single open() of '/dev/mixer' in -CURRENT

2001-08-21 Thread Vladimir B. Grebenschikov


After ubgrade to -CURRENT I have found that it is not possible open
mixer device twice and more. Second open gets EBUSY.

It is usual practice that on there is more than one program on desktop
opening mixer - for me it wmmixer, wmtune (both WindowMaker applets)
and xmms or xmcd.

Under RELENG_4 - there was no problem with it.

Is it principial or conceptual problem ?

I've fix it with small patch, but I want to understand why it so in
-CURRENT ?

--
TSB Russian Express, Moscow
Vladimir B. Grebenschikov, [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Where to put new bus_dmamap_load_mbuf() code

2001-08-21 Thread Justin T. Gibbs


Correction.

This sample:

 if (bus_dma_tag_create(pci-parent_dmat, PAGE_SIZE, lim,
 BUS_SPACE_MAXADDR, BUS_SPACE_MAXADDR, NULL, NULL, len, 1,
 BUS_SPACE_MAXSIZE_32BIT, 0, pci-cntrol_dmat) != 0) {
 isp_prt(isp, ISP_LOGERR,
 cannot create a dma tag for control spaces);
 free(isp-isp_xflist, M_DEVBUF);
 free(pci-dmaps, M_DEVBUF);
 return (1);
 }


You'll need to change the number of segments to match the max
supported by the card (or the max you will ever need).  This
example made me realize that the bounce code doesn't deal with
multiple segments being copied into a single page (i.e. tracking
and using remaining free space in a page already allocated for
bouncing for a single map).  I'll have to break loose some time
to fix that.

--
Justin

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Sound broken on -current again...

2001-08-21 Thread Søren Schmidt

It seems John Baldwin wrote:
  In servalan.mailinglist.fbsd-current Maxim Sobolev writes:
 I found that after reverting the following deltas (jhb's 10 August commit)
 sound starts working again:
  
  [list of deltas deleted]
  
  I found much the same thing; specifically, the problematic change is this
  one:
 
 What wait channel is the process (xmms, mpg123, whatever) in?

mpg123 hangs on sbwait

Oh and btw the same commits seem to have broken USB too (at least on
my VIA based board).

-Søren

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Sound broken on -current again...

2001-08-21 Thread Maxim Sobolev

John Baldwin wrote:

  The same is here (OPL3-SA driver on Toshiba Satellite Pro 445CDX notebook).
  I found that after reverting the following deltas (jhb's 10 August commit)
  sound starts working again:

 That's a rather large commit.  Is this the ast() fixup?  Is the process that
 has the sound device open hung?  Is it stuck in a wait channel?  If so, can you
 do a ps and find the wait channel?  Is it chewing up large amounts of CPU time?
 Has it exited with a signal?

Somebody tracked it down to kern_synch.c,v 1.154 and I'm confirming that reverting
this delta indeed fixes the problem. The process in question hangs and doesn't
respond to any signals (SIGKILL included). Following is the relevant piece of `ps
axl' output:

  UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT   TIME COMMAND
0   275   267   0  -8  0 41496  212 -  R+v00:00,74 madplay /cdr

Please note that even though madplay above is in the `RUN' state it doesn't consume
any CPU time.

Please let me know if any additional information would be necessary.

-Maxim


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



is 'suspend' broken in CURRENT?

2001-08-21 Thread Vladimir B. Grebenschikov

Juriy Goloveshkin writes:
  I have sony vaio z505hs. I have latest cvs-tree.
  suspend worked 1-2 weeks ago but now when I want to resume from suspend-mode
  I see the same screen I saw before suspend but keyboard doesn't work and
  harddisk doesn't spin.

Have same problem on:
FreeBSD vbook.express.ru 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Sat Aug 18 00:12:19 MSD 
2001 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/VBOOK  i386

When I was running RELENG_4 my vaio z505s allways successful awake
from hibernation, and with probability about 30% freezes after awake
from suspend. Now (with -CURRENT) it always freezes after awake from
suspend, and often freezes after awake from hibernation.

  bye
  Juriy Goloveshkin

--
TSB Russian Express, Moscow
Vladimir B. Grebenschikov, [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: /usr/games/wtf

2001-08-21 Thread Ruslan Ermilov

On Tue, Aug 21, 2001 at 01:03:11PM +0700, Max Khon wrote:
 hi, there!
 
 I would like to add /usr/games/wtf from NetBSD to base system.
 Any opinions/objections?
 
FWIW, I don't like its name.  :-)


Cheers,
-- 
Ruslan Ermilov  Oracle Developer/DBA,
[EMAIL PROTECTED]   Sunbay Software AG,
[EMAIL PROTECTED]  FreeBSD committer,
+380.652.512.251Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: /usr/games/wtf

2001-08-21 Thread Max Khon

hi, there!

  I would like to add /usr/games/wtf from NetBSD to base system.
  Any opinions/objections?
 
 wtf is it?

NAME
 wtf - translates acronyms for you

SYNOPSIS
 wtf [is] acronym ...

husky:~$wtf is pola
POLA: principle of least astonishment
husky:~$

/fjoe

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Panic on 8/10 -current: sleeping process owns a mutex

2001-08-21 Thread Ian Dowse

In message [EMAIL PROTECTED], Doug Barton writes:
Immediately prior to the crash I was getting a lot of these on the console:

Aug 12 01:00:52 kern.crit Master /boot/kernel/kernel:
/usr/local/src/sys/kern/kern_synch.c:377: sleeping with mountlist locke
d from /usr/local/src/sys/kern/vfs_syscalls.c:548

This should be fixed by revision 1.198 of vfs_syscalls.c. It could
only occur during unmount(), which is why it didn't show up more
often:

iedowse 2001/08/20 12:16:31 PDT

  Modified files:
sys/kern vfs_syscalls.c 
  Log:
  Avoid sleeping while holding a mutex in dounmount(). This problem
  has existed for a long time, but I made it worse a few months ago
  by by adding calls to VFS_ROOT() and checkdirs() in revision 1.179.
  
  Also, remove the LK_REENABLE flag in the lockmgr() call; this flag
  has been ignored by the lockmgr code for 4 years. This was the only
  remaining mention of it apart from its definition.
  
  Reviewed by:  jhb

Ian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Copyright Contradiction in libalias

2001-08-21 Thread Thomas T. Veldhouse



 Well since copyright was abandoned (being placed into the public domain is
 abandonment of copyright), the changed file can be copyrighted by whomever
 makes changes. The new file is then covered by the license from that point
 forward.


Copyright is certainly not abaondoned when you place something in the public
domain.  Your rights vary depending upon the license you choose, but you
certainly do NOT lose your copyright.  If you are the author of a piece of
software and you release the code to public domain, you still have the right
to sell the same code under a different license as well.  So, if Microsoft
decides they want your software without the existing license (public domain)
you can relicense it to them for a fee under whatever terms you want, and
they must deal with you on it because of the copyright that you hold.

Tom Veldhouse
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: /usr/games/wtf

2001-08-21 Thread Paul Richards

--On Tuesday, August 21, 2001 14:18:19 +0700 Max Khon [EMAIL PROTECTED]
wrote:

 hi, there!
 
  I would like to add /usr/games/wtf from NetBSD to base system.
  Any opinions/objections?
 
 wtf is it?
 
 NAME
  wtf - translates acronyms for you
 
 SYNOPSIS
  wtf [is] acronym ...
 
 husky:~$wtf is pola
 POLA: principle of least astonishment
 husky:~$

I can't see any benefits to having this in the base system.

Make it a port instead.

Paul Richards
FreeBSD Services Ltd

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: /usr/games/wtf

2001-08-21 Thread Alexander Goller

Hi, 

On Tue, Aug 21, 2001 at 02:18:19PM +0700, Max Khon wrote:
 SYNOPSIS
  wtf [is] acronym ...
 
 husky:~$wtf is pola
 POLA: principle of least astonishment
 husky:~$

There's also /usr/ports/misc/acron iirc.

bye, alex

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: libss termination

2001-08-21 Thread Terry Lambert

Mark Murray wrote:
 
  
   As far as I can tell, there's nothing in the tree which uses libss any
   longer, and hasnt been for quite some time.  Is there any reason to
   keep it?
 
  Nope.
 
 Right. Kill it.

Are there any ports which depnd on it, and thus assume it's
in the base system, which will need to be hacked to have a
libss port on which they will need to depend?

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: libss termination

2001-08-21 Thread Peter Wemm

Terry Lambert wrote:
 Mark Murray wrote:
  
   
As far as I can tell, there's nothing in the tree which uses libss any
longer, and hasnt been for quite some time.  Is there any reason to
keep it?
  
   Nope.
  
  Right. Kill it.
 
 Are there any ports which depnd on it, and thus assume it's
 in the base system, which will need to be hacked to have a
 libss port on which they will need to depend?
 
 -- Terry

Well, why not have a look and find out?  If so, supplying a list
is more productive than making somebody else go and look for you.

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
All of this is for nothing if we don't go to the stars - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: libss termination

2001-08-21 Thread Terry Lambert

Peter Wemm wrote:
 As far as I can tell, there's nothing in the tree which uses
 libss any longer, and hasnt been for quite some time.  Is
 there any reason to keep it?
   
Nope.
  
   Right. Kill it.
 
  Are there any ports which depnd on it, and thus assume it's
  in the base system, which will need to be hacked to have a
  libss port on which they will need to depend?
 
 Well, why not have a look and find out?  If so, supplying a list
 is more productive than making somebody else go and look for you.

It's not as easy as you paint it, since there are a lot
of things that run config scripts and just magically
find all sorts of libraries you never knew you had.

It'd be a heck of a lot easier, if it were possible to
force everything to link shared, which would show in an
ldd of all the binaries in all the packages, but that
would still leave some stuff out.  I don't think there's
an easy way to deal with testing this sort of thing, if
you don't have a full ftp.freebsd.org mirror, with the
ability to build each and every port after deleting the
library and header files locally.

I just asked mostly because I'm not the person diking it
out without having checked first, and I remember the last
time something like this went wrong...

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: QT23 not building

2001-08-21 Thread Kenneth Wayne Culver

You are building from the ports tree right? Did you check to make sure you
have The include path and library path for OpenGL libraries in the QT
Makefile?

On Tue, 21 Aug 2001, Salvo Bartolotta wrote:

 Dear FreeBSD'ers,
 
 I am running -CURRENT as of August 18, 2001 -- yet another entry in the 
 -current userbase, BTW.
 
 I am using XFree4 and my /etc/make.conf contains the required XFree86 version 
 string.
 
 Qt23 will NOT build. It dies here:
 
 
 gmake[2]: Leaving directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/tools'
 gmake[1]: Leaving directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/tools'
 
 The Qt library is now built in ./lib
 The Qt examples are built in the directories in ./examples
 The Qt tutorials are built in the directories in ./tutorial
 
 Note: be sure to set $QTDIR to point to here or to wherever
   you move these directories.
 
 Enjoy!   - the Trolltech team
 
 (cd /usr/ports/x11-toolkits/qt23/work/qt-2.3.1/src  /usr/bin/env 
 QTDIR=/usr/ports/x11-toolkits/qt23/work/qt-2.3.1 
 LD_LIBRARY_PATH=/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/lib 
 PORTOBJFORMAT=elf PREFIX=/usr/X11R6 LOCALBASE=/usr/local X11BASE=/usr/X11R6 
 MOTIFLIB=-L/usr/X11R6/lib -lXm -lXp LIBDIR=/usr/lib CFLAGS=-O -pipe 
 -march=pentiumpro CXXFLAGS= -O -pipe -march=pentiumpro 
 BSD_INSTALL_PROGRAM=install -c -s -o root -g wheel -m 555  
 BSD_INSTALL_SCRIPT=install -c -o root -g wheel -m 555  
 BSD_INSTALL_DATA=install -c -o root -g wheel -m 444  
 BSD_INSTALL_MAN=install -c -o root -g wheel -m 444 gmake -f Makefile  
 opengl/qgl.o opengl/qgl_x11.o opengl/moc_qgl.o)
 c++  -c -I/usr/X11R6/include 
 -I/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/include -pthread -D_THREAD_SAFE 
 -I/usr/X11R6/include -DQT_PREFIX=\/usr/X11R6\ -pipe -O -fno-exceptions  -O 
 -pipe -march=pentiumpro -I/usr/include -D_PTH_H_ -D_PTH_PTHREAD_H_ 
 -frerun-cse-after-loop -fPIC -DQT_BUILTIN_GIF_READER=1 -DQT_XFT 
 -fno-exceptions  -I/usr/local/include  -o opengl/qgl.o opengl/qgl.cpp
 In file included from opengl/qgl.cpp:38:
 opengl/qgl.h:63: GL/gl.h: No such file or directory
 opengl/qgl.h:64: GL/glu.h: No such file or directory
 opengl/qgl.cpp: In method `void QGLWidget::glDraw()':
 opengl/qgl.cpp:1604: `GL_FRONT_LEFT' undeclared (first use this function)
 opengl/qgl.cpp:1604: (Each undeclared identifier is reported only once
 opengl/qgl.cpp:1604: for each function it appears in.)
 opengl/qgl.cpp:1604: implicit declaration of function `int glDrawBuffer(...)'
 opengl/qgl.cpp:1616: implicit declaration of function `int glFlush(...)'
 opengl/qgl.cpp: In method `void QGLWidget::qglColor(const QColor ) const':
 opengl/qgl.cpp:1634: implicit declaration of function `int glColor3ub(...)'
 opengl/qgl.cpp:1636: implicit declaration of function `int glIndexi(...)'
 opengl/qgl.cpp: In method `void QGLWidget::qglClearColor(const QColor ) 
 const':
 opengl/qgl.cpp:1654: `GLfloat' undeclared (first use this function)
 opengl/qgl.cpp:1654: syntax error before `.'
 opengl/qgl.cpp:1659: confused by earlier errors, bailing out
 gmake: *** [opengl/qgl.o] Error 1
 *** Error code 2
 
 Stop in /usr/ports/x11-toolkits/qt23.
 *** Error code 1
 
 Stop in /usr/ports/x11-toolkits/qt23.
 *** Error code 1
 
 Stop in /usr/ports/x11-toolkits/qt23.
 *** Error code 1
 
 Stop in /usr/ports/x11-toolkits/qt23.
 
 
 
 The archives (-questions, -current, -ports) seem to contain other complaints. 
 
 Is qt supposed to build with XFree86-4 under -CURRENT? What am I missing ?
 
 -- Salvo (If I've missed something rivial, many apologies for the noise)
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-current in the body of the message
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Panic with latest current/UFS_DIRHASH

2001-08-21 Thread Ollivier Robert

Just upgraded my laptop to the latest current and during installworld, got
this panic:

panic: ufsdirhash_findslot: 'ka_JP.Shift_JIS' not found
db trace
Debugger
panic
ufsdirhash_findslot
ufsdirhash_move
ufs_direnter
ufs_makeinode
ufs_symlink
ufs_vnoperate
symlink
syscall
syscall_with_err_pushed

I don't have anough space for a core dump though :-(

Any idea ? Ian ?
-- 
Ollivier ROBERT  -=-  Eurocontrol EEC/ITM  -=-  [EMAIL PROTECTED]
FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT #46: Wed Jan  3 15:52:00 CET 2001

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Panic with latest current/UFS_DIRHASH

2001-08-21 Thread Ollivier Robert

According to Ollivier Robert:
 Just upgraded my laptop to the latest current and during installworld, got
 this panic:
 
 panic: ufsdirhash_findslot: 'ka_JP.Shift_JIS' not found
 db trace
 Debugger
 panic
 ufsdirhash_findslot
 ufsdirhash_move
 ufs_direnter
 ufs_makeinode
 ufs_symlink
 ufs_vnoperate
 symlink
 syscall
 syscall_with_err_pushed

The interesting thing is that I also get that with my old 17th Jul.
kernel... except that the panic message is 

ufsdirhash_checkblock: bad dir inode

It is always in the following part of installworld:

/usr/src/etc/Makefile:

cd ${DESTDIR}/usr/share/locale; \
set - `grep ^[a-zA-Z] ${.CURDIR}/locale.alias`; \
while [ $$# -gt 0 ] ; \
do \
rm -rf $$1; \
ln -s $$2 $$1; \
shift; shift; \
done

I'll try disabling UFS_DIRHASH.

I have softupdates on all partitions EXCEPT /.

-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- [EMAIL PROTECTED]
FreeBSD keltia.freenix.fr 5.0-CURRENT #80: Sun Jun  4 22:44:19 CEST 2000

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: is 'suspend' broken in CURRENT?

2001-08-21 Thread Ollivier Robert

According to Vladimir B. Grebenschikov:
 When I was running RELENG_4 my vaio z505s allways successful awake
 from hibernation, and with probability about 30% freezes after awake
 from suspend. Now (with -CURRENT) it always freezes after awake from
 suspend, and often freezes after awake from hibernation.

Weird, although I have some UFS_DIRHASH problems, suspend still work on my
older Z505SX laptop...
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- [EMAIL PROTECTED]
FreeBSD keltia.freenix.fr 5.0-CURRENT #80: Sun Jun  4 22:44:19 CEST 2000

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: /usr/games/wtf

2001-08-21 Thread Laurence Berland

wtf knows what acronyms are

so you type wtf wtf and it tells you...

or you're just messing with him... I can't tell...

On Mon, 20 Aug 2001, Kris Kennaway wrote:

 On Tue, Aug 21, 2001 at 01:03:11PM +0700, Max Khon wrote:
  hi, there!
  
  I would like to add /usr/games/wtf from NetBSD to base system.
  Any opinions/objections?
 
 wtf is it?
 
 Kris
 

Laurence Berland
http://www.isp.northwestern.edu


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: /usr/games/wtf

2001-08-21 Thread scanner


 I can't see any benefits to having this in the base system.
 
 Make it a port instead.

Oh and /usr/games/wargames is such a huge benefit? By that logic all of
/usr/games belong as ports. Which I wont argue with at all.

=
-Chris Watson (316) 326-3862 | Sr. Unix Administrator 
Work:   [EMAIL PROTECTED] | Trans World Airlines, Kansas City, MO
Home:  [EMAIL PROTECTED] | http://www.twa.com
=
WINDOWS: Where do you want to go today?
LINUX: Where do you want to go tomorrow?
BSD: Are you guys coming or what?
=
irc.openprojects.net #FreeBSD -Join the revolution!
ICQ: 20016186


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: /usr/games/wtf

2001-08-21 Thread Paul Richards

--On Tuesday, August 21, 2001 11:37:47 -0400 [EMAIL PROTECTED] wrote:

 
 I can't see any benefits to having this in the base system.
 
 Make it a port instead.
 
 Oh and /usr/games/wargames is such a huge benefit? By that logic all of
 /usr/games belong as ports. Which I wont argue with at all.

Neither will I :-)


Paul Richards
FreeBSD Services Ltd

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Panic with latest current/UFS_DIRHASH

2001-08-21 Thread Ian Dowse

In message [EMAIL PROTECTED], Ollivier Robert writes:

The interesting thing is that I also get that with my old 17th Jul.
kernel... except that the panic message is 

ufsdirhash_checkblock: bad dir inode

It is always in the following part of installworld:

That's interesting - the bad dir inode bit in particular. I'll
look into this in more detail later. My first guess is that there
is a logic flaw in the dirhash code that only triggers when dirhash
comes across a directory entry that has had its inode zeroed by
fsck.

The kernel filsystem code only ever places unused directory entries
at the start of a directory block (free space that is not at the
start of a block is merged into an exesting entry). However, fsck
can mark any entry as unused, resulting in the unfortunate situation
that fsck can put the filesystem into a state that cannot be produced
by any combination of kernel filesystem operations. That introduces
quite some potential for obscure bugs that only occur after an fsck
run...

Ian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Copyright Contradiction in libalias

2001-08-21 Thread Crist J. Clark

On Tue, Aug 21, 2001 at 08:14:59AM -0500, Thomas T. Veldhouse wrote:
 
 
  Well since copyright was abandoned (being placed into the public domain is
  abandonment of copyright), the changed file can be copyrighted by whomever
  makes changes. The new file is then covered by the license from that point
  forward.
 
 
 Copyright is certainly not abaondoned when you place something in the public
 domain.  Your rights vary depending upon the license you choose,

You can't chose a license for something put in the public
domain. Putting something in the public domain implies that anyone can
do whatever they want with it. You can't put it in the public domain
_and_ place restrictions on its use.

 but you
 certainly do NOT lose your copyright.

You've just given everyone permission to do whatever they want with
the material. You do lose your copyright in the sense that you no
longer have any legal recourse to prevent people from doing whatever
they want with the work.

 If you are the author of a piece of
 software and you release the code to public domain, you still have the right
 to sell the same code under a different license as well.

But anyone else can sell the code under any license they want too.

 So, if Microsoft
 decides they want your software without the existing license (public domain)
 you can relicense it to them for a fee under whatever terms you want, and
 they must deal with you on it because of the copyright that you hold.

No, they don't have to deal with you. MS can license code in the
public domain however they like. They need not consult you at all.
-- 
Crist J. Clark   [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Sound broken on -current again...

2001-08-21 Thread Maxim Sobolev

Maxim Sobolev wrote:

 John Baldwin wrote:

   The same is here (OPL3-SA driver on Toshiba Satellite Pro 445CDX notebook).
   I found that after reverting the following deltas (jhb's 10 August commit)
   sound starts working again:
 
  That's a rather large commit.  Is this the ast() fixup?  Is the process that
  has the sound device open hung?  Is it stuck in a wait channel?  If so, can you
  do a ps and find the wait channel?  Is it chewing up large amounts of CPU time?
  Has it exited with a signal?

 Somebody tracked it down to kern_synch.c,v 1.154 and I'm confirming that reverting
 this delta indeed fixes the problem. The process in question hangs and doesn't
 respond to any signals (SIGKILL included). Following is the relevant piece of `ps
 axl' output:

   UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT   TIME COMMAND
 0   275   267   0  -8  0 41496  212 -  R+v00:00,74 madplay /cdr

 Please note that even though madplay above is in the `RUN' state it doesn't consume
 any CPU time.

 Please let me know if any additional information would be necessary.

FYI: the same problem affects another my -current machine with sb16 card, with exactly
the same symptoms, i.e. I hear 0.5 second or so of audio, then it halts and process
hangs in the RUN state not responding to signals.

-Maxim


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



problems while compiling kernel

2001-08-21 Thread oleg dashevskii

Hallo,

Well I'm upgrading my 4-STABLE box up to 5.0-CURRENT...
cvsup and make buildworld were successful, as opposed to make
buildkernel, which issues:

[skipped]
linking kernel
kbd.o: In function `kbd_register':
kbd.o(.text+0x351): undefined reference to `__start_set_kbddriver_set'
kbd.o(.text+0x357): undefined reference to `__stop_set_kbddriver_set'
kbd.o(.text+0x37d): undefined reference to `__stop_set_kbddriver_set'
kbd.o: In function `kbd_get_switch':
kbd.o(.text+0x44f): undefined reference to `__start_set_kbddriver_set'
kbd.o(.text+0x455): undefined reference to `__stop_set_kbddriver_set'
kbd.o(.text+0x479): undefined reference to `__stop_set_kbddriver_set'
kbd.o: In function `kbd_configure':
kbd.o(.text+0x6ce): undefined reference to `__start_set_kbddriver_set'
kbd.o(.text+0x6d4): undefined reference to `__stop_set_kbddriver_set'
kbd.o(.text+0x6f2): undefined reference to `__stop_set_kbddriver_set'

What's the problem?

/be9

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



[PATCH] Fix for hanging sound

2001-08-21 Thread John Baldwin

There is a bug in the msleep/endtsleep race workaround.  Please test the patch
at http://www.FreeBSD.org/~jhb/patches/timeout.patch

Index: kern/kern_condvar.c
===
RCS file: /usr/cvs/src/sys/kern/kern_condvar.c,v
retrieving revision 1.11
diff -u -r1.11 kern_condvar.c
--- kern/kern_condvar.c 2001/07/06 01:16:42 1.11
+++ kern/kern_condvar.c 2001/08/21 17:57:08
@@ -345,8 +345,17 @@
if (p-p_sflag  PS_TIMEOUT) {
p-p_sflag = ~PS_TIMEOUT;
rval = EWOULDBLOCK;
-   } else
-   callout_stop(p-p_slpcallout);
+   } else if (p-p_sflag  PS_TIMOFAIL)
+   p-p_sflag = ~PS_TIMOFAIL;
+   } else if (callout_stop(p-p_slpcallout) == 0) {
+   /*
+* Work around race with cv_timedwait_end similar to that
+* between msleep and endtsleep.
+*/
+   p-p_sflag |= PS_TIMEOUT;
+   p-p_stats-p_ru.ru_nivcsw++;
+   mi_switch();
+   }
 
mtx_unlock_spin(sched_lock);
 #ifdef KTRACE
@@ -407,8 +416,17 @@
if (p-p_sflag  PS_TIMEOUT) {
p-p_sflag = ~PS_TIMEOUT;
rval = EWOULDBLOCK;
-   } else
-   callout_stop(p-p_slpcallout);
+   } else if (p-p_sflag  PS_TIMOFAIL)
+   p-p_sflag = ~PS_TIMOFAIL;
+   } else if (callout_stop(p-p_slpcallout) == 0) {
+   /*
+* Work around race with cv_timedwait_end similar to that
+* between msleep and endtsleep.
+*/
+   p-p_sflag |= PS_TIMEOUT;
+   p-p_stats-p_ru.ru_nivcsw++;
+   mi_switch();
+   }
 
mtx_unlock_spin(sched_lock);
PICKUP_GIANT();
@@ -538,12 +556,16 @@
CTR3(KTR_PROC, cv_timedwait_end: proc %p (pid %d, %s), p, p-p_pid,
p-p_comm);
mtx_lock_spin(sched_lock);
-   if (p-p_wchan != NULL) {
+   if (p-p_sflag  PS_TIMEOUT) {
+   p-p_sflag = ~PS_TIMEOUT;
+   setrunqueue(p);
+   } else if (p-p_wchan != NULL) {
if (p-p_stat == SSLEEP)
setrunnable(p);
else
cv_waitq_remove(p);
p-p_sflag |= PS_TIMEOUT;
-   }
+   } else
+   p-p_sflag |= PS_TIMOFAIL;
mtx_unlock_spin(sched_lock);
 }
Index: kern/kern_synch.c
===
RCS file: /usr/cvs/src/sys/kern/kern_synch.c,v
retrieving revision 1.155
diff -u -r1.155 kern_synch.c
--- kern/kern_synch.c   2001/08/10 22:53:28 1.155
+++ kern/kern_synch.c   2001/08/21 17:57:08
@@ -451,6 +455,8 @@
p-p_sflag = ~PS_TIMEOUT;
if (sig == 0)
rval = EWOULDBLOCK;
+   } else if (p-p_sflag  PS_TIMOFAIL)
+   p-p_sflag = ~PS_TIMOFAIL;
} else if (timo  callout_stop(p-p_slpcallout) == 0) {
/*
 * This isn't supposed to be pretty.  If we are here, then
@@ -524,7 +530,8 @@
else
unsleep(p);
p-p_sflag |= PS_TIMEOUT;
-   }
+   } else
+   p-p_sflag |= PS_TIMOFAIL;
mtx_unlock_spin(sched_lock);
 }
 
Index: sys/proc.h
===
RCS file: /usr/cvs/src/sys/sys/proc.h,v
retrieving revision 1.174
diff -u -r1.174 proc.h
--- sys/proc.h  2001/08/10 22:53:32 1.174
+++ sys/proc.h  2001/08/21 17:57:08
@@ -321,6 +321,7 @@
 #definePS_SWAPPING 0x00200 /* Process is being swapped. */
 #definePS_ASTPENDING   0x00400 /* Process has a pending ast. */
 #definePS_NEEDRESCHED  0x00800 /* Process needs to yield. */
+#definePS_TIMOFAIL 0x01000 /* Timeout from sleep after we were
awake. */
 
 #defineP_MAGIC 0xbeefface
 


-- 

John Baldwin [EMAIL PROTECTED] -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: [acpi-jp 1221] Re: question about acpi sleep.

2001-08-21 Thread Mitsuru IWASAKI

Hi,

  IWASAKI-san wrote:
  I think your NotePC doesn't have _S1_ object in ACPI data block.
  Plese check `acpidump | grep _S1' to see if _S1_ object is there.
 
 No, there isn't _S1_ object.

Yup, it has only S0, S3, S4 and S5.  No S1 on your NotePC.

  Maybe yours has other _Sx_ object (such as _S3_ for Sleep State 3,
  meaning suspend in APM term).
  And could you send us acpidump output from PCG-C1VSX/K? 
 
 I attach those.
 Now acpiconf -s 3 doesn't work well. After resume,
 LCD doesn't recover, but Ctrl-Alt-Delete does shutdown.
 (Doesn't reboot, so I had to press power button after that.)
 I also attach related log.

Thanks.
Hmmm, _WAK method checks OS type (in CKOS method) and skips calling
PHS(0xe1).  I suspect that this is needed to be done after wakeup.
i.e. the OS which have `FreeBSD' as ACPI_OS_NAME might have problems
on your NotePC's ACPI.

Try running `amldb PCG-C1VSXK.dsdt' to see what happen on Windows NT...
# Yes, amldb has string Microsoft Windows NT in _OS_ object for this
# purpose :-)

Thanks

P.S.
I've found another problem; RTC interrupts are disabled after wakeup
on some machines.  And statclock() never be called after that.  I hope
I can fix this soon.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



RE: [PATCH] Fix for hanging sound

2001-08-21 Thread John Baldwin


On 21-Aug-01 John Baldwin wrote:
 There is a bug in the msleep/endtsleep race workaround.  Please test the
 patch
 at http://www.FreeBSD.org/~jhb/patches/timeout.patch

Grrr, this patch doesn't compile.  I've updated the patch at the URL.

-- 

John Baldwin [EMAIL PROTECTED] -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: libss termination

2001-08-21 Thread Kris Kennaway

On Tue, Aug 21, 2001 at 06:12:58AM -0700, Terry Lambert wrote:
 Peter Wemm wrote:
  As far as I can tell, there's nothing in the tree which uses
  libss any longer, and hasnt been for quite some time.  Is
  there any reason to keep it?

 Nope.
   
Right. Kill it.
  
   Are there any ports which depnd on it, and thus assume it's
   in the base system, which will need to be hacked to have a
   libss port on which they will need to depend?
  
  Well, why not have a look and find out?  If so, supplying a list
  is more productive than making somebody else go and look for you.
 
 It's not as easy as you paint it, since there are a lot
 of things that run config scripts and just magically
 find all sorts of libraries you never knew you had.
 
 It'd be a heck of a lot easier, if it were possible to
 force everything to link shared, which would show in an
 ldd of all the binaries in all the packages, but that
 would still leave some stuff out.  I don't think there's
 an easy way to deal with testing this sort of thing, if
 you don't have a full ftp.freebsd.org mirror, with the
 ability to build each and every port after deleting the
 library and header files locally.
 
 I just asked mostly because I'm not the person diking it
 out without having checked first, and I remember the last
 time something like this went wrong...

It's no big deal, Terry.  If bento turns up packages which are
breaking because they expect libss, then I'll either fix them, or if
it's a hard dependency then I'll import libss as a port.

Kris

 PGP signature


Re: Disk I/O problems with -current.

2001-08-21 Thread Kris Kennaway

On Mon, Aug 20, 2001 at 11:52:07AM +0100, Josef Karthauser wrote:
 I'm having strange problems with -current on a laptop with 64mb of
 memory.  Periodically things go strange [tm].
 
 Because of the lack of memory I'm using a fair amount of swap.
 
 Everything runs smoothly up until a point, which seems to depend upon
 not running too many large processes for too long.  Then the file system
 grinds to a halt for seconds at a time.  Some processes run, and others
 just hang.

Yes, I see almost exactly the same thing (except that I haven't
noticed any processes which stay running during the freeze -- things
like keyboard and mouse activity in X or the console always freeze).
Mine could well be swap related too, though I have 128MB of memory.

I really think developers should be made to run -current on an old,
slow, crippled machines so they notice this kind of thing which would
be lost in the noise on their fast machines :-)

Kris

 PGP signature


Re: /usr/games/wtf

2001-08-21 Thread Brandon D. Valentine

On Tue, 21 Aug 2001 [EMAIL PROTECTED] wrote:

 I can't see any benefits to having this in the base system.

 Make it a port instead.

Oh and /usr/games/wargames is such a huge benefit? By that logic all of
/usr/games belong as ports. Which I wont argue with at all.

I would argue with taking /usr/games/fortune out of the base system
though.  I am quite annoyed when I sit down in front of one of my
commercial unix boxen only to find the vendor has decided to leave
fortune off of the box.  =)

-- 
Never put off until tomorrow what you can do today.  There might be a
law against it by that time.   -- /usr/games/fortune, 07/30/2001

Brandon D. Valentine bandix at looksharp.net


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Copyright Contradiction in libalias

2001-08-21 Thread Giorgos Keramidas

From: Crist J. Clark [EMAIL PROTECTED]
Subject: Re: Copyright Contradiction in libalias
Date: Tue, Aug 21, 2001 at 11:40:20AM -0700

 On Tue, Aug 21, 2001 at 08:14:59AM -0500, Thomas T. Veldhouse wrote:
 
  So, if Microsoft
  decides they want your software without the existing license (public domain)
  you can relicense it to them for a fee under whatever terms you want, and
  they must deal with you on it because of the copyright that you hold.
 
 No, they don't have to deal with you. MS can license code in the
 public domain however they like. They need not consult you at all.

But can someone that did not know about the `public domain' state of
the program accuse you, tha author, later on that you 'cheated' on
him, if you do ask for money when they come to you and ask that they
`buy' the source?

I am not a lawyer, and I am probably mistaken here, but if someone
wants to pay me for a program, even if the program has been released
by me to the public domain, I think I will not refuse their money.
Of course, being the stupid^W ethical guy I am, I will note that the
program is public domain, and if they still want to buy it, then I
won't refuse selling it.

-giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Copyright Contradiction in libalias

2001-08-21 Thread Crist J. Clark

On Tue, Aug 21, 2001 at 11:18:41PM +0300, Giorgos Keramidas wrote:
 From: Crist J. Clark [EMAIL PROTECTED]
 Subject: Re: Copyright Contradiction in libalias
 Date: Tue, Aug 21, 2001 at 11:40:20AM -0700
 
  On Tue, Aug 21, 2001 at 08:14:59AM -0500, Thomas T. Veldhouse wrote:
  
   So, if Microsoft
   decides they want your software without the existing license (public domain)
   you can relicense it to them for a fee under whatever terms you want, and
   they must deal with you on it because of the copyright that you hold.
  
  No, they don't have to deal with you. MS can license code in the
  public domain however they like. They need not consult you at all.
 
 But can someone that did not know about the `public domain' state of
 the program accuse you, tha author, later on that you 'cheated' on
 him, if you do ask for money when they come to you and ask that they
 `buy' the source?

If you ever claimed to hold the copyright to software that has been
released into the public domain, you would be commiting fraud. You
would be vulnerable to whatever criminal or civil reprocusions that
result. That does not mean you can't sell something you do not own the
copyright too. If I have the only existing copy of some forgotten work
by Shakespeare, I could sell it however I want under any terms I
chose (licensing), but I cannot claim the copyright and be protected
by copyright law above and beyond what I put in my license. If someone
else finds a copy of it, I'm screwed.

 I am not a lawyer, and I am probably mistaken here, but if someone
 wants to pay me for a program, even if the program has been released
 by me to the public domain, I think I will not refuse their money.
 Of course, being the stupid^W ethical guy I am, I will note that the
 program is public domain, and if they still want to buy it, then I
 won't refuse selling it.

Feel free. I think people are confusing the concept of license and
copyright. They are two different things. FreeBSD can distribute
public domain code under any license it wants (provided the licensing
does not assume FreeBSD or someone else holds copyright to the
code). It cannot claim the copyright of public domain code. Public
domain is not a type of license. When a copyright owner puts
something in the public domain, they are giving up the copyright since
they have no recourse to stop anyone from doing _anything_ with the
material.

But again, IANAL. There are international copyright treaties, but laws
still do vary from nation to nation. YMMV.
-- 
Crist J. Clark   [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Copyright Contradiction in libalias

2001-08-21 Thread Nate Williams

 If you ever claimed to hold the copyright to software that has been
 released into the public domain, you would be commiting fraud.

Not if I'm the author of the software.

I can release my software under as many licenses as I'd like, including
putting it into the public domain.

However, I can't retroactively take away the rights of anyone who has
gotten my 'public domain' software.

That is all.  I can release the exact same code under a zillion
different licenses, but once it's released, the people who have gotten
it can do whatever the license they received it under with the software,
and if that means 'public domain', that means they can do just about
anything with it.

However, *I* (as the original author) can release the software to
someone else, and if they aren't aware of the other (potentially more
liberally licensed) versions, they can be perfectly happy with the
software I've given them.

As the original author, you never lose your rights to the software,
unless you assign your rights away to another entity, who knows has the
same rights as you normally have.  That means they can release it under
multiple licenses, 

This is why folks can release software under both the GPL and BSD
licenses, and folks who work for the government must release it as PD,
and afterward someone takes that software and modifies it again, and the
modified version is licensed another way.

 If I have the only existing copy of some forgotten work by
 Shakespeare, I could sell it however I want under any terms I chose
 (licensing), but I cannot claim the copyright and be protected by
 copyright law above and beyond what I put in my license. If someone
 else finds a copy of it, I'm screwed.

Again, you aren't the author, or you have not been assigned the rights
by the original author (or whomever owned the copyright at the time).
However, most authors still have their original rights to do whatever
they please with their software, regardless of how they've released
their software in the past.

Back to the original question, Charles Mott is the original author of
said code, and he can release his software under any license he so
pleases.  If someone has a copy of his software released under the PD
license, they are free to do with it as they please.  However, he can
*also* release a version under the BSD license (which he has), and that
version is now being distributed by FreeBSD.  This is all completely
free and legal, because Charles is within his legal rights to do so.




Nate

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Copyright Contradiction in libalias

2001-08-21 Thread Andrew Kenneth Milton

+---[ Nate Williams ]--
|  If you ever claimed to hold the copyright to software that has been
|  released into the public domain, you would be commiting fraud.
| 
| Not if I'm the author of the software.
| 
| I can release my software under as many licenses as I'd like, including
| putting it into the public domain.

Once it's in the Public Domain you have abandoned your claim to copyright.
That is the point of the Public Domain. If you still wish to retain the
copyright and the associated rights you cannot release it into the Public 
Domain.

| As the original author, you never lose your rights to the software,
| unless you assign your rights away to another entity, who knows has the

Or you abandon those rights by releasing it into the Public Domain.

| Back to the original question, Charles Mott is the original author of
| said code, and he can release his software under any license he so
| pleases.  If someone has a copy of his software released under the PD
| license, they are free to do with it as they please.  However, he can
| *also* release a version under the BSD license (which he has), and that
| version is now being distributed by FreeBSD.  This is all completely
| free and legal, because Charles is within his legal rights to do so.

The Public Domain is not a license, it is an abandonment of copyright.

If you find a piece of code, without a license attached, then copyright
law prevents you from copying, modifying or redistributing that code
(or book, or music) without written permission. A license removes 
restrictions that are granted by copyright law, typically Open Source 
licenses loosen the distribution, and modification restrictions, and 
disclaim the author(s) from liability.

Placing something into the public domain is abandoning your claim to 
copyright on that item, and there-after you have the same rights as everyone
else, or more to the point, everyone else has the same rights as you do
to that piece.

People don't understand the implications of releasing things into the
Public Domain, or understand what the Public Domain is. Licensed code is 
not in the Public Domain. Public Domain is not a description of Free/Open
items.

The GPL was born because Stallman got burnt by releasing a version of
emacs (I think) into the Public Domain. A company started selling it,
and RMS had no claim to any of the monies, nor could he stop them from
selling a binary only version of it (or selling it at all), nor could he
force them to acknowledge it was written by him. This may be apocryphal, 
but, it does spell out the consequences of releasing software into the 
Public Domain. Open Source Parable perhaps...

-- 
Totally Holistic Enterprises Internet|  | Andrew Milton
The Internet (Aust) Pty Ltd  |  |
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Copyright Contradiction in libalias

2001-08-21 Thread Crist J. Clark

On Tue, Aug 21, 2001 at 04:46:07PM -0600, Nate Williams wrote:
  If you ever claimed to hold the copyright to software that has been
  released into the public domain, you would be commiting fraud.
 
 Not if I'm the author of the software.
 
 I can release my software under as many licenses as I'd like, including
 putting it into the public domain.

Public domain is not a license agreement. You are retracting your
rights as a copyright holder when you put something in the public
domain.

 However, I can't retroactively take away the rights of anyone who has
 gotten my 'public domain' software.

You can't do anything. You have no more rights to the software than
anyone else does (except the ability to say you wrote it).

 That is all.  I can release the exact same code under a zillion
 different licenses, but once it's released, the people who have gotten
 it can do whatever the license they received it under with the software,
 and if that means 'public domain', that means they can do just about
 anything with it.

Again, putting something in the public domain is not a license
agreement, but the fact they can do anything with it is true.

 However, *I* (as the original author) can release the software to
 someone else, and if they aren't aware of the other (potentially more
 liberally licensed) versions, they can be perfectly happy with the
 software I've given them.

As can anyone else who gets their hands on the software.

 As the original author, you never lose your rights to the software,
 unless you assign your rights away to another entity, who knows has the
 same rights as you normally have.  That means they can release it under
 multiple licenses, 

Yes, the original author does lose his rights when the copyright
expires (which for things now-a-days only happens years after the
author dies) at which time the work becomes public domain or when the
author retracts his rights by explicitly placing the works in the
public domain.

 This is why folks can release software under both the GPL and BSD
 licenses, and folks who work for the government must release it as PD,
 and afterward someone takes that software and modifies it again, and the
 modified version is licensed another way.

Licensing has nothing to do with giving up a copyright. You can
release any software you want under any license and you still have
your copyright to the work. Again, placing something in the public
domain is NOT a type of licensing agreement. You are surrendering your
rights as the copyright holder.

Oh, and you mention the fine point that nothing produced by the US
Gov't is copyrighted.

  If I have the only existing copy of some forgotten work by
  Shakespeare, I could sell it however I want under any terms I chose
  (licensing), but I cannot claim the copyright and be protected by
  copyright law above and beyond what I put in my license. If someone
  else finds a copy of it, I'm screwed.
 
 Again, you aren't the author, or you have not been assigned the rights
 by the original author (or whomever owned the copyright at the time).
 However, most authors still have their original rights to do whatever
 they please with their software, regardless of how they've released
 their software in the past.

But I am trying to point out that for something in the public domain,
everyone has the same rights to use the work. The original author has
the same rights to it as anyone else.

 Back to the original question, Charles Mott is the original author of
 said code, and he can release his software under any license he so
 pleases.

So can FreeBSD with or without his consent since it is public domain
software.

 If someone has a copy of his software released under the PD
 license,

There is no PD license.

 they are free to do with it as they please.  However, he can
 *also* release a version under the BSD license (which he has), and that
 version is now being distributed by FreeBSD.  This is all completely
 free and legal, because Charles is within his legal rights to do so.

And so is FreeBSD. Strictly speaking, the license might need to be
slightly reworded for public domain software, but there is no reason
FreeBSD cannot add the license to any public domain software it has.

But IANAL, and this is all pretty pointless since no one is ever going
to really care about the legal status of these few files.
-- 
Crist J. Clark   [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



issue on STRIP make variable

2001-08-21 Thread Takanori Saneto
(I once tried to send this message which did not seem to reach to the
list, so I'm trying again. If you see this message twice, sorry for
it)

In article [EMAIL PROTECTED],
Takanori Saneto [EMAIL PROTECTED] wrote:
Hi, folks,

I think there is problem about the treatment of STRIP make variable.

I can't decide whether it is configuration problem, software bug, or
both.

Under current confguration, when DEBUG_FLAGS is defined (e.g. in
/etc/make.conf), build of ports/lang/ruby will fail as shown below:

"Makefile", line 77: Malformed conditional (${STRIP} == -s)
"Makefile", line 77: Need an operator
"Makefile", line 79: if-less endif
"Makefile", line 79: Need an operator
make: fatal errors encountered -- cannot continue

This is because:

1. In /usr/share/mk/bsd.prog.mk, if DEBUG_FLAGS is defined, STRIP will
   not be defined.

2. In /usr/ports/lang/ruby/Makefile, there is a conditional which
   refers STRIP as:

.if ${STRIP} == -s

3. and make will fail if a variable in conditional is not defined.


There could be couple solutions for this problem.

1. In bsd.prog.mk, always define STRIP (when DEBUG_FLAGS is defined,
   define STRIP as null).

2. In ruby's Makefile, change conditional to

.if defined(STRIP)  ${STRIP} == -s

3. or fix make so that it won't fail for undefined variable in
   conditional (i.e. treat it as if it had an empty value).

Any suggestions?
-- 
$B$5$M$r(B URL:mailto:[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message


Re: Copyright Contradiction in libalias

2001-08-21 Thread Nate Williams

 |  If you ever claimed to hold the copyright to software that has been
 |  released into the public domain, you would be commiting fraud.
 | 
 | Not if I'm the author of the software.
 | 
 | I can release my software under as many licenses as I'd like, including
 | putting it into the public domain.
 
 Once it's in the Public Domain you have abandoned your claim to copyright.

On that released version, yes.  But, not on subsuquent versions.  I
still maintain my rights to do with the code as I please.

 | As the original author, you never lose your rights to the software,
 | unless you assign your rights away to another entity, who knows has the
 
 Or you abandon those rights by releasing it into the Public Domain.

See above.

 | Back to the original question, Charles Mott is the original author of
 | said code, and he can release his software under any license he so
 | pleases.  If someone has a copy of his software released under the PD
 | license, they are free to do with it as they please.  However, he can
 | *also* release a version under the BSD license (which he has), and that
 | version is now being distributed by FreeBSD.  This is all completely
 | free and legal, because Charles is within his legal rights to do so.
 
 The Public Domain is not a license, it is an abandonment of copyright.

That's not how I understand it to be, from speaking with lawyers on it.

 If you find a piece of code, without a license attached, then copyright
 law prevents you from copying, modifying or redistributing that code
 (or book, or music) without written permission.

I believe this is part of the Berne Convention, no?  (And, it's not
necessarily agreed upon by *all* countries in the world, hence the
reason why certain companies explicity deny you to download software in
certain countries.  I believe Libya is one...)

 The GPL was born because Stallman got burnt by releasing a version of
 emacs (I think) into the Public Domain.

I don't believe it was PD code.  However, RMS never explicitly listed
the rights the users had, and another company took the software,
modified it, and started selling it as commercial software.  RMS still
had the rights on his original software, but he couldn't 'go back' and
take away the rights he had granted in his initial release, so he
couldn't stop the company from making money on 'his work'.

 I A company started selling it,
 and RMS had no claim to any of the monies, nor could he stop them from
 selling a binary only version of it (or selling it at all), nor could he
 force them to acknowledge it was written by him.

Actually, if I remember correctly, the company did acknowledge that he
wrote it, but that didn't help his cause.  (I actually got a catalog
from the company in question, but I can't remember the name offhand).

He was free to re-use the same software, and release it under a
different license for use in EMACS.  (I believe that EMACS still
contains some of the original LISP macros he initially developed, but
they are now under the GPL license.)



Nate

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Copyright Contradiction in libalias

2001-08-21 Thread Andrew Kenneth Milton

+---[ Nate Williams ]--
|  |  If you ever claimed to hold the copyright to software that has been
|  |  released into the public domain, you would be commiting fraud.
|  | 
|  | Not if I'm the author of the software.
|  | 
|  | I can release my software under as many licenses as I'd like, including
|  | putting it into the public domain.
|  
|  Once it's in the Public Domain you have abandoned your claim to copyright.
| 
| On that released version, yes.  But, not on subsuquent versions.  

Because you have now licensed Public Domain code, which has no restrictions. 
Not because you are the Author.

| I still maintain my rights to do with the code as I please.

Everyone has the rights you do. Everyone can take the Public Domain version
and modify it and release it under a new License.

|  | As the original author, you never lose your rights to the software,
|  | unless you assign your rights away to another entity, who knows has the
|  
|  Or you abandon those rights by releasing it into the Public Domain.
| 
| See above.

Ditto.

|  The Public Domain is not a license, it is an abandonment of copyright.
| 
| That's not how I understand it to be, from speaking with lawyers on it.

Then kindly point me to the Public Domain License, and I will happily
retract my statements.

| 
|  If you find a piece of code, without a license attached, then copyright
|  law prevents you from copying, modifying or redistributing that code
|  (or book, or music) without written permission.
| 
| I believe this is part of the Berne Convention, no?  (And, it's not
| necessarily agreed upon by *all* countries in the world, hence the
| reason why certain companies explicity deny you to download software in
| certain countries.  I believe Libya is one...)

I think that's a US thing related to sanctions (probably against crypto).

Berne Convention covers recognition of copyright between countries, if
you're in a country that doesn't recognise your copyright, whether it's 
explicitly or implicitly granted, your license isn't going to matter, nor
is some box telling you you're not allowed to download it.

Recognition of copyright is not the same thing. Once you agree something 
is copyrighted, then copyright laws apply, and those restrict duplication,
modification, and distribution (as well as others).

If it's in the Public Domain it's not copyrighted.

public domain n.   
The status of publications, products, and processes that are not protected 
under patent or copyright.

I don't see how your lawyer can dispute that.

-- 
Totally Holistic Enterprises Internet|  | Andrew Milton
The Internet (Aust) Pty Ltd  |  |
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



fsck setting d_ino == 0 (was Re: filesystem errors)

2001-08-21 Thread Ian Dowse

In message [EMAIL PROTECTED], Kirk McKusick writ
es:
FFS will never set a directory ino == 0 at a location other
than the first entry in a directory, but fsck will do so to
get rid of an unwanted entry. The readdir routines know to
skip over an ino == 0 entry no matter where in the directory
it is found, so applications will never see such entries.
It would be a fair amount of work to change fsck to `do the
right thing', as the checking code is given only the current
entry with which to work. I am of the opinion that you
should simply accept that mid-directory block ino == 0 is
acceptable rather than trying to `fix' the problem.

Bleh, well I guess not too surprisingly, there is a case in
ufs_direnter() (ufs_lookup.c) where the kernel does the wrong thing
when a mid-block entry has d_ino == 0. The result can be serious
directory corruption, and the bug has been there since the Lite/2
merge:

# fetch http://www.maths.tcd.ie/~iedowse/FreeBSD/dirbug_img.gz
Receiving dirbug_img.gz (6745 bytes): 100%
6745 bytes transferred in 0.0 seconds (4.69 MBps)
# gunzip dirbug_img.gz
# mdconfig -a -t vnode -f dirbug_img
md0
# fsck_ffs /dev/md0
** /dev/md0
** Last Mounted on /mnt
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
20 files, 1 used, 2638 free (14 frags, 328 blocks, 0.5% fragmentation)
# mount /dev/md0 /mnt
# touch /mnt/ff12
# umount /mnt
# fsck_ffs /dev/md0
** /dev/md0
** Last Mounted on /mnt
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
DIRECTORY CORRUPTED  I=2  OWNER=root MODE=40755
SIZE=512 MTIME=Aug 21 22:28 2001 
DIR=/

SALVAGE? [yn]

The bug is that when compressing directory blocks, the code trusts
the DIRSIZ() macro to calculate the amount of data to be bcopy'd
when moving a directory entry. If d_ino is zero, DIRSIZ() cannot
be trusted, so random bytes in unused portions of the directory
determine how much gets copied. I think it is very unlikely in
practice for the value returned by DIRSIZ() to be harmful, but fsck
certainly doesn't check it so this bug can be triggered after other
types of corruption have been repaired by fsck.

I just found this while looking for a dirhash bug - the dirhash
code didn't check for d_ino == 0 when compressing directories,
so it would freak when it couldn't find the entry to move. The
patch below should fix both these issues, and it makes it clearer
that DIRSIZ() is not used when d_ino == 0.

Any comments welcome. The patch is a bit larger than it needs to
be, but that directory compression code is so hard to understand
that I think it is worth clarifying it slightly :-)

Ian


Index: ufs_lookup.c
===
RCS file: /FreeBSD/FreeBSD-CVS/src/sys/ufs/ufs/ufs_lookup.c,v
retrieving revision 1.52
diff -u -r1.52 ufs_lookup.c
--- ufs_lookup.c2001/08/18 03:08:48 1.52
+++ ufs_lookup.c2001/08/21 23:59:09
@@ -869,26 +869,38 @@
 * dp-i_offset + dp-i_count would yield the space.
 */
ep = (struct direct *)dirbuf;
-   dsize = DIRSIZ(OFSFMT(dvp), ep);
+   dsize = ep-d_ino ? DIRSIZ(OFSFMT(dvp), ep) : 0;
spacefree = ep-d_reclen - dsize;
for (loc = ep-d_reclen; loc  dp-i_count; ) {
nep = (struct direct *)(dirbuf + loc);
-   if (ep-d_ino) {
-   /* trim the existing slot */
-   ep-d_reclen = dsize;
-   ep = (struct direct *)((char *)ep + dsize);
-   } else {
-   /* overwrite; nothing there; header is ours */
-   spacefree += dsize;
+
+   /* Trim the existing slot (NB: dsize may be zero). */
+   ep-d_reclen = dsize;
+   ep = (struct direct *)((char *)ep + dsize);
+
+   loc += nep-d_reclen;
+   if (nep-d_ino == 0) {
+   /*
+* A mid-block unused entry. Such entries are
+* never created by the kernel, but fsck_ffs
+* can create them (and it doesn't fix them).
+*
+* Add up the free space, and initialise the
+* relocated entry since we don't bcopy it.
+*/
+   spacefree += nep-d_reclen;
+   ep-d_ino = 0;
+   dsize = 0;
+   continue;
}
dsize = DIRSIZ(OFSFMT(dvp), nep);
spacefree += nep-d_reclen - dsize;
 #ifdef UFS_DIRHASH
if (dp-i_dirhash != NULL)
-   ufsdirhash_move(dp, nep, 

Re: Disk I/O problems with -current.

2001-08-21 Thread David W. Chapman Jr.

On Tue, Aug 21, 2001 at 12:54:35PM -0700, Kris Kennaway wrote:
 On Mon, Aug 20, 2001 at 11:52:07AM +0100, Josef Karthauser wrote:
  I'm having strange problems with -current on a laptop with 64mb of
  memory.  Periodically things go strange [tm].
  
  Because of the lack of memory I'm using a fair amount of swap.
  
  Everything runs smoothly up until a point, which seems to depend upon
  not running too many large processes for too long.  Then the file system
  grinds to a halt for seconds at a time.  Some processes run, and others
  just hang.
 
 Yes, I see almost exactly the same thing (except that I haven't
 noticed any processes which stay running during the freeze -- things
 like keyboard and mouse activity in X or the console always freeze).
 Mine could well be swap related too, though I have 128MB of memory.
 
 I really think developers should be made to run -current on an old,
 slow, crippled machines so they notice this kind of thing which would
 be lost in the noise on their fast machines :-)
 

Hrm, I'm even seeing this on my thunderbird 1100 with 256mb ram.  
Sometimes I even get a Bus I/O error when I try to do too much when 
this happens.  I have all kernel debugging options turned off, but I 
can turn them on if this is something you can debug with gdb.



-- 
David W. Chapman Jr.
[EMAIL PROTECTED]   Raintree Network Services, Inc. www.inethouston.net
[EMAIL PROTECTED]   FreeBSD Committer www.FreeBSD.org

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: libss termination

2001-08-21 Thread Wes Peters

Terry Lambert wrote:
 
 Peter Wemm wrote:
  
  As far as I can tell, there's nothing in the tree which uses
  libss any longer, and hasnt been for quite some time.  Is
  there any reason to keep it?

 Nope.
   
Right. Kill it.
  
   Are there any ports which depnd on it, and thus assume it's
   in the base system, which will need to be hacked to have a
   libss port on which they will need to depend?
 
  Well, why not have a look and find out?  If so, supplying a list
  is more productive than making somebody else go and look for you.
 
 It's not as easy as you paint it, since there are a lot
 of things that run config scripts and just magically
 find all sorts of libraries you never knew you had.

It should be pretty straightforward on the ports-building system; remove
libss and run the full-up ports build.

-- 
Where am I, and what am I doing in this handbasket?

Wes Peters Softweyr LLC
[EMAIL PROTECTED]   http://softweyr.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Disk I/O problems with -current.

2001-08-21 Thread Jim Bryant



Kris Kennaway wrote:

 On Mon, Aug 20, 2001 at 11:52:07AM +0100, Josef Karthauser wrote:
 
I'm having strange problems with -current on a laptop with 64mb of
memory.  Periodically things go strange [tm].

Because of the lack of memory I'm using a fair amount of swap.

Everything runs smoothly up until a point, which seems to depend upon
not running too many large processes for too long.  Then the file system
grinds to a halt for seconds at a time.  Some processes run, and others
just hang.

 
 Yes, I see almost exactly the same thing (except that I haven't
 noticed any processes which stay running during the freeze -- things
 like keyboard and mouse activity in X or the console always freeze).
 Mine could well be swap related too, though I have 128MB of memory.
 
 I really think developers should be made to run -current on an old,
 slow, crippled machines so they notice this kind of thing which would
 be lost in the noise on their fast machines :-)


I've also noticed this...  Sunday and yesterday, I deleted ALL installed -ports and 
-packages thinking that the meinproc issue with 
kde-2.2 was being caused by conflicts in libraries and/or include files [it's not 
either] on this system which has had about three 
years since a good clean scrubbing...

While I was busy recompiling the basics, I noted that the disk activity would stop, 
and the console become non-responsive, yet there 
was no panic or other kernel message.  This was happening consistantly for about 12 
hours or so, and I had to back down from 5 or 6 
parallel -ports compiles to one and two in parallel.

I also have noted that when switching VTY [by hand, or when exiting X] the system 
would panic on mwrite and give message about the 
possibility of buffers being wierded out POSSIBLY [the message was a question].

I also noted on several instances that the freezes would occur when there is heavy 
disk and CPU activity combined with network 
access [this may or may not be a contributing factor, I don't know] such as fetching a 
distribution file.

I have also noticed extreme slowness when disk activity occurs.  top will show almost 
no CPU being used, but when there is something 
being copied or moved, everything becomes REALLY sluggish.  This has only been noticed 
in kernels of the last month or so.

Tyan S1696-DLUA MoBo, 2 ATAPI busses in use 20G-pri-master, 12G-pri-slave, HP burner 
sec-master, 2 SCSI-UW busses in use ST15150W 
dedicated bus, NEC CD-ROM and HP DDS2 on second bus, LinkSys [dc0] 10/100 ethernet, 
DEC DEFPA SAS UTP-PMD, SB-Live!/Value, Hauppauge 
WinTV/Theatre.  dual P-II/333's, 512Megs SDRAM.  Matrox MGA-G200 AGP.  USB 
CompactFlash/SmartMedia reader.  -CURRENT as of 3am CDT 
today.

I noticed a lot of changes last night, especially in the vm code, and I'll wait and 
see if this fixes anything I've noted...  Man 
them cvsup servers were slow this morning!


jim
-- 
ET has one helluva sense of humor!
He's always anal-probing right-wing schizos!


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Panic with latest current/UFS_DIRHASH

2001-08-21 Thread Ian Dowse

In message [EMAIL PROTECTED], Ollivier Robert writes:
According to Ollivier Robert:
 Just upgraded my laptop to the latest current and during installworld, got
 this panic:
 
 panic: ufsdirhash_findslot: 'ka_JP.Shift_JIS' not found

Thanks for the bug report - see my other mail to -current for
further details, but the quick answer is that dirhash has a bug
that is triggered by the odd directory entries that fsck sometimes
leaves behind. This short patch should fix it:

Ian

Index: ufs_lookup.c
===
RCS file: /FreeBSD/FreeBSD-CVS/src/sys/ufs/ufs/ufs_lookup.c,v
retrieving revision 1.52
diff -u -r1.52 ufs_lookup.c
--- ufs_lookup.c2001/08/18 03:08:48 1.52
+++ ufs_lookup.c2001/08/22 00:27:17
@@ -884,7 +884,7 @@
dsize = DIRSIZ(OFSFMT(dvp), nep);
spacefree += nep-d_reclen - dsize;
 #ifdef UFS_DIRHASH
-   if (dp-i_dirhash != NULL)
+   if (dp-i_dirhash != NULL  nep-d_ino)
ufsdirhash_move(dp, nep, dp-i_offset + loc,
dp-i_offset + ((char *)ep - dirbuf));
 #endif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: syscons VTY switch panic...

2001-08-21 Thread Kazutaka YOKOTA

Do you by any chance use a VESA mode in text vtys?

The vesa module in -CURRENT has problems now. If you try to
set the VESA_800x600 mode in syscons, you will likely to
hang your machine. This is a known problem, and is somewhat
related to vm86 and context switching.  I am afraid there is
no immediate fix for it.

Kazu

I am getting this with regularity now.

The one time I was available to see the panic, I forgot to go into the debugge
r and do a traceback, but it had something to do with 
a mwrite, and had a line concerning [maybe a buffer is?]...

I know this isn't much to go on, but that's what I have.  I'll get more info w
hen I feel like wasting ten or fifteen minutes for a 
double-reboot...  [is it necessary to do the `shutdown -r now` to write a new 
entropy, or can we just keep going if it boots without 
the proper entropy?]...

I have pretty much isolated this to VTY switching via syscons.  Occasionally, 
it will leave the system speaker in a constant tone 
until it reboots.  This is very noticable then X exits.

jim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: syscons VTY switch panic...

2001-08-21 Thread Jim Bryant

Actually, I have tried to get the VESA splash thing going, but never can get anything 
to display...  I can try removing that...  I 
believe it is still set up this way...

What are the limitations on image size and color-depth for the boot splash thing?

Kazutaka YOKOTA wrote:

 Do you by any chance use a VESA mode in text vtys?
 
 The vesa module in -CURRENT has problems now. If you try to
 set the VESA_800x600 mode in syscons, you will likely to
 hang your machine. This is a known problem, and is somewhat
 related to vm86 and context switching.  I am afraid there is
 no immediate fix for it.
 
 Kazu
 
 
I am getting this with regularity now.

The one time I was available to see the panic, I forgot to go into the debugge
r and do a traceback, but it had something to do with 
a mwrite, and had a line concerning [maybe a buffer is?]...

I know this isn't much to go on, but that's what I have.  I'll get more info w
hen I feel like wasting ten or fifteen minutes for a 
double-reboot...  [is it necessary to do the `shutdown -r now` to write a new 
entropy, or can we just keep going if it boots without 
the proper entropy?]...

I have pretty much isolated this to VTY switching via syscons.  Occasionally, 
it will leave the system speaker in a constant tone 
until it reboots.  This is very noticable then X exits.

jim
-- 
ET has one helluva sense of humor!
He's always anal-probing right-wing schizos!


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Disk I/O problems with -current.

2001-08-21 Thread David W. Chapman Jr.

On Tue, Aug 21, 2001 at 05:42:55PM -0500, Jim Bryant wrote:
 
 
 Kris Kennaway wrote:
 
 On Mon, Aug 20, 2001 at 11:52:07AM +0100, Josef Karthauser wrote:
 
 I'm having strange problems with -current on a laptop with 64mb of
 memory.  Periodically things go strange [tm].
 
 Because of the lack of memory I'm using a fair amount of swap.
 
 Everything runs smoothly up until a point, which seems to depend upon
 not running too many large processes for too long.  Then the file system
 grinds to a halt for seconds at a time.  Some processes run, and others
 just hang.
 
 
 Yes, I see almost exactly the same thing (except that I haven't
 noticed any processes which stay running during the freeze -- things
 like keyboard and mouse activity in X or the console always freeze).
 Mine could well be swap related too, though I have 128MB of memory.
 
 I really think developers should be made to run -current on an old,
 slow, crippled machines so they notice this kind of thing which would
 be lost in the noise on their fast machines :-)
 
 
 I've also noticed this...  Sunday and yesterday, I deleted ALL installed 
 -ports and -packages thinking that the meinproc issue with kde-2.2 was being 
 caused by conflicts in libraries and/or include files [it's not either] on 
 this system which has had about three years since a good clean scrubbing...
 
 While I was busy recompiling the basics, I noted that the disk activity 
 would stop, and the console become non-responsive, yet there was no panic or 
 other kernel message.  This was happening consistantly for about 12 hours or 
 so, and I had to back down from 5 or 6 parallel -ports compiles to one and 
 two in parallel.
 
 I also have noted that when switching VTY [by hand, or when exiting X] the 
 system would panic on mwrite and give message about the possibility of 
 buffers being wierded out POSSIBLY [the message was a question].
 
 I also noted on several instances that the freezes would occur when there 
 is heavy disk and CPU activity combined with network access [this may or may 
 not be a contributing factor, I don't know] such as fetching a distribution 
 file.
 
 I have also noticed extreme slowness when disk activity occurs.  top will 
 show almost no CPU being used, but when there is something being copied or 
 moved, everything becomes REALLY sluggish.  This has only been noticed in 
 kernels of the last month or so.
 

3/4th's of these problems describe ones I am having.  I have a 
Gigabyte 7ZX w/ thunderbird 1100  256mb ram.  3c905b.  I'm running 
-current as of 1.5 weeks ago.  nvidia geforce DDR and sb 
128(onboard).  My drives are IDE w/ 1 cdrom and 1 scsi burner.

 Tyan S1696-DLUA MoBo, 2 ATAPI busses in use 20G-pri-master, 12G-pri-slave, 
 HP burner sec-master, 2 SCSI-UW busses in use ST15150W dedicated bus, NEC 
 CD-ROM and HP DDS2 on second bus, LinkSys [dc0] 10/100 ethernet, DEC DEFPA 
 SAS UTP-PMD, SB-Live!/Value, Hauppauge WinTV/Theatre.  dual P-II/333's, 
 512Megs SDRAM.  Matrox MGA-G200 AGP.  USB CompactFlash/SmartMedia reader.  
 -CURRENT as of 3am CDT today.
 
 I noticed a lot of changes last night, especially in the vm code, and I'll 
 wait and see if this fixes anything I've noted...  Man them cvsup servers 
 were slow this morning!
 
 
Please let me know, I'd definitely make world if this fixes those 
problems.  I'd be more than willing to test any patches anyone can 
think to send me.

-- 
David W. Chapman Jr.
[EMAIL PROTECTED]   Raintree Network Services, Inc. www.inethouston.net
[EMAIL PROTECTED]   FreeBSD Committer www.FreeBSD.org

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Userbase of -current

2001-08-21 Thread Jonathan Chen

On Sun, Aug 19, 2001 at 08:27:21AM -1000, Vincent Poy wrote:
  Or, simply unplug the harddrive from your laptop and plug it into another
  machine to do the install.  When I fubar'ed my laptop's fs not too long
  ago, I hot-plugged my laptop harddrive into my desktop, issued an
  atacontrol reinit, and proceeded to merrily run sysinstall under a
  chroot.  Of course, this is by no means the proper way, but it gets the
  job done...
 
   This idea will work since I can always use the notebook hDD with
 the adapter to the desktop but what does the atacontrol reinit do exactly
 since couldn't I just do a fresh install and just move the drive?

atacontrol allows for hot-swapping of ata devices. Don't worry about it if 
you just plan on installing the laptop drive and turning on the computer.  
It'll act like any other normal drive.

-Jon

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Adaptec 7899 on-board controller and 4.4-RC

2001-08-21 Thread Slawek Zak

I have 2 such controlers in a Dell 6400. Both did work on 4.3-STABLE,
updated about 4 weeks ago. After upgrade to 4.4-RC none of them is
detected during boot. Did the ahc driver `suffer' some dramatic
changes lately?

/S

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: syscons VTY switch panic...

2001-08-21 Thread Kazutaka YOKOTA

Would you please remove the vesa driver from the kernel and 
do not try loading the vesa module either, and see if things work?

Actually, I have tried to get the VESA splash thing going, but never can get a
nything to display...  I can try removing that...  I 
believe it is still set up this way...

What are the limitations on image size and color-depth for the boot splash thi
ng?

The image must have 256 colors. Its size must be 1024x768 or smaller.
If you don't have the vesa support in the kernel, the maximum size is
320x200.

Kazu

Kazutaka YOKOTA wrote:

 Do you by any chance use a VESA mode in text vtys?
 
 The vesa module in -CURRENT has problems now. If you try to
 set the VESA_800x600 mode in syscons, you will likely to
 hang your machine. This is a known problem, and is somewhat
 related to vm86 and context switching.  I am afraid there is
 no immediate fix for it.
 
 Kazu
 
 
I am getting this with regularity now.

The one time I was available to see the panic, I forgot to go into the debug
ge
r and do a traceback, but it had something to do with 
a mwrite, and had a line concerning [maybe a buffer is?]...

I know this isn't much to go on, but that's what I have.  I'll get more info
 w
hen I feel like wasting ten or fifteen minutes for a 
double-reboot...  [is it necessary to do the `shutdown -r now` to write a ne
w 
entropy, or can we just keep going if it boots without 
the proper entropy?]...

I have pretty much isolated this to VTY switching via syscons.  Occasionally
, 
it will leave the system speaker in a constant tone 
until it reboots.  This is very noticable then X exits.

jim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Copyright Contradiction in libalias

2001-08-21 Thread Warner Losh

In message [EMAIL PROTECTED] Nate Williams writes:
:  |  If you ever claimed to hold the copyright to software that has been
:  |  released into the public domain, you would be commiting fraud.
:  | 
:  | Not if I'm the author of the software.
:  | 
:  | I can release my software under as many licenses as I'd like, including
:  | putting it into the public domain.
:  
:  Once it's in the Public Domain you have abandoned your claim to copyright.
: 
: On that released version, yes.  But, not on subsuquent versions.  I
: still maintain my rights to do with the code as I please.

Then you are creating a new work, based on the public domain work that
went before it.

:  | As the original author, you never lose your rights to the software,
:  | unless you assign your rights away to another entity, who knows has the
:  
:  Or you abandon those rights by releasing it into the Public Domain.
: 
: See above.

But Andrew is right here.  You lose your rights to it when you
abandoned your copyright to place it in the public domain.  Public
Domain is a specific, legal term with legal consequences.  It means
you have no rights whatsoever to the work and others can do whatever
they like with the work.,

:  | Back to the original question, Charles Mott is the original author of
:  | said code, and he can release his software under any license he so
:  | pleases.  If someone has a copy of his software released under the PD
:  | license, they are free to do with it as they please.  However, he can
:  | *also* release a version under the BSD license (which he has), and that
:  | version is now being distributed by FreeBSD.  This is all completely
:  | free and legal, because Charles is within his legal rights to do so.
:  
:  The Public Domain is not a license, it is an abandonment of copyright.
: 
: That's not how I understand it to be, from speaking with lawyers on it.

Your understanding differs greatly from my understanding.  And I've
spoken to legal departments in many different companies, read many
different articles on Copyright vs Public Domain, etc.  I've been in
charge of placing proper copyright notices in files, drafting such
notice, etc.

:  If you find a piece of code, without a license attached, then copyright
:  law prevents you from copying, modifying or redistributing that code
:  (or book, or music) without written permission.
: 
: I believe this is part of the Berne Convention, no?  (And, it's not
: necessarily agreed upon by *all* countries in the world, hence the
: reason why certain companies explicity deny you to download software in
: certain countries.  I believe Libya is one...)

Taiwan didn't agree to the Berne Convention either..  The reason that
ocmpanies explicitly deny downloading software to certain countries is
that the US has an embargo against those countries and the import of
anything without an explicit license from the state department is
forbidden.

:  The GPL was born because Stallman got burnt by releasing a version of
:  emacs (I think) into the Public Domain.
: 
: I don't believe it was PD code.  However, RMS never explicitly listed
: the rights the users had, and another company took the software,
: modified it, and started selling it as commercial software.  RMS still
: had the rights on his original software, but he couldn't 'go back' and
: take away the rights he had granted in his initial release, so he
: couldn't stop the company from making money on 'his work'.

RMS's legal claims were murkey at best.

:  I A company started selling it,
:  and RMS had no claim to any of the monies, nor could he stop them from
:  selling a binary only version of it (or selling it at all), nor could he
:  force them to acknowledge it was written by him.
: 
: Actually, if I remember correctly, the company did acknowledge that he
: wrote it, but that didn't help his cause.  (I actually got a catalog
: from the company in question, but I can't remember the name offhand).
: 
: He was free to re-use the same software, and release it under a
: different license for use in EMACS.  (I believe that EMACS still
: contains some of the original LISP macros he initially developed, but
: they are now under the GPL license.)

Actually, if you read the history, you'll find that what happened was
that Gosling released emacs.  Stallman started hacking on it.
Stallman got an email from Gosling granting him rights to distribute
the derived work.  Gosling then sold it to Unipress.  Unipress went
after Stallman for distributing their copyrighted code.  Stallman
couldn't find the email from Gosling conferring him these rights (his
claim was that it was on a backup tape he couldn't read), so he had to
abandon the work he did on Gosling emacs.  He rewrote everything in
what would become gnu emacs.

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message