Run away CPU FreeBSD 4.9 Release #0

2004-01-06 Thread Matt Villion
Greetings, 
I have just installed 4.9 R0 on to new hardware and have encountered an
unusual issue.
It was not detected straight away as everything appeared to do what it was
supposed to do...

Some processes run away with the CPU.  Screen is one of the worst offenders
along with python..
The CPU starts out at about 15% and slowly ramps up to 100%.
As the % ramps up, the priority increases up to about 60
If more than one screen is launched, then the will share the CPU but the
priority still sits about 60.

Any ideas what this could be and how to fix.

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


Re: DNS resources or toaster

2004-01-06 Thread Peter Risdon
Marius Kirschner wrote:

I have the task to set up a two DNS servers for my company, and while I have
administered their DNS servers using BIND for a number of years I have never
set them up from scratch.  I have 2 boxes where FreeBSD 5.1 will be
installed, and, to be honest, I'm not sure whether to use BIND or DJBDNS of
which I've heard much good.  Obviously either one will do the
job.I guess it's just a matter of preferences..but I'm very tempted
to go with DJBDNS this time.
Anyway, anybody know of a good web page/site with some how-to for FreeBSD
and DJBDNS?  Thanks,
 

http://www.lifewithdjbdns.com/

PWR.

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


Re: Cannot find file system superblock error - how to recover?

2004-01-06 Thread Malcolm Kay
On Tue, 6 Jan 2004 15:05, Sergey 'DoubleF' Zaharchenko wrote:
 On Tue, 6 Jan 2004 13:29:26 +1030

 Malcolm Kay [EMAIL PROTECTED] probably wrote:
  On Tue, 6 Jan 2004 10:59, Scott I. Remick wrote:
   Sorry for the delay... holidays had me busy.

 Me too:)

   Hopefully you're still around
   and interested in picking up where we left off. I think we're
   definitely onto something...
 
  Looking back over some of your e-mails I find:
  QUOTE
  su-2.05b# disklabel -r /dev/ad6s1c
  # /dev/ad6s1c:
  8 partitions:
  #size   offsetfstype   [fsize bsize bps/cpg]
c: 156344517   63unused0 0 # raw part,
  don't edit
e: 156344517   634.2BSD 2048 1638489
  partition c: partition extends past end of unit
  disklabel: partition c doesn't start at 0!
  disklabel: An incorrect partition c may cause problems for standard
  system utilities
  partition e: partition extends past end of unit
 
  That doesn't look good.
  ENDQUOTE
 
  The 63 offset is spurious. I've seen this before somewhere but can't
  remember the details -- i.e the value 63.

 I know where you've seen this. The normal offset for the first *slice*
 is 63 sectors, for some historical reasons (those extra sectors were to
 be used for bad block replacement or something like that).


Yes, I expect it in the output from fdisk.
Ignoring for the moment that the BIOS ideas of geometry has nothing 
to do with the physical reality; all slices start at sector 1 of a track so having
used sector 1 of the first track (cylinder 0 head 0) for the MBR, the first slice
must start at cylinder 0 head 1 sector 1; usually an offset of 63 with the assumed
virtual geometry.
(Nothing to do with bad block replacement which on modern drives is almost 
completely hidden)

But I have seen the 63 before in corrupted disklabels, not just slice positions.

 Not sure how the 63 made it into the disklabel, though.

Neither do I.

Malcolm Kay

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


re: anyone have this problem of hotmail?

2004-01-06 Thread Zhang Weiwu
how silly I am. Some one told me the famous fetchmail can do the work.

_
 MSN Hotmail  http://www.hotmail.com  

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


XFree86 Desktop installation

2004-01-06 Thread freebsd
Hi,

I already configured the XFree86 on my FreeBSD system and I want to run
the KDE or Gnome desktop applications. How is this possible.

I appreciate your help. Totally newbie here :)

Thanks.

Cheers,

Mazen S. Alzogbi
www.mazenalzogbi.com


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


Re: XFree86 Desktop installation

2004-01-06 Thread Gautam Gopalakrishnan
On Tue, Jan 06, 2004 at 03:04:48AM -0800, [EMAIL PROTECTED] wrote:
 Hi,
 
 I already configured the XFree86 on my FreeBSD system and I want to run
 the KDE or Gnome desktop applications. How is this possible.
 
 I appreciate your help. Totally newbie here :)
 
If you have the time, patience and disk space, you could:

for gnome:
# cd /usr/ports/x11/gnome2
# make install clean

for kde:
# cd /usr/ports/x11/kde3
# make install clean

Or just install the packages (will fetch from the ftp servers)
# pkg_add -r kde
or
# pkg_add -r gnome2

hth
Gautam

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


changing configure options when using a port

2004-01-06 Thread August Simonelli
Hi all,

I'm slowly getting used to FreeBSD from a Linux background so forgive 
the ignorant questions.

I'm curious what the best way to add configure options are when 
installing from a port. For example, i'd like to add --enable-rewrite 
to apache2. Can I just put it in the Makefile in /usr/ports/www/apache2 
? Is this generally the best way to do this?

Thanks in advance,

August

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


Re: Cannot find file system superblock error - how to recover?

2004-01-06 Thread Sergey 'DoubleF' Zaharchenko
On Tue, 6 Jan 2004 19:43:44 +1030
Malcolm Kay [EMAIL PROTECTED] probably wrote:

 On Tue, 6 Jan 2004 15:05, Sergey 'DoubleF' Zaharchenko wrote:
  On Tue, 6 Jan 2004 13:29:26 +1030
 
  Malcolm Kay [EMAIL PROTECTED] probably wrote:
   On Tue, 6 Jan 2004 10:59, Scott I. Remick wrote:
Sorry for the delay... holidays had me busy.
 
  Me too:)
 
Hopefully you're still around
and interested in picking up where we left off. I think we're
definitely onto something...
  
   Looking back over some of your e-mails I find:
   QUOTE
   su-2.05b# disklabel -r /dev/ad6s1c
   # /dev/ad6s1c:
   8 partitions:
   #size   offsetfstype   [fsize bsize bps/cpg]
 c: 156344517   63unused0 0 # raw part,
   don't edit
 e: 156344517   634.2BSD 2048 1638489
   partition c: partition extends past end of unit
   disklabel: partition c doesn't start at 0!
   disklabel: An incorrect partition c may cause problems for standard
   system utilities
   partition e: partition extends past end of unit
  
   That doesn't look good.
   ENDQUOTE
  
   The 63 offset is spurious. I've seen this before somewhere but can't
   remember the details -- i.e the value 63.
 
  I know where you've seen this. The normal offset for the first *slice*
  is 63 sectors, for some historical reasons (those extra sectors were to
  be used for bad block replacement or something like that).
 
 
 Yes, I expect it in the output from fdisk.
 Ignoring for the moment that the BIOS ideas of geometry has nothing 
 to do with the physical reality; all slices start at sector 1 of a track so having
 used sector 1 of the first track (cylinder 0 head 0) for the MBR, the first slice
 must start at cylinder 0 head 1 sector 1; usually an offset of 63 with the assumed
 virtual geometry.
 (Nothing to do with bad block replacement which on modern drives is almost 
 completely hidden)

Yes I know, I meant used to be used for:)

 But I have seen the 63 before in corrupted disklabels, not just slice positions.

Maybe in dedicated disklabels? How did they get *that* corrupted?

  Not sure how the 63 made it into the disklabel, though.
 
 Neither do I.
 
 Malcolm Kay
 
 


-- 
DoubleF
You look like a million dollars.  All green and wrinkled.


pgp0.pgp
Description: PGP signature


Re: Cannot find file system superblock error - how to recover?

2004-01-06 Thread Sergey 'DoubleF' Zaharchenko
On Tue, 6 Jan 2004 19:57:09 +1030
Malcolm Kay [EMAIL PROTECTED] probably wrote:

 On Tue, 6 Jan 2004 15:38, Scott I. Remick wrote:
  --- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
I wonder whether editing the label and setting both offsets to 0
might solve the problem.
  
   It definitely seems like that, as the actual offset of the partition is
   0, as dd shows.
 
  Ok, sounds like a plan. Not that I know what I'm doing. Should I use
  something like the following command to save my current disklabel?
 
  bsdlabel /dev/ad6s1c  disklabel.ad6s1c.backup
 
  Then do I just edit a copy of that textfile, change the offsets to 0, then
  write it back like this?
 
  bsdlabel -R /dev/ad6s1c dislabel.ad6s1c.new
 

And maybe prefix that by a

$ bsdlabel -R /dev/ad6s1c dislabel.ad6s1c.new

which would just check your new layout for errors, without writing
anything, and print your file out as disklabel understands it.

  And lastly... your talk about offsets. The man page for bsdlabel describes
  using it on the whole disk (ad6) and not a slice or partition. If I run it

It can't be fdisk that you are reading about?

  on  ad6, I get:
 
  bsdlabel: /dev/ad6: no valid label found
 
 
 Beware; if you write a disklabel (or presumably bsdlabel; I have no experience 
 with 5.x) to ad6 you create a dangerously dedicated 
 disk, i.e. a disk without slices.

And of course the label isn't there, just because nobody wanted a `DD' disk.

  If I run it on the slice ad6s1 I get:
 
  # /dev/ad6s1:
  8 partitions:
  #size   offsetfstype   [fsize bsize bps/cpg]
c: 1563445170unused0 0 # raw part,
  don't edit
e: 15634451704.2BSD 2048 1638489
 
  And there I see the offset of 0 you might be talking about...? Are we
  looking at the proper label? Just want to make sure before I mess things
  up.
 
 
 Are you saying that the disklabels reported for ad6s1 and ad6s1c are different?

And the `new' one seems to be correct for a 80G drive (+- a couple of
megabytes)? Have you touched anything?

Now, mount might work.

 Under FreeBSD 4.x ad6s1 and ad6s1c would normally be aliases referencing the 
 entire slice. Maybe 5.x is different! I'm now very confused.

Uhum. disklabel said that the offset was 63 in your previous posting, didn't it? 
What does

# ls -l /dev/ad6s1 /dev/ad6s1c

say? Any differences? I have none.

 What is reported by fdisk?

Let me guess: a single large slice.

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


-- 
DoubleF
[Sir Stafford Cripps] has all the virtues I dislike and none of the
vices I admire.
-- Winston Churchill


pgp0.pgp
Description: PGP signature


Re: changing configure options when using a port

2004-01-06 Thread Gautam Gopalakrishnan
On Tue, Jan 06, 2004 at 10:33:49PM +1100, August Simonelli wrote:
 Hi all,
 
 I'm slowly getting used to FreeBSD from a Linux background so forgive 
 the ignorant questions.
 
 I'm curious what the best way to add configure options are when 
 installing from a port. For example, i'd like to add --enable-rewrite 
 to apache2. Can I just put it in the Makefile in /usr/ports/www/apache2 
 ? Is this generally the best way to do this?

If you look at the Makefile in /usr/ports/www/apache2, you would
notice a variable called WITH_MODULES. You would need to see what
modules you want and run make like:

make WITH_MODULES=include rewrite auth install clean

or whatever you want. There are examples given in the makefile.
You could change the makefile, but it will be overwriten next time
you upgrade the ports collection.

hth
Gautam


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


Re: XFree86 Desktop installation

2004-01-06 Thread Bernard El-Hagin
[EMAIL PROTECTED] wrote:

On Tue, Jan 06, 2004 at 03:04:48AM -0800, [EMAIL PROTECTED] wrote:
 Hi,
 
 I already configured the XFree86 on my FreeBSD system and I want to run
 the KDE or Gnome desktop applications. How is this possible.
 
 I appreciate your help. Totally newbie here :)
 
If you have the time, patience and disk space, you could:

for gnome:
# cd /usr/ports/x11/gnome2
# make install clean

for kde:
# cd /usr/ports/x11/kde3
# make install clean

Or just install the packages (will fetch from the ftp servers)
# pkg_add -r kde
or
# pkg_add -r gnome2



And then, after they're installed put the following in ~/.xinitrc:


exec start-kde, if you want KDE

or

exec gnome-session, if you want Gnome.


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


[tompos@martos.bme.hu: jail on nullfs and 5.1-RELEASE]

2004-01-06 Thread Papp Tamas
Nobody answered on the freebsd-fs list. May be (I hope;)) here.

Please, help me.

thanx,

tompos

- Forwarded message from Papp Tamas [EMAIL PROTECTED] -

Date: Mon, 29 Dec 2003 17:11:38 +0100
From: Papp Tamas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: jail on nullfs and 5.1-RELEASE

hi!

I created a full jail with nullfs. Everything is mounted read-only
with nullfs except /var, /dev, /tmp and /home . It would be an shell
server. When I did a find inside the jail in the directory /usr/sbin,
it was lockd up. 
The process can't see in the ps list from outside the jail. When I
try to connect to the jail's ssh daemon, it doesn't work, but with
jexec I can do anything, for example ps, or ls, but if I want to list
the files in the jail's /, /usr or /usr/sbin directory (common mount),
it locks up, and the ps show the process in the D+ state.

root10034  0.0  0.0  1136  476  p1  D+4:48PM   0:00.00 jexec 8
/bin/ls /

Anyway the cron processess in the jail are too in D state:

root 9993  0.0  0.0  1304  440  ??  DLJ   4:45PM   0:00.00
/usr/sbin/cron

Can somebody to help me, or say any positive future releated to the
problem? I'm very sad, because I would like to do this very much and I
can't :)

I'm sorry if the mail is a bit chaotic, but I can't see, where or what
is the problem (nullfs? jail? or something else? or me?:))) and my
english is very rude. I apologize.

Thank you very much,

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


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


Re: changing configure options when using a port

2004-01-06 Thread August Simonelli
Ok that makes sense.

So something like

make --enable-rewrite
make install clean
would do the trick?

As well as make WITH_MODULES=include rewrite auth install clean as 
suggested by Gautam Gopalakrishnan?

august

On 06/01/2004, at 11:13 PM, Subhro wrote:

Hi August,

System wide make options are added to the /etc/make.conf. However for
specific ports I prefer to put the required options on the command line
while compiling.
Regards
Subhro
Subhro Sankha Kar
Indian Institute of Information Technology
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of August 
Simonelli
Sent: Tuesday, January 06, 2004 5:04 PM
To: FreeBSD-questions
Subject: changing configure options when using a port

Hi all,

I'm slowly getting used to FreeBSD from a Linux background so forgive
the ignorant questions.
I'm curious what the best way to add configure options are when
installing from a port. For example, i'd like to add --enable-rewrite
to apache2. Can I just put it in the Makefile in /usr/ports/www/apache2
? Is this generally the best way to do this?
Thanks in advance,

August

___
[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: libxmms.so troubles with building mplayer.

2004-01-06 Thread Matthew Seaman
On Mon, Jan 05, 2004 at 06:08:17PM -0800, Gary Kline wrote:
 
   For reasons I haven't sorted out, player is looking for
   /usr/local/lib/libxmms.so, while the library xmms.so[.4]
   is in the X11R6 tree.  So mplayer quits.  When I turn off
   WITH_XMMS, mplayer dies elsewhere.

Hmmm... It works fine for me, and finds the right libxmms.so:

% ldd /usr/local/bin/mplayer | grep -i xmms
libxmms.so.4 = /usr/X11R6/lib/libxmms.so.4 (0x2847e000)

I think that mplayer should be able to find libxmms.so in
/usr/X11R6/lib without having to use any special linker flags. The
fact that it can't suggests that either when you're compiling mplayer
you are somehow overriding the linker flags in a counter-productive
way, or that the ld-elf.so dynamic loader configuration is screwed up.

Do you have anything in your environment that could affect either the
compilation stage -- eg. LDFLAGS, CFLAGS, CC or any environment
variables that could affect the dynamic loader -- eg LD_LIBRARY_PATH,
LD_PRELOAD (see rtld(1) for more)?  Have you installed the libmap.conf
patch from http://people.FreeBSD.org/~nork/libmap_4stable.diff , as
the www/linuxpluginwrapper port needs you to do under 4.x?  If so,
what's the contents of your /etc/libmap.conf?

What do you get from running 'ldconfig -r' -- particularly the second
line or so where it shows what directories it will search for shared
libraries?  Should be something like:

% ldconfig -r | head -2
/var/run/ld-elf.so.hints:
search directories: 
/usr/lib:/usr/lib/compat:/usr/X11R6/lib:/usr/local/lib:/usr/local/lib/mysql:/usr/local/lib/compat/pkg:/usr/local/lib/pth:/usr/local/lib/mplayer/vidix

and it should have a line for libxmms something like this:

160:-lxmms.4 = /usr/X11R6/lib/libxmms.so.4

(The number 160 will be different on your system: it just means that
information about libxmms.so.4 is stored in element 160 of an array
internal to ld-elf.so)

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: changing configure options when using a port

2004-01-06 Thread Matthew Seaman
On Tue, Jan 06, 2004 at 10:33:49PM +1100, August Simonelli wrote:

 I'm slowly getting used to FreeBSD from a Linux background so forgive 
 the ignorant questions.
 
 I'm curious what the best way to add configure options are when 
 installing from a port. For example, i'd like to add --enable-rewrite 
 to apache2. Can I just put it in the Makefile in /usr/ports/www/apache2 
 ? Is this generally the best way to do this?

The apache2 port Makefile already comes with any number of hooks for
enabling or disabling various configuration options -- probably too
many in fact.

In your case, to enable mod_rewrite you don't need to do anything, as
it's already a standard part of the apache2 port, and enabled by
default in the sample httpd-std.conf file.  To get a list of what
modules are available and what would be included when you build the
port, use:

# cd /usr/ports/www/apache2
# make show-modules

However, for the sake of completelness, you can compile the port to
include extra modules by:

# make WITH_EXTRA_MODULES=rewrite

or to statically link mod_rewrite into the apache binary:

# make WITH_STATIC_MODULES=rewrite

To apply these options without having to remember to type them in on
the command line all the time, you can create a 'Makefile.inc' in the
port directory which just contains the 'WITH_FOO=bar' variable
assignments, or you can use portupgrade(1) and record these
customizations in it's pkgtools.conf configuration file.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: [tompos@martos.bme.hu: jail on nullfs and 5.1-RELEASE]

2004-01-06 Thread Papp Tamas
On Tue, Jan 06, 2004 at 05:49:37PM +0530, Subhro wrote:
 Hi Tompos,
 RTFM?
 Refer to the jail manual pages. It will tell you how to run services within
 a jail. Running services within a jail is *not* like running services on a
 bare system. Also find locked up as expected. For executing the find ssh to
 the jail and check from inside. And regarding the process, it is very much
 normal that you can't see the process. You will just see the main jail
 process from ps -aux. It will be running with a j flag indicating it's a
 jail process. If you wnt to find the process for something (say gruff)
 running inside a jail, then get into the jail and type ps -aux.

Hi Subhro,

I did run the find within the jail and it locked up.

Why is it normal, that I can't see the process? Yes, I now, it has J
flag, but I should see it outside the jail, souldn't I?

Do I misunderstand something?

thanx,

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


Re: error in port

2004-01-06 Thread Dino Vliet
This worked!!
I could get it to install with the package and I also
managed to install Gnucash successfully which was
dependent of ghostscript.

Thanks
--- W. Ryan Merrick [EMAIL PROTECTED] wrote:
 Dino Vliet wrote:
  I tried to do it once again and I'm getting the
  following error:
  **
  gmake[3]: Leaving directory
 

`/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print-4.2.1/src'
  gmake[2]: Leaving directory
 

`/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print-4.2.1/src'
  Making all in samples
  gmake[2]: Entering directory
 

`/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print-4.2.1/samples'
  gmake[2]: Nothing to be done for `all'.
  gmake[2]: Leaving directory
 

`/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print-4.2.1/samples'
  Making all in test
  gmake[2]: Entering directory
 

`/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print-4.2.1/test'
  gmake[2]: Nothing to be done for `all'.
  gmake[2]: Leaving directory
 

`/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print-4.2.1/test'
  Making all in po
  gmake[2]: Entering directory
 

`/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print-4.2.1/po'
  gmake[2]: Nothing to be done for `all'.
  gmake[2]: Leaving directory
 

`/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print-4.2.1/po'
  Making all in doc
  gmake[2]: Entering directory
 

`/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print-4.2.1/doc'
  Making all in users_guide
  gmake[3]: Entering directory
 

`/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print-4.2.1/doc/users_guide'
  gmake[3]: Nothing to be done for `all'.
  gmake[3]: Leaving directory
 

`/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print-4.2.1/doc/users_guide'
  gmake[3]: Entering directory
 

`/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print-4.2.1/doc'
  gmake[3]: Nothing to be done for `all-am'.
  gmake[3]: Leaving directory
 

`/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print-4.2.1/doc'
  gmake[2]: Leaving directory
 

`/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print-4.2.1/doc'
  gmake[2]: Entering directory
 

`/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print-4.2.1'
  gmake[2]: Nothing to be done for `all-am'.
  gmake[2]: Leaving directory
 

`/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print-4.2.1'
  gmake[1]: Leaving directory
 

`/usr/ports/print/ghostscript-gnu/work/ghostscript-7.07/gimp-print-4.2.1'
  
   creating symlinks for gimp-print ...
   creating symlinks for md2k ...
   creating symlinks for alps ...
   creating symlinks for bj10v ...
   creating symlinks for bjc250 ...
   creating symlinks for lips ...
   building epag utility ...
  
  gmake: `ert' is up to date.
  
   creating symlinks for epag ...
   creating symlinks for eplaser ...
   creating symlinks for mjc ...
   creating symlinks for lxm3200 ...
   creating symlinks for lex7000 ...
  
  cc `cat ./obj/cc.tr`  -DHAVE_MKSTEMP -O -pipe 
 -Wall
  -Wstrict-prototypes -Wmissing-declarations
  -Wmissing-prototypes -Wtraditional -fno-builtin
  -fno-common -DUPD_SIGNAL=0 -I./gimp-print
  -I/usr/local/include -I./obj -I./src  -o
  ./obj/gdevl256.o -c ./src/gdevl256.c
  *** Error code 2
  
  Stop in /usr/ports/print/ghostscript-gnu.
  ***
  
  I'm not doing anayting fancy. Just cd to the
  /usr/ports/print/ghostscript-gnu directory and
 issue a
  make install clean.
  I haven't configured x yet. I'm not giving any
  options.
  So what's the big problem?
  
  
  
  --- Lowell Gilbert
  [EMAIL PROTECTED] wrote:
  
 Dino Vliet [EMAIL PROTECTED] writes:
 
 
 I'm getting an error when doing a make install
 
 clean
 
 in the gnucash 1.8.5 port under freebsd 4.9.
 The make prcess stops with the following command:
 
 ..
 ./src/gdevl256.c:307: warning: implicit
 
 declaration of
 
 function 'gl_line'
 gmake: ** [obj/gdvel256.o] Error 1
 *** Error code 2
 
 Stop in /usr/ports/print/ghostscript-gnu
 *** Error code 1
 
 Stop in /usr/ports/print/gnomeprint
 *** Error code 1
 
 Stop in /usr/ports/math/guppi
 *** Error code 1
 
 Stop in /usr/ports/finance/gnucash
 
 +++
 
 What went wrong? What can I do about it? How can
 I
 remove the files that were already installed? How
 
 do I
 
 know which files where already installed?
 
 What failed was building ghostscript-gnu, one of
 the
 other ports on
 which gnucash depends.  The gnucash port itself
 did
 not install
 anything; the ports system is careful about not
 installing a port
 unless that port built properly.
 
 So the only thing you need to worry about is why
 ghostscript didn't
 build for you.  It's building properly for me; did
 you set any
 options, or change the driver configuration?  [The
 file that's failing
 to build for you doesn't exist in my build
 directory.]
 
 -- 
 Lowell Gilbert, 

Re: changing configure options when using a port

2004-01-06 Thread August Simonelli
On 06/01/2004, at 11:52 PM, Matthew Seaman wrote:

On Tue, Jan 06, 2004 at 10:33:49PM +1100, August Simonelli wrote:

I'm slowly getting used to FreeBSD from a Linux background so forgive
the ignorant questions.
I'm curious what the best way to add configure options are when
installing from a port. For example, i'd like to add --enable-rewrite
to apache2. Can I just put it in the Makefile in 
/usr/ports/www/apache2
? Is this generally the best way to do this?
The apache2 port Makefile already comes with any number of hooks for
enabling or disabling various configuration options -- probably too
many in fact.
In your case, to enable mod_rewrite you don't need to do anything, as
it's already a standard part of the apache2 port, and enabled by
default in the sample httpd-std.conf file.  To get a list of what
modules are available and what would be included when you build the
port, use:
# cd /usr/ports/www/apache2
# make show-modules
However, for the sake of completelness, you can compile the port to
include extra modules by:
# make WITH_EXTRA_MODULES=rewrite

or to statically link mod_rewrite into the apache binary:

# make WITH_STATIC_MODULES=rewrite

To apply these options without having to remember to type them in on
the command line all the time, you can create a 'Makefile.inc' in the
port directory which just contains the 'WITH_FOO=bar' variable
assignments, or you can use portupgrade(1) and record these
customizations in it's pkgtools.conf configuration file.


Ok, I get it. And  by having  --enable-so in the apache port's Makefile 
 and using the LoadModule directive in httpd.conf i can see how many 
modules are actually available from the port bt default. wow. 
httpd.conf has a lot of stuff enabled ... sounds like i've got the info 
i need here to understand adding additional configure options to the 
building of a port. now it sounds like i'd better do some reading on 
apache!

thanks everyone!

august

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


p5-DBD-Oracle-1.14 with 9i

2004-01-06 Thread Vitalis
Hi,

Should this driver also work for Oracle 9i?

I get the following error at connection, though I don't think there is a
real memory problem:

DBI connect('MYBASE','mylogin',...) failed:  at ./connect.pl line 4
ORA-01019: unable to allocate memory in the user side (DBD: login
failed, probably a symptom of a deeper problem) at ./connect.pl line 4.

I'm running freebsd 5.1 SMP enabled, Oracle 9i, oracle7-client-0.02,
p5-DBI-137-1.37 and p5-DBD-Oracle-1.14, all on the same box.

TIA

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


Re: p5-DBD-Oracle-1.14 with 9i

2004-01-06 Thread Lukas Ertl
On Tue, 6 Jan 2004, Vitalis wrote:

 Should this driver also work for Oracle 9i?

 I get the following error at connection, though I don't think there is a
 real memory problem:

 DBI connect('MYBASE','mylogin',...) failed:  at ./connect.pl line 4
 ORA-01019: unable to allocate memory in the user side (DBD: login
 failed, probably a symptom of a deeper problem) at ./connect.pl line 4.

 I'm running freebsd 5.1 SMP enabled, Oracle 9i, oracle7-client-0.02,
 p5-DBI-137-1.37 and p5-DBD-Oracle-1.14, all on the same box.

Unfortunately, you can't connect to Oracle 9i with an Oracle 7 client. :-/

regards,
le

-- 
Lukas Ertl eMail: [EMAIL PROTECTED]
UNIX Systemadministrator   Tel.:  (+43 1) 4277-14073
Vienna University Computer Center  Fax.:  (+43 1) 4277-9140
University of Vienna   http://mailbox.univie.ac.at/~le/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: XFree86 Desktop installation

2004-01-06 Thread freebsd
Gautam and Bernard,

Thank you for your instant help. I will try that as soon :)

Cheers,

Mazen

On Tue, Jan 06, 2004 at 03:04:48AM -0800, [EMAIL PROTECTED]
 wrote:
 Hi,

 I already configured the XFree86 on my FreeBSD system and I want to
 run the KDE or Gnome desktop applications. How is this possible.

 I appreciate your help. Totally newbie here :)

If you have the time, patience and disk space, you could:

for gnome:
# cd /usr/ports/x11/gnome2
# make install clean

for kde:
# cd /usr/ports/x11/kde3
# make install clean

Or just install the packages (will fetch from the ftp servers)
# pkg_add -r kde
or
# pkg_add -r gnome2



 And then, after they're installed put the following in ~/.xinitrc:


 exec start-kde, if you want KDE

 or

 exec gnome-session, if you want Gnome.


 --
 Cheers,
 Bernard


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


Re: jdk14+tomcat5 crashing box

2004-01-06 Thread Sheldon Hearn
On (2003/12/31 04:55), Brett Gulla wrote:

 Thanks for the input, but the problem seems to have been fixed.  Here's what I
 did:
 1. cvsup'd to 5.2 RC
 2. upgraded to tomcat 5.0.16
 
 PS.  Using native threads (-lc_r not -pthread)

I believe that the problem was fixed in FreeBSD itself, because an
upgrade from a pre-5.2-RC1 to 5.2-CURRENT fixed exactly this problem for
me.  I didn't need to upgrade Tomcat.

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


Re: Cannot find file system superblock error - how to recover?

2004-01-06 Thread Scott I. Remick

--- Malcolm Kay [EMAIL PROTECTED] wrote:
 
 Beware; if you write a disklabel (or presumably bsdlabel; I have no
 experience 
 with 5.x) to ad6 you create a dangerously dedicated 
 disk, i.e. a disk without slices.

Ok. I am not saying that's what I want to do, I only mentioned it because
the man page for disklabel/bsdlabel uses the entire disk (/dev/da0) as an
example.

man disklabel brings up bsdlabel, which is why I mention bsdlabel instead.


http://www.freebsd.org/cgi/man.cgi?query=bsdlabel

 Are you saying that the disklabels reported for ad6s1 and ad6s1c are
 different?

This is correct. Your surprise suggests that it was good I mentioned that,
eh? :) Glad I haven't done anything yet.

In summary, ad6s1 returns an offset of 0 and no error. ad6s1c returns an
offset of 63 and the rest of the info is identical except for the following
error tagged on at the end:

partition c: partition extends past end of unit
bsdlabel: partition c doesn't start at 0!
bsdlabel: An incorrect partition c may cause problems for standard system
utilities
partition e: partition extends past end of unit

 Under FreeBSD 4.x ad6s1 and ad6s1c would normally be aliases referencing
 the entire slice. Maybe 5.x is different! I'm now very confused.

I'm not sure... maybe Sergey wants to pipe in here on this point? 

 What is reported by fdisk?

Ah, I'm at work now. Can't do that from here... I'll let you know later.

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


Re: How do I read digital camera on USB port with hppsmtools?

2004-01-06 Thread Ken Seggerman
Thanks for your reply.

  I plug the camera into the USB port, turn on the camera, it beeps and says
  it is connected to a computer.

 At this stage I think you could mount the camera with the /dev/da0s1
 device with msdosfs. Works for me with 5.1

I added this to my /etc/fstab:
/dev/da0s1   /camera msdos   r,notauto,longnames  0  0

created a /camera directory and did MAKEDEV da0s1 but when I try to
mount /camera:

# mount /camera
fstab: /etc/fstab:9: Inappropriate file type or format
fstab: /etc/fstab:9: Inappropriate file type or format
mount: /camera: unknown special file or file system

when I try putting this line in /etc/fstab:

/dev/usb0  /usb  msdos   rw,noauto,longnames  0 0
and
# mount /usb

I get:
fstab: /etc/fstab:9: Inappropriate file type or format
msdos: /dev/usb0: Block device required

Do I need to do something like /dev/usb0/da0s1

The handbook goes into great detail about the architecture and says that
USB was supported early on and that the device is smart enough to work on
a plug and play basis no matter what you plug into it.

I can't mount the device, much less use a peripheral plugged into it.

regards,

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


Two unrelated questions

2004-01-06 Thread Scott Miller
Hi List,

1)  Does the 5.x branch of freebsd support 32 bit cardbus? or will it be
added to 4.x soon?


2)  I have installed freebsd 4.9  on my Dell Inspiron 8100 laptop, when I
try to configure XFree86 I have to use the text based tool.  After doing
that, when I run startx I get a grainy desktop that almost covers my screen,
but not quite, and has only a clock window, a login window, and an xterm
window, and nothing else.  Where am I going wrong?

Happy New Year

Scott



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


Re: Two unrelated questions

2004-01-06 Thread Kliment Andreev
 2)  I have installed freebsd 4.9  on my Dell Inspiron 8100 laptop, when I
 try to configure XFree86 I have to use the text based tool.  After doing
 that, when I run startx I get a grainy desktop that almost covers my
screen,
 but not quite, and has only a clock window, a login window, and an xterm
 window, and nothing else.  Where am I going wrong?

You didn't install some of the window managers. Log as root and

# cd /stand
# ./sysinstall

Choose Post-Configure XFree86 or something and install KDE, Gnome or
something similar.

# rehash
# startx

It should work...

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


Re: Cannot find file system superblock error - how to recover?

2004-01-06 Thread Scott I. Remick

--- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
 And maybe prefix that by a
 
 $ bsdlabel -R /dev/ad6s1c dislabel.ad6s1c.new
 
 which would just check your new layout for errors, without writing
 anything, and print your file out as disklabel understands it.

So you're saying, run it as user and not root for the sake of testing it in
a read-only setting? Would that be better than using -n? From the man page:

The -n stops the bsdlabel program right before the disk would have been
modified, and displays the result instead of writing it.

   And lastly... your talk about offsets. The man page for bsdlabel
 describes
   using it on the whole disk (ad6) and not a slice or partition. If I
 run it
 
 It can't be fdisk that you are reading about?

Nope. man bsdlabel mentions:

disk represents the disk in question, and may be in the form da0 or
 /dev/da0.  It will display the partition layout.

But I see now all the later examples mention da0s1 so maybe I misunderstood.

 And the `new' one seems to be correct for a 80G drive (+- a couple of
 megabytes)? Have you touched anything?
 
 Now, mount might work.

Haven't changed anything yet. Which one are you calling the new one? Mount
would be done on the partion (ad6s1c) which gives errors with bsdlabel and
has an offset of 63, not the whole slice (ad6s1) which has an offset of 0
and doesn't give errors (with bsdlabel).

 Uhum. disklabel said that the offset was 63 in your previous posting,
 didn't it? 

63 for ad6s1c, 0 for ad6s1. This is what's got Malcolm confused.

 What does
 
 # ls -l /dev/ad6s1 /dev/ad6s1c
 
 say? Any differences? I have none.

su-2.05b# ls -l /dev/ad6s1 /dev/ad6s1c
crw-r-  1 root  operator4,  20 Dec 29 08:11 /dev/ad6s1
crw-r-  1 root  operator4,  21 Dec 29 08:11 /dev/ad6s1c

And to recap:

su-2.05b# bsdlabel /dev/ad6s1
# /dev/ad6s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 1563445170unused0 0 # raw part, don't
edit
  e: 15634451704.2BSD 2048 1638489

su-2.05b# bsdlabel /dev/ad6s1c
# /dev/ad6s1c:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 156344517   63unused0 0 # raw part, don't
edit
  e: 156344517   634.2BSD 2048 1638489
partition c: partition extends past end of unit
bsdlabel: partition c doesn't start at 0!
bsdlabel: An incorrect partition c may cause problems for standard system
utilities
partition e: partition extends past end of unit


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


Poor SCSI disk preformance

2004-01-06 Thread Derek Marcotte
Hi Everyone,
I'm having difficulty getting my SCSI hard disks to preform
well.  I don't know what tools are available to help me diagnose
this issue, or if there are specific tweaks that I need to make.
Attached is the output from dmesg.

The reason why I say that performance is slow is that when I run
the following:

# dd if=/dev/zero of=/dev/da0 count=200 bs=128k
200+0 records in
200+0 records out
26214400 bytes transferred in 5.100589 secs (5139485 bytes/sec)

You can see that it doesn't transfer very fast.  If I do the
whole drive, I still get the same throughput.  It strikes me as
odd that an older ATA disk preforms better than the newer SCSI
disk.  I am under the impression that a standard run-of-the mill
ATA drive will do anywhere from 10-15 MB/s sequential transfer,
which is what I get when writing to an actual filesystem (with no
soft-updates):

# mount
/dev/ad0s1a on / (ufs, local)
/dev/ad0s1f on /tmp (ufs, local, soft-updates)
/dev/ad0s1g on /usr (ufs, local, soft-updates)
/dev/ad0s1e on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)

# dd if=/dev/zero of=/temp.234233 count=200 bs=128k
200+0 records in
200+0 records out
26214400 bytes transferred in 2.437368 secs (10755208 bytes/sec)

And with soft-updates:

# dd if=/dev/zero of=/usr/temp.234233 count=200 bs=128k
200+0 records in
200+0 records out
26214400 bytes transferred in 2.759680 secs (9499072 bytes/sec)

I also had (meaning it is not currently attached) a different
SCSI drive attached on the bus, with the same results.  Has
anyone any tips for this from a FreeBSD point of view?

TIA,
Derek
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.8-RELEASE #0: Thu Apr  3 10:53:38 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (298.54-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x660  Stepping = 0
  
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 134217728 (131072K bytes)
avail memory = 125378560 (122440K bytes)
Preloaded elf kernel kernel at 0xc051d000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00ede10
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
pci0: PCI bus on pcib0
agp0: Intel 82443BX (440 BX) host to PCI bridge mem 0x4400-0x47ff at device 
0.0 on pci0
pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: ATI Mach64-GD graphics accelerator at 0.0 irq 11
fxp0: Intel Pro 10/100B/100+ Ethernet port 0x2400-0x241f mem 
0x4010-0x401f,0x4200-0x42000fff irq 11 at device 15.0 on pci0
fxp0: Ethernet address 00:08:c7:89:c4:28
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc0: Adaptec 2940 Ultra SCSI adapter port 0x2000-0x20ff mem 0x4020-0x40200fff 
irq 11 at device 16.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
isab0: Intel 82371AB PCI to ISA bridge at device 20.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller port 0x2440-0x244f at device 20.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0x2420-0x243f irq 11 at device 
20.2 on pci0
usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip0: Intel 82371AB Power management controller port 0xfc00-0xfc0f at device 20.3 
on pci0
orm0: Option ROMs at iomem 
0xc-0xc7fff,0xc8000-0xc97ff,0xc9800-0xd07ff,0xe-0xe7fff on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
ad0: 3093MB FUJITSU MPB3032ATU [6286/16/63] at ata0-master UDMA33
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/ad0s1a
da0 at ahc0 

machdep.hlt_logical_cpus missing in 4.9-Release

2004-01-06 Thread Hall J D (ISeLS)
I've just installed 4.9-Release on a twin Xeon system and compiled a generic
SMP kernel (GENERIC with SMP and APIC_IO enabled).

The problem I'm having is the system is using the logical HyperThreading
CPUs even though I don't want it to.

The errata for 4.9-Release says that the logical CPUs are prevented from
executing user processes by default, they are not. It also says you can
control this behaviour by change the value of the machdep.hlt_logical_cpus
sysctl(8) variable. My sysctl doesn't seem to know about this variable.

I've checked the archives and someone else had this problem back in November
but I can't see any replys other than machdep.hlt_logical_cpus should be
there.

Can anyone offer some advise please.

Thanks,

Jonathan

Output from uname -a

FreeBSD parker.isd.glam.ac.uk 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Tue Jan  6
10:56:52 GMT 2004 [EMAIL PROTECTED]:/usr/src/sys/compile/GENSMP
i386

Output from sysctl -A machdep

machdep.consdev: { major = 12, minor = 255 }
machdep.adjkerntz: 0
machdep.disable_rtc_set: 0
machdep.bootinfo: Format:S,bootinfo Length:84
Dump:0x010094240400...
machdep.wall_cmos_clock: 0
machdep.cs_recv_delay: 570
machdep.wi_cache_mcastonly: 0
machdep.wi_cache_iponly: 1
machdep.do_dump: 1
machdep.pccard.mem_start: 851968
machdep.pccard.mem_end: 983039
machdep.enable_panic_key: 0
machdep.apm_suspend_delay: 1
machdep.apm_standby_delay: 1
machdep.ispc98: 0
machdep.msgbuf: 
machdep.msgbuf_clear: 0
machdep.cpu_idle_hlt: 1
machdep.guessed_bootdev: /dev/da0s1a
machdep.smp_active: 1
machdep.smp_cpus: 4
machdep.invltlb_ok: 1
machdep.do_page_zero_idle: 1
machdep.forward_irq_enabled: 1
machdep.forward_signal_enabled: 1
machdep.forward_roundrobin_enabled: 1
machdep.hlt_cpus: 0
machdep.panic_on_nmi: 1
machdep.i8254_freq: 1193182
machdep.conrclk: 1843200
machdep.conspeed: 9600

Output from dmesg

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.9-RELEASE #0: Tue Jan  6 10:56:52 GMT 2004
[EMAIL PROTECTED]:/usr/src/sys/compile/GENSMP
Timecounter i8254  frequency 1193182 Hz
CPU: Intel(R) Xeon(TM) CPU 2.66GHz (2666.79-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 2147418112 (2097088K bytes)
avail memory = 2086199296 (2037304K bytes)
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 - irq 0
Programming 16 pins in IOAPIC #1
Programming 16 pins in IOAPIC #2
Programming 16 pins in IOAPIC #3
FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee0
 cpu2 (AP):  apic id:  6, version: 0x00050014, at 0xfee0
 cpu3 (AP):  apic id:  7, version: 0x00050014, at 0xfee0
 io0 (APIC): apic id:  8, version: 0x000f0011, at 0xfec0
 io1 (APIC): apic id:  9, version: 0x000f0011, at 0xfec01000
 io2 (APIC): apic id: 10, version: 0x000f0011, at 0xfec02000
 io3 (APIC): apic id: 11, version: 0x000f0011, at 0xfec03000
Preloaded elf kernel kernel at 0xc055.
Preloaded userconfig_script /boot/kernel.conf at 0xc055009c.
Warning: Pentium 4 CPU: PSE disabled
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 11 entries at 0xc00f4ab0
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: ServerWorks host to PCI bridge(unknown chipset) on motherboard
IOAPIC #1 intpin 12 - irq 2
IOAPIC #1 intpin 10 - irq 5
IOAPIC #1 intpin 14 - irq 9
IOAPIC #1 intpin 15 - irq 10
IOAPIC #1 intpin 13 - irq 11
IOAPIC #1 intpin 1 - irq 16
pci0: PCI bus on pcib0
em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.16 port
0xc800-0xc83f mem 0xfeb8-0xfeb9 irq 2 at device 8.0 on pci0
em0:  Speed:N/A  Duplex:N/A
em1: Intel(R) PRO/1000 Network Connection, Version - 1.7.16 port
0xd000-0xd03f mem 0xfeba-0xfebb irq 5 at device 9.0 on pci0
em1:  Speed:N/A  Duplex:N/A
ahd0: Adaptec AIC7902 Ultra320 SCSI adapter port
0xd400-0xd4ff,0xd800-0xd8ff mem 0xfebfa000-0xfebfbfff irq 9 at device 10.0
on pci0
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs
ahd1: Adaptec AIC7902 Ultra320 SCSI adapter port
0xe000-0xe0ff,0xe400-0xe4ff mem 0xfebfc000-0xfebfdfff irq 10 at device 10.1
on pci0
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs
pci0: ATI Mach64-GR graphics accelerator at 11.0 irq 11
atapci0: Generic PCI ATA controller port
0xffa0-0xffaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ohci0: OHCI (generic) USB controller mem 0xfebfe000-0xfebfefff irq 16 at
device 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB 

RE: inspiron 8000 pcmcia problem

2004-01-06 Thread michael Alexander


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of paul
 Sent: Monday, January 05, 2004 5:16 PM
 To: [EMAIL PROTECTED]
 Subject: inspiron 8000 pcmcia problem
 
 
 I've already posted this question to -mobile just trying to 
 get as much traffic as possible ok I got a rather frustrating 
 problem if anyone can help me it would be greatly appreciated 
 I've tryed 3 pcmcia cards on my i8k all 3 of them give me 
 device timeouts (netgear fa410tx, smc 8040, and a linksys 
 card) all of which are on the hardware compat list except the 
 smc card which i read somewhere is supported so i gave it a 
 try. Anyway I added pccard_enable=YES 
 pccardd_ifconfig=DHCP tryed ifconfig_ed1=DHCP for fun and 
 i tryed changing the irq port with the -i flag for 
 pccardd_flags and editing pccard.conf. Nothing seems to work 
 I have miibus compiled in the kernel all the proper drivers 
 all 3 of the cards are recognized at boot however i recieve 
 the infamous ed1: device timeout message. The cards work on 
 linux and windows maybe I'm missing something I have never 
 dealt with pcmcia cards until now. I googled for 2 days and 
 asked on numerous irc channels. Am I missing something? It 
 seems to be a rather common problem with all the results from 
 my google searchs. I've also disabled everything in my bios 
 still nothing I've tryed using 4.9, 5.2rc2 and -current with  
 the same results. Someone please help me! I keep hearing its 
 an irq conflict my card gets set to irq 10 its seems even 
 when i try to change it..btw all tryed device.hints and kernel.conf. 
 Thanks -Paul

In your bios, is there an option for the pcmcia type??  Such as Auto,
cardbus, and something else that I can't remember right now... I don't know
if the Dell's have that option, I haven't checked mine, but I know our
toshiba's had it.  I haven't tried freebsd on a notebook, but when using
Novell Netware's Zenworks Imaging, which uses linux base for the clients
before imaging, I always had to set that option in bios to be cardbus (auto
would not work) for the cards we had (3com/megahertz FE575) in order for it
to be detected. 

-Mike

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


Re: inspiron 8000 pcmcia problem

2004-01-06 Thread paul

- Original Message - 
From: michael Alexander [EMAIL PROTECTED]
To: 'paul' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004 9:38 AM
Subject: RE: inspiron 8000 pcmcia problem




  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of paul
  Sent: Monday, January 05, 2004 5:16 PM
  To: [EMAIL PROTECTED]
  Subject: inspiron 8000 pcmcia problem
 
 
  I've already posted this question to -mobile just trying to
  get as much traffic as possible ok I got a rather frustrating
  problem if anyone can help me it would be greatly appreciated
  I've tryed 3 pcmcia cards on my i8k all 3 of them give me
  device timeouts (netgear fa410tx, smc 8040, and a linksys
  card) all of which are on the hardware compat list except the
  smc card which i read somewhere is supported so i gave it a
  try. Anyway I added pccard_enable=YES
  pccardd_ifconfig=DHCP tryed ifconfig_ed1=DHCP for fun and
  i tryed changing the irq port with the -i flag for
  pccardd_flags and editing pccard.conf. Nothing seems to work
  I have miibus compiled in the kernel all the proper drivers
  all 3 of the cards are recognized at boot however i recieve
  the infamous ed1: device timeout message. The cards work on
  linux and windows maybe I'm missing something I have never
  dealt with pcmcia cards until now. I googled for 2 days and
  asked on numerous irc channels. Am I missing something? It
  seems to be a rather common problem with all the results from
  my google searchs. I've also disabled everything in my bios
  still nothing I've tryed using 4.9, 5.2rc2 and -current with
  the same results. Someone please help me! I keep hearing its
  an irq conflict my card gets set to irq 10 its seems even
  when i try to change it..btw all tryed device.hints and kernel.conf.
  Thanks -Paul

 In your bios, is there an option for the pcmcia type??  Such as Auto,
 cardbus, and something else that I can't remember right now... I don't
know
 if the Dell's have that option, I haven't checked mine, but I know our
 toshiba's had it.  I haven't tried freebsd on a notebook, but when using
 Novell Netware's Zenworks Imaging, which uses linux base for the clients
 before imaging, I always had to set that option in bios to be cardbus
(auto
 would not work) for the cards we had (3com/megahertz FE575) in order for
it
 to be detected.

 -Mike

Nope there is no option in the bios for pcmcia, also i read somewhere to set
the pcic0 irq option in the kernel to the same irq as your network card?. I
tryed that didn't work also
Paul


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


Getting rid of sendmail

2004-01-06 Thread Emmanuel Gravel
I'm looking for a way to entirely remove an MTA from a box and forward
everything to another host. I've found the /etc/mail/aliases file and
saw that I could configure it so that root would point to something
else, so that's half the battle, possibly. Once that's done, however, is
it simply a matter of setting sendmail_enable=NONE in /etc/rc.conf to
disable sendmail, or is there more I could/should do, to still keep
having the cron job outputs sent to the place I'd specify in
/etc/mail/aliases?

I mostly don't want the daemon running, but still want access to my
email.

Thanks!

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


mount Siemens m55

2004-01-06 Thread Michael Hollmann
i would like to mount my siemens m55.

it would be identified as

ugen0: Prolific Technology PL2303 Serial adapter (ATEN/IOGEAR UC232A),
rev 1.10/2.02, addr 2

i allways get: /dev/ugen0.2: Block device required

what is the problem?

i also tried to fix it in /usr/src/sys/dev/usb/umass.c but it will not work!


-- 
Mit freundlichen Grüßen

Michael Hollmann

JAWA Management Software GmbH
A-8041 Graz, Liebenauer Hauptstraße 200
Tel:  ++43 (0)316 403274-13
Fax:  ++43 (0)316 403274-10
GSM:  ++43 (0)676 4101431
E-Mail: [EMAIL PROTECTED]
Web:  http://www.jawa.at/
News: http://www.jawa.at/news.php Web-Framework für B2B-Applikationen

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


ps: warning: /var/run/dev.db: No such file or directory

2004-01-06 Thread David Landgren
I recently rebooted a server that had been running for many months. I 
haven't touched the kernel or userland programs since it went into 
production.

The server was rebooted with 'shutdown -h now', powered down, and then 
later restarted.

I've since noticed that cron didn't restart, which is odd, but fixable, 
but more importantly, when I run ps, it spits out 'ps: warning: 
/var/run/dev.db: No such file or directory' (although, as far as I can 
tell, the output is perfectly reasonable).

I'm wondering if one is a symptom of the other. In any event, 
/var/run/dev.db is most certainly not there.

I guess I could reboot the server tonight, but I'm not sure that that 
will fix it, as I don't understand the cause. I've searched the archives 
a bit, and the best thread I could find dated from 1997, and suggested 
that it could be due to an unclean shutdown, which is definitely not the 
case here.

I'm running FreeBSD 4.8-STABLE, where stable is defined as being what it 
was around June 2003.

I'd be grateful for any pointers you might have.

Thanks,
David
--
Commercial OS breeds commerce, whereas free OS breeds freedom,
the only thing more dangerous and confusing than commerce.
  -- Michael R. Jinks, redhat-list, circa 1997
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mount Siemens m55

2004-01-06 Thread jan . muenther
 ugen0: Prolific Technology PL2303 Serial adapter (ATEN/IOGEAR UC232A),
 rev 1.10/2.02, addr 2
 
 i allways get: /dev/ugen0.2: Block device required

ugen(4) is the generic USB device driver. Your device is not being
recognized. I don't think the M55 is a standard umass device, so I'd guess
you're pretty much SoL. Did you try this here?

Port:   scmxx-0.6.4
Path:   /usr/ports/comms/scmxx
Info:   Data exchange utility for Siemens mobile phones


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


Re: Getting rid of sendmail

2004-01-06 Thread Ed Budd
I think what you want is:

sendmail_enable=NO

NONE removes all mail sending ability on the local machine - not what
you want if I interpret your post correctly...



On Tue, 06 Jan 2004 07:59:38 -0700
Emmanuel Gravel [EMAIL PROTECTED] wrote:

 I'm looking for a way to entirely remove an MTA from a box and forward
 everything to another host. I've found the /etc/mail/aliases file and
 saw that I could configure it so that root would point to something
 else, so that's half the battle, possibly. Once that's done, however,
 is it simply a matter of setting sendmail_enable=NONE in
 /etc/rc.conf to disable sendmail, or is there more I could/should do,
 to still keep having the cron job outputs sent to the place I'd
 specify in/etc/mail/aliases?
 
 I mostly don't want the daemon running, but still want access to my
 email.
 
 Thanks!
 
 ___
 [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: Cannot find file system superblock error - how to recover?

2004-01-06 Thread Sergey 'DoubleF' Zaharchenko
On Tue, 6 Jan 2004 06:31:08 -0800 (PST)
Scott I. Remick [EMAIL PROTECTED] probably wrote:

 
 --- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
  And maybe prefix that by a
  
  $ bsdlabel -R /dev/ad6s1c dislabel.ad6s1c.new

Sorry that was to be $ bsdlabel -R -n /dev/ad6s1c dislabel.ad6s1c.new :(

  
  which would just check your new layout for errors, without writing
  anything, and print your file out as disklabel understands it.
 
 So you're saying, run it as user and not root for the sake of testing it in
 a read-only setting? Would that be better than using -n? From the man page:
 
 The -n stops the bsdlabel program right before the disk would have been
 modified, and displays the result instead of writing it.
 
And lastly... your talk about offsets. The man page for bsdlabel
  describes
using it on the whole disk (ad6) and not a slice or partition. If I
  run it
  
  It can't be fdisk that you are reading about?
 
 Nope. man bsdlabel mentions:
 
 disk represents the disk in question, and may be in the form da0 or
  /dev/da0.  It will display the partition layout.
 
 But I see now all the later examples mention da0s1 so maybe I misunderstood.
 

A little before that the manual says:

   Disk device name
  All disklabel forms require a disk device name, which should always be
  the raw device name representing the disk or slice.  For example da0 rep-
  resents the entire disk regardless of any DOS partitioning, and da0s1
  represents a slice.  Some devices, most notably ccd, require that the

So that da0 is just an example, albeit a perverted one.

  And the `new' one seems to be correct for a 80G drive (+- a couple of
  megabytes)? Have you touched anything?
  
  Now, mount might work.
 
 Haven't changed anything yet. Which one are you calling the new one? Mount

The one you sent the last time (with the 0-s).

 would be done on the partion (ad6s1c) which gives errors with bsdlabel and
 has an offset of 63, not the whole slice (ad6s1) which has an offset of 0
 and doesn't give errors (with bsdlabel).
 
  Uhum. disklabel said that the offset was 63 in your previous posting,
  didn't it? 
 
 63 for ad6s1c, 0 for ad6s1. This is what's got Malcolm confused.
 

It confuses me too.

  What does
  
  # ls -l /dev/ad6s1 /dev/ad6s1c
  
  say? Any differences? I have none.
 
 su-2.05b# ls -l /dev/ad6s1 /dev/ad6s1c
 crw-r-  1 root  operator4,  20 Dec 29 08:11 /dev/ad6s1
 crw-r-  1 root  operator4,  21 Dec 29 08:11 /dev/ad6s1c

Indeed it's not like in 4.x, where they were the same. And what about 

# ls -l /dev/ad6s1a /dev/ad6s1b

(these minor numbers don't seem to be in order).

Anyway, the correct beginning for the filesystem is 0 (starting with
ad6s1), as the superblock is 16 sectors from there.

 And to recap:
 
 su-2.05b# bsdlabel /dev/ad6s1
 # /dev/ad6s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   c: 1563445170unused0 0 # raw part, don't
 edit
   e: 15634451704.2BSD 2048 1638489
 
 su-2.05b# bsdlabel /dev/ad6s1c
 # /dev/ad6s1c:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   c: 156344517   63unused0 0 # raw part, don't
 edit
   e: 156344517   634.2BSD 2048 1638489
 partition c: partition extends past end of unit
 bsdlabel: partition c doesn't start at 0!
 bsdlabel: An incorrect partition c may cause problems for standard system
 utilities
 partition e: partition extends past end of unit

Indeed. I'm confused. 5.x doesn't look like 4.x.

2 different(?) labels on the same slice don't look good to me (or are
the nubers just calculated differently?).

I will probably download some 5.1 boot floppies to reproduce the
situation.

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


-- 
DoubleF
Speak softly and carry a +6 two-handed sword.


pgp0.pgp
Description: PGP signature


Opera7 won't install from ports collection

2004-01-06 Thread Dino Vliet
I want to install Opera onto my freebsd version 4.9
system and in the /usr/ports/www/opera direcory I
issue a make install clean

I get the following error (see below).
Becausse i think my port is looking for
opera-7.20-20030919 while the ftp servers are offering
opera-7.23-20031119 or something like that.
What can I do about it?

1) get the old source (but from where)
2) use the new one and rename it to 20030919..but I
think that will go wrong

Can anyone help me with this because I can't browse
the net!!



===
**
=== NOTE: The native version of Opera can not be
=== installed at the same time as linux-opera. If you
=== already have www/linux-opera installed, we
=== recommend you press Ctrl-C now and deinstall it.
===
**

opera-7.20-20030919.1-static-qt.i386.freebsd.tar.bz2
doesn't seem to exist in /usr/ports/distfiles/.
 Attempting to fetch from
http://snapshot.opera.com/unix/7.20-Beta-12/intel-freebsd/.
 Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
 Couldn't fetch it - please try to retrieve this
 port manually into /usr/ports/distfiles/ and try
again.
*** Error code 1

Stop in /usr/ports/www/opera.


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Opera7 won't install from ports collection

2004-01-06 Thread Larry Rosenman


--On Tuesday, January 06, 2004 07:40:31 -0800 Dino Vliet 
[EMAIL PROTECTED] wrote:

I want to install Opera onto my freebsd version 4.9
system and in the /usr/ports/www/opera direcory I
issue a make install clean
I get the following error (see below).
Becausse i think my port is looking for
opera-7.20-20030919 while the ftp servers are offering
opera-7.23-20031119 or something like that.
What can I do about it?
1) get the old source (but from where)
2) use the new one and rename it to 20030919..but I
think that will go wrong
Can anyone help me with this because I can't browse
the net!!
update your ports collection using CVSup.

LER



===
**
=== NOTE: The native version of Opera can not be
=== installed at the same time as linux-opera. If you
=== already have www/linux-opera installed, we
=== recommend you press Ctrl-C now and deinstall it.
===
**

opera-7.20-20030919.1-static-qt.i386.freebsd.tar.bz2
doesn't seem to exist in /usr/ports/distfiles/.
Attempting to fetch from
http://snapshot.opera.com/unix/7.20-Beta-12/intel-freebsd/.
Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
Couldn't fetch it - please try to retrieve this
port manually into /usr/ports/distfiles/ and try
again.
*** Error code 1
Stop in /usr/ports/www/opera.

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


pgp0.pgp
Description: PGP signature


Quit gcc from base install

2004-01-06 Thread Jose Maria
I want to use a FreeBSD like a production server and I don't need gcc in it. 
Can I quit or uninstall gcc from the base install?

-- 
José María Ruiz Aguilera (www.tessier-ashpool.tk)
Estudiante de Ingeniería Técnica de Informática de Sistemas
Miembro de la Rama de estudiantes del IEEE de Málaga


pgp0.pgp
Description: PGP signature


Re: Getting rid of sendmail

2004-01-06 Thread Matthew Seaman
On Tue, Jan 06, 2004 at 07:59:38AM -0700, Emmanuel Gravel wrote:
 I'm looking for a way to entirely remove an MTA from a box and forward
 everything to another host. I've found the /etc/mail/aliases file and
 saw that I could configure it so that root would point to something
 else, so that's half the battle, possibly. Once that's done, however, is
 it simply a matter of setting sendmail_enable=NONE in /etc/rc.conf to
 disable sendmail, or is there more I could/should do, to still keep
 having the cron job outputs sent to the place I'd specify in
 /etc/mail/aliases?
 
 I mostly don't want the daemon running, but still want access to my
 email.

This is starting to turn into a FAQ.  Here's an answer I gave earlier:

http://lists.freebsd.org/pipermail/freebsd-questions/2003-December/029497.html

Cheers,

Matthew  

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


pgp0.pgp
Description: PGP signature


Re: Quit gcc from base install

2004-01-06 Thread Matthew Seaman
On Tue, Jan 06, 2004 at 04:45:30PM +0100, Jose Maria wrote:
 I want to use a FreeBSD like a production server and I don't need gcc in it. 
 Can I quit or uninstall gcc from the base install?

FreeBSD is a good choice for a production server.

Sure you can remove gcc if you want -- but you'll have to do it
manually after installing the system the normal way.  You'll lose the
ability to update the system as required when security patches come
out and give yourself occasional grief in other ways, but you can
certainly remove gcc.

I'm really not sure what the point of doing this is.  If it's on
security grounds then you need to beware of woolly-minded thinking:
anyone capable of breaking into a properly secured FreeBSD box will be
eminiently capable of copying gcc onto it as well.  Of of compiling
programs elsewhere and copying the results onto the machine.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Viability of 5.X line for production use

2004-01-06 Thread Kris Kennaway
On Mon, Jan 05, 2004 at 09:43:26AM -0800, John Fox wrote:
 Hello,
 
 We're planning some new mail servers, and until now I've been assuming
 that they would run under FreeBSD 4.X.  But it occurred to me this 
 morning that the 4.X line is going to go away relatively soon, and that
 perhaps I'd be better off going with 5.X for these new boxen, as it
 would probably simplify the upgrade (keeping up with releases and bug
 fixes) process.
 
 So I'm wondering -- do the experts here judge 5.X as ready for use
 in a production environment, or would that be asking for trouble?

Wait for 5.2-R to come out, then wait a month or more for any
undetected serious bugs to get fixed in the release branch.  Then try
it on one machine and see how it fares.

Kris


pgp0.pgp
Description: PGP signature


Commercial Distribution?

2004-01-06 Thread Udo Schrter (Trionic Technologies)
Hi,

first of all I want to congratulate you on FreeBSD, it is a really cool system!

I have a question regarding the creation of a branded commercial distribution based on 
FreeBSD.

Here is the thing: my company wants to offer a standard corporate Unix desktop that is 
certified (guaranteed) to run our enterprise management software well. We looked into 
Linux but, for various reasons, a solution based on FreeBSD makes more sense for us. 
Basically we want to release a CD to our customers which installs our own customized 
FreeBSD environment, with our own brand name. 

If we want to do this, it is clear that we
- must preserve the copyright notices
- should place a description like based on the FreeBSD Project on the package
- redistribute GPLed source if modified
- swap out references to freebsd support list in the distro so our customers don't 
spam the community
- honor the redistribution rules of the ports
- should make a donation to the project as profits allow

Are there any FreeBSD references that MUST be taken out / MUST be left in?
Are there any other legal or technical issues?
How do people on FreeBSD feel about commercial distributions generally?
Are we going to get sued by SCO? (just kidding, sort of)

Your feedback would be very much appreciated.

Thanks in advance.

Regards,

Udo

---
Udo Schrter 
Trionic Technologies GmbH

August-Horch-Strasse 14
67547 Worms (Germany)
Tel: 06241/3029-0
Fax: 06241/3029-10
http://www.trionic.de
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot find file system superblock error - how to recover?

2004-01-06 Thread Scott I. Remick
--- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
 Sorry that was to be $ bsdlabel -R -n /dev/ad6s1c dislabel.ad6s1c.new :(

No worries... I figured it out :)

 Indeed it's not like in 4.x, where they were the same. And what about 
 
 # ls -l /dev/ad6s1a /dev/ad6s1b
 
 (these minor numbers don't seem to be in order).

Neither exists. Just so you know: My motherboard (Asus A7V133) has 2
integrated IDE controllers. Besides the native VIA controller there is a
Promise ATA100. The following are the relevant snippets from dmesg:

atapci0: VIA 82C686B UDMA100 controller port 0xd800-0xd80f at device 4.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0

atapci1: Promise PDC20265 UDMA100 controller port
0x8000-0x803f,0x8400-0x8403,0x8800-0x8807,0x9000-0x9003,0x9400-0x9407 mem
0xd400-0xd401 irq 10 at device 17.0 on pci0
ata2: at 0x9400 on atapci1
ata3: at 0x8800 on atapci1

ad4: 19595MB MAXTOR 6L020L1 [39813/16/63] at ata2-master UDMA100
ad6: 76345MB MAXTOR 6L080J4 [155114/16/63] at ata3-master UDMA100
acd0: CDROM CRD-8400B at ata0-master PIO4
Mounting root from ufs:/dev/ad4s1a
cd0 at ata0 bus 0 target 0 lun 0
cd0: LG CD-ROM CRD-8400B 1.03 Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: cd present [279440 x 2048 byte records]

(yes, I use atapicam)

and ls /dev/ad*:

crw-r-  1 root  operator4,  10 Dec 29 08:11 /dev/ad4
crw-r-  1 root  operator4,  12 Dec 29 08:11 /dev/ad4s1
crw-r-  1 root  operator4,  14 Dec 29 03:11 /dev/ad4s1a
crw-r-  1 root  operator4,  15 Dec 29 08:11 /dev/ad4s1b
crw-r-  1 root  operator4,  16 Dec 29 08:11 /dev/ad4s1c
crw-r-  1 root  operator4,  17 Dec 29 03:11 /dev/ad4s1d
crw-r-  1 root  operator4,  18 Dec 29 03:11 /dev/ad4s1e
crw-r-  1 root  operator4,  19 Dec 29 03:11 /dev/ad4s1f
crw-r-  1 root  operator4,  13 Dec 29 08:11 /dev/ad6
crw-r-  1 root  operator4,  20 Dec 29 08:11 /dev/ad6s1
crw-r-  1 root  operator4,  21 Dec 29 08:11 /dev/ad6s1c
crw-r-  1 root  operator4,  22 Dec 29 08:11 /dev/ad6s1e

Let me know if you come up with any suggestions on what I should try next.
Thanks ever so much!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Opera7 won't install from ports collection

2004-01-06 Thread Dino Vliet
How to get cvsup to get past my proxy-server?


--- Larry Rosenman [EMAIL PROTECTED] wrote:
 
 
 --On Tuesday, January 06, 2004 07:40:31 -0800 Dino
 Vliet 
 [EMAIL PROTECTED] wrote:
 
  I want to install Opera onto my freebsd version
 4.9
  system and in the /usr/ports/www/opera direcory I
  issue a make install clean
 
  I get the following error (see below).
  Becausse i think my port is looking for
  opera-7.20-20030919 while the ftp servers are
 offering
  opera-7.23-20031119 or something like that.
  What can I do about it?
 
  1) get the old source (but from where)
  2) use the new one and rename it to 20030919..but
 I
  think that will go wrong
 
  Can anyone help me with this because I can't
 browse
  the net!!
 update your ports collection using CVSup.
 
 LER
 
 
 
 
  ===
  **
  === NOTE: The native version of Opera can not be
  === installed at the same time as linux-opera. If
 you
  === already have www/linux-opera installed, we
  === recommend you press Ctrl-C now and deinstall
 it.
  ===
  **
 
 
 opera-7.20-20030919.1-static-qt.i386.freebsd.tar.bz2
  doesn't seem to exist in /usr/ports/distfiles/.
  Attempting to fetch from
 

http://snapshot.opera.com/unix/7.20-Beta-12/intel-freebsd/.
  Attempting to fetch from
 
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
  Couldn't fetch it - please try to retrieve this
  port manually into /usr/ports/distfiles/ and try
  again.
  *** Error code 1
 
  Stop in /usr/ports/www/opera.
 
 
  __
  Do you Yahoo!?
  Yahoo! Hotjobs: Enter the Signing Bonus
 Sweepstakes
  http://hotjobs.sweepstakes.yahoo.com/signingbonus
  ___
  [EMAIL PROTECTED] mailing list
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 
 
 
 -- 
 Larry Rosenman
 http://www.lerctr.org/~ler
 Phone: +1 972-414-9812 E-Mail:
 [EMAIL PROTECTED]
 US Mail: 1905 Steamboat Springs Drive, Garland, TX
 75044-6749
 

 ATTACHMENT part 2 application/pgp-signature 



__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot find file system superblock error - how to recover?

2004-01-06 Thread Sergey 'DoubleF' Zaharchenko
On Tue, 6 Jan 2004 08:32:31 -0800 (PST)
Scott I. Remick [EMAIL PROTECTED] probably wrote:

I'm in the process of downloading the floppies...

 --- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
  Sorry that was to be $ bsdlabel -R -n /dev/ad6s1c dislabel.ad6s1c.new :(
 
 No worries... I figured it out :)
 
  Indeed it's not like in 4.x, where they were the same. And what about 
  
  # ls -l /dev/ad6s1a /dev/ad6s1b
  
  (these minor numbers don't seem to be in order).
 
 Neither exists. Just so you know: My motherboard (Asus A7V133) has 2

Ouch! I've forgotten about devfs. So these numbers could be OK.

 integrated IDE controllers. Besides the native VIA controller there is a
 Promise ATA100. The following are the relevant snippets from dmesg:
 

And what about ad4? Does disklabel show different values for the slice
and the `c' partition?

-- 
DoubleF
Chicago law prohibits eating in a place that is on fire.


pgp0.pgp
Description: PGP signature


RE: Viability of 5.X line for production use

2004-01-06 Thread fbsd_user
How long can you wait for the 5.x stable release?
The 5.x stable release is scheduled for May or June 2004.
Then 1 or 2 months burn in by public users to verify it is really
stable and you are pushing September.
4.9 is production now and has passed the public burn in period with
flying colors.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kris
Kennaway
Sent: Tuesday, January 06, 2004 11:18 AM
To: John Fox
Cc: [EMAIL PROTECTED]
Subject: Re: Viability of 5.X line for production use

On Mon, Jan 05, 2004 at 09:43:26AM -0800, John Fox wrote:
 Hello,

 We're planning some new mail servers, and until now I've been
assuming
 that they would run under FreeBSD 4.X.  But it occurred to me this
 morning that the 4.X line is going to go away relatively soon, and
that
 perhaps I'd be better off going with 5.X for these new boxen, as
it
 would probably simplify the upgrade (keeping up with releases and
bug
 fixes) process.

 So I'm wondering -- do the experts here judge 5.X as ready for use
 in a production environment, or would that be asking for trouble?

Wait for 5.2-R to come out, then wait a month or more for any
undetected serious bugs to get fixed in the release branch.  Then
try
it on one machine and see how it fares.

Kris

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


Re: Cannot find file system superblock error - how to recover?

2004-01-06 Thread Scott I. Remick

--- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
 I'm in the process of downloading the floppies...

ok cool

 And what about ad4? Does disklabel show different values for the slice
 and the `c' partition?

Hmm not only are they different as w/ ad6, but I get the same error on the c
partition:

su-2.05b# bsdlabel /dev/ad4s1
# /dev/ad4s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  102400004.2BSD 2048 16384 64008
  b:  2097152  1024000  swap
  c: 401314410unused0 0 # raw part, don't
edit
  d:   524288  31211524.2BSD 2048 16384 32776
  e:  1024000  36454404.2BSD 2048 16384 64008
  f: 35462001  46694404.2BSD 2048 16384 28552

su-2.05b# bsdlabel /dev/ad4s1c
# /dev/ad4s1c:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  1024000   634.2BSD 2048 16384 64008
  b:  2097152  1024063  swap
  c: 40131441   63unused0 0 # raw part, don't
edit
  d:   524288  31212154.2BSD 2048 16384 32776
  e:  1024000  36455034.2BSD 2048 16384 64008
  f: 35462001  46695034.2BSD 2048 16384 28552
partition c: partition extends past end of unit
bsdlabel: partition c doesn't start at 0!
bsdlabel: An incorrect partition c may cause problems for standard system
utilities
partition f: partition extends past end of unit

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


Re: Opera7 won't install from ports collection

2004-01-06 Thread Jud

On Tue, 6 Jan 2004 08:37:58 -0800 (PST), Dino Vliet
[EMAIL PROTECTED] said:
 How to get cvsup to get past my proxy-server?
 
 
 --- Larry Rosenman [EMAIL PROTECTED] wrote:
  
  
  --On Tuesday, January 06, 2004 07:40:31 -0800 Dino
  Vliet 
  [EMAIL PROTECTED] wrote:
  
   I want to install Opera onto my freebsd version
  4.9
   system and in the /usr/ports/www/opera direcory I
   issue a make install clean
  
   I get the following error (see below).
   Becausse i think my port is looking for
   opera-7.20-20030919 while the ftp servers are
  offering
   opera-7.23-20031119 or something like that.
   What can I do about it?
  
   1) get the old source (but from where)
   2) use the new one and rename it to 20030919..but
  I
   think that will go wrong
  
   Can anyone help me with this because I can't
  browse
   the net!!
  update your ports collection using CVSup.
  
  LER
  
  
  
  
   ===
   **
   === NOTE: The native version of Opera can not be
   === installed at the same time as linux-opera. If
  you
   === already have www/linux-opera installed, we
   === recommend you press Ctrl-C now and deinstall
  it.
   ===
   **
  
  
  opera-7.20-20030919.1-static-qt.i386.freebsd.tar.bz2
   doesn't seem to exist in /usr/ports/distfiles/.
   Attempting to fetch from
  
 
 http://snapshot.opera.com/unix/7.20-Beta-12/intel-freebsd/.
   Attempting to fetch from
  
  ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
   Couldn't fetch it - please try to retrieve this
   port manually into /usr/ports/distfiles/ and try
   again.
   *** Error code 1
  
   Stop in /usr/ports/www/opera.

If you can't ftp or cvsup with the proxy server, I'd suggest using
another PC to download an updated ports collection, then the files for
Opera and dependencies (these aren't terribly large, so it won't take
very long even on a slow connection) and burning these to a CD.  You can
then use these to update your system that is behind the proxy server and
build Opera.

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


Adding a drive in vinum

2004-01-06 Thread Mathieu Arnold
Hi,

A few months ago, I did :

concat -n data -v /dev/ad2e

which produced :

drive vinumdrive0 device /dev/ad2
volume data
plex name data.p0 org concat vol data
sd name data.p0.s0 drive vinumdrive0 plex data.p0 len 241254455s
driveoffset 265s plexoffset 0s

Now, I've added a new drive to my box, and I want to grow the vinum concat
plex. I know I should do some attach thing, but I can't decide what exactly
I should put after that command.

The new drive is ad3, with an ad3e partition ready to be added.

Thanks for any hints :)

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


how to use lseek() system call with over 2G files?

2004-01-06 Thread Alex
Hi everybody!

Some time ago there wasn't any possibility to create disk file larger 
than 2G and there was no problem with lseek().
But as for now we can do it but I looked into headers and found off_t is 
equal to long - no more than 2G on i386 machines.
As far as lseek() is a system call I cannot believe it cannot be used 
with larger files but how?

Maybe it's a silly question? :0)

Alex

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


Re: Cannot find file system superblock error - how to recover?

2004-01-06 Thread Sergey 'DoubleF' Zaharchenko
On Tue, 6 Jan 2004 09:12:22 -0800 (PST)
Scott I. Remick [EMAIL PROTECTED] probably wrote:

 
 --- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
  I'm in the process of downloading the floppies...
 
 ok cool
 

I can't find a zero-bad floppy in this place! It's all the holidays!

  And what about ad4? Does disklabel show different values for the slice
  and the `c' partition?
 
 Hmm not only are they different as w/ ad6, but I get the same error on the c
 partition:
 
 su-2.05b# bsdlabel /dev/ad4s1
 # /dev/ad4s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:  102400004.2BSD 2048 16384 64008
   b:  2097152  1024000  swap
   c: 401314410unused0 0 # raw part, don't
 edit
   d:   524288  31211524.2BSD 2048 16384 32776
   e:  1024000  36454404.2BSD 2048 16384 64008
   f: 35462001  46694404.2BSD 2048 16384 28552
 
 su-2.05b# bsdlabel /dev/ad4s1c
 # /dev/ad4s1c:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:  1024000   634.2BSD 2048 16384 64008
   b:  2097152  1024063  swap
   c: 40131441   63unused0 0 # raw part, don't
 edit
   d:   524288  31212154.2BSD 2048 16384 32776
   e:  1024000  36455034.2BSD 2048 16384 64008
   f: 35462001  46695034.2BSD 2048 16384 28552
 partition c: partition extends past end of unit
 bsdlabel: partition c doesn't start at 0!
 bsdlabel: An incorrect partition c may cause problems for standard system
 utilities
 partition f: partition extends past end of unit
 
 The plot thickens...
 

With `c', they're all offset by 63(why?). But still, you can mount the
partitions on the ad4s1, so the disklabel should be ok...

-- 
DoubleF
Is your job running?  You'd better go catch it!


pgp0.pgp
Description: PGP signature


Re: Opera7 won't install from ports collection

2004-01-06 Thread Dino Vliet
But I installed freebsd through the http proxy server
and that went fine.
I can install all other packages just fine because
I've set the http_proxy environment variable to our
proxy server and everything works fine. Only the cvsup
won't work.

I'm now installing mozilla-firebird:-(

--- Jud [EMAIL PROTECTED] wrote:
 
 On Tue, 6 Jan 2004 08:37:58 -0800 (PST), Dino
 Vliet
 [EMAIL PROTECTED] said:
  How to get cvsup to get past my proxy-server?
  
  
  --- Larry Rosenman [EMAIL PROTECTED] wrote:
   
   
   --On Tuesday, January 06, 2004 07:40:31 -0800
 Dino
   Vliet 
   [EMAIL PROTECTED] wrote:
   
I want to install Opera onto my freebsd
 version
   4.9
system and in the /usr/ports/www/opera
 direcory I
issue a make install clean
   
I get the following error (see below).
Becausse i think my port is looking for
opera-7.20-20030919 while the ftp servers are
   offering
opera-7.23-20031119 or something like that.
What can I do about it?
   
1) get the old source (but from where)
2) use the new one and rename it to
 20030919..but
   I
think that will go wrong
   
Can anyone help me with this because I can't
   browse
the net!!
   update your ports collection using CVSup.
   
   LER
   
   
   
   
===
   
 **
=== NOTE: The native version of Opera can not
 be
=== installed at the same time as
 linux-opera. If
   you
=== already have www/linux-opera installed,
 we
=== recommend you press Ctrl-C now and
 deinstall
   it.
===
   
 **
   
   
  
 opera-7.20-20030919.1-static-qt.i386.freebsd.tar.bz2
doesn't seem to exist in
 /usr/ports/distfiles/.
Attempting to fetch from
   
  
 

http://snapshot.opera.com/unix/7.20-Beta-12/intel-freebsd/.
Attempting to fetch from
   
  
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
Couldn't fetch it - please try to retrieve
 this
port manually into /usr/ports/distfiles/ and
 try
again.
*** Error code 1
   
Stop in /usr/ports/www/opera.
 
 If you can't ftp or cvsup with the proxy server, I'd
 suggest using
 another PC to download an updated ports collection,
 then the files for
 Opera and dependencies (these aren't terribly large,
 so it won't take
 very long even on a slow connection) and burning
 these to a CD.  You can
 then use these to update your system that is behind
 the proxy server and
 build Opera.
 
 Jud


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Poor SCSI disk preformance

2004-01-06 Thread Mike Maltese
 I also had (meaning it is not currently attached) a different
 SCSI drive attached on the bus, with the same results.  Has
 anyone any tips for this from a FreeBSD point of view?

I wouldn't say that dd is the greatest benchmarking tool. You may want to
try benchmarks/rawio. Also, try monitoring diffferent types of transfers to
and from another physical disk with iostat. I'm not sure what your speed
expectations are, but you're running a 7200 RPM Ultra Wide disk on an Ultra
Wide host adapter; not exactly the fastest SCSI technology.

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


Re: Cannot find file system superblock error - how to recover?

2004-01-06 Thread Scott I. Remick

--- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:

 I can't find a zero-bad floppy in this place! It's all the holidays!

That's what AOL disks (vs. discs) used to be good for. :)

 With `c', they're all offset by 63(why?). But still, you can mount the
 partitions on the ad4s1, so the disklabel should be ok...

Yeah. Starts to suggest what we were thinking was a evidence related to the
problem is really unrelated and normal behavior (is disklabel/bsdlabel
only meant to be run on slices and not bsd-partitions?). Are we looking in
the wrong place? What about that potentially good superblock we found a
while ago? (the skip 16 one that contained /data in it) Should we be
saving that somewhere while we can? (how?)

Anyone out there know 5.x file-system dirtiness like the back of their hand?
C'mon, you know you wanna join the fun. :)

Where's my time machine so I can go back and back up this drive... ah well
I'm learning a ton.


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


Re: how to use lseek() system call with over 2G files?

2004-01-06 Thread Dan Nelson
In the last episode (Jan 06), Alex said:
 Hi everybody!
 
 Some time ago there wasn't any possibility to create disk file larger 
 than 2G and there was no problem with lseek().

Some time ago meaning around 1997?  FreeBSD has had 64-bit file access
since at least 2.2.0.  I don't remember if earlier versions had support
for it or not.

 But as for now we can do it but I looked into headers and found off_t is 
 equal to long - no more than 2G on i386 machines.

Actually, off_t is equal to __int64_t, which is a long long.  Which
headers are you looking at?

FreeBSD 4.x:
/usr/include/machine/ansi.h:69:#define  _BSD_OFF_T_ __int64_t
/usr/include/sys/types.h:82:typedef _BSD_OFF_T_ off_t; /* file offset */

FreeBSD 5.x:
/usr/include/sys/_types.h:49:typedef__int64_t   __off_t; /* file offset */
/usr/include/sys/types.h:194:typedef __off_t off_t;  /* file 
offset */

-- 
Dan Nelson
[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 use lseek() system call with over 2G files?

2004-01-06 Thread Erik Trulsson
On Tue, Jan 06, 2004 at 08:32:23PM +0300, Alex wrote:
 Hi everybody!
 
 Some time ago there wasn't any possibility to create disk file larger 
 than 2G and there was no problem with lseek().
 But as for now we can do it but I looked into headers and found off_t is 
 equal to long - no more than 2G on i386 machines.
 As far as lseek() is a system call I cannot believe it cannot be used 
 with larger files but how?
 
 Maybe it's a silly question? :0)

Not a silly question, but one based on false assumptions.

FreeBSD has been able to create files larger than 2G for a long time.
off_t is a 64-bit type, and therefore is quite capable of representing
sizes larger than 2G.  lseek() has no problem handling files larger than
2G.


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Opera7 won't install from ports collection

2004-01-06 Thread Larry Rosenman
CVSup uses a different port.

Did you get the mail I sent with the port included?

LER

--On Tuesday, January 06, 2004 09:42:25 -0800 Dino Vliet 
[EMAIL PROTECTED] wrote:

But I installed freebsd through the http proxy server
and that went fine.
I can install all other packages just fine because
I've set the http_proxy environment variable to our
proxy server and everything works fine. Only the cvsup
won't work.
I'm now installing mozilla-firebird:-(

--- Jud [EMAIL PROTECTED] wrote:
On Tue, 6 Jan 2004 08:37:58 -0800 (PST), Dino
Vliet
[EMAIL PROTECTED] said:
 How to get cvsup to get past my proxy-server?


 --- Larry Rosenman [EMAIL PROTECTED] wrote:
 
 
  --On Tuesday, January 06, 2004 07:40:31 -0800
Dino
  Vliet
  [EMAIL PROTECTED] wrote:
 
   I want to install Opera onto my freebsd
version
  4.9
   system and in the /usr/ports/www/opera
direcory I
   issue a make install clean
  
   I get the following error (see below).
   Becausse i think my port is looking for
   opera-7.20-20030919 while the ftp servers are
  offering
   opera-7.23-20031119 or something like that.
   What can I do about it?
  
   1) get the old source (but from where)
   2) use the new one and rename it to
20030919..but
  I
   think that will go wrong
  
   Can anyone help me with this because I can't
  browse
   the net!!
  update your ports collection using CVSup.
 
  LER
 
  
  
  
   ===
  
**
   === NOTE: The native version of Opera can not
be
   === installed at the same time as
linux-opera. If
  you
   === already have www/linux-opera installed,
we
   === recommend you press Ctrl-C now and
deinstall
  it.
   ===
  
**
  
  
 
opera-7.20-20030919.1-static-qt.i386.freebsd.tar.bz2
   doesn't seem to exist in
/usr/ports/distfiles/.
   Attempting to fetch from
  
 

http://snapshot.opera.com/unix/7.20-Beta-12/intel-freebsd/.
   Attempting to fetch from
  
 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
   Couldn't fetch it - please try to retrieve
this
   port manually into /usr/ports/distfiles/ and
try
   again.
   *** Error code 1
  
   Stop in /usr/ports/www/opera.
If you can't ftp or cvsup with the proxy server, I'd
suggest using
another PC to download an updated ports collection,
then the files for
Opera and dependencies (these aren't terribly large,
so it won't take
very long even on a slow connection) and burning
these to a CD.  You can
then use these to update your system that is behind
the proxy server and
build Opera.
Jud


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


pgp0.pgp
Description: PGP signature


Re: Poor SCSI disk preformance

2004-01-06 Thread Dan Nelson
In the last episode (Jan 06), Mike Maltese said:
  I also had (meaning it is not currently attached) a different SCSI
  drive attached on the bus, with the same results.  Has anyone any
  tips for this from a FreeBSD point of view?
 
 I wouldn't say that dd is the greatest benchmarking tool. You may
 want to try benchmarks/rawio. Also, try monitoring diffferent types
 of transfers to and from another physical disk with iostat. I'm not
 sure what your speed expectations are, but you're running a 7200 RPM
 Ultra Wide disk on an Ultra Wide host adapter; not exactly the
 fastest SCSI technology.

It should go faster than 5MB/sec, though.  Seagate's specs say that
drive should do 14MB/sec max.  UW's top speed is 40MB/sec, so there
shouldn't be any bottlenecks.  

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


why does inetd default to enable

2004-01-06 Thread fbsd_user
The 4.9 /etc/defaults/rc.conf file has inetd_enable=YES

Why is that?  

During the sysinstall I answered NO to inetd question.

Is this not an error?



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


Re: why does inetd default to enable

2004-01-06 Thread Dan Nelson
In the last episode (Jan 06), fbsd_user said:
 The 4.9 /etc/defaults/rc.conf file has inetd_enable=YES
 
 Why is that?  
 
 During the sysinstall I answered NO to inetd question.
 
 Is this not an error?

sysinstall should have created an /etc/rc.conf with inetd_enable=NO
in it, to override the default.

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


Re: Commercial Distribution?

2004-01-06 Thread Chuck Swiger
Udo Schrter (Trionic Technologies) wrote:
[ ... ]
I have a question regarding the creation of a branded commercial
distribution based on FreeBSD.
OK.

Here is the thing: my company wants to offer a standard corporate Unix
desktop that is certified (guaranteed) to run our enterprise management
software well. We looked into Linux but, for various reasons, a solution
based on FreeBSD makes more sense for us. Basically we want to release a CD
to our customers which installs our own customized FreeBSD environment,
with our own brand name.
You're creating a turnkey system with a known and well-defined layout which 
includes all of the dependencies to run your proprietary software.  Look into
man release, which discusses how to customize a build and create CD images.

You should also consider managing your software and it's dependencies as a 
port, even though you might never submit the port of your software.  On the 
other hand, some people like anti-virus vendors have their commercial products 
available as a port on a time-limited trial basis (security/vscan, , but 
that's up to you...

If we want to do this, it is clear that we
- must preserve the copyright notices
- should place a description like based on the FreeBSD Project on the package
Yes.  Basicly, you should follow and include /COPYRIGHT and 
/usr/src/gnu/COPYING, depending on how much of the documentation and so forth 
you include or remove from your particular distribution.

- redistribute GPLed source if modified
Section 3 of the GPL requires you to redistribute GPLed source (or offer to 
make such source available when asked), even if you ship a binary of that 
GPLed program which has not been modified.  However, if you configure your 
system so that section 3c applies, this becomes easier:

c) Accompany it with the information you received as to the offer
to distribute corresponding source code.  (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
- swap out references to freebsd support list in the distro so our
customers don't spam the community
You should have your own top-level documentation which refers people to your 
support mechanisms, sure.

- honor the redistribution rules of the ports
Yes, you need to pay attention to the licenses of all dependencies.

- should make a donation to the project as profits allow
If you like; no doubt it would be appreciated.

Are there any FreeBSD references that MUST be taken out / MUST be left in? 
What you see is what you get: the BSD license is very simple.

Are there any other legal or technical issues? How do people on FreeBSD
feel about commercial distributions generally? Are we going to get sued by
SCO? (just kidding, sort of)
There are lots of technical details-- while there is a fair amount of 
documentation available for building a release, and many steps are 
deterministic, it really is an iterative process that stops based on 
subjective criteria (yours).

You're welcome to use BSD software in a commercial distribution.  Have fun. 
If you contribute useful things back, that's nice, but you don't even have to 
do that much.

IANAL: I'd worry more about falling in the shower and breaking my neck than I 
would worry about SCO.

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


Re: Poor SCSI disk preformance

2004-01-06 Thread Mike Maltese
 It should go faster than 5MB/sec, though.  Seagate's specs say that
 drive should do 14MB/sec max.  UW's top speed is 40MB/sec, so there
 shouldn't be any bottlenecks.

14MB/s is the maximum internal transfer rate. Also, we're talking about
write performance here, which will likely be quite a bit slower than read
performance. As I said before, a more realistic number should be had with
rawio or by measuring actual real-world transfers. Unless all you do is
write zeros with dd all day long, I don't think that that is the best
measure of performance.

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


Re: Abit KD7-A KT400A

2004-01-06 Thread karbassa
Subhro wrote:

Don't worry,
Go ahead with the install. IT will work
Regards
Subhro
Subhro Sankha Kar
Indian Institute of Information Technology
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of karbassa
Sent: Monday, January 05, 2004 11:53 PM
To: [EMAIL PROTECTED]
Subject: Abit KD7-A KT400A
Dear All;

Has any body running FreeBsd 4.XX on Abit KD7-A KT400A motherboard??

The above motherboard has the following specification:

Abit KD7-A KT400A USB2+ LAN + 6CH.
It also uses the VIA KT400A / VT8235CE chipset.
I know FreeBSD supports 8235 chipset, but I have not seen any thing
about the 8235CE chipset.
According to via web site, the 8235CE is an enhanced version of 8235
chipset, and looks as there is hardly any difference between the above
chipset.
So any of you gus has any expricence with the above motherboard I would
like to hear from you.
Kind Regards

P.S Since I am not part of the [EMAIL PROTECTED], I would
be grateful if you could send a reply to my email address.
My Email Address: [EMAIL PROTECTED]

_

The information in this email is confidential.  It is intended
solely for the addressee.  Access to this email by anyone else
is unauthorised.  If you are not the intended recipient, any
disclosure, copying, or distribution is prohibited and may be
unlawful.  If you have received this email in error please delete
it immediately and contact [EMAIL PROTECTED]
_
This e-mail has been scanned for all viruses by Star Internet.
The service is powered by MessageLabs.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]





This e-mail has been scanned for all viruses by Star Internet.
The service is powered by MessageLabs.
 

Dear Subhro,

Any I dea if Sound and Lan chipsets are detected and working under 
FreeBsd ???

if the answer is yes, could you be kind enough to let me know, how did 
you manage to configure them.

Kind Regards

Abbas



P.S Since I am not part of the [EMAIL PROTECTED], I would
be grateful if you could send a reply to my email address.
My Email Address: [EMAIL PROTECTED]



_

The information in this email is confidential.  It is intended
solely for the addressee.  Access to this email by anyone else
is unauthorised.  If you are not the intended recipient, any
disclosure, copying, or distribution is prohibited and may be
unlawful.  If you have received this email in error please delete
it immediately and contact [EMAIL PROTECTED]
_
This e-mail has been scanned for all viruses by Star Internet.
The service is powered by MessageLabs.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


growfs problem [was Re: Adding a drive in vinum]

2004-01-06 Thread Mathieu Arnold
Ok, I could not wait, so I did :
a create with :
drive vinumdrive1 device /dev/ad3e
sd name data.p0.s1 drive vinumdrive1 len 0

then :
attach data.p0.s1 data.p0

That worked well, I had a 115GB volume, I now have a 301GB one, I'm happy :)

Now, growfs, so, I launch it :

# growfs -N /dev/vinum/data
new file systemsize is: 78997019 frags
Warning: 4312 sector(s) cannot be allocated.
growfs: 308580.0MB (631971840 sectors) block size 32768, fragment size 4096
using 417 cylinder groups of 740.00MB, 23680 blks, 47360 inodes.
with soft updates
then, the superblocks backup.

And then, I do :
# growfs /dev/vinum/data
We strongly recommend you to make a backup before growing the Filesystem

 Did you backup your data (Yes/No) ? Yes
new file systemsize is: 78997019 frags
growfs: wtfs: write error: 631976157: Inappropriate ioctl for device

And well, it does not work that good...
Any hints ?

-- 
Mathieu Arnold

pgp0.pgp
Description: PGP signature


Re: Poor SCSI disk preformance

2004-01-06 Thread Derek Marcotte
 I wouldn't say that dd is the greatest benchmarking tool. You
may want to
 try benchmarks/rawio.
I'll check that out just for kicks, but I _actually want_ to
write zeros to the drive first, not just as a benchmark.  The
reasoning for this is that I'm trying to create a dedicated box
to format HDDs in parallel.  I wish to first zero the drives to
make data recovery without an electron microscope difficult.

Then, to test for bad sectors I do a checksum of the number of
zero bytes written to disk, and then I read back from the disk
and compare checksums. Not exactly an extensive test, and perhaps
there is a verify option or trick in dd that I'm not aware of.  I
think that this would catch any blatantly bad drives...

If not, there are 2 full disk operations that should be going
faster.

Actually, just for kicks:

# dd if=/dev/da0 of=/dev/null bs=128k 
[1] 1839
# iostat -K -w 1 da0
  tty da0 cpu
 tin tout  KB/t tps  MB/s  us ni sy in id
   1   42 64.00 607 37.92   1  0  1  0 98
   0   43 64.00 222 13.87   0  0  2  0 98
   0   43 64.00 223 13.92   0  0  0  2 98
   0   42 64.00 224 13.98   0  0  2  0 98
   0   43 64.00 222 13.86   0  0  3  0 97
   0   43 64.00 223 13.92   0  0  1  2 98
   0   43 64.00 223 13.92   0  0  2  1 97
   0   42 64.00 223 13.92   0  0  3  0 97
   0   43 64.00 223 13.92   0  0  1  0 99

Seems to give me the performance that I expect...


 Also, try monitoring diffferent types of transfers to
 and from another physical disk with iostat.
Actually, interestingly enough, when I copy a file, or do a
newfs_msdos I only get 0.06-0.89MB/s transfers, which is what
first tipped me off to the problems...  Obviously less
acceptable...

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


Re: Commercial Distribution?

2004-01-06 Thread Ceri Davies
On Tue, Jan 06, 2004 at 05:22:55PM +0100, Udo Schr?ter (Trionic Technologies) wrote:
 
 Are there any FreeBSD references that MUST be taken out / MUST be left in?

Well, you don't have to, but I would really appreciate it if you made
sure that send-pr was either removed or changed to submit bugs to
yourselves.  You've probably already thought of this, but I wanted to
mention it, just in case.

Thanks,

Ceri (FreeBSD bugmeister)

-- 


pgp0.pgp
Description: PGP signature


Re: ps: warning: /var/run/dev.db: No such file or directory

2004-01-06 Thread Ceri Davies
On Tue, Jan 06, 2004 at 04:10:31PM +0100, David Landgren wrote:
 I recently rebooted a server that had been running for many months. I 
 haven't touched the kernel or userland programs since it went into 
 production.
 
 The server was rebooted with 'shutdown -h now', powered down, and then 
 later restarted.
 
 I've since noticed that cron didn't restart, which is odd, but fixable, 
 but more importantly, when I run ps, it spits out 'ps: warning: 
 /var/run/dev.db: No such file or directory' (although, as far as I can 
 tell, the output is perfectly reasonable).
 
 I'm wondering if one is a symptom of the other. In any event, 
 /var/run/dev.db is most certainly not there.

You don't need to reboot - just run dev_mkdb.

ceri

-- 


pgp0.pgp
Description: PGP signature


wicontrol output

2004-01-06 Thread Proctor, Matthew
can anyone help with this please - it's very frustrating.
 
what does the Channel list value mean?
 
thanks
Matt
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: why does inetd default to enable

2004-01-06 Thread Massimiliano Stucchi
On Tue, 6 Jan 2004 12:57:12 -0500
fbsd_user [EMAIL PROTECTED] wrote:

 The 4.9 /etc/defaults/rc.conf file has inetd_enable=YES
 
 Why is that?  

That's normal behaviour. Inetd is active, but nothing is enabled by
default.

 During the sysinstall I answered NO to inetd question.

You answered no to a question asking you if you wanted to customize
inetd's behaviour, not if ou wanted to enable it.

 Is this not an error?

nope.

Cheers
-- 

Stucchi Massimiliano | Gruppo Utenti FreeBSD Italia
WillyStudios.com | http://www.gufi.org 
[EMAIL PROTECTED] | [EMAIL PROTECTED]
People who make no mistakes do not usually make anything



pgp0.pgp
Description: PGP signature


RE: why does inetd default to enable

2004-01-06 Thread fbsd_user
Well it does not.
So this is an error which should have PR submitted?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dan Nelson
Sent: Tuesday, January 06, 2004 1:02 PM
To: fbsd_user
Cc: [EMAIL PROTECTED] ORG
Subject: Re: why does inetd default to enable

In the last episode (Jan 06), fbsd_user said:
 The 4.9 /etc/defaults/rc.conf file has inetd_enable=YES

 Why is that?

 During the sysinstall I answered NO to inetd question.

 Is this not an error?

sysinstall should have created an /etc/rc.conf with
inetd_enable=NO
in it, to override the default.

--
Dan Nelson
[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: Cannot find file system superblock error - how to recover?

2004-01-06 Thread Sergey 'DoubleF' Zaharchenko
On Tue, 6 Jan 2004 09:48:40 -0800 (PST)
Scott I. Remick [EMAIL PROTECTED] probably wrote:

 
 --- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
 
  I can't find a zero-bad floppy in this place! It's all the holidays!
 
 That's what AOL disks (vs. discs) used to be good for. :)
 
  With `c', they're all offset by 63(why?). But still, you can mount the
  partitions on the ad4s1, so the disklabel should be ok...
 
 Yeah. Starts to suggest what we were thinking was a evidence related to the
 problem is really unrelated and normal behavior (is disklabel/bsdlabel
 only meant to be run on slices and not bsd-partitions?). Are we looking in
 the wrong place?

After trying out 5.2-RC2, it seems like the offsets reported with the
`c' slice are from the beginning of the disk, not from the beginning of
the slice. That accounts for the +63 difference. I guess it's documented
somewhere, but as I don't use 5.x I haven't read its docs.

 What about that potentially good superblock we found a
 while ago? (the skip 16 one that contained /data in it) Should we be
 saving that somewhere while we can? (how?)

I think you already have a copy (the data at offset 32 seems to be it).
If you want, do a

# dd if=/dev/ad6s1 skip=16 count=16 of=/some/file

Please tell me everything what you tried to use to mount/fsck the drive
(and the results, of course).

 Anyone out there know 5.x file-system dirtiness like the back of their hand?
 C'mon, you know you wanna join the fun. :)

Try booting from a 4.x floppy and doing it all over again... The FS is
UFS1, isn't it?

-- 
DoubleF
Why does New Jersey have more toxic waste dumps and California have
more lawyers?

New Jersey had first choice.


pgp0.pgp
Description: PGP signature


hard time with routing

2004-01-06 Thread Markus Kovero
Well, I have this problem again, I hope I get help at this time, not big
problem, its just something I'm missing here.

interface to net: ep0
interface to lan: xl0
ep0 has 2001:a68:2:10::2/64 with default gw 2001:a68:2:10:: and she works
fine.
xl0 should have 2001:a68:2:10:dead::/96

ifconfig ep0 inet6 2001:a68:2:10::2/64
route add -inet6 default 2001:a68:2:10::

fine. ipv6 works now, then:

ifconfig xl0 inet6 2001:a68:2:10:dead::/96

and situation is like this(ping -S 2001:a68:2:10:dead::) :

--- 2001:a68:2:10::2 ping6 statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/std-dev = 0.317/0.367/0.462/0.067 ms

--- 2001:a68:2:10:: ping6 statistics ---
2 packets transmitted, 0 packets received, 100% packet loss

lan interface can ping to internet interface but no gw?
ip and ip6 forward bits are 1.
How I should route that 96-block so it would work?

Greets Markus Kovero

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


RE: why does inetd default to enable

2004-01-06 Thread fbsd_user
That may be the normal behavior, but it's wrong.

Why run the inetd daemon consuming resources when all the
optional servers  it can launch are commented out in inetd.conf?

If not selected in sysinstall inetd should not start.

The statement in /etc/defaults/rc.conf should be changed to
enable=NO
Then it would be correct.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Massimiliano Stucchi
Sent: Tuesday, January 06, 2004 1:32 PM
To: [EMAIL PROTECTED]
Subject: Re: why does inetd default to enable

On Tue, 6 Jan 2004 12:57:12 -0500
fbsd_user [EMAIL PROTECTED] wrote:

 The 4.9 /etc/defaults/rc.conf file has inetd_enable=YES

 Why is that?

That's normal behaviour. Inetd is active, but nothing is enabled by
default.

 During the sysinstall I answered NO to inetd question.

You answered no to a question asking you if you wanted to customize
inetd's behaviour, not if ou wanted to enable it.

 Is this not an error?

nope.

Cheers
--

Stucchi Massimiliano | Gruppo Utenti FreeBSD Italia
WillyStudios.com | http://www.gufi.org
[EMAIL PROTECTED] | [EMAIL PROTECTED]
People who make no mistakes do not usually make anything

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


Re: Cannot find file system superblock error - how to recover?

2004-01-06 Thread Jerry McAllister
 
 
 --- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
 
  I can't find a zero-bad floppy in this place! It's all the holidays!
 
 That's what AOL disks (vs. discs) used to be good for. :)
 
  With `c', they're all offset by 63(why?). But still, you can mount the
  partitions on the ad4s1, so the disklabel should be ok...
 
 Yeah. Starts to suggest what we were thinking was a evidence related to the
 problem is really unrelated and normal behavior (is disklabel/bsdlabel
 only meant to be run on slices and not bsd-partitions?). 


Sorry, I haven't been following this whole thread and so am not responding 
to your real problem/question.   But, just in regards to this fragment:

You have it backwards in this question.   Disklabel is meant to run
only on bsd partitions and not slices.   Slices (1-4) are the major 
divisions of the disk and partitions (a-h) are divisions within slices. 
Fdisk is what creates slices.

jerry


Are we looking in
 the wrong place? What about that potentially good superblock we found a
 while ago? (the skip 16 one that contained /data in it) Should we be
 saving that somewhere while we can? (how?)
 
 Anyone out there know 5.x file-system dirtiness like the back of their hand?
 C'mon, you know you wanna join the fun. :)
 
 Where's my time machine so I can go back and back up this drive... ah well
 I'm learning a ton.
 ___
 [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: Commercial Distribution?

2004-01-06 Thread Udo Schrter (Trionic Technologies)
 You're creating a turnkey system with a known and well-defined layout
which
 includes all of the dependencies to run your proprietary software.  Look
into
 man release, which discusses how to customize a build and create CD
images.

Yes, I already made a few builds. We're currently (mainly) looking into how
we can make the installer more friendly for corporate helpdesks/IT personnel
and how to customize KDE so users won't complain about this not being
Windows so much ;)

 You should also consider managing your software and it's dependencies as a
 port, even though you might never submit the port of your software.  On
the
 other hand, some people like anti-virus vendors have their commercial
products
 available as a port on a time-limited trial basis (security/vscan, , but
 that's up to you...

Yes, I'm planning to make two packages. One to install all the modifications
and preferences to applications that don't need to be recompiled (this patch
would be applied after install). The other package would contain the actual
proprietary client software. We discussed the trial idea last year - maybe
we will distribute the client and trial users can connect to a public test
serever - we haven't decided yet (however, it is not a consumer product).

 You're welcome to use BSD software in a commercial distribution.  Have
fun.
 If you contribute useful things back, that's nice, but you don't even have
to
 do that much.

Great, we had many idea for little tools and stuff like that (if only a day
had 50+ hours!)

Btw, I looked really carefully and couldn't find any FreeBSD-based
commercial distro (if you don't count OS X). Am I just to stupid to find one
or is this an idea whose time has not come yet?

 IANAL: I'd worry more about falling in the shower and breaking my neck
than I
 would worry about SCO.

Yeah, sometimes I just wish some SCO people would do the
shower-neck-breaking thing. ;)

 Well, you don't have to, but I would really appreciate it if you made
 sure that send-pr was either removed or changed to submit bugs to
 yourselves.  You've probably already thought of this, but I wanted to
 mention it, just in case.

Yes, we thought of that. I just hope we don't overlook anything obvious! But
on the other hand, our customers even call *us* when their Windows breaks,
so you're probably not in danger anyway...

Thanks a lot for the advice, that was really quick!
I'll keep in touch and tell you how the project went, OK?

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


Weird stuff after moving to a new MB

2004-01-06 Thread Gary Lum
Hello everyone,
  I'm hoping that someone might be able to give me
some ideas on what to check to rule out a flakey MB.

  I had FreeBSD 5.1 installed on an older Dual 440BX
motherboard which was current with CVS.  I replaced
the board with a 440GX dual. Basically, I took the HD
out of the old system and put into the new since the
boards are pretty similar.The system is working but
there seems to be some quirks such as the Onboard NIC
will not pick up a connection( IT is recognized by the
System and uses the same driver (FXP)) and the floppy
drive will not read a floppy at anytime (At boot too).
I've rebuilt world and kernel and still have the same
problems.
  I'm also noticing now that after reconfiguring X, my
mouse is chunky. To be honest, it's chunky in the
mouse setup in /stand/sysinstall too.

I'm leaning towards a flakey board but have to admit
my naivity in that it may be due to not reinstalling
from CD. Suggestions, comments?


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apache+php

2004-01-06 Thread gaspo1
GASPOFWIPV6LAB# uname -a
FreeBSD GASPOFWIPV6LAB 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Thu Jan  1 08:04:10
CET 2004 [EMAIL PROTECTED]:/usr/src/sys/compile/GASPO  i386

i have install from pkg_add the packages:
apache-1.3.28
mysql-client-4.0.15
PHP
---error--
when i do :
apachectl start
usr/local/sbin/apachectl start: httpd could not be started
--
so,i have test also to compile httpd on my fbsd from apache.org,
and if i compile it without modules apache start,if i compile with all modules
like php cgi,apache cannot be start,the only error is:(var log)
[Tue Jan  6 20:25:56 2004] [alert] mod_unique_id: unable to 
gethostbyname(GASPOFWIPV6LAB)
any suggest?




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


Re: What should I install?

2004-01-06 Thread Teilhard Knight
 On Monday 05 January 2004 11:34 pm, Teilhard Knight wrote:
  I have running FreeBSD 4.7 in one computer and version 5.0 was not for
  newbies. I see now, version 4.9 is out, but version 5.1 is too. In the
  official FreeBSD web page, they recommend to install 5.1.
 
  Now, I haven't grown up from the newbie category, so the question is:
  Should I install 5.2 or 4.9, perhaps 4.8, in another computer?
 
  Teilhard Knight
  The Extraterrestrial
 
  Change privacy for softhome if you want to intrude my inbox

 I would recommend you download and install 5.1 if you can.  The upgrade
from
 4.x to 5.x is nearly impossible and you're better off doing a fresh
install.
 I've been using 5.x for quite a while now, even on a production web server
 with little problems.  There's also better hardware support.  Expect to
see a
 few bugs, but they're getting taken care of pretty quickly.

Thanks a lot. A few months ago, in the times of 4.7, everybody was against
newbies to install 5.0. I see you guys have tested and approved version 5.x.
I'll start downloading 5.1 right away.

Teilhard Knight
The Extraterrestrial

Change privacy for softhome if you want to intrude my inbox


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


Re: Updating Ports Index

2004-01-06 Thread Rishi Chopra
I installed perl, so I'm no longer getting the 'perl: not found' message 
(any reason why perl isn't installed when installing the ports tree??)

The problem now is that the 'make index' command seems to take forever:

idfubar# make index
Generating INDEX-5 - please wait..
And then there's no additional output.  Is the server working on the 
request, or has the request hung?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rishi Chopra
Sent: Monday, January 05, 2004 5:23 PM
To: [EMAIL PROTECTED]
Subject: Updating Ports Index
For some reason, I can't seem to update the index for the ports database:

idfubar# cd /usr/ports
idfubar# make index
Generating INDEX-5 - please wait..perl: not found
perl: not found
Done.
I also tried attempting my first 'portsdb -Uu' after a successful CVSUp, 
but am running into some problems:

idfubar# portsdb -Uu
Updating the ports index ... perl: not found
/usr/local/sbin/make_describe_pass2:70:in `write': Broken pipe 
(Errno::EPIPE)
  from /usr/local/sbin/make_describe_pass2:70:in `puts'
  from /usr/local/sbin/make_describe_pass2:70
failed to generate INDEX!
portsdb: index generation error

Can anyone explain why I might be getting these errors?  My installation 
was a minimal install, do I need to install something else for the 'make 
index' command to work properly?

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


Slow boot when not plugged into network

2004-01-06 Thread Duane Winner
Does anybody know of a workaround for this?

When I'm not connected to my ethernet network, it takes an extra 90
seconds to boot my FreeBSD laptop, as it hangs on this boot message
before timing out:

Doing initial network setup: hostname

I'm guessing it has something to do with DNS lookup and can't reach the
server(s), but I'm not sure.

I had a similar problem in the past when I used Debian, but never really
addressed it. For the most part, I can deal with it, but sometimes it is
embarrassing, like when I'm doing a presentation or something and
everybody is twiddling their thumbs while waiting for me.

Thanks for any advice.



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


Re: Cannot find file system superblock error - how to recover?

2004-01-06 Thread Scott I. Remick

--- Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] wrote:
 I think you already have a copy (the data at offset 32 seems to be it).
 If you want, do a
 
 # dd if=/dev/ad6s1 skip=16 count=16 of=/some/file

ok, done. Is there a way to use fsck_ufs -b now to fix this? Or is that
premature? And if I remember correctly, that doesn't actually APPLY the
alternate superblock... it just allows fsck to run while utilizing an
alternate one. So we need to use some sort of dd command to copy it to the
proper location, correct?

 Please tell me everything what you tried to use to mount/fsck the drive
 (and the results, of course).

Well, my memory is sketchy so I don't know how much use it'd be. But I was
saving a file to /data (ad6) when the system hung. Then it rebooted on its
own. Of course fsck ran on bootup but it gave up and told me I had to run it
manually. When I did (I don't remember any parameters I specifically used,
if any) I got:

/dev/ad6s1c
Cannot find file system superblock
/dev/ad6s1c: NOT LABELED AS A BSD FILE SYSTEM

I remember there being some of the other common message for little things
that you just tell it to go ahead and fix. But the above error was a brick
wall and would keep me from going multi-user. Ultimately I had to
comment-out the line in fstab:

#/dev/ad6s1c/data   ufs rw  2   2

So I could at least boot. And that's the way I've been ever since.

Trying to mount it now gives:

su-2.05b# mount -r /dev/ad6s1c /data
mount: /dev/ad6s1c on /data: incorrect super block

And so we stand.

 Try booting from a 4.x floppy and doing it all over again... The FS is
 UFS1, isn't it?

Ummm... doing what all over again? Wipe the disk and redo the partitions? I
hope we're not quite there yet. How does using 4.x give me an advantage over
5.1? I'm not clear on that part.


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


Re: apache+php

2004-01-06 Thread Kevin D. Kinsey, DaleCo, S.P.
[EMAIL PROTECTED] wrote:

GASPOFWIPV6LAB# uname -a
FreeBSD GASPOFWIPV6LAB 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Thu Jan  1 08:04:10
CET 2004 [EMAIL PROTECTED]:/usr/src/sys/compile/GASPO  i386
i have install from pkg_add the packages:
apache-1.3.28
mysql-client-4.0.15
PHP
---error--
when i do :
apachectl start
usr/local/sbin/apachectl start: httpd could not be started
--
so,i have test also to compile httpd on my fbsd from apache.org,
and if i compile it without modules apache start,if i compile with all modules
like php cgi,apache cannot be start,the only error is:(var log)
[Tue Jan  6 20:25:56 2004] [alert] mod_unique_id: unable to gethostbyname(GASPOFWIPV6LAB)
any suggest?
 

Well, that is a DNS type issue.  Give your host a
name either in DNS or /etc/resolv.conf, and try
again.  Or, disable mod_unique_id.
I would hesitate in saying that this will fix your problem,
though; that's just an alert.  Perhaps something else is
wrong as well.
I generally prefer to install apache/PHP/MySQL from
the ports tree, SQL first, PHP last.  Works pretty well;
haven't had many issues since I started doing it
that way.
HTH,

Kevin Kinsey

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


Re: Poor SCSI disk preformance

2004-01-06 Thread Dan Nelson
In the last episode (Jan 06), Derek Marcotte said:
 Actually, just for kicks:
 
 # dd if=/dev/da0 of=/dev/null bs=128k 
 [1] 1839
 # iostat -K -w 1 da0
   tty da0 cpu
  tin tout  KB/t tps  MB/s  us ni sy in id
1   42 64.00 607 37.92   1  0  1  0 98
0   43 64.00 222 13.87   0  0  2  0 98
0   43 64.00 223 13.92   0  0  0  2 98
0   42 64.00 224 13.98   0  0  2  0 98
0   43 64.00 222 13.86   0  0  3  0 97
0   43 64.00 223 13.92   0  0  1  2 98
0   43 64.00 223 13.92   0  0  2  1 97
0   42 64.00 223 13.92   0  0  3  0 97
0   43 64.00 223 13.92   0  0  1  0 99
 
 Seems to give me the performance that I expect...

Aha.  Check the WCE bit to see if your write cache is enabled on the
disk:

# camcontrol mode da0 -m 8 | grep WCE

If it's not set, that could be contributing to the speed difference
between reads and writes.  Set it by running cmcontrol mode da0 -m 8
-e -P 2, and set WCE: 1.

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


Re: Updating Ports Index

2004-01-06 Thread Chris
On Tuesday 06 January 2004 1:33 pm, Rishi Chopra wrote:
 I installed perl, so I'm no longer getting the 'perl: not found' message
 (any reason why perl isn't installed when installing the ports tree??)

Just because you installed the ports tree does not mean you installed Perl. If 
you did via the install.

 The problem now is that the 'make index' command seems to take forever:

This does take time if on a slower box.

-- 
Best regards,
Chris

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


Re: What should I install?

2004-01-06 Thread Lowell Gilbert
Teilhard Knight [EMAIL PROTECTED] writes:

  In the
 official FreeBSD web page, they recommend to install 5.1.

Depending on your application.  Remember the caveats:
http://www.freebsd.org/releases/5.1R/early-adopter.html

Also bear in mind that 5.2 will be out within a few weeks.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot find file system superblock error - how to recover?

2004-01-06 Thread Scott I. Remick

--- Jerry McAllister [EMAIL PROTECTED] wrote:
  (is disklabel/bsdlabel only meant to be run on slices and not 
  bsd-partitions?). 
 
 You have it backwards in this question.   Disklabel is meant to run
 only on bsd partitions and not slices.   Slices (1-4) are the major 
 divisions of the disk and partitions (a-h) are divisions within slices. 
 Fdisk is what creates slices.

Ok, well the reason I thought it might be the other way is because if you
run disklabel (bsdlabel) on a slice (such as /dev/ad4s1 on my machine, which
is working, or /dev/ad0s1 on another machine I have access to) it works fine
(and reports an offset of 0),  but if you run it on the partition
(/dev/ad0s1c) you get an offset of 63 and errors like:

partition c: partition extends past end of unit
bsdlabel: partition c doesn't start at 0!
bsdlabel: An incorrect partition c may cause problems for standard system
utilities
partition f: partition extends past end of unit

So why does disklabel/bsdlabel produce errors when run on the partition even
when the disk is fine, if it is meant to be run on partitions and not
slices?

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


Re: Poor SCSI disk preformance [more on camcontrol please!]

2004-01-06 Thread Derek Marcotte
 Aha.  Check the WCE bit to see if your write cache is enabled
on the
 disk

Bingo:

# dd if=/dev/zero of=/dev/da0 bs=64k 
[1] 2253
# iostat -K -w 1 da0
  tty da0 cpu
 tin tout  KB/t tps  MB/s  us ni sy in id
   2   38  0.00   0  0.00   1  0  1  0 98
   0   43 64.00 223 13.91   0  0  8  1 91
   0   43 64.00 223 13.92   0  0  5  0 95
   0   43 64.00 223 13.92   0  0  8  1 91
   0   43 64.00 223 13.92   0  0  6  0 94
   0   42 64.00 223 13.92   0  0  5  1 94
   0   43 64.00 223 13.92   1  0  6  1 92

 Set it by running cmcontrol mode da0 -m 8 -e -P 2, and set
WCE: 1

I needed to modify your command slightly to:
camcontrol mode da0 -m 8 -e -P 0

I guess I don't have a page 2 for some reason...  This will
probably cause this bit to be reset on reboot as well, because it
is the current page?

Is it prudent to attempt to set the WCE:1 on all drives that get
attached?  I will be formatting a large number of greatly varying
drives, including ATA converted to SCSI type drives, and really
old, and really new drive types.

I've had a look at man camcontrol earlier, but I don't know
enough about the inner workings of SCSI for this to mean much to
me.  It seems to be pretty obscure (like how would I know to
enable features/specs to edit a modepage?), but extremely
powerful.  Where can I read more about this, is there a good
camcontrol FAQ/tutorial out there that explains what these
details actually mean/do?

Thanks for the help!
Derek

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


Re: how to use lseek() system call with over 2G files?

2004-01-06 Thread Lowell Gilbert
Dan Nelson [EMAIL PROTECTED] writes:

 In the last episode (Jan 06), Alex said:
  Hi everybody!
  
  Some time ago there wasn't any possibility to create disk file larger 
  than 2G and there was no problem with lseek().
 
 Some time ago meaning around 1997?  FreeBSD has had 64-bit file access
 since at least 2.2.0.  I don't remember if earlier versions had support
 for it or not.

off_t has *never* been anything but 64-bit in FreeBSD.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot find file system superblock error - how to recover?

2004-01-06 Thread Jerry McAllister
 
 --- Jerry McAllister [EMAIL PROTECTED] wrote:
   (is disklabel/bsdlabel only meant to be run on slices and not 
   bsd-partitions?). 
  
  You have it backwards in this question.   Disklabel is meant to run
  only on bsd partitions and not slices.   Slices (1-4) are the major 
  divisions of the disk and partitions (a-h) are divisions within slices. 
  Fdisk is what creates slices.

First, as I look at what I wrote,  I said this wrong in two ways - because
I didn't read carefully and had just come off a bad headache, probably
caused by breathing spray paint fumes - always use in well ventilated
area.  

The biggie!!  disklabel DOES work on slices and CREATES partitions.   
It does not work on partitions - it creates them which is where my 
sleepy [Groggy has already been claimed by a famous contributer] got 
lost.   So, trying to run disklabel on ad0s1c would definitely cause 
an error.

The other thing is, I should have left out the word 'only' (after writing
the rest of it correctly, of course) because disklabel can, but usually 
shouldn't, be run on the whole disk  ad0 (as apposed to just a slice ad0s1) 
which will create a dangerously dedicated disk.  There is no real danger 
as long as you only use FreeBSD on it and don't want to multi-boot it or 
anything.  Since you only lose the tiny bit by slicing it (63 sectors), 
you should just always first slice it (with fdisk) - even if that means 
making it all one big slice.  That will make sure things are happy should 
you get weird creative ideas later on.

 Ok, well the reason I thought it might be the other way is because if you
 run disklabel (bsdlabel) on a slice (such as /dev/ad4s1 on my machine, which
 is working, or /dev/ad0s1 on another machine I have access to) it works fine
 (and reports an offset of 0),  but if you run it on the partition
 (/dev/ad0s1c) you get an offset of 63 and errors like:

Yes, the offset in disklabel is from the beginning of the slice.  I am not 
sure what it is trying to do if you try to further partition a partition.  
Anyway, the 'c' partition is a special one that refers to the whole slice 
regardless of the partitions it has been carved in to.  I would have to 
go wading through code to figure out how it is handled differently.  Just 
for fun, try doing a disklabel on ad0s1a or something like that and see 
what it does - on a disk you can afford to trash.

Anyway, sorry for the first round of mis-statement.

jerry

 
 partition c: partition extends past end of unit
 bsdlabel: partition c doesn't start at 0!
 bsdlabel: An incorrect partition c may cause problems for standard system
 utilities
 partition f: partition extends past end of unit
 
 So why does disklabel/bsdlabel produce errors when run on the partition even
 when the disk is fine, if it is meant to be run on partitions and not
 slices?
 
 Trying to learn... thanks!
 ___
 [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: Commercial Distribution?

2004-01-06 Thread Chuck Swiger
Udo Schrter (Trionic Technologies) wrote:
[ ... ]
Btw, I looked really carefully and couldn't find any FreeBSD-based
commercial distro (if you don't count OS X). Am I just to stupid to find one
or is this an idea whose time has not come yet?
Wind River Systems and other vendors will sell FreeBSD CDs, and there are 
examples of dedicated systems using FreeBSD that come to mind, such as the 
Nokia IP firewall platform.  Or were you talking about a commercial distro 
in terms of a company that provides/charges for technical support...?  :-)

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


Re: Two unrelated questions

2004-01-06 Thread Lowell Gilbert
Scott Miller [EMAIL PROTECTED] writes:

 1)  Does the 5.x branch of freebsd support 32 bit cardbus? or will it be
 added to 4.x soon?

Yes in 5.x, no in 4.x.

 2)  I have installed freebsd 4.9  on my Dell Inspiron 8100 laptop, when I
 try to configure XFree86 I have to use the text based tool.  After doing
 that, when I run startx I get a grainy desktop that almost covers my screen,
 but not quite, and has only a clock window, a login window, and an xterm
 window, and nothing else.  Where am I going wrong?

That's twm.  [I like it.]  If you want a different window manager,
install a different window manager.  The FreeBSD Handbook goes into
great detail on this.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slow boot when not plugged into network

2004-01-06 Thread Nils Vogels
Duane Winner wrote:

Does anybody know of a workaround for this?

When I'm not connected to my ethernet network, it takes an extra 90
seconds to boot my FreeBSD laptop, as it hangs on this boot message
before timing out:
Doing initial network setup: hostname

I'm guessing it has something to do with DNS lookup and can't reach the
server(s), but I'm not sure.
 

My best guess is indeed also a DNS lookup which goes into nothingness ;-)

You should be able to avoid the DNS query if you have the hostname it is 
trying to lookup (such as your FQDN) in your /etc/hosts file.

HTH  HAND,

--
Simple guidelines to happiness:
Work like you don't need the money,
love like your heart has never been broken and 
dance like no one can see you.

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


Re: Commercial Distribution?

2004-01-06 Thread Udo Schrter (Trionic Technologies)
 Wind River Systems and other vendors will sell FreeBSD CDs, and there are
 examples of dedicated systems using FreeBSD that come to mind, such as the
 Nokia IP firewall platform.  Or were you talking about a commercial
distro
 in terms of a company that provides/charges for technical support...?
:-)

Yes, something like that. I guess so far it has been done only with
Linux-based systems, eh? I couldn't find any RedHat-like vendors out there.
Anyway, it was just a dumb newbie question for better insight as to what's
out there...

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


Re: Slow boot when not plugged into network

2004-01-06 Thread Olaf Hoyer
On Tue, 6 Jan 2004, Duane Winner wrote:

 Does anybody know of a workaround for this?

 When I'm not connected to my ethernet network, it takes an extra 90
 seconds to boot my FreeBSD laptop, as it hangs on this boot message
 before timing out:

 Doing initial network setup: hostname

 I'm guessing it has something to do with DNS lookup and can't reach the
 server(s), but I'm not sure.

Hi!

Will most likely be the dhcp request, which of course does not find any
dhcp server.

When you are sitting at the console, simply press CTRL-C after Doing
initial network setup: hostname ist displayed and the box is sitting
there. The process dhclient will then be terminated and the boot process
continues.

HTH
Olaf


-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Poor SCSI disk preformance [more on camcontrol please!]

2004-01-06 Thread Dan Nelson
In the last episode (Jan 06), Derek Marcotte said:
  Aha.  Check the WCE bit to see if your write cache is enabled on
  the disk
 
 Bingo:
 
 # dd if=/dev/zero of=/dev/da0 bs=64k 
 # iostat -K -w 1 da0
   tty da0 cpu
  tin tout  KB/t tps  MB/s  us ni sy in id
0   43 64.00 223 13.92   1  0  6  1 92
 
 I guess I don't have a page 2 for some reason...  This will probably
 cause this bit to be reset on reboot as well, because it is the
 current page?

Possibly.  Power the drive off and see if the change sticks. :)

 Is it prudent to attempt to set the WCE:1 on all drives that get
 attached?  I will be formatting a large number of greatly varying
 drives, including ATA converted to SCSI type drives, and really
 old, and really new drive types.

I've never seen WCE hurt sequential write access, so it's probably safe
to turn on.  If you're paranoid about possibly getting damaged
filesystems during power outages, you might want to turn it back off,
although every year or so there's a thread that pops up debating its
merits.
 
 I've had a look at man camcontrol earlier, but I don't know
 enough about the inner workings of SCSI for this to mean much to
 me.  It seems to be pretty obscure (like how would I know to
 enable features/specs to edit a modepage?), but extremely
 powerful.  Where can I read more about this, is there a good
 camcontrol FAQ/tutorial out there that explains what these
 details actually mean/do?

Everything under camcontrol modepage and cmd is pretty much
straight from the SCSI spec.  You can buy copies of it from ANSI (I
think you can download draft copies from www.t10.org somewhere), and
sometimes disk vendors will ship copies with vendor-specific info. 
About 15 years ago, I bought a Maxtor disk that didn't include the
little sheet saying which jumpers were which SCSI id.  I called up and
asked them to send me a copy, and they sent me the whole reference
manual for the drive, detailing every SCSI command and modepage.

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


Re: growfs problem [was Re: Adding a drive in vinum]

2004-01-06 Thread Mathieu Arnold


+-Le 06/01/2004 19:18 +0100, Mathieu Arnold écrivait :
| Ok, I could not wait, so I did :
| a create with :
| drive vinumdrive1 device /dev/ad3e
| sd name data.p0.s1 drive vinumdrive1 len 0
| 
| then :
| attach data.p0.s1 data.p0
| 
| That worked well, I had a 115GB volume, I now have a 301GB one, I'm happy
| :)
| 
| Now, growfs, so, I launch it :
| 
|# growfs -N /dev/vinum/data
| new file systemsize is: 78997019 frags
| Warning: 4312 sector(s) cannot be allocated.
| growfs: 308580.0MB (631971840 sectors) block size 32768, fragment size
| 4096 using 417 cylinder groups of 740.00MB, 23680 blks, 47360
| inodes. with soft updates
| then, the superblocks backup.
| 
| And then, I do :
|# growfs /dev/vinum/data
| We strongly recommend you to make a backup before growing the Filesystem
| 
|  Did you backup your data (Yes/No) ? Yes
| new file systemsize is: 78997019 frags
| growfs: wtfs: write error: 631976157: Inappropriate ioctl for device
| 
| And well, it does not work that good...
| Any hints ?

Ok, no matter what I do, I can't grow this filesystem. I'm wondering if
there's a bug somewhere in growfs or if it's because of vinum or...

-- 
Mathieu Arnold

pgp0.pgp
Description: PGP signature


Problem with amd (automount daemon)

2004-01-06 Thread Ernst de Haan
I've got a problem with amd. This is the error I get when I access my CD-ROM 
drive at /mnt/cdrom/:

/host/localhost/cdrom: mount (amfs_auto_cont): Operation not permitted

I've followed the instructions for configuring automounting on FreeBSD, as I 
found it on the Daemonnews site.

Any hints as to what this error may indicate? 

Here's some more information on the pertaining system:

FreeBSD 4.9-STABLE
Dual P3-450 (but currently with UP kernel)

My /etc/amd.map file:
http://people.freebsd.org/~znerd/amd.map

Output of dmesg -a:
http://people.freebsd.org/~znerd/dmesg.out

Ernst

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


switching from sendmail to postfix

2004-01-06 Thread Markus Espenhain
Hello all,

Im running an FreeBSD 4.9 System and from scratch is an sendmail MTA installed and 
active.

I would use postfix as my MTA.
How should I switch to postfix at best?

Has someone a suggestion?

Thank you!

Greetings from Stuttgart, Germany

Markus

-- 
Markus Espenhain Fon:  +49 (7 11) 48 90 83 - 0
ETES - EDV-Systemhaus GbRFax:  +49 (7 11) 48 90 83 - 50
Libanonstrasse 58 A * D-70184 Stuttgart  Web: http://www.etes.de
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >