Re: ASUS A7N8X's 3Com chip / Sil 3112

2003-12-15 Thread Gautham Ganapathy
On Saturday, December 13, 2003 4:37 PM, anubis wrote:

 On Thu, 11 Dec 2003 08:25 pm, Gautham Ganapathy wrote:
  Hi,
 
  Will FreeBSD 5.2 (RC1, 2 or RELEASE) support the 3Com 3C90x based n/w
  controller (Broadcom PHY) present on the A7N8X Deluxe motherboard?
 
  Also, will there be a driver for the Sil 3112 SATA driver?
 
  Thanx and Regards
  Gautham

 I have that board and have the 3com nic working under 5.1 so i assume that
it
 will work under 5.2
 The sound also works
 Dont know about the sata though.


Thanx. I'll try it out. I did have some problems installing 5.1-RELEASE
(problems reading the CD drive; the kernel would panic) and went back to
4.7-RELEASE. Hopefully, 5.2 won't give these problems.

Regards
Gautham

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


ppp filters don't work

2003-12-15 Thread Aleksey Ovcharenko
Hi, all!

I have a troubles trying to setup ppp fitlers.

I compiled kernel include following lines:

pseudo-device   ppp 10  #Point-to-point protocol
options PPP_BSDCOMP #PPP BSD-compress support
options PPP_DEFLATE #PPP zlib/deflate/gzip support
options PPP_FILTER  #enable bpf filtering (needs bpf)

options IPFIREWALL  #firewall
options IPFIREWALL_VERBOSE  #enable logging to syslogd(8)
options IPFIREWALL_VERBOSE_LIMIT=100#limit verbosity
options IPFIREWALL_FORWARD  #enable transparent proxy support
options IPFW2   # enable ipfw2

Create section like

test:
 set filter out 0 permit 0 0
 set filter in  0 permit 0 0

in /etc/ppp/ppp.linkup.

After connection established I can see message set filter in ppp.log and using 
pppctl show me same rules active.

But they don't work. The only ipfw rules.

I setup nat via ipfw add divert natd ...
If I enable connection by ipfw it works fine, ppp filter seems to be ignored.

I'll glad to see any suggestion, please.

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


Benchmarks FreeBSD 4.9./5.1 - contra - Linux kernel 2.4/2.6

2003-12-15 Thread Theo


http://bulk.fefe.de/scalability/index.html


Imprvoments perhaps here:


http://www.fsmlabs.com/products/rtcorebsd/



best regards Theo

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


usb 5.1

2003-12-15 Thread The MiP RvL
Hello

I'm using 5.1 on a toshiba portege 3020CT laptop.
Because of boot problems I've disabled acpi.

Whenever I boot with a usb device attached,
dmesgs gives a output that the port 1 is disabled.
If I remove the usb device the system hangs and the only thing I can do is switch 
consoles.

If I attach a usb device after boot. The systeem freezes; I can't do anything 
afterwards.

I tried this with a usb tablet and a usb wi-fi adapter.

There is no output in /var/log/messages

Does anyone know what is causing this and how I can solve this?

Roland

ps. Please send answers to the list and to this e-mail address since I'm not 
subscribed to questions@

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


Informations.

2003-12-15 Thread Migliorin Carlo




I do not succeed to connect to me in order to unload the handbook .
what I must make?
best regards

Carlo Migliorin
Operational Support Unix - SAP Administrator 
SchlumbergerSema - Sema S.p.A. 
Viale Carlo Viola 76 
11026 Pont Saint Martin (AO) Italy
Tel.: + 390125810359
Fax: + 390125810375
E-mail : [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]
Group :   [EMAIL PROTECTED]

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


custom release - how to install non-GENERIC kernel?

2003-12-15 Thread Ilya Varlashkin
Hi All,

I'm trying to make custom release of FreeBSD with some default parameters
changed to match our local needs. I can modify GENERIC kernel config file,
produce patch and then use it during 'make release'. At the end I have
installation CD with custom kernel. However, I'd like to use one custom
kernel during installation (without FIREWALL option) and another one
to be installed for actual use (with FIREWALL enabled). How can I achieve
this?

Kind regards,
Ilya Varlashkin

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


Can't portupgrade textproc/libxml2: /var/db/pkg error

2003-12-15 Thread freebsd
Hi all,

I have FreeBSD 5.1-RELEASE installed.
When I try to portupgrade textproc/libxml2 I get the following error:

pkg_info: /var/db/pkg/gnome-2.4.0/+CONTENTS: No such file or directory

Actually, I've been trying to portupgrade some GNOME related ports and this
is a recurrent error.


ls /var/db/pkg/gnome-2.2.4.0 returns

+COMMENT
+DESC
+INSTALL
+MTREE_DIRS

I've also cvsup'd from marcuscom.com's repository and I get the same error.

I really don't remember having pkg_delete'd gnome-2.2.4.0, but I might
have.

How can I possibly fix this?

TIA and regards,

Augusto Jun Devegili

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


2 ip-addr for 1 netcard...

2003-12-15 Thread flux
How do I assign two IP addresses for one netcard?
Thank you.

-- 
Best regards,
 flux  mailto:[EMAIL PROTECTED]

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


Re: forwarding mail with sendmail

2003-12-15 Thread Lowell Gilbert
 take a look at 'man aliases' or google '.forward'  .forward is a file
 in your home directory that will forward all messages to the
 address(es) listed in that file.

'man forward' for the manual on .forward files...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Informations.

2003-12-15 Thread Lowell Gilbert
Migliorin Carlo [EMAIL PROTECTED] writes:

   I do not succeed to connect to me in order to unload the handbook .
   what I must make?

The handbook is available in many formats on the FreeBSD FTP site (or
any of its many mirrors).
  ftp://ftp.freebsd.org/pub/FreeBSD/doc/handbook/
To build it yourself, see the FreeBSD Documentation Project Primer
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 2 ip-addr for 1 netcard...

2003-12-15 Thread Toomas Aas
 How do I assign two IP addresses for one netcard?

read 'man ifconfig', especially the section about 'alias' parameter.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* I haven't lost my mind; I know exactly where I left it.

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


Re: 2 ip-addr for 1 netcard...

2003-12-15 Thread Dirk-Willem van Gulik


On Mon, 15 Dec 2003, flux wrote:

 How do I assign two IP addresses for one netcard?

Just use the command 'man ifconfig' and check out the section
on 'alias'. In general it is somethign like


vi /etc/rc.conf

and near

ifconfig_rl0=10.11.0.2/24

add things like

ifconfig_rl0_alias0=10.11.0.66/32
ifconfig_rl0_alias1=10.11.0.67/32
ifconfig_rl0_alias2=10.11.10.1/24

The manual equivalent is:

ifconfig fxp0 alias 1.2.3.4 netmask 255.255.255.255

to add an extra IP to the intel fxp0 card with IP address 1.2.3.4 which
must be inside the currently assigned netmask for that interface or

ifconfig fxp0 alias 1.2.5.4 netmask 255.255.255.0

to assign a second IP and submask.

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


identity using send-pr with dynamic address

2003-12-15 Thread Hanspeter Roth
Hello,

I have a system which has a dialup internet connection. That is it
has a different IP address and a different real hostname each time a
connection is established. Since it doesn't need any access from the
internet it only has a local hostname which has no meaning in the
internet.
Using mutt/sendmail I can send mail outbound using an address which
is located on a public server.
Using send-pr I can set a From: field. But sendmail can't forward
the message to an external smarthost since the local
username/hostname seems to be used (in the envelope?).
I only succeeded to send a problem report after setting the hostname
to the current public internet hostname (according the dialup IP
address).
Is there a better way to send prs from system with dynamic IP
address?

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


Re: 2 ip-addr for 1 netcard...

2003-12-15 Thread Jerry McAllister
 
 How do I assign two IP addresses for one netcard?
 Thank you.

Check out ifconfig(8) alias

if done in the rc.conf file or its children it would be something 
like the following because of the way network startup works.

ifconfig_xl0_alias0=147.39.62.11 netmask 255.255.255.255
ifconfig_xl0_alias1=147.39.62.12 netmask 255.255.255.255

The quotes must be there, the aliasnn numbers must each be unique
and the netmask must be as shown.   The ip addresses abobe, of course, 
are fiction and must be replaced with correct ones.

jerry

 
 -- 
 Best regards,
  flux  mailto:[EMAIL PROTECTED]
 
 ___
 [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: Sending email via PHP mail command in jail

2003-12-15 Thread Josh Paetzel
On Sun, Dec 14, 2003 at 07:52:39PM -0700, Brent Wiese wrote:
 I have a 4.9 system running various jails.
 
 My clients want to be able to send confirmation emails via PHP's mail()
 command.
 
 Postfix doesn't seem to install right in the jail.
 
 I found a program called mini-sendmail and compiled it to use a relay server
 I have... It works fine from command line, but terminates oddly when called
 from php.
 
 Any suggestions?
 
 I don't need an SMTP daemon running, just the ability to send confirmation
 messages. Like I mentioned above, I have a relay box I can use if the
 solution is something like mini-sendmail.
 
 Thanks,
 Brent
 
 

put SMTP = my.relay.mail.box into your /usr/local/etc/php.ini

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


Re: ipnat+ipfw + 3 gateways

2003-12-15 Thread Josh Paetzel
On Mon, Dec 15, 2003 at 08:15:33AM -0800, hugle wrote:
 btw, why should i use forward?
 cause system has ONE deufalt route, so if i nat via otehr interface,
 teh packets don't know to wwhch GW they have to go.
 
 So maybe i need to add default gateways to other interfaces ?
 
 so i have:
 default gw is 213.252.192.161
 and default gw for 213.252.192.142 is 213.252.192.141
 and deafult gw for 212.59.9.59 is 212.59.9.1
 

You can't have more than one default gateway on a FreeBSD box, but you
can add your own static routes.  That looks to me to be the direction 
to go. :)

Josh Paetzel

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


Re: gnome2-lite build fails

2003-12-15 Thread r t g tan
Hi Gautam,

Yes I've run use.perl port.

On Mon, Dec 15, 2003 at 09:57:04AM +1100, Gautam Gopalakrishnan wrote:
 On Sun, Dec 14, 2003 at 11:54:41PM +0100, r t g tan wrote:
  Hi,
  
  checking for minimum required perl version = 5.004... 5.00503
  checking for full perl installation... no
  configure error: Cannot find Config.pm or $Config{archlib}. A full
  perl installation is required.
 
 Have you run use.perl port after installing 5.8.2? 
 
 Gautam

-- 
robert t g tan


pgp0.pgp
Description: PGP signature


Re: ipnat+ipfw + 3 gateways

2003-12-15 Thread Tillman Hodgson
On Mon, Dec 15, 2003 at 07:25:21AM -0800, hugle wrote:
 now about this script.

Let's reduce this this to pseudo code to simplify the discussion:

map vlan0 from 192.168.0.0/16 ! to 192.168.0.0/16 (some ports) - (gw2)

map fxp0 from 192.168.0.0/16 ! to 192.168.0.0/16 (other ports) - (gw1)

map rl1 from 192.168.0.0/16 ! to 192.168.0.0/16 - (gw3)

 in MY opinion these rules should WORK. but as it seems, they don't

I assume that vlan0, fxp0 and rl1 are your *external* NICs?

I'll show what I have set up for comparison. I have two Internet
gateways and I do some source-routing by destination (not by port, as
you are trying to do). I'll leave out the IPFW traffic shaping for
simplicity. My ruleset is getting fairly complex these days ;-)

A bit of background: I bring in a /25 subnet across an OpenVPN tunnel
(where I run zebra/quagga OSPF routing ... some details at
http://www.rospa.ca/projects/). In order for me to use these additional
IPs on my internal network, I need to ensure that my gateway
source-routes them ('fwd' in IPFW parlance) to my tunnel-peer as my
regular default gateway would packet filter them out (a surprisingly
sane policy for an ISP *grin*).

Key for the lines that follow:
* rl1 is my external NIC for the primary Internet gateway
* rl2 is my external NIC for the secondary Internet gateway
* tun6 is the tunnel that I bring a source-routed /25 in on

Here's the relevant part of my /etc/ipnat.rules. Note that I've obscured
external IPs by replacing them with a descriptive tag in ()'s:

 ### TCP/UDP
 # Note that maps to rl2 only work because I have static routes that
 # would route traffic for those particular destinations to the
 # secondary gateway in any case ... the mapping just forces the correct
 # source IP address to be used.
 #   ... specific destination #1
 map rl2 from 192.168.23.0/24 to (net destination #1)/24 - rl2/32
 #   ... specific destination #2
 map rl2 from 192.168.23.0/24 to (net destination #2)/24 - rl2/32
 #   ... specific destination #3
 map rl2 from 192.168.23.0/24 to (host destination #3)/32 - rl2/32
 # Map all regular traffic out the primary Internet connection
 map rl1 192.168.23.0/24 - rl1/32 portmap tcp/udp 48000:5
 ### ICMP and other (on the primary internet connection)
 map rl1 192.168.23.0/24 - rl1/32

I set the static routes via rc.conf, a simplified version of which is:

 ### Routes
 defaultrouter=(primary gateway)
 static_routes=destination1 destination2 destination3
 route_destination1=(net destination #1)/24 (secondary gateway)
 route_destination2=(net destination #2)/24 (secondary gateway)
 route_destination3=(host destination #3)/32 (secondary gateway)

And here's the relevant part of my /etc/ipf.rules:

 # Respond to traffic sent to the /25 via tun6
 # Note that the on 'interface' has to be the one with my default route
 # Note that I use a !/16 instead of a /24 as I have more than one
 # internal class C (the meta-network)
 pass out quick on rl1 to tun6 from (obscured)/25 to !192.168.0.0/16
 # Respond to traffic sent to my secondary connection via the same IP
 pass out quick on rl1 to rl2 from (obscured)/32 to any

-T


-- 
To imagine a human world without ethics, but in which life goes well, it
is necessary to suppose a golden age: a world without competition, or
causes of strife, or clashing desires, or envy or malice.
- Simon Blackburn (Ruling Passions)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Samba tutorial

2003-12-15 Thread Darryl Hoar
I followed your tutorial, using
FreeBSD 5.1 the same setup as
you describe.

When I try to access the samba shares
from an NT 4 server, it keeps prompting
for username/password.  None of the 
Primary Domain passwords work.  If I 
access the share from a Win2000 machine
it works beautifully.  Does this have
something to do with password encryption?

Any ideas how to get around this problem ?

thanks,
Darryl

 -Original Message-
 From: Ruben de Groot [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, November 26, 2003 12:57 AM
 To: Darryl Hoar
 Subject: Re: Samba tutorial
 
 
 On Tue, Nov 25, 2003 at 03:16:12PM -0600, Darryl Hoar typed:
  Thanks it looks informative.  Will it work with
  FreeBSD 4.9 (which is what I have installed) ?
  
  The password part seems like you need 5.1 to 
  get it to look to the PDC for passwords.
 
 Correct. Samba does run quite well on 4.x, but you'll have to
 create the windows domain users as (dummy) unix users, since
 nsswitch.conf doesn't work on 4.x. This makes administering
 such a box a little redundant (whenever you create a user in
 the windows domain, you must also create the same user on the
 samba box.)
 
  thanks,
  Darryl
  
   -Original Message-
   From: Ruben de Groot [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, November 25, 2003 2:43 PM
   To: Darryl Hoar
   Subject: Re: Samba tutorial
   
   
   
   Hi Darryl,
   
   I did this on some FBSD 5.1 systems and wrote the following howto:
   
   http://www.bzerk.org/documents/ntdomauth/
   
   Maybe it's of some help to you.
   
   Ruben
   
   On Tue, Nov 25, 2003 at 10:16:03AM -0600, Darryl Hoar typed:
Greetings,
I just installed Freebsd 4.9 on a machine.
I want to setup Samba so that a NT4 server
can copy some files to the Freebsd 4.9 machine.

I am looking for fine manual to read, or turtorial
for setting it up.  The Freebsd machine will be a
member of an existing windows domain, but will
not be a PDC or BDC.

thanks in advance for pointers.

-Darryl

___
[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]


Removing a program

2003-12-15 Thread Darryl Hoar
Greetings,
I installed phpBB from the ports on my 4.7 box.  Went fine.
Had my phpBB bulletin boards hacked, even after applying
all the patches from phpbb.com.  My current version of
phpBB is 2.0.0_1.  All they suggested was install the new
version of phpBB and make sure I look for patches.

So... Since I installed phpBB from the ports, how do I remove
the program?  I want to download phpBB from their site and
install it clean.

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


Re: Removing a program

2003-12-15 Thread Nathan Kinkade
On Mon, Dec 15, 2003 at 10:10:08AM -0600, Darryl Hoar wrote:
 Greetings,
 I installed phpBB from the ports on my 4.7 box.  Went fine.
 Had my phpBB bulletin boards hacked, even after applying
 all the patches from phpbb.com.  My current version of
 phpBB is 2.0.0_1.  All they suggested was install the new
 version of phpBB and make sure I look for patches.
 
 So... Since I installed phpBB from the ports, how do I remove
 the program?  I want to download phpBB from their site and
 install it clean.
 
 thanks for any help,
 -Darryl

you should be able to goto the phpBB port directory and do:

# make deinstall

or you could use the pkg_delete(1) tool.  or if you have installed the
utility called portupgrage you can use the tool pkg_deinstall, which i
think is slightly more flexible than pkg_deinstall, but is just a
wrapper for pkg_delete.

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


cs4236b crystal onboard sound help

2003-12-15 Thread Frederick Thomas
Shalom,
   I have been trying to avoid contacting you since I know that your engaged, 
however
I have come to the end of my resources. I have a dual boot with win98 and freebsd 4.8
on a Dell Optiplex GX1(tower). I have attempted to configure the sound [crystalcs4236b
onboard audio controller] for the past two months and have had no success. I even 
tried installing the open sound system, [which found the card, but couldn't get the 
audio test to work]. I've ran pnpinfo and it finds it as well, but I still can't get 
the bloody thing to work... So now all I can do is ask for HEELLP
 
 
   
  sincerely yours,
 
   
[EMAIL PROTECTED]


-
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Serial Ports are there, but not in /dev

2003-12-15 Thread Dave McCammon
--- Dr. Lyman Hazelton [EMAIL PROTECTED] wrote:
 I have a pair of standard serial ports which show up
 in dmesg thus:
 
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1 at port 0x2f8-0x2ff irq 3 flags 0x10 on isa0
 sio1: type 16550A
 
 However, they don't show up as devices in /dev. 
 Anyone have some idea 
 why the system might not like them, and how I can
 get them to show up 
 as devices?  I have a serial PalmPilot (actually, a
 Kyocera phone) 
 I'd like to be able to use with KPilot.
 

Are you looking for /dev/sio0 and /dev/sio1 or 
/dev/cuaa0 and /dev/cuaa1?




__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


blackbox/fluxbox package in FreeBSD CDs (5.1)

2003-12-15 Thread Tadimeti Keshav
Kris,
Would it not be a nice idea to include either blackbox
or fluxbox in the standard package (x11-wm) set on
FreeBSD install CD? Blackbox is a light WM and
occupies relatively very little space (about 3-4MB) as
a tarball. And quite handy as a WM on machines with
very little RAM and HDD space. It is also very easy to
configure, even for a brand new newbie. 

regards
keshav



BT Yahoo! Broadband - Save £80 when you order online today. Hurry! Offer ends 21st 
December 2003. The way the internet was meant to be. 
http://uk.rd.yahoo.com/evt=21064/*http://btyahoo.yahoo.co.uk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


konsole crashing on 5.2-RC

2003-12-15 Thread Shantanoo Mahajan
Hello,

I cvsupped to 5.2-RC. Initially installed 5.0-RELEASE. then upgraded
to 5.1-RELEASE-p11 and then to 5.2-RC

# uname -sr
FreeBSD 5.2-RC

And now when I tried to run konsole in KDE, it is giving me the
following error

-From backtrace
0x28f6922f in poll () from /lib/libc.so.5
#0  0x28f6922f in poll () from /lib/libc.so.5
#1  0x28f0da51 in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.5
#2  0x28f0d445 in _thread_kern_scheduler () from /usr/lib/libc_r.so.5
---

And on the ttyv0 followin message is displayed.

Warning: pid 633 used static ldt allocation.
See the i386_set_ldt man page for more info


Followed following method for making world

# cd /usr/src
# make buildworld
# make kernel
# reboot
# cd /usr/src
# make installworld
# mergemaster -p

no changes were made by mergemaster.
Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't ping lan PC from Gateway

2003-12-15 Thread Jason Lavigne
Hello all, here is what I have going on

INET-1-3-4
\
 \
  -2
   
Boxes
1 (216.138.226.17)  = Main Firewall/Gateway (FBSD5.1)
2 (192.168.1.5) = LAN PC (WinSrv2K3)
3 (216.138.226.25)  = Development Firewall/Gateway (FBSD5.1)
4 (192.168.2.199)   = LAN PC (WinXP)

1 and 3 both have real IPs
1 and 3 are connected via a switch
1 and 2, and 3 and 4 are connected via separate hubs
2 and 3 uses 1 as gateway
4 uses 3 as gateway configured via dhcp from 3
1 and 3 uses IPFilter and NAT, 3 has no IPF rules loaded

Here is the problem, it is with the connection between 3 and 4, I can
ping from 4 to 3 but not from 3 to 4.
From 4 I can ping 3, 1 and the Internet just fine.
From 3 I can ping 1, 2 and the Internet but not 4. I find it interesting
that I can ping 2 (assuming via 1).
From 1 I can ping 2 and 3.
Expectedly 4 can not ping 2, and vise versa, this is desired as
ultimately I will VPN 3 to 1 to have full routing between networks.

Here are the netstat -r results from 3

Internet:
DestinationGatewayFlagsRefs  Use  Netif
Expire
defaultH17.C226.tor.veloc UGSc1  915ep0
localhost  localhost  UH  113742lo0
192.168.2  link#1 UC  20xl0
192.168.2.199  00:e0:98:90:2d:9b  UHLW3  986xl0
672
192.168.2.255  ff:ff:ff:ff:ff:ff  UHLWb   1  796xl0
H16.C226.tor.veloc link#3 UC  30ep0
H17.C226.tor.veloc 00:80:c6:ea:7a:f1  UHLW20ep0
1170
H27.C226.tor.veloc 00:c0:4f:94:82:d3  UHLW0  385ep0
479
H31.C226.tor.veloc ff:ff:ff:ff:ff:ff  UHLWb   2   57ep0

Thanks all for taking the time in reading my email.

Cheers,

Jay

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


Re: Samba tutorial

2003-12-15 Thread HOLLOW, CHRISTOPHER
from an NT 4 server, it keeps prompting
for username/password.
Have you used the smbpasswd utility to create Samba user accounts on the 
BSD box?  As per:
http://us1.samba.org/samba/ftp/docs/htmldocs/smbpasswd.8.html

Ruben was getting at that by suggesting...
 the windows domain, you must also create the same user on the
 samba box.)
HTH,

Christopher Hollow



Darryl Hoar wrote:

I followed your tutorial, using
FreeBSD 5.1 the same setup as
you describe.
When I try to access the samba shares
from an NT 4 server, it keeps prompting
for username/password.  None of the 
Primary Domain passwords work.  If I 
access the share from a Win2000 machine
it works beautifully.  Does this have
something to do with password encryption?

Any ideas how to get around this problem ?

thanks,
Darryl
 

-Original Message-
From: Ruben de Groot [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 12:57 AM
To: Darryl Hoar
Subject: Re: Samba tutorial
On Tue, Nov 25, 2003 at 03:16:12PM -0600, Darryl Hoar typed:
   

Thanks it looks informative.  Will it work with
FreeBSD 4.9 (which is what I have installed) ?
The password part seems like you need 5.1 to 
get it to look to the PDC for passwords.
 

Correct. Samba does run quite well on 4.x, but you'll have to
create the windows domain users as (dummy) unix users, since
nsswitch.conf doesn't work on 4.x. This makes administering
such a box a little redundant (whenever you create a user in
the windows domain, you must also create the same user on the
samba box.)
   

thanks,
Darryl
 

-Original Message-
From: Ruben de Groot [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 2:43 PM
To: Darryl Hoar
Subject: Re: Samba tutorial


Hi Darryl,

I did this on some FBSD 5.1 systems and wrote the following howto:

http://www.bzerk.org/documents/ntdomauth/

Maybe it's of some help to you.

Ruben

On Tue, Nov 25, 2003 at 10:16:03AM -0600, Darryl Hoar typed:
   

Greetings,
I just installed Freebsd 4.9 on a machine.
I want to setup Samba so that a NT4 server
can copy some files to the Freebsd 4.9 machine.
I am looking for fine manual to read, or turtorial
for setting it up.  The Freebsd machine will be a
member of an existing windows domain, but will
not be a PDC or BDC.
thanks in advance for pointers.

-Darryl

___
[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]
 

--
Christopher Hollow - Technical Consultant
Infrastructure  Technology Support
Toronto, ON


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


MySQL 4.0.16 + PHP 4.3.4

2003-12-15 Thread Chris
Hello all, 

I decided to upgrade to little test server to a more recent PHP  MySQL (as well as 
Apache
2.0.48). Everything is working, but I still have a problem. I installed mysql from the 
port. I
installed PHP from source, but no matter what I tried giving ./configure for the 
--with-mysql
value, I got complaints. When I tried the actual mysql install dir, I got complaints 
that
./configure couldn't find a header file. When I tried the actual work subdir for the 
mysql port
itself, I got an error that it couldn't find the mysqlclient library.

As a result I'm going with PHPs builtin mysql support -- unfortunately, the built-in 
version is
3.23.xx, and I really want 4.0.

Google got me a suggestion that I need to download something called mysql-devel for my 
version of
mysql. However, I've only found this as an RPM, and I'm wondering if what I read 
before was just a
Linux answer.

Does anyone know what to do?

Thanks,
The Bean

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MySQL 4.0.16 + PHP 4.3.4

2003-12-15 Thread Josh Paetzel
On Mon, Dec 15, 2003 at 10:35:54AM -0800, Chris wrote:
 Hello all, 
 
 I decided to upgrade to little test server to a more recent PHP  MySQL (as well as 
 Apache
 2.0.48). Everything is working, but I still have a problem. I installed mysql from 
 the port. I
 installed PHP from source, but no matter what I tried giving ./configure for the 
 --with-mysql
 value, I got complaints. When I tried the actual mysql install dir, I got complaints 
 that
 ./configure couldn't find a header file. When I tried the actual work subdir for the 
 mysql port
 itself, I got an error that it couldn't find the mysqlclient library.
 
 As a result I'm going with PHPs builtin mysql support -- unfortunately, the built-in 
 version is
 3.23.xx, and I really want 4.0.
 
 Google got me a suggestion that I need to download something called mysql-devel for 
 my version of
 mysql. However, I've only found this as an RPM, and I'm wondering if what I read 
 before was just a
 Linux answer.
 
 Does anyone know what to do?
 
 Thanks,
 The Bean
 

Just for kicks I tried installing /usr/ports/www/mod_php4 out of the ports on 
a cleanly installed 5.2-CURRENT box with a ports cvsup from about 3 days ago.  
It immediately installed apache 1.3.29, then did this: 

===   Returning to build of mod_php4-4.3.4_2,1
===   mod_php4-4.3.4_2,1 depends on executable: bison - found
===   mod_php4-4.3.4_2,1 depends on shared library: expat.4 - found
===   mod_php4-4.3.4_2,1 depends on shared library: mysqlclient.12 - not found
===Verifying install for mysqlclient.12 in 
/usr/ports/databases/mysql40-client
 mysql-4.0.16.tar.gz doesn't seem to exist in /usr/ports/distfiles/.

Isn't that the 4.x support that you're looking for?

Josh Paetzel

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


Production Or Not How Do you know that ? I don't know

2003-12-15 Thread Vahric MUHTARYAN
Hi Everybody , 

I'm watching the list too much time Everybody said that 4.9 for
production evn. And Maybe 5.2 will be for production env. Could you say
witch list I have to watch for this release will be for production env.
Or not ?! 


And I don't understand why all release products can't used for
production env . because I red documents and mails said that 
-- CURRENT have feture options and for testing env. 
-- STABLE is more better then CURRENT but it's not for prodcution too
...
-- RELESE is more better then STABLE , tested more then STABLE and have
cleared code but Why all of releases are not for production env . 


Somebody said that all 5.x releases was the bleeding edge
development versions at this moment Why you are say 5.1 RELEASE ... 




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


snmpd problem

2003-12-15 Thread Kliment Andreev
I am having problem running snmpd (FreeBSD 5.1). After installing the port
with make all install clean, the startup script is not working with no
errors/warnings given. If I manually run the snmpd with
/usr/local/sbin/snmpd -s, I got this in /var/log/messages

snmpd[1206]: nlist err: neither nproc nor _nproc found


Googling with this words doesn't provide any help.

HELP! :)

Thanks...

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


Secure Deletion (Like shred for Linux)??

2003-12-15 Thread Pratt, Benjamin E.
Hello -

I'm fairly new to FreeBSD and was wondering if there are any other
programs out there for secure deletion.  I know that you can use the -P
flag with rm to overwrite files but you can't specify the iterations of
overwriting.

What I'm looking for is something similar to (or exactly like) shred for
Linux.  Is it out there??

Thanks,

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


Re: Secure Deletion (Like shred for Linux)??

2003-12-15 Thread Chris Pressey
On Mon, 15 Dec 2003 13:31:52 -0600
Pratt, Benjamin E. [EMAIL PROTECTED] wrote:

 Hello -
 
 I'm fairly new to FreeBSD and was wondering if there are any other
 programs out there for secure deletion.  I know that you can use the
 -P flag with rm to overwrite files but you can't specify the
 iterations of overwriting.
 
 What I'm looking for is something similar to (or exactly like) shred
 for Linux.  Is it out there??
 
 Thanks,
 
 Ben

Hi,

The only programs I've seen like what you describe are 'obliterate' and
'srm'.

  /usr/ports/sysutils/obliterate
  /usr/ports/security/srm

I'm not sure either of them does exactly what you want (specifying how
many times to overwrite the file,) but they may be worth checking out.

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


RE: Secure Deletion (Like shred for Linux)??

2003-12-15 Thread Pratt, Benjamin E.
Chris -

It doesn't look like they do quite what I'd like.  Here's the man page
for shred (http://unixhelp.ed.ac.uk/CGI/man-cgi?shred+1).  Shred is used
in a shell script called Autoclave
(http://staff.washington.edu/jdlarios/autoclave/) to securely wipe a
hard drive before getting rid of it.  I've attached the autoclave.sh
script (as long as attachments are allowed, ask me for it if you don't
get the attachment).

Ben

-Original Message-
From: Chris Pressey [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 15, 2003 1:50 PM
To: Pratt, Benjamin E.
Cc: [EMAIL PROTECTED]
Subject: Re: Secure Deletion (Like shred for Linux)??

On Mon, 15 Dec 2003 13:31:52 -0600
Pratt, Benjamin E. [EMAIL PROTECTED] wrote:

 Hello -
 
 I'm fairly new to FreeBSD and was wondering if there are any other
 programs out there for secure deletion.  I know that you can use the
 -P flag with rm to overwrite files but you can't specify the
 iterations of overwriting.
 
 What I'm looking for is something similar to (or exactly like) shred
 for Linux.  Is it out there??
 
 Thanks,
 
 Ben

Hi,

The only programs I've seen like what you describe are 'obliterate' and
'srm'.

  /usr/ports/sysutils/obliterate
  /usr/ports/security/srm

I'm not sure either of them does exactly what you want (specifying how
many times to overwrite the file,) but they may be worth checking out.

-Chris


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


Email problem

2003-12-15 Thread samy lancher
Hello all,
I have 4.5 freebsd server with apache, php and mysql. i wrote a simple php program 
using mail(). The mail() function returns true without any error. but the problem is 
the email is never delivered. I viewed the log file for mail(/var/log/maillog) and i 
saw the following error:
 
Server sendmail[351]:NOQUEUE:SYSERR(www):can not chdir(/var/spool/clientmqueue/): 
Permission denied.
 
I would be really thankful if someone could tell me where i am doing wrong. 
In php.ini, i have set sendmail_path = /usr/sbin/sendmail.
 
thanks in advance.
Naveen.
 
 


-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Email problem

2003-12-15 Thread Martin Hudec
Hi,

it looks like your user (owner of Apache/php processes, most likely www) is 
unable to change directory to that /var/spool/clientmqueue. Checkout 
directory/file permissions for that directory.

On Monday 15 December 2003 21:03, samy lancher wrote:
 Server sendmail[351]:NOQUEUE:SYSERR(www):can not
 chdir(/var/spool/clientmqueue/): Permission denied.

-- 
:
:. kind regards
:..  Martin Hudec
:.:
:.: =w= http://www.aeternal.net
:.: =m= +421.907.303393
:.: [EMAIL PROTECTED] [EMAIL PROTECTED]
:.:
:.: When you want something, all the universe 
:.:   conspires in helping you to achieve it.
:.:   - The Alchemist (Paulo Coelho)

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


Re: Secure Deletion (Like shred for Linux)??

2003-12-15 Thread Chris Pressey
On Mon, 15 Dec 2003 13:55:07 -0600
Pratt, Benjamin E. [EMAIL PROTECTED] wrote:

 Chris -
 
 It doesn't look like they do quite what I'd like.  Here's the man page
 for shred (http://unixhelp.ed.ac.uk/CGI/man-cgi?shred+1).  Shred is
 used in a shell script called Autoclave
 (http://staff.washington.edu/jdlarios/autoclave/) to securely wipe a
 hard drive before getting rid of it.  I've attached the autoclave.sh
 script (as long as attachments are allowed, ask me for it if you don't
 get the attachment).
 
 Ben

Ben,

My bad!  Shred *does* indeed exist on FreeBSD; it's part of

  /usr/ports/sysutils/fileutils

and it's installed as 'gshred' (because all the fileutils are prefixed
with a 'g' to avoid collisions with BSD versions of the same tools.)

You should be able to install the fileutils port, create a symbolic link
from 'shred' to 'gshred', and run the autoclave script.

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


Re: Email problem

2003-12-15 Thread Josh Paetzel
On Mon, Dec 15, 2003 at 12:03:23PM -0800, samy lancher wrote:
 Hello all,
 I have 4.5 freebsd server with apache, php and mysql. i wrote a simple php program 
 using mail(). The mail() function returns true without any error. but the problem is 
 the email is never delivered. I viewed the log file for mail(/var/log/maillog) and i 
 saw the following error:
  
 Server sendmail[351]:NOQUEUE:SYSERR(www):can not chdir(/var/spool/clientmqueue/): 
 Permission denied.
  
 I would be really thankful if someone could tell me where i am doing wrong. 
 In php.ini, i have set sendmail_path = /usr/sbin/sendmail.
  
 thanks in advance.
 Naveen.

In PHP, mail() will always return true as long as it was able to successfully 
communicate with the mailserver.  As you have seen, that has very little to do 
with whether or not your email will go through correctly or not. ;)

Your error is coming because sendmail runs setuid, in this case to www, and 
www doesn't have write permissions to /var/spool/clientmqueue.

Josh Paetzel

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


Re: Secure Deletion (Like shred for Linux)??

2003-12-15 Thread Chris Pressey
On Mon, 15 Dec 2003 12:17:02 -0800
Chris Pressey [EMAIL PROTECTED] wrote:

 [...]
 You should be able to install the fileutils port, create a symbolic
 link from 'shred' to 'gshred', and run the autoclave script.

OK, looking more closely at the script, that might not be possible
either, since it looks like it rebuilds shred from its source (?)

But you might be able to get around this by replacing all occurances of
'shred' with 'gshred' in the script, or modifying the fileutils port so
that 'shred' is installed as 'shred', not 'gshred', or something...

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


serial hard drive

2003-12-15 Thread T. Green
help! does freebsd ver. 5.1 support serial hard drive.

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


RE: Secure Deletion (Like shred for Linux)??

2003-12-15 Thread Pratt, Benjamin E.
Chris -

Thank you very much.  I'll just modify autoclave.sh to use gshred
instead of shred.

Thanks again,

Ben 

-Original Message-
From: Chris Pressey [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 15, 2003 2:17 PM
To: Pratt, Benjamin E.
Cc: [EMAIL PROTECTED]
Subject: Re: Secure Deletion (Like shred for Linux)??

On Mon, 15 Dec 2003 13:55:07 -0600
Pratt, Benjamin E. [EMAIL PROTECTED] wrote:

 Chris -
 
 It doesn't look like they do quite what I'd like.  Here's the man page
 for shred (http://unixhelp.ed.ac.uk/CGI/man-cgi?shred+1).  Shred is
 used in a shell script called Autoclave
 (http://staff.washington.edu/jdlarios/autoclave/) to securely wipe a
 hard drive before getting rid of it.  I've attached the autoclave.sh
 script (as long as attachments are allowed, ask me for it if you don't
 get the attachment).
 
 Ben

Ben,

My bad!  Shred *does* indeed exist on FreeBSD; it's part of

  /usr/ports/sysutils/fileutils

and it's installed as 'gshred' (because all the fileutils are prefixed
with a 'g' to avoid collisions with BSD versions of the same tools.)

You should be able to install the fileutils port, create a symbolic link
from 'shred' to 'gshred', and run the autoclave script.

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


Upgreading Servers From 4.9 to 5.x ,Changing Server and BootProblem

2003-12-15 Thread Vahric MUHTARYAN
Hi Everybody , 


First I want to learn Which method are you using When you want
to pass between version For example 3.x to 4.x or 4.x to 5.x . Are you
installing new version to new machine then copy all files ?! 



My second question is  ; in FreeBSD package management is very
good . All ports are installed in /usr/local ... at this moment When I
need to change server at this moment does it enough to copy all
/usr/local directory to the new server ( of course all data , same
kernel configuration on new machine and same /etc/rc.conf file .. ) Does
it work ?  Anybody have any experience about this  ? 


And I wondering What do you do when boot problem like loader ,
kernel and kernel.old too ... How do you open OS ? Because in Linux We
can create a disk with mkbootdisk command at this moment We have a same
kernel and startup things in diskette ?!! 


Vahric 



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


Re: Email problem

2003-12-15 Thread samy lancher


Josh Paetzel [EMAIL PROTECTED] wrote:
On Mon, Dec 15, 2003 at 12:03:23PM -0800, samy lancher wrote:
 Hello all,
 I have 4.5 freebsd server with apache, php and mysql. i wrote a simple php program 
 using mail(). The mail() function returns true without any error. but the problem is 
 the email is never delivered. I viewed the log file for mail(/var/log/maillog) and i 
 saw the following error:
 
 Server sendmail[351]:NOQUEUE:SYSERR(www):can not chdir(/var/spool/clientmqueue/): 
 Permission denied.
 
 I would be really thankful if someone could tell me where i am doing wrong. 
 In php.ini, i have set sendmail_path = /usr/sbin/sendmail.
 
 thanks in advance.
 Naveen.

In PHP, mail() will always return true as long as it was able to successfully 
communicate with the mailserver. As you have seen, that has very little to do 
with whether or not your email will go through correctly or not. ;)

Your error is coming because sendmail runs setuid, in this case to www, and 
www doesn't have write permissions to /var/spool/clientmqueue.

Josh Paetzel

Hello,

thanks josh and martin for quick response.

the persmissions on clientmqueue is as follows

drwxrwx_ _ _ smmsp smmsp clientmqueue

could you please tell me what changes i need to make. IMPORTANT thing is my email 
server is working fine, i use sendmail MTA and outlook MUA. I am able to send emails 
and view my received emails in outlook through my server.

thanks,

Naveen.



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



-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Email problem

2003-12-15 Thread Martin Hudec
Hi,

so its drwxrwx--- for smmsp/smmsp

that means that only user smmsp (first rwx) and group smmsp (second rwx) are 
able to get inside. Either edit /etc/groups file and add your webserver user 
(most likely that www user) to that group, or set chmod 775 (to be able to 
browse that directory by other users/groups) or chmod 777 (to be world 
writable) to that directory.

On Monday 15 December 2003 21:48, samy lancher wrote:
 the persmissions on clientmqueue is as follows

 drwxrwx_ _ _ smmsp smmsp clientmqueue

 could you please tell me what changes i need to make. IMPORTANT thing is my
 email server is working fine, i use sendmail MTA and outlook MUA. I am able
 to send emails and view my received emails in outlook through my server.

-- 
:
:. kind regards
:..  Martin Hudec
:.:
:.: =w= http://www.aeternal.net
:.: =m= +421.907.303393
:.: [EMAIL PROTECTED] [EMAIL PROTECTED]
:.:
:.: When you want something, all the universe 
:.:   conspires in helping you to achieve it.
:.:   - The Alchemist (Paulo Coelho)

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


Re: Production Or Not How Do you know that ? I don't know

2003-12-15 Thread Charles Swiger
On Dec 15, 2003, at 2:09 PM, Vahric MUHTARYAN wrote:
Hi Everybody ,

I'm watching the list too much time Everybody said that 4.9 for
production evn. And Maybe 5.2 will be for production env. Could you say
witch list I have to watch for this release will be for production env.
[EMAIL PROTECTED] is the mailing list you should be watching 
if you are running 4.9, which is the recommended production 
evironment at this time.

And I don't understand why all release products can't used for
production env . because I red documents and mails said that
Can't be used is too strong; you are welcome to test any version of 
the code  you like and put it into production if it seems to suit your 
requirements.

-- CURRENT have feture options and for testing env. 
-- STABLE is more better then CURRENT but it's not for prodcution too
...
-- RELESE is more better then STABLE , tested more then STABLE and have
cleared code but Why all of releases are not for production env .
A RELEASE of the -STABLE branch, such as the 4.9 release, is more 
carefully tested than interim conditions between releases.

Somebody said that all 5.x releases was the bleeding edge
development versions at this moment Why you are say 5.1 RELEASE ...
You are right that it is confusing to users to see releases come out 
with a higher version number (ie, 5.0, 5.1) which are not better than 
4.8 or 4.9.

However, the goal is to get 5.x to the point where it is better for 
most production users than 4.x is, at which point the FreeBSD people 
will promote 5.x to -STABLE instead of -CURRENT.  It's hard to get 5.x 
to that point without generating at least one full RELEASE for people 
to use, test, and encounter problems with.

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


Re: Upgreading Servers From 4.9 to 5.x ,Changing Server and BootProblem

2003-12-15 Thread Josh Paetzel
On Mon, Dec 15, 2003 at 10:34:45PM +0200, Vahric MUHTARYAN wrote:
 Hi Everybody , 
 
 
   First I want to learn Which method are you using When you want
 to pass between version For example 3.x to 4.x or 4.x to 5.x . Are you
 installing new version to new machine then copy all files ?! 
 

It's certainly possible to upgrade from 3.x - 4.x or from 4.x - 5.x, but 
in practice it's almost easier to backup, reinstall, and restore.


 
 
   My second question is  ; in FreeBSD package management is very
 good . All ports are installed in /usr/local ... at this moment When I
 need to change server at this moment does it enough to copy all
 /usr/local directory to the new server ( of course all data , same
 kernel configuration on new machine and same /etc/rc.conf file .. ) Does
 it work ?  Anybody have any experience about this  ? 
 

Well, most ports are very well behaved and live inside /usr/local, but not all 
of them do.  Anything that wants to interface to mysql, for example, will have 
database tables in /var/db...that needs to be backed up of course if that's 
the case...and there are other ports, qmail comes to mind, that install into 
non-standard locations.  You also can't just tar up /usr/local/ and then untar 
it hoping that things will work on your new systemyou're going to have to 
actually reinstall them, then copy in the old configs.


   
   And I wondering What do you do when boot problem like loader ,
 kernel and kernel.old too ... How do you open OS ? Because in Linux We
 can create a disk with mkbootdisk command at this moment We have a same
 kernel and startup things in diskette ?!! 
 
 
 Vahric 
 

You can make a fixit floppy in freebsd, the directions for how to do so are in 
the handbook at www.freebsd.org/handbook. :)

Josh

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


Logitech QuickCam (WebCam)

2003-12-15 Thread Bryan Cassidy
Hello. I'm using FreeBSD 4.8 with my Logitech QuickCam (I think
it's a quick cam, kinda old.) Here is the output from dmesg |
grep ugen

ugen0: Logitech Camera, rev 1.00/1.00, addr 2

I would really like to get my camera configured and whatever
else needs to get done so I can take some pictures with it. I
don't care for the video right now I just want some still
images. I have no clue where to start with setting this up.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Vinum questionIncompatiblesectorsizes

2003-12-15 Thread Joachim Dagerot
I have a three disk IDE RAID-5 system using vinum. I do not have the
root or the system disks there, but I do (did) have the /HOME on the
RAID.

Now one disk has broken down and I'm trying to replace it. However
there is some problem when I'm booting: init: /bin/sh on /etc/rc
terminated abnormally, going to single user mode I'm not really sure
what this single user mode is, but I can't write to the /tmp/ disk for
some reason. Is this normal behaviour?

During boot vinum reports the following:

###
vinum: loaded
vinum: reading configuration from /dev/ad1s1e
vinum: updating configuration from /dev/ad4s1e
vinum: incompatible sector sizes. raid.p0.s2 has 0 bytes, raid.p0 has
512 bytes. Ignored.
###

The broken disk is /dev/ad5 and it's not completely replaced yet. I do
have a bad feeling that both ad5 AND ad4 is broken, but I certainly
hope this isn't the case. I'm using RAID instead of a backup system.

All help here is much appreciated, I have pictures from my sons first
year on this RAID volume...




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


Re: trouble: ipnat simultaneously icmp traffic from many NATed computers

2003-12-15 Thread Lowell Gilbert
=?Windows-1251?B?zOj46uA=?= [EMAIL PROTECTED] writes:

 What is this? How can I configure FreeBSD to ping remote_host
 simultaneously from any count of NATed computers? We really need do
 this! (We are small ISP, and have monitor programs that monitor some our
 equipment by icmp ping command and connect to some it services.
 Now when we NAT our office LAN we cannot simultaneously monitor our
 equipment from many point!)

When the ping response comes back from your remote_host, the only
identifying information on where to send it is the destination
address.  If you have more than one host behind a NAT sharing the same
external address, then there's no way to distinguish between
simultaneous outstanding ping requests from different internal hosts.  

The only way for this to work is to give the machines different
external addresses (which may not be the same as the internal ones).

 Once again sorry for my bad english

Your message was quite easy to understand.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samba tutorial

2003-12-15 Thread Matt Edwards
This might help:
http://us2.samba.org/samba/devel/docs/html/Samba-HOWTO-Collection.html#domain-member

Matt
- Original Message - 
From: Darryl Hoar [EMAIL PROTECTED]
To: 'Ruben de Groot' [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, December 15, 2003 9:07 AM
Subject: RE: Samba tutorial


 I followed your tutorial, using
 FreeBSD 5.1 the same setup as
 you describe.

 When I try to access the samba shares
 from an NT 4 server, it keeps prompting
 for username/password.  None of the
 Primary Domain passwords work.  If I
 access the share from a Win2000 machine
 it works beautifully.  Does this have
 something to do with password encryption?

 Any ideas how to get around this problem ?

 thanks,
 Darryl

  -Original Message-
  From: Ruben de Groot [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, November 26, 2003 12:57 AM
  To: Darryl Hoar
  Subject: Re: Samba tutorial
 
 
  On Tue, Nov 25, 2003 at 03:16:12PM -0600, Darryl Hoar typed:
   Thanks it looks informative.  Will it work with
   FreeBSD 4.9 (which is what I have installed) ?
  
   The password part seems like you need 5.1 to
   get it to look to the PDC for passwords.
 
  Correct. Samba does run quite well on 4.x, but you'll have to
  create the windows domain users as (dummy) unix users, since
  nsswitch.conf doesn't work on 4.x. This makes administering
  such a box a little redundant (whenever you create a user in
  the windows domain, you must also create the same user on the
  samba box.)
 
   thanks,
   Darryl
  
-Original Message-
From: Ruben de Groot [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 2:43 PM
To: Darryl Hoar
Subject: Re: Samba tutorial
   
   
   
Hi Darryl,
   
I did this on some FBSD 5.1 systems and wrote the following howto:
   
http://www.bzerk.org/documents/ntdomauth/
   
Maybe it's of some help to you.
   
Ruben
   
On Tue, Nov 25, 2003 at 10:16:03AM -0600, Darryl Hoar typed:
 Greetings,
 I just installed Freebsd 4.9 on a machine.
 I want to setup Samba so that a NT4 server
 can copy some files to the Freebsd 4.9 machine.

 I am looking for fine manual to read, or turtorial
 for setting it up.  The Freebsd machine will be a
 member of an existing windows domain, but will
 not be a PDC or BDC.

 thanks in advance for pointers.

 -Darryl

 ___
 [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: serial hard drive

2003-12-15 Thread Lowell Gilbert
T. Green [EMAIL PROTECTED] writes:

 help! does freebsd ver. 5.1 support serial hard drive.

I believe 5.1 has some SATA support, and that such support is
substantially improved in 5.2.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gnome2-lite build fails

2003-12-15 Thread Gautam Gopalakrishnan
On Mon, Dec 15, 2003 at 04:42:47PM +0100, r t g tan wrote:
 Hi Gautam,
 
 Yes I've run use.perl port.
 
 On Mon, Dec 15, 2003 at 09:57:04AM +1100, Gautam Gopalakrishnan wrote:
  On Sun, Dec 14, 2003 at 11:54:41PM +0100, r t g tan wrote:
   Hi,
   
 checking for minimum required perl version = 5.004... 5.00503
 checking for full perl installation... no
 configure error: Cannot find Config.pm or $Config{archlib}. A full
 perl installation is required.
  
  Have you run use.perl port after installing 5.8.2? 

configure does not see your new perl (5005003 instead of
5.8.2). Maybe you have two copies of perl installed or
something? You could try deinstalling both and reinstalling
5.8.2. Should work I'd say. I've no other ideas.

Gautam

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


RE: Need help: HyperThreading-CPU + FreeBSD-Stable + Multi-threading

2003-12-15 Thread Minnesota Slinky
Actually, my bad, it's not in there until 5.x

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588
 


-Original Message-
From: Stefan Cars [mailto:[EMAIL PROTECTED] 
Sent: Sunday, December 14, 2003 6:06 AM
To: 'Minnesota Slinky'; 'Rob'
Cc: [EMAIL PROTECTED]
Subject: RE: Need help: HyperThreading-CPU + FreeBSD-Stable +
Multi-threading


Hi!

That was removed, it's not in 4.9!

/ Stefan 

-Original Message-
From: Minnesota Slinky [mailto:[EMAIL PROTECTED] 
Sent: den 14 december 2003 01:13
To: 'Stefan Cars'; 'Rob'
Cc: [EMAIL PROTECTED]
Subject: RE: Need help: HyperThreading-CPU + FreeBSD-Stable +
Multi-threading

I _believe_ there is an options HT #for HyperThreading

In the kernel configuration.

HTH

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588
 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stefan Cars
Sent: Saturday, December 13, 2003 1:58 PM
To: 'Rob'
Cc: [EMAIL PROTECTED]
Subject: RE: Need help: HyperThreading-CPU + FreeBSD-Stable +
Multi-threading


Hi!

This is strange, my system doesn't even show mchdep.hlt_logical_cpus,
very weird. My system have HT

/S 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Sent: den 12 december 2003 15:58
To: [EMAIL PROTECTED]
Subject: Need help: HyperThreading-CPU + FreeBSD-Stable +
Multi-threading


Hello,

Recently I've got a new PC: P4 Titan 2.6 GHz.
It says in the brochure that it has HyperThreading, which I think is
somehow related to the HyperThread thing in the FreeBSD kernel, right?

I know there's this message in /usr/src/UPDATING, which unfortunately
does not clear up the matter for me.

So let me recap what I believe to understand:

For utilizing the advantages of this HyperThreading stuff for users, I
need in the kernel configuration:
   optionsSMP# Symmetric MultiProcessor Kernel
   optionsAPIC_IO# Symmetric (APIC) I/O

Furthermore, I need to set machdep.hlt_logical_cpus to 0 (zero). How
do I add this to the loader so that it is set to zero at every boot
up? Should I simply add to my /boot/loader.conf a line like:

   machdep.hlt_logical_cpus=0

After that, I'm done with the hyperthreading?

Thanks,
Rob.

PS: if you're in the mood, I would appreciate a few words on what this
HyperThreading is about and what advantages I can expect. Thanks too!

___
[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]



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


Re: MySQL 4.0.16 + PHP 4.3.4

2003-12-15 Thread Chris
You know, it never occured to me that there were individual 
Apache modules in the ports. Thanks Josh! Doesn't look like 
it would help in this case, though, as the mod_php port is
for Apache 1.3, and I need 2.0.

I noticed that a dependency of the port is mysql_client,
not mysql_server (which makes perfect sense now that I think
about it). Is it possible that I need to do

./configure --with-mysql=/usr/ports/mysql4-client/work

to get it to work? Or, download the mysql 4.0.16 client 
source code, untar it, and point ./configure there? Seems wasteful.
I'd happily do something more efficient and preferred.

Any thoughts,
T.B.

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Email problem

2003-12-15 Thread samy lancher

Hello martin,
i added www to smmsp group (smmsp:*:25:www). But still im having the same problem, 
this time i get different error message in log file. 
 
server sendmail[303]:NOQUEUE:SYSERR(www): can not write to queue directory 
/var/spool/clientmqueue ( RunAsGid = 80), required=25) : Permission denied.
 
In group file www group has Gid=80 (www:*:80)
 
thanks,
 

Martin Hudec [EMAIL PROTECTED] wrote:
Hi,

so its drwxrwx--- for smmsp/smmsp

that means that only user smmsp (first rwx) and group smmsp (second rwx) are 
able to get inside. Either edit /etc/groups file and add your webserver user 
(most likely that www user) to that group, or set chmod 775 (to be able to 
browse that directory by other users/groups) or chmod 777 (to be world 
writable) to that directory.

On Monday 15 December 2003 21:48, samy lancher wrote:
 the persmissions on clientmqueue is as follows

 drwxrwx_ _ _ smmsp smmsp clientmqueue

 could you please tell me what changes i need to make. IMPORTANT thing is my
 email server is working fine, i use sendmail MTA and outlook MUA. I am able
 to send emails and view my received emails in outlook through my server.

-- 
:
:. kind regards
:.. Martin Hudec
:.:
:.: =w= http://www.aeternal.net
:.: =m= +421.907.303393
:.: [EMAIL PROTECTED] [EMAIL PROTECTED]
:.:
:.: When you want something, all the universe 
:.: conspires in helping you to achieve it.
:.: - The Alchemist (Paulo Coelho)

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

-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Stupid cvsup questions

2003-12-15 Thread Ion-Mihai Tetcu
Hi,


I have 2 identical (copy/paste) ports-supfiles on two machines:

it# grep -v '#' /etc/ports-supfile
*default host=cvsup.ro.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
ports-all

one is produceing :
Updating collection ports-all/cvs  
 Edit ports/audio/abcmidi/Makefile  
 Edit ports/audio/abcmidi/distinfo
...

The other:
Updating collection ports-all/cvs
 Edit ports/mail/perdition/pkg-plist
 Edit ports/math/R-letter/Makefile
 SetAttrs ports/math/p5-Statistics-Distributions/Makefile,v
 SetAttrs ports/math/p5-Statistics-Distributions/distinfo,v
...

I run it like:
# cvsup -g /etc/ports-supfile on both machines.

The stupid question:
why on the second I have the `,v' suffix ?

Is there an env variable or something ?


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


ypserv cpu-loop with group.bygid?

2003-12-15 Thread Jim Davis
I'm trying to chase down an intermittant problem with ypserv, running on 
a FreeBSD 4.8 p-14 system, configured as a slave server.  Periodically 
the ypserv process starts burning huge amounts of CPU -- top will show 
it at 70%-80% of the system, where normally the usage is well under 
10%.  In those situations interactive response goes down the drain.  
That slave server is set up so that it binds to itself as a yp client.

Running truss on the ypserv process shows it in a tight loop reading the 
group.bygid map.  I've dumped the group.bygid map contents to a file and 
run chkgrp(8) on it, thinking perhaps there was some bogus data in the 
source file or other formatting problem -- but chkgrp doesn't find any 
errors.  There are no error messages being logged while ypserv is 
buzzing; it's just very, very busy.

Any ideas on what to check?  Normal yp operation seems to be okay; the 
problem happens rather infrequently, though it's a showstopper when it 
does happen.

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


RE: Sending email via PHP mail command in jail

2003-12-15 Thread Brent Wiese
 
 put SMTP = my.relay.mail.box into your /usr/local/etc/php.ini


It was my understanding this only worked in the Windows version of PHP...
That's according to PHP.net's site and the comments in the php.ini file.

I just added it and the test is still failing.

Brent


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


Just a funny thought... [OT]

2003-12-15 Thread Eric F Crist
I was looking at my regular inbox today and thinking how obscure some of
the subject lines have gotten.  Just a few of the examples would be:

My we.ight ruine.d my life x oe ty
Male_Enhancements: Fact or Fiction?
Fastest Presc[ription Dru)gs Delivery Nationwide

Then, after deleting all of these, I opened my freebsd-questions inbox,
and laughed looking at some of the subject lines we see in here:

magicfilter in FBSD 5.2 not working correctly
RE: ipnat+ipfw  + 3 gateways
Re: ASUS A7N8X's 3Com chip / Sil 3112

I guess we're a little more obscure yet, but they're getting close!  Or,
maybe I just have too much time on my hands?

Have a good day.

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588
 


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


Installation troubles

2003-12-15 Thread michael Alexander
Hi,

  I am trying to install FreeBSD (have tried 4.9, and the 5.1 ISO's)  It
hangs at:
Waiting 15 seconds for SCSI devices to settle

My hardware:
Intel NA440BX MB, 512MB ram, dual PIII 350 processors
Mylex Acceleraid 250(DAC960)
Latest bios/firmware downloaded and installed on both MB and Raid card last
week.

ISO's downloaded last week as well.  

I know the raid card works, I had netware installed on the machine prior to
moving it to new hardware.

If there was an option to install unlisted drivers at the initial setup
screen, where I am suppose to remove drivers that do not apply, then I might
be able to continue on and get this installed.  I selected FreeBSD because
it seemed to be abit more up to date with releases of other software we
would be running (Sendmail 8.12.10, etc)

Any suggestions where to begin troubleshooting the install?  I did download
the latest drivers for the card as well, but all the install instructions
I've found assume there is already a working FreeBSD system, which I do not
have.

(FWIW, Redhat 9 also is failing to install, it locks up loading its DAC960
driver -never even gets to any sort of config)

Thank you,
Mike

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


Single user mode, non writeable /tmp

2003-12-15 Thread Joachim Dagerot
I just posted a problem regarding vinum where this question was
hidden:


My system starts with an error:

init: /bin/sh on /etc/rc terminated abnormally, going to single user
mode

This is because a disk has broken down. But my question is what tasks
do I need to take to be able to run the system. The crashed disk
contained /home and /usr.

I can't even edit the fstab because the /tmp disk is not writeable.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb 5.1

2003-12-15 Thread JacobRhoden
On Mon, 15 Dec 2003 08:55 pm, The MiP RvL wrote:
 I'm using 5.1 on a toshiba portege 3020CT laptop.
 Because of boot problems I've disabled acpi.

 Whenever I boot with a usb device attached,
 dmesgs gives a output that the port 1 is disabled.
 If I remove the usb device the system hangs and the only thing I can do is
 switch consoles.

I had the exact same problem, tried everything, in the end, upgrading the  
motherboard bios fixed it (It was however an intel motherboard). Have you 
tried playing with your bios settings?

Regards,
Jacob

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


Re: Vinum questionIncompatiblesectorsizes

2003-12-15 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Wrapped log output.

On Monday, 15 December 2003 at 22:16:10 +0100, Joachim Dagerot wrote:
 I have a three disk IDE RAID-5 system using vinum. I do not have the
 root or the system disks there, but I do (did) have the /HOME on the
 RAID.

 Now one disk has broken down and I'm trying to replace it. However
 there is some problem when I'm booting: init: /bin/sh on /etc/rc
 terminated abnormally, going to single user mode I'm not really sure
 what this single user mode is, but I can't write to the /tmp/ disk for
 some reason. Is this normal behaviour?

No.

 During boot vinum reports the following:

 ###
 vinum: loaded
 vinum: reading configuration from /dev/ad1s1e
 vinum: updating configuration from /dev/ad4s1e
 vinum: incompatible sector sizes. raid.p0.s2 has 0 bytes, raid.p0 has 512 bytes. 
 Ignored.
 ###

 The broken disk is /dev/ad5 and it's not completely replaced yet. I do
 have a bad feeling that both ad5 AND ad4 is broken, but I certainly
 hope this isn't the case. I'm using RAID instead of a backup system.

Hmm, that's not what it's designed for.

 All help here is much appreciated, I have pictures from my sons
 first year on this RAID volume...

Backups are always good.  But we can probably recover the data.  First
I need the information I ask for on
http://www.vinumvm.org/vinum/how-to-debug.html.

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.


pgp0.pgp
Description: PGP signature


Re: Single user mode, non writeable /tmp

2003-12-15 Thread Lowell Gilbert
Joachim Dagerot [EMAIL PROTECTED] writes:

 I just posted a problem regarding vinum where this question was
 hidden:
 
 
 My system starts with an error:
 
 init: /bin/sh on /etc/rc terminated abnormally, going to single user
 mode
 
 This is because a disk has broken down. But my question is what tasks
 do I need to take to be able to run the system. The crashed disk
 contained /home and /usr.
 
 I can't even edit the fstab because the /tmp disk is not writeable.

This can be solved using the same technique as the FAQ 
I made a mistake in rc.conf, or another startup file, and now I
cannot edit it because the filesystem is read-only. What should I do?:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#RCCONF-READONLY
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb 5.1

2003-12-15 Thread The MiP RvL
On Mon, 15 Dec 2003 08:55 pm, The MiP RvL wrote:
 I'm using 5.1 on a toshiba portege 3020CT laptop.
 Because of boot problems I've disabled acpi.

 Whenever I boot with a usb device attached,
 dmesgs gives a output that the port 1 is disabled.
 If I remove the usb device the system hangs and the only thing I can do is
 switch consoles.

I had the exact same problem, tried everything, in the end, upgrading the 
motherboard bios fixed it (It was however an intel motherboard). Have you
tried playing with your bios settings?

I did perform a bios upgrade and a turned the usb emulation on and off. It works with 
both settings in windows 98 and linux 2.4.18.

Regards,

Roland


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


Re: VinumquestionIncompatiblesectorsizes

2003-12-15 Thread Joachim Dagerot
First let me assure you that I do not blame neither you or any other
one involved in the vinum project. I am perfectly aware that nothing
beats a good tape when it comes to data recovery.

Thansk for putting interest in my problem, I have tried to write down
all information you requested:

 What problems are you having? 
One of my drives are flagged down. Vinum reports that drive as
referenced. The other two drives in the RAID-5 is up. According to
vinum list my subdisks are:
s0 State: R 0%
s1 State: crashed
s2 State: stale

 Which version of FreeBSD are you running?
FreeBSD 5.1

 Have you made any changes to the system sources, including Vinum?
Nope

 Supply the output of the vinum list command. If you can't start
Vinum, supply the on-disk configuration, as described below. If you
can't start Vinum, then (and only then) send a copy of the
configuration file. 
(Must write of the screen:)
2 drives:
D b State: up   /dev/ad4s1e A: 36/117796 MB (0%)
D a State: up   /dev/ad1s1e A: 36/117796 MB (0%)
D c State: referenced   unknown A: 0/0 MB

1 volumes:
V raid  State: down Plexes: 1   Size:   230GB

1 plexes:
P raid.p0   R5 State: faultySubdisks:   3   Size:   230 GB

3 subdisks:
S raid.p0.s0State: R 0% D: aSize:   115GB
*** Start raid.p0.s0 with 'start' command ***
S raid.p0.s1State: crashed  D: bSize:   115GB
S raid.p0.s2State: staleD: cSize:   115GB

 Supply an extract of the Vinum history file
Can't do that, can't run an editor now. (TMP drive read-only)

 Supply an extract of the file /var/log/messages
Can't do that, can't run an editor now. (TMP drive read-only)

 If you have a crash
No crash.







---
 | [Format recovered--see
http://www.lemis.com/email/email-format.html]
 | 
 | Wrapped log output.
 | 
 | On Monday, 15 December 2003 at 22:16:10 +0100, Joachim Dagerot
wrote:
 |  I have a three disk IDE RAID-5 system using vinum. I do not have
the
 |  root or the system disks there, but I do (did) have the /HOME on
the
 |  RAID.
 | 
 |  Now one disk has broken down and I'm trying to replace it.
However
 |  there is some problem when I'm booting: init: /bin/sh on /etc/rc
 |  terminated abnormally, going to single user mode I'm not really
sure
 |  what this single user mode is, but I can't write to the /tmp/
disk for
 |  some reason. Is this normal behaviour?
 | 
 | No.
 | 
 |  During boot vinum reports the following:
 | 
 |  ###
 |  vinum: loaded
 |  vinum: reading configuration from /dev/ad1s1e
 |  vinum: updating configuration from /dev/ad4s1e
 |  vinum: incompatible sector sizes. raid.p0.s2 has 0 bytes, raid.p0
has 512 bytes. Ignored.
 |  ###
 | 
 |  The broken disk is /dev/ad5 and it's not completely replaced yet.
I do
 |  have a bad feeling that both ad5 AND ad4 is broken, but I
certainly
 |  hope this isn't the case. I'm using RAID instead of a backup
system.
 | 
 | Hmm, that's not what it's designed for.
 | 
 |  All help here is much appreciated, I have pictures from my sons
 |  first year on this RAID volume...
 | 
 | Backups are always good.  But we can probably recover the data. 
First
 | I need the information I ask for on
 | http://www.vinumvm.org/vinum/how-to-debug.html.
 | 
 | 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.
 | 
_
Contact info:
Joachim Dagerot
Cellular Phone: +46 70 265 57 03 
EMail:  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Removing a program

2003-12-15 Thread Mike Maltese
 Greetings,
 I installed phpBB from the ports on my 4.7 box.  Went fine.
 Had my phpBB bulletin boards hacked, even after applying
 all the patches from phpbb.com.  My current version of
 phpBB is 2.0.0_1.  All they suggested was install the new
 version of phpBB and make sure I look for patches.
 
 So... Since I installed phpBB from the ports, how do I remove
 the program?  I want to download phpBB from their site and
 install it clean.

pkg_delete -fx phpbb

then of course you'll want to go into mysql and drop the phpbb databases.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Removing a program

2003-12-15 Thread Martin Hudec
Hi,

just go to ports directory of phpBB and type make deinstall.

On Monday 15 December 2003 17:10, Darryl Hoar wrote:
 So... Since I installed phpBB from the ports, how do I remove
 the program?  I want to download phpBB from their site and
 install it clean.

-- 
:
:. kind regards
:..  Martin Hudec
:.:
:.: =w= http://www.aeternal.net
:.: =m= +421.907.303393
:.: [EMAIL PROTECTED] [EMAIL PROTECTED]
:.:
:.: When you want something, all the universe 
:.:   conspires in helping you to achieve it.
:.:   - The Alchemist (Paulo Coelho)

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


RE: Installation troubles

2003-12-15 Thread fbsd_user
Check your system bio's and turn off virus boot detection.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of michael
Alexander
Sent: Monday, December 15, 2003 5:17 PM
To: [EMAIL PROTECTED]
Subject: Installation troubles

Hi,

  I am trying to install FreeBSD (have tried 4.9, and the 5.1 ISO's)
It
hangs at:
Waiting 15 seconds for SCSI devices to settle

My hardware:
Intel NA440BX MB, 512MB ram, dual PIII 350 processors
Mylex Acceleraid 250(DAC960)
Latest bios/firmware downloaded and installed on both MB and Raid
card last
week.

ISO's downloaded last week as well.

I know the raid card works, I had netware installed on the machine
prior to
moving it to new hardware.

If there was an option to install unlisted drivers at the initial
setup
screen, where I am suppose to remove drivers that do not apply, then
I might
be able to continue on and get this installed.  I selected FreeBSD
because
it seemed to be abit more up to date with releases of other software
we
would be running (Sendmail 8.12.10, etc)

Any suggestions where to begin troubleshooting the install?  I did
download
the latest drivers for the card as well, but all the install
instructions
I've found assume there is already a working FreeBSD system, which I
do not
have.

(FWIW, Redhat 9 also is failing to install, it locks up loading its
DAC960
driver -never even gets to any sort of config)

Thank you,
Mike

___
[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]


Having problems with 'pcm' and on-board Crystal Sound

2003-12-15 Thread pseniura

Hi everyone,

I'm having some difficulties with on-board Crystal Audio in IBM's PC model 300PL (I 
know it's old, but that's what they gave me).
I've been fighting this for many weeks.
I've got three scenarios:

(1)  In order to have the 'snd_pcm' be able to see the chips at all, I must include it 
with the kernel via 'device pcm'.  Then we get the following msg on the console every 
time an app wants to play some sound.  Yes every time:

pcm0:virtual:0: play interrupt timeout, channel dead


(2)  If I let the boot loader.conf bring in 'snd_pcm' before the kernel starts, it 
won't see the sound chips at all.

(3)  The OSS driver does see the chips and it does work.  But then I must not do #1 
above (when snd_pcm is compiled into the kernel, you cannot kldunload it to use OSS 
instead).


I am tracking 5-Current via CTM, and src  ports are current as of this morning's 
bucket at the CTM FTP site.


I have a bit of logging to show for each scenario:


---
(1)  Compiling 'device pcm' into the kernel, we can see the chips get detected, as the 
dmesg shows:

[...]
Preloaded elf kernel /boot/kernel/kernel at 0xc0b66000.
Preloaded elf module /boot/modules/apm.ko at 0xc0b66244.
Preloaded elf module /boot/nvidia/nvidia.ko at 0xc0b662f0.
Calibrating clock(s) ... i8254 clock: 1193181 Hz
Timecounter i8254 frequency 1193181 Hz quality 0
Calibrating TSC clock ... TSC clock: 448054427 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (448.05-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x652  Stepping = 2
  
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 402640896 (383 MB)
Physical memory chunk(s):
[...]
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
[...]
Trying Read_Port at 203
CSC0100: start dependent (0)
CSC0100: adding dma mask 0x2
CSC0100: adding dma mask 0x9
CSC0100: adding irq mask 0x20
CSC0100: adding io range 0x534-0x537, size=0x4, align=0x4
CSC0100: adding io range 0x388-0x38b, size=0x4, align=0x8
CSC0100: adding io range 0x220-0x22f, size=0x10, align=0x20
CSC0100: start dependent (1)
CSC0100: adding dma mask 0xa
CSC0100: adding dma mask 0xb
CSC0100: adding irq mask 0x9aa0
CSC0100: adding io range 0x534-0xfff, size=0x4, align=0x4
CSC0100: adding io range 0x388-0x38b, size=0x4, align=0x8
CSC0100: adding io range 0x220-0x26f, size=0x10, align=0x20
CSC0100: start dependent (2)
CSC0100: adding dma mask 0xb
CSC0100: adding irq mask 0x9aa0
CSC0100: adding io range 0x534-0xfff, size=0x4, align=0x4
CSC0100: adding io range 0x388-0x3fb, size=0x4, align=0x8
CSC0100: adding io range 0x220-0x30f, size=0x10, align=0x20
CSC0100: end dependent
CSC0110: adding io range 0x120-0xfe7, size=0x8, align=0x8
sc: sc0 already exists; skipping it
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
pmtimer0 on isa0
[...]
isa_probe_children: probing PnP devices
pcm0: CS423x-PCI at port 0x220-0x22f,0x388-0x38b,0x534-0x53b irq 5 drq 0,1 on isa0
pcm0: sndbuf_setmap 1fb000, 1000; 0xd7907000 - 1fb000
pcm0: sndbuf_setmap 1fc000, 1000; 0xd7908000 - 1fc000
unknown: Disabled failed to probe on isa0
unknown: CTRL failed to probe at port 0x120-0x127 on isa0
Device configuration finished.
[...]

and a 'cat /dev/sndstat' shows:


FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: CS423x-PCI at io 0x534 irq 5 drq 1:0 bufsz 4096 (1p/1r/4v channels duplex 
default)
[pcm0:record:0]: spd 0, fmt 0x/0x0008, flags 0x, 0x
interrupts 0, overruns 0, hfree 4096, sfree 0
{hardware} - feeder_root(0x) - {userland}
[pcm0:play:0]: spd 44100, fmt 0x1010, flags 0x1000, 0x
interrupts 0, underruns 0, ready 0
{userland} - feeder_vchan_s16(0x1010) - {hardware}
pcm0:play:0[pcm0:virtual:0]: spd 22050/44100, fmt 0x0010/0x1010, flags 
0x1000, 0x0010
interrupts 0, underruns 0, ready 0
{userland} - feeder_root(0x0010) - feeder_monotostereo16(0x0010 - 
0x1010) - feeder_rate(22050 - 44100) - {hardware}
pcm0:play:0[pcm0:virtual:1]: spd 0, fmt 0x/0x0008, flags 
0x1000, 0x
interrupts 0, underruns 0, ready 0
{userland} - feeder_root(0x) - {hardware}
pcm0:play:0[pcm0:virtual:2]: spd 0, fmt 0x/0x0008, flags 
0x1000, 0x
interrupts 0, underruns 0, ready 0
{userland} - feeder_root(0x) - {hardware}
pcm0:play:0[pcm0:virtual:3]: spd 0, fmt 0x/0x0008, flags 
0x1000, 0x
interrupts 0, underruns 0, ready 0
{userland} - feeder_root(0x) - {hardware}

File Versions:
$FreeBSD: src/sys/dev/sound/isa/sbc.c,v 1.38 2003/02/07 14:05:33 nyan Exp $
$FreeBSD: src/sys/dev/sound/isa/sb8.c,v 1.73 2003/09/07 16:28:02 cg Exp 

ID says no such user, PW says already exists ?!?!

2003-12-15 Thread Rishi Chopra
This is gonna sound crazy, but:  I got my FreeBSD box up and running and 
decided to add a user account for myself (avoid the perils of working as 
root?)  I added a named account 'rchopra' and everything was honky-dorey.

The following series of events occured and have left me confused and 
unable to use or re-add the 'rchopra' account:

1) I manually added myself to the 'wheel' account, in order to allow 
'su' to root.  Rather than using 'pw', I was under the impression just 
editing the entry in '/etc/group' would work; my entry looked like this:

wheel:*:0:root:rchopra

Was my thinking here correct?  If not, can someone please point out my 
mistake?

2) This action seemed to cause a problem; I attempted to login and su, 
and I was not able to login successfully (my password would not work).  
I attempted to run 'id rchopra' at the command prompt, which returns an 
error:

# id rchopra
'id: rchopra: no such user'
Strangely enough, the '/home/rchopra' directory still exists.

3) OK, no problem right?  Just run 'adduser' and create the account 
again...  Unfortunately, after entering all the information for the user 
account 'rchopra' the system says:

pw: user 'rchopra' already exists
adduser: ERROR: There was an error adding user (rchopra)
This happens if I add 'rchopra' to the 'wheel' group or the 'users' 
group (my only user-defined group so far.)

So what gives?  While I am curious and would like to know what went 
wrong (any illucidation as to what may have caused the error is of 
course appreciated), I would (more importantly) like to get my system 
consistent to the point of being able to add an 'rchopra' user account.  
What steps can I take to remove the (false?) rchopra entry or, 
alternatively, re-active the (working?) rchopra account?

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


Re: ID says no such user, PW says already exists ?!?!

2003-12-15 Thread Dan Nelson
In the last episode (Dec 15), Rishi Chopra said:
 This is gonna sound crazy, but:  I got my FreeBSD box up and running
 and decided to add a user account for myself (avoid the perils of
 working as root?) I added a named account 'rchopra' and everything
 was honky-dorey.
 
 The following series of events occured and have left me confused and
 unable to use or re-add the 'rchopra' account:
 
 1) I manually added myself to the 'wheel' account, in order to allow
 'su' to root.  Rather than using 'pw', I was under the impression
 just editing the entry in '/etc/group' would work; my entry looked
 like this:
 
 wheel:*:0:root:rchopra

The userlist is comma-delimited:  

wheel:*:0:root,rchopra
 
 2) This action seemed to cause a problem; I attempted to login and su, 
 and I was not able to login successfully (my password would not work).  
 I attempted to run 'id rchopra' at the command prompt, which returns an 
 error:
 
 # id rchopra
 'id: rchopra: no such user'
 
 Strangely enough, the '/home/rchopra' directory still exists.
 
 3) OK, no problem right?  Just run 'adduser' and create the account 
 again...  Unfortunately, after entering all the information for the user 
 account 'rchopra' the system says:
 
 pw: user 'rchopra' already exists
 adduser: ERROR: There was an error adding user (rchopra)

That's a little weird.  Is there an 'rchopra' user when you run vipw? 
Messing with /etc/group shouldn't have affected your ability to log in.

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


awk question, maybe

2003-12-15 Thread David Bear
i would like to do something like

df | awk '{print $1}'

to capture all the current file systems.  But I would like to strip
off the first and last lines, since these are generally -- not needed.

the goal is to write a generalized script that can feed dump with all
the file systems on a box.

any pointers?
-- 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 Beware the IP portfolio, everyone will be suspect of trespassing
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


(UPDATED DETAILS)Re:VinumquestionIncompatiblesectorsizes

2003-12-15 Thread Joachim Dagerot
I managed to access the /var/messages file, I have removed anything
that I for sure know you wouldn't be interested in, please find the
other anwsers down in the mail.

/var/log/messages:
Dec 13 09:00:00 big newsyslog[786]: logfile turned over due to
size100K
Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=read
fsbn 237565992 of 237565992-237566023
Dec 13 12:46:05 big kernel: ad4: hard error cmd=read fsbn 237565992 of
237565992-237566023 status=7f error=7f
Dec 13 12:46:05 big kernel: vinum: raid.p0.s1 is crashed by force
Dec 13 12:46:05 big kernel: vinum: raid.p0 is corrupt
Dec 13 12:46:05 big kernel: fatal:raid.p0.s1 read error, block
237565929 for 16384 bytes
Dec 13 12:46:05 big kernel: raid.p0.s1: user buffer block 475130592
for 16384 bytes
Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=read
fsbn 238506216 of 238506216-238506247
Dec 13 12:46:05 big kernel: ad4: hard error cmd=read fsbn 238506216 of
238506216-238506247 status=7f error=7f
Dec 13 12:46:05 big kernel: fatal:raid.p0.s1 read error, block
238506153 for 16384 bytes
Dec 13 12:46:05 big kernel: raid.p0.s1: user buffer block 477011872
for 16384 bytes
Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=write
fsbn 71
Dec 13 12:46:05 big kernel: ad4: hard error cmd=write fsbn 71
status=7f error=7f
Dec 13 12:46:05 big kernel: vinum: Can't write config to /dev/ad4s1e,
error 5
Dec 13 12:46:05 big kernel: vinum: drive b is down
Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=write
fsbn 237565992 of 237565992-237566023
Dec 13 12:46:05 big kernel: ad4: hard error cmd=write fsbn 237565992
of 237565992-237566023 status=7f error=7f
Dec 13 12:46:05 big kernel: vinum: raid.p0.s1 is stale by force
Dec 13 12:46:05 big kernel: fatal :raid.p0.s1 write error, block
237565929 for 16384 bytes
Dec 13 12:46:05 big kernel: raid.p0.s1: user buffer block 475130592
for 16384 bytes
Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=write
fsbn 238506216 of 238506216-238506247
Dec 13 12:46:05 big kernel: ad4: hard error cmd=write fsbn 238506216
of 238506216-238506247 status=7f error=7f
Dec 13 12:46:05 big kernel: fatal :raid.p0.s1 write error, block
238506153 for 16384 bytes
Dec 13 12:46:05 big kernel: raid.p0.s1: user buffer block 477011872
for 16384 bytes
Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=read
fsbn 238506280 of 238506280-238506311
Dec 13 12:46:05 big kernel: ad4: hard error cmd=read fsbn 238506280 of
238506280-238506311 status=7f error=7f
Dec 13 12:46:05 big kernel: vinum: raid.p0.s1 is crashed by force
Dec 13 12:46:05 big kernel: fatal:raid.p0.s1 read error, block
238506217 for 16384 bytes
Dec 13 12:46:05 big kernel: raid.p0.s1: user buffer block 477011936
for 16384 bytes
Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=write
fsbn 238506280 of 238506280-238506311
Dec 13 12:46:05 big kernel: ad4: hard error cmd=write fsbn 238506280
of 238506280-238506311 status=7f error=7f
Dec 13 12:46:05 big kernel: vinum: raid.p0.s1 is stale by force
Dec 13 12:46:05 big kernel: fatal :raid.p0.s1 write error, block
238506217 for 16384 bytes
Dec 13 12:46:05 big kernel: raid.p0.s1: user buffer block 477011936
for 16384 bytes
Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=read
fsbn 1
Dec 13 12:46:05 big kernel: ad4: hard error cmd=read fsbn 1 status=7f
error=7f
Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=read
fsbn 0
Dec 13 12:46:05 big kernel: ad4: hard error cmd=read fsbn 0 status=7f
error=7f
Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=read
fsbn 64
Dec 13 12:46:05 big kernel: ad4: hard error cmd=read fsbn 64 status=7f
error=7f
Dec 13 12:46:05 big kernel: ad4: soft error (ECC corrected) cmd=read
fsbn 63
Dec 13 12:46:05 big kernel: ad4: hard error cmd=read fsbn 63 status=7f
error=7f
Dec 13 12:46:05 big kernel: vinum: raid.p0.s0 is stale by force
Dec 13 12:46:05 big kernel: vinum: raid.p0 is faulty
Dec 13 12:46:05 big kernel: vinum: raid is down
 cut 
Dec 16 00:25:28 big kernel: atapci1: Promise PDC20269 UDMA133
controller port
0x1060-0x106f,0x1018-0x101b,0x1070-0x1077,0x101c-0x101f,0x1078-0x107f
mem 0xe8004000-0xe8007fff irq 3 at device 17.0 on pci0
Dec 16 00:25:28 big kernel: ata2: at 0x1078 on atapci1
Dec 16 00:25:28 big kernel: ata3: at 0x1070 on atapci1
Dec 16 00:25:28 big kernel: fdc0: Enhanced floppy controller (i82077,
NE72065 or clone) port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
Dec 16 00:25:28 big kernel: fdc0: FIFO enabled, 8 bytes threshold
Dec 16 00:25:28 big kernel: fd0: 1440-KB 3.5 drive on fdc0 drive 0
Dec 16 00:25:28 big kernel: sio0 port 0x3f8-0x3ff irq 4 on acpi0
Dec 16 00:25:28 big kernel: sio0: type 16550A
Dec 16 00:25:28 big kernel: atkbdc0: Keyboard controller (i8042)
port 0x64,0x60 irq 1 on acpi0
Dec 16 00:25:28 big kernel: atkbd0: AT Keyboard flags 0x1 irq 1 on
atkbdc0
Dec 16 00:25:28 big kernel: kbd0 at atkbd0
Dec 16 00:25:28 big kernel: orm0: Option ROMs at iomem

Re: awk question, maybe

2003-12-15 Thread Fernando Gleiser
On Mon, 15 Dec 2003, David Bear wrote:

 i would like to do something like

 df | awk '{print $1}'

 to capture all the current file systems.  But I would like to strip
 off the first and last lines, since these are generally -- not needed.

df | awk '$1 ~/^\/dev/ {print $1}'


Fer


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


Re: awk question, maybe

2003-12-15 Thread David Bear
On Mon, Dec 15, 2003 at 08:39:06PM -0300, Fernando Gleiser wrote:
 On Mon, 15 Dec 2003, David Bear wrote:
 
  i would like to do something like
 
  df | awk '{print $1}'
 
  to capture all the current file systems.  But I would like to strip
  off the first and last lines, since these are generally -- not needed.
 
 df | awk '$1 ~/^\/dev/ {print $1}'
 

yes.. I was hoping it would be simple.  and I thought of using a regex
to match the lines I want after sending that note.

thanks for all the replies.


-- 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 Beware the IP portfolio, everyone will be suspect of trespassing
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


multiple dumps to single tape

2003-12-15 Thread David Bear
if I am writing multiple dumps to a single tape, is it wise to have mt
write a setmark after dumping each file system?

-- 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 Beware the IP portfolio, everyone will be suspect of trespassing
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MySQL 4.0.16 + PHP 4.3.4

2003-12-15 Thread Jez Hancock
On Mon, Dec 15, 2003 at 01:38:21PM -0800, Chris wrote:
 You know, it never occured to me that there were individual 
 Apache modules in the ports. Thanks Josh! Doesn't look like 
 it would help in this case, though, as the mod_php port is
 for Apache 1.3, and I need 2.0.
I believe you can force the mod_php4 port to install for apache2 using
'WITH_APACHE2'.  Having said this though last time I looked the mod_php4
port automatically detects what version of apache you're running so you
don't even need to use WITH_APACHE2.

Here it is - in /usr/ports/lang/php4/Makefile (which the mod_php4 make
process uses):

.if exists(${LOCALBASE}/include/apache2/apr.h)
WITH_APACHE2=   yes
.endif


-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - personal weblog
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Headless System via serial port?

2003-12-15 Thread Eric F Crist
Hey all,

I tried compiling the RELENG_5_2 set of sources last night.  It failed.
Now, I can't su to root to update to the 5.1 sources and I have to
either get my big-ass monitor out of the back room, or get this thing
setup to work over a serial console for these emergencies.  Can someone
tell me what I have to do to get this sort of support?  The only thing I
can seem to find in the handbook is the headless install setup.

BTW, I realize to fix this particular instance, I'm going to have to get
the monitor and keyboard out.

TIA

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588
 


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


Re: multiple dumps to single tape

2003-12-15 Thread Jerry McAllister
 
 if I am writing multiple dumps to a single tape, is it wise to have mt
 write a setmark after dumping each file system?

We write multiple dumps to tapes and never write extra marks.
Dump writes a file mark and that is plenty as far as I know.
It has been plenty for us.   Many restores have worked fine
on many different machines.

jerry
 
 -- 
 David Bear
 phone:480-965-8257
 fax:  480-965-9189
 College of Public Programs/ASU
 Wilson Hall 232
 Tempe, AZ 85287-0803
  Beware the IP portfolio, everyone will be suspect of trespassing
 ___
 [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:routed

2003-12-15 Thread Valerian Galeru
I want to understand about these routing tables I
run route flush (to remove all routes, gateways...).
Yes, all the routes are deleted(i try a web browser
and  i get an error), but when i run netstat -r, i
dont see that. When i want to get again the routing
table, i run routed (probably this is what i need for
regetting the routing table) and when i try a web page
on the web browser, it shows me the same eror as in
the case of the deleted routing table. Probably i did
something wrong... Thank you very much or support

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR

2003-12-15 Thread paul van den bergen
After all that angst, I couldn't get it to work anyway - on reboot the system 
reverted to a 4.8 kernel...  Not sure why, but gave up at this point...

On Fri, 12 Dec 2003 05:25 pm, paul van den bergen wrote:
 On Fri, 12 Dec 2003 05:17 pm, paul van den bergen wrote:
  Hi...

 snip...

 I stuffed up...

  # vnconfig vn1 /path/to/freebsd4.9/floppies/boot.flp
  # mkdir /bootfloppy
  # mount_mfs /dev/vn1c /bootfloppy/

 ^
 does not work...
 try simply

 # mount /dev/vn1c /bootfloppy/

-- 
Dr Paul van den Bergen
Centre for Advanced Internet Architectures
caia.swin.edu.au
[EMAIL PROTECTED]
IM:bulwynkl2002
And some run up hill and down dale, knapping the chucky stones 
to pieces wi' hammers, like so many road makers run daft. 
They say it is to see how the world was made.
Sir Walter Scott, St. Ronan's Well 1824 

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


Re: Having problems with 'pcm' and on-board Crystal Sound

2003-12-15 Thread David Kelly
On Dec 15, 2003, at 5:18 PM, [EMAIL PROTECTED] wrote:

(2)  If I let the boot loader.conf bring in 'snd_pcm' before the 
kernel starts, it won't see the sound chips at all.
snd_pcm isn't enough to drive the card, its only the common kernel 
interface code. Load snd_driver and figure out which of the many you 
really need, then load it only. That one will pull snd_pcm in with it.

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR

2003-12-15 Thread Minnesota Slinky
There's actually a very simple process to use to upgrade, providing you
have a broadband connection:

1) cvsup your sources to the newer sources.  For more information read
about cvsup or checkout the handbook!
2) once you have new sources, cd to /usr/src and type make world; this
could take an hour or more
3) if this completes OK, cd to /usr/src/sys/i386/conf (on 386-based
processor systems) and type:
# config GENERIC (or whatever your kernel config file is)
4) type:
# cd ../../compile/GENERIC (or name of kernel config file)
# make; make depend; make install
5) if this completes OK, type:
# shutdown -r now
6) once rebooted, login, and check uname -a.  You will see stats for a
4.9-x kernel!

HTH

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588
 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of paul van den
bergen
Sent: Monday, December 15, 2003 6:42 PM
To: FreeBSD-questions
Cc: [EMAIL PROTECTED]
Subject: Re: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR


After all that angst, I couldn't get it to work anyway - on reboot the
system 
reverted to a 4.8 kernel...  Not sure why, but gave up at this point...

On Fri, 12 Dec 2003 05:25 pm, paul van den bergen wrote:
 On Fri, 12 Dec 2003 05:17 pm, paul van den bergen wrote:
  Hi...

 snip...

 I stuffed up...

  # vnconfig vn1 /path/to/freebsd4.9/floppies/boot.flp
  # mkdir /bootfloppy
  # mount_mfs /dev/vn1c /bootfloppy/

 ^
 does not work...
 try simply

 # mount /dev/vn1c /bootfloppy/

-- 
Dr Paul van den Bergen
Centre for Advanced Internet Architectures
caia.swin.edu.au
[EMAIL PROTECTED]
IM:bulwynkl2002
And some run up hill and down dale, knapping the chucky stones 
to pieces wi' hammers, like so many road makers run daft. 
They say it is to see how the world was made.
Sir Walter Scott, St. Ronan's Well 1824 

___
[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]


[no subject]

2003-12-15 Thread Bobber Cheng


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


mfsroot and sysinstall

2003-12-15 Thread C. R. Garcia
List:

I have modified and compiled a new sysinstall for a custom
installation.  After I vnconfig mfsroot.flp and copy my new
sysinstall program in it, the new iso I burn does not work.

It seems after I mount mfsroot, all files in /stand are 
linked together and are all the same size around (2.1M).
When I copy in the new sysinstall, they all change to the
new size of sysinstall, around 932k.  It I run /stand/pwd,
it starts like running sysinstall with the blue screen
and then errors saying can not run pwd.

Does anyone know how to copy a new sysinstall in the /stand
directory in mfsroot?

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


Re: NATD config remote management

2003-12-15 Thread James Long
I have also read tips from folks who use at(1) to schedule the 
safety net firewall restoration, as opposed to using a cron(8)
job.  at(1) is more suited to one-shot scheduled jobs, and it is
a little easier to tell it run this ten minutes from now, for
changing values of now.

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


how to append multiple dumps to single tape

2003-12-15 Thread DG
On the subject of multiple dumps, how does one append several dumps to the
same tape?  The dump man page does not seem to indicate an 'append' option.

I have a SCSI DAT drive (DDS2) if that makes any difference to it's
appendability.

Thanx

Dave

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


Re: Stupid cvsup questions

2003-12-15 Thread Garance A Drosihn
At 11:41 PM +0200 12/15/03, Ion-Mihai Tetcu wrote:
Hi,

I have 2 identical (copy/paste) ports-supfiles on two machines:

it# grep -v '#' /etc/ports-supfile
*default host=cvsup.ro.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
ports-all


I run it like:
# cvsup -g /etc/ports-supfile on both machines.
The stupid question:
why on the second I have the `,v' suffix ?
Is there an env variable or something ?
I don't think so.  Did you try copying the file from one
machine to the other, and doing a direct diff?  It looks
like the 'tag=.' is being ignored for some reason.
I suspect you have tried that, but it's hard to imagine
why the two machines would be different.  I'd also note
that your grep command shouldn't ignore lines that have
a '#' that is anywhere in the line.  Only ignore lines
where there is nothing interesting before the '#'.  Eg:
   grep -v '^ *#'

I don't know what else to suggest.  From what you describe
in your message, both hosts should be getting the same set
of files.
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to append multiple dumps to single tape

2003-12-15 Thread Lowell Gilbert
DG [EMAIL PROTECTED] writes:

 On the subject of multiple dumps, how does one append several dumps to the
 same tape?  The dump man page does not seem to indicate an 'append' option.
 
 I have a SCSI DAT drive (DDS2) if that makes any difference to it's
 appendability.

I thought that's what the nsa (as opposed to sa(4)) device was for...

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to append multiple dumps to single tape

2003-12-15 Thread Chris Howells
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 16 December 2003 02:16, DG wrote:
 On the subject of multiple dumps, how does one append several dumps to the
 same tape?  The dump man page does not seem to indicate an 'append' option.

The following script works for me:

#!/usr/local/bin/bash

NTAPE=/dev/nrsa0
TAPE=/dev/rsa0
MT=/usr/bin/mt
DUMP=/sbin/dump
CAMCONTROL=/sbin/camcontrol

FILESYSTEMS=/ /var /backup

echo Rewinding the tape
$MT -f $TAPE rewind

echo Starting the backup

for fs in $FILESYSTEMS
do
 $DUMP -0au -f $NTAPE $fs
done

echo Rewinding the tape

$MT -f $TAPE rewind

echo Ejecting the tape

$CAMCONTROL eject sa0


 I have a SCSI DAT drive (DDS2) if that makes any difference to it's
 appendability.

Same here.

- -- 
Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer: http://www.kde.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/3nN1F8Iu1zN5WiwRAtbhAJ48lNe5ChRDsj0/faMR+nfvYr/bygCfZa5q
Qbu1tVXYbAEc9E9UxrkXKaM=
=+abu
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


I want to install a game...Unreal Tournament GOTY

2003-12-15 Thread Joe Altman
This is a long query; I apologize for the verbosity. I've tried to do
the relevant research.

My first attempt to install results in this error:

+ERROR+

sh ut-install-436-GOTY.run 
Verifying archive integrity...OK
Uncompressing Unreal Tournament version 436-GOTY Linux
install
chown: separation of user and group with a period is deprecated
ELF binary type 0 not known.
Abort trap
ELF binary type 3 not known.
Abort trap
The setup program seems to have failed on x86/glibc-2.1

Please contact Loki Technical Support at [EMAIL PROTECTED]
The program returned an error code (1)

++END RROR+

Assume with me that the relevant clue is this line:

The setup program seems to have failed on x86/glibc-2.1

I've looked around and believe that glibc is a Gnu C Library...as
distinct from the BSD C Library. Further, it seems obvious that I will
need to install something Linux-related to get this game running.

I've looked around through the ports tree, and have found the
following:

make search name=glib turns up a bunch of stuffthe most
interesting thing, it seems, is this

Port:   linux-glib2-2.2.1
Path:   /usr/ports/devel/linux-glib2
Info:   Version 2.X Linux/i386 binary port of GLib
snip
R-deps: linux_base-7.1_5

The Makefile doesn't seem to pull in the R-deps: linux_base-7.1_5, but
I could be misreading the Makefile.

Looking at it a different way, I see that there is an option to
install one of these:

/usr/ports/emulators/linux_base*

6 is marked forbidden, so that is right out...leaving either 8 or
7.1_5. However, neither has a mention of glibc-2.1.x, only 2.2.x

I guess my question is: do I need to do linux_base-7.1_5, and
linux-glib2-2.2.1, or can I get by with only one or the other?

That, or am I asking the wrong question?

That said, I'd like to try to get Unreal Tournament running on
Anna. Anna does have a custom kernel without Linux bits in it, so I
assume that this module will load as needed:

linux.ko

Or should I use this:

linux_enable=YES in /etc/rc.conf

I see in the archives from November that Karel J. Bosschaart used:

linux-flashplugin-5.0r51 The official Macromedia Flash Player for Linux
linux-gtk-1.2_2 RPM of the Gtk lib
linux-png-1.0.14_2  RPM of the PNG lib
linux-realplayer-8.cs2_2 Linux RealPlayer 8.0 from RealNetworks
linux_base-7.1_2The base set of packages needed in Linux mode

All of these seem a bit much; most likely only the latter one is
necessary. I'd like to get away with only installing what I absolutely
need, which I hope is just the /usr/ports/devel/linux-glib2 port. 

Info and such:

uname -a:

FreeBSD anna.chthonixia.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Dec
8 00:27:15 EST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ANNA
i386

glxinfo:
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
OpenGL renderer string: Mesa DRI G400 20020221 AGP 1x x86/MMX

Thanks for any pointers

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


Re: I want to install a game...Unreal Tournament GOTY

2003-12-15 Thread George Patterson
Joe, 

Do you have the Linux compatibility kernel module loaded?? 
Just a guess..


George Patterson


On Mon, 15 Dec 2003 22:18:13 -0500
Joe Altman [EMAIL PROTECTED] wrote:

 This is a long query; I apologize for the verbosity. I've tried to do
 the relevant research.
 
 My first attempt to install results in this error:
 
 +ERROR+
 
 sh ut-install-436-GOTY.run 
 Verifying archive integrity...OK
 Uncompressing Unreal Tournament version 436-GOTY Linux
 install
 chown: separation of user and group with a period is deprecated
 ELF binary type 0 not known.
 Abort trap
 ELF binary type 3 not known.
 Abort trap
 The setup program seems to have failed on x86/glibc-2.1
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Perl clean-up in freebsd

2003-12-15 Thread Jason Lieurance
Hello,

I have a FreeBSD 4.7 server and I just updated perl from 5.8 to 5.8.2 with the
ports-upgrade. I have a mess with all theses perls(no pun intended). Webmin(ver
1.21)  perl module shows 5.8 at the top instead of 5.8.2 and there are 3 of the same
modules listed for every perl module (5.0053, 5.8, 5.8.2). 5.8.2 is installed
correctly and is being used as the default as I have checked conf files and so
forth. How do I get rid of the left over perls(5.0053 and 5.8) as I still see their
directories and obviously their modules? But more importantly, also make sure
nothing depends on these old versions before I delete them.

-- 
Jason


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


Re: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR

2003-12-15 Thread paul van den bergen
Yes, I am familiar with that upgrade path...  Part of my motivation was ... 
well, lazyness :-) using someone elses worked out example, part a desire to 
blow away a rather mixed and heavily tweeked system (read I've been 
experimenting on it for so long I'm not sure what I've done anymore)...  and 
a small part the thrill of tackling an interesting problem... (mode = evil 
willow Bored Now! /mode)

In particular I wanted to completely remove a whole bunch of pkg_adds I'd done 
manually without doing pkg_delete or whatever...  given there was nothing I 
needed to keep, I figured it was easier to reinstall from scratch 
(4.9-RELEASE), with or without cvsup'ing to 4.9 stable.

On Tue, 16 Dec 2003 11:56 am, Minnesota Slinky wrote:
 There's actually a very simple process to use to upgrade, providing you
 have a broadband connection:

 1) cvsup your sources to the newer sources.  For more information read
 about cvsup or checkout the handbook!
 2) once you have new sources, cd to /usr/src and type make world; this
 could take an hour or more
 3) if this completes OK, cd to /usr/src/sys/i386/conf (on 386-based
 processor systems) and type:
   # config GENERIC (or whatever your kernel config file is)
 4) type:
   # cd ../../compile/GENERIC (or name of kernel config file)
   # make; make depend; make install
 5) if this completes OK, type:
   # shutdown -r now
 6) once rebooted, login, and check uname -a.  You will see stats for a
 4.9-x kernel!

 HTH

 Eric F Crist
 President
 AdTech Integrated Systems, Inc
 (612) 998-3588



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of paul van den
 bergen
 Sent: Monday, December 15, 2003 6:42 PM
 To: FreeBSD-questions
 Cc: [EMAIL PROTECTED]
 Subject: Re: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR


 After all that angst, I couldn't get it to work anyway - on reboot the
 system
 reverted to a 4.8 kernel...  Not sure why, but gave up at this point...

 On Fri, 12 Dec 2003 05:25 pm, paul van den bergen wrote:
  On Fri, 12 Dec 2003 05:17 pm, paul van den bergen wrote:
   Hi...
 
  snip...
 
  I stuffed up...
 
   # vnconfig vn1 /path/to/freebsd4.9/floppies/boot.flp
   # mkdir /bootfloppy
   # mount_mfs /dev/vn1c /bootfloppy/
 
  ^
  does not work...
  try simply
 
  # mount /dev/vn1c /bootfloppy/

-- 
Dr Paul van den Bergen
Centre for Advanced Internet Architectures
caia.swin.edu.au
[EMAIL PROTECTED]
IM:bulwynkl2002
And some run up hill and down dale, knapping the chucky stones 
to pieces wi' hammers, like so many road makers run daft. 
They say it is to see how the world was made.
Sir Walter Scott, St. Ronan's Well 1824 

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


Re: I want to install a game...Unreal Tournament GOTY

2003-12-15 Thread Joe Altman
On Tue, Dec 16, 2003 at 01:52:33PM +1030, George Patterson wrote:
 Joe, 
 
 Do you have the Linux compatibility kernel module loaded?? 

No, I don't...but I looked around my file tree for glibc, and didnt'
find it...it was in the back of my mind that the linux kernel module
might be dynamic and loaded as necessary, and the glibc was necessary
but not present in my file tree.

 Just a guess..

ThanksI'm in the dark, myself. I assume it will be necessary, at a
minimum, but still don't know about glibc.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: socket: no buffer space available

2003-12-15 Thread Andrew Thomson
Just for the record, I fixed this problem by recompiling my kernel with
MAXUSERS 512

:)

ajt.

On Mon, 2003-12-15 at 16:15, Andrew Thomson wrote:
 I've got a perl script doing some p5-sybase stuff for me.. However after
 a while, it fails with the following error message:
 
 ..socket: No buffer space available...
 
 I've seen other reports from other uses getting this problem however no
 clear responses on a fix.
 
 This script used to work find on my 5.0-RELEASE box now I'm trying it on
 a 5.1-RELEASE box. I admit the new box is a lower spec - less cpu and
 less memory - so that may affect some of the default sysctl values???
 
 I've tried tweaking a couple of sysctl entries however nothing has
 gotten me over this hurdle.
 
 Below are some relevant(??) sysctls.
 
 kern.ipc.maxsockbuf: 1048576
 kern.ipc.sockbuf_waste_factor: 8
 kern.ipc.nmbufs: 17920
 kern.ipc.nsfbufs: 2496
 kern.ipc.mbuf_wait: 64
 kern.ipc.mbuf_hiwm: 512
 kern.ipc.mbuf_lowm: 128
 
 kern.ipc.numopensockets: 94
 kern.ipc.maxsockets: 4008
 
 Any suggested tweaks appreciated.
 
 Regards,
 
 ajt.
 
 
 ___
 [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: Headless System via serial port?

2003-12-15 Thread Minnesota Slinky
Hello all.

Perhaps there are some differences in the 5.x series for serial port
options that I'm not aware of.  I plugged in a null-modem cable, and
opened HyperTerminal on my laptop.  I added a boot.config file in my
root directory on the freebsd system with the one line: -P

Great news.  I unplugged the keyboard and mouse and kept the monitor
plugged in just for measure.  I loaded hyperterm and watched as the
system detected the missing keyboard/mouse and I began to see text on my
terminal.  Everything loaded fine, until the login prompt.  Last thing I
saw was the current time and date on hyperterm.  On the monitor was the
login screen.  I couldn't even log in via ssh.  If I boot with a
keyboard/mouse, I get a normal system and I can log in via ssh.

Please help.

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric F Crist
Sent: Monday, December 15, 2003 6:12 PM
To: [EMAIL PROTECTED]
Subject: Headless System via serial port?


Hey all,

I tried compiling the RELENG_5_2 set of sources last night.  It failed.
Now, I can't su to root to update to the 5.1 sources and I have to
either get my big-ass monitor out of the back room, or get this thing
setup to work over a serial console for these emergencies.  Can someone
tell me what I have to do to get this sort of support?  The only thing I
can seem to find in the handbook is the headless install setup.

BTW, I realize to fix this particular instance, I'm going to have to get
the monitor and keyboard out.

TIA

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588



___
[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]


CGI_Lite module installation to perl 5.8.2

2003-12-15 Thread Martin Hudec
Hi,

did anyone experienced such error?

I am trying to install CGI_Lite for Perl 5.8.2, both manual install and CPAN 
shell install failed with following message during perl Makefile.PL:

Can't use string ( ) as a HASH ref while strict refs in use at /usr/local/
lib/perl5/5.8.2/ExtUtils/MM_Unix.pm line 503.

uname -a shows:
FreeBSD amber.aeternal.net 4.9-RELEASE FreeBSD 4.9-RELEASE #6: Mon Dec  8 
09:24:28 CET 2003 [EMAIL PROTECTED]:/usr/src/sys/compile/AMBER  
i386

perl -v shows:
This is perl, v5.8.2 built for i386-freebsd

I am not that skilled in perl to fix that by myself, so any assistance would 
be appreciated.

-- 
:
:. kind regards
:..  Martin Hudec
:.:
:.: =w= http://www.aeternal.net
:.: =m= +421.907.303393
:.: [EMAIL PROTECTED] [EMAIL PROTECTED]
:.:
:.: When you want something, all the universe 
:.:   conspires in helping you to achieve it.
:.:   - The Alchemist (Paulo Coelho)

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


Re: CGI_Lite module installation to perl 5.8.2

2003-12-15 Thread Martin Hudec
As far as I am researching I found out that this bug has been reported with 
5.8 perl about year ago. Bug has never been solved.
Here are details:
http://rt.cpan.org/NoAuth/Bug.html?id=1496

Same happens when I try to use older CGI_Lite ver. 1.7 from CPAN.

On Tuesday 16 December 2003 00:57, Martin Hudec wrote:
 I am trying to install CGI_Lite for Perl 5.8.2, both manual install and
 CPAN shell install failed with following message during perl Makefile.PL:

 Can't use string ( ) as a HASH ref while strict refs in use at
 /usr/local/ lib/perl5/5.8.2/ExtUtils/MM_Unix.pm line 503.

-- 
:
:. kind regards
:..  Martin Hudec
:.:
:.: =w= http://www.aeternal.net
:.: =m= +421.907.303393
:.: [EMAIL PROTECTED] [EMAIL PROTECTED]
:.:
:.: When you want something, all the universe 
:.:   conspires in helping you to achieve it.
:.:   - The Alchemist (Paulo Coelho)

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


  1   2   >