Undelete on untouched partition

2004-09-20 Thread Joachim Dagerot
I have a disk with one single slice and one partition: ad1s1d. I used
move to move ALL data on this disk to another location and after that
has the disk been unused. Is there a way to get the content back using
a copy of a FAT or similar?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ATA - UDMA ICRC Error

2004-09-20 Thread Rishi Chopra
I noticed the posting at:

http://groups.google.com/groups?hl=enlr=ie=UTF-8threadm=20040120192745.GA1209%40uriel.mcgoldrick.orgrnum=29prev=/groups%3Fq%3Dfreebsd%2Bstatus%253D51%2Berror%253D84%2BICRC%26hl%3Den%26lr%3D%26ie%3DUTF-8%26start%3D20%26sa%3DN

and was curious if a solution had been found for this
problem (kernel: ad4: FAILURE - READ_DMA
status=51READ, DSC, ERROR error=84ICRC, ABORTED).


I have the same problem with a PCI promise Ultra100
TX2 controller card and 200GB Western Digital 2000JB
drive on startup.

I've double-checked that the cable, controller, and
drive are all working by plugging them by accessing
them through DOS and Windows 2000; the drive shows up
just fine and produces flawless I/O.  My drive is
jumpered as single/master, set to ATA100, and the
cable works just fine.

I've noticed other postings with a similar error, but
the only suggestion given was either controller
failure or cable failure.  In my case I'm certain that
neither is the cause of the problem.

Any ideas?

=
Rishi Chopra
http://www.ocf.berkeley.edu/~rchopra



___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Undelete on untouched partition

2004-09-20 Thread Kris Kennaway
On Mon, Sep 20, 2004 at 08:23:08AM +0200, Joachim Dagerot wrote:
 I have a disk with one single slice and one partition: ad1s1d. I used
 move to move ALL data on this disk to another location and after that
 has the disk been unused. Is there a way to get the content back using
 a copy of a FAT or similar?

Recovering erased data from a UFS requires guru skills.

Kris

pgpo00hEDXpWu.pgp
Description: PGP signature


periodic scripts

2004-09-20 Thread Peter Rosa
Hi all,

please what is your opinion and possible repair of following.

I have FreeBSD 4.10-REL-p2, cvsup+make world last week. It happened few
times in last half-year, that server discontinue sending reports from
periodics daily. I run it manually and see ps ax, but the only checks
are started are those about security. And the only report send is security
report. The daily report is never created. This status will remain until
the next update.

There is no difference between /usr/src/etc/default/periodic.conf and
/etc/default/periodic.conf. I have reated my own /etc/periodic.conf.local,
but I set only daily_status_XXX etc. variables, daily_output=root.

Question - what is causing this; has anybody experience with this; how to
repair it without make world ?


Best regards,

Peter Rosa


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Portinstall problem (config.guess not found)

2004-09-20 Thread Philip Payne
Hi,

I'm getting the following error when trying to build any port.

/usr/ports/portname/work/config.guess: No such file or directory.

I've googled  searched the mailing list archives which gave 2 suggestions. 

Autoconf or libtool have got fubar'd and I should reinstall and/or to cvsup
 update the ports index.

I tried both  neither succeeded. Boo :-(

Now if a port tries to re-install libtool, it also bums out with the above
error.

I'm using Freebsd-5.3-beta4. 

Does anyone have further suggestions on what the error could be and how it
can be resolved?

Thanks,
Phil.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how to update XFree libs?

2004-09-20 Thread Matthias F. Brandstetter
Hi all,

today I noticed a security issue with XFree86 libs in my daily sec. mailing 
from one of my servers, so I updated my ports collection via 
cvsup /root/ports-supfile (ports-all). But after that, I still can't 
update my X libs:

[ 11:59 [EMAIL PROTECTED] XFree86-4-libraries ] make install clean
===  XFree86-libraries-4.4.0_1 has known vulnerabilities:
 xpm --- image decoding vulnerabilities.
   Reference: 
http://people.freebsd.org/~eik/portaudit/ef253f8b-0727-11d9-b45d-000c41e2cdad.html
 Please update your ports tree and try again.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-libraries.

Any ideas how to solve this?
Greetings and TIA, Matthias

-- 
When will I learn?  The answers to life's problems aren't at the bottom of
a bottle.  They're on TV!

  -- Homer Simpson
 There's No Disgrace Like Home
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need help with dying drive/restoring data

2004-09-20 Thread Matthew Seaman
On Sun, Sep 19, 2004 at 10:58:51PM +0100, Jonathon McKitrick wrote:

 When I boot up, the drive makes clanking sounds I've never heard before, and
 never finishes the load.  I'm going to make a rescue disk, but does anyone
 have a strategy for how I could handle the delicate job of getting my
 updated data off the drive without making matters worse?  So far, I figure I
 will boot the rescue disk and try to mount the filesystems.

'Clanking noises' -- that's either the bearings on the spindle worn
loose or the mechanism that moves the heads out of alignment.  In
either case, I'd say your drive is not so much dying, as dead.  About
the only thing you can do is boot up from alternate media and see if
anything can be read from the old drive -- don't get too hopeful
though.  dd(1)-ing the partitions from the dead drive into files on
some other machine and then turning each of those into a file backed
md(4) device which you then fsck(1) into some sort of order might get
you further than most other strategies, as it allows you to scan
sequentially across the drive

Failing that, it should be possible for a data recovery company to
read much of the disk contents using what is a essentially an electron
microsope with a few modifications.  About the only thing that can't
deal with is a head crash so bad it scrapes away large chunks of disk
surface -- even so, it would be able to read most of the rest of the
drive.  Only problem is such services are quite expensive...

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpx5OTtPNvnN.pgp
Description: PGP signature


Re: periodic scripts

2004-09-20 Thread Matthew Seaman
On Mon, Sep 20, 2004 at 09:30:05AM +0200, Peter Rosa wrote:

 I have FreeBSD 4.10-REL-p2, cvsup+make world last week. It happened few
 times in last half-year, that server discontinue sending reports from
 periodics daily. I run it manually and see ps ax, but the only checks
 are started are those about security. And the only report send is security
 report. The daily report is never created. This status will remain until
 the next update.

 Question - what is causing this; has anybody experience with this; how to
 repair it without make world ?

A common cause of this sort of thing is the /var partition filling up
-- if /var is full, then you can't send e-mails because you can't
write the spool files in /var/spool/mqueue or /var/spool/clientmqueue
-- if you're delivering to the same machine, /var/mail will be blocked
as well.

Other than the usual check for rubbish files: old cores, stuff
cluttering up /var/tmp etc. it's a case of hunting for what is hogging
the space and doing something to reduce the usage.  Check /var/crash
-- if you've enabled system core dumps and your system has crashed a
few times, you'll find a number of rather large files in there, which
you probably won't need any more. Look at eg. MySQL databases, which
can grow very quickly if you turn logging on.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpNwde1fUK0m.pgp
Description: PGP signature


Re: Need help with dying drive/restoring data

2004-09-20 Thread Jonathon McKitrick
On Mon, Sep 20, 2004 at 06:53:39AM +0300, [EMAIL PROTECTED] wrote:
: This may sound peculiar, but take your drive out and put it in the freezer
: overnight and then quick as all can be put it in and boot up and get off
: what you can. I've used this technique multiple time to great success.

Now that is an original idea!  I'll give that a shot tonight.

Any idea why this works?



jm
--
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need help with dying drive/restoring data

2004-09-20 Thread Jonathon McKitrick
On Mon, Sep 20, 2004 at 09:26:18AM +0530, Subhro wrote:
: Which media do you intend to backup to? If I were in your place, I
: would just tar the /home and the /etc and put it on a USB drive or on
: a CDR/DVDR if you have a burner. However, Are you sure that the drive
: is fixed firmly into the drive bay and you are seating the laptop on a
: sturdy base?

I took the drive out of the bay and reinserted it.  It was working fine
until a few days ago.  I started hearing the clanking, then yesteday, it
never finished the startup process.

My last backup was to my server, then to CDR.



jm
--
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IP Firewall blocks cvsup

2004-09-20 Thread horio shoichi
On Sun, 19 Sep 2004 06:45:28 -0700
Rob [EMAIL PROTECTED] wrote:
 Seems to work with everything else incl. ftp.  What am I doing wrong? 
 Thanks,   Rob.
 


 block in log all
 pass out all

 pass out on lo all
 pass in on lo all

 pass out quick on bfe0 proto tcp/udp from any to any port  1024

For quick answer, replace above line with:

pass out quick on bfe0 proto tcp/udp from any to any port  1024 keep state

 pass in quick on bfe0 proto icmp all icmp-type 0
 pass in quick on bfe0 proto icmp all icmp-type 3
 pass in quick on bfe0 proto icmp all icmp-type 11

 block in on bfe0 proto tcp all flags S/SA
 block out on bfe0 proto tcp all flags SA/SA

 pass in quick on bfe0 proto tcp from any to any port = 22 flags S/SA keep state
 pass in quick on bfe0 proto tcp from any to any port = 25 flags S/SA keep state


 pass out on bfe0 proto tcp all keep state

I don't think this line makes tcp connections below stateful. You must write down
keep state phrase on every tcp (and udp, icmp) line you write.

 block return-rst in on bfe0 proto tcp from any to any port = 113

 pass in on bfe0 proto tcp/udp from any port = 53 to any
 pass in on bfe0 proto tcp/udp from any port = 67 to any 
 pass out on bfe0 proto tcp/udp from any port = 68 to any
 pass in on bfe0 proto tcp from any port = 80 to any

Or, add the following line here:

pass in on bfe0 proto tcp from any port = 5999 to any



horio shoichi

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Portupgrade error

2004-09-20 Thread Giovanni P. Tirloni
Mike Jarsulic wrote:
 I am getting the following error while running portupgrade:

 # portupgrade -arC
 [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 302
 packages found(-0 +5) . done]
 /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:323:in `deorigin': cannot
 convert nil into String (PkgDB::DBError)
[...]
 Has anyone seen this before and have any suggestions to fix it?
I ran into the same problem sometime ago and IIRC it was because of a 
Ruby update. You can try to pkg_delete portupgrade and install it again, 
it worked for me.

--
Giovanni
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need help with dying drive/restoring data

2004-09-20 Thread Peter Risdon
Jonathon McKitrick wrote:
Hi all,
Help!  My laptop drive seems to be dying, and while I did keep backups, the
last one was a bit old.
When I boot up, the drive makes clanking sounds I've never heard before, and
never finishes the load.  I'm going to make a rescue disk, but does anyone
have a strategy for how I could handle the delicate job of getting my
updated data off the drive without making matters worse?  So far, I figure I
will boot the rescue disk and try to mount the filesystems.
This is based on experience rather than the extremely detailed knowledge 
of some other posters - like most people, I've had to get data off 
failing disks from time to time and so some strategies have emerged.

One moderately obvious thing - if you boot from a rescue disk, mount the 
damaged drive read only.

The filesystem will probably be marked unclean, and, unfortunately, 
running fsck can make the drive fail again before you have a chance to 
get any data off it. In an extreme case, dd might be your only option.

I've found that attempts to copy/tar/dump the whole filesystem in these 
cases often fail. It's certainly worth trying once, but if it fails you 
can copy/tar/dump parts of the disk individually, starting with the most 
important areas, and you've a fairly good chance of at least partial 
success.

I have a feeling that this helps because it avoids too high a level of 
continuous disk activity. If that's the case, I've started wondering 
whether using rsync with the --bwlimit argument is worth investigating 
as a method of limiting throughput. I haven't tried this, though.

You might find that there are areas of specific damage that have to be 
worked around and these can be identified by a process of elimination.

I also try not to let the drive go *cold* once these problems have 
started developing. A dying disk seems to be more likely to fail 
completely on power up than at any other time. This isn't meant to 
contradict the freezer idea suggested by another poster, which is widely 
recommended and definately worth trying. It means try not to keep 
rebooting once you start to recover the data, if you can manage it.

Peter.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


error 1

2004-09-20 Thread messmate
Hi,
can anyone tell me what tjhis means : error1, look at the debug
screen..
This error occurs at the install of a package.
Where is that debug screen ? and what means error 1 exactly ?
Any help welcome.

-- 
Amicalement
mess-mate

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hostname and interfaces

2004-09-20 Thread Rob
Fellow BSDers,
I have a FreeBSD 4.x firewall with 2 sis(4) interfaces on the inside, and a 
PPPoE interface to the rest of the world.

According to the BIND FAQ, the ideal relationship between hostnames  
interfaces is:

   gethostbyname(gethostname) == gethostbyaddr(primary_interface_address)
For multihomed hosts, the difficulty is in choosing the 'primary' interface. 
Normally, I would pick the default or upstream interface, but in this case 
it's the least reliable due to the whims of my ISP. It's also missing when 
the machine first boots, before mpd(8) starts.

So I'm wondering what happens if I don't assign the hostname to any 
interface. I know that sendmail(8) gets upset when it can't resolve the 
hostname, but do other applications care?

Doing a little research, I ran
   # cd /usr/src
   # find * -type f -name '*.[ch]' | xargs grep -l gethostname | \
   xargs grep -l gethostbyname
   contrib/amd/fixmount/fixmount.c
   contrib/amd/wire-test/wire-test.c
   contrib/bind/bin/dnsquery/dnsquery.c
   contrib/cvs/src/server.c
   contrib/gcc/sys-protos.h
   contrib/gdb/gdb/m32r-rom.c
   contrib/ipfilter/common.c
   contrib/perl5/iperlsys.h
   contrib/perl5/objXSUB.h
   contrib/sendmail/mail.local/mail.local.c
   contrib/sendmail/src/daemon.c
   contrib/smbfs/lib/smb/nb_net.c
   contrib/tcsh/tc.func.c
   contrib/traceroute/traceroute.c
   crypto/heimdal/appl/login/utmp_login.c
   crypto/heimdal/lib/krb5/get_addrs.c
   crypto/kerberosIV/appl/bsd/su.c
   crypto/kerberosIV/appl/ftp/ftp/ruserpass.c
   crypto/kerberosIV/appl/sample/simple_client.c
   crypto/kerberosIV/appl/telnet/telnet/commands.c
   crypto/kerberosIV/include/win32/config.h
   crypto/kerberosIV/include/win32/roken.h
   crypto/kerberosIV/kadmin/kadm_ser_wrap.c
   crypto/kerberosIV/lib/krb/getaddrs.c
   crypto/kerberosIV/lib/krb/verify_user.c
   crypto/kerberosIV/slave/kprop.c
   crypto/openssh/auth-krb4.c
   crypto/openssh/logintest.c
   crypto/openssh/session.c
   kerberos5/include/config.h
   kerberosIV/include/config.h
   lib/libcompat/4.3/rexec.c
   libexec/bootpd/bootpd.c
   sbin/route/route.c
   usr.bin/su/su.c
   usr.bin/w/w.c
   usr.sbin/ppp/ipcp.c
   usr.sbin/ppp/radius.c
   usr.sbin/pppd/options.c
   usr.sbin/timed/timed/timed.c
   usr.sbin/timed/timedc/cmds.c
   usr.sbin/traceroute6/traceroute6.c
This host runs very few applications, and with the exception of ssh none of 
them are in this list.

Has anyone tried running a networked system with a non-resolvable hostname? 
Apart from sendmail and general principles, what is likely to break?

Thanks
Rob. 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: error 1

2004-09-20 Thread Matthew Seaman
On Mon, Sep 20, 2004 at 02:21:24PM +0200, messmate wrote:

 can anyone tell me what tjhis means : error1, look at the debug
 screen..
 This error occurs at the install of a package.
 Where is that debug screen ? and what means error 1 exactly ?
 Any help welcome.

You're using sysinstall(8) to install some packages.  An error has
occurred.  Now, if you're actually using sysinstall to install the
system, you can hit Alt-F2 to switch to an alternate console where
there should be a load of debug output which will hopefully tell you
exactly what went wrong.

On the other hand, if you're just running sysinstall(8) from the
command line as a system admin tool, then that output is not actually
accessible.  In this case, using 'pkg_add' directly from the command
line will give you a better idea of what's going on:

# pkg_add -r pkgname

If you can't work out what the package name should be, take a look at
http://www.freshports.org/ the 'port details' screen very helpfully
tells you exactly what to type.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpgAitjlyPfx.pgp
Description: PGP signature


Re: Samba Configuration Options for small 2-3 person office?

2004-09-20 Thread Peter Risdon
W. D. wrote:
After 'make install', this appears:
l samba configuration options qk
x  x
x Please select desired options:   x
x lqqk x
x x [ ] syslog   With syslog support x x
x x [ ] ssl  With ssl supportx x
x x [ ] ldap With LDAP2 support  x x
x x [ ] nocups   Without CUPSx x
x x [ ] acl  With ACL supportx x
x x [ ] utmp With UTMP support   x x
x x [ ] msdfsWith MSDFS support  x x
x x [ ] quotaWith Quota support  x x
x x [ ] recycle  With Recycle Binx x
A lot of users of Windows rely on having a recycle bin. I've known some 
even use it as a form of storage, for some bizarre reason. It's a bad 
one to bite you from behind if a user asks how they can undelete one of 
their files, so perhaps consider enabling this.

Peter.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


can'texec getty'/usr/X11R6/bin/xdm for port /dev/tty8: no such file or directory

2004-09-20 Thread Joachim Dagerot
I have had this error message for quite some time now. It's not
bothering me too much because it's mainly published in the logs and on
the console, and I normally don't even have a monitor attached to the
system.

But now during this weekends maintainance I have been working from
console and get the message:

can't exec getty '/usr/X11R6/bin/xdm for port /dev/tty8: no such
file or directory

every 30 second or so, incredibly irritating when writing a longer
bash-command.

I searched the archive but only found a solution telling that the /usr
was improperly mounted, which in no way is the case.

Any other ideas?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Undelete featured filesystem forfreebsd? WAS: Undelete on untouched partition

2004-09-20 Thread Joachim Dagerot
---
 | On Mon, Sep 20, 2004 at 08:23:08AM +0200, Joachim Dagerot wrote:
 |  I have a disk with one single slice and one partition: ad1s1d. I
used
 |  move to move ALL data on this disk to another location and after
that
 |  has the disk been unused. Is there a way to get the content back
using
 |  a copy of a FAT or similar?
 | 
 | Recovering erased data from a UFS requires guru skills.
 

What a pitty, well nothing to do then I guess. Thanks for your answer.

Is anyone aware of an approach to get some kind of soft deletion
functionality on freeBSD. I mean, it's not extremely unique to be able
to get files back after a deletion, even windows has features for this
since long time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Undelete featured filesystem forfreebsd? WAS: Undelete on untouched partition

2004-09-20 Thread Bill Moran
Joachim Dagerot [EMAIL PROTECTED] wrote:
 ---
  | On Mon, Sep 20, 2004 at 08:23:08AM +0200, Joachim Dagerot wrote:
  |  I have a disk with one single slice and one partition: ad1s1d. I
 used
  |  move to move ALL data on this disk to another location and after
 that
  |  has the disk been unused. Is there a way to get the content back
 using
  |  a copy of a FAT or similar?
  | 
  | Recovering erased data from a UFS requires guru skills.
  
 What a pitty, well nothing to do then I guess. Thanks for your answer.

Not true.  There are utilities available, and I've seen more than one
HOWTO on this subject.  Use google.

 Is anyone aware of an approach to get some kind of soft deletion
 functionality on freeBSD. I mean, it's not extremely unique to be able
 to get files back after a deletion, even windows has features for this
 since long time.

CVS, or other version control system.  Backup.  Intelligent file
management.

It's rather interesting to note that the Windows world focuses on
recovering from mistakes _after_ they happen, whereas the Unix world
focuses on working in such a way that mistake recovery will be
trivial.

Windows - Oops, I screwed up, let me publish the crazy things I had
   to do to recover from my mistake.
Unix - I'm going to do this important stuff.  Before I start, I'm going
to assume that the fact that I'm human means there's a good
chance that I'll make mistakes and corrupt or lose things, so I'll
take steps from the get-go to make it easy to backtrack when that
happens.

Just my $.02

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can'texec getty'/usr/X11R6/bin/xdm for port /dev/tty8: no such file or directory

2004-09-20 Thread Matthew Seaman
On Mon, Sep 20, 2004 at 02:56:50PM +0200, Joachim Dagerot wrote:
 I have had this error message for quite some time now. It's not
 bothering me too much because it's mainly published in the logs and on
 the console, and I normally don't even have a monitor attached to the
 system.
 
 But now during this weekends maintainance I have been working from
 console and get the message:
 
 can't exec getty '/usr/X11R6/bin/xdm for port /dev/tty8: no such
 file or directory
 
 every 30 second or so, incredibly irritating when writing a longer
 bash-command.
 
 I searched the archive but only found a solution telling that the /usr
 was improperly mounted, which in no way is the case.
 
 Any other ideas?

Edit /etc/ttys and change the line that says:

ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   on  secure

to say:

ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off  secure
^^^
The tell init(8) to re-read that file:

# kill -HUP 1

That's presuming you don't actually have xdm(1) installed or want to
run it.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgphRZnIEkoE9.pgp
Description: PGP signature


Re: error 1

2004-09-20 Thread Jerry McAllister
 
 Hi,
 can anyone tell me what tjhis means : error1, look at the debug
 screen..
 This error occurs at the install of a package.
 Where is that debug screen ? and what means error 1 exactly ?
 Any help welcome.

Just a guess.  I don't know what an error 1 would be but I am
guessing that the 'look at debug' screen might mean to flip to
the alt console to look at error messages.   Probably that will
mean hitting ALT-F2 or ALT-F4 or one of those.

jerry

 
 -- 
 Amicalement
 mess-mate
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[no subject]

2004-09-20 Thread tariq
I want send me unix cd
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


A problem during start up

2004-09-20 Thread ?fffc6?fffdc ?fffd5?fffc5
When my BSD system starts, it will pause some time for the recovery of vi. I don't 
know why this happens and how can I get rid of it. 
Thanks!



-
Do You Yahoo!?
150MP3

1G1000
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X.org performance?

2004-09-20 Thread Subhro
cat /etc/make.conf 

Regards
S.


On Sat, 18 Sep 2004 18:39:53 +0200, Benjamin Walkenhorst [EMAIL PROTECTED] wrote:
 Hello,
 
 On Sat, 18 Sep 2004 11:01:25 -0500
 Josh Paetzel [EMAIL PROTECTED] wrote:
 
  Runs like a champ.
 
 Good for you. =)
 I'm not really saying it doesn't run sufficiently - or if I was, I
 didn't mean to -, it's just that X.org is consuming large amounts of
 cpu-time.
 I mean, it's not like my system is getting slow, exactly, it's just
 Xorg uses a lot of CPU, sometimes.
 I mean, XFree did that, too, but I am under the impression that Xorg is
 a little worse, in that respect.
 
 Or is it just my perception tricking me, while Xorg is not that
 different from XFree, technically?
 
  Josh Paetzel
 
 Kind regards,
 
 
 Benjamin
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 



-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re:

2004-09-20 Thread Subhro
Download it buddy

Regards
S.


On Mon, 20 Sep 2004 09:55:02 +0800, tariq [EMAIL PROTECTED] wrote:
 I want send me unix cd
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 



-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Please use a subject

2004-09-20 Thread Jerry McAllister
 
 I want send me unix cd

You can either freely download an ISO from ftp.freebsd.org or one 
of the mirrors or you may purchase a CD set from one of the vendors
who package them.   
They are listed at:http://www.freebsd.org/commercial/misc.html

But, before doing that, please read the documentation, particularly
the FreeBSD handbook which can be obtained online at:
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

That will help you understand where to obtain FreeBSD, which version
to use, how to install it and configure it and run it.

jerry

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Alps glide point tap to enter not working

2004-09-20 Thread Rob
Running RELENGE_5 here, but this might be a general problem.  I have a 
Dell 8600. On FreeBSD, everything on the touchpad except the tap to 
enter works.  I wonder if I am missing a configuration variable?

Thanks,  Rob
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Undelete featured filesystem forfreebsd? WAS: Undelete on untouched partition

2004-09-20 Thread epilogue
On Mon, 20 Sep 2004 15:00:07 +0200
Joachim Dagerot [EMAIL PROTECTED] wrote:

 ---
  | On Mon, Sep 20, 2004 at 08:23:08AM +0200, Joachim Dagerot wrote:
  |  I have a disk with one single slice and one partition: ad1s1d. I
 used
  |  move to move ALL data on this disk to another location and after
 that
  |  has the disk been unused. Is there a way to get the content back
 using
  |  a copy of a FAT or similar?
  | 
  | Recovering erased data from a UFS requires guru skills.
  
 
 What a pitty, well nothing to do then I guess. Thanks for your answer.
 
 Is anyone aware of an approach to get some kind of soft deletion
 functionality on freeBSD. I mean, it's not extremely unique to be able
 to get files back after a deletion, even windows has features for this
 since long time.

the easiest thing to do would be to prepare for the 'next time'.

1) create a 'garbage' directory wherever you believe it would make the most
sense.

2) create an alias within your .cshrc (or bash, or zsh, etc) which, when
'rm' is invoked, uses 'mv' to move the file to your 'garbage' dir.  to
my knowledge, this is pretty much the same approach used by windows,
gnome, and kde.

this link should get you started:
http://www.cee.odu.edu/uclhd/uclhd_unix_undelete.php

hope this helps.


cheers,
epi

 __
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipfw question

2004-09-20 Thread adrian kok
Dear all

I have 2 questions

1/ Recently, my mrtg graph showed many spikes
Incoming in outer interface of the router.

ls it possible to log them and check?

If I log everthing, I am afraid to slow down the
network. What is the best way to do it?


2/ I read some firewall docs. they said that it is
good to allow 5% bandwidth for icmp only

ls it true?

how can I do it?

Thank you

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


make installkernel help required.

2004-09-20 Thread Phil Payne
Hi,

Having problems installing a new kernel. Kernel builds fine, the only
difference over previous kernel is the commenting of the following
items:

#optionsIPFIREWALL
#optionsIPFIREWALL_VERBOSE
#optionsIPFIREWALL_VERBOSE_LIMIT=1000
#optionsIPDIVERT

as I have switched to using PF. (previous kernel had both PF and
IPFIREWALL enabled)

Debug is below. Anyone help on why this is borking now?

I've tried this twice. After the first error I cleared our /usr/obj to
make sure I was building into a clean directory but get the same result.

Thanks,
Phil.

--
 Kernel build for PP completed on Mon Sep 20 15:40:31 BST 2004
--
gw# make installkernel KERNCONF=PP
--
 Making hierarchy
--
cd /usr/src;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386 
MACHINE=i386  CPUTYPE= 
GROFF_BIN_PATH=/usr/obj/usr/src/i386/legacy/usr/bin 
GROFF_FONT_PATH=/usr/obj/usr/src/i386/legacy/usr/share/groff_font 
GROFF_TMAC_PATH=/usr/obj/usr/src/i386/legacy/usr/share/tmac
PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 make -f Makefile.inc1 hierarchy
cd /usr/src/etc;make distrib-dirs
mtree -eU  -f /usr/src/etc/mtree/BSD.root.dist -p /
mtree -eU  -f /usr/src/etc/mtree/BSD.var.dist -p /var
mtree -eU  -f /usr/src/etc/mtree/BSD.usr.dist -p /usr
share/nls/C changed
type expected dir found link
mtree -eU  -f /usr/src/etc/mtree/BSD.include.dist  -p /usr/include
cd /; rm -f /sys; ln -s usr/src/sys sys
cd /usr/share/man/en.ISO8859-1; ln -sf ../man* .
cd /usr/share/man;  set - `grep ^[a-zA-Z] /usr/src/etc/man.alias`; 
while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift; 
done
cd /usr/share/openssl/man;  set - `grep ^[a-zA-Z]
/usr/src/etc/man.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s
$2 $1;  shift; shift;  done
cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* .
cd /usr/share/nls;  set - `grep ^[a-zA-Z] /usr/src/etc/nls.alias`; 
while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift; 
done
shift: can't shift that many
*** Error code 2

Stop in /usr/src/etc.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A problem during start up

2004-09-20 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 20 September 2004 07:41, c6dc d5c5 wrote:
 When my BSD system starts, it will pause some time for the recovery of vi.
 I don't know why this happens and how can I get rid of it. Thanks!

You can use the command 'vi -r' to recover files from crashed vi sessions.
If that doesn't help clean out the files under /var/tmp/vi.recover.

Cheers,
ch

- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD4DBQFBTvEX09WjGjvKU74RAtjkAJQJfOn8HhesMzD7dcOvghrCKgnjAJ48T5KI
UF1/1ZlrHl/KNOMC50CibQ==
=RQ83
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfw question

2004-09-20 Thread Giorgos Keramidas
On 2004-09-20 22:43, adrian kok [EMAIL PROTECTED] wrote:

 1/ Recently, my mrtg graph showed many spikes
 Incoming in outer interface of the router.

 ls it possible to log them and check?

It is.  A better approach is to block everything that you don't really
need and then start logging legitimate connections only if the problems
with ``traffic spikes'' continue.

 If I log everthing, I am afraid to slow down the
 network. What is the best way to do it?

Don't do it.  It will truly slow down things a lot.

 2/ I read some firewall docs. they said that it is
 good to allow 5% bandwidth for icmp only
 ls it true?

I don't know what docs you read about firewalls.  The Handbook has a
fairly good section on firewalls.  Have you read that?  If not, you
should definitely give it a look.

For an early chance to read what the ``Firewalls'' section will soon be
replaced with, you might also want to read this:

http://freebsd.so14k.com/firewall/firewalls.html

I'm working with a few other guys to get this into the Handbook as the
new ``Firewalls'' section before 5.3-RELEASE, but if it does help you
should definitely read it.  Joseph J. Barbish has written a couple of
excellent firewall tutorials and guides that I've read so far, and this
one is really worth a careful read.

Just note that the text at the above URL is probably going to change a
bit during the next couple of days, so be patient if you see changes
going in :-)

 how can I do it?

See above.

Giorgos

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X.org performance?

2004-09-20 Thread Benjamin Walkenhorst
Hello,

On Mon, 20 Sep 2004 19:40:30 +0530
Subhro [EMAIL PROTECTED] wrote:

 cat /etc/make.conf


PERL_VER=5.8.2
PERL_VERSION=5.8.2
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo

CPUTYPE=athlon-mp

CFLAGS+= -O2 -pipe
X_WINDOW_SYSTEM=xorg


But like I said, I think I chose the wrong words - 
X.org does not perform poorly, it's just that it sometimes will
use lots of CPU, and I am under the impression it does even more so than
XFree did.
Or is it just my perception kidding me?

Kind regards,
Benjamin

-- 
If cars had improved at [the computer industry's] rate, a Rolls Royce
would now cost 10 dollars and get a billion miles per gallon.
(Unfortunately, it would probably also have 200-page manual telling how
to open the door.)
--
Andrew Tanenbaum, Introduction To Distributed Systems
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X.org performance?

2004-09-20 Thread Charles Ulrich

Benjamin Walkenhorst said:
 Especially using AcroRead burns cycles without end.

This has always been the case for me with the Unix version of Acrobat Reader,
regardless of what X server it's running on or even the OS.

-- 
Charles Ulrich
System Administrator
Ideal Solution - http://www.idealso.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Undelete on untouched partition

2004-09-20 Thread Volker Kindermann
 I have a disk with one single slice and one partition: ad1s1d. I used
 move to move ALL data on this disk to another location and after that
 has the disk been unused. Is there a way to get the content back using
 a copy of a FAT or similar?

you may try some forensic tools like the coroners toolkit or sleuthkit. They should be 
able to recover some files.

 -volker
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: error 1

2004-09-20 Thread messmate
On Mon, 20 Sep 2004 13:40:52 +0100
Matthew Seaman [EMAIL PROTECTED] wrote:

On Mon, Sep 20, 2004 at 02:21:24PM +0200, messmate wrote:

 can anyone tell me what tjhis means : error1, look at the debug
 screen..
 This error occurs at the install of a package.
 Where is that debug screen ? and what means error 1 exactly ?
 Any help welcome.

You're using sysinstall(8) to install some packages.  An error has
occurred.  Now, if you're actually using sysinstall to install the
system, you can hit Alt-F2 to switch to an alternate console where
there should be a load of debug output which will hopefully tell you
exactly what went wrong.

On the other hand, if you're just running sysinstall(8) from the
command line as a system admin tool, then that output is not actually
accessible.  In this case, using 'pkg_add' directly from the command
line will give you a better idea of what's going on:

# pkg_add -r pkgname

If you can't work out what the package name should be, take a look at
http://www.freshports.org/ the 'port details' screen very helpfully
tells you exactly what to type.

   Cheers,

   Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH
UK

Thanks to all for the help.
Adding via /stand/sysinstall didn't add the dependencys.
Second: there is no debug screen found !
Downloading the package AND the dependencys with a 
pkg_add  did the trick.

-- 
Amicalement
mess-mate

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cron not running my command?

2004-09-20 Thread Bob Ababurko
Hey there-
  I am running FreeBSD 5.2.1  and I have a cron job running 
webalizer.  The cron job seems to be running based on the log, but the data 
is not being updated in the directory.  I do believe that I can say that 
the webalizer is configured correctly because if I run the command that is 
listed in cron by hand, the output is sent to the proper place.  Here are 
some l0og entries and the crontab itself:

europa# crontab -l
0 * * * * /etc/cron.daily/ntpdate.cron  /dev/null
*/5 * * * * /usr/sbin/webstats
europa# tail /var/log/cron
Sep 20 13:25:00 europa /usr/sbin/cron[51173]: (root) CMD (/usr/libexec/atrun)
Sep 20 13:26:02 europa crontab[51199]: (root) LIST (root)
Sep 20 13:30:00 europa /usr/sbin/cron[51274]: (root) CMD (/usr/libexec/atrun)
Sep 20 13:30:00 europa /usr/sbin/cron[51273]: (root) CMD (/usr/sbin/webstats)
Sep 20 13:33:00 europa /usr/sbin/cron[51332]: (operator) CMD 
(/usr/libexec/save-entropy)
Sep 20 13:34:35 europa crontab[51387]: (root) LIST (root)
Sep 20 13:35:00 europa /usr/sbin/cron[51394]: (root) CMD (/usr/libexec/atrun)
Sep 20 13:35:00 europa /usr/sbin/cron[51393]: (root) CMD (/usr/sbin/webstats)
Sep 20 13:40:00 europa /usr/sbin/cron[51468]: (root) CMD (/usr/libexec/atrun)
Sep 20 13:40:00 europa /usr/sbin/cron[51467]: (root) CMD (/usr/sbin/webstats)

I am confused on where I should look now.  Any suggestions would be 
appreciated.

/bob
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PHP MySQL

2004-09-20 Thread digish reshamwala
Hey

I have installed the Apache 1.3.29 mod-ssl on my FreeBSD 5.2.1.  Now I want 
to install PHP 4.3.2  MySQL 4.0.20.
Can you guys please help me get started!??  

thanks a bunch,
macuser

P:S:-
I want to install the specific version only  if I use the ports to install using:
cd /usr/ports/databases/mysql40-server
make
make insall clean

It installs MySQL 4.0.18  not 4.0.20??  So can u help me in installing those 
specific version?!


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD question...

2004-09-20 Thread Paul Mather
On Sun, 19 Sep 2004 22:09:31 -0400, Glenn Sieb [EMAIL PROTECTED]
wrote:

 Richard Lynch said the following on 9/19/2004 4:41 PM:
 
 But I'm having a dickens of a time finding something that will let
 me
 author DVDs. Any pointing in directions or help would be greatly
 appreciated!
 
 
 
 By 'author' you mean 'burn', right?...
   
 
 No. I said 'author' I meant 'author' not 'burn' :)
 
 Or are you talking about compiling your mpeg files into a DVD file
 system?
   
 
 Yes--'author'ing :)--putting movie(s) on a DVD with a menu, etc.
 
 T'anks,
 G.

You might want to try these ports:

multimedia/dvdauthor
multimedia/dvdstyler

(The latter is a front-end to the former.)

Cheers,

Paul.
-- 
e-mail: [EMAIL PROTECTED]

Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid.
--- Frank Vincent Zappa

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samba Configuration Options for small 2-3 person office?

2004-09-20 Thread W. D.
At 07:42 9/20/2004, Peter Risdon wrote:
W. D. wrote:
 After 'make install', this appears:
 
 l samba configuration options qk
 x  x
 x Please select desired options:   x
 x lqqk x
 x x [ ] syslog   With syslog support x x
 x x [ ] ssl  With ssl supportx x
 x x [ ] ldap With LDAP2 support  x x
 x x [ ] nocups   Without CUPSx x
 x x [ ] acl  With ACL supportx x
 x x [ ] utmp With UTMP support   x x
 x x [ ] msdfsWith MSDFS support  x x
 x x [ ] quotaWith Quota support  x x
 x x [ ] recycle  With Recycle Binx x

A lot of users of Windows rely on having a recycle bin. I've known some 
even use it as a form of storage, for some bizarre reason. It's a bad 
one to bite you from behind if a user asks how they can undelete one of 
their files, so perhaps consider enabling this.

Thanks!  Will do.

Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PHP MySQL

2004-09-20 Thread Peter Risdon
digish reshamwala wrote:
Hey
I have installed the Apache 1.3.29 mod-ssl on my FreeBSD 5.2.1.  Now I want 
to install PHP 4.3.2  MySQL 4.0.20.
Can you guys please help me get started!??  

thanks a bunch,
macuser
P:S:-
I want to install the specific version only  if I use the ports to install using:
cd /usr/ports/databases/mysql40-server
make
make insall clean
It installs MySQL 4.0.18  not 4.0.20??  So can u help me in installing those 
specific version?!
Hi,
Run cvsup to update your ports - it's 4.0.20 now.
Regards,
Peter.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Core System Update

2004-09-20 Thread Kenneth A. Bond
Hello,
I am trying to determine how often to update my systems.
Currently I am using anoncvs in order to synch my source.
From there I run the typical
 
# make buildworld
# make buildkernel
# make installkernel
# 
# mergemaster -p# make installworld# mergemaster# reboot

Should I only perform this when a security vulnerability is found?

I am trying to achieve maximum uptime for these systems and want to confirm how often 
I should perform a core system update.

 

Please advise.

Thank you in advance for your assistance.

 



Computers are like Air Conditioners: They stop working properly if you open Windows.


-
Post your free ad now! Yahoo! Canada Personals
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD question...

2004-09-20 Thread Glenn Sieb
Paul Mather said the following on 9/20/2004 1:53 PM:
You might want to try these ports:
multimedia/dvdauthor
multimedia/dvdstyler
(The latter is a front-end to the former.)
 

Thanks, Paul...
Oddly enough, the styler package seems to imply that author has more 
features available than their website says they do.. hmm.. I'll have to 
play :))

Thanks again!
G.
--
They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety.  
 ~Benjamin Franklin, Historical Review of Pennsylvania, 1759

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PHP MySQL

2004-09-20 Thread Benjamin Walkenhorst
On Mon, 20 Sep 2004 10:53:18 -0700
digish reshamwala [EMAIL PROTECTED] wrote:

 Hey

Hi,

 I want to install the specific version only  if I use the ports to
 install using: cd /usr/ports/databases/mysql40-server
 make
 make insall clean
 
 It installs MySQL 4.0.18  not 4.0.20??  So can u help me in
 installing those specific version?!

Look at /usr/ports/databases/mysql40-server/distinfo. This file says
what source tarball the port uses. Mine says 4.0.20. You can try
fetching a newer version of the ports tree. It's available from
FreeBSD-ftp-mirrors.
Or you can look at one of the ftp-mirrors for a binary package.

kind regards,
Benjamin

-- 
If cars had improved at [the computer industry's] rate, a Rolls Royce
would now cost 10 dollars and get a billion miles per gallon.
(Unfortunately, it would probably also have 200-page manual telling how
to open the door.)
--
Andrew Tanenbaum, Introduction To Distributed Systems
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Core System Update

2004-09-20 Thread Bill Moran
Kenneth A. Bond [EMAIL PROTECTED] wrote:

 Hello,
 I am trying to determine how often to update my systems.
 Currently I am using anoncvs in order to synch my source.
 From there I run the typical
  
 # make buildworld
 # make buildkernel
 # make installkernel
 # 
 # mergemaster -p# make installworld# mergemaster# reboot
 
 Should I only perform this when a security vulnerability is found?
 
 I am trying to achieve maximum uptime for these systems and want to
 confirm how often I should perform a core system update.

Please wrap you lines aroun 72 chars.  See
http://www.lemis.com/questions.html

If you're shooting for max uptime and the most stable system, you can
follow the procedure I follow for most of my clients:
1) Install the latests 4.x-RELEASE
2) cvsup to RELENG_4_x (currently RELENG_4_10)
3) rebuild/reinstall the core system.
4) When 4.11 comes out, schedule a weekend and cvsup the system to
   RELENG_4_11, rebuild/reinstall.  Pay special attention to
   /usr/src/UPDATING, repeat for 4.12, etc
5) Subscribe to FreeBSD-security.  When a vuln is announced, recvsup
   to the RELENG_4_x and rebuild/reinstall
6) Step 5 can occasionally be skipped.  For example, there were many
   sites that I had using FreeBSD that I didn't have to update when
   bind problems were fixed, because they weren't running DNS servers.
   If you're not sure, you're safer updating than not.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cron not running my command?

2004-09-20 Thread Bill Moran
Bob Ababurko [EMAIL PROTECTED] wrote:
 Hey there-
 
I am running FreeBSD 5.2.1  and I have a cron job running 
 webalizer.  The cron job seems to be running based on the log, but the data 
 is not being updated in the directory.  I do believe that I can say that 
 the webalizer is configured correctly because if I run the command that is 
 listed in cron by hand, the output is sent to the proper place.  Here are 
 some l0og entries and the crontab itself:
 
 europa# crontab -l
 0 * * * * /etc/cron.daily/ntpdate.cron  /dev/null
 */5 * * * * /usr/sbin/webstats

snip

 I am confused on where I should look now.  Any suggestions would be 
 appreciated.

What is the contents of /usr/sbin/webstats?

Does that script assume certain environment variables are set?  Such
as PATH?  If so, you're better off without those assumptions.

Possibly adapt /usr/sbin/webstats to output debugging info that you'll
get in your email to help diagnose what's going wrong.  If you're not
getting email from cron when things go wrong, get your email system
working properly before doing anything else.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Need help with dying drive/restoring data

2004-09-20 Thread JohnsoBS
This may sound peculiar, but take your drive out and put it in the freezer
overnight and then quick as all can be put it in and boot up and get off
what you can. I've used this technique multiple time to great success.

-Original Message-
From: Jonathon McKitrick [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 19, 2004 11:59 PM
To: [EMAIL PROTECTED]
Subject: Need help with dying drive/restoring data



Hi all,

Help!  My laptop drive seems to be dying, and while I did keep backups, the
last one was a bit old.

When I boot up, the drive makes clanking sounds I've never heard before, and
never finishes the load.  I'm going to make a rescue disk, but does anyone
have a strategy for how I could handle the delicate job of getting my
updated data off the drive without making matters worse?  So far, I figure I
will boot the rescue disk and try to mount the filesystems.

jm
-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ssh/pam/postgres

2004-09-20 Thread JohnsoBS
Does anyone know a method I could use to have ssh validate itself first
against postgres also retrieve any other info such as shell, and hom dir.If
postgres fails fallback on another method. pam-pgsql is broken on 5.x and I
can't find a way using pam_exec to achieve any effect I have been looking
for.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Samba 'make install' chokes on textproc/expat2

2004-09-20 Thread JohnsoBS
Personally, unless one has great need not to, I highly recommend upgrading
to samba3 to start with. The perfomance gains alone I found well worth it.
Plus if you plan to integrate into a network with 2k/XP/2K3, it will greatly
improve compatibility.

-Original Message-
From: W. D. [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 19, 2004 9:18 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Samba 'make install' chokes on textproc/expat2


Can't get Samba 2.2.11 to install.  Has anyone encountered
a problem with textproc/expat2?

Start Here to Find It Fast!(tm) -
http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Core System Update

2004-09-20 Thread Haulmark, Chris
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Bill Moran
 Sent: Monday, September 20, 2004 1:31 PM
 To: Kenneth A. Bond
 Cc: [EMAIL PROTECTED]
 Subject: Re: Core System Update
 
 Kenneth A. Bond [EMAIL PROTECTED] wrote:
 
  Hello,
  I am trying to determine how often to update my systems.
  Currently I am using anoncvs in order to synch my source.
  From there I run the typical
   
  # make buildworld
  # make buildkernel
  # make installkernel
  # 
  # mergemaster -p# make installworld# mergemaster# reboot
  
  Should I only perform this when a security vulnerability is found?
  
  I am trying to achieve maximum uptime for these systems and want to
  confirm how often I should perform a core system update.
 
 Please wrap you lines aroun 72 chars.  See
 http://www.lemis.com/questions.html
 
 If you're shooting for max uptime and the most stable system, you can
 follow the procedure I follow for most of my clients:
 1) Install the latests 4.x-RELEASE
 2) cvsup to RELENG_4_x (currently RELENG_4_10)
 3) rebuild/reinstall the core system.
 4) When 4.11 comes out, schedule a weekend and cvsup the system to
RELENG_4_11, rebuild/reinstall.  Pay special attention to
/usr/src/UPDATING, repeat for 4.12, etc
 5) Subscribe to FreeBSD-security.  When a vuln is announced, recvsup
to the RELENG_4_x and rebuild/reinstall

Or simply follow the alert's patch instructions if it is unrelated to a
kernel fix.  A service or two would require to be restarted after being patched.

 6) Step 5 can occasionally be skipped.  For example, there were many
sites that I had using FreeBSD that I didn't have to update when
bind problems were fixed, because they weren't running DNS servers.
If you're not sure, you're safer updating than not.

For instance, today, a CVS server had a security alert sent out, which is
not important to those of us who do not use CVS server.

 
 -- 
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 


--
Chris Haulmark
System Admin. Freelancer
In market for IT corrections for a salary. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rcNG/rc_ng, using rcorder in /usr/local/etc/rc.d

2004-09-20 Thread David P. Discher

Learn something new every day, just learning the internals of
FreeBSD-5.2.1 (have been sticking to the 4.x-STABLEs) and rolling out my
first 5.x system.

rcNG is really nice, but where is rcorder being kicked off on
/usr/local/etc/rc.d to use rcNG...

I  see that /etc/rc.d/localpkg is still skimming for *.sh and running
them, and not doing the rcorder method.

-- *** -
| David P. Discher  * http://davidpdischer.com/ * (314) 518-3795  |
| [EMAIL PROTECTED] * AIM: DavidDPD   * ICQ:4222899 |
-- *** -

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A problem during start up

2004-09-20 Thread Subhro
On Mon, 20 Sep 2004 17:02:30 +0200, Christian Hiris [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Monday 20 September 2004 07:41, c6dc d5c5 wrote:
  When my BSD system starts, it will pause some time for the recovery of vi.
  I don't know why this happens and how can I get rid of it. Thanks!

cat  /etc/rc.conf Enter
clear_tmp_enable=YES
ctrl+d
shutdown -r now Enter

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ACPI not working for shutdown -p

2004-09-20 Thread Jason Porter
I had things working just fine before, then I rebuild my kernel and I
don't know what happened, but I can't get ACPI to turn off the computer
anymore.  I'm running a 5.3BETA3 from Sept 9 and I'm on an ASUS A7S333.
 I'll include the dmesg report, if anyone has any questions, let me
know, thanks.
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-BETA3 #4: Mon Sep 20 12:32:23 MDT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DESKTOP
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(TM) XP 1800+ (1529.51-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x662  Stepping = 2
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc048MP,AMIE,DSP,3DNow!
real memory  = 268419072 (255 MB)
avail memory = 257183744 (245 MB)
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: ASUS A7S333 on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0xe408-0xe40b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
ACPI link \\_SB_.LNKH has invalid initial irq 9, ignoring
ACPI link \\_SB_.LNKD has invalid initial irq 9, ignoring
acpi link get: empty IRQ resource
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 2.0 on pci0
isa0: ISA bus on isab0
ohci0: SiS 5571 USB controller mem 0xe680-0xe6800fff irq 11 at
device 2.2 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: SiS 5571 USB controller on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
uhub1: Texas Instruments UT-USB41 hub, class 9/0, rev 1.10/1.10, addr 2
uhub1: 4 ports with 4 removable, self powered
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/13.00, addr 3, iclass 3/1
ums0: 4 buttons and Z dir.
ohci1: SiS 5571 USB controller mem 0xe600-0xe6000fff irq 10 at
device 2.3 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: SiS 5571 USB controller on ohci1
usb1: USB revision 1.0
uhub2: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 3 ports with 3 removable, self powered
atapci0: SiS 745 UDMA100 controller port
0xd800-0xd80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.5 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: multimedia, audio at device 5.0 (no driver attached)
pcm0: Creative EMU10K1 port 0xa800-0xa81f irq 11 at device 8.0 on pci0
pcm0: TriTech TR28602 AC97 Codec
pci0: simple comms at device 9.0 (no driver attached)
xl0: 3Com 3c450-TX HomeConnect port 0xa000-0xa07f mem
0xe580-0xe580007f irq 5 at device 10.0 on pci0
miibus0: MII bus on xl0
xlphy0: 3Com internal media interface on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:50:da:b1:c7:ec
fdc0: floppy drive controller port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: Parallel port bus on ppc0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
orm0: ISA Option ROM at iomem 0xcc000-0xc on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 1529510433 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ad0: 39266MB IC35L040AVVN07-0/VA2OAF0C [79780/16/63] at ata0-master
UDMA100
ad1: 16448MB WDC WD172AA/29.05T29 [33420/16/63] at ata0-slave UDMA66
ATAPI_RESET time = 110us
ATAPI_RESET time = 50us
acd0: DVDROM Pioneer DVD-ROM ATAPIModel DVD-106S 0122/E1.22 at
ata1-master UDMA66
acd1: CDRW CD-W54E/1.1B at ata1-slave PIO4
Mounting root from ufs:/dev/ad1s2a
-Jason Porter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X.org performance?

2004-09-20 Thread Subhro
On Mon, 20 Sep 2004 17:56:52 +0200, Benjamin Walkenhorst [EMAIL PROTECTED] wrote:
 Hello,
 
 On Mon, 20 Sep 2004 19:40:30 +0530
 Subhro [EMAIL PROTECTED] wrote:
 
  cat /etc/make.conf
 
 
 PERL_VER=5.8.2
 PERL_VERSION=5.8.2
 PERL_ARCH=mach
 NOPERL=yo
 NO_PERL=yo
 NO_PERL_WRAPPER=yo
 
 CPUTYPE=athlon-mp
 
 CFLAGS+= -O2 -pipe
 X_WINDOW_SYSTEM=xorg

make this CFLAGS=-O -pipe

-O2 is known to create more problem than it solves

 
 But like I said, I think I chose the wrong words -
 X.org does not perform poorly, it's just that it sometimes will
 use lots of CPU, and I am under the impression it does even more so than
 XFree did.
 Or is it just my perception kidding me?

This could be -O2

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ACPI not working for shutdown -p

2004-09-20 Thread Subhro
On Mon, 20 Sep 2004 13:23:32 -0600, Jason Porter [EMAIL PROTECTED] wrote:
 I had things working just fine before, then I rebuild my kernel and I
 don't know what happened, but I can't get ACPI to turn off the computer
 anymore.  I'm running a 5.3BETA3 from Sept 9 and I'm on an ASUS A7S333.
  I'll include the dmesg report, if anyone has any questions, let me
 know, thanks.
 
 Copyright (c) 1992-2004 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
 FreeBSD 5.3-BETA3 #4: Mon Sep 20 12:32:23 MDT 2004
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DESKTOP
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: AMD Athlon(TM) XP 1800+ (1529.51-MHz 686-class CPU)
   Origin = AuthenticAMD  Id = 0x662  Stepping = 2
 
 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
   AMD Features=0xc048MP,AMIE,DSP,3DNow!
 real memory  = 268419072 (255 MB)
 avail memory = 257183744 (245 MB)
 npx0: [FAST]
 npx0: math processor on motherboard
 npx0: INT 16 interface
 acpi0: ASUS A7S333 on motherboard
 acpi0: Power Button (fixed)
 Timecounter ACPI-fast frequency 3579545 Hz quality 1000
 acpi_timer0: 24-bit timer at 3.579545MHz port 0xe408-0xe40b on acpi0
 cpu0: ACPI CPU on acpi0
 acpi_button0: Power Button on acpi0
 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
 ACPI link \\_SB_.LNKH has invalid initial irq 9, ignoring
 ACPI link \\_SB_.LNKD has invalid initial irq 9, ignoring

You have a broken ACPI. Hard luck

Regards
S.


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A problem during start up

2004-09-20 Thread Karel J. Bosschaart
On Tue, Sep 21, 2004 at 12:48:33AM +0530, Subhro wrote:
 On Mon, 20 Sep 2004 17:02:30 +0200, Christian Hiris [EMAIL PROTECTED] wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  On Monday 20 September 2004 07:41, ???c6???dc ???d5???c5 wrote:
   When my BSD system starts, it will pause some time for the recovery of vi.
   I don't know why this happens and how can I get rid of it. Thanks!
 
 cat  /etc/rc.conf Enter
 clear_tmp_enable=YES
 ctrl+d
 shutdown -r now Enter

What about putting just
virecover_enable=NO
in /etc/rc.conf?

(My system runs with clear_tmp_enable=YES but still checks for recovery,
I think it looks in /var/tmp/ not /tmp)

Karel.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A problem during start up

2004-09-20 Thread Subhro
On Mon, 20 Sep 2004 21:42:55 +0200, Karel J. Bosschaart
[EMAIL PROTECTED] wrote:
 On Tue, Sep 21, 2004 at 12:48:33AM +0530, Subhro wrote:
  On Mon, 20 Sep 2004 17:02:30 +0200, Christian Hiris [EMAIL PROTECTED] wrote:
   -BEGIN PGP SIGNED MESSAGE-
   Hash: SHA1
  
   On Monday 20 September 2004 07:41, ???c6???dc ???d5???c5 wrote:
When my BSD system starts, it will pause some time for the recovery of vi.
I don't know why this happens and how can I get rid of it. Thanks!
 
  cat  /etc/rc.conf Enter
  clear_tmp_enable=YES
  ctrl+d
  shutdown -r now Enter
 
 What about putting just
 virecover_enable=NO
 in /etc/rc.conf?
 
 (My system runs with clear_tmp_enable=YES but still checks for recovery,
 I think it looks in /var/tmp/ not /tmp)
 
 Karel.
 

I would always symlink /tmp to /var/tmp fr many reasons. The primary
two of them is, in case of improper shutdown the / stays out of
trouble. The /tmp and /var/tmp is world writable. So I mount /var/tmp
with nodev,nosuid,noexec. If /tmp was not symlinked to /var/tmp, the
entire idea will be defeated.

Regards
S.


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ssh connection

2004-09-20 Thread Pota Kalima
Thanks for all your responses. I must add that I am not a programmer, so all
that the verbose stuff did not mean much too. I bit the bullet and started
afresh - re-installed 5.2.1.

I find that I could ssh to the machine itself, okay - as KeS suggested. The
process ends with the machine connecting to itself!

What I still cannot do is to ssh from another machine (Laptops MacOS X or
windoz) which I would really like to do. On the mac I get this

$ ssh -vvv 192.168.0.5
OpenSSH_3.6.1p1+CAN-2004-0175, SSH protocols 1.5/2.0, OpenSSL 0x0090702f
debug1: Reading configuration data /etc/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.0.5 [192.168.0.5] port 22.
debug1: connect to address 192.168.0.5 port 22: Permission denied
ssh: connect to host 192.168.0.5 port 22: Permission denied

$ 

The machine I am trying to connect to has NO firewall, yet.

Pota


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make installkernel help required.

2004-09-20 Thread Subhro
Did you cvsup with src-all? 

Regards
S.


On Mon, 20 Sep 2004 20:27:34 +0100, Phil Payne [EMAIL PROTECTED] wrote:
 Hi
 
 On Mon, 2004-09-20 at 20:16, Subhro wrote:
  mount -a ?
 
 All filesystems are mounted:
 # mount
 /dev/ad0s1a on / (ufs, local)
 devfs on /dev (devfs, local)
 /dev/ad0s1e on /tmp (ufs, local, soft-updates)
 /dev/ad0s1f on /usr (ufs, local, soft-updates)
 /dev/ad0s1d on /var (ufs, local, soft-updates)
 /dev/ad1s1e on /usr/home/share (ufs, local, soft-updates)
 
  sysctl kern.securelevel ?
 
 securelevel is default of -1
 
  cat /etc/make.conf | grep CFLAGS ?
 
 Nothing bizarre in make.conf:
 
 # cat /etc/make.conf
 NO_BIND=true
 NO_I4B=true
 NOINET6=true
 NO_SENDMAIL=true
 NOGAMES=true
 
 # -- use.perl generated deltas -- #
 # Created: Thu Sep 16 23:54:07 2004
 # Setting to use base perl from ports:
 PERL_VER=5.8.5
 PERL_VERSION=5.8.5
 PERL_ARCH=mach
 NOPERL=yo
 NO_PERL=yo
 NO_PERL_WRAPPER=yo
 
 Any extra help much appreciated.
 
 Thanks,
 Phil.
 
 
 
 
  Regards
  S.
 
 
  On Mon, 20 Sep 2004 15:56:22 +0100, Phil Payne [EMAIL PROTECTED] wrote:
   Hi,
  
   Having problems installing a new kernel. Kernel builds fine, the only
   difference over previous kernel is the commenting of the following
   items:
  
   #optionsIPFIREWALL
   #optionsIPFIREWALL_VERBOSE
   #optionsIPFIREWALL_VERBOSE_LIMIT=1000
   #optionsIPDIVERT
  
   as I have switched to using PF. (previous kernel had both PF and
   IPFIREWALL enabled)
  
   Debug is below. Anyone help on why this is borking now?
  
   I've tried this twice. After the first error I cleared our /usr/obj to
   make sure I was building into a clean directory but get the same result.
  
   Thanks,
   Phil.
  
   --
Kernel build for PP completed on Mon Sep 20 15:40:31 BST 2004
   --
   gw# make installkernel KERNCONF=PP
   --
Making hierarchy
   --
   cd /usr/src;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386
   MACHINE=i386  CPUTYPE=
   GROFF_BIN_PATH=/usr/obj/usr/src/i386/legacy/usr/bin
   GROFF_FONT_PATH=/usr/obj/usr/src/i386/legacy/usr/share/groff_font
   GROFF_TMAC_PATH=/usr/obj/usr/src/i386/legacy/usr/share/tmac
   PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
make -f Makefile.inc1 hierarchy
   cd /usr/src/etc;make distrib-dirs
   mtree -eU  -f /usr/src/etc/mtree/BSD.root.dist -p /
   mtree -eU  -f /usr/src/etc/mtree/BSD.var.dist -p /var
   mtree -eU  -f /usr/src/etc/mtree/BSD.usr.dist -p /usr
   share/nls/C changed
  type expected dir found link
   mtree -eU  -f /usr/src/etc/mtree/BSD.include.dist  -p /usr/include
   cd /; rm -f /sys; ln -s usr/src/sys sys
   cd /usr/share/man/en.ISO8859-1; ln -sf ../man* .
   cd /usr/share/man;  set - `grep ^[a-zA-Z] /usr/src/etc/man.alias`;
   while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift;
   done
   cd /usr/share/openssl/man;  set - `grep ^[a-zA-Z]
   /usr/src/etc/man.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s
   $2 $1;  shift; shift;  done
   cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* .
   cd /usr/share/nls;  set - `grep ^[a-zA-Z] /usr/src/etc/nls.alias`;
   while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift;
   done
   shift: can't shift that many
   *** Error code 2
  
   Stop in /usr/src/etc.
   *** Error code 1
  
   Stop in /usr/src.
   *** Error code 1
  
   Stop in /usr/src.
   *** Error code 1
  
   Stop in /usr/src.
  
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 
 
 
 



-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


XF86(mis)Config Keyboard

2004-09-20 Thread Florian Hengstberger
Hi!

I?m new to FreeBSD, so I tried a fully graphical
X setup but as the keyboard settings were not okay,
I copied the keyboard section from an existing
Linux XF86Config file (same system).
Neither the pipe sign nor the delete button
work! Instead of the deleting a tilde is pasted,
pressing the pipe sign takes no effect, the same is true
with all other signs (greater than, less than) of this button.
What?s wrong?

Section Input Device
Driver Keyboard
Option Protocol Standard
Option XkbLayout de
Option XkbModell pc105
Option XkbRules xfree86
Option XkbVariant nodeadkeys
EndSection

My keyboard is a standard device (Vendor: Trust),
I?m working with the 5.2 release.
The funny thing about this is, that everything works fine
in the text console!

Thanks in addvance
Florian 

--
Florian Hengstberger
[EMAIL PROTECTED]
http://stud3.tuwien.ac.at/~e0025265
--




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X.org performance?

2004-09-20 Thread Benjamin Walkenhorst
On Tue, 21 Sep 2004 00:56:28 +0530
Subhro [EMAIL PROTECTED] wrote:

  CFLAGS+= -O2 -pipe
  X_WINDOW_SYSTEM=xorg
 
 make this CFLAGS=-O -pipe
 
 -O2 is known to create more problem than it solves

Thank you very much!
I'm going to try rebuilding X.org as soon as I find the time...


 Regards
 S.

Kind regards,
Benjamin

-- 
If cars had improved at [the computer industry's] rate, a Rolls Royce
would now cost 10 dollars and get a billion miles per gallon.
(Unfortunately, it would probably also have 200-page manual telling how
to open the door.)
--
Andrew Tanenbaum, Introduction To Distributed Systems
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


More ata/UDMA disk write questions

2004-09-20 Thread Louis LeBlanc
Hey again everyone.

I had a problem recently with TIMEOUT - WRITE_DMA errors, often
followed by a complete lockup and data loss, sometimes enough to
require a complete reinstall.

There were a number of recommendations, some of which, however well
intentioned, and definitely appreciated nonetheless, caused more
trouble and not less.  One thing that wasn't suggested was simply
turning off write caching in the ata(4) driver itself.  This is done
by setting hw.ata.wc=0 in /boot/loader.conf.

Well, I've read through the ata(4) manpage and the atacontrol(8)
manpage a little more thoroughly, and looked at the
/var/run/dmesg.boot log a lot more.  I've noticed a couple things:

* The ICH5 SATA 150 controller is correctly recognized as such by the
kernel.

* The Intel ICH5 controller is listed as supported in ata(4), and in
  the 4.10 hardware list
  (http://www.freebsd.org/releases/4.10R/hardware-i386.html#AEN34),
  but not in the 5.2.1 hardware list
  (http://www.freebsd.org/releases/5.2.1R/hardware-i386.html#AEN65).
  That's still a little confusing to me.

And, the ICH5 SATA 150 controller is supposed to be capable of a
150M/sec transfer rate, but the atacontrol(8) manpage only mentions
UDMA2 (aka UDMA33), UDMA4 (aka UDMA66), UDMA5 (aka UDMA100) and UDMA6
(aka UDMA133), which, if I understand these names right, don't provide
the full 150M/s transfer rate.  The atacontrol utility indicates the
drive controller in question is currently using UDMA100.  I'm not
really familiar with these protocols/standards, so if anyone knows
where a 25 cent tour of these can be found, I'd appreciate the
pointer.

Assuming I am correct about the meaning of the 33/66/100/133 values,
does anyone on this list know if (or when) the ata driver will support
the full 150M/s transfer rate?

Is it possible that the ata(4) write caching could be incompatible
with the disks hardware caching mechanisms?

I've turned off hw.ata.wc, rebooted, and am currently executing a full
port rebuild/reinstall (portupgrade -afR) which should be done some
time next year (well, maybe tomorrow).  So far so good.  I'm going to
guess that the disk activity incurred in this would be likely to
indicate that the problem is either still around or has been fixed by
turning off write caching.

I have put the drive through a bios level diagnostic built into newer
Dell MoBos (CTRL-ALT-D at the Dell startup logo) and it passed just
fine.  There is a WDC diagnostic tool I have downloaded and will find
a way to use if this happens again, but I think the drive must be
fine.

Any thoughts, pointers, etc. on ata, atacontrol, UDMA150 support, etc.
would be appreciated.

Thanks
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

share, n.:
  To give in, endure humiliation.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Resolution problems

2004-09-20 Thread Tom Connolly
Hello list,

I am currently running 4.10 with the latest version of xfree86.  My video
card is an integrated ATI Rage Pro and I can't seem to get resolutions above
800 X 600 (at least I think that's what it is).  I want 1280 x 1024 and I'm
sure the hardware is capable of this.  I am using the generic ATI driver.
Could this be my problem?  Any help would be greatly appreciated.

 

Thank you,

 

Thomas

 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A problem during start up

2004-09-20 Thread Karel J. Bosschaart
On Tue, Sep 21, 2004 at 01:17:17AM +0530, Subhro wrote:
 On Mon, 20 Sep 2004 21:42:55 +0200, Karel J. Bosschaart
 [EMAIL PROTECTED] wrote:
  On Tue, Sep 21, 2004 at 12:48:33AM +0530, Subhro wrote:
   On Mon, 20 Sep 2004 17:02:30 +0200, Christian Hiris [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
   
On Monday 20 September 2004 07:41, ???c6???dc ???d5???c5 wrote:
 When my BSD system starts, it will pause some time for the recovery of vi.
 I don't know why this happens and how can I get rid of it. Thanks!
  
   cat  /etc/rc.conf Enter
   clear_tmp_enable=YES
   ctrl+d
   shutdown -r now Enter
  
  What about putting just
  virecover_enable=NO
  in /etc/rc.conf?
  
  (My system runs with clear_tmp_enable=YES but still checks for recovery,
  I think it looks in /var/tmp/ not /tmp)
  
  Karel.
  
 
 I would always symlink /tmp to /var/tmp fr many reasons. The primary
 two of them is, in case of improper shutdown the / stays out of
 trouble. The /tmp and /var/tmp is world writable. So I mount /var/tmp

In fact, I have /tmp on a separate partition, no trouble for /.

Regards,
Karel. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Undelete featured filesystemforfreebsd? WAS: Undelete on untouched partition

2004-09-20 Thread Joachim Dagerot
 | In any event, I can tell you the first thing to do is dd the
partition
 | into a file so that you can make backups before you start
attempting
 | to undelete.  i.e. dd if=/dev/ad??? of=/some/part/diskimage, then
 | cp diskimage workingimage.
 | 
 | Then you can 3 things:
 | 1) Start using the computer again if you like
 | 2) Work on workingimage in an attempt to restore the lost file
 | 3) Feel confident that if you screw up something on workingimage,
 |you can just copy diskimage again and give it another go.

I'm just running TCT after a suggestion from another writer on this
eminent list. For the record this url may help other people that
searches in the archives for recover deleted file or undelete
file: http://www.fish.com/tct/help-recovering-file I don't have any
result yet though.

 |   Why not a filesystem that takes care of that for me?
 | 
 | Why not a filesystem that keeps itself defragmented, instead of
 | requiring you to do it every so often?

I am in the strong believe that UFS2 is self-defragmenting, atleast I
don't have any problems with fragmentation on my freeBSD iron, as
opposite to our windows machines then. Point taken though, but it
would be nice to have the ultimate filesystem with both some built in
user tolerance AND security AND de-fragmentation logic AND smart
allocation AND etc etc.

 |  Why do I always
 |  need to do everything by myself, why can't a computer year 2004
be
 |  more fault tolerant, my car is, and so is my CD and my stove.
 | 
 | How much did you pay for your computer?  I think this goes back to
 | a common misconception that the general public has (which I blame
on
 | MS and Apple)  There is no computer available today that is smarter
 | than a human, even the stupidest human is smarter than the smartest
 | computer.  If you expect the computer to know better than you what
 | data is good and what isn't, you're about to be repeatedly
 | disappointed.

Yes, you are right, and especially if I choose to run from command
line there is no security net between my stupidity and the computers
logic. I guess all user tolerant tools must be but between me and the
filesystem, atleast that's what's done on Windows. (There's no
trashcan in dos ie).

 | Besides, computers are not remotely like your CD, stove or car. 
For
 | example, the fault tolerant systems in your car never have to
wonder
 | if you're doing something you shouldn't or not.
 | 
 | Your car never has to determine if you really want to hit the
brakes
 | or not.  If cars were fault-tolerant on the level that you are
expecting
 | your computer to be, we'd have few or no accidents.  I'm really in
a
 | state of mystery as to what kind of car you have that has fault
 | tolerance such that it protects you from human error!  I'd like one
 | that doesn't let me pull out in front of other people even if I
can't
 | seem them  (VERY helpful in Western PA!)

Well, today when I panic brake my car helps me not to lock the wheels,
to increase the retardation efficence. There are cars that change the
power balance between the left and right rear wheels during heavy
movements from side to side, to help the driver from forcing the car
off the road. So, yes, the cars today certainly helps a bad driver to
some extent. (Sorry for this long text, I'm not too good on
mechanichal terms in english:)
 
 
 |   | It's rather interesting to note that the Windows world focuses
on
 |   | recovering from mistakes _after_ they happen, whereas the Unix
 |   | world focuses on working in such a way that mistake recovery
will be
 |   | trivial.
 |   | 
 |   | Windows - Oops, I screwed up, let me publish the crazy things
I
 |   | had to do to recover from my mistake.
 |   | Unix - I'm going to do this important stuff.  Before I start,
I'm
 |   | going to assume that the fact that I'm human means there's a
good
 |   | chance that I'll make mistakes and corrupt or lose things,
 |   | so I'll take steps from the get-go to make it easy to
backtrack
 |   | when that happens.
 |   
 |   I think your shown attitude is just what makes alternate OS to
 |  Microsoft so hard to reach for common users. I believe in having
 |  technology that aids me in my every day work so I can focus on
less
 |  trivial things than data recovery.
 | 
 | Like CVS and backups?
 
 Yes, that would be neat if it was something I could control/setup in
the sysinstall-label, like (CVS this volume).
 CVS would ofcourse be crap for most of the time because of the
CVS-folders it trashes my nice directory structure with, but an
automatic dump-restore would be nice.
 
 |   In your world freeBSD and other not-so-very-user-focused-systems
are
 |  for übermenchen when windows are for normal human beeings that do
just
 |  what human beings do: errors. Well, this thread for sure is not a
 |  windows-unix discussion and I regret allready that I took up
windows
 |  as an example from the beginning.
 | 
 | The point is that you (as a user) have to make certain decisions,
whether
 | or 

Re: ACPI not working for shutdown -p

2004-09-20 Thread Matthias Andree
Jason Porter [EMAIL PROTECTED] writes:

 I had things working just fine before, then I rebuild my kernel and I 
 don't know what happened, but I can't get ACPI to turn off the computer 
 anymore.  I'm running a 5.3BETA3 from Sept 9 and I'm on an ASUS A7S333. 
  I'll include the dmesg report, if anyone has any questions, let me 
 know, thanks.

Try adding the following line to /boot/loader.conf.local and see if that
helps, I've needed this line with an A7V600-X but haven't recently (in
BETA) checked if it's still needed (dual-boot machine which usually sees
reboot, not halt -p):

hw.acpi.disable_on_poweroff=0

-- 
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Ssh connection

2004-09-20 Thread Hauan, David


 -Original Message-
 From: Pota Kalima [mailto:[EMAIL PROTECTED] 
 Sent: Monday, September 20, 2004 12:54 PM
 To: Lowell Gilbert; Kevin Stevens
 Cc: [EMAIL PROTECTED] [EMAIL PROTECTED]
 Subject: Re: Ssh connection
 
 
 Thanks for all your responses. I must add that I am not a 
 programmer, so all that the verbose stuff did not mean much 
 too. I bit the bullet and started afresh - re-installed 5.2.1.
 
 I find that I could ssh to the machine itself, okay - as KeS 
 suggested. The process ends with the machine connecting to itself!
 
 What I still cannot do is to ssh from another machine 
 (Laptops MacOS X or
 windoz) which I would really like to do. On the mac I get this
 
 $ ssh -vvv 192.168.0.5
 OpenSSH_3.6.1p1+CAN-2004-0175, SSH protocols 1.5/2.0, OpenSSL 
 0x0090702f
 debug1: Reading configuration data /etc/ssh_config
 debug1: Rhosts Authentication disabled, originating port will 
 not be trusted.
 debug2: ssh_connect: needpriv 0
 debug1: Connecting to 192.168.0.5 [192.168.0.5] port 22.
 debug1: connect to address 192.168.0.5 port 22: Permission denied
 ssh: connect to host 192.168.0.5 port 22: Permission denied
 
 $ 
 
 The machine I am trying to connect to has NO firewall, yet.
 
 Pota
 
I might be way off here but...
are those other machines in your etc/hosts file?
I don't recall complete details but I think this
solved that issue for me; or something about DNS.
Maybe a clue for you?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


setiathome

2004-09-20 Thread Brett Wiggins
Hi,
   I am wondering which version of setiathome is best to install on FreeBSD 5.2.1 
-RELEASE. linux-setiathome or setiathome?

thanks

Brett
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


vinum software raid as boot drive

2004-09-20 Thread Bruce Harding
We are currently trying to set up server with software raid using vinum 
on 5.3.  We plan to use it as a Mirrored root filesystem So far we have 
followed Greg Lehey's instructions from

http://www.daemonnews.org/22/vinum.html
and the handbook on vinum:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-root.html
note we are only using a single / partition.
output of bsdlabel:
#size   offsetfstype   [fsize bsize bps/cpg]
  a: 141315997  20480004.2BSD 2048 16384 28552
  b:  2047719  281  swap
  c: 1433639970unused0 0 # raw part, 
don't edit
  h: 143363981   16 vinum

vinum Description File
drive rootdev device /dev/da0s1h
volume root
  plex org concat
  sd len 141315997s driveoffset 2047984s drive rootdev
volume swap
  plex org concat
  sd len 2047719s driveoffset 265s drive rootdev
We could not find stated exactly anywhere, but we are presuming the 
description file that you use with vinum create becomes /etc/vinum.conf

When we execute vinum create it appears to work fine.  The Devices are 
created in /dev/vinum/ and we can do a fsck -n -t ufs /dev/vinum/root 
which outputs no errors

The problem is when we reboot the devices in /dev/vinum are destroyed ( 
presume this is normal behaviour ) but they are not created on boot.

/boot/loader.conf
vinum_load=YES
vinum.autostart=YES
Have also tried /boot/loader.conf with:
vinum_load=YES
vinum.autostart=YES
vinum_root=root
vinum_drives=/dev/da0s1h
both with exactly the same result.  When booting we get the message
vinum: loaded
vinum: no drives found
any help much appreciated.
please cc me in replies.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Resolution problems

2004-09-20 Thread Fabian Keil
On Monday 20 September 2004 22:17, Tom Connolly wrote:

 I am currently running 4.10 with the latest version of xfree86.  My video
 card is an integrated ATI Rage Pro and I can't seem to get resolutions above
 800 X 600 (at least I think that's what it is).  I want 1280 x 1024 and I'm
 sure the hardware is capable of this.  I am using the generic ATI driver.
 Could this be my problem?  Any help would be greatly appreciated.

How do you try to change the resolution?
Do you just start xfree86 and hit [ctrl] [alt] [+] or have you modified 
/etc/X11/XF86Config?

Any error messages in /var/log/XFree86.0.log?  

Regards
Fabian
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X.org performance?

2004-09-20 Thread Vulpes Velox
On Mon, 20 Sep 2004 17:56:52 +0200
Benjamin Walkenhorst [EMAIL PROTECTED] wrote:

 Hello,
 
 On Mon, 20 Sep 2004 19:40:30 +0530
 Subhro [EMAIL PROTECTED] wrote:
 
  cat /etc/make.conf
 
 
 PERL_VER=5.8.2
 PERL_VERSION=5.8.2
 PERL_ARCH=mach
 NOPERL=yo
 NO_PERL=yo
 NO_PERL_WRAPPER=yo
 
 CPUTYPE=athlon-mp
 
 CFLAGS+= -O2 -pipe
 X_WINDOW_SYSTEM=xorg
 
 
 But like I said, I think I chose the wrong words - 
 X.org does not perform poorly, it's just that it sometimes will
 use lots of CPU, and I am under the impression it does even more so
 than XFree did.
 Or is it just my perception kidding me?

Try reworking a lot of thinks with out the -O2 flag. I've seen massive
breakage caused by them, with little or no noticeable speed gain.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cron not running my command?

2004-09-20 Thread Günther Dippe
'My' webalizer is in /usr/local/bin/ but then I use FBSD 5.1.
Try with specifying where you have the configuration file
( -c  path-to-config-file-and-filename).
Eg. /usr/local/bin/webalizer -c /usr/local/www/conf/webalizer.conf
I use it in a shell script and it works fine.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need help with dying drive/restoring data

2004-09-20 Thread Jonathon McKitrick

Okay, I found that the fixit disk is able to mount the filesystem on the
dying drive.  But I have a couple of problems.

1.  Since this is a laptop (no CD-R or other mass storage besides the drive)
I need a way to get a few big tarballs made and sent elsewhere.  I don't
think a floppy will work.  I have a parallel port zip drive I will try
tomorrow.  I can't figure out how to get my wi interface up.  I loaded the
kld, inserted the card and heard it beep, but no interface shows up, or at
least pccardd didn't load it correctly.  Not sure what to do next.

2.  My /usr partition is on slice ad0s1g, but mount on the fixit disk
doesn't recognize that device.  How can I mount this slice?

jm
--
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SCSI Shock Advice !

2004-09-20 Thread Graham Bentley

Hi All,

Need some quick advice on the following.

I recently added an Adaptec 29160N 
card and an IBM SCSI disc to my server
box which previously had just an IDE
disc.

I cloned the disc using G4U
http://www.feyrer.de/g4u/

and set SCSI as the first boot device
in the BIOS (disabled 2nd,3rd,4th choices)

So, now I can boot the kernel however
mounts are still referencing the IDE disc
so the system is still using the file system
on that.

I need to use the file system on the SCSI
disc.

Is this just a case of changing FSTAB ?
Or, are there more edits to make ?

Also, I have to fess up . . . .

When I was about to install the new drive
which was sitting on top of the system 
box I tilted the box to move the disc
access LED lead onto the SCSI card.
My nice new SCSI disc slid off and
hit the MDF worktop - Agh !

I reckon the drop height was about
14 ~ do you think this would have
exceed the G Force limit and invalidated
my warranty / casued any damage ?

The reason for asking is that I never really
got up close and personal with a SCSI disc
before and it does make some odd noises?

Currently there is a frequent one every so
often - its two freequencies that last
about a second or two each.

I have heard many an IDE controller go
ticky and its nothing like that - sounds
more like some kind of self test or something
although its fairly frequent.

Also, G4U didnt finish nicely as the SCSI
is 36GB and the IDE a 40GB - however the
system boots ok - guess I havent even
used the FS on it yet though . . .

Are there any tests I can do like a surface
scan etc ?

Any comments appreciated !

Graham


Custom PC North West
Open Source Solutions
http://www.cpcnw.co.uk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Resolution problems

2004-09-20 Thread Kevin D. Kinsey, DaleCo, S.P.
Tom Connolly wrote:
Hello list,
I am currently running 4.10 with the latest version of xfree86.  My video
card is an integrated ATI Rage Pro and I can't seem to get resolutions above
800 X 600 (at least I think that's what it is).  I want 1280 x 1024 and I'm
sure the hardware is capable of this.  I am using the generic ATI driver.
Could this be my problem?  Any help would be greatly appreciated.
 

What Sync/Refresh rates do you have for your monitor in xf86config?
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SCSI Shock Advice !

2004-09-20 Thread Jerry McAllister
 
 Hi All,
 
 Need some quick advice on the following.
 
 I recently added an Adaptec 29160N 
 card and an IBM SCSI disc to my server
 box which previously had just an IDE
 disc.
 
 I cloned the disc using G4U
 http://www.feyrer.de/g4u/
 
 and set SCSI as the first boot device
 in the BIOS (disabled 2nd,3rd,4th choices)
 
 So, now I can boot the kernel however
 mounts are still referencing the IDE disc
 so the system is still using the file system
 on that.
 
 I need to use the file system on the SCSI
 disc.
 
 Is this just a case of changing FSTAB ?
 Or, are there more edits to make ?

I don't know about the rest of your possible problem - eg bouncing
it on the bench, but you have to correctly reference the devices
for the disk.   IDE drivea are ad. and SCSI drives are da.
eg the first IDE disk, first slice and partition a would be /dev/ad0s1a
and the first SCSI, first slice, partition a would be /dev/da0s1a

Make a mount point and then you can hand mount it or 
make an entry in /etc/fstab for it and do mount -a .

If you are FreeBSD 4.xxx or earlier you may need to to 
a MAKEDEV in the /dev/directory for the device 
cd /dev
./MAKEDEV da0or da4 or whatever number it is.
but, if you only have one SCSI disk, that much should already be there.  
If you are running 5.xxx, then the dev should be created automagically.

If you get it right and the disk is working correctly, then
that should be all you need - nothing else to edit.  
(Odd grinding noises are not normal for SCSI disks)

jerry

 Also, I have to fess up . . . .
 
 When I was about to install the new drive
 which was sitting on top of the system 
 box I tilted the box to move the disc
 access LED lead onto the SCSI card.
 My nice new SCSI disc slid off and
 hit the MDF worktop - Agh !
 
 I reckon the drop height was about
 14 ~ do you think this would have
 exceed the G Force limit and invalidated
 my warranty / casued any damage ?
 
 The reason for asking is that I never really
 got up close and personal with a SCSI disc
 before and it does make some odd noises?
 
 Currently there is a frequent one every so
 often - its two freequencies that last
 about a second or two each.
 
 I have heard many an IDE controller go
 ticky and its nothing like that - sounds
 more like some kind of self test or something
 although its fairly frequent.
 
 Also, G4U didnt finish nicely as the SCSI
 is 36GB and the IDE a 40GB - however the
 system boots ok - guess I havent even
 used the FS on it yet though . . .
 
 Are there any tests I can do like a surface
 scan etc ?
 
 Any comments appreciated !
 
 Graham
 
 
 Custom PC North West
 Open Source Solutions
 http://www.cpcnw.co.uk
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Resolution problems

2004-09-20 Thread Tom Connolly
I have the resolutions in XF86Config and I've tried using ctrl + alt +
[+/-].  It will only allow 2 resolutions.  I have several in the XF86Config
file.  I haven't checked the log file you mentioned but I will do so.
Actually, as I am new to FreeBSD (UNIX altogether) I didn't realize it
existed.

Thanks Fabian,
Thomas

-Original Message-
From: Fabian Keil [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 20, 2004 3:15 PM
To: [EMAIL PROTECTED]
Cc: Tom Connolly
Subject: Re: Resolution problems

On Monday 20 September 2004 22:17, Tom Connolly wrote:

 I am currently running 4.10 with the latest version of xfree86.  My video
 card is an integrated ATI Rage Pro and I can't seem to get resolutions
above
 800 X 600 (at least I think that's what it is).  I want 1280 x 1024 and
I'm
 sure the hardware is capable of this.  I am using the generic ATI driver.
 Could this be my problem?  Any help would be greatly appreciated.

How do you try to change the resolution?
Do you just start xfree86 and hit [ctrl] [alt] [+] or have you modified
/etc/X11/XF86Config?

Any error messages in /var/log/XFree86.0.log?  

Regards
Fabian

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Resolution problems

2004-09-20 Thread Tom Connolly
My Sync/Refresh rates are consistent with my monitor documentation but
offhand, I'm not sure what they are. I will check when I get on my box.

-Original Message-
From: Kevin D. Kinsey, DaleCo, S.P. [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 20, 2004 3:58 PM
To: Tom Connolly
Cc: FreeBSD_Questions
Subject: Re: Resolution problems

Tom Connolly wrote:

Hello list,

I am currently running 4.10 with the latest version of xfree86.  My video
card is an integrated ATI Rage Pro and I can't seem to get resolutions
above
800 X 600 (at least I think that's what it is).  I want 1280 x 1024 and I'm
sure the hardware is capable of this.  I am using the generic ATI driver.
Could this be my problem?  Any help would be greatly appreciated.
  


What Sync/Refresh rates do you have for your monitor in xf86config?

Kevin Kinsey

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need help with dying drive/restoring data

2004-09-20 Thread Jerry McAllister
 
 
 Okay, I found that the fixit disk is able to mount the filesystem on the
 dying drive.  But I have a couple of problems.
 
 1.  Since this is a laptop (no CD-R or other mass storage besides the drive)
 I need a way to get a few big tarballs made and sent elsewhere.  I don't
 think a floppy will work.  I have a parallel port zip drive I will try
 tomorrow.  I can't figure out how to get my wi interface up.  I loaded the
 kld, inserted the card and heard it beep, but no interface shows up, or at
 least pccardd didn't load it correctly.  Not sure what to do next.

Can you plug in a direct ethernet line and transfer stuff somewhere
if you can't get the wireless to go?
 
 2.  My /usr partition is on slice ad0s1g, but mount on the fixit disk
 doesn't recognize that device.  How can I mount this slice?

Possibly it is now showing up as a different number drive
such as may no longer disk 0, but disk 1 - as in ad1s1g.
Just a wild guess.

jerry

ps, You don't mount the slice.  You mount the device - actually the 
file system in the partition which you are identifying as 'g' which 
is in slice '1' on disk 0 (unless it has renumbered the disk to '1' or 
something).
 - just clarifying terminology.
/jrm

 
 jm
 --
 My other computer is your Windows box.
 ___
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


I've got a Intel Pro 100 ve network card to work on a new Dell 4700 - Freebsd 5.2.1

2004-09-20 Thread Huw Wynn-Jones
Hello,

I'm posting to this list because I'm not sure who else I should send this info 
to. I'd be grateful if someone would let me know the correct procedure.

I've got a new Dell 4700 with P4 2.8 chip on a motherboard with the new Intel 
915G Express chipset. It has an intergrated network card, the Intel Pro 100 
VE, but it didn't work straight out of the box when I installed Freebsd 
5.2.1. I did loads of searches on google and eventually found a post 
somewhere giving me an example of what to do. Now the card is detected at 
boot and works just fine.

So below is the result. I have added a new line 
to /usr/src/sys/dev/fxp/if_fxp.c 

The new line is marked with +

/*
 * Claim various Intel PCI device identifiers for this driver.  The
 * sub-vendor and sub-device field are extensively used to identify
 * particular variants, but we don't currently differentiate between
 * them.
 */
static struct fxp_ident fxp_ident_table[] = {
{ 0x1029, -1, Intel 82559 PCI/CardBus Pro/100 },
{ 0x1030, -1, Intel 82559 Pro/100 Ethernet },
{ 0x1031, -1, Intel 82801CAM (ICH3) Pro/100 VE Ethernet },
{ 0x1032, -1, Intel 82801CAM (ICH3) Pro/100 VE Ethernet },
{ 0x1033, -1, Intel 82801CAM (ICH3) Pro/100 VM Ethernet },
{ 0x1034, -1, Intel 82801CAM (ICH3) Pro/100 VM Ethernet },
{ 0x1035, -1, Intel 82801CAM (ICH3) Pro/100 Ethernet },
{ 0x1036, -1, Intel 82801CAM (ICH3) Pro/100 Ethernet },
{ 0x1037, -1, Intel 82801CAM (ICH3) Pro/100 Ethernet },
{ 0x1038, -1, Intel 82801CAM (ICH3) Pro/100 VM Ethernet },
{ 0x1039, -1, Intel 82801DB (ICH4) Pro/100 VE Ethernet },
{ 0x103A, -1, Intel 82801DB (ICH4) Pro/100 Ethernet },
{ 0x103B, -1, Intel 82801DB (ICH4) Pro/100 VM Ethernet },
{ 0x103C, -1, Intel 82801DB (ICH4) Pro/100 Ethernet },
{ 0x103D, -1, Intel 82801DB (ICH4) Pro/100 VE Ethernet },
{ 0x103E, -1, Intel 82801DB (ICH4) Pro/100 VM Ethernet },
{ 0x1050, -1, Intel 82801BA (D865) Pro/100 VE Ethernet },
{ 0x1059, -1, Intel 82551QM Pro/100 M Mobile Connection },
+ { 0x1064,   -1, Intel Pro 100 VE Ethernet }, +This is new 
{ 0x1209, -1, Intel 82559ER Embedded 10/100 Ethernet },
{ 0x1229, 0x01, Intel 82557 Pro/100 Ethernet },
{ 0x1229, 0x02, Intel 82557 Pro/100 Ethernet },
{ 0x1229, 0x03, Intel 82557 Pro/100 Ethernet },
{ 0x1229, 0x04, Intel 82558 Pro/100 Ethernet },
{ 0x1229, 0x05, Intel 82558 Pro/100 Ethernet },
{ 0x1229, 0x06, Intel 82559 Pro/100 Ethernet },
{ 0x1229, 0x07, Intel 82559 Pro/100 Ethernet },
{ 0x1229, 0x08, Intel 82559 Pro/100 Ethernet },
{ 0x1229, 0x09, Intel 82559ER Pro/100 Ethernet },
{ 0x1229, 0x0c, Intel 82550 Pro/100 Ethernet },
{ 0x1229, 0x0d, Intel 82550 Pro/100 Ethernet },
{ 0x1229, 0x0e, Intel 82550 Pro/100 Ethernet },
{ 0x1229, 0x0f, Intel 82551 Pro/100 Ethernet },
{ 0x1229, 0x10, Intel 82551 Pro/100 Ethernet },
{ 0x1229, -1, Intel 82557/8/9 Pro/100 Ethernet },
{ 0x2449, -1, Intel 82801BA/CAM (ICH2/3) Pro/100 Ethernet },
{ 0, -1, NULL },
};

I have named it rather generally because I couldn't find any other better 
identifiers.

Once I recompiled a new kernel the card was detected and ifconfig confirmed 
everything to be ok.

I hope this can be added to the source of CURRENT so that others with a new 
computer like mine won't have the same weekend's worth of frustration. Still 
I got there in the end...almost bought a new network card...persistance pays 
off I suppose.

Long subject line I know, but the post should come straight up in google like 
that for another lost soul like me.

Thanks

Huw

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need help with dying drive/restoring data

2004-09-20 Thread Jonathon McKitrick
On Mon, Sep 20, 2004 at 06:19:06PM -0400, Jerry McAllister wrote:
:  
:  
:  Okay, I found that the fixit disk is able to mount the filesystem on the
:  dying drive.  But I have a couple of problems.
:  
:  1.  Since this is a laptop (no CD-R or other mass storage besides the drive)
:  I need a way to get a few big tarballs made and sent elsewhere.  I don't
:  think a floppy will work.  I have a parallel port zip drive I will try
:  tomorrow.  I can't figure out how to get my wi interface up.  I loaded the
:  kld, inserted the card and heard it beep, but no interface shows up, or at
:  least pccardd didn't load it correctly.  Not sure what to do next.
: 
: Can you plug in a direct ethernet line and transfer stuff somewhere
: if you can't get the wireless to go?

Yes, if I can get a regular ed0 device to work.

: ps, You don't mount the slice.  You mount the device - actually the 
: file system in the partition which you are identifying as 'g' which 
: is in slice '1' on disk 0 (unless it has renumbered the disk to '1' or 
: something).

I guess I don't know exactly how this works.  I thought if I mounted the
device it would mount all the partitions.  But I cannot get to the /usr
directory.



jm
--
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


k3b cannot locate growisofs executable

2004-09-20 Thread BSDjunkie
FreeBSD users:

I have yet another question

I installed k3b for cd/dvd burning, however whenever I
try to burn a DVD, I get the error message:

'unable to find growisofs executable'

It's in /usr/local/bin and '/usr/local/bin' is in the
paths that k3b searches...

I tried pkg_delete dvd+rw-tools, then I did a
portinstall sysutils/dvd+rw-tools (from /usr/ports
directory) to reinstall it.

Just can't make k3b find itall other executables
and plugins that it needs are present and have the
green check next to them in the 'programs' section of
the configuration.

I'm using k3b.0.11.12 with kde 3.2.3

When I type in the commandline growisofs --version, I
get:
rowisofs by [EMAIL PROTECTED], version 5.21

Any pointers, as always are appreciated...

Maybe reinstall k3b ? 

Thanks for listening

Mark Withers

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Samba 'make install' chokes on textproc/expat2 now openldap - FreeBSD

2004-09-20 Thread W. D.
At 23:47 9/19/2004, W. D. wrote:
At 14:24 9/19/2004, [EMAIL PROTECTED], wrote:
Personally, unless one has great need not to, I highly recommend upgrading
to samba3 to start with. The perfomance gains alone I found well worth it.
Plus if you plan to integrate into a network with 2k/XP/2K3, it will greatly
improve compatibility.

OK.  I tried to install samba 3.0.7,1.  Got the same error:

===
textproc/expat2 is already installed - perhaps an older version?
If so, you may wish to `make deinstall' and install
this port again by `make reinstall' to upgrade it properly.
If you really wish to overwrite the old port of textproc/expat2
without deleting it first, set the variable FORCE_PKG_REGISTER
in your environment or the make install command line.
===

So, I went to:
/usr/ports/textproc/expat2/ 

and entered:
'make deinstall'

then entered:
'make reinstall'

That seemed to work.  So I went back to:
/usr/ports/net/samba3/

and again entered:
'make install'

Got another error:
~~
===   samba-3.0.7,1 depends on shared library: ldap-2.2.7 - not found
===Verifying install for ldap-2.2.7 in /usr/ports/net/openldap22-client
=

You can build openldap-client-2.2.15 with the following options:

WITH_SASL with (Cyrus) SASL2 support

=

Dependency warning: used OpenSSL version contains known vulerabilities
Please update or define either WITH_OPENSSL_BASE or WITH_OPENSSL_PORT
*** Error code 1

Stop in /usr/prts/net/openldap22-client.
*** Error code 1

Stop in /usr/ports/net/samba3.
~~

OK.  I Googled for this problem with all sorts of variations
of keywords, and nothing showed that would point me in the 
right direction.

What is the simple way to get past this and install Samba

Just before the first *** Error code 1 is a hint where
something was wrong.  OpenLDAP never got compiled.  The
reason it didn't was because OpenSSL wasn't installed. I
finally figured this out by doing: 'pkg_info'.  

My understanding is that the way that FreeBSD is designed,
this isn't supposed to happen.  Rather, if a dependency
doesn't exist, it will automatically be built.  Does
this mean that the OpenLDAP port for FreeBSD needs tweaking?

In any case, I went to: /usr/ports/security/openssl/ and
did a 'make install'.  That worked, so I went back to
/usr/ports/net/samba3/ did a 'make install' and it worked
this time.


Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: XF86(mis)Config Keyboard

2004-09-20 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 20 September 2004 21:55, Florian Hengstberger wrote:
 Hi!

 I?m new to FreeBSD, so I tried a fully graphical
 X setup but as the keyboard settings were not okay,
 I copied the keyboard section from an existing
 Linux XF86Config file (same system).
 Neither the pipe sign nor the delete button
 work! Instead of the deleting a tilde is pasted,
 pressing the pipe sign takes no effect, the same is true
 with all other signs (greater than, less than) of this button.
 What?s wrong?

 Section Input Device
 Driver Keyboard
 Option Protocol Standard
 Option XkbLayout de
 Option XkbModell pc105
 Option XkbRules xfree86
 Option XkbVariant nodeadkeys
 EndSection

 My keyboard is a standard device (Vendor: Trust),
 I?m working with the 5.2 release.
 The funny thing about this is, that everything works fine
 in the text console!


Try to add some lines to your config files: 

~/.cshrc:
 setenv LANG en_US.ISO8859-15

~/.shrc:
 LANG=en_US.ISO8859-15

~/.login_conf:
 me:\
:charset=iso-8859-15:\
:lang=en_US.ISO8859-15:\

This works for me - if you use german language apps replace en_US.ISO8859-15 
by de_DE.ISO8859-15. You can find some more infos in 'man setlocale' and 
'man environ'. To display your current locale settings use the command 
'locale'.

Cheers,
ch

- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBT2K+09WjGjvKU74RAhGKAJ9JLsyEj0z/3MYYmiSil+3QQgrRNwCfaHsq
liukVOnvkfRCmcQsy6MaiiI=
=9ymB
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


reload rc.conf during boot process

2004-09-20 Thread Markie
Is it possible to do this somehow?

I was trying my hand out at C and made a cool little menu for myself. It
looks for files in /etc/ which are named rc.conf.x and lists them in
the menu. Then, when you select one on boot, it copies the selected
configuration file to rc.conf. I put my program in... the rc.d mount
script, so that the disk is mounted writeable at the time and my C program
is able to issue cp (bad way I know) to replace rc.conf. After running my
program in the rc.d mount script I then did a

. /etc/rc.conf

but rc.conf doesn't get reloaded. The file is being copied over, as when I
reboot it starts using the copied over configuration. I am not sure if .
/etc/rc.conf is supposed to load a file in? I just saw it in some other
script and assumed that's what it was doing.

Thanks in advance

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


phpMyAdmin problem

2004-09-20 Thread digish reshamwala
Hey..

I have FreeBSD 5.2.1
with
Apache 1.3.29 (modssl), 
MySQL 2.0.18
PHP 4.3.8

I have also generated self-signed Certificate using OpenSSL as per-
http://slacksite.com/apache/certificate.html

and now 
I am trying to install phpMyAdmin-2.5.7.1_1 using the ports, but I get the 
following error-


make install clean
===  Installing for phpMyAdmin-2.5.7.1_1
===   phpMyAdmin-2.5.7.1_1 depends on file: /usr/local/include/php/
main/php.h - found
===   phpMyAdmin-2.5.7.1_1 depends on file: /usr/local/lib/php/
20020429/bz2.so - found
===   phpMyAdmin-2.5.7.1_1 depends on file: /usr/local/lib/php/
20020429/gd.so - found
===   phpMyAdmin-2.5.7.1_1 depends on file: /usr/local/lib/php/
20020429/mysql.so - found
===   phpMyAdmin-2.5.7.1_1 depends on file: /usr/local/lib/php/
20020429/openssl.so - not found
===Verifying install for /usr/local/lib/php/20020429/openssl.so in /
usr/ports/security/php4-openssl
Dependency warning: used OpenSSL version contains known vulnerabilities
Please update or define either WITH_OPENSSL_BASE or WITH_OPENSSL_PORT
*** Error code 1

Stop in /usr/ports/security/php4-openssl.
*** Error code 1

Stop in /usr/ports/databases/phpmyadmin.


Any ideal how to solve this?  Please help me out?

Thanks a lot,
Macuser

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need help with dying drive/restoring data

2004-09-20 Thread Jerry McAllister
 
 On Mon, Sep 20, 2004 at 06:19:06PM -0400, Jerry McAllister wrote:
 :  
 :  
 :  Okay, I found that the fixit disk is able to mount the filesystem on the
 :  dying drive.  But I have a couple of problems.
 :  
 :  1.  Since this is a laptop (no CD-R or other mass storage besides the drive)
 :  I need a way to get a few big tarballs made and sent elsewhere.  I don't
 :  think a floppy will work.  I have a parallel port zip drive I will try
 :  tomorrow.  I can't figure out how to get my wi interface up.  I loaded the
 :  kld, inserted the card and heard it beep, but no interface shows up, or at
 :  least pccardd didn't load it correctly.  Not sure what to do next.
 : 
 : Can you plug in a direct ethernet line and transfer stuff somewhere
 : if you can't get the wireless to go?
 
 Yes, if I can get a regular ed0 device to work.
 
 : ps, You don't mount the slice.  You mount the device - actually the 
 : file system in the partition which you are identifying as 'g' which 
 : is in slice '1' on disk 0 (unless it has renumbered the disk to '1' or 
 : something).
 
 I guess I don't know exactly how this works.  I thought if I mounted the
 device it would mount all the partitions.  But I cannot get to the /usr
 directory.

Each partition is a device.If /usr is in its separate partition
then you will need to mount it separately.   If it is all in another
partition such as root (/) then you need to mount that device and
cd to the proper place. You seem to have chopped off the piece
that had the partition you were trying to mount from the previous
message, but I seem to remember something like ad0s1g.   So,
   cd /
   mkdir oldusr
   mount /dev/ad0s1g /oldusr 
should get you that device/partition mounted and would be
accessible starting at /oldusr.  

I am not real sure about creating the mount point that way with the 
fixit disk.  If it makes a filesystem in memory for root (/), it should 
work.   If not, it may be non-writable so you would have to use an 
existing mount point such as maybe /mnt if it isn't being used in some 
other way already.

  cd /
  ls -l   to see what dirs are hanging around
  cd /mnt  and look around if that one is there.  If it is empty, then
  cd /
  mount /dev/ad0s1g /mnt
  
Now, if the IDE disk order got shoved around, you may have to do
some looking.  It might be something like

  mount /dev/ad1s1g /mnt   or whatever it comes up as.

You may have to watch boot really closely to see what disk devices
are named.But, first try running   dmesg | more   to see if it
will tell you anything useful.   Look for IDE devices.   I don't know
if dmesg will work on a fisit boot though.  I have never tried it.

jerry

  

 
 
 
 jm
 --
 My other computer is your Windows box.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SCSI Shock Advice !

2004-09-20 Thread Graham Bentley

Thanks for replies, however I need advise
on cloning the IDE to the SCSI disc.

G4U did not finish correctly and once
I had made changes to fstab and booted
the fs I got some pretty severe errors.

/usr was inaccessible and I ended up 
using Freesbie to re-edit fstab to get
a booting system.

I think the problem is that the SCSI
disc is 38GB (only 1.7GB used) and
the IDE is 40GB.

What is the best / safest way to do
a dis clone in this case?

Thanks again

Graham


Custom PC North West
Open Source Solutions
http://www.cpcnw.co.uk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Automating FreeBSD Installation(s)...

2004-09-20 Thread Atle Veka

I put together a setup for work a while back that make OS installs
a breeze and avoids the problem of install differences (we used to do
manual installs by the way of step by step documentation).

Basically what it consists of is a stripped down kernel that supports
whatever hardware we may have, kern and mfsroot images for the
distribution in question, and an install.cfg sysinstall config. The
scripts either build floppy images for a new machine install that doesn't
require user input; or a FreeBSD package that you apply, reboot, and when
you log in again the system has a fresh FreeBSD install. The latter comes
in handy when reinstalling machines 4000 miles away without any remote
hands. :)

The sysinstall config lets you specify what type of install you want
(kernel source install, X install, etc) or you can build your own. You can
also add individual packages.

The setup has worked very well for us, a typical install/reinstall takes
about 5 minutes.


Atle
-
Flying Crocodile Inc, Unix Systems Administrator


On Sun, 19 Sep 2004 [EMAIL PROTECTED] wrote:

 Message: 16
 Date: Sat, 18 Sep 2004 16:11:06 -0400
 From: Forrest Aldrich [EMAIL PROTECTED]
 Subject: Automating FreeBSD Installation(s)...
 To: [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 I've read several articles out there that address different means to
 automate (or standardize, for internal purposes) FreeBSD
 installations.   One article (which was older) spoke of scripting
 sysinstall via an install.cfg with some custom pkg modules to do
 edits.   The other, exploiting the PXE capability of the newer (Intel) NICs.

 I'm interested in what people are doing now - what has had the better
 success rate, etc.I realize this is all dependent upon one's
 environment - mine will be more ISP-related, but will require some
 flexibility for different servers.

 I've also heard of people utilizing GNU CFEngine for this type of
 procedure, which I find interesting - it's a complex package, but seems
 to be very functional if you have time/patience to apply it.


 Thanks...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Resolution problems

2004-09-20 Thread Warren Block
On Mon, 20 Sep 2004, Tom Connolly wrote:
I am currently running 4.10 with the latest version of xfree86.  My video
card is an integrated ATI Rage Pro and I can't seem to get resolutions above
800 X 600 (at least I think that's what it is).  I want 1280 x 1024 and I'm
sure the hardware is capable of this.  I am using the generic ATI driver.
Could this be my problem?  Any help would be greatly appreciated.
How much video RAM does it have?  If it's only 2M, there's not enough to 
run 1280x1024 at the default 24-bit depth.  If you have 4M, ignore this. 
If not, try explicitly setting

  DefaultDepth 16
in your Screen section, just before any Display subsections.
-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fatal Trap 12: page fault while in kernel mode

2004-09-20 Thread Jonathan T. Sage
Attempting to do hardware upgrades.  alas, since I dropped in a new 
motherboard / processor combo, I get (hand transposed):

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x5e
fault code  = supervisor write, page no present
instruction pointer = 0x8:0xc062d6e1
stack pointer   = 0x10:0xe0f03b7c
frame pointer   = 0x10:0xe0f03b7c
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 45 (syncer)
trap number = 12
panic: page fault
this is not a debug kernel.  In fact, this latest one occurred while I 
was attempting to build said debug kernel.  Single user mode, 5.x as of 
right around 5.3-BETA2 tag, may have been close to 5.3-BETA3.

Any more info I can provide, gonna keep attempting to build the debug 
kernel, hope that one of these attempts it will finish before the panic 
(seems to be happening withing 15min of boot)

I'm just totally dead in the water at this point..  ideas please?
thanks ~j
--
Jonathan T. Sage
Theatrical Lighting / Set Designer
Professional Web Design
He said he likes me, but he's not in-like with me.- Connie, King of 
the Hill

[HTTP://www.JTSage.com]
[HTTP://design.JTSage.com]
[EMAIL PROTECTED]
[See Headers for Contact Info]


signature.asc
Description: OpenPGP digital signature


Re: Resolution problems

2004-09-20 Thread horio shoichi
On Mon, 20 Sep 2004 14:17:12 -0600
Tom Connolly [EMAIL PROTECTED] wrote:
 Hello list,
 
 I am currently running 4.10 with the latest version of xfree86.  My video
 card is an integrated ATI Rage Pro and I can't seem to get resolutions above
 800 X 600 (at least I think that's what it is).  I want 1280 x 1024 and I'm
 sure the hardware is capable of this.  I am using the generic ATI driver.
 Could this be my problem?  Any help would be greatly appreciated.
 
  
 
 Thank you,
 
  
 
 Thomas
 
  
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Not the answers but hints for display resolution problems.


Google with 'VideoModes.doc' ; will lead you to Eric Raymond's famous tutorial.

If that's not enough google with 'Eric Raymond diplay resolution' ; same
but with more examples.


horio shoichi

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Multihead Consoles in FreeBSD?

2004-09-20 Thread Greg 'groggy' Lehey
On Monday, 20 September 2004 at  8:57:34 +0545, Dr. Sichendra Bista wrote:
 On Mon, 20 Sep 2004 12:08:02 +0930, Greg 'groggy' Lehey
 [EMAIL PROTECTED] wrote:
 On Sunday, 19 September 2004 at 20:20:08 +0545, Dr. Sichendra Bista wrote:
 I would love to explore if there are some people around who are
 working on or created multihead consoles in FreeBSD as stated at
 http://www.c3sl.ufpr.br/fourhead or http://startx.times.lv. (Please
 visit the links before

 I'm writing this from in front of seven displays.  See
 http://www.lemis.com/grog/hardware.html for an older photo with only
 five monitors, also with a description of how I did it.

 If I remeber right, are you referring to a keyboard and mouse
 sharing utility like synergy.sf.net?

Difficult to say, since this web page is empty.  As it says in the
link above, I'm using x2x to connect between the machines.  X handles
the keyboard and mouse by itself on a single machine.

Greg
--
See complete headers for address and phone numbers.


pgp07Axv0mWrW.pgp
Description: PGP signature


Re: Multihead Consoles in FreeBSD?

2004-09-20 Thread Greg 'groggy' Lehey
[redirecting to -questions]

On Monday, 20 September 2004 at 21:12:31 +0545, Dr. Sichendra Bista wrote:
 On Mon, 20 Sep 2004 08:57:34 +0545, Dr. Sichendra Bista
 [EMAIL PROTECTED] wrote:
 On Mon, 20 Sep 2004 12:08:02 +0930, Greg 'groggy' Lehey
 [EMAIL PROTECTED] wrote:
 On Sunday, 19 September 2004 at 20:20:08 +0545, Dr. Sichendra Bista wrote:
 I would love to explore if there are some people around who are
 working on or created multihead consoles in FreeBSD as stated at
 http://www.c3sl.ufpr.br/fourhead or http://startx.times.lv. (Please
 visit the links before

 I'm writing this from in front of seven displays.  See
 http://www.lemis.com/grog/hardware.html for an older photo with only
 five monitors, also with a description of how I did it.

 If I remeber right, are you referring to a keyboard and mouse sharing
 utility like synergy.sf.net?

 Sorry that was a wrong link. I think your system may be just like this link:

 http://synergy2.sourceforge.net/

Ah, that's better.  No, x2x is much simpler.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgpfQkGoe2c6v.pgp
Description: PGP signature


Re: phpMyAdmin problem

2004-09-20 Thread pete wright
On Mon, 20 Sep 2004 16:26:11 -0700, digish reshamwala [EMAIL PROTECTED] wrote:
 Dependency warning: used OpenSSL version contains known vulnerabilities
 Please update or define either WITH_OPENSSL_BASE or WITH_OPENSSL_PORT
 *** Error code 1
 
 Stop in /usr/ports/security/php4-openssl.
 *** Error code 1
 
 Stop in /usr/ports/databases/phpmyadmin.
 
 
 Any ideal how to solve this?  Please help me out?

Have you tried to define WITH_OPENSSL_BASE or WITH_OPENSSL_PORT as
the error message states?  I assume the version of OpenSSL you have
installed is out of date and may need to be upgraded.

HTH
 -pete
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vinum software raid as boot drive

2004-09-20 Thread Greg 'groggy' Lehey
On Tuesday, 21 September 2004 at  9:13:23 +1200, Bruce Harding wrote:
 We are currently trying to set up server with software raid using vinum
 on 5.3.  We plan to use it as a Mirrored root filesystem So far we have
 followed Greg Lehey's instructions from

 http://www.daemonnews.org/22/vinum.html

 and the handbook on vinum:

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-root.html

 note we are only using a single / partition.

 ...

 We could not find stated exactly anywhere, but we are presuming the
 description file that you use with vinum create becomes
 /etc/vinum.conf

Well, you need to call it that.  The name isn't critical, but it's a
good choice.

 When we execute vinum create it appears to work fine.  The Devices are
 created in /dev/vinum/ and we can do a fsck -n -t ufs /dev/vinum/root
 which outputs no errors

 The problem is when we reboot the devices in /dev/vinum are destroyed (
 presume this is normal behaviour ) but they are not created on boot.

Take a look at http://www.vinumvm.org/vinum/how-to-debug.html.  It
might help; otherwise supply the information asked for there.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpKQBjXUSjh4.pgp
Description: PGP signature


need help: install jdk14

2004-09-20 Thread Chiang Seng Chang
hi,
the error:
 Checksum OK for rpm/libstdc++-2.96-112.7.1.i386.rpm.
===  Patching for linux_base-7.1_7
===   linux_base-7.1_7 depends on executable: rpm - found
===  Configuring for linux_base-7.1_7
===  Installing for linux_base-7.1_7
===  linux_base-7.1_7 conflicts with installed package(s):
  linux_base-debian-3.0.23_1
  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1
Stop in /usr/ports/emulators/linux_base.
*** Error code 1
Stop in /usr/ports/java/linux-sun-jdk14.
*** Error code 1
Stop in /usr/ports/java/jdk14.
pkg_info | grep linux:
linux_base-debian-3.0.23_1 Debian base set for the Linux mode
pkgtools.conf:
 ALT_PKGDEP = {
'emulators/linux_base' = 'emulators/linux_base-debian',
 }
i'm at wits end, pls help.
-cs
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need help: install jdk14

2004-09-20 Thread BSDjunkie

--- Chiang Seng Chang [EMAIL PROTECTED] wrote:

 hi,
 
 the error:
 
   Checksum OK for
 rpm/libstdc++-2.96-112.7.1.i386.rpm.
 ===  Patching for linux_base-7.1_7
 ===   linux_base-7.1_7 depends on executable: rpm -
 found
 ===  Configuring for linux_base-7.1_7
 ===  Installing for linux_base-7.1_7
 ===  linux_base-7.1_7 conflicts with installed
 package(s):
linux_base-debian-3.0.23_1
They install files into the same place.
Please remove them first with pkg_delete(1).
 *** Error code 1
 Stop in /usr/ports/emulators/linux_base.
 *** Error code 1
 Stop in /usr/ports/java/linux-sun-jdk14.
 *** Error code 1
 Stop in /usr/ports/java/jdk14.
 

Chiang,

Been there myself.

You need to load a kernel module:

kldload linprocfs.ko

and then mount the linux process file system.

I have in my /etc/fstab:

linprocfs   /compat/linux/proc   linprocfs
  rw 0   0

(the above should only be on one line)

After mounting the linprocfs and doing a 'make clean',
then recompiling I was able to get java installed.

I know it takes a long time to compile...but it was
the only way that I could get it to work myself.

Hope this helps,

Mark Withers
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need help: install jdk14

2004-09-20 Thread Chiang Seng Chang
i think i have those already.
kldstat:
Id Refs AddressSize Name
 1   11 0xc040 35c3d8   kernel
 21 0xc075d000 50dbcacpi.ko
 31 0xc3e97000 6000 linprocfs.ko
 41 0xc3ea5000 19000linux.ko
 51 0xc41b6000 4000 if_tun.ko
/etc/fstab:
/dev/ad0s1a / ufs rw 1 1
/dev/ad0s2b none swap sw 0 0
/dev/ad0s3d /home ufs rw 2 2
proc /proc procfs rw 0 0
linproc /compat/linux/proc linprocfs rw 0 0
mount:
/dev/ad0s1a on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
/dev/ad0s3d on /home (ufs, local, soft-updates)
procfs on /proc (procfs, local)
linprocfs on /compat/linux/proc (linprocfs, local)
i am using:
portupgrade -vN java/jdk14
also tried:
portinstall -v java/jdk14
btw, running 5.2.1
-cs
BSDjunkie wrote:
--- Chiang Seng Chang [EMAIL PROTECTED] wrote:

hi,
the error:
 Checksum OK for
rpm/libstdc++-2.96-112.7.1.i386.rpm.
===  Patching for linux_base-7.1_7
===   linux_base-7.1_7 depends on executable: rpm -
found
===  Configuring for linux_base-7.1_7
===  Installing for linux_base-7.1_7
===  linux_base-7.1_7 conflicts with installed
package(s):
  linux_base-debian-3.0.23_1
  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1
Stop in /usr/ports/emulators/linux_base.
*** Error code 1
Stop in /usr/ports/java/linux-sun-jdk14.
*** Error code 1
Stop in /usr/ports/java/jdk14.

Chiang,
Been there myself.
You need to load a kernel module:
kldload linprocfs.ko
and then mount the linux process file system.
I have in my /etc/fstab:
linprocfs   /compat/linux/proc   linprocfs
  rw 0   0
(the above should only be on one line)
After mounting the linprocfs and doing a 'make clean',
then recompiling I was able to get java installed.
I know it takes a long time to compile...but it was
the only way that I could get it to work myself.
Hope this helps,
Mark Withers
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >