kern/26563 setting sample rate

2001-07-30 Thread James Halstead

I just wanted to see if this can get committed. I have been using it with no 
problems and it makes some programs work a little nicer for those of us with 
ac'97 cards (notably xmms)

It is a simple one line patch.

Would be nice if this could make it to 4.4-RELEASE...

James

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



Re: DVD IOCTLs on IDE?

2001-06-25 Thread James Halstead

On Sunday 24 June 2001 21:09, David Gilbert wrote:
 Could I have a copy of your patches?  Where do I get xine?

The attached is a shell archive for a port I made out of the libcss from 
livid. It compiles but i have no idea if it works. Please do not submit it to 
the ports collection! all the patches are in the files/patch-* files.

As for xine, go to xine.sourceforge.net, hit the how to link, then choose 
browseable html. Select the playing dvd's and there will be a link to the 
captiancss page. It compiles cleanly on my 4.x system with ./configure 
--prefix=/usr/X11R6; gmake; gmake install. If I remember right the makefiles 
will work with the regular make as well if you don't have gmake installed.

There is also a link to the linux video site (where libcss comes from) and a 
plugin to use libcss. However I cannot get the plugin for this one to compile 
yet. 

If you have any luck tell me. I have been able to watch encrypted dvd's but 
it seems to like crashing when changing tracks. Also i have had a problem 
where xine will stop running after a while, seems to be running out of shared 
memory maps, something is not getting cleaned up properly. 

 Dave.

James

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering sh file.  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#   libcss
#   libcss/pkg-descr
#   libcss/pkg-plist
#   libcss/files
#   libcss/files/patch-aa
#   libcss/files/patch-ag
#   libcss/files/patch-ab
#   libcss/files/patch-ac
#   libcss/files/patch-ad
#   libcss/files/patch-ae
#   libcss/files/patch-af
#   libcss/files/patches-ah
#   libcss/distinfo
#   libcss/pkg-comment
#   libcss/Makefile
#
echo c - libcss
mkdir -p libcss  /dev/null 21
echo x - libcss/pkg-descr
sed 's/^X//' libcss/pkg-descr  'END-of-libcss/pkg-descr'
XLibcss library as implemented in the livid project. Should work with xine to
Xplay encrypted dvd's
END-of-libcss/pkg-descr
echo x - libcss/pkg-plist
sed 's/^X//' libcss/pkg-plist  'END-of-libcss/pkg-plist'
Xbin/tstdvd
Xbin/dvdinfo
Xbin/reset_dvd
Xinclude/css.h
Xlib/libcss.so.1
Xlib/libcss.so
Xlib/libcss.la
Xlib/libcss.a
Xshare/aclocal/dvd.m4
END-of-libcss/pkg-plist
echo c - libcss/files
mkdir -p libcss/files  /dev/null 21
echo x - libcss/files/patch-aa
sed 's/^X//' libcss/files/patch-aa  'END-of-libcss/files/patch-aa'
X--- configure.in.orig  Wed Feb 14 19:40:02 2001
X+++ configure.in   Wed Jun 20 16:33:24 2001
X@@ -43,15 +43,19 @@
X if test x$enable_devel = xyes; then
X CFLAGS=$CFLAGS -g3 -DDEVEL -DDEBUG
X else
X-CFLAGS=$CFLAGS -O6 -fomit-frame-pointer -funroll-all-loops -D__OPTIMIZE__ 
-D__USE_STRING_INLINES
X+CFLAGS=$CFLAGS -O6 -fomit-frame-pointer -funroll-all-loops -D__OPTIMIZE__ 
-D__USE_STRING_INLINES \$(EXTRA_DEFS)
X fi 
X 
X-
X dnl ==
X dnl get location of kernel headers
X dnl ==
X 
X AC_C_KERNEL_INCLUDES
X+
X+dnl ==
X+dnl Check if we're on FreeBSD
X+dnl ==
X+AM_CONDITIONAL(FREEBSD, test `uname -s` = FreeBSD)
X 
X dnl ==
X dnl Output configuration files
END-of-libcss/files/patch-aa
echo x - libcss/files/patch-ag
sed 's/^X//' libcss/files/patch-ag  'END-of-libcss/files/patch-ag'
X--- src/tstdvd.c.orig  Tue Feb 13 16:59:27 2001
X+++ src/tstdvd.c   Wed Jun 20 16:33:24 2001
X@@ -65,11 +65,19 @@
X   perror(DVD vob file);
X   return 0;
X   }
X+#ifndef __FreeBSD__
X   if (ioctl(fd, FIBMAP, lba) != 0) {
X   perror (ioctl FIBMAP);
X   close(fd);
X   return 0;
X   }
X+#else
X+  if (ioctl(fd, FIOGETLBA, lba) != 0) {
X+  perror (ioctl FIOGETLBA);
X+  close(fd);
X+  return 0;
X+  }
X+#endif
X 
X   close(fd);
X 
END-of-libcss/files/patch-ag
echo x - libcss/files/patch-ab
sed 's/^X//' libcss/files/patch-ab  'END-of-libcss/files/patch-ab'
X--- src/Makefile.am.orig   Thu Nov  2 14:06:41 2000
X+++ src/Makefile.amWed Jun 20 16:33:24 2001
X@@ -10,17 +10,30 @@
X bin_PROGRAMS = tstdvd dvdinfo reset_dvd
X noinst_PROGRAMS = css_cat
X 
X+if FREEBSD
X+EXTRA_DEFS = -D_THREAD_SAFE
X+LIBPTHREAD = -pthread
X+LIBDL =
X+else
X+EXTRA_DEFS =
X+LIBPTHREAD =
X+LIBDL = -ldl
X+endif
X+
X tstdvd_SOURCES = tstdvd.c
X tstdvd_DEPENDENCIES = libcss.la
X-tstdvd_LDADD = libcss.la -ldl
X+tstdvd_LDFLAGS = $(LIBPTHREAD)
X+tstdvd_LDADD = libcss.la $(LIBDL)
X 
X css_cat_SOURCES = css_cat.c
X css_cat_DEPENDENCIES = libcss.la
X-css_cat_LDADD = libcss.la -ldl
X+css_cat_LDFLAGS = $(LIBPTHREAD)
X+css_cat_LDADD = libcss.la $(LIBDL)
X 
X dvdinfo_SOURCES = dvdinfo.c
X dvdinfo_DEPENDENCIES = libcss.la
X-dvdinfo_LDADD = libcss.la -ldl
X+dvdinfo_LDFLAGS = $(LIBPTHREAD)
X+dvdinfo_LDADD = libcss.la $(LIBDL)
X 
X reset_dvd_SOURCES = reset_dvd.c
X 
END-of-libcss/files/patch-ab
echo x - libcss/files/patch-ac

Re: DVD IOCTLs on IDE?

2001-06-24 Thread James Halstead

On Sunday 24 June 2001 20:12, David Gilbert wrote:
 ... One issue is that dvdio.h seems to be missing structure items that
 are required by dvd software.  I have attempted to compile livid (oms)
 and videolan ... both which at least talk about working on BSD.  Livid
 refuses to compile because dvdio.h is missing certain structure
 members.

 videolan compiles and runs, but refuses to recognise a DVD in the
 player (I've tried several DVDs).  My IDE DVD player probes as:


I have also noticed that the FreeBSD dvdio.h is different then the NetBSD and 
Linux versions (possibly the OpenBSD as well) Is there any reason that linux 
and the other *bsd's seem to have one setup and ours is different?

I have had moderate success using xine with captiancss, but it is rather 
crashprone.  I have also been able to get the libcss from livid to compile 
using patches i found on a list somewhere, but it never seemed to work for me.

Does anbody know of a good, stable way to play dvd movies on FreeBSD?

 Dave.

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



Mergemaster killed symlink (was RE: Mergemaster bug + new feature [patch])

2001-06-18 Thread James Halstead

On Monday 18 June 2001 17:04, Koster, K.J. wrote:
 I had a mergemaster problem a while back, but I haven't debugged it
 properly. I had my /etc/ppp symlinked into /home/root/ppp. Then, after a
 mergemaster run I ended up with a file named /etc/ppp, which had the
 contents of the new version of /etc/ppp/ppp.conf.

I symlinked /etc/ppp to /usr/ppp and mergemaster updated fine. I then removed 
/usr/ppp making the symlink invalid and mergemaster overwrote the bad symlink 
with ppp.conf. Is there any chance when you ran mergemaster that one time 
your /home was not mounted?

I haven't gone as far as to find just what the offending area of mergemaster 
is.


 Kees Jan

 PS. I initially read the subject line as mergemaster has one fewer bug and
 one newly discovered feature. :)

;P

James

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



pcm audio wierdness on via mobo

2001-03-13 Thread James Halstead

System has a via 686A southbridge with the integrated sound hardware. It
gets detected
properly by the pcm driver, however the playback is slightly fast. Is there
some type of
adjustment to slow it down a little bit? I can gather whatever info needed
on request,
Just tell me what to get.The sound does work fine in winblows 98.

Intel pIII 733, via 694x north bridge, 686A south bridge
Freebsd 4.3-BETA from a couple days ago
Happens no matter how I am playing audio (xmms, mp3blaster, or directly
playing a wav file)

Thanks for any help.

James


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



How to use parallel port tape drive

2001-02-02 Thread James Halstead

I have a tape drive (hp coloradoo700) which uses qic-3010 tapes. I wanted to
use it but I do not know how to access the drive over the parallel port. The
only tape drives I saw in the NOTES file are scsi.

Can somebody please point me to man pages / web pages that will show how to
use a drive like this?

I am running on 5.0 current.

Thanks for any help,

~James


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



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



Re: Boot process robustness

2001-01-02 Thread James Halstead


- Original Message -
From: "James Halstead" [EMAIL PROTECTED]
To: "Poul-Henning Kamp" [EMAIL PROTECTED]
Sent: Tuesday, January 02, 2001 11:30 PM
Subject: Re: Boot process robustness



 - Original Message -
 From: "Poul-Henning Kamp" [EMAIL PROTECTED]
 To: "Walter W. Hop" [EMAIL PROTECTED]
 Cc: "FreeBSD hackers" [EMAIL PROTECTED]
 Sent: Thursday, December 28, 2000 9:31 AM
 Subject: Re: Boot process robustness


  In message [EMAIL PROTECTED],
"Walter
 W. Ho
  p" writes:
  Hi all,
  
  I was wondering how to increase the robustness of the booting process,
  so that a box would be able to keep itself on its feet without
  intervention of the console. I think this would be of great value to
the
  many people who administer colocated boxes.
  
  I'm not much of a coder so all I can do is mailing this (at the risk of
  wasting your time with total useless crap ofcourse, in which case I
  apologize.)
  
  1. Old kernel recovery
 When 'make install'ing a new kernel, a flag is raised (say,
 'revert_on_fail') which is only cleared after a successful system
 initialisation. When the new kernel boots, a panic in this state or
 an unexpected reboot (reset after a system hang) would cause
 /kernel.old to be loaded on the next boot instead (maybe the same
 could work for /etc/rc.conf.old)
 
  This is actually more a question of where to store the flag than
  anything else.
 

 Couldn't you just modify the shutdown command to have an option for revert
 on fail, which would create
 a file on the root filesystem with a timestamp of when the reboot started.
 Then at boot time, if that timstamp
 is still there, and has been around for too long, boot the kernel.old
 instead of kernel. Then the question is
 what amount of time is reasonable for the wait period. This may have the
 machine boot the new kernel
 and panic a few times, but at least you can be assured that it would after
x
 minutes boot the old kernel
 instead. Once a boot was successful the times stamp file could be removed.

 Just a thought.

 ~James

  Julian made a rather hackish thing for Whistle, but I think we lost
  that with the advent of the new bootblocks.
 
  2. Automatic file system checks
 In case of a powercycle or crash, it could be that a filesystem
needs
 fixing. Now I don't know much about fs internals, but I guess that
in
 most cases just answering 'Y' to fsck's questions will fix things. I
 would appreciate an option where an inconsistency would start up
fsck
 in an "automatic" repair mode, with all actions logged and "undo"
 data being saved (in case manual review is needed).
 
  Alternatively it might be worth considering adding a
"remote-single-user"
  capability:
 
  If an fsck fails, ifconfig the interfaces and start an sshd so people
  can get in remotely and fsck...
 
  --
  Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
  [EMAIL PROTECTED] | TCP/IP since RFC 956
  FreeBSD committer   | BSD since 4.3-tahoe
  Never attribute to malice what can adequately be explained by
 incompetence.
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with "unsubscribe freebsd-hackers" in the body of the message



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



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



ssh2 daemon is ignoring ignorenologin

2000-06-22 Thread James Halstead

I have a system whih a user that is in a login class with the ignorenologin
setting on. when I have /var/run/nologin created, the sshd refuses this user
everytime, telnet works fine. I just wondered why this is. It is just kind
of an annoyance for me but I almost locked myself out from a system I admin
that is too far away to visit.

James ;)

---
ICQ #19675056
Public key available at:
http://www.dreamscape.com/halstead/jh.asc
---



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



Linux emu question

2000-05-26 Thread James Halstead

I noticed some people talking about the linux emulation and how good/bad it
can be and I just wondered, does anybody here have any experiences with the
vmware for linux software? I have been thinking of buying this, for those
one or two windows programs that I need to use now and then.

Just wondering,
James.
---
ICQ #19675056
Public key available at:
http://www.dreamscape.com/halstead/jh.asc
---



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



Re: smb printer trouble

2000-05-18 Thread James Halstead

Thanks, and no-thanks at the same time ;)

The 'push back' will help (so I can avoid the temp file) and I will put that
in.
However, my filter is doing just fine on postscript files (and since it is a
postscript pinter I
don't have to put it through gs). The problem is with _non_ postscript files
where the first
line contains the '\' char at the end of the line, the read procedure sees
that as "chomp the newline,
and keep going as if the line never ended" I need to see if there is a way
to avoid that behavior so
my filter can print all files without messing them up ;)

Thanks for the 'push back' help though!

James.

- Original Message -
From: [EMAIL PROTECTED]
To: "James Halstead" [EMAIL PROTECTED]
Sent: Thursday, May 18, 2000 7:44 AM
Subject: Re: smb printer trouble



  Actually, if there is a way that I can read only the first two
  chars from the standard input that would solve the problem for
  nearly all the cases. I only need the first two chars to do my
  test, then I can leave the rest up to cat. It would be even better
  if sombody could tell me a way to push chars back on to the stdin
  stream that way I can completly avoid making a temporary file.

 I don't know if this will help;  I filched it from a simple printer
 filter example that is somewhere in the distribution.  It's a shell
 script that checks the first few characters (on stdin) to see if it's
 getting a PostScript file or something else.

 #!/bin/sh

 Esc="\033"

 printf "${Esc}E" || {
 logger "lp filter: error resetting printer"
 printf "lp filter: error resetting printer\n" 2
 exit 0 # delete job from queue
 }

 read First_line
 Magic=$(expr "$First_line" : '\(\)')

 case $Magic in

 %!PS)
 /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=cdj550 \
 -sPAPERSIZE=a4 -sOutputFile=- -  exit 0
 ;;

 ~lpx)
 Found_end=0
 Type=nil
 while [ ${Found_end} -eq 0 ]
 do
 read Keyword Value
 case ${Keyword} in
 type)Type=${Value};;

 ... and so on.

 If the first 4 characters ('$Magic') are '%!PS', everything from stdin
 is slurped up by /usr/local/bin/gs, which interprets it to stdout and
 then exits.

 You'll notice that the first line of stdin does not go to gs (which
 doesn't need it).  If it had been necessary to 'push back' that first
 line, it would have been easy, e.g.:

 (echo $First_line; cat) | /usr/local/bin/gs




 I hope this has been of some help...

 -- Tim Jackson




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



Re: smb printer trouble

2000-05-17 Thread James Halstead

I know it is happening because of the ``read firstline'' command. It is
using the standard shell way
of continuing a line using the '\' char and applying that to the input. That
explains why only the first
line is effected.

Actually, if there is a way that I can read only the first two chars from
the standard input that would
solve the problem for nearly all the cases. I only need the first two chars
to do my test, then I can leave the rest up to cat. It would be even better
if sombody could tell me a way to push chars back on to the stdin stream
that way I can completly avoid making a temporary file.

Thanks,
James ([EMAIL PROTECTED])

- Original Message -
From: "Koster, K.J." [EMAIL PROTECTED]
To: "'Charlie Root'" [EMAIL PROTECTED]
Cc: "'FreeBSD Hackers mailing list'" [EMAIL PROTECTED]
Sent: Wednesday, May 17, 2000 4:40 AM
Subject: RE: smb printer trouble


 Perhaps there are some invisible spaces after some of the backslashes?

 Kees Jan

 ==
  You are only young once,
   but you can stay immature all your life


  -Original Message-
  From: Charlie Root [mailto:[EMAIL PROTECTED]]
  Sent: dinsdag 16 mei 2000 20:39
  To: [EMAIL PROTECTED]
  Subject: smb printer trouble
 
   begin smb-filter 
  #!/bin/sh
  
  # Input filter to print to a NT print queue, requires smbclient.
  #
  # Author: James Halstead, e-mail: [EMAIL PROTECTED]
  #
  # Read stdin to a temp, make sure to determine the print
  type, then use
  #   smbclient to print to the nt queue.
  
 
  SERVER=SERVER NAME
  PRINTER=cwPRINTER NAME
  TEMP=/tmp/smbprint
 
  TEMP=`mktemp -q $TEMP.XX`
 
  read firstline
  first_two=`expr "$firstline" : '\(..\)'`
 
  if [ "$first_two" != "%!" ]; then
printf "\033k3G"  $TEMP
  fi
 
  #lets see, copy the firstline to temp, cat the rest to the temp,
  # make one ugly command to print the file to the smb printer then
  # rm the temp file.
 
  echo "$firstline"  $TEMP  cat  $TEMP \
  /usr/local/bin/smbclient $SERVER\\$PRINTER -UGUEST -N\
   -c"print $TEMP" \
  rm -f $TEMP /dev/null  exit 0
 
  exit 1
   end smb-filter 




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



Re: login.conf question

2000-04-14 Thread James Halstead

Actually I tested this theory (all with remote logins, not sued) and it let
me login 13 times (maxproc set to 12) however once i hit the 11'th login it
made all the logins useless. Anytime i tried to run a process I got an error
from bash that it could not fork. After the 11'th login i got this error
when i logged on but still gives me the shell prompt, although i could not
do anything.

So apparently even with the maxproc limit, the login is allowed to su to the
user making them over their limit. This is where the sesssion limit should
take place making it harder for the user to hit the maxproc limit by logging
in to many times. the bash fork error may confuse some of my users where a
friendly "too many logins" is easy to under stand.


Bhishan Hemrajani wrote:


 Instead of using sessionlimit, why don't you limit the number of
processes.

 That way, the number of shells that they can have is limited also.

 --bhishan

 
  That might make sence at first, but that should still keep one person
from
  logging in more than 4 times. Also i tested the session time and that is
  not working either so that makes me think there is something else i am
  missing.
 
  Besides the maxproc will pretty much limit them anyway ;) although that
  might make for more questions about why they can't run any programs when
  they have too many logins. Owell, I have yet to have anybody actually
try
  to log in that many times.
 
  Perhaps there is something else i am forgetting to enable this? maby a
  kernal option or sysctl?
 
   On Thu, 13 Apr 2000, Bhishan
  Hemrajani wrote:
 
   From "man login.conf":
sessiontime   timeMaximum login time per
session.
sessionlimit  number  Maximum number of
concurrent login
  sessions on ttys in any
group.
  
   It seems here that session limit is on a per group basis.
  
   Try making a couple users, then logging in with each of those users.
   I think that's what it might be limiting.
  
   --bhishan
  
   [Charset iso-8859-1 unsupported, filtering to ASCII...]
Bhishan Hemrajani wrote:
   
   
 Alright, a couple things come to mind here.

 1. Did you make the database? (# cap_mkdb /etc/login.conf)
   
Yes i made sure to do this ;)
   
 2. Did you add the user to the class (# chfn user)
(and then put the class name in the class field)
   
also yes (chpass)
   
 3. If you did do that, login as the user (not su), and
type "limit" and give me an output.
   
% limit
cputime 1:00:00
filesize5120 kbytes
datasize10240 kbytes
stacksize   10 kbytes
coredumpsize1024 kbytes
memoryuse   10240 kbytes
memorylocked5120 kbytes
maxproc 12
openfiles   20
   
that's odd, it dosn't mention the session limits. I knew that the
other
limits worked, I tested them with a forkbomb, a mallocbomb and an
infinitly
recursive program just to see what would happen. fork and malloc
failed
expectedly and the infinit recursion segfaults after about 5400
recursions.
   
Unless there is a problem with my login.conf or there is an option
somewhere
that i have to enable I don't know why the sessionlimit and idletime
don't
work (although i haven't tested the idletime)
   

 --bhishan
 
  hey out there!
  This is my first time doing someting like an i am having
problems
  with one part. The session limit does not seem to be working. My
  understanding was that this was a hard limit for the number of
  simutanious logins a person may have. I created a test account
and
  was able to have 6 logins open even though the limit is set to
4.
  Also I am curious if i set the idletime and warntime right, and
if i
  need to have the accounting enabled in order for things to work.
 
  thanks for any help.
 
  James
 
  -  begin login.conf 
 
  # login.conf - login class capabilities database.
  # After each edit don't forget to run:
  # cap_mkdb /etc/login.conf
 
  #defaults - defaults for all users except root
  # NOTE: default gives no recource limits!!
 
  default:\
   :cputime=unlimited:\
   :filesize=unlimited:\
   :datasize=unlimited:\
   :stacksize=unlimited:\
   :coredumpsize=unlimited:\
   :memoryuse=unlimited:\
   :memorylocked=unlimited:\
   :maxproc=unlimited:\
   :openfiles=unlimited:\
   :manpath=/usr/share/man /usr/local/man:\
   :nologin=/var/run/nologin:\
   :path=~/bin /usr/local/bin /usr/bin /bin:\
   :priority=0:\
   :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
   :term=vt100:\
   :umask=022:\
   :welcome=/etc/motd:\
   :minpasswordlen=8:\
   :copyright=/etc/COPYRIGHT:\
   :idletime=unlimited:\
   :sessionlimit=unlimited:
 
  #root - make absolutly sure root can do 

login.conf question

2000-04-13 Thread James Halstead

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hey out there!
This is my first time doing someting like an i am having problems
with one part. The session limit does not seem to be working. My
understanding was that this was a hard limit for the number of
simutanious logins a person may have. I created a test account and
was able to have 6 logins open even though the limit is set to 4.
Also I am curious if i set the idletime and warntime right, and if i
need to have the accounting enabled in order for things to work. 

thanks for any help.

James

-  begin login.conf 

# login.conf - login class capabilities database.
# After each edit don't forget to run:
# cap_mkdb /etc/login.conf

#defaults - defaults for all users except root
# NOTE: default gives no recource limits!!

default:\
 :cputime=unlimited:\
 :filesize=unlimited:\
 :datasize=unlimited:\
 :stacksize=unlimited:\
 :coredumpsize=unlimited:\
 :memoryuse=unlimited:\
 :memorylocked=unlimited:\
 :maxproc=unlimited:\
 :openfiles=unlimited:\
 :manpath=/usr/share/man /usr/local/man:\
 :nologin=/var/run/nologin:\
 :path=~/bin /usr/local/bin /usr/bin /bin:\
 :priority=0:\
 :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
 :term=vt100:\
 :umask=022:\
 :welcome=/etc/motd:\
 :minpasswordlen=8:\
 :copyright=/etc/COPYRIGHT:\
 :idletime=unlimited:\
 :sessionlimit=unlimited:

#root - make absolutly sure root can do anything.
root:\
 :ignorenologin:\
 :umask=077:\
 :tc=default:
 
#cstudent - limit the recources for c class students.
cstudent:\
 :accounted:\
 :cputime=1h:\
 :filesize=5m:\
 :datasize=10m:\
 :stacksize=10k:\
 :coredumpsize=1m:\
 :memoryuse=10m:\
 :memorylocked=5m:\
 :maxproc=12:\
 :openfiles=20:\
 :requirehome:\
 :umask=077:\
 :sessionlimit=4:\
 :idletime=3h:\
 :warntime=2h45m:\
 :tc=default:

#cprof - give the prof a little more leeway to work with.
cprof:\
 :cputime=1h30m:\
 :datasize=15m:\
 :stacksize=1m:\
 :coredumpsize=2m:\
 :memoryuse=15m:\
 :memorylocked=10m:\
 :maxproc=20:\
 :openfiles=20:\
 :requirehome:\
 :umask=077:\
 :tc=default:

#superuser - more powerful accounts, but not root powerful.
superuser:\
 :ignorenologin:\
 :umask=077:\
 :tc=default:\

daemon:\
 :tc=default:

news:\
 :tc=default:

dialer:\
 :tc=default:

-  end login.conf 
- ---
For my public key please visit:
http://www.dreamscape.com/halstead/jh.asc
- ---

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.1 for non-commercial use http://www.pgp.com

iQA/AwUBOPZ62SdhQGc59hmGEQIg6gCg2LHCsV7DxykNmA5wfu7cZ+BI0C0AoKeg
CxHDm0zb7FCrBzoTZRv/vIww
=DFqR
-END PGP SIGNATURE-




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



problems with -O -pipe in guile port

2000-04-10 Thread James Halstead

I was trying to install gnome from ports cvsup'd today and i kept getting
stuck when building guile.  cc never crashed however it seemed to be stuck in
an infinite loop(i stopped it after about 2 hours). when i remove "-O -pipe"
from the qt makefile it seems to compile fine.

is this a compilier problem or something with the guile port?

PS. PLEASE reply to both the return address of this message and  the
address: "[EMAIL PROTECTED]" It will be appreciated.
James ;)

more stuff:
here is some output (sorry about the long lines need to make this quick)

[root@jestocost gnome]# make install
 
===  Extracting for gnome-1.0.53
 No MD5 checksum file.
===   gnome-1.0.53 depends on shared library: glib12.3 - found
===   gnome-1.0.53 depends on shared library: gtk12.2 - found
===   gnome-1.0.53 depends on shared library: ORBit.2 - found
===   gnome-1.0.53 depends on shared library: Imlib.5 - found
===   gnome-1.0.53 depends on shared library: audiofile.0 - found
===   gnome-1.0.53 depends on shared library: esd.2 - found
===   gnome-1.0.53 depends on shared library: gnome.3 - found
===   gnome-1.0.53 depends on shared library: gtop.1 - not found
===Verifying install for gtop.1 in /usr/ports/devel/libgtop
===  Extracting for libgtop-1.0.7
 Checksum OK for libgtop-1.0.7.tar.gz.
===   libgtop-1.0.7 depends on executable: gmake - found
===   libgtop-1.0.7 depends on executable: libtool - found
===   libgtop-1.0.7 depends on shared library: gnome.3 - found
===   libgtop-1.0.7 depends on shared library: guile.6 - not found
===Verifying install for guile.6 in /usr/ports/lang/guile
===  Building for guile-1.3.4
Making all in ice-9
Making all in qt
Making all in md
Making all in time
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../libguile -O 
-pipe -Wall -Wpointer-arith -Wmissing-prototypes  -c qtmds.s
rm -f .libs/qtmds.lo
cc -DHAVE_CONFIG_H -I. -I. -I../libguile -O -pipe -Wall -Wpointer-arith 
-Wmissing-prototypes -c qtmds.s  -fPIC -DPIC -o .libs/qtmds.lo

*** dies here ***

[root@jestocost /root]# dmesg
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 3.4-STABLE #0: Tue Mar 28 16:38:17 EST 2000
[EMAIL PROTECTED]:/usr/src/sys/compile/CS_JESTO_KRNL
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 232881891 Hz
CPU: Pentium/P55C (232.88-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
  Features=0x8001bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX
real memory  = 67108864 (65536K bytes)
avail memory = 62390272 (60928K bytes)
Preloaded elf kernel "kernel" at 0xc02af000.
Probing for devices on PCI bus 0:
chip0: Intel 82439TX System Controller (MTXC) rev 0x01 on pci0.0.0
chip1: Intel 82371AB PCI to ISA bridge rev 0x01 on pci0.7.0
ide_pci0: Intel PIIX4 Bus-master IDE controller rev 0x01 on pci0.7.1
chip2: Intel 82371AB Power management controller rev 0x01 on pci0.7.3
vga0: S3 ViRGE DX/GX graphics accelerator rev 0x01 int a irq 9 on pci0.8.0
fxp0: Intel EtherExpress Pro 10/100B Ethernet rev 0x02 int a irq 11 on pci0.20.0
fxp0: Ethernet address 00:a0:c9:e3:2b:c0
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color 16 virtual consoles, flags=0x0
... try to identify the yamaha
pcm0 at 0x530 irq 5 drq 0 flags 0xc111 on isa
mss_attach mss0 at 0x530 irq 5 dma 0:1 flags 0xc111
setting up yamaha registers
set yamaha master volume to max
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model IntelliMouse, device ID 3
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): ST33221A
wd0: 3077MB (6303024 sectors), 6253 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): LTN301/MP08, removable, intr, dma, iordis
acd0: drive speed 5511KB/sec, 120KB cache
acd0: supported read types: CD-DA
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0: generic printer on ppbus 0
lpt0: Interrupt-driven port
ppi0: generic parallel i/o on ppbus 0
plip0: PLIP network interface on ppbus 0
npx0 on motherboard
npx0: INT 16 interface
vga0 at 0x3b0-0x3df maddr 0xa msize 131072 on isa
Intel Pentium detected, installing workaround for F00F bug
changing root device to wd0s1a


[root@jestocost /root]# cc -v
gcc version 2.7.2.3

thanks for any info.


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