RE: HP LJ 1100 setup

2005-03-14 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:
 Chuck Robey wrote:
 On Sun, 13 Mar 2005, Chris wrote:


 Any ideas on how to setup an HPLJ 1100 using either cups or lpd?




 Try Andreas' GREAT printer port, print/apsfilter, which is one of
 hte best things in ports.  How come it's so completly unknown?

 Heck, he even has a web site for it, www.apsfilter.org. Really, it's
 THAT good!


 Naaa - not with this one it don't. Nuffin but blank pages on every
 setup I try.

OK, according to the following:

http://www.cs.wisc.edu/~ghost/doc/printer.htm

Ghostscript supports the HP1100 directly.  So there's no need to deal
with the other printer drivers, which should make it easy for you.

Since you already installed apsfilter (which is unnecessary BTW) just
run the following:

gs -?

This will spew out a list of devices that your version of Ghostscript
has installed.  For example:

$ gs -?
GNU Ghostscript 7.07 (2003-05-17)
Copyright (C) 2003 artofcode LLC, Benicia, CA.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
 -dNOPAUSE   no pause after page   | -q   `quiet', fewer
messages
 -gwidthxheight  page size in pixels   | -rres  pixels/inch
resolution
 -sDEVICE=devname  select device | -dBATCH  exit after last
file
 -sOutputFile=file select output file: - for stdout, |command for pipe,
 embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PDF
Default output device: x11
Available devices:
   bbox bit bitcmyk bitrgb bmp16 bmp16m bmp256 bmp32b bmpgray bmpmono
   bmpsep1 bmpsep8 ccr cgm24 cgm8 cgmmono cif dfaxhigh dfaxlow epswrite
   faxg3 faxg32d faxg4 ijs inferno jpeg jpeggray lj4dith ljet4 ljet4d
mgr4
   mgr8 mgrgray2 mgrgray4 mgrgray8 mgrmono miff24 nullpage pam pbm pbmraw
   pcx16 pcx24b pcx256 pcxcmyk pcxgray pcxmono pdfwrite pgm pgmraw pgnm
   pgnmraw pkm pkmraw pksm pksmraw plan9bm png16 png16m png256 pngalpha
   pnggray pngmono pnm pnmraw ppm ppmraw psgray psmono psrgb pswrite
sgirgb
   stp sunhmono tiff12nc tiff24nc tiffcrle tiffg3 tiffg32d tiffg4 tifflzw
   tiffpack x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2
   x11gray4 x11mono x11rg16x x11rg32x
Search path:
   . : /usr/local/share/ghostscript/7.07/lib :
   /usr/local/share/ghostscript/fonts
For more information, see /usr/local/share/ghostscript/7.07/doc/Use.htm.
Report bugs to [EMAIL PROTECTED], using the form in Bug-form.htm.
$

Search the available devices for ljet4  If that driver is present your
good to go.  If not, then go to the ports into the ghostscript directory
and do a make deinstall, make clean, make install and then make sure to
select ljet4 from the list of devices.

Once you have that device there, assuming your Laserjet is plugged into
the parallel port, a commmand like:

gs -sDEVICE=ljet4 -sOutputFile=/dev/lpt0
/usr/local/share/ghostscript/7.07/exampl
es/colorcir.ps

should print the postscript example file of a color circle.  Assuming
that works
then it is pretty simple to setup a /etc/printcap entry for that.  Here's
an
example:

lp-hpps:\
:sh:\

:lp=/dev/lpt0:sd=/var/spool/output/lp-hpps:lf=/var/log/lpd-errs:mx=0:\
:of=/usr/local/bin/hppsfilter:rw:

cat /usr/local/bin/hppsfilter

#!/bin/sh
#
# Script that runs ghostscript for the HP
#
/usr/local/bin/gs -q -sDEVICE=ljet4  -sOutputFile=- -

You can also write this as an input file for lpd, that might work better
for you,
read the manual.

Note also that if your just going to be printing text only, then you just
need a
CR/LF filter, see:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/corp-net-guide/index.htm
l

specifically the section on setting up filters.

Ted

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


after init messeages

2005-03-14 Thread Omer Faruk Sen
Hi, 

Is it possible to disable messages that was given by rc_ng to the console? 
Maybe by disabling console entry in ttys file ?
Best Regars.. 


---
Omer Faruk Sen
http://www.EnderUNIX.ORG
Software Development Team @ Turkey
http://www.Faruk.NET
For Public key: http://www.enderunix.org/ofsen/ofsen.asc
 

First Turkish FreeBSD book is out! Go check it.
Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
http://www.acikkod.com/freebsd.php 

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


Why doesn't cp /dev/audio foo.raw; cp foo.raw /dev/audio work?

2005-03-14 Thread Peter Haight

I've had no problems with my soundcard working with any apps, but a friend of
mine who is used to Linux was setting up a FreeBSD box, and he asked my why
the following doesn't work on FreeBSD. Apparently it works ok on Linux.

cp /dev/audio0.0 foo.raw
cp foo.raw /dev/audio0.0

When he did it, he said he could make out part of the recording, but it was
very noisy. When I tried it on my machine, I couldn't make out any of the
recording it just sounded like static. 

Should it work? Why doesn't it? I don't have any problems with any software
that uses the sound card.

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


Re: Howto monitor system security

2005-03-14 Thread h p
[...]
  FreeBSD security email is rather anoying, because it keeps sending
  messages even if nothing has changed.  I need an email sent to me only
  if there is something abnormal.

 What happens when someone breaks in and disables it from sending email?

 Think of it as a kind of heartbeat.

Well, different minds work differently, but for me it adds vastly to
the noise level.
If everything is normal, I get a mail. If there is something wrong, I
get a mail. A different one, for sure, but I have to actually read it
to know.
If I only get a mail in a special case, I am much more inclined to
read it than if I get a mail every day for 300 days and on the 301st
there is a mail with a warning. I've stopped paying attention long
before that.

Just my thoughts

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


Re: Page-up in tcsh?

2005-03-14 Thread Bnonn
Just goes to show why you should have a decent understanding of the
difference between an interpreter and an emulator. Having not grown up
on such things, I basically never even realized there was a distinction.
Also didn't realize why there was a scroll lock key until now. Thanks :)

On Sun, 2005-03-13 at 23:21 -0800, Michael C. Shultz wrote:

 On Sunday 13 March 2005 11:04 pm, Bnonn wrote:
  This is probably a really stupid question, but I can't find anything
  in the manpages. Surely there's a way to page-up in tcsh? The Page Up
  and Page Down keys do nthing.
 
 tcsh is a command line interpreter, ie it only does one line at a time. 
 Just what are you trying to page up into?  Maybe all you need to do is 
 press the scroll lock key?
 
 -Mike
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Backup on DDS-4 tapes

2005-03-14 Thread Ludo Koren

Hi,

I am using 5.2.1-RELEASE-p3 for backup on DDS-4 tapes 40GB in size.

# df -k
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/vinum/root   1016162   157405   77746517%/
devfs   110   100%/dev
/dev/vinum/usr   84746248 54467390 2349916070%/usr
procfs  440   100%/proc
# camcontrol devlist -v
scbus0 on ahd0 bus 0:
IBM IC35L018UWD210-0 S5BSat scbus0 target 3 lun 0 (pass0,da0)
IBM IC35L073UWDY10-0 S25Fat scbus0 target 9 lun 0 (pass1,da1)
HP C5683A C005   at scbus0 target 10 lun 0 (sa0,pass2)
 at scbus0 target -1 lun -1 ()
scbus1 on ahd1 bus 0:
IBM IC35L018UWD210-0 S5BSat scbus1 target 1 lun 0 (pass3,da2)
IBM IC35L073UWDY10-0 S23Cat scbus1 target 8 lun 0 (pass4,da3)
 at scbus1 target -1 lun -1 ()
scbus-1 on xpt0 bus 0:
 at scbus-1 target -1 lun -1 (xpt0)
# /sbin/dump -SLu0 -B 41943040 -C 32 -f /dev/sa0 /usr
  DUMP: Date of this level 0 dump: Mon Mar 14 10:29:51 2005
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping snapshot of /dev/vinum/usr (/usr) to /dev/sa0
  DUMP: mapping (Pass I) [regular files]
  DUMP: Cache 32 MB, blocksize = 65536
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 54189311 tape blocks on 1.29 tape(s).
# 
# mt -f /dev/sa0 status
Mode  Density  Blocksize  bpi  Compression
Current:  0x26:DDS-4   variable   97000DCLZ
-available modes-
0:0x26:DDS-4   variable   97000DCLZ
1:0x26:DDS-4   variable   97000DCLZ
2:0x26:DDS-4   variable   97000DCLZ
3:0x26:DDS-4   variable   97000DCLZ
-
Current Driver State: at rest.
-
File Number: 0  Record Number: 0 Residual Count 0

I am using the following command:

# /sbin/dump -Lu0 -B 41943040 -C 32 -f /dev/sa0 /usr

or 

# /sbin/dump -aLu0  -C 32 -f /dev/sa0 /usr

Why I cannot dump the filesystem on 2 tapes (it takes 3, it seems it
works without compression) no matter if I use dump or cpio? What I am
doing wrong?

Any hints appreciated. Thank you very much in advance.

Regards,

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


IP address management tool

2005-03-14 Thread Gunnar Flygt
Is there anyone out there, knowing of a good tool for managing IP
addresses? I want a tool where it is easy to get a picture of how a
class B network is divided in to subnets of different sizes, where the
dhcp ranges are and what statically addresses there are. 

Has anyone produced such a tool? database - php -web server based.

-- 
Gunnar Flygt
SR Datadrift
Sveriges Radio

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


RE: IP address management tool

2005-03-14 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:
 Is there anyone out there, knowing of a good tool for managing IP
 addresses? I want a tool where it is easy to get a picture of how a
 class B network is divided in to subnets of different sizes, where the
 dhcp ranges are and what statically addresses there are.
 
 Has anyone produced such a tool? database - php -web server based.

There is a tool http://www.freeipdb.org/

It is designed mainly for ISP's who are allocating a lot of subnets.

I've set it up and it works as advertised - however the setup is
fairly complex.  Also, I set it up under Solaris so there may be some
FreeBSD differences.  I would strongly advise using FreeBSD 4.11 and
the included Perl 5.0 rather than a newer version of Perl.

The downside is that the developer seems to have lost interest in the
project as there's been little new development on it, and the number of
people who use it is not a lot.

Also, you really should be pretty familiar with subnet mathematics 
because this isn't a teaching tool by any means.  If that is what you
are looking for let me know as I can refer you to some of that.

Ted


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


Re: IP address management tool

2005-03-14 Thread abu khaled
On Mon, 14 Mar 2005 10:39:36 +0100, Gunnar Flygt [EMAIL PROTECTED] wrote:
 Is there anyone out there, knowing of a good tool for managing IP
 addresses? I want a tool where it is easy to get a picture of how a
 class B network is divided in to subnets of different sizes, where the
 dhcp ranges are and what statically addresses there are.
 
 Has anyone produced such a tool? database - php -web server based.
 
 --
 Gunnar Flygt
 SR Datadrift
 Sveriges Radio
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

ipplan-4.0.4 in the ports...AFAIK It is for FreeBSD 5 STABLE

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


kernel message = ?

2005-03-14 Thread Christian Tischler
hi,
on my freebsd 4.x box I get no matching session as an kernel log. I 
was wondering what this could mean.

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


Re: If I have portmanager, do I need portupgrade?

2005-03-14 Thread Alistair Sutton
On Sun, 13 Mar 2005 17:02:59 -0800, Michael C. Shultz
[EMAIL PROTECTED] wrote:
 Thanks All, its running OK on my system but there are 55 more ports
 still to upgrade!  I hope yours is a little faster.

I've got a P4m 2.2GHz so it isn't that slow. My problem is that I have
too much stuff on my drive and so performance suffers cause I'm nearly
always 99% full :-D

I may get chance to have it finished tonight (or at least get enough
of the core stuff done that I can start using the desktop again).

Al
-- 
LJ: http://www.livejournal.com/users/everlone
GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd 4.x remote server instable...

2005-03-14 Thread Christian Tischler
Hi,
I take care of an remote 4.x server and everything worked fine for over 
an year, but now the box gets unreachable every now and then, but I have 
no clue why this could be.
My question is what kind of logging facility I could run, I addition to 
the standart out of the box ones, that could tell me what leads to these 
crashes?
Sorry for the poor description, but that is all I know, too.

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


Re: beastie.4th language ?

2005-03-14 Thread Luyt
On Tuesday 08 March 2005 16:00, [EMAIL PROTECTED] wrote:

 What is this language ?

It is FICL, an embeddable Forth interpreter.

http://ficl.sourceforge.net/

-- 

The ability of the OSS process to collect and harness 
the collective IQ of thousands of individuals across 
the Internet is simply amazing. - Vinod Vallopillil
http://www.opensource.org/halloween/halloween4.php
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Port options and portmanager

2005-03-14 Thread Chris Hodgins
Hi,
If I want to retain a port option (that perhaps I passed at the command 
line using -D) between uprades of a port, will portmanager handle this 
automatically or do the options need to be placed in make.conf?

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


Re: Port options and portmanager

2005-03-14 Thread Chris Hodgins
Chris Hodgins wrote:
Hi,
If I want to retain a port option (that perhaps I passed at the command 
line using -D) between uprades of a port, will portmanager handle this 
automatically or do the options need to be placed in make.conf?

Thanks
Chris
Ah don't worry I have my answer.  I need to use make.conf.  Found it at 
the bottom of the portmanager man page.  Great detail in the man page 
Mike. :)

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


ndis0 error, but it workd

2005-03-14 Thread Pietro Cerutti
Hi folks, 
I have a HP compaq nx7000 notebook with 5.4-PRERELEASE (but the
problem was there in 5.2.1-RELEASE and 5.3-RELEASE too).

I have a small shell script to bring up my wlan with driver ndis:

 cat wlanup
#!/bin/sh
kldload ndis
kldload if_ndis
ifconfig ndis0 up
ifconfig ndis0 ssid 'my_ssid' nwkey 0xMy_Ex_Key_Here wepmode on


when I call wlanup as root, I get the following:

ndis0: Intel (R) PRO/Wireless LAN 2100 3B Mini PCI Adapter mem
0x9000-0x9fff irq 5 at device 2.0 on pci2
ndis0: NDIS API version: 5.1
ndis0: Ethernet address: my_Ex_MAC_Address_here
ndis0: 11b rates: 11Mbps 2MBps 1MBps 5.5Mbps

which sounds good. Then I get:

ndis0: enable WEP failed: 19
ndis0: enable WEP failed: 19
ndis0: enable WEP failed: 19
ndis0: enable WEP failed: 19

which doesn't sound good. Finally it says:

ndis0: link up

Then the wireless LAN works well, most of the times. Some times I get
a network is down message, so I have to reboot, and most of the
times it then works.

The problem is with the WEP key, as fas as I can understand the message.
I can assure you that the WEP key is the right one, I double checked
with the original one, however I have the prove, because the wlan
works.

What could lead to the enable WEP failed: 19 error?

Thank you!

-- 
Pietro Piter Cerutti
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd 4.x remote server instable...

2005-03-14 Thread Stevan Tiefert
Hello Christian,

maybe your network-card has a loose contact? You have first to control
your hardware!

With regards
Stevan

On Mon, 14 Mar 2005, Christian Tischler wrote:

 Hi,
 I take care of an remote 4.x server and everything worked fine for over
 an year, but now the box gets unreachable every now and then, but I have
 no clue why this could be.
 My question is what kind of logging facility I could run, I addition to
 the standart out of the box ones, that could tell me what leads to these
 crashes?
 Sorry for the poor description, but that is all I know, too.

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

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


Re: Stupid ASCII loader prompt

2005-03-14 Thread David Landgren
Svein Halvor Halvorsen wrote:
[...]
It's all about what connotation you put on the word.
E.g. to make a file world read-writable you would type chmod 666 file. 
Ah, but you are talking in octal!
% perl -le 'print oct 666'
438
No evil here :)
Even though the number 666 is the number of the devil, the number itself 
is not evil. Just as little as the command is evil, or someone who types 
 it. It's just a number. Put whatever meaning into it you like!
Q.E.D. (my apologies for keeping such a silly thread alive)
ObTopic: I think the OP was quite within his/her rights about wanting to 
disable the ASCII-art da?emon, yet wishing to continue to use FreeBSD. I 
find it pretty silly myself.

I also note that FreeBSD understands 'tail -100 -F' and Linux (gnu 
fileutils?) doesn't. The devil is in the details, as it were.

A chorus of reformat your disk and use something else you lowlife moron 
without a sense of humour does little to advance the cause.

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


Re: FreeBSD 4.4

2005-03-14 Thread Yance Kowara

ftp://ftp6.tw.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/4.4/

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd 4.x remote server instable...

2005-03-14 Thread Stevan Tiefert
Hello Christian,

that is senseless, if the network-card is working sometimes and sometimes
not, what do you want to diagnoze via software? Only that you have
sometimes access and sometimes not. The only thing what you can do to
diagnoze via software is, if erverything is working, but in your case
something isn't working!
And now you have to look at your network-card...

With regards
Stevan

On Mon, 14 Mar 2005, Christian Tischler wrote:

 I considered that already, but as the server is quite some distance away
 I would first try to do something via software.

 I forgot: when the server is rebootet everything works fine for some time.

 Christian

 Stevan Tiefert wrote:

 Hello Christian,
 
 maybe your network-card has a loose contact? You have first to control
 your hardware!
 
 With regards
 Stevan
 
 On Mon, 14 Mar 2005, Christian Tischler wrote:
 
 
 
 Hi,
 I take care of an remote 4.x server and everything worked fine for over
 an year, but now the box gets unreachable every now and then, but I have
 no clue why this could be.
 My question is what kind of logging facility I could run, I addition to
 the standart out of the box ones, that could tell me what leads to these
 crashes?
 Sorry for the poor description, but that is all I know, too.
 
 Christian
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 


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


Re: Why not?

2005-03-14 Thread Giorgos Keramidas
On 2005-03-13 16:53, Bart Silverstrim [EMAIL PROTECTED] wrote:
 While each distros kernel is probably less different than a NetBSD
 vs.  FreeBSD kernel, there still each different and a lot more of
 them.  I had to download and install a very specific kernel from
 redhat to use on my debian system so I could use my wireless card.

 Also, some features can very wildly like IPSEC, some distros patch in
 FreeSWAN's stack, others the KAME stack.

 Some vendors may be directly patching certain features, for the most
 part you shouldn't have to download a specific kernel for a feature to
 work in Linux unless you wanted it pre-packaged.  You should be able
 to update it by downloading the latest features, running the config to
 enable/disable what features you want compiled into the kernel (or as
 modules), then compile it.

On the contrary, there are numerous cases when local patches, specific
to the distribution of Linux that is used, are used:

https://www.redhat.com/archives/linux-lvm/2002-November/msg00050.html
http://www.redhat.com/archives/fedora-announce-list/2004-February/msg00018.html

Backported fixes are not evil, but they are bad when they are available
only if you are running FooLinux version X.

 But still, there is one source kernel, and unless the vendors did
 something proprietary (which I don't believe they're supposed to be
 allowed to do), you can compile your own kernel with your own set of
 enabled and disabled features from the Linux kernel source tree
 whether you're running Red Hat or Debian; it may break if that
 particular distro is depending on certain features as you have it
 configured and you fubar the new kernel's config, but it is still a
 matter of tweaking that configuration to get it working again.

Hardly.  Configuration changes will never fix a driver that is only
available as a patch to the kernel source tree, when the patch fails
to apply, build or install correctly -- a common case with some drivers
(i.e. Cisco VPN or SysKonnect).

It's a bit surprising that Linus dismisses the BSD kernel teams as
fragmented, when one considers the multitude of sites and the dozens of
local hacks, patches and other interesting stuff one has to do in
order to customize the kernel installation of a Linux kernel.

Let us put aside for a while the blatant error of considering three
distinct systems as one, when they are just that: three distinct systems
that just happen to share a lot of code and like cooperating on work
that is a benefit for all three.

There *is* one place where I can go to download my FreeBSD stuff.  There
is one web page, and not a zillion different sites that I have to search
through for hours.  There is a single CVSup mirror that I can use both
at work and at home.  But that's because I'm using _one_ of the BSD
systems.  People who use some other BSD-derived system go to their own
sets of sites, mirrors, etc.

 I can't download the sources for NetBSD's kernel, compile it on my
 FreeBSD box, and have it work no matter how much tweaking I do to the
 configuration...if I'm wrong, please someone correct me.

Actually, you can.  The NetBSD folks state that only a system relatively
compliant with POSIX is required for cross-building NetBSD on a local,
non-NetBSD system:

http://cvsweb.netbsd.org/bsdweb.cgi/src/BUILDING?rev=1.53content-type=text/x-cvsweb-markup
(See the REQUIREMENTS section.)

 I *think* (and I'm not following the story closely) what Linus was
 saying is that it's stupid to have so many people working in parallel
 on such similar cousins...NetBSD, OpenBSD, and FreeBSD.  They share
 code, they share info, but optimize for certain goals and have a lot
 of redundancy.

Redundancy is good from a survival perspective.  Diversity is also good,
from an evolutionary perspective.  For every bad thing Linus can say
about having separate teams working on the systems they enjoy working
with, we can probably come up with htwo reasons why this is good.

 Linux's kernel is Linux's kernel, modified by individuals but still
 one big bulky source tree to work from.

Hardly.  Otherwise, it would be easy to point a browser to a single,
central place and browse the history of the Linux kernel from 0.9.x to
1.x and then to 2.x.  The fact that some bits are available in a
proprietary repository somewhere is not good enough.

In general, it's a nice interview of Linus and very enjoyable to read,
but I'm afraid he is not right about everything when he talks about the
BSDs; which is not very surprising, I guess.

- Giorgos

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


Re: How to remote contact x server

2005-03-14 Thread Peter Ulrich Kruppa
On Mon, 14 Mar 2005, Martin Schweizer wrote:
Hello Bart
Am Sun, Mar 13, 2005 at 01:20:14PM -0500 Bart Silverstrim schrieb:
On Mar 13, 2005, at 1:10 PM, Martin Schweizer wrote:
Hello
I've two X server: a client and a server. How I can contact from the
client
the server (I read some articles but did not find a solution)? I can
successfully start X applications over SSH but I can't contact the
xdm. What
do I wrong?
What do you mean?  If you're starting the X app on the remote system
using X-forwarding with ssh, you're running a remote application using
the remote system's CPU and memory.  If you're trying to do something
like open a whole X session on the remote system like a remote
terminal, something like a remote desktop, you'd probably need to
look into using something like VNC over SSH or something using XNest
may work.
Now I can start remote applications (like OpenOffice) remote without 
problems.
My goals are to use a remote desktop (like you describe). Is there a VNC
server for X?
There are several for different puposes and tastes. You will find 
them by
	# cd /usr/ports/
	# make search key=vnc

Good Luck,
Uli.
--
Regards
Martin Schweizer
[EMAIL PROTECTED]
PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc;
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;


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


Re: Getting rid of message: unknown: PNP0700 can't assign resources (port)

2005-03-14 Thread Xian
On Saturday 12 March 2005 10:25, abu khaled wrote:
 On Sat, 12 Mar 2005 04:55:32 -0500, Fafa Diliha Romanova

 [EMAIL PROTECTED] wrote:
  haye!
 
  i'm just kinda tired of seeing this in my dmesg.
  can i make my kernel ignore it?
 
  thanks!
 
  -- fafa
  --
  ___
  Sign-up for Ads Free at Mail.com
  http://promo.mail.com/adsfreejump.htm
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 The following is an excerpt from a post to the freebsd-current mailing
 list.

   The ``can't assign resources'' messages indicate that the devices
 are legacy ISA devices for which a non-PnP-aware driver is compiled
 into the kernel. These include devices such as keyboard controllers,
 the programmable interrupt controller chip, and several other bits of
 standard infrastructure. The resources cannot be assigned because
 there is already a driver using those addresses.

 --Garrett Wollman [EMAIL PROTECTED], 24 April 2001

 PNP0700 is the Standard floppy disk controller
 AFAIK if the Floppy Disk is working then these messages do not mean
 that there is a problem.

 * I do not know how to disable the message. I have them to.

 unknown: PNP0303 can't assign resources (port)
*Standard 101/102-Key or Microsoft Natural PS/2 Keyboard*

 unknown: PNP0c02 can't assign resources (memory)
*Motherboard resources*

 unknown: PNP0c02 can't assign resources (port)
*Motherboard resources*

 unknown: PNP0700 can't assign resources (port)
*Standard floppy disk controller*

 Everyhing is working just fine!!!

 --
 Kind regards
 Abu Khaled

I have a few of them too. How do i find out what they refer too? Also my 
floppy disk doesn't work but that's not really a problem for me.

unknown: PNP0303 can't assign resources (port)
unknown: PNP0c02 can't assign resources (memory)
unknown: CRX0001 can't assign resources (memory)
unknown: PNP0600 can't assign resources (port)
unknown: PNP0600 can't assign resources (port)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0700 can't assign resources (port)
unknown: PNP0401 can't assign resources (port)
unknown: PNP0501 can't assign resources (port)
unknown: CRX0002 can't assign resources (port)

-- 
/Xian

The only real valuable thing is intuition.
Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


linux_base compatibility issue? Counter-Strike

2005-03-14 Thread roma
Hi,

At me the same problem as at you, whether was possible to you to solve it?

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


New I/O mobo

2005-03-14 Thread Ben
Dear members,

I'll bash in right away.

Here is what happend:
1) I replaced my old motherboard with a new one, and reconnected all 
components, that where on the old board, to the new one.
2) Booting did go well, till the message: Root mount failed.
3) I redifined the mount points of / /tmp /var /usr via Indexlabel and toggled 
N to Y (Boot-cd), just like it was on installation.
4) Booting didn't go well, so I let the boot-cd create a new MBR.
5) System started up fine, but all users are gone, no root-password needs to be 
given when loggin in, mount directories of previous harddisks are gone. Bottom 
line, I don't recognize my old system's directory structure, it's like a new 
system. (No, I din't format, re-sliced, etc).

Questions:
a) What to do to get a system up and running after putting a harddisk on 
another (S)ATA channel on the motherboard? (So, I don't screw up next time).
b) How could I get my old system back, or this not possible because I screwed 
up?

My system:
Old board ABIT BX-133, new Abit VA6
FreeBSD 5.3 RC1.
Already installed, so no new installation.
Disk with OS: MAXTOR 40GB.

I searched freebsd.org, google.com and several forums. No relevant information 
could be retrieved by me.

Thank you very much for your time.

Kind regards,
Ben

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


dd on samba

2005-03-14 Thread Pietro Cerutti
Hi folks,
I need to backup my whole disk, re organize my partitions, and then
restore the whole thing.

The problem is that the only place where I can put the backup is a samba mount.

dd and dump won't work (they won't put the data on a directory).

What else could I do?

Don't forget that I also need to backup the whole / and /var (which
gives sometimes problems with some unreadable files)

Thank you!

-- 
Pietro Piter Cerutti
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dd on samba

2005-03-14 Thread Peter Ulrich Kruppa
On Mon, 14 Mar 2005, Pietro Cerutti wrote:
Hi folks,
I need to backup my whole disk, re organize my partitions, and then
restore the whole thing.
The problem is that the only place where I can put the backup 
is a samba mount.

dd and dump won't work (they won't put the data on a directory).
What else could I do?
There probably are some dozen possibilities, but you could try
/usr/ports/net/rsync
Regards,
Uli.
Don't forget that I also need to backup the whole / and /var (which
gives sometimes problems with some unreadable files)
Thank you!
--
Pietro Piter Cerutti
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch
Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Why not?

2005-03-14 Thread Josh Ockert
http://www.linux-mag.com/content/view/60/112/ is the interview, btw


On Mon, 14 Mar 2005 14:39:53 +0200, Giorgos Keramidas
[EMAIL PROTECTED] wrote:
 On 2005-03-13 16:53, Bart Silverstrim [EMAIL PROTECTED] wrote:
  While each distros kernel is probably less different than a NetBSD
  vs.  FreeBSD kernel, there still each different and a lot more of
  them.  I had to download and install a very specific kernel from
  redhat to use on my debian system so I could use my wireless card.
 
  Also, some features can very wildly like IPSEC, some distros patch in
  FreeSWAN's stack, others the KAME stack.
 
  Some vendors may be directly patching certain features, for the most
  part you shouldn't have to download a specific kernel for a feature to
  work in Linux unless you wanted it pre-packaged.  You should be able
  to update it by downloading the latest features, running the config to
  enable/disable what features you want compiled into the kernel (or as
  modules), then compile it.
 
 On the contrary, there are numerous cases when local patches, specific
 to the distribution of Linux that is used, are used:
 
 https://www.redhat.com/archives/linux-lvm/2002-November/msg00050.html
 http://www.redhat.com/archives/fedora-announce-list/2004-February/msg00018.html
 
 Backported fixes are not evil, but they are bad when they are available
 only if you are running FooLinux version X.
 
  But still, there is one source kernel, and unless the vendors did
  something proprietary (which I don't believe they're supposed to be
  allowed to do), you can compile your own kernel with your own set of
  enabled and disabled features from the Linux kernel source tree
  whether you're running Red Hat or Debian; it may break if that
  particular distro is depending on certain features as you have it
  configured and you fubar the new kernel's config, but it is still a
  matter of tweaking that configuration to get it working again.
 
 Hardly.  Configuration changes will never fix a driver that is only
 available as a patch to the kernel source tree, when the patch fails
 to apply, build or install correctly -- a common case with some drivers
 (i.e. Cisco VPN or SysKonnect).
 
 It's a bit surprising that Linus dismisses the BSD kernel teams as
 fragmented, when one considers the multitude of sites and the dozens of
 local hacks, patches and other interesting stuff one has to do in
 order to customize the kernel installation of a Linux kernel.
 
 Let us put aside for a while the blatant error of considering three
 distinct systems as one, when they are just that: three distinct systems
 that just happen to share a lot of code and like cooperating on work
 that is a benefit for all three.
 
 There *is* one place where I can go to download my FreeBSD stuff.  There
 is one web page, and not a zillion different sites that I have to search
 through for hours.  There is a single CVSup mirror that I can use both
 at work and at home.  But that's because I'm using _one_ of the BSD
 systems.  People who use some other BSD-derived system go to their own
 sets of sites, mirrors, etc.
 
  I can't download the sources for NetBSD's kernel, compile it on my
  FreeBSD box, and have it work no matter how much tweaking I do to the
  configuration...if I'm wrong, please someone correct me.
 
 Actually, you can.  The NetBSD folks state that only a system relatively
 compliant with POSIX is required for cross-building NetBSD on a local,
 non-NetBSD system:
 
 http://cvsweb.netbsd.org/bsdweb.cgi/src/BUILDING?rev=1.53content-type=text/x-cvsweb-markup
 (See the REQUIREMENTS section.)
 
  I *think* (and I'm not following the story closely) what Linus was
  saying is that it's stupid to have so many people working in parallel
  on such similar cousins...NetBSD, OpenBSD, and FreeBSD.  They share
  code, they share info, but optimize for certain goals and have a lot
  of redundancy.
 
 Redundancy is good from a survival perspective.  Diversity is also good,
 from an evolutionary perspective.  For every bad thing Linus can say
 about having separate teams working on the systems they enjoy working
 with, we can probably come up with htwo reasons why this is good.
 
  Linux's kernel is Linux's kernel, modified by individuals but still
  one big bulky source tree to work from.
 
 Hardly.  Otherwise, it would be easy to point a browser to a single,
 central place and browse the history of the Linux kernel from 0.9.x to
 1.x and then to 2.x.  The fact that some bits are available in a
 proprietary repository somewhere is not good enough.
 
 In general, it's a nice interview of Linus and very enjoyable to read,
 but I'm afraid he is not right about everything when he talks about the
 BSDs; which is not very surprising, I guess.
 
 - Giorgos
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to remote contact x server

2005-03-14 Thread Bart Silverstrim
On Mar 14, 2005, at 12:38 AM, Martin Schweizer wrote:
Hello Bart
Am Sun, Mar 13, 2005 at 01:20:14PM -0500 Bart Silverstrim schrieb:
On Mar 13, 2005, at 1:10 PM, Martin Schweizer wrote:
Hello
I've two X server: a client and a server. How I can contact from the
client
the server (I read some articles but did not find a solution)? I can
successfully start X applications over SSH but I can't contact the
xdm. What
do I wrong?
What do you mean?  If you're starting the X app on the remote system
using X-forwarding with ssh, you're running a remote application using
the remote system's CPU and memory.  If you're trying to do something
like open a whole X session on the remote system like a remote
terminal, something like a remote desktop, you'd probably need to
look into using something like VNC over SSH or something using XNest
may work.
Now I can start remote applications (like OpenOffice) remote without 
problems.
My goals are to use a remote desktop (like you describe). Is there a 
VNC
server for X?
There is; there should be some documentation for it if you google for 
VNC x terminal.  Someone else may have more specific search terms, but 
I remember experimenting with this a few months ago.

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


Re: HP LJ 1100 setup

2005-03-14 Thread Leonard Zettel
On Sunday 13 March 2005 10:03 pm, Chris wrote:
 Any ideas on how to setup an HPLJ 1100 using either cups or lpd?

My Laserjet 1100 works quite nicely after I followed the
instructions in the handbook chapter on printing
and then installed ghostscript.
Also needed the tip published here recently on dealing
with interrupt storms.
   -LenZ-

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


Re: Port options and portmanager

2005-03-14 Thread Michael C. Shultz
On Monday 14 March 2005 03:38 am, Chris Hodgins wrote:
 Chris Hodgins wrote:
  Hi,
 
  If I want to retain a port option (that perhaps I passed at the
  command line using -D) between uprades of a port, will portmanager
  handle this automatically or do the options need to be placed in
  make.conf?
 
  Thanks
  Chris

 Ah don't worry I have my answer.  I need to use make.conf.  Found it
 at the bottom of the portmanager man page.  Great detail in the man
 page Mike. :)

 Chris

welcome :)

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


Re: Page-up in tcsh?

2005-03-14 Thread Michael C. Shultz

 On Sun, 2005-03-13 at 23:21 -0800, Michael C. Shultz wrote:
  On Sunday 13 March 2005 11:04 pm, Bnonn wrote:
   This is probably a really stupid question, but I can't find
   anything in the manpages. Surely there's a way to page-up in
   tcsh? The Page Up and Page Down keys do nthing.
 
  tcsh is a command line interpreter, ie it only does one line at a
  time. Just what are you trying to page up into?  Maybe all you need
  to do is press the scroll lock key?
 
  -Mike

On Monday 14 March 2005 01:30 am, Bnonn wrote:
 Just goes to show why you should have a decent understanding of the
 difference between an interpreter and an emulator. Having not grown
 up on such things, I basically never even realized there was a
 distinction. Also didn't realize why there was a scroll lock key
 until now. Thanks :)

Welcome :)

-Mike

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


Re: important excel document

2005-03-14 Thread Auto-reply from [EMAIL PROTECTED]

This account has been closed. New address unknown. / Denne mailboks er lukket. 
Ny adresse ukendt.

Yours faithfully / Venlig hilsen
TDC

---

Please note, you can not reply to this automatically generated message. / 
Bemærk, at denne meddelelse er automatisk genereret og ikke kan besvares.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mysql troubles

2005-03-14 Thread Dennis Olvany
just installed it and having trouble getting it going
fresh mysql4.1 install on fbsd5.3


bsd# mysqladmin flush-privileges
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' 
(2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
bsd# mysql_install_db --user=mysql
Installing all prepared tables
Fill help tables
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_category.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_category.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_keyword.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_keyword.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_relation.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_relation.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_category.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_category.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_category.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_category.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:34 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:35 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:35 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:35 [ERROR] /usr/local/libexec/mysqld: Can't find file: 
'./mysql/help_topic.frm' (errno: 13)
ERROR: 1017  Can't find file: './mysql/help_topic.frm' (errno: 13)
050314  7:15:35 [ERROR] /usr/local/libexec/mysqld: 

Re: logitech cordless mouse w/ freebsd 5.3 stable

2005-03-14 Thread Eric
I removed above this  to save some bandwidth, as bandwidth is not free 
every where in the world :)

Chuck Robey wrote:
I then edit the pointer section of  /etc/X11/xorg.conf to:
   Identifier  Mouse1
   Driver  mouse
   Option ProtocolAuto
   Option Device  /dev/bpsm0
   

I am running FreeBSD-6.0-current, but I bet it works for you like it works
(just fine) for me.  Try it, what have you got to lose?  However, if it
works, you owe us a usage report, Sirrah!
Anyhow, FreeBSD is not terribly willing to share the mouse.  When it
boots, the stupid thing will start 'moused' processes on both mouses.
Check this with:
ps -ax | grep mouse
if it's like I think it is, one of the lines that come back will report a
device filename of ums0.  You need this process dead, dead, dead.  You
*could*, I suppose, edit /etc/usbd.conf ...
After you do that, the stuff you have above for Xorg isn't enough either,
cause you left out the wheel.  take those lines out and replace them with
Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   Option  Protocol auto
   Option  Device /dev/ums0
   Option Buttons 5
   Option ZAxisMapping 4 5
EndSection
Don't forget, at the top:
Section ServerLayout
   Identifier X.org Configured
   Screen  0  Screen0 0 0
   InputDeviceMouse0 CorePointer
   InputDeviceKeyboard0 CoreKeyboard
EndSection
Try this, tell me how it works.
 

Chuck,
 Setting my mouse driver to ums0, will make X crash before loading.  
My box never reported the ums0 device/the usb mouse. The usbd is 
running. There is no moused processes running on this box, as it is 
disabled in /etc/rc.conf. I get the scroll wheel to work as a middle 
button, but you are right, the scroll feature does not work.

   Option Buttons 5
   Option ZAxisMapping 4 5
Setting those two options does not enable the scroll wheel. I think that 
is due to the generic PS/2 driver reported in dmesg. Having a working 
scroll  wheel was never  a issue for  me :) Also note, I never tried 
FreeBSD 6.x .

I am not sure if the following info matters or not:
This is included as it may give you some hints for fixing the wheel 
feature. This mouse config was a combination of some google hints that 
led me to look at, 'man psm', 'man device.hints', and my experience 
with  Freebsd 4.x. FreeBSD 4.x taught me  that  using  /dev/bpsm0 in 
the  X config would work, with this mouse and this kvm. I  didn't try 
setting up the moused in /etc/rc.conf with FreeBSD 5.x.  In FreeBSD 4.x 
adding the bpsm0 config to /etc/rc.conf just lead to error messages 
getting reported to my shells every so often.

Here is some additional info:
%ls /dev
acd0ata fidopsm0ttyv3
acpiatkbd0  geom.ctlptyp0   ttyv4
ad0 audio0.0io  ptyp1   ttyv5
ad0s1   audio0.1kbd0ptyp2   ttyv6
ad0s10  bpf0klogptyp3   ttyv7
ad0s1a  bpsm0   kmemrandom  ttyv8
ad0s1b  console log sndstat ttyv9
ad0s1c  consolectl  lpt0stderr  ttyva
ad0s1d  cttylpt0.ctlstdin   ttyvb
ad0s1e  cuaa0   mdctl   stdout  ttyvc
ad0s1f  cuaia0  mem sysmousettyvd
ad0s2   cuala0  mixer0  ttyd0   ttyve
ad0s3   devctl  net ttyid0  ttyvf
ad0s4   devstat net1ttyld0  urandom
ad0s5   dsp0.0  net2ttyp0   usb
ad0s6   dsp0.1  net3ttyp1   usb0
ad0s7   dspW0.0 network ttyp2   usb1
ad0s8   dspW0.1 nfs4ttyp3   usb2
ad0s9   dspr0.1 nullttyv0   xpt0
agpgart fd  pci ttyv1   zero
apm fd0 ppi0ttyv2
%cat /etc/rc.conf
# -- sysinstall generated deltas -- # Mon Jan  3 05:51:08 2005
# Created: Mon Jan  3 05:51:08 2005
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname=demon-spawn.bsdunix.us
ifconfig_rl0=DHCP
linux_enable=YES
usbd_enable=YES
moused_port=/dev/psm0
moused_type=auto
moused_enable=NO
%
%ps auxw | grep usbd
root362  0.0  0.2  1240  780  ??  Ss5:51AM   0:00.01 /usr/sbin/usbd
eric871  0.0  0.1   348  232  p3  R+7:38AM   0:00.00 grep usbd
%ps auxw | grep mouse
eric   1240  0.0  0.5  2276 1760  p1  RV9:18AM   0:00.00 grep mouse 
(csh)

this seems like a waste of bandwidth but...
%dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 

Re: What's the easiest way to do a backup and verify?

2005-03-14 Thread Jerry McAllister
 
   Is there an easy way to combine a backup and verify when doing backups
   with dump?
  =20
   I've never had a problem with backup (I backup to DAT tape), but I'd
   feel better if every backup was followed by a verify to make sure the
   tape is readable.
 =20
  to the ones on disk.  Any changes mean an error, even if it was a
  real change in the file between the time it was written and the
  time it was read back.
 =20
  The only real thing you can do is to read back the tape and look
  for a couple of files with fairly high inode numbers for each file
  system dumped.If you can read them, you can assume the tape
  is readable.
 
 I'm not very familiar with tapes, but I think that the dump is written
 straight out to something like /dev/st0 right?  So then wouldn't a
 second dump of the same snapshot diffed to the tape device be a good for
 a verify?
 
 Position tape at beginning of dump
 dump / | diff - /dev/st0
 

No, because the condition of the files that you are dumping the second
time is different from the first time.   That is the same problem as
using the verify option with dump.   The only way to do it would be
to do your dumps on a completely quiescent system - single user mode maybe.
Most places cannot afford to make file systems completely unavailable
for periods of time long enough (several hours, up to a couple of days)
to allow dump to be run twice without any changes being made to the
file system.

jerry

 Though I don't have much experience with either dump or tapes to verify.
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Incorrect geometry

2005-03-14 Thread Alex de Kruijff
On Sun, Mar 13, 2005 at 03:20:25AM -0800, Loren M. Lang wrote:
 On Fri, Mar 11, 2005 at 10:32:19PM -0600, Mike Loiterman wrote:
  Kevin Kinsey mailto:[EMAIL PROTECTED] wrote:
   Mike Loiterman wrote:
   When I do a new install of FreeBSD 5.3-RELEASE I get an error saying
   the drive geometry is incorrect.  In the next screen, I put in the
   correct geometry, as reported by the BIOS, but after I hit q, I get
   the same error. 
   
   The drive is a brand new 160 SATA Segate.  The geometry FreeBSD
   suggests yield 152 Gigs, slices correctly and functions perfectly.
   I'm plannning on reformating anyway as this is only a test run, but
   do I need to be conserned about the error? 
   
   Isn't the rest of the error message using a more likely geometry?
   
   IANAE, but I believe FBSD is simply stating that it doesn't find
   the BIOS's numbers to be what it wants, so it's going to use
   its own.  This would explain the effect you see in the second
   sentence above. 
   
   As yield, slice, and function seems OK, I think go for it!
   is perfectly good advice in this instance.  I've seen the error
   several times, too, and so far so good.
  
  It does say, using a more likely geometry.  The numbers are vastly
  different then what the BIOS says, but as I said, the capacity seems
  correct and it functions normally.
  
  I just don't want to have any trouble down the road...
 
 It shouldn't be a problem.  Geometries nowdays aren't as useful as they
 used to be and aren't really used much, LBA alleviates most of that.
 The geometries that FreeBSD uses aren't the same that the drive
 internally uses.  In fact, using geometries has been the cause of an old
 8 gig limit on hard drives, a newer 137 gig limit, and an old boot
 loader problem booting anything over cylinder 1023.
 
 As for the missing 8 gigs, that's probably because your hard drive
 manufacture used SI units (10^3=1000) instead of the standard units
 (2^10=1024) just to make the number look bigger.  My 250 gig drive is
 only 238 gig in reality.

Back when I installed 5.2 I to got this error. I went along with it, but
this seemed to cause the system to not be able to reboot. This is
proberbly the worst that can happen to you. Somehow I was able to
install it with the orignal setting. Afther this it would reboot.

No when running FDISK Partition Editor from /stand/sysinstall it says:
A geometry of 484521/16/63 for ad0 is incorrect.

But when running fdisk off the shell it says:
parameters extracted from in-core disklabel are:
cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DPMS not turning off LCD screen

2005-03-14 Thread Loren M. Lang
On Wed, Mar 09, 2005 at 10:25:45PM -0500, Stephen J. Roznowski wrote:
 I have a Sony SDM-HX93 LCD monitor running off an Nvidia GeForce FX
 5500.
 
 I have the DPMS option set in my xorg configuration file, but while
 the screen turns off, the monitor never enters power off mode (it
 remains 'backlit').
 
 Any suggestions where to look for the error?

What does xset say about dpms?

You may have to tell xscreensaver or kdesktop specifically to use dpms
in addition to the xorg.conf file.

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

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 


pgpypV35bDaH4.pgp
Description: PGP signature


IPFW or pf?

2005-03-14 Thread Andreas Davour
I have read the handbook about firewalls, and compiled my kernel without 
switching on any explicit support for pf.

Now, when I ran the mergemaster it suddenly found a lot of references to 
pf in my startup scripts.

Is pf some kind of mandatory part of the base system these days? I 
thought it was some kind of alternative to IPFW, but now I'm no longer 
so sure.

Can someone tell me if it's ok to just use IPFW on my STABLE system, or 
is there some other knobs in the kernelconfig I should toggle to turn 
off pf support?

/Andreas
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why not?

2005-03-14 Thread Bart Silverstrim
On Mar 14, 2005, at 7:39 AM, Giorgos Keramidas wrote:
On 2005-03-13 16:53, Bart Silverstrim [EMAIL PROTECTED]  
wrote:

On the contrary, there are numerous cases when local patches, specific
to the distribution of Linux that is used, are used:
https://www.redhat.com/archives/linux-lvm/2002-November/msg00050.html
http://www.redhat.com/archives/fedora-announce-list/2004-February/ 
msg00018.html

Backported fixes are not evil, but they are bad when they are available
only if you are running FooLinux version X.
Just for drivers? I wasn't sure what DM was...are any of these patches  
that were released available as source for other Linux kernels, or are  
these things being released without ever giving out the source to  
integrate with the primary Linux kernel tree?

But still, there is one source kernel, and unless the vendors did
something proprietary (which I don't believe they're supposed to be
allowed to do), you can compile your own kernel with your own set of
enabled and disabled features from the Linux kernel source tree
whether you're running Red Hat or Debian; it may break if that
particular distro is depending on certain features as you have it
configured and you fubar the new kernel's config, but it is still a
matter of tweaking that configuration to get it working again.
Hardly.  Configuration changes will never fix a driver that is only
available as a patch to the kernel source tree, when the patch fails
to apply, build or install correctly -- a common case with some drivers
(i.e. Cisco VPN or SysKonnect).
You're right, if you have an application that requires modification to  
the kernel then config changes won't fix it.  But that isn't the common  
case, and you should be able to take that application and apply it to  
the kernel tree source to create the working version, no?  Or are they  
distro specific?  In the few times I ran into it the melding wasn't  
distro-specific.

Let us put aside for a while the blatant error of considering three
distinct systems as one, when they are just that: three distinct  
systems
that just happen to share a lot of code and like cooperating on work
that is a benefit for all three.
Then it would best be summed up as a difference in opinion over  
operations management and organization management.

I can't download the sources for NetBSD's kernel, compile it on my
FreeBSD box, and have it work no matter how much tweaking I do to the
configuration...if I'm wrong, please someone correct me.
Actually, you can.  The NetBSD folks state that only a system  
relatively
compliant with POSIX is required for cross-building NetBSD on a local,
non-NetBSD system:

http://cvsweb.netbsd.org/bsdweb.cgi/src/BUILDING?rev=1.53content- 
type=text/x-cvsweb-markup
(See the REQUIREMENTS section.)
No, I didn't mean compile it and deploy it.  I mean replace my system's  
kernel with that kernel and have it work.  The source trees are  
different, the resulting kernel would expect to work on a NetBSD  
*system*, not a FreeBSD system with a NetBSD kernel.

Redundancy is good from a survival perspective.  Diversity is also  
good,
from an evolutionary perspective.  For every bad thing Linus can say
about having separate teams working on the systems they enjoy working
with, we can probably come up with htwo reasons why this is good.
Again, it's a difference in organization and management opinion.
Hardly.  Otherwise, it would be easy to point a browser to a single,
central place and browse the history of the Linux kernel from 0.9.x to
1.x and then to 2.x.  The fact that some bits are available in a
proprietary repository somewhere is not good enough.
I was under the impression that kernel.org was the authoritative source  
for the Linux kernel.  What people are doing on the side was their own  
project.  *shrug*  I could be wrong :-)

In general, it's a nice interview of Linus and very enjoyable to read,
but I'm afraid he is not right about everything when he talks about the
BSDs; which is not very surprising, I guess.
No, but don't discount editing of the interview as a factor too in  
accuracy.

But on the other hand, Linus doesn't really give a flip about BSD.  He  
has his own project, and he does (justifiably) have a lot to be proud  
of (at the risk of inflating his ego more).  He doesn't sound like he's  
really all that involved in distro flamewars or whatnot.  So...it's  
just another article for people to read :-)

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


CD Doesn't boot

2005-03-14 Thread Teilhard Knight
I am trying to install FreeBSD 5.3 in a laptop which I just recently bought. 
Problem is that the installation CD wouldn't boot. I have tried burning 
several brands of disks and trying them in other computers and I am now sure 
is not the media. I even disabled hyperthreading in the BIOS and nothing. 
Anyone can offer some advise about what to do?

Teilhard. 

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


Boot problems afther reinstall windows

2005-03-14 Thread Alex de Kruijff
Hi,

I've recently reinstalled windows. Windows removes the MBR as you know.
So ather I installed it I set partion 1 (FreeBSD) active and rebooted.
Then I followed the handbook and did fdisk -B -b /boot/boot0 ad0. Now I
get the orginal screen afther booting. Only it beeps when I press F2
(Windows). I can mount the second partion on FreeBSD, but cant boot. Any
ideas to what I'm missing here?

# fdisk
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 20971377 (10239 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 104/ sector 63
The data for partition 2 is:
sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
start 20980890, size 20948760 (10228 Meg), flag 80 (active)
beg: cyl 1023/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 41942880, size 446454288 (217995 Meg), flag 80 (active)
beg: cyl 1023/ head 210/ sector 1;
end: cyl 1023/ head 80/ sector 63
The data for partition 4 is:
UNUSED

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What's the easiest way to do a backup and verify?

2005-03-14 Thread Svein Halvor Halvorsen

* Jerry McAllister [2005-03-14 10:30 -0500]
   [...] So then wouldn't a second dump of the same snapshot diffed to 
   the tape device be a good for a verify?

  No, because the condition of the files that you are dumping the second
  time is different from the first time.
:
  Most places cannot afford to make file systems completely unavailable
  for periods of time long enough (several hours, up to a couple of days)
  to allow dump to be run twice without any changes being made to the
  file system.


Note the OP's use of the word snapshot. I think he is right! Or if he 
isn't; it has nothing to do with the filesystem beeing changed, but rather 
something to do with the way the backup is written to tape. However, I do 
think snapshots could be used for exactly this.

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


Re: DPMS not turning off LCD screen

2005-03-14 Thread Alejandro Pulver
On Wed, 9 Mar 2005 22:25:45 -0500 (EST)
Stephen J. Roznowski [EMAIL PROTECTED] wrote:

 I have a Sony SDM-HX93 LCD monitor running off an Nvidia GeForce FX
 5500.
 
 I have the DPMS option set in my xorg configuration file, but while
 the screen turns off, the monitor never enters power off mode (it
 remains 'backlit').
 
 Any suggestions where to look for the error?
 
 Thanks,
 -- 
 Stephen J. Roznowski([EMAIL PROTECTED])
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Hello,

The configuration file 'xorg.conf' can have the following settings (for
more information see xorg.conf(5)):

=

Section ServerFlags

[...]

OptionBlankTime3  # just blank the screen

OptionStandbyTime  5  # DPMS state stand by
OptionSuspendTime  5  # DPMS state suspend
OptionOffTime  5  # DPMS state off

EndSection

Section Monitor

[...]

Option  DPMS  # enable DPMS

EndSection

=

The first 4 option lines (in section ServerFlags) contain the name of
the option followed by the number of minutes of inactivity to wait
before activate them.

The last option (in section Monitor) *must* be enabled for DPMS to
work.

In some monitors (like mine) all the DPMS states of inactivity are the
same, that turn off the monitor. The BlankTime indicated the time to
wait before displaying a black screen, not turning off (or suspend,
etc.) the monitor, like DPMS states do.

So im my monitor, after 3 mminutes of inactivity the screen will be
blanked, then, if I do not do anything, 2 minutes after that the monitor
will turn off.

The commands to try them are:

Try one DPMS state (choose one):

xset dpms force (off|standby|suspend)

Try the screen blank (sleep is required because when you press enter it
starts, but when you release it, or it start repeating, it stops):

xset s blank
sleep 3 ; xset s activate

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


Re: CD Doesn't boot

2005-03-14 Thread Alejandro Pulver
On Mon, 14 Mar 2005 10:01:10 -0600
Teilhard Knight [EMAIL PROTECTED] wrote:

 I am trying to install FreeBSD 5.3 in a laptop which I just recently
 bought. Problem is that the installation CD wouldn't boot. I have
 tried burning several brands of disks and trying them in other
 computers and I am now sure is not the media. I even disabled
 hyperthreading in the BIOS and nothing. Anyone can offer some advise
 about what to do?
 
 Teilhard. 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Hello,

If you have set up your BIOS settings properly (to boot from a CD, and
then from the disk), and it does not boot, maybe you just burned the ISO
as a normal file in the CD.

An ISO file is an image of the entire CD (it has a TOC, the
bootable part, etc.), and to burn it there should be an option on the
burning program (something containing the word ISO, and a browser to
select a file).

Check this, if when you burn the cd and you read it you see only the ISO
file, it is not right. If you see a lot of directories like 'boot',
'packages', it is fine, and it should boot.

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


Re: HP LJ 1100 setup

2005-03-14 Thread Dick Hoogendijk
On 14 Mar Ted Mittelstaedt wrote:
 [EMAIL PROTECTED] wrote:
  Try Andreas' GREAT printer port, print/apsfilter, which is one of
  hte best things in ports.  How come it's so completly unknown?

 Ghostscript supports the HP1100 directly.  So there's no need to deal
 with the other printer drivers, which should make it easy for you.
 
 Since you already installed apsfilter (which is unnecessary BTW) just
 run the following:

I run a hp1100 myself here _and_ use apsfilter. Wouldn't want it any
other way. Apsfilter makes printing easy. No hussle about which filter
to use for which data file. Everything just comes out of the hp1100 as I
expect it to. No cups either. Hate that package. Just the plain old lpr
stuff. Runs great. My home network all uses this printer. The other
machines use OSX, FreeBSD, win98 and win-XP.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipfw and nmap

2005-03-14 Thread daniel quinn
i've been experimenting with ipfw since moving some of my machines from linux 
to freebsd and i've run across an oddity wrt nmap and freebsd firewalls.  it 
doesn't seem to work and the activity isn't logged either.

the firewall is working though.  ssh goes through, while other ports are being 
blocked (and logged).  i've confirmed this with telnet.  but nmap still comes 
up empty.  i'd like to be able to do a proper portscan, but is this a feature 
with ipfw or a lack of feature in nmap?

for the purposes of this test, i've used a variation on the firewall supplied 
in the freebsd handbook:

  www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html

-- 
...he who in dealing with the empire loves his subjects as one should love 
one's body is the best person to whom one can commit the empire.
  - lau tzu, tao te ching: chapter xiii
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfw and nmap

2005-03-14 Thread sn1tch
You could try using nmap with the -sA (ACK) scanning...this is good
for mapping firewall rulesets to see what is being let in. You could
also use -f (fragment) with -sS to send fragmented packets...this will
show open ports unless most of the time too. But -sA is better since
the firewall things its a legitimate request and not a port scan


On Mon, 14 Mar 2005 11:52:54 -0500, daniel quinn
[EMAIL PROTECTED] wrote:
 i've been experimenting with ipfw since moving some of my machines from linux
 to freebsd and i've run across an oddity wrt nmap and freebsd firewalls.  it
 doesn't seem to work and the activity isn't logged either.
 
 the firewall is working though.  ssh goes through, while other ports are being
 blocked (and logged).  i've confirmed this with telnet.  but nmap still comes
 up empty.  i'd like to be able to do a proper portscan, but is this a feature
 with ipfw or a lack of feature in nmap?
 
 for the purposes of this test, i've used a variation on the firewall supplied
 in the freebsd handbook:
 
  www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html
 
 --
 ...he who in dealing with the empire loves his subjects as one should love
 one's body is the best person to whom one can commit the empire.
  - lau tzu, tao te ching: chapter xiii
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
You've officially been Gmailed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting current ports and packages.

2005-03-14 Thread Kris Kennaway
On Thu, Mar 10, 2005 at 10:21:31PM -0800, Elden Fenison wrote:
 * abu khaled [03/08/2005 05:58]:
   I have run cvsups, which I believe gets me the latest ports, is
   there an equivalent for packages?  I was under the impression that
   they always got the latest?
  
  Yes but only what is suitable for your current FreeBSD system is
  always installed when you install a port or add package.
 
 So, I was wondering... does cvsuping your ports effect what's available
 to pkg_add then? 

No, only what version of FreeBSD you are running affects it (and you
can override the defaults anyway, see the manpage).

Kris

--
In God we Trust -- all others must submit an X.509 certificate.
-- Charles Forsythe [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


usb 2.0 problems

2005-03-14 Thread Gio11

Hello, I'm a 5.3 frebsd user 


Is there any plan to support stable - not beta- drivers ehci in 5.4 release?

My usb disk goes a 1MB/s and this is my log:


ehci0: EHCI (generic) USB 2.0 controller mem 0xf8a000
00-0xf8a003ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci_pci_attach: companion usb0
ehci_pci_attach: companion usb1
ehci_pci_attach: companion usb2
usb3: EHCI version 1.0
usb3: wrong number of companions (4 != 3)

ehci0: USB init failed err=13
device_attach: ehci0 attach returned 5


what can I do?



-- 
Never be afraid to try something new. Remember, amateurs built the ark; 
professionals built the Titanic.


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


Re: What's the easiest way to do a backup and verify?

2005-03-14 Thread Jerry McAllister
 
 
 * Jerry McAllister [2005-03-14 10:30 -0500]
[...] So then wouldn't a second dump of the same snapshot diffed to 
the tape device be a good for a verify?
 
   No, because the condition of the files that you are dumping the second
   time is different from the first time.
 :
   Most places cannot afford to make file systems completely unavailable
   for periods of time long enough (several hours, up to a couple of days)
   to allow dump to be run twice without any changes being made to the
   file system.
 
 
 Note the OP's use of the word snapshot. I think he is right! Or if he 
 isn't; it has nothing to do with the filesystem beeing changed, but rather 
 something to do with the way the backup is written to tape. However, I do 
 think snapshots could be used for exactly this.

But, if he is writing a snapshot, then why is he using dump?
I think he was using the word snapshot to imply the dump file.  
But, of course, I could be wrong.

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


Re: Postfix Chroot.

2005-03-14 Thread Paul Schmehl
--On Sunday, March 13, 2005 11:53:59 PM -0800 BSD Mail [EMAIL PROTECTED] 
wrote:
Everything running under a different group except master it is still
running as root.
How can I fix that ?
Did you read /usr/local/share/doc/postfix-*/BASIC_CONFIGURATION_README
Also I need a way to verify that Postfix is actually running chrooted.
Easy.  Add a new user or edit another file that Postfix has to have access 
to and you will start getting error messages about the files being out of 
sync - you *did* put copies in the jail, right?

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kern.maxpipekva exceeded, please see tuning(7)

2005-03-14 Thread Kris Kennaway
On Sun, Mar 13, 2005 at 03:44:32PM -0500, John DeStefano wrote:
 I have seen a mention or two of this error on the lists before,
 including this link to the current list I pulled up from Google:
 http://lists.freebsd.org/pipermail/freebsd-current/2004-January/019150.html
 
 In my case, the errors began after my exploratory two-year-old found
 the shiny 'reset' button and could not resist its powers.  I'm also
 getting HDD error messages on boot, 'fsck -y' shows all the file
 systems as read-only and returns errors on one of them, and I can no
 longer SSH into my system (due to, I assume, too many open file
 handles), or even get a command in on my console without an error
 popping in..
 
 The solution does not seem clear cut to me, and it seems the error
 message itself does not provide valid (or, at least, sufficient)
 information.
 
 Could someone please help, or point me in the right direction?

Did you read the tuning(7) manpage, as instructed?

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


FreeBSD 5.3-RELEASE error creating jail

2005-03-14 Thread Josh Paetzel
$uname -a
FreeBSD twinmp.tcbug.org 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Wed 
Feb  9 16:54:40 CST 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/TWINMP  i386

I am following the directions in man jail to set up a jail on my 
system:

D=/here/is/the/jail
cd /usr/src
mkdir -p $D
make world DESTDIR=$D
cd etc
make distribution DESTDIR=$D
mount_devfs devfs $D/dev
cd $D
ln -sf dev/null kernel

make world DESTDIR=$D fails with the following error:


make: don't know how to make /storage1/jail/usr/lib/libc.a. Stop
*** Error code 2

I've tried rm -rf /usr/obj and also rm -rf /usr/src

-- 
Thanks,

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


Re: Getting rid of message: unknown: PNP0700 can't assign resources (port)

2005-03-14 Thread Kris Kennaway
On Sat, Mar 12, 2005 at 04:55:32AM -0500, Fafa Diliha Romanova wrote:
 haye!
 
 i'm just kinda tired of seeing this in my dmesg.
 can i make my kernel ignore it?

If it really bothers you that much, comment out the printf that
generates it in the kernel source.

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


Re: make index

2005-03-14 Thread Kris Kennaway
On Mon, Mar 14, 2005 at 04:12:35AM +0100, Gert Cuykens wrote:
 I# make index
 Generating INDEX-5 - please wait../usr/ports/Mk/bsd.port.mk, line
 2818: warnin g: duplicate script for target checksum ignored
 cfvers-0.4.6: /usr/ports/databases/py-PySQLite non-existent --
 dependency list  incomplete
 === sysutils/cfvers failed
 *** Error code 1
 1 error

If you run 'make index' you should read the freebsd-ports mailing
list, where reports of index build failure are automatically sent.

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


firefox share profile in freebsd and windows!

2005-03-14 Thread heccj
Perhaps this is not proper site to place this question,but i just meet
this problem!

I want to share my firefox 1.0.1 profile in windows xp and freebsd 5.3,i
can run with:firefox -safe-mode,it will freeze when i
use:firefox,obviousely,it's because of the extensions.When you setup
extensions in windows xp,firefox can't start in freebsd,when you setup
extensions in freebsd,firefox can't start in windows!Why?How to resovle it?

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


The options when you install a port!

2005-03-14 Thread heccj
Hi!
How could i know the options of a port?And Could i set some default
options?I meet this problem when i setup a big port like gnome2,it needs
a lot of time,and a lot of confirm dialog will pop out.If i know these
options and set the values,i can setup these ports without interact!


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


Re: Requirements for FreeBSD CDROM and DVD Publishers

2005-03-14 Thread Kris Kennaway
On Fri, Mar 11, 2005 at 04:27:20PM +, [EMAIL PROTECTED] wrote:
 Hello,
 
 I currently own a site that offers Debian and NetBSD CD-ROM sets for sale.  I 
 am
 interested in becoming a FreeBSD CD-ROM publisher and offering a FreeBSD
 5.3-RELEASE CD-ROM set for the i386 architecture for sale on my site.  Are 
 there
 any specific requirements I would need to fulfill in order to do this?

If you want to resell the ISO images provided by freebsd.org on the
ftp site I think there is a README file there that gives permission.
If you want to resell the additional CD images sold by
e.g. freebsdmall.com then you'd need to obtain permission from them,
since they own the compilation copyright.  If you want to construct
your own additional CD images then you can do that any way you like.
The only thing to be aware of is that some packages available on the
ftp site may not be sold, according to the license terms provided by
the original authors.

Kris

--
In God we Trust -- all others must submit an X.509 certificate.
-- Charles Forsythe [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The options when you install a port!

2005-03-14 Thread Ean Kingston

 Hi!
 How could i know the options of a port?And Could i set some default
 options?I meet this problem when i setup a big port like gnome2,it needs
 a lot of time,and a lot of confirm dialog will pop out.If i know these
 options and set the values,i can setup these ports without interact!

Read the port makefile. There is usually instructions at the top
explaining the available options. These can be put into /etc/make.conf
(I'm not sure of the syntax).

For example, I recently built mplayer. At the top of
/usr/ports/multimedia/mplayer it says:

# New ports collection makefile for:mplayer
# Date created: 10 August 2001
nstalL# Whom:   Thomas E. Zander
#   with lots of help from Vladimir Kushnir
# $FreeBSD: ports/multimedia/mplayer/Makefile,v 1.111 2005/03/06 10:34:15
oliver
 Exp $
#
# There are many knobs to tune mplayer towards your specific wishes
# and preferences.
# You can activate a knob by typing something like
# make -DKNOB or make KNOB=yes instead of just make
#

It then goes on to explain what all the 'KNOB's are.

-- 
Ean Kingston
E-Mail: ean_AT_hedron_DOT_org
 PGP KeyID: 1024D/CBC5D6BB
   URL: http://www.hedron.org/


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


Re: firefox share profile in freebsd and windows!

2005-03-14 Thread Ean Kingston

 Perhaps this is not proper site to place this question,but i just meet
 this problem!

 I want to share my firefox 1.0.1 profile in windows xp and freebsd 5.3,i
 can run with:firefox -safe-mode,it will freeze when i
 use:firefox,obviousely,it's because of the extensions.When you setup
 extensions in windows xp,firefox can't start in freebsd,when you setup
 extensions in freebsd,firefox can't start in windows!Why?

Why? Because Windows XP and FreeBSD are completely different operating
systems. Their binaries are not compatible.

 How to resovle
 it?

If you can figure out how to keep the extensions directories separate
while keeping the rest of the preferences the same it should work.

At the worst, you could export your bookmarks from one and import them
into the other. Then you would just have to go through the preferences and
make sure the settings are the same otherwise.

-- 
Ean Kingston
E-Mail: ean_AT_hedron_DOT_org
 PGP KeyID: 1024D/CBC5D6BB
   URL: http://www.hedron.org/


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


Re: FreeBSD 5.3-RELEASE error creating jail

2005-03-14 Thread stheg olloydson
it was said:

I am following the directions in man jail to set up a jail on
my 
system:

D=/here/is/the/jail
cd /usr/src
mkdir -p $D
make world DESTDIR=$D
 ^
Try changing this line to env DESTDIR=$D  make world

cd etc
make distribution DESTDIR=$D
mount_devfs devfs $D/dev
cd $D
ln -sf dev/null kernel

make world DESTDIR=$D fails with the following error:


make: don't know how to make /storage1/jail/usr/lib/libc.a.
Stop

I think this is a bug, but because a simple workaround exists,
maybe it will become a training issue

HTH,

stheg



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox share profile in freebsd and windows!

2005-03-14 Thread Danny Howard
Ean Kingston wrote:
At the worst, you could export your bookmarks from one and import them
into the other. Then you would just have to go through the preferences and
make sure the settings are the same otherwise.
 

I have been using Amazon's a9.com which has a browser bar for Firefox 
that facilitates storing bookmarks on a9.com.  This way, I can do 
bookmarks on my FreeBSD Firefox, and pull them up on my Windows Firefox, 
or any computer if I visit their site.  There are probably other server 
side bookmarks services out there.  The a9 makes it a little nicer with 
the toolbar thingus, plus it wraps around Google's search engine, 
Amazon's products search engine, and Amazon.com will give you a modest 
discount for helping test out their wonky new feature. (The bookmark 
management is a little weird, because it is implemented as a web interface.)

As far as duplicating profiles, I'm with Ean in figuring that trying to 
get the profiles to work on two utterly different platforms sounds like 
more trouble than it would likely be worth.  I know that in the old days 
the Netscape folks were keen on a project to store metadata in an LDAP 
server ... perhaps the Mozilla foundation has some similar fetish, but 
you would be better off asking the Mozilla folks, who are all about 
cross-platform magic.

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


permissions on partition?

2005-03-14 Thread Brian John
Hello, I have a FAT partition on ad0s3 that I am sharing with Windows. 
For one reason or another everything on this partition is owned by
root:wheel.  I can't change the permissions to any files on this
partition.  This is what I have in devfs.conf:
own ad0s3   brian:operator
permad0s3   0660

Is this correct?  How can I make it so that files on this partition are
owned by the 'brian' user?

Thanks in advance

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


permissions on partition?

2005-03-14 Thread Brian John
Hello, I have a FAT partition on ad0s3 that I am sharing with Windows. 
For one reason or another everything on this partition is owned by
root:wheel.  I can't change the permissions to any files on this
partition.  This is what I have in devfs.conf:
own ad0s3   brian:operator
permad0s3   0660

Is this correct?  How can I make it so that files on this partition are
owned by the 'brian' user?

Thanks in advance

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


probe dmesg status of RAIDs -- twe and amr

2005-03-14 Thread Danny Howard
Hello,
I have a bunch of FreeBSD systems, many with hardware RAIDs.  The 
problem is, I have no easy way of checking to see that they are okay.  I 
tried once to get the 3ware binary to work with the 3ware kernel module 
to get to work with the 3ware firmware update that I had to ... ARGHH! 
It was awful.

On the other hand, in /var/run/dmesg :
twed0: TwinStor, Normal on twe0
twed0: 114472MB (234439600 sectors)
twe0: command interrupt
Or, on another system:
amrd0: LSILogic MegaRAID logical drive on amr0
amrd0: 140012MB (286744576 sectors) RAID 5 (optimal)
I know from experience that the Normal on the twed0 means nothing 
broken and I like to think the optimal on the amrd0 means RAID5 is 
doing fine.  This is enough information for me . . . if a RAID is in a 
failure state, I can live with gracefully failing a server, if need be, 
and booting in to the BIOS to get the real information.

The problem is, I only get these messages when I boot . . . and I don't 
boot very often, of course.  I have tried poking around sysctl, 
atacontrol, camcontrol . . . all to see how I might probe out these 
messages on a regular basis, but I can not figure it out.  Can someone 
give me a tip on how to pull up bits of dmesg output while the system is 
running?  Or if someone has better advice on checking up on the status 
of various flavors of RAID . . .

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


permissions on partition?

2005-03-14 Thread Brian John
Hello, I have a FAT partition on ad0s3 that I am sharing with Windows. 
For one reason or another everything on this partition is owned by
root:wheel.  I can't change the permissions to any files on this
partition.  This is what I have in devfs.conf:
own ad0s3   brian:operator
permad0s3   0660

Is this correct?  How can I make it so that files on this partition are
owned by the 'brian' user?

Thanks in advance

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


permissions on partition?

2005-03-14 Thread Brian John
Hello, I have a FAT partition on ad0s3 that I am sharing with Windows. 
For one reason or another everything on this partition is owned by
root:wheel.  I can't change the permissions to any files on this
partition.  This is what I have in devfs.conf:
own ad0s3   brian:operator
permad0s3   0660

Is this correct?  How can I make it so that files on this partition are
owned by the 'brian' user?

Thanks in advance

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


Re: Thunderbird and local mail ?

2005-03-14 Thread beni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Christopher Kelley wrote:
| You Wrote:
|
|
| Hi,
|
| System: 5.3-REL-p5
|
| I would like to get my local mail (from /var/mail/user) in my
| Thunderbird (v1.0 - 20050310) mailbox.
|
| I found
|
http://lists.freebsd.org/pipermail/freebsd-questions/2003-December/027652.html
|  which is talking about version 0.3... But I get the same message
| as described after having created a movemail mailbox : unable to
|  create user.lock file. I've tried to set up a movemail for
| the user and one for Root, but get the same message back.
|
| So, how do I get those local mails transferred into my mailbox ?
|
| Beni.
|
|
| Hi,
|
| The popup message on Thunderbird tells you (somewhat cryptically)
| what you need to do.   I believe it says something along the lines
| of:
|
| --- Unable to create user.lock file. For movemail to work, it is
| necessary to create lock files in the mail spool directory. On many
|  systems, this is best accomplished by making the spool directory
| be mode 01777. ---
|
| The spool directory is /var/mail, so what I did was (as root), cd
| to /var, then 'chmod 1777 mail'. Please note that this machine is
| behind a firewall, and provides no services to the internet, so I'm
|  not very concerned about any security holes doing this may open
| up.
|
| I'm using Tbird 1.0, and I haven't touched my sendmail
| configuration from the factory defaults. I redirected (via
| /etc/mail/aliases) the root mail to the normal user that runs X.
|
| Christopher
|
Yep, that did it. Thanks a lot !
Beni.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCNeNA98oeEzEDrEcRAqVAAJ4vYXLjrRdvCEo4hI9Q81vLRCMDFgCgjp7N
8jlIDdnHEyWnpaTh8/h1DIM=
=vwbl
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: permissions on partition?

2005-03-14 Thread Lowell Gilbert
Brian John [EMAIL PROTECTED] writes:

 Hello, I have a FAT partition on ad0s3 that I am sharing with Windows. 
 For one reason or another everything on this partition is owned by
 root:wheel.  I can't change the permissions to any files on this
 partition.  This is what I have in devfs.conf:
 own ad0s3   brian:operator
 permad0s3   0660
 
 Is this correct?  How can I make it so that files on this partition are
 owned by the 'brian' user?

There are several approaches described in the manual for mount_msdosfs(8).

Changing the permissions on the mount point would probably be the easiest.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IPMI doesn't work...

2005-03-14 Thread Jeff Behl
on a 5.3 amd64 system.  anyone have any luck or know anything about 
this?  i can query variables right up until the point where the kernel 
loads, then nothing.  ibm is saying this can be caused by the actual net 
driver (the Baseboard Management Controller (BMC) shares the network 
interface); we're using a Broadcom BCM5704C Dual gig adapter:

bge0: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003 mem 
0xfe00-0xfe00,0xfe01-0xfe01 irq 24 at device 1.0 on pci2

anyone have any idea why this may be the case?  unfortunately for me and 
others, the inability to remotely manage boxes (console/power 
cycle/detect drive failures/etc) via will be a deal breaker in our push 
for FBSD in our fleet (couple hundred) of dual proc amd64 IBM e325 
servers.  SuSe here we come (unwillingly)...

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


Re: Re: permissions on partition?

2005-03-14 Thread Brian John
 Brian John [EMAIL PROTECTED] writes:

  Hello, I have a FAT partition on ad0s3 that I am sharing with Windows.
  For one reason or another everything on this partition is owned by
  root:wheel.  I can't change the permissions to any files on this
  partition.  This is what I have in devfs.conf:
  own ad0s3   brian:operator
  permad0s3   0660
 
  Is this correct?  How can I make it so that files on this partition are
  owned by the 'brian' user?

 There are several approaches described in the manual for mount_msdosfs(8).

 Changing the permissions on the mount point would probably be the easiest.
 __
When I try to change the permissions on the mount point this is what happens:
# chown brian:operator /shared
chown: /shared: Invalid argument

This is the same thing that happens when I try to change permissions on
any files on the partition.  Am I doing something wrong?

Thanks

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


need help getting around kern/70401 so I can load ipl.ko

2005-03-14 Thread Andy Firman

I have not been able to get ipfilter working on a system and
it is because I don't have INET6 in my custom kernel, and therefore
the system cannot load the ipl.ko module.  Here is the issue:

http://www.freebsd.org/cgi/query-pr.cgi?pr=70401

Can someone help me understand this following fix?
-
Fix:
Tweak around USE_INET6 option in /sys/contrib/ipfilter/netinet/ip_compat.h
to cover the case when there is no INET6 in the kernel and ipfilter is
loaded as KLD.
-

Or should I just go back and compile the GENERIC kernel?  There is no
problem running the GENERIC kernel from what I can tell.
This is a production system, so compiling the kernel makes me nervous.

Would I simply do this?:

# cd /usr/src
# make buildkernel KERNCONF=GENERIC
# make installkernel KERNCONF=GENERIC

then reboot and that is all right?

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


Re: Stupid ASCII loader prompt

2005-03-14 Thread -
You shouldn't use FreeBSD then, it is full of evil demons that will take 
over your system on the first chance they get.. :)

Fafa Diliha Romanova wrote:
hello
i find that loader prompt very frustrating:
1. it is *VERY* unprofessional
2. having that demon in there, it invites evil into my world
3. it's bad for my image too, when other people see it,
  they laugh and go:
  is THAT your supersystem? blah
somebody please tell me, how do i remove it?
i don't want anything to do with it.
thanks,
-- fafa
 

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


Re: logitech cordless mouse w/ freebsd 5.3 stable

2005-03-14 Thread Chuck Robey
On Mon, 14 Mar 2005, Eric wrote:

 I removed above this  to save some bandwidth, as bandwidth is not free
 every where in the world :)

 Chuck Robey wrote:

 I then edit the pointer section of  /etc/X11/xorg.conf to:
 
 Identifier  Mouse1
 Driver  mouse
 Option ProtocolAuto
 Option Device  /dev/bpsm0
 
 
 
 I am running FreeBSD-6.0-current, but I bet it works for you like it works
 (just fine) for me.  Try it, what have you got to lose?  However, if it
 works, you owe us a usage report, Sirrah!
 
 Anyhow, FreeBSD is not terribly willing to share the mouse.  When it
 boots, the stupid thing will start 'moused' processes on both mouses.
 Check this with:
 
 ps -ax | grep mouse
 
 if it's like I think it is, one of the lines that come back will report a
 device filename of ums0.  You need this process dead, dead, dead.  You
 *could*, I suppose, edit /etc/usbd.conf ...
 
 After you do that, the stuff you have above for Xorg isn't enough either,
 cause you left out the wheel.  take those lines out and replace them with
 
 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol auto
 Option  Device /dev/ums0
 Option Buttons 5
 Option ZAxisMapping 4 5
 EndSection
 
 Don't forget, at the top:
 
 Section ServerLayout
 Identifier X.org Configured
 Screen  0  Screen0 0 0
 InputDeviceMouse0 CorePointer
 InputDeviceKeyboard0 CoreKeyboard
 EndSection
 
 
 Try this, tell me how it works.
 
 
 
 Chuck,
   Setting my mouse driver to ums0, will make X crash before loading.
 My box never reported the ums0 device/the usb mouse. The usbd is
 running. There is no moused processes running on this box, as it is
 disabled in /etc/rc.conf. I get the scroll wheel to work as a middle
 button, but you are right, the scroll feature does not work.

Just 1 thing I need to confirm: did you kill the moused process BEFORE
starting X?  Because if you didn't, that's exactly what happens to me.  I
need to kill the moused process that is tying up ums0, then I can start up
X.


 Option Buttons 5
 Option ZAxisMapping 4 5

 Setting those two options does not enable the scroll wheel. I think that
 is due to the generic PS/2 driver reported in dmesg. Having a working
 scroll  wheel was never  a issue for  me :) Also note, I never tried
 FreeBSD 6.x .


No, let's fix the mouse first, then we worry about the mouse wheel.

 I am not sure if the following info matters or not:

 This is included as it may give you some hints for fixing the wheel
 feature. This mouse config was a combination of some google hints that
 led me to look at, 'man psm', 'man device.hints', and my experience
 with  Freebsd 4.x. FreeBSD 4.x taught me  that  using  /dev/bpsm0 in
 the  X config would work, with this mouse and this kvm. I  didn't try
 setting up the moused in /etc/rc.conf with FreeBSD 5.x.  In FreeBSD 4.x
 adding the bpsm0 config to /etc/rc.conf just lead to error messages
 getting reported to my shells every so often.

 Here is some additional info:


 %ls /dev
 acd0ata fidopsm0ttyv3
 acpiatkbd0  geom.ctlptyp0   ttyv4
 ad0 audio0.0io  ptyp1   ttyv5
 ad0s1   audio0.1kbd0ptyp2   ttyv6
 ad0s10  bpf0klogptyp3   ttyv7
 ad0s1a  bpsm0   kmemrandom  ttyv8
 ad0s1b  console log sndstat ttyv9
 ad0s1c  consolectl  lpt0stderr  ttyva
 ad0s1d  cttylpt0.ctlstdin   ttyvb
 ad0s1e  cuaa0   mdctl   stdout  ttyvc
 ad0s1f  cuaia0  mem sysmousettyvd
 ad0s2   cuala0  mixer0  ttyd0   ttyve
 ad0s3   devctl  net ttyid0  ttyvf
 ad0s4   devstat net1ttyld0  urandom
 ad0s5   dsp0.0  net2ttyp0   usb
 ad0s6   dsp0.1  net3ttyp1   usb0
 ad0s7   dspW0.0 network ttyp2   usb1
 ad0s8   dspW0.1 nfs4ttyp3   usb2
 ad0s9   dspr0.1 nullttyv0   xpt0
 agpgart fd  pci ttyv1   zero
 apm fd0 ppi0ttyv2
 %cat /etc/rc.conf

 # -- sysinstall generated deltas -- # Mon Jan  3 05:51:08 2005
 # Created: Mon Jan  3 05:51:08 2005
 # Enable network daemons for user convenience.
 # Please make all changes to this file, not to /etc/defaults/rc.conf.
 # This file now contains just the overrides from /etc/defaults/rc.conf.
 hostname=demon-spawn.bsdunix.us
 ifconfig_rl0=DHCP
 linux_enable=YES
 usbd_enable=YES
 

bad CRC in rar file

2005-03-14 Thread Brian John
Hello, I have a collection of rar files that all hold together one .iso
file.  One of the rar files has a bad CRC so rar fails to extract the ISO
image.  Does anyone know if there is a different application that can
extract this image even though there are crc errors?  I looked at the rar
manpage and it didn't seem like rar could do it.

Thanks

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


RE: IPv6 in rc.conf only: create gif0 / add route?

2005-03-14 Thread Vince
Since you are using a gif interface I assume you use a tunnel for your ipv6
connection.

Here is the relevant parts of my rc.conf which works 
(I use a H.E. ipv6 tunnel (http://tunnelbroker.net) 
but any gif tunnel should be similar) 

gif_interfaces=gif0  # create the gif
gifconfig_gif0=62.140.220.90 64.71.128.83  # setup the ipv4 endpoints of
the tunnel 
ipv6_enable=YES# Set to YES to set up for IPv6.
ipv6_gateway_enable=YES
ipv6_network_interfaces=gif0 fxp0  # List of network interfaces (or
auto).
ipv6_defaultrouter=2001:470:1F01:::120# Set to IPv6 default
gateway
ipv6_ifconfig_gif0=2001:470:1F01:::121 2001:470:1F01:::120
prefixlen 128 #setup ipv6 tunnel
ipv6_ifconfig_fxp0=2001:470:1F01:244::1 prefixlen 64 #set fxp0 ipv6
address
rtadvd_enable=YES  # Set to YES to enable an IPv6 router
rtadvd_interfaces=fxp1 fxp0 wi0   # Interfaces rtadvd sends RA
packets.


Some lines may wrap.
Vince

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Fafa Diliha Romanova
 Sent: 13 March 2005 20:11
 To: [EMAIL PROTECTED]
 Subject: IPv6 in rc.conf only: create gif0 / add route?
 
 Hey!
 
 I am trying to add my entire IPv6 setup into rc.conf.
 But it seems it won't automagically create gif0, nor will it 
 add the default route. This is my rc.conf:
 
 # *** IPv6 configuration
 #
 ipv6_enable=YES
 ipv6_gateway_enable=YES
 ipv6_network_interfaces=gif0
 ipv6_defaultrouter=fe80::%gif0
 ipv6_ifconfig_gif0=inet 213.183.143.59 213.121.24.85
 ipv6_ifconfig_gif0=inet6 alias 2001:618:400:4572::1 prefixlen 64
 ipv6_ifconfig_gif0=inet6 alias 2001:618:400:4572::2 prefixlen 64
 ipv6_ifconfig_gif0=inet6 alias 2001:618:400:4572::3 prefixlen 64
 ipv6_firewall_enable=YES
 ipv6_firewall_type=open
 rtadvd_enable=YES
 rtadvd_interfaces=gif0
 
 Is anybody able to tell what I lack?
 I certainly cannot ping6 6bone.net after reboot.
 
 Thanks!
 
 All the best,
 -- Fafa
 
 --
 ___
 Sign-up for Ads Free at Mail.com
 http://promo.mail.com/adsfreejump.htm
 
 ___
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 

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


Re: permissions on partition?

2005-03-14 Thread Alejandro Pulver
On Mon, 14 Mar 2005 13:44:21 -0600 (CST)
Brian John [EMAIL PROTECTED] wrote:

  Brian John [EMAIL PROTECTED] writes:
 
   Hello, I have a FAT partition on ad0s3 that I am sharing with
   Windows. For one reason or another everything on this partition is
   owned by root:wheel.  I can't change the permissions to any files
   on this partition.  This is what I have in devfs.conf:
   own ad0s3   brian:operator
   permad0s3   0660
  
   Is this correct?  How can I make it so that files on this
   partition are owned by the 'brian' user?
 
  There are several approaches described in the manual for
  mount_msdosfs(8).
 
  Changing the permissions on the mount point would probably be the
  easiest.__
 When I try to change the permissions on the mount point this is what
 happens:# chown brian:operator /shared
 chown: /shared: Invalid argument
 
 This is the same thing that happens when I try to change permissions
 on any files on the partition.  Am I doing something wrong?
 
 Thanks
 
 /Brian


Hello,

Have you tried changing the permissions of the directory when the MS-DOS
filesystem is not mounted, and after that mount it?

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


Re: bad CRC in rar file

2005-03-14 Thread David Kelly
On Mon, Mar 14, 2005 at 02:24:57PM -0600, Brian John wrote:
 Hello, I have a collection of rar files that all hold together one .iso
 file.  One of the rar files has a bad CRC so rar fails to extract the ISO
 image.  Does anyone know if there is a different application that can
 extract this image even though there are crc errors?  I looked at the rar
 manpage and it didn't seem like rar could do it.

The unrar utility in ports says the kb command line switch will keep
broken. Remember mounting a bad ISO image may crash your computer.

Generally one uses par files to validate and repair rar files before
reassembling the original image. To generate par files for this purpose
one has to start with a good set of rar files.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Boot problem with freebsd 5.3

2005-03-14 Thread cell
hello , i have problem when i boot with freebsd 5.3 since i have had a power 
cut .The message of the error is : 

error 16 Iba 191
No /boot/loader

FreeBSD/i386 boot
Default: 0:ad(0,a)/kernel
boot: error 16 Iba 191
No /kernel

I don't know if the hard disk is endommaged but i don't think.How do for boot 
in freebsd ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setting up a danish locale

2005-03-14 Thread Steve Kargl
On Sat, Mar 12, 2005 at 05:07:24PM +0100, Erik Norgaard wrote:
 For X I have the following in my XF86Config:
 
 Section InputDevice
 Identifier  Keyboard0
 Driver  keyboard
 Option  XkbRules xfree86
 Option  XkbModel pc102
 Option  XkbLayout dk
 

Erik, Thanks for the pointer.  The above partially solved
out problem.  My colleague would like to use the US keyboard
layout and switch to a Danish layout when he's interacting with
someone back home.  Do you know if this is possible with xmodmap?
I'm hoping that I can set up some shell aliases that do

setenv do_danish  xmodmap danish.keys
setenv do_english xmodmap english.keys

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


RE: format slice

2005-03-14 Thread Freek Nossin


 -Original Message-
 From: Alejandro Pulver [mailto:[EMAIL PROTECTED]
 Sent: zondag 13 maart 2005 15:53
 To: Freek Nossin
 Cc: freebsd-questions@freebsd.org; 'Jerry McAllister'
 Subject: Re: format slice
 
 Hello,
 
 Sorry I did not noticed it before, but your first slice must be of type
 165 (or 0xa5 in hex), that is the type of FreeBSD slices.
 
   The data for partition 1 is:
   sysid 0 (),(unused)
   start 63, size 20820177 (10166 Meg), flag 0
   beg: cyl 0/ head 1/ sector 1;
   end: cyl 174/ head 15/ sector 63
   The data for partition 2 is:
   sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
   start 20820240, size 19201392 (9375 Meg), flag 80 (active)
   beg: cyl 1023/ head 255/ sector 63;
   end: cyl 1023/ head 15/ sector 63
 
 It appeares as unused. So try changing the type.
 
 Best Regards,
 Ale

Finally it worked!

Thanks for helping me (but if I may? Still one question left... ). 

The slice was indeed unused. When I tried sysinstall just after the reboot,
and again it didn't worked I falsely assumed doing it from the command
prompt would also be of no use. I was wrong, following your advice, starting
fdisk (this time with -i, instead of -u, just to figure out if there was any
difference, still don't know that yet though ;-) ). And changing the type
created a freebsd slice. Then I used bsdlabel and there it was! /dev/ad0s1a
was in my list of devices. 

There is one little thing that worries me. On someone's advice I installed
testdisk (sysutils/testdisk). This tool tests your disk (duh! I mean slices
and partitions, so actually my disklayout). 

Disk /dev/ad0 - CHS 39704 16 63 - 19541 MB
Check current partition structure
 Partition  StartEndSize in sectors
 1 P FreeBSD  0   1  1 20654  15 63   20820177
 2 * FreeBSD  20655   0  1 39703  15 63   19201392

Bad starting head


The bad starting head warning worries me. But with these tools you never
know if the tool is correct, or indeed my disklayout. If I didn't just wrote
my Bios Partition table a couple of times, I wouldn't have worried at all,
but now I did, it *might* be possible that I actually did something wrong. 
My fdisk output is as follows (These numbers come even visit me in my dreams
these days... ;-) ):

bash-2.05b$ sudo fdisk
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=39704 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=39704 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 20820177 (10166 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 174/ head 15/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 20820240, size 19201392 (9375 Meg), flag 80 (active)
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 15/ sector 63
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED

Does anybody see a bad starting head??? 

Thanks again for helping me so far (Alejandro, and Jerry)

Freek

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


Re: gmirror rebuilds on every reboot

2005-03-14 Thread Peter Schuller
 As per subject: I have a 5.3 box with two SATA drives and I using 
 gmirror to achieve RAID 1.
 The problem is it started rebuilding the array *on every boot*.
...
 I cannot think of any reason this might happen, but I'd appreciate any 
 hint to avoid that.

First thing I'd check is the shutdown sequence. I dunno if this is machine
you're physically in front of, but if you are, look for kernel output at the
end of the shutdown sequence.

The fact that it is rebuilding is usually indicative of an unclean shutdown.
If it happens all the time it might be that there is some problem preventing
buffers from being flushed properly and/or the gmirror to shutdown correctly.

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

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


Re: Re: bad CRC in rar file

2005-03-14 Thread David Kelly
On Mon, Mar 14, 2005 at 03:13:10PM -0600, Brian John wrote:
 
  Generally one uses par files to validate and repair rar files before
  reassembling the original image. To generate par files for this
  purpose one has to start with a good set of rar files.
 
 par files?  I've never heard of those.  What is the purpose of par
 files if you already have a good set of rar files?  Is the idea that
 the same person that distributes the original rar files will also
 distribute par files with them?

Yes. Par as in parity. The par files would contain redundant
information which is intended to be used to verify/repair broken file(s)
(not necessarily rar files). Essentially the same as Forward Error
Correction.

If you have incomplete or damaged files then you need par files to
repair. Can not create par files out of bad files.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: dd on samba

2005-03-14 Thread Pietro Cerutti
On Mon, 14 Mar 2005 13:27:19 +, Pietro Cerutti
[EMAIL PROTECTED] wrote:
 dd and dump won't work (they won't put the data on a directory).

Maybe I solved it, by  making
# dd if=/dev/ad0 of=/mnt/some_file.dd bs=2m

But how is goint to be to restore the whole filesystem?

Thanks!


-- 
Pietro Piter Cerutti
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Beansidhe - SwiSS Death / Thrash Metal
www.beansidhe.ch

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPMI doesn't work...

2005-03-14 Thread Thomas Foster
How are you attempting to manage the server.. via a command line or terminal 
emulation software directly to the BMC?  What amangement software ships with 
the IBM?  Once the kernel loads, you need to perform SOL (serial redirection 
over LAN), or use management software the speaks directly with the BMC..

Just curious a little bit more about your setup
T
- Original Message - 
From: Jeff Behl [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Monday, March 14, 2005 11:25 AM
Subject: IPMI doesn't work...


on a 5.3 amd64 system.  anyone have any luck or know anything about this? 
i can query variables right up until the point where the kernel loads, 
then nothing.  ibm is saying this can be caused by the actual net driver 
(the Baseboard Management Controller (BMC) shares the network interface); 
we're using a Broadcom BCM5704C Dual gig adapter:

bge0: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003 mem 
0xfe00-0xfe00,0xfe01-0xfe01 irq 24 at device 1.0 on pci2

anyone have any idea why this may be the case?  unfortunately for me and 
others, the inability to remotely manage boxes (console/power cycle/detect 
drive failures/etc) via will be a deal breaker in our push for FBSD in our 
fleet (couple hundred) of dual proc amd64 IBM e325 servers.  SuSe here we 
come (unwillingly)...

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


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


Re: format slice

2005-03-14 Thread Alejandro Pulver
On Mon, 14 Mar 2005 22:54:57 +0100
Freek Nossin [EMAIL PROTECTED] wrote:

 
 
  -Original Message-
  From: Alejandro Pulver [mailto:[EMAIL PROTECTED]
  Sent: zondag 13 maart 2005 15:53
  To: Freek Nossin
  Cc: freebsd-questions@freebsd.org; 'Jerry McAllister'
  Subject: Re: format slice
  
  Hello,
  
  Sorry I did not noticed it before, but your first slice must be of
  type 165 (or 0xa5 in hex), that is the type of FreeBSD slices.
  
The data for partition 1 is:
sysid 0 (),(unused)
start 63, size 20820177 (10166 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 174/ head 15/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 20820240, size 19201392 (9375 Meg), flag 80 (active)
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 15/ sector 63
  
  It appeares as unused. So try changing the type.
  
  Best Regards,
  Ale
 
 Finally it worked!
 
 Thanks for helping me (but if I may? Still one question left... ). 
 
 The slice was indeed unused. When I tried sysinstall just after the
 reboot, and again it didn't worked I falsely assumed doing it from the
 command prompt would also be of no use. I was wrong, following your
 advice, starting fdisk (this time with -i, instead of -u, just to
 figure out if there was any difference, still don't know that yet
 though ;-) ). And changing the type created a freebsd slice. Then I
 used bsdlabel and there it was! /dev/ad0s1a was in my list of devices.
 
 
 There is one little thing that worries me. On someone's advice I
 installed testdisk (sysutils/testdisk). This tool tests your disk
 (duh! I mean slices and partitions, so actually my disklayout). 
 
 Disk /dev/ad0 - CHS 39704 16 63 - 19541 MB
 Check current partition structure
  Partition  StartEndSize in sectors
  1 P FreeBSD  0   1  1 20654  15 63   20820177
  2 * FreeBSD  20655   0  1 39703  15 63   19201392
 
 Bad starting head
 
 
 The bad starting head warning worries me. But with these tools you
 never know if the tool is correct, or indeed my disklayout. If I
 didn't just wrote my Bios Partition table a couple of times, I
 wouldn't have worried at all, but now I did, it *might* be possible
 that I actually did something wrong. My fdisk output is as follows
 (These numbers come even visit me in my dreams these days... ;-) ):
 
 bash-2.05b$ sudo fdisk
 *** Working on device /dev/ad0 ***
 parameters extracted from in-core disklabel are:
 cylinders=39704 heads=16 sectors/track=63 (1008 blks/cyl)
 
 Figures below won't work with BIOS for partitions not in cyl 1
 parameters to be used for BIOS calculations are:
 cylinders=39704 heads=16 sectors/track=63 (1008 blks/cyl)
 
 Media sector size is 512
 Warning: BIOS sector numbering starts with sector 1
 Information from DOS bootblock is:
 The data for partition 1 is:
 sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
 start 63, size 20820177 (10166 Meg), flag 0
 beg: cyl 0/ head 1/ sector 1;
 end: cyl 174/ head 15/ sector 63
 The data for partition 2 is:
 sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
 start 20820240, size 19201392 (9375 Meg), flag 80 (active)
 beg: cyl 1023/ head 255/ sector 63;
 end: cyl 1023/ head 15/ sector 63
 The data for partition 3 is:
 UNUSED
 The data for partition 4 is:
 UNUSED
 
 Does anybody see a bad starting head??? 
 
 Thanks again for helping me so far (Alejandro, and Jerry)
 
 Freek


Hello,

You are welcome.

Mine is better :)

Disk /dev/ad0 - CHS 77504 16 63 - 38146 MB
Disk /dev/ad2 - CHS 79656 16 63 - 39205 MB

Disk /dev/ad0 - CHS 77504 16 63 - 38146 MB
 1 * FAT32 LBA0   1  1 36863   6 63   37158282
Bad ending head
 2 E extended LBA 36863   7  1 77488   1 63   40949685
Bad ending head
Disk /dev/ad2 - CHS 79656 16 63 - 39205 MB
 1 P Linux0   1  1 20304   5 63   20466747
Bad ending head
 4 * FreeBSD  40624  11  1 79225   4 63   38909430
Bad ending head
TestDisk exited normally.

I do not know what is that, but I think it is just a warning. It has to
do with low level disk parameters (cylinders, heads, sectors, etc.) I do
not know. There is information about that (not specifically this topic
but there is a *lot* of information about hard-disks and how do they
operate) in

http://www.pcguide.com/topic.html (section hard-drives)

but I did not have problems with my slices/filesystems/data.

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


rc.subr startup question

2005-03-14 Thread Doug Poland
Hello,

I'm running 5.3-STABLE and I want to write a startup script for
ports/sysutils/mcron.  The twis is, I want an mcron process for
each user I specify in an external file.  For example...

/usr/local/etc/mcron.conf:
$usernames=user1 user2 user3


/usr/local/etc/rc.d/mcron.sh
#!/bin/sh

# $Id$

# PROVIDE: mcron
# REQUIRE: LOGIN
# KEYWORD: FreeBSD shutdown
#
. /etc/rc.subr

name=mcron
prefix=/usr/local
command=${prefix}/bin/${name}
mcron_enable=${mcron_enable:-NO}
mcron_flags=${mcron_flags--d}


# Load user names from conf file
#
. ${prefix}/etc/${name}.conf

rcvar=`set_rcvar`

load_rc_config $name

for user in ${usernames}; do

mcron_user=${user}
run_rc_command $1

done


This does not work because run_rc_command checks to see if the process
is already running before attempting to launch another instance.  I've
read rc.subr(8) and it's not apparent if I can use the rc.subr tools in
this scenario.  Perhaps this is something best accomplished in
/etc/rc.local?  Any and all suggestions welcome.

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


Re: If I have portmanager, do I need portupgrade?

2005-03-14 Thread Lee Harr
I think there is no big difference between just running portupgrade vs
portmanager.  I would say portmanager is better and faster because you
don't need to baby sit, it is really automagical, and there is no
messing with an index.

I keep hearing great things about portmanager, but I have
not been able to run it... when I try, I get:
# portmanager -s

PMGRrStatus 0.2.9_3 info: Creating inital data bases

PMGRrVerifyContentsFile 0.2.9_3 error: could not open 
/var/db/pkg/mailman-2.1.5_2/+CONTENTS
system message: No such file or directory
Assertion failed: (0), function PMGRrVerifyContentsFile, file 
PMGRrVerifyContentsFile.c,line 75.
Abort (core dumped)

What am I doing wrong?
_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

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


Re: kern.maxpipekva exceeded, please see tuning(7)

2005-03-14 Thread John DeStefano
On Mon, 14 Mar 2005 17:38:54 +, Kris Kennaway [EMAIL PROTECTED] wrote:
 On Sun, Mar 13, 2005 at 03:44:32PM -0500, John DeStefano wrote:
  I have seen a mention or two of this error on the lists before,
  including this link to the current list I pulled up from Google:
  http://lists.freebsd.org/pipermail/freebsd-current/2004-January/019150.html
 
  In my case, the errors began after my exploratory two-year-old found
  the shiny 'reset' button and could not resist its powers.  I'm also
  getting HDD error messages on boot, 'fsck -y' shows all the file
  systems as read-only and returns errors on one of them, and I can no
  longer SSH into my system (due to, I assume, too many open file
  handles), or even get a command in on my console without an error
  popping in..
 
  The solution does not seem clear cut to me, and it seems the error
  message itself does not provide valid (or, at least, sufficient)
  information.
 
  Could someone please help, or point me in the right direction?
 
 Did you read the tuning(7) manpage, as instructed?
 
 Kris
 
Hi Kris,

Yes, and it contained quite a bit of informaiton.  But it does not
seem to contain this error directly, nor any procedural information on
how to alleviate the error.

I also read here:
http://lists.freebsd.org/pipermail/freebsd-current/2004-January/019150.html
the error message is incorrect. and This value is loader tunable only.

And here:
http://www.linuxquestions.org/questions/archive/17/2004/11/3/255979
Unfortunately the man page for tunining doesn't seem to have anything
specifically about increasing the value of kern.ipc.maxpipekva.

I have the box working as a dumb terminal, and I'm no longer able to
SSH in.  Apparently, I can set the values of the kernel parameters I
need to change either at boot time, or in loader.conf.  I will try
that, once I attach a montitor and keys and figure out how to do it,
along with which parameters I need to change, and what the values
should be for my system.

By the way: thank you for responding to me, and copying the list, as I
thought was the best-practice protocol for the list; it seems to have
become a forgotten art.

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


Re: dd on samba

2005-03-14 Thread Alejandro Pulver
On Mon, 14 Mar 2005 13:34:17 +
Pietro Cerutti [EMAIL PROTECTED] wrote:

 On Mon, 14 Mar 2005 13:27:19 +, Pietro Cerutti
 [EMAIL PROTECTED] wrote:
  dd and dump won't work (they won't put the data on a directory).
 
 Maybe I solved it, by  making
 # dd if=/dev/ad0 of=/mnt/some_file.dd bs=2m
 
 But how is goint to be to restore the whole filesystem?
 
 Thanks!
 
 
 -- 
 Pietro Piter Cerutti
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 
 Beansidhe - SwiSS Death / Thrash Metal
 www.beansidhe.ch
 
 Windows: Where do you want to go today?
 Linux: Where do you want to go tomorrow?
 FreeBSD: Are you guys coming or what?

Hello,

I have free space between two slices to I tried to do the same as you.

When you have the image of a slice generated by 'dd', it contains its
partitions and filesystems. First you may want to make that slice image
(file) to appear in '/dev', so you can manipulate its partitions. This
is done (in FreeBSD 5.X, if you use 4.X use'vnconfig', there are
examples in the Handbook) like with a CD-ROM ISO image (see the
Handbook-Storage):

mdconfig -a -t vnode -f file -u n

It will appear in '/dev' as 'mdn', with its partitions, like the
following:

md1a
md1c
[...]

So you can mount them, dump them, etc., like with a slice (in fact,
it is an image of a slice).

When you end what you want to do with it, do (after unmounting the
partitions):

mdconfig -d -u n

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


Re: CD Doesn't boot

2005-03-14 Thread Alejandro Pulver
On Mon, 14 Mar 2005 16:50:54 -0600
Teilhard Knight [EMAIL PROTECTED] wrote:

 From: Alejandro Pulver [EMAIL PROTECTED]
 To: Teilhard Knight [EMAIL PROTECTED]
 Cc: FreeBSD freebsd-questions@freebsd.org
 Sent: Monday, March 14, 2005 10:28 AM
 Subject: Re: CD Doesn't boot
 
 
  On Mon, 14 Mar 2005 10:01:10 -0600
  Teilhard Knight [EMAIL PROTECTED] wrote:
 
  I am trying to install FreeBSD 5.3 in a laptop which I just
 recently bought. Problem is that the installation CD wouldn't boot.
 I have tried burning several brands of disks and trying them in
 other computers and I am now sure is not the media. I even disabled
  hyperthreading in the BIOS and nothing. Anyone can offer some
 advise about what to do?
 
  Teilhard.
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
  Hello,
 
  If you have set up your BIOS settings properly (to boot from a CD,
  and then from the disk), and it does not boot, maybe you just burned
  the ISO as a normal file in the CD.
 
  An ISO file is an image of the entire CD (it has a TOC, the
  bootable part, etc.), and to burn it there should be an option on
  the burning program (something containing the word ISO, and a
  browser to select a file).
 
  Check this, if when you burn the cd and you read it you see only the
  ISO file, it is not right. If you see a lot of directories like
  'boot','packages', it is fine, and it should boot.
 
  Best Regards,
 
 Thanks, Ale. I know how to burn images and the CD boots until the menu
 where you get the choices about what kind of kernel boot you want. I
 cannot boot even in safe mode. :o(.
 
 Teilhard. 
 

Hello,

Sorry, you did not mentioned it.

What error messages do you get?

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


gdesklet need gtkhtml2, and gtkhtml2 isn't in port

2005-03-14 Thread Bachelier Vincent

Gdesklets wouldn't want to run because gtkhtml2 miss
and gtkhtml2 isn't in port, they is the 1 and the 3 !
any idea ?


==[03/14/05-23:55:53]===
Deprecation: Sensors are deprecated since v0.30.
Please consider using controls and inline scripts.



==[03/14/05-23:55:53]===
Deprecation: Sensors are deprecated since v0.30.
Please consider using controls and inline scripts.



==[03/14/05-23:55:53]===
Adding 
/usr/X11R6/share/gnome/gdesklets/Displays/GoodWeather/GoodWeather.display 
with ID id11108409530644959 to the display list.



==[03/14/05-23:55:53]===
Execution of handler (bound method Starter.__handle_open_display of 
main.Starter.Starter instance at 0x82416ac, 
['/usr/X11R6/share/gnome/gdesklets/Displays/GoodWeather/GoodWeather.display']) 
failed!

[EXC]exceptions.ImportError:
[EXC]No module named gtkhtml2
[---]/usr/X11R6/lib/gdesklets/utils/ErrorFormatter.py
[---]  114 # give us an absolute path.
[---]  115 #
[---]  116 _old_imp = __import__
[---]  117 def _new_imp(name, globs = {}, locls = {}, fromlist = []):
[---]  118
[ERR] 119 module = _old_imp(name, globs, locls, fromlist)
[---]  120 # builtin modules have no __file__ attribute, so we have to 
check for it
[---]  121 if (hasattr(module, __file__)):
[---]  122 module.__file__ = os.path.abspath(module.__file__)
[---]  123 return module
[---]  124
[---]  125 import __builtin__


Getting website...
_sre.SRE_Match object at 0x880f3a0
Tempelhof Arpt/Berlin
_sre.SRE_Match object at 0x880b6e0
Monday
===
_sre.SRE_Match object at 0x87bc578
SSW
Observation:  ( @Berlin, 23:20 LT Mon 14 Mar 05 )
  ( with 0 forecasts )
  icon: 33
  sky : Fair
  temperature : 1 #176;C
  relative_heat   : -1 #176;C
  dewpoint: -2 #176;C
  visibility  : 6.2 km
  uv  : 0
  pollution   : 0
  wind: SSW
  wind_speed  : 10 kph
  reverse_wind_arrows : 0
  wind_icon   : wind_icons/weak/SSW.png
  humidity: 81 %
  pressure: 1016 mbar
  pressure_change : steady
_sre.SRE_Match object at 0x8807548
+++Today's Forecast
Forecast:  Mon ( date=Mar 14 )
  icon: 44
  sky : N/a
  temperature_low : 0 #176;C
  temperature_high: N/A
  uv  : N/A
  pollution   : 0
  wind_speed  : 0 kph
  wind: Calm
  humidity: 0 %
  rain: 30 %
  pressure: 0 mbar
  pressure_change : N/A
  sunrise : N/A
  sunset  : N/A
Forecast:  Tue ( date=Mar 15 )
  icon: 39
  sky : Pm showers
  temperature_low : 6 #176;C
  temperature_high: 8 #176;C
  uv  : N/A
  pollution   : 0
  wind_speed  : 0 kph
  wind: Calm
  humidity: 0 %
  rain: 50 %
  pressure: 0 mbar
  pressure_change : N/A
  sunrise : N/A
  sunset  : N/A
Forecast:  Wed ( date=Mar 16 )
  icon: 11
  sky : Showers
  temperature_low : 6 #176;C
  temperature_high: 12 #176;C
  uv  : N/A
  pollution   : 0
  wind_speed  : 0 kph
  wind: Calm
  humidity: 0 %
  rain: 50 %
  pressure: 0 mbar
  pressure_change : N/A
  sunrise : N/A
  sunset  : N/A
Forecast:  Thu ( date=Mar 17 )
  icon: 11
  sky : Light rain
  temperature_low : 8 #176;C
  temperature_high: 11 #176;C
  uv  : N/A
  pollution   : 0
  wind_speed  : 0 kph
  wind: Calm
  humidity: 0 %
  rain: 60 %
  pressure: 0 mbar
  pressure_change : N/A
  sunrise : N/A
  sunset  : N/A
Forecast:  Fri ( date=Mar 18 )
  icon: 11
  sky : Light rain
  temperature_low : 7 #176;C
  temperature_high: 11 #176;C
  uv  : N/A
  pollution   : 0
  wind_speed  : 0 kph
  wind: Calm
  humidity: 0 %
  rain: 60 %
  pressure: 0 mbar
  pressure_change : N/A
  sunrise : N/A
  sunset  : N/A

==[03/14/05-23:57:51]===
Could not remove display Display object (GtkHBox) at 0x88130dc!



==[03/14/05-23:57:51]===
Could not remove display Display object (GtkHBox) at 0x85598c4!



==[03/14/05-23:57:51]===
Could not remove display Display object (GtkHBox) at 0x87a5b2c!

-- 
Vincent Bachelier [EMAIL PROTECTED]
Language: Francais / English
Societ(e/y) : Solintech - http://www.solintech.fr - Serveurs linux
Blog: http://dieghostfbsd.blogspot.com
Site perso  : 

Re: If I have portmanager, do I need portupgrade?

2005-03-14 Thread Lee Harr
 I keep hearing great things about portmanager, but I have
 not been able to run it... when I try, I get:


 # portmanager -s
 -
--- PMGRrStatus 0.2.9_3 info: Creating inital data bases
 -
--- PMGRrVerifyContentsFile 0.2.9_3 error: could not open
 /var/db/pkg/mailman-2.1.5_2/+CONTENTS
 system message: No such file or directory
 Assertion failed: (0), function PMGRrVerifyContentsFile, file
 PMGRrVerifyContentsFile.c,line 75.
 Abort (core dumped)


 What am I doing wrong?
Does /var/db/pkg/mailman-2.1.5_2 exist on your system? If so
does  /var/db/pkg/mailman-2.1.5_2/+CONTENTS exist?

Ah...
# ls -ld /var/db/pkg/mail*
drwxr-xr-x  2 root  wheel  512 Feb 15 21:43 /var/db/pkg/mailman-2.1.5_2
# ls -l  /var/db/pkg/mailman-2.1.5_2
total 0
# pkg_info | grep mail
pkg_info: the package info for package 'mailman-2.1.5_2' is corrupt
I re-installed mailman and now portmanager is working.
Still... seems like it should not dump core on the
corrupt package info.
Thanks for your help.
_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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


Re: If I have portmanager, do I need portupgrade?

2005-03-14 Thread Michael C. Shultz
On Monday 14 March 2005 03:16 pm, Lee Harr wrote:
   I keep hearing great things about portmanager, but I have
   not been able to run it... when I try, I get:
  
  
   # portmanager -s
   -
   --- PMGRrStatus 0.2.9_3 info: Creating inital data bases
   -
   --- PMGRrVerifyContentsFile 0.2.9_3 error: could not open
   /var/db/pkg/mailman-2.1.5_2/+CONTENTS
   system message: No such file or directory
   Assertion failed: (0), function PMGRrVerifyContentsFile, file
   PMGRrVerifyContentsFile.c,line 75.
   Abort (core dumped)
  
  
   What am I doing wrong?
 
 Does /var/db/pkg/mailman-2.1.5_2 exist on your system? If so
 does  /var/db/pkg/mailman-2.1.5_2/+CONTENTS exist?

 Ah...

 # ls -ld /var/db/pkg/mail*
 drwxr-xr-x  2 root  wheel  512 Feb 15 21:43
 /var/db/pkg/mailman-2.1.5_2 # ls -l  /var/db/pkg/mailman-2.1.5_2
 total 0
 # pkg_info | grep mail
 pkg_info: the package info for package 'mailman-2.1.5_2' is corrupt


 I re-installed mailman and now portmanager is working.

 Still... seems like it should not dump core on the
 corrupt package info.

 Thanks for your help.

Your welcome. I'll take your suggestion and make a more informative
message.  Using pkg_info was a great idea, I'll use that for producing 
the message. :)

-Mike

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


Re: logitech cordless mouse w/ freebsd 5.3 stable

2005-03-14 Thread Eric
Chuck Robey wrote:
On Mon, 14 Mar 2005, Eric wrote:
 

I removed above this  to save some bandwidth, as bandwidth is not free
every where in the world :)
Chuck Robey wrote:
   

I then edit the pointer section of  /etc/X11/xorg.conf to:
  Identifier  Mouse1
  Driver  mouse
  Option ProtocolAuto
  Option Device  /dev/bpsm0
   

I am running FreeBSD-6.0-current, but I bet it works for you like it works
(just fine) for me.  Try it, what have you got to lose?  However, if it
works, you owe us a usage report, Sirrah!
Anyhow, FreeBSD is not terribly willing to share the mouse.  When it
boots, the stupid thing will start 'moused' processes on both mouses.
Check this with:
ps -ax | grep mouse
if it's like I think it is, one of the lines that come back will report a
device filename of ums0.  You need this process dead, dead, dead.  You
*could*, I suppose, edit /etc/usbd.conf ...
After you do that, the stuff you have above for Xorg isn't enough either,
cause you left out the wheel.  take those lines out and replace them with
Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  Option  Protocol auto
  Option  Device /dev/ums0
  Option Buttons 5
  Option ZAxisMapping 4 5
EndSection
Don't forget, at the top:
Section ServerLayout
  Identifier X.org Configured
  Screen  0  Screen0 0 0
  InputDeviceMouse0 CorePointer
  InputDeviceKeyboard0 CoreKeyboard
EndSection
Try this, tell me how it works.

 

Chuck,
 Setting my mouse driver to ums0, will make X crash before loading.
My box never reported the ums0 device/the usb mouse. The usbd is
running. There is no moused processes running on this box, as it is
disabled in /etc/rc.conf. I get the scroll wheel to work as a middle
button, but you are right, the scroll feature does not work.
   

Just 1 thing I need to confirm: did you kill the moused process BEFORE
starting X?  Because if you didn't, that's exactly what happens to me.  I
need to kill the moused process that is tying up ums0, then I can start up
X.
 

I do not have any problem with the moused running at all (after doing 
the steps in the original email). Also as far as my os is concerned 
there is no USB mouse attached to the workstation. We are using 
different versions of FreeBSD :)

By editing /etc/rc.conf and adding this line at the end: 
moused_enable=NO , and then rebooting, keeps my moused from starting. 
I suppose I could have done #killall -9 moused *and* edited /etc/rc.conf 
with no immediate reboot. When I appended the line to 
/boot/device.hints, I rebooted for that too. This box is a workstation 
with one user, me, so uptime is not a issue.

As far as the order of the steps, please see the original email. I did 
start X last after doing everything in the original email, as the mouse 
did not work at all until all steps were complete.

   Option Buttons 5
   Option ZAxisMapping 4 5
Setting those two options does not enable the scroll wheel. I think that
is due to the generic PS/2 driver reported in dmesg. Having a working
scroll  wheel was never  a issue for  me :) Also note, I never tried
FreeBSD 6.x .
   

No, let's fix the mouse first, then we worry about the mouse wheel.
 

I re-read man psm and I believe the flags i set (/boot/device.hints) 
keep the mouse driver at level 0.
A level 1 driver would make the scroll wheel work. When I boot with a 
level 1 driver, my mouse is completly dead in X. It is beyond my skills 
and desire, to code a custom driver :)

I am not sure if the following info matters or not:
This is included as it may give you some hints for fixing the wheel
feature. This mouse config was a combination of some google hints that
led me to look at, 'man psm', 'man device.hints', and my experience
with  Freebsd 4.x. FreeBSD 4.x taught me  that  using  /dev/bpsm0 in
the  X config would work, with this mouse and this kvm. I  didn't try
setting up the moused in /etc/rc.conf with FreeBSD 5.x.  In FreeBSD 4.x
adding the bpsm0 config to /etc/rc.conf just lead to error messages
getting reported to my shells every so often.
Here is some additional info:
%ls /dev
acd0ata fidopsm0ttyv3
acpiatkbd0  geom.ctlptyp0   ttyv4
ad0 audio0.0io  ptyp1   ttyv5
ad0s1   audio0.1kbd0ptyp2   ttyv6
ad0s10  bpf0klogptyp3   ttyv7
ad0s1a  bpsm0   kmemrandom  ttyv8
ad0s1b  console log sndstat ttyv9
ad0s1c  consolectl  lpt0stderr  ttyva
ad0s1d  cttylpt0.ctlstdin   ttyvb
ad0s1e  cuaa0   mdctl   stdout  ttyvc
ad0s1f  cuaia0  mem sysmousettyvd
ad0s2   cuala0  mixer0  ttyd0   ttyve
ad0s3 

Correction CD doesn't boot

2005-03-14 Thread Teilhard Knight
I posted this message a while ago:
I am trying to install FreeBSD 5.3 in a laptop which I just recently 
bought.
Problem is that the installation CD wouldn't boot. I have tried burning
several brands of disks and trying them in other computers and I am now sure
is not the media. I even disabled hyperthreading in the BIOS and nothing.
Anyone can offer some advise about what to do?

What I should have said is that the CD itself boots but doesn't boot the 
kernel. After selecting the kind of kernel boot you want, I get a line and 
everything freezes. Sorry for my bad explaining.

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


Is this a good or a bad idea to delete all off this ?

2005-03-14 Thread Gert Cuykens
Is this a good or a bad idea to delete all off this ?

portmanager -sl

xorg-fontserver-6.7.0 dir -= /usr/ports/x11-servers/xorg-fontserver
COMMENT=X font server from X.Org

xorg-fonts-type1-6.7.0 dir -= /usr/ports/x11-fonts/xorg-fonts-type1
COMMENT=X.Org Type1 fonts

xorg-fonts-cyrillic-6.7.0 dir -= /usr/ports/x11-fonts/xorg-fonts-cyrillic
COMMENT=X.Org Cyrillic bitmap fonts

xorg-fonts-100dpi-6.7.0 dir -= /usr/ports/x11-fonts/xorg-fonts-100dpi
COMMENT=X.Org 100dpi bitmap fonts

xorg-fonts-75dpi-6.7.0 dir -= /usr/ports/x11-fonts/xorg-fonts-75dpi
COMMENT=X.Org 75dpi bitmap fonts

xorg-fonts-miscbitmaps-6.7.0 dir -=
/usr/ports/x11-fonts/xorg-fonts-miscbitmapsCOMMENT=X.Org
miscellaneous bitmap fonts

xorg-vfbserver-6.7.0 dir -= /usr/ports/x11-servers/xorg-vfbserver
COMMENT=X virtual framebuffer server from X.Org

xorg-printserver-6.7.0 dir -= /usr/ports/x11-servers/xorg-printserver
COMMENT=X Print server from X.Org

xorg-nestserver-6.7.0 dir -= /usr/ports/x11-servers/xorg-nestserver
COMMENT=Nesting X server from X.Org

xorg-server-6.7.0_9 dir -= /usr/ports/x11-servers/xorg-server
COMMENT=X.Org X server and related programs

xorg-manpages-6.7.0 dir -= /usr/ports/x11/xorg-manpages
COMMENT=X.Org library manual pages

xorg-clients-6.7.0_5 dir -= /usr/ports/x11/xorg-clients
COMMENT=X client programs and related files from X.Org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPMI doesn't work...

2005-03-14 Thread Jeff
Thomas Foster wrote:
How are you attempting to manage the server.. via a command line or 
terminal emulation software directly to the BMC?  What amangement 
software ships with the IBM?  Once the kernel loads, you need to 
perform SOL (serial redirection over LAN), or use management software 
the speaks directly with the BMC..

Just curious a little bit more about your setup
T
We've only used command line tools which speak directly to the BMC.  The 
strange thing with these boxes is the network card is also used by the 
BMC.  You configure (via the bios) a BMC IP address which is different 
from what the NIC is assigned via the OS.  Like I said earlier, we're 
able to query/control the chassis just fine when the box is powered off 
or when it's booting, but as soon as the kernel loads, we lose control 
and simply no longer get any response from the BMC.  This is  not he 
case with the linux distros we've tried, so I'm guessing it's somehow to 
do with the NIC driver that BSD is loading...

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


Re: Is this a good or a bad idea to delete all off this ?

2005-03-14 Thread Gert Cuykens
On Mon, 14 Mar 2005 16:21:50 -0800, Michael C. Shultz
[EMAIL PROTECTED] wrote:
 On Monday 14 March 2005 04:06 pm, Gert Cuykens wrote:
  Is this a good or a bad idea to delete all off this ?
 
  portmanager -sl
 
  xorg-fontserver-6.7.0 dir -= /usr/ports/x11-servers/xorg-fontserver
  COMMENT=X font server from X.Org
 
  xorg-fonts-type1-6.7.0 dir -= /usr/ports/x11-fonts/xorg-fonts-type1
  COMMENT=X.Org Type1 fonts
 
  xorg-fonts-cyrillic-6.7.0 dir -=
  /usr/ports/x11-fonts/xorg-fonts-cyrillic COMMENT=X.Org
  Cyrillic bitmap fonts
 
  xorg-fonts-100dpi-6.7.0 dir -=
  /usr/ports/x11-fonts/xorg-fonts-100dpi COMMENT=X.Org 100dpi
  bitmap fonts
 
  xorg-fonts-75dpi-6.7.0 dir -= /usr/ports/x11-fonts/xorg-fonts-75dpi
  COMMENT=X.Org 75dpi bitmap fonts
 
  xorg-fonts-miscbitmaps-6.7.0 dir -=
  /usr/ports/x11-fonts/xorg-fonts-miscbitmapsCOMMENT=X.Org
  miscellaneous bitmap fonts
 
  xorg-vfbserver-6.7.0 dir -= /usr/ports/x11-servers/xorg-vfbserver
  COMMENT=X virtual framebuffer server from X.Org
 
  xorg-printserver-6.7.0 dir -=
  /usr/ports/x11-servers/xorg-printserver COMMENT=X Print
  server from X.Org
 
  xorg-nestserver-6.7.0 dir -= /usr/ports/x11-servers/xorg-nestserver
  COMMENT=Nesting X server from X.Org
 
  xorg-server-6.7.0_9 dir -= /usr/ports/x11-servers/xorg-server
  COMMENT=X.Org X server and related programs
 
  xorg-manpages-6.7.0 dir -= /usr/ports/x11/xorg-manpages
  COMMENT=X.Org library manual pages
 
  xorg-clients-6.7.0_5 dir -= /usr/ports/x11/xorg-clients
  COMMENT=X client programs and related files from X.Org
 
 Gert, nothing you have installed has those ports listed as run
 dependencies so technically you may delete them all.  But to be safe,
 do run portmanager -u right afterwards and see if any other ports cause
 them to be pulled back in. Likely some of the fonts and xorg-clients
 will be pulled back in by another port.
 
 -Mike
 

ok i deleted them i now have a new one i like to delete :)


Ports with no ports depending on them AKA leaf ports.
These ports may be safely deinstalled because no other ports
list these as dependencies.

xorg-server-6.7.0_9 /usr/ports/x11-servers/xorg-server

This package contains the X.Org X server and some associated programs.

WWW: http://www.freedesktop.org/Software/xorg

- Eric Anholt
[EMAIL PROTECTED]



SPACEENTER to skip
XENTER removes port
NENTER *Nuke it*, removes distribution files


 
Are you sure its a leaf port ? Because i have gnome2-lite running ? Is
gnome still going to work if i nuke this ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >