Re: Switching between half-duplex and full duplex

2007-06-03 Thread Rudolf Cejka
Pang wrote (2007/06/03):
>  I have just installed FreeBSD and found that the nic em0 is set to 
> half-duplex only. Could anyone tell me how I can switch it to full-duplex?
> em0: flags=8843 mtu 1500
>options=b
>inet 172.16.0.2 netmask 0xfffc broadcast 172.16.0.1
>ether XX:XX:XX:XX:XX:XX
>media: Ethernet autoselect (10baseT/UTP )
>status: active

Hello, so I was right? ;o) I assume, that you have more capable device
on the other side, atleast 100 Mb/s full-duplex. In that case, you should
check, what connection type is "seen" on the other side (switches with
management!). Then you can check auto-negotiation settings on the other
side, try to change ethernet cable - it would be faulty and auto-neg would
not work correctly, then look, which chipset do you have - the driver would
not work with too new chips, I have here some ICH8 machines, which do work
just 100 Mb/s instead of 1 Gb/s (I expect that -current should work now).

Regards.

PS: Another very good command is ifconfig -m em0, where you can see all
allowed media/mediaopt combinations.

-- 
Rudolf Cejka  http://www.fit.vutbr.cz/~cejkar
Brno University of Technology, Faculty of Information Technology
Bozetechova 2, 612 66  Brno, Czech Republic
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange Intel Mobo Behavior

2007-06-03 Thread Tim Daneliuk

[EMAIL PROTECTED] wrote:

At 02:08 PM 6/3/2007, Tim Daneliuk wrote:

3) Both the MOBO and drive are SATA-300 rated, but 6.2 insists that
   the drive is running at SATA-150.  I have verified that the drive
   has no jumper forcing it into this mode.


Don't know about the other issues, but I have a Dell with similar Intel 
components, and it did the same SATA thing when I put a new drive in it 
yesterday:


atapci1:  port 
0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfea0-0xfeaf 
irq 20 at device 31.2 on pci0

ad4: 76293MB  at ata2-master SATA150
ad6: 305245MB  at ata3-master SATA150

The ad6 drive is supposed to do SATA-300, but realistically, other 
bottlenecks dictate it's not going to get anywhere near the '150 speed, 


Could you comment a bit more on why you think this is so.  I would
think that with modern processors and buses, a machine with light load
ought to be able to drive SATA-300, but I've never actuall tested for
it myself.

so I'm not terribly worried about it.  cp'ing a 4GB file to /dev/null 
yielded 57MB/sec.


  -RW


I get around 50MB/sec or so with about 2G file, so we're in the same
ballpark.  In round numbers, this is 1/3 the theoretical throughput
of a SATA-150 or 1/6 that of SATA-300.  Now, I *am* curious on what
the bottlenecks are.  50MB/sec isn't a whole lot different that what
I'd expect out of a modern PATA drive.  So, noting the better cabling
and the wide availability of on-board RAID, it sure looks to me like there
is no compelling argument to be made for SATA in non-RAIDed environments.
I'm guessing the drives are the same ones as their PATA counterparts, just
with different interface electronics, so we're not going to see SCSI-like
reliability and/or performance under load.

I can understand some overhead due to system dispatching and multitasking,
but in a lightly loaded machine (as mine was when I did the test) with
2G of memory and dual 3.2G processors, it seems very strange that the
drive should run at 1/3 or less the stated interface speed.  What am I
missing here, I wonder...


Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Configure ipaddress and route entries in /etc/rc.conf file

2007-06-03 Thread bsenthil
I am trying to configure ipaddress and route entries. so that i added 
below the entries in /etc/rc.conf file.


vi /etc/rc.conf

inetd_enable="YES"
hostname="test.abc.com"
ifconfig_fxp0="inet 192.168.110.14  netmask 255.255.255.0"
defaultrouter="192.168.110.2"
hostname="test.abc.com"
static_routes="net1 net2"
route_net1="-net 192.168.1.1/24 192.168.110.2"
route_net2="-net 192.168.2.1/24 192.168.110.2"

and then i restated the network services "netif restart"

The below entries are listed in router table ...
$ netstat -nr

Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
127.0.0.1  127.0.0.1  UH  00lo0
192.168.110link#1 UC  00   fxp0


Problem :: Default router entries and net1 & net2 entries are not added 
in router table...


Please advice me anything i want to configue more in rc.conf file
I can able to add default router by executing " route add -net 0.0.0.0 
192.168.110.2"


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


GRUB / boot easy problems w / USB stick

2007-06-03 Thread Fred Davidson

--- Andrey Shuvikov <[EMAIL PROTECTED]> wrote:
 
> Did you copy it recursively (with sub-directories)?
> If yes then you
> didn't need to copy
> /boot/grub separately. If no, you'll probably need
> to copy at least
> /boot/defaults .
> And /boot/kernel as well if you really want to
> boot...
> 
> Andrey

# In /boot I did

cp -Rpv * /usb/boot

#I'm not sure why it can get as far as the BTX loader 
#info, but can't manage to load the kernel.  It
clearly
#can read the ufs2 now. I don't really know much about
#the specifics of the startup process, but I thought 
#as soon as the loader was invoked, the first thing it

#tries to do is load the kernel into memory.  I just
#double checked and the kernel is located on the stick
#at USB/boot/kernel/kernel.  This must have happened
to #someone else before.  

-Fred

p.s. just a shot in the dark, but does anyone think
grub might not be able to load the kernel because it
runs out of some kind of internal allotment of memory?






 

Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/

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


Re: Strange Intel Mobo Behavior

2007-06-03 Thread Tim Daneliuk

Norberto Meijome wrote:


Maybe unrelated - I had a similar problem yesterday on a small box @ home - it
was stopping for about 2 minutes or so just before showing the line about ad0.
It turned out one of the PCI cards (TV card) had become a bit lose and was
obvioulsy causing problems. Once this was solved, it booted fine with no
problem.


I'll look into this.  When this happened, did the floppy light up as well?




4) I *cannot* get xorg 7.2 to work with the onboard video.
If I configure it as a VESA video system, all is well.
If I try to tell it that I am using i810 video, I get this:

  X Window System Version 7.2.0
 Release Date: 22 January 2007





do you have AGP support in your kernel ? 


I am using the stock SMP kernel config that includes GENERIC,
which does have 'device agp' in it.



Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: php5-extensions and xorg libraries

2007-06-03 Thread Zbigniew Szalbot

Hello,

Norberto Meijome pisze:


On Sun, 03 Jun 2007 01:32:57 +0200
Zbigniew Szalbot <[EMAIL PROTECTED]> wrote:


Hello,

I will appreciate any help. When trying to install php5-extensions, I 
get the following error:


===>  Applying FreeBSD patches for php5-gd-5.2.2
===>   php5-gd-5.2.2 depends on executable in : phpize - found
===>   php5-gd-5.2.2 depends on file: /usr/local/bin/autoconf259 - found
===>   php5-gd-5.2.2 depends on file: /usr/local/libdata/xorg/libraries 
- not found
===>Verifying install for /usr/local/libdata/xorg/libraries in 
/usr/ports/x11/xorg-libraries

Read /usr/ports/UPDATING for the procedure to upgrade or install xorg 7.2.

[]



I cannot install php5-extensions, nor xorg nor xorg-libraries. I am lost 
as to what to do. Many thanks in advance!


Hi Zbigniew,
yeah...one of those nits that I dont think it's properly explained. From my own
experience and discussion in ports@ :

http://lists.freebsd.org/pipermail/freebsd-ports/2007-May/041207.html

1)Bypass the dependency altogether: php5-gd itself is not the problem, but
rather libgd, with XPM support enabled (I haven't confirmed it , but it makes
perfect sense).


I would love to choose this route as I have a headless installation and 
need no X11 whatsoever. I do not think I need XPM but how can I bypass 
this dependency? In Makefile for php4-extensions (as actually I want to 
install php4 and its extensions but I tried with php5 wrongly assuming 
php4 was the problem) I have

GD  "GD library support" off \

Could you please advise how to disable the dependency?


Many thanks in advance!

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


Re: purging old mail

2007-06-03 Thread mats . lindberg
Jonathan McKeown <[EMAIL PROTECTED]> wrote on 2007-06-01 14:31:48:

> On Friday 01 June 2007 14:11, Steve Bertrand wrote:
> > [EMAIL PROTECTED] wrote:
> > > Hi all,
> > > I'm setting up a FreeBSD 5.4 system that need to run unattended for 
a
> > > year or more.
> > > I've noticed that the /var/mail/root file grows a bit over time.
> > >
> > > Do I need to configure the system in some way to prevent this file 
from
> > > growing indefinately, filling up the /var partition?
> >
> > Are you actually interested in reading root mail?
> >
> > Are you running sendmail?
> >
> > If so, in the /etc/mail/aliases file, change the root alias to an 
email
> > address that someone actually POP's.
> >
> > If you don't want to read the email at all, change the root alias to
> > point to /dev/null.
> 
> What I've been caught by a couple of times is the periodic(8) routines, 
which 
> quickly fill roots mailbox with daily, weekly and monthly status 
reports.
> 
> If you're not going to forward these to a real user but still want to 
keep 
> (some of) them available, put
> 
> daily_output="/var/log/daily.log"
> weekly_output="/var/log/weekly.log"
> monthly_output="/var/log/monthly.log"
> 
> in /etc/periodic.conf. The relevant reports will be logged into the 
> respective 
> files, and newsyslog already knows to rotate these if they exist, so 
they 
> won't grow endlessly (by default, /etc/newsyslog.conf keeps a week of 
dailys, 
> 5 weeks of weeklys and a year of monthlys).
> 
> Jonathan

Thanks guys
This was really usefuk

___
 

This e-mail communication (and any attachment/s) may contain confidential 
or privileged information and is intended only for the individual(s) or 
entity named above and to others who have been specifically authorized to 
receive it. If you are not the intended recipient, please do not read, 
copy, use or disclose the contents of this communication to others. Please 
notify the sender that you have received this e-mail in error by reply 
e-mail, and delete the e-mail subsequently. Please note that in order to 
protect the security of our information systems an AntiSPAM solution is in 
use and will browse through incoming emails. 
Thank you. 
_
 


Ce message (ainsi que le(s) fichier/s), transmis par courriel, peut 
contenir des renseignements confidentiels ou protégés et est destiné à 
l?usage exclusif du destinataire ci-dessus. Toute autre personne est par 
les présentes avisée qu?il est strictement interdit de le diffuser, le 
distribuer ou le reproduire. Si vous l?avez reçu par inadvertance, 
veuillez nous en aviser et détruire ce message. Veuillez prendre note 
qu'une solution antipollupostage (AntiSPAM) est utilisée afin d'assurer la 
sécurité de nos systems d'information et qu'elle furètera les courriels 
entrant.
Merci. 
_
 


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


Re: repair a FreeBSD install

2007-06-03 Thread Chad Perrin
On Sun, Jun 03, 2007 at 09:35:36PM -0400, Jerry McAllister wrote:
> On Sun, Jun 03, 2007 at 01:17:00PM -0600, Chad Perrin wrote:
> 
> > Someone I know tried installing Slackware on a Thinkpad R52 to create a
> > triple-boot system (MS Windows and FreeBSD 6.2 as the other two, already
> > present on the system).  The Slackware install didn't get very far (the
> > installer is less than helpful -- wouldn't recognize a swap partition at
> > all), but apparently it got far enough to break the FreeBSD install.
> > 
> > Any tips, hints, and suggestions about how exactly to go about fixing
> > the FreeBSD install (without overwriting the home partition and losing
> > the installed system configuration to minimize time lost getting things
> > back to "normal") would be appreciated.  Thanks in advance.
> 
> Well, you don't say very much about just what you did and where,
> so it leaves only wild guesses.   But one guess is that your other 
> install wiped out the MBR on the disk.
> 
> To fix that, you can boot up the install CD and select  running
> the fixit.   From the fixit use fdisk to install the FreeBSD MBR
> or I think it also has boot0config.   Then try rebooting.  If that
> doesn't help, then we'll have to have some more detailed inf0 --
> like the slices and their layout, what order you installed things
> and maybe some other stuff.

After talking more with the person who owns the laptop and doing some
more investigation, I've come to the conclusion that the actual source
of the problem was QtParted.  The system was booted with a Slackware
installer and an attempt was made to create a swap partition using fdisk
from there, but the Slackware installer didn't recognize it (yes, after
rebooting).  It was attempted again by booting from a Knoppix CD, using
QtParted.  Once that was done the Slackware installer was booted again,
and still did not recognize the existence of a Linux swap partition.

After that, booting into FreeBSD was attempted, and it hung after
selecting F3 (the option for FreeBSD), thus bringing us to the point
where a problem was noticed.

We used QtParted to check out the partition setup, after re-identifying
the FreeBSD slice as such using fdisk from a Knoppix root shell.  It
appears that QtParted automatically classifies the FreeBSD partition
(or "slice" if you prefer -- QtParted calls it a partition) as a Linux
swap partition, and thus thinks there are *two* Linux swap partitions on
the drive.  I think that writing a new partition table to disk after
telling it to add a new swap partition for Slackware caused it to also
change the identification of the FreeBSD partition to a swap partition.

Having already changed its label to identify it as a FreeBSD partition,
I guess the next step is to make it bootable -- not using QtParted, of
course.  I'm frankly stunned that it supports NTFS but not UFS.  Am I
the only one that thinks that's just not right, somehow?

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Rudy Giuliani: "You have free speech so I can be heard."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IPSec-NAT setup using racoon2

2007-06-03 Thread Norberto Meijome
On Fri, 1 Jun 2007 18:20:01 +0530
"SethuRaman Krishnasamy" <[EMAIL PROTECTED]> wrote:

>   I would like to know if IPSec-NATT setup can
> be made using racoon2 and the procedure for the same. I'm using
> racoon2 version racoon2-20061228a

AFAIK, you need IPSEC_NATT support in the kernel. search the archives of this
list and -net@ for info on the patch for -STABLE (and -CURRENT, i think)

_
{Beto|Norberto|Numard} Meijome

"Tell a person you're the Metatron and they stare at you blankly.
 Mention something out of a Charleton Heston movie and suddenly everyone's a
Theology scholar!" Dogma

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: downgrading from php5 to php4

2007-06-03 Thread Norberto Meijome
On Sat, 02 Jun 2007 13:59:37 +0200
Zbigniew Szalbot <[EMAIL PROTECTED]> wrote:

> I am looking for advice how to best downgrade to php4. Is it ok to use 
> "make uninstall" for php5 and php5-extensions followed by make install 
> for php4?

that's about it - if anything links to php (i doubt it) you may have to rebuild
it. If you have webapps that work in either, you shouldn't really need to
reinstall them (unless they install different files depending on what version
of PHP you are running) - just do force in the php4 install and then run pkgdb
-F to fix all the pkgs dependencies.

_
{Beto|Norberto|Numard} Meijome

"Imagination is more important than knowledge."
  Albert Einstein, On Science

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
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 disable command prompt history?

2007-06-03 Thread Norberto Meijome
On Sun, 03 Jun 2007 22:37:59 -0400
Kevin Hunter <[EMAIL PROTECTED]> wrote:

> Also, why are you worried about them seeing what commands you've been
> running?  My first thought is that at the point a malicious someone has
> broken into your system, you have (much) bigger things to worry about.

good point. I do have this done in my laptop, only because I can :D (and a bit 
harder for someone to know what u're supposed to do to mount the encrypted 
drives big deal :D )

anyway, I just linked ~/.bash_history to /dev/null - history works within the 
current shell, but not once I've exited. Anyway, having multiple shells writing 
to the same history file is always problematic - it never keeps the one you 
really need :-S

_
{Beto|Norberto|Numard} Meijome

"He uses statistics as a drunken man uses lamp-posts ... for support rather 
than illumination."
  Andrew Lang (1844-1912)

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange Intel Mobo Behavior

2007-06-03 Thread Norberto Meijome
On Sun, 03 Jun 2007 13:08:02 -0500
Tim Daneliuk <[EMAIL PROTECTED]> wrote:

> (Originally asked on -hardware and -smp but no one seemed to have any
> ideas.  Repeating here to the larger group in hopes of some answers. TIA.)
> 
> System:
> 
> Intel D946GZIS MOBO w/ICH7 SATA-II support
> WDC WD2500JS-00NCB1 250G Hard Drive that claims to do 3G/s
> Pentium D @ 3.2GHz
> 
> In addition to the on-board peripherals, the two available
> PCI slots have an Adaptec 2940 U/UW SCSI controller and
> a 3Com 3C901 card in them respectively.
> 
> Running FBSD 6.2-STABLE as of yesterday.  Kernel is SMP.
> 
> I've run into a problem that makes no sense to me and I suspect
> is related to how SMP works (or, then again, maybe not):
> 
> 1) When booting FBSD 6.2, right after the second CPU is started
> the system hangs for about 45 seconds and then proceeds normally.
> This happens with GENERIC-Release, SMP-Stable, and SMP-Release kernels.
> During this wait, the floppy goes active for some reason.  It's
> as if the system is "hunting" for something.
> 

Maybe unrelated - I had a similar problem yesterday on a small box @ home - it
was stopping for about 2 minutes or so just before showing the line about ad0.
It turned out one of the PCI cards (TV card) had become a bit lose and was
obvioulsy causing problems. Once this was solved, it booted fine with no
problem.

> 4) I *cannot* get xorg 7.2 to work with the onboard video.
> If I configure it as a VESA video system, all is well.
> If I try to tell it that I am using i810 video, I get this:
> 
>   X Window System Version 7.2.0
>  Release Date: 22 January 2007
>  X Protocol Version 11, Revision 0, Release 7.2
>  Build Operating System: FreeBSD 6.2-STABLE i386
>  Current Operating System: FreeBSD troll.tundraware.com 6.2-STABLE 
> FreeBSD 6.2-STABLE #5: Sun Jun  3 00:42:36 CDT 2007 [EMAIL 
> PROTECTED]:/usr/obj/usr/src/sys/SMP i386
>  Build Date: 30 May 2007
>  Before reporting problems, check http://wiki.x.org
>  to make sure that you have the latest version.
>  Module Loader present
>  Markers: (--) probed, (**) from config file, (==) default setting,
>  (++) from command line, (!!) notice, (II) informational,
>  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
>  (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jun  3 13:05:01 2007
>  (++) Using config file: "/root/xorg.conf.new"
>  (EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
>  (EE) I810(0): Failed to allocate framebuffer. Is your VideoRAM set too 
> low ??
> 
>  Fatal server error:
>  AddScreen/ScreenInit failed for driver 0
> 
> This makes no sense given that I have allocated 128M for video memory.

do you have AGP support in your kernel ? 


_
{Beto|Norberto|Numard} Meijome

Do not take away the camels hump, you may be stopping him from being a camel.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ath0: using obsoleted if_watchdog interface

2007-06-03 Thread Sam Leffler
Neil Short wrote:
> Recently cvsup'd.
> This is new and I'm not sure I understand it.
> dmesg...
> 
> ...
> ath0: using obsoleted if_watchdog interface

ignore it; it's just a reminder added when people decided to deprecate
the api

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


Re: Strange Intel Mobo Behavior

2007-06-03 Thread r17fbsd

At 02:08 PM 6/3/2007, Tim Daneliuk wrote:

3) Both the MOBO and drive are SATA-300 rated, but 6.2 insists that
   the drive is running at SATA-150.  I have verified that the drive
   has no jumper forcing it into this mode.


Don't know about the other issues, but I have a Dell with similar 
Intel components, and it did the same SATA thing when I put a new 
drive in it yesterday:


atapci1:  port 
0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfea0-0xfeaf 
irq 20 at device 31.2 on pci0

ad4: 76293MB  at ata2-master SATA150
ad6: 305245MB  at ata3-master SATA150

The ad6 drive is supposed to do SATA-300, but realistically, other 
bottlenecks dictate it's not going to get anywhere near the '150 
speed, so I'm not terribly worried about it.  cp'ing a 4GB file to 
/dev/null yielded 57MB/sec.


  -RW

___
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 disable command prompt history?

2007-06-03 Thread Kevin Hunter
At 4:42a -0400 on 03 Jun 2007, VeeJay wrote:
> Actually, it was for the security reason that if somebody breaks in the
> server then he/she doesn't see what commands are being executed, etc,
> etc
> 
> and I am using /bin/sh
> 
> any more comments?

I don't use /bin/sh on a regular basis (bash, for better or worse) so I
can't help you.

>From a security standpoint, I'm more wondering what makes you so worried
that someone will break in?  Would some suggestions from the community
about securing your system be helpful?  (I'm no security guru so don't
ask me . . . 8-< )

Also, why are you worried about them seeing what commands you've been
running?  My first thought is that at the point a malicious someone has
broken into your system, you have (much) bigger things to worry about.

But, to dumbly answer your question, see if sh looks for ~/.logout.  If
it does, have it remove ~/.history and clear the screen.  Or, if the
order of that doesn't work (if .logout is read /before/ .history is
written), 'chmod 000 .history'.

Best of luck,

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


Re: php5-extensions and xorg libraries

2007-06-03 Thread Norberto Meijome
On Sun, 03 Jun 2007 01:32:57 +0200
Zbigniew Szalbot <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I will appreciate any help. When trying to install php5-extensions, I 
> get the following error:
> 
> ===>  Applying FreeBSD patches for php5-gd-5.2.2
> ===>   php5-gd-5.2.2 depends on executable in : phpize - found
> ===>   php5-gd-5.2.2 depends on file: /usr/local/bin/autoconf259 - found
> ===>   php5-gd-5.2.2 depends on file: /usr/local/libdata/xorg/libraries 
> - not found
> ===>Verifying install for /usr/local/libdata/xorg/libraries in 
> /usr/ports/x11/xorg-libraries
> Read /usr/ports/UPDATING for the procedure to upgrade or install xorg 7.2.
[]

> 
> I cannot install php5-extensions, nor xorg nor xorg-libraries. I am lost 
> as to what to do. Many thanks in advance!

Hi Zbigniew,
yeah...one of those nits that I dont think it's properly explained. From my own
experience and discussion in ports@ :

http://lists.freebsd.org/pipermail/freebsd-ports/2007-May/041207.html

1)Bypass the dependency altogether: php5-gd itself is not the problem, but
rather libgd, with XPM support enabled (I haven't confirmed it , but it makes
perfect sense).

2) Let the ports tree know you are ready to use 7.2 (even if you never had 6.9
and (my) common sense  says it should install 7.2 anyway) : As
per /usr/ports/UPDATING, set XORG_UPGRADE , and follow the upgrade steps,
including the rebase.sh script. clean xorg-libraries and install that by itself
first (make sure XORG_UPGRADE is set in that session's env).

B
_
{Beto|Norberto|Numard} Meijome

Two things have come out of Berkeley, Unix and LSD.
It is uncertain which caused the other.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Java on the BSD Desktop?

2007-06-03 Thread Norberto Meijome
On Wed, 30 May 2007 12:00:53 +0200
"n j" <[EMAIL PROTECTED]> wrote:

> I completely agree that Sun's licence is a hassle. Fortunately, in a
> year or two, we're going to have an open source Java platform meaning
> there will be no hassle with manual download while installing JRE/JDK.
> Combined with the great API, object-oriented nature of the language,
> free IDE for serious development (Eclipse and specifically Netbeans
> with a very capable Swing GUI visual editor) - this combination
> strikes me as something only Microsoft can compete with.

yeah, agreed - jdk is a hassle first time, but then it just chugs along.
Eclipse is quite good to work with - I've just found it easier / better? to
upgrade/install eclipse plugins via it's own install mechanism (help menu i
think) rather than ports (lots missing / old). The fact that all those plugins
work just fine shows that Java **is** a good solution for **my** desktop ;).

anyway, once JRE installed, all kinds of good apps are available, so the
initial hassle is worth it, IMHO.

anyway, my 0.02...

_
{Beto|Norberto|Numard} Meijome

"The greater danger for most of us is not that our aim is too high and we miss
it. But that it is too low... and we reach it."
   Michelangelo (1475-1564)

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: repair a FreeBSD install

2007-06-03 Thread Jerry McAllister
On Sun, Jun 03, 2007 at 02:56:08PM -0600, Chad Perrin wrote:

> On Sun, Jun 03, 2007 at 11:19:39PM +0300, Manolis Kiagias wrote:
> > You can use the grub bootloader to load freebsd (assuming that nothing
> > is damaged in the freebsd slice itself, and I believe it is intact in
> > your case)
> > It's been some time since I've done this myself (I am no longer dual
> > booting FreeBSD on this machine), but I'll try to be as accurate as
> > possible.
> > Start your system, when it gets to the grub loader press "c" to get to
> > the grub command line.
> > Do you know what your freebsd slice is? Even if you don't, you can get
> > this info from fdisk -l from debian. Or you could try searching in the
> > command line.
> > Type something like:
> > 
> > root (hd0,2,a)
> 
> GRUB doesn't recognize the partition type for some reason.  There's
> pretty clearly something wrong with the partition, I think.

Do you mean partition or slice?

The slice needs to be marked as bootable.  You can check this 
from the fixit boot using fdisk - 'fdisk ad0'  or  'fdisk da0'
presuming this is disk 0 and depending on IDE or SCSI.   
Then, if that looks OK, use bsdlabel on that slice (something 
like  'bsdlabel ad0s3' or 'bsdlabel da0s3' depending on IDE or SCSI and
presuming FreeBSD is on slice 3) from the fixit to see what you can 
learn from it.   Just doing bsdlabel with no other command flag will
print out information.

jerry

> 
> -- 
> CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
> McCloctnick the Lucid: "The first rule of magic is simple. Don't waste your
> time waving your hands and hopping when a rock or a club will do."
> ___
> 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: 6.2/i386 X/DRI issues

2007-06-03 Thread Norberto Meijome
On Fri, 1 Jun 2007 15:11:26 +1000
Alex R <[EMAIL PROTECTED]> wrote:

> > it's in the archives of the list - you need to install the mesa-demos
> > port.  
> 
> Installed it.
> 
> [EMAIL PROTECTED] ~]$ glxinfo
> Error: unable to open display
> 
> But thats because I am ssh'd into the box from work, I dare say it will work 
> when I get home and test from within X.

( X forwarding over ssh to your local display ..? I am just not sure whether 
glxinfo calculations would be based on your remote display or your local 
one)

> You are a champion :-) Thank you!
nw :)

btw, the Xorg.0.log snippet you sent previously looks good. Usually, when X 
tries to enable DRI and it fails to, you'll see a line like "DRI Disabled" 
(after all the other DRI info).

B

_
{Beto|Norberto|Numard} Meijome

"There is no limit to what a man can do or how far he can go if he doesn't mind 
who gets the credit."
   Robert Woodruff

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: repear a FreeBSD install

2007-06-03 Thread Jerry McAllister
On Sun, Jun 03, 2007 at 01:17:00PM -0600, Chad Perrin wrote:

> Someone I know tried installing Slackware on a Thinkpad R52 to create a
> triple-boot system (MS Windows and FreeBSD 6.2 as the other two, already
> present on the system).  The Slackware install didn't get very far (the
> installer is less than helpful -- wouldn't recognize a swap partition at
> all), but apparently it got far enough to break the FreeBSD install.
> 
> Any tips, hints, and suggestions about how exactly to go about fixing
> the FreeBSD install (without overwriting the home partition and losing
> the installed system configuration to minimize time lost getting things
> back to "normal") would be appreciated.  Thanks in advance.

Well, you don't say very much about just what you did and where,
so it leaves only wild guesses.   But one guess is that your other 
install wiped out the MBR on the disk.

To fix that, you can boot up the install CD and select  running
the fixit.   From the fixit use fdisk to install the FreeBSD MBR
or I think it also has boot0config.   Then try rebooting.  If that
doesn't help, then we'll have to have some more detailed inf0 --
like the slices and their layout, what order you installed things
and maybe some other stuff.

jerry

> 
> -- 
> CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
> MacUser, Nov. 1990: "There comes a time in the history of any project when
> it becomes necessary to shoot the engineers and begin production."
> ___
> 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: RSA SecurID soft tokens under FreeBSD

2007-06-03 Thread Norberto Meijome
On Fri, 1 Jun 2007 13:15:22 -0400
<[EMAIL PROTECTED]> wrote:

>  I'm
> interested in monitoring RSA SecureID using Nagios.

Hi Mark,
what do you mean by "monitoring" SecureID ?  you mean, to monitor auth failures 
/ successess? performance of the related services? 

I would say it's a matter of knowing how the information is presented by RSA's 
software, and then having Nagios monitor that...

_
{Beto|Norberto|Numard} Meijome

"Always listen to experts.  They'll tell you what can't be done, and why.  
Then do it."
  Robert A. Heinlein

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Synaptics trackpad problem

2007-06-03 Thread Paul Fraser

On 6/3/07, Robin Becker <[EMAIL PROTECTED]> wrote:

Any help appreciated


Hi Robin,

I know this isn't going to be much of a comfort - but I've had great
difficulty trying to get Xorg to work nicely with - surprise - the
Synaptics touchpad on my Acer notebook as well. I posted to the list
almost a week ago reporting that while Xorg worked brilliantly one day
- suddenly it stopped working.

I did blow the installation away and started again (unrelated issue)
the other day and the touchpad is working much as it was before. I
don't have my specific Xorg config in front of me as the missus has
stolen the laptop today unfortunately, however I've flagged this
thread so I'll attach it and send it over to you tonight.

Hope it's of some use to you.

Cheers,

Paul.


--
Regards,

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


Synaptics trackpad problem

2007-06-03 Thread Robin Becker
I'm trying to get XORG setup on my acer laptop with 6.2 release. Things 
are fine except I cannot get the trackpad to work; x starts, but the 
mouse is frozen. I have had pcbsd on the same machine and the mouse 
worked there, but not as a trackpad.


Any help appreciated

Xorg.0.log

(**) Option "CorePointer"
(**) Synaptics_Touchpad: Core Pointer
(II) XINPUT: Adding extended input device "Synaptics_Touchpad" (type: MOUSE)
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
Synaptics DeviceInit called
SynapticsCtrl called.
Synaptics DeviceOn called
(--) Synaptics_Touchpad synaptics touchpad found
(--)  Synaptics Touchpad, model: 0
(--)  Firmware: 6.2
(--)  Sensor: 18
(--)  new absolute packet format
(--)  Touchpad has extended capability bits
(--)  -> multifinger detection
(--)  -> palm detection
(WW) fcntl(8, O_ASYNC): Inappropriate ioctl for device
Synaptics DeviceOff called


the corrsponding sections in the xorg.conf are
Section "ServerLayout"
..
InputDevice"Synaptics_Touchpad""CorePointer"
EndSection
Section "Module"
Load  "synaptics"
.
EndSection
Section "InputDevice"
Identifier"Synaptics_Touchpad"
Driver"synaptics"

Option"Device""/dev/psm0"
Option"Protocol""psm"

Option"LeftEdge""1700"
Option"RightEdge""5300"
Option"TopEdge""1700"
Option"BottomEdge""4200"

Option"FingerLow""25"
Option"FingerHigh""30"

Option"MaxTapTime""180"
Option"MaxTapMove""220"

Option"VertScrollDelta""100"
Option"HorizScrollDelta""100"

Option"MinSpeed""0.06"
Option"MaxSpeed""0.06"
Option"AccelFactor""0.0010"

Option"ScrollButtonRepeat""100"
Option"UpDownScrolling""on"
Option"UpDownRepeat""on"
Option"LeftRightScrolling""on"
Option"LeftRightRepeat""on"

# "SHMConfig on" seems good works with synclient(1).  But this
# options is insecure.  I recommended "off" as default.
Option"SHMConfig""off"

# If you use circular touchpad, uncomment them.
#Option"CircularPad""on"
#Option"CircularScrolling""on"
#Option"CircScrollDelta""0.5"
EndSection

and certainly

dmesg | grep Synaptics
psm0: model Synaptics Touchpad, device ID 0

as /boot/loader.conf has hw.psm.synaptics_support="1"
--
Robin Becker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


6.2 make release

2007-06-03 Thread John Burns

I am trying to make a custom release. My goal is to make a custom bsd cd
that will install the system to my specification without asking the user any
question. My problem is the follwoing:

I tried to compile the release without any modifications just to see if it
works.
I checkout the cvs tree with cvsup and the cvs-supfile in the examples
directory.

I used the following commands:

cd /usr/src
make buildworld
cd /usr/src/release
make release CHROOTDIR=/usr/exile BUILDNAME=EXILE SECURITY \
CVSROOT=/home/ncvs

I get the following error

error missing kernel configuration file(s) (SMP)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mounting fusefs via /etc/fstab

2007-06-03 Thread martinko

Hallo,

At the bottom of  there's an example 
of using FUSE via /etc/fstab.  It is for Linux.
I wonder whether the same thing can be achieved on FreeBSD somehow as it 
would be very useful.


With regards,

Martin

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


Re: COM1 problems

2007-06-03 Thread Derek Ragona

At 03:01 AM 6/3/2007, Tim Judd wrote:

I'm subscribed to the digest, everyone -- send CC me on every reply
please...

Hi there, new installation, 6.2-STABLE.

I have a Belkin UPS on COM1 and sysutils/nut is trying to talk with it.
 I know it talks with it, because it has in the past.  The problem I'm
getting is that NUT is just filling the screen with errors, tty
overflows, and various problems related to communication on that port
with the UPS.

Looking at NUT's website, they say the UPS communicates at 2400 baud
8N1 and I'd like to believe that.  I tested without specifying a speed:
# tip com1
and didn't get anything..  waited 30 seconds or so.  After reading
NUT's website, I tried:
# tip -2400 com1
and got binary data (not readable information, but data none-the-less).

The kernel reports the port as sio0, but sio0 doesn't exist in /dev
the only serial port I see is cuad0{,.init,.lock} and that seems to be
hard-coded by some init script (but I don't know where).  cuad* also is
said to be a dialout line, not a generic com device.  /etc/remote does
indicate it is a generic device in the sense it will just pass
input/output...

How can I configure /dev/cuad0 to be 2400 baud fixed?

thanks for any tips and pointersit's been a while since I've dealt
with serial ports.


I have a similar setup with no issues.  You do need to be sure you have the 
correct nut driver for your UPS, and the cable tight.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: repair a FreeBSD install

2007-06-03 Thread Garrett Cooper

Manolis Kiagias wrote:

Chad Perrin wrote:
  

On Sun, Jun 03, 2007 at 11:19:39PM +0300, Manolis Kiagias wrote:
  


You can use the grub bootloader to load freebsd (assuming that nothing
is damaged in the freebsd slice itself, and I believe it is intact in
your case)
It's been some time since I've done this myself (I am no longer dual
booting FreeBSD on this machine), but I'll try to be as accurate as
possible.
Start your system, when it gets to the grub loader press "c" to get to
the grub command line.
Do you know what your freebsd slice is? Even if you don't, you can get
this info from fdisk -l from debian. Or you could try searching in the
command line.
Type something like:

root (hd0,2,a)

  

GRUB doesn't recognize the partition type for some reason.  There's
pretty clearly something wrong with the partition, I think.

  


Is it possible that somehow the partition type was changed?
Try as root an fdisk -l from your debian installation.
Your freebsd should show up as partition type a5 (BSD/386)
Otherwise you could use fdisk to fix this.

And for that you need a fixit floppy / LiveCD :).
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: repair a FreeBSD install

2007-06-03 Thread Manolis Kiagias
Chad Perrin wrote:
> On Sun, Jun 03, 2007 at 11:19:39PM +0300, Manolis Kiagias wrote:
>   
>> You can use the grub bootloader to load freebsd (assuming that nothing
>> is damaged in the freebsd slice itself, and I believe it is intact in
>> your case)
>> It's been some time since I've done this myself (I am no longer dual
>> booting FreeBSD on this machine), but I'll try to be as accurate as
>> possible.
>> Start your system, when it gets to the grub loader press "c" to get to
>> the grub command line.
>> Do you know what your freebsd slice is? Even if you don't, you can get
>> this info from fdisk -l from debian. Or you could try searching in the
>> command line.
>> Type something like:
>>
>> root (hd0,2,a)
>> 
>
> GRUB doesn't recognize the partition type for some reason.  There's
> pretty clearly something wrong with the partition, I think.
>
>   
Is it possible that somehow the partition type was changed?
Try as root an fdisk -l from your debian installation.
Your freebsd should show up as partition type a5 (BSD/386)
Otherwise you could use fdisk to fix this.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SMP System but only CPU#0 being used?

2007-06-03 Thread Bill Moran
Alex R <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> 
> Just wondering about something here.
> 
> First of all, I am running FreeBSD 6.2-STABLE
> 
> and the CPU stats (parts of dmesg)
> 
> CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf49  Stepping = 9
>   
> Features=0xbfebfbff
>   Features2=0x641d>
>   AMD Features=0x2010
>   AMD Features2=0x1
>   Logical CPUs per core: 2
> real memory  = 1065287680 (1015 MB)
> avail memory = 1033314304 (985 MB)
> ACPI APIC Table: 
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
> 
> SMP: AP CPU #1 Launched!
> 
> Now some processes:
> 
> last pid:  1420;  load averages:  0.02,  0.09,  0.15  
>   up 0+02:03:03  23:04:35
> 69 processes:  1 running, 68 sleeping
> CPU states:  3.8% user,  0.0% nice,  2.6% system,  0.8% interrupt, 92.9% idle
> Mem: 116M Active, 115M Inact, 172M Wired, 140K Cache, 110M Buf, 585M Free
> Swap: 2007M Total, 2007M Free
> 
>   PID USERNAMETHR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
>   658 alex  1  960   288M 33708K select 0   1:43  0.88% Xorg
>   815 alex  4  200 47640K 30416K kserel 0   3:49  0.00% vlc
>   998 alex  1  960 21660K 17372K select 0   0:21  0.00% xchat
>  1389 alex  5  200 62768K 54436K kserel 0   0:16  0.00% 
> firefox-bin
>   729 alex  1  960 31572K 27840K select 0   0:16  0.00% kdeinit
>   601 root  1  960  1344K   796K select 0   0:09  0.00% moused
>   717 alex  1  960 30360K 25588K select 0   0:06  0.00% kdeinit
>  1106 alex  1  960 30560K 24052K select 0   0:06  0.00% kdeinit
>   727 alex  1  960 32772K 29300K select 0   0:06  0.00% kdeinit
>   725 alex  1  960 26108K 21288K select 0   0:05  0.00% kdeinit
>   735 alex  1  60  -36 10452K  7448K select 0   0:04  0.00% artsd
>   693 alex  1  960  3612K  2380K select 0   0:02  0.00% gam_server
>  1412 alex  5  200 23520K 17816K kserel 0   0:01  0.00% 
> gnome-terminal
>   740 alex  1  960 25124K 20228K select 0   0:01  0.00% kdeinit
>   743 alex  1  960 26780K 21600K select 0   0:00  0.00% korgac
>  1391 alex  1  960  5852K  4536K select 0   0:00  0.00% gconfd-2
>   712 alex  1  960 23032K 17016K select 0   0:00  0.00% kdeinit
>   737 alex  1  960 24580K 19284K select 0   0:00  0.00% kdeinit
>   708 alex  1  960 23436K 17612K select 0   0:00  0.00% kdeinit
>  1414 alex  5  200  6168K  4060K kserel 0   0:00  0.00% 
> bonobo-activation-s
>  1140 alex  1  960 26668K 22264K select 0   0:00  0.00% kdeinit
>   715 alex  1  960 25080K 19584K select 0   0:00  0.00% kdeinit
>   722 alex  1   80  1392K   860K nanslp 0   0:00  0.00% kwrapper
>   574 root  1  960  3528K  2808K select 0   0:00  0.00% sendmail
>   724 alex  1  960 24600K 19248K select 0   0:00  0.00% kdeinit
>  1415 alex  1   40  3092K  1576K sbwait 0   0:00  0.00% 
> gnome-pty-helper
>  1416 alex  1   80  3200K  2156K wait   0   0:00  0.00% bash
>  1420 alex  1  960  2420K  1624K CPU0   0   0:00  0.00
> 
> 
> All of them are using CPU #0 though?
> 
> What am i missing here?

Is this system truly multiprocessor, or hyperthreaded?

Hyperthreading is disabled by default, due to security concerns.  Check
the value of the sysctl machdep.hypterhtreading_enabled.  If you turn
it on and the second CPU starts being used, then you have an HT system,
and not a multiprocessor system.  Then you can decide whether you're
willing to accept the potential security risk of enabling hyperthreading.

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


Re: how many data can i write to my tape, how to tested?

2007-06-03 Thread perikillo

On 6/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


On 28/05/07, perikillo <[EMAIL PROTECTED]> wrote:
>I'm running bacula 1.38.11 with one tape storage-works 232 200Gb.
. . .
>   Them, he says that my tape is full, but calculating all clients, is
> about 181GB, them why hi say that my tape is full?

For raw capacity multiply the advertised number
by 0.5.
As we get more and more precompressed data
(think ogg, png, mp3) those sunny marketing
numbers will mean less and less.

--
--





Thanks guys, i understand your point. I was thinking wrong about my tape.
Now i need to clean my servers.

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


Re: repair a FreeBSD install

2007-06-03 Thread Chad Perrin
On Sun, Jun 03, 2007 at 11:19:39PM +0300, Manolis Kiagias wrote:
> You can use the grub bootloader to load freebsd (assuming that nothing
> is damaged in the freebsd slice itself, and I believe it is intact in
> your case)
> It's been some time since I've done this myself (I am no longer dual
> booting FreeBSD on this machine), but I'll try to be as accurate as
> possible.
> Start your system, when it gets to the grub loader press "c" to get to
> the grub command line.
> Do you know what your freebsd slice is? Even if you don't, you can get
> this info from fdisk -l from debian. Or you could try searching in the
> command line.
> Type something like:
> 
> root (hd0,2,a)

GRUB doesn't recognize the partition type for some reason.  There's
pretty clearly something wrong with the partition, I think.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
McCloctnick the Lucid: "The first rule of magic is simple. Don't waste your
time waving your hands and hopping when a rock or a club will do."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SMP System but only CPU#0 being used?

2007-06-03 Thread Alex R
Hi All,

Just wondering about something here.

First of all, I am running FreeBSD 6.2-STABLE

and the CPU stats (parts of dmesg)

CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf49  Stepping = 9
  
Features=0xbfebfbff
  Features2=0x641d>
  AMD Features=0x2010
  AMD Features2=0x1
  Logical CPUs per core: 2
real memory  = 1065287680 (1015 MB)
avail memory = 1033314304 (985 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1

SMP: AP CPU #1 Launched!

Now some processes:

last pid:  1420;  load averages:  0.02,  0.09,  0.15
up 0+02:03:03  23:04:35
69 processes:  1 running, 68 sleeping
CPU states:  3.8% user,  0.0% nice,  2.6% system,  0.8% interrupt, 92.9% idle
Mem: 116M Active, 115M Inact, 172M Wired, 140K Cache, 110M Buf, 585M Free
Swap: 2007M Total, 2007M Free

  PID USERNAMETHR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
  658 alex  1  960   288M 33708K select 0   1:43  0.88% Xorg
  815 alex  4  200 47640K 30416K kserel 0   3:49  0.00% vlc
  998 alex  1  960 21660K 17372K select 0   0:21  0.00% xchat
 1389 alex  5  200 62768K 54436K kserel 0   0:16  0.00% firefox-bin
  729 alex  1  960 31572K 27840K select 0   0:16  0.00% kdeinit
  601 root  1  960  1344K   796K select 0   0:09  0.00% moused
  717 alex  1  960 30360K 25588K select 0   0:06  0.00% kdeinit
 1106 alex  1  960 30560K 24052K select 0   0:06  0.00% kdeinit
  727 alex  1  960 32772K 29300K select 0   0:06  0.00% kdeinit
  725 alex  1  960 26108K 21288K select 0   0:05  0.00% kdeinit
  735 alex  1  60  -36 10452K  7448K select 0   0:04  0.00% artsd
  693 alex  1  960  3612K  2380K select 0   0:02  0.00% gam_server
 1412 alex  5  200 23520K 17816K kserel 0   0:01  0.00% 
gnome-terminal
  740 alex  1  960 25124K 20228K select 0   0:01  0.00% kdeinit
  743 alex  1  960 26780K 21600K select 0   0:00  0.00% korgac
 1391 alex  1  960  5852K  4536K select 0   0:00  0.00% gconfd-2
  712 alex  1  960 23032K 17016K select 0   0:00  0.00% kdeinit
  737 alex  1  960 24580K 19284K select 0   0:00  0.00% kdeinit
  708 alex  1  960 23436K 17612K select 0   0:00  0.00% kdeinit
 1414 alex  5  200  6168K  4060K kserel 0   0:00  0.00% 
bonobo-activation-s
 1140 alex  1  960 26668K 22264K select 0   0:00  0.00% kdeinit
  715 alex  1  960 25080K 19584K select 0   0:00  0.00% kdeinit
  722 alex  1   80  1392K   860K nanslp 0   0:00  0.00% kwrapper
  574 root  1  960  3528K  2808K select 0   0:00  0.00% sendmail
  724 alex  1  960 24600K 19248K select 0   0:00  0.00% kdeinit
 1415 alex  1   40  3092K  1576K sbwait 0   0:00  0.00% 
gnome-pty-helper
 1416 alex  1   80  3200K  2156K wait   0   0:00  0.00% bash
 1420 alex  1  960  2420K  1624K CPU0   0   0:00  0.00


All of them are using CPU #0 though?

What am i missing here?



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


Re: repair a FreeBSD install

2007-06-03 Thread Manolis Kiagias
Chad Perrin wrote:
> On Sun, Jun 03, 2007 at 02:34:28PM -0500, Kevin Kinsey wrote:
>   
>> Chad Perrin wrote:
>> 
>>> Someone I know tried installing Slackware on a Thinkpad R52 to create a
>>> triple-boot system (MS Windows and FreeBSD 6.2 as the other two, already
>>> present on the system).  The Slackware install didn't get very far (the
>>> installer is less than helpful -- wouldn't recognize a swap partition at
>>> all), but apparently it got far enough to break the FreeBSD install.
>>>
>>> Any tips, hints, and suggestions about how exactly to go about fixing
>>> the FreeBSD install (without overwriting the home partition and losing
>>> the installed system configuration to minimize time lost getting things
>>> back to "normal") would be appreciated.  Thanks in advance.
>>>   
>> What exactly is broken in the FBSD installation?  Just won't
>> find enough bootstrap stuff to boot?
>> 
>
> Shortly after the aborted Slackware install, the FreeBSD bootloader
> still loaded, but chosing the FreeBSD option would just cause it to hang
> rather than booting up the OS.  Since then, Debian has been installed in
> the free space on the drive, with GRUB installed as the new bootloader,
> and it doesn't list the FreeBSD option as existing at all.
>
>
> 
You can use the grub bootloader to load freebsd (assuming that nothing
is damaged in the freebsd slice itself, and I believe it is intact in
your case)
It's been some time since I've done this myself (I am no longer dual
booting FreeBSD on this machine), but I'll try to be as accurate as
possible.
Start your system, when it gets to the grub loader press "c" to get to
the grub command line.
Do you know what your freebsd slice is? Even if you don't, you can get
this info from fdisk -l from debian. Or you could try searching in the
command line.
Type something like:

root (hd0,2,a)

that is assuming your freebsd slice is hda3 (or sda3) - grub numbering
starts from 0
If you are not sure about the number try others like root (hd0,3,a) and
so on. You will know when you hit the correct partition, since it will say:
Filesystem type is UFS, partition type ... (something similar)
Then type
kernel /boot/loader
and then type
boot
If you get into freebsd successfully, you can then add all the above
instructions in the grub configuration file (normally in
/boot/grub/menu.lst in your linux system)
Hope this helps.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: repear a FreeBSD install

2007-06-03 Thread Kevin Kinsey

Chad Perrin wrote:

On Sun, Jun 03, 2007 at 02:34:28PM -0500, Kevin Kinsey wrote:

Chad Perrin wrote:

Someone I know tried installing Slackware on a Thinkpad R52 to create a
triple-boot system (MS Windows and FreeBSD 6.2 as the other two, already
present on the system).  The Slackware install didn't get very far (the
installer is less than helpful -- wouldn't recognize a swap partition at
all), but apparently it got far enough to break the FreeBSD install.




What exactly is broken in the FBSD installation?  Just won't
find enough bootstrap stuff to boot?


Shortly after the aborted Slackware install, the FreeBSD bootloader
still loaded, but chosing the FreeBSD option would just cause it to hang
rather than booting up the OS.  Since then, Debian has been installed in
the free space on the drive, with GRUB installed as the new bootloader,
and it doesn't list the FreeBSD option as existing at all.



"Dual Boot Problems", March 1st, Sam Jones, Jerry McAllister,
Beech Rintoul
"Changing Boot Loader", March 3rd, Tom Marchand, "Vince", 
	Thomas Sparrevohn, Kevin Kinsey

"Skipping F1 FreeBSD prompt on boot", May 12-15th, David
Landgren, Matthew Seaman, Sam Lawrence, Pieter de Goeje


I doubt the "Changing Boot Loader" thread would be much help, and I
don't think "Skipping F1 FreeBSD prompt on boot" sound relevant either.
I'll give them all a look, though.  Thanks for the suggestions.


Well, I didn't read 'em either, but grep found refs to "boot0cfg"
in these threads, which is what Garrett also pointed you toward.

I'm pretty sure that will get you going again.  That said, I
recently used GAG to solve a related issue, as well, and it's now
the permanent resident on one FBSD server I have

KDK
--
Learned men are the cisterns of knowledge, not the fountainheads.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: repear a FreeBSD install

2007-06-03 Thread Chad Perrin
On Sun, Jun 03, 2007 at 02:34:28PM -0500, Kevin Kinsey wrote:
> Chad Perrin wrote:
> >Someone I know tried installing Slackware on a Thinkpad R52 to create a
> >triple-boot system (MS Windows and FreeBSD 6.2 as the other two, already
> >present on the system).  The Slackware install didn't get very far (the
> >installer is less than helpful -- wouldn't recognize a swap partition at
> >all), but apparently it got far enough to break the FreeBSD install.
> >
> >Any tips, hints, and suggestions about how exactly to go about fixing
> >the FreeBSD install (without overwriting the home partition and losing
> >the installed system configuration to minimize time lost getting things
> >back to "normal") would be appreciated.  Thanks in advance.
> 
> What exactly is broken in the FBSD installation?  Just won't
> find enough bootstrap stuff to boot?

Shortly after the aborted Slackware install, the FreeBSD bootloader
still loaded, but chosing the FreeBSD option would just cause it to hang
rather than booting up the OS.  Since then, Debian has been installed in
the free space on the drive, with GRUB installed as the new bootloader,
and it doesn't list the FreeBSD option as existing at all.


> 
> Some fairly recent threads on this list that might help:
> 
> "Dual Boot Problems", March 1st, Sam Jones, Jerry McAllister,
>   Beech Rintoul
> "Changing Boot Loader", March 3rd, Tom Marchand, "Vince", 
>   Thomas Sparrevohn, Kevin Kinsey
> "Skipping F1 FreeBSD prompt on boot", May 12-15th, David
>   Landgren, Matthew Seaman, Sam Lawrence, Pieter de Goeje

I doubt the "Changing Boot Loader" thread would be much help, and I
don't think "Skipping F1 FreeBSD prompt on boot" sound relevant either.
I'll give them all a look, though.  Thanks for the suggestions.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
McCloctnick the Lucid: "The first rule of magic is simple. Don't waste your
time waving your hands and hopping when a rock or a club will do."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: repair a FreeBSD install

2007-06-03 Thread Chad Perrin
On Sun, Jun 03, 2007 at 12:34:06PM -0700, Garrett Cooper wrote:
> Chad Perrin wrote:
> >Someone I know tried installing Slackware on a Thinkpad R52 to create a
> >triple-boot system (MS Windows and FreeBSD 6.2 as the other two, already
> >present on the system).  The Slackware install didn't get very far (the
> >installer is less than helpful -- wouldn't recognize a swap partition at
> >all), but apparently it got far enough to break the FreeBSD install.
> >
> >Any tips, hints, and suggestions about how exactly to go about fixing
> >the FreeBSD install (without overwriting the home partition and losing
> >the installed system configuration to minimize time lost getting things
> >back to "normal") would be appreciated.  Thanks in advance.
> Go to gag.sf.net, get and install the bootloader, boot up FreeBSD, login 
> as root, run boot0cfg -B /dev/{drive_node} and reboot. Fixed (as long as 
> the user didn't seriously hose the system).

Thanks.  We'll give it a whirl.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Dr. Ron Paul: "Liberty has meaning only if we still believe in it when
terrible things happen and a false government security blanket beckons."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: repear a FreeBSD install (s/repear/repair/ -- wow, I can't spell)

2007-06-03 Thread Chad Perrin
Sorry about the typo in the title of this thread.  I don't know how that
happened.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Larry Wall: "A script is what you give the actors.  A program is what you
give the audience."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: repear a FreeBSD install

2007-06-03 Thread Kevin Kinsey

Chad Perrin wrote:

Someone I know tried installing Slackware on a Thinkpad R52 to create a
triple-boot system (MS Windows and FreeBSD 6.2 as the other two, already
present on the system).  The Slackware install didn't get very far (the
installer is less than helpful -- wouldn't recognize a swap partition at
all), but apparently it got far enough to break the FreeBSD install.

Any tips, hints, and suggestions about how exactly to go about fixing
the FreeBSD install (without overwriting the home partition and losing
the installed system configuration to minimize time lost getting things
back to "normal") would be appreciated.  Thanks in advance.


What exactly is broken in the FBSD installation?  Just won't
find enough bootstrap stuff to boot?

Some fairly recent threads on this list that might help:

"Dual Boot Problems", March 1st, Sam Jones, Jerry McAllister,
Beech Rintoul
"Changing Boot Loader", March 3rd, Tom Marchand, "Vince", 
	Thomas Sparrevohn, Kevin Kinsey

"Skipping F1 FreeBSD prompt on boot", May 12-15th, David
Landgren, Matthew Seaman, Sam Lawrence, Pieter de Goeje

HTH,

Kevin Kinsey
--
When there is an old maid in the house, a watch dog is unnecessary.
-- Balzac
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: repear a FreeBSD install

2007-06-03 Thread Garrett Cooper

Chad Perrin wrote:

Someone I know tried installing Slackware on a Thinkpad R52 to create a
triple-boot system (MS Windows and FreeBSD 6.2 as the other two, already
present on the system).  The Slackware install didn't get very far (the
installer is less than helpful -- wouldn't recognize a swap partition at
all), but apparently it got far enough to break the FreeBSD install.

Any tips, hints, and suggestions about how exactly to go about fixing
the FreeBSD install (without overwriting the home partition and losing
the installed system configuration to minimize time lost getting things
back to "normal") would be appreciated.  Thanks in advance.
Go to gag.sf.net, get and install the bootloader, boot up FreeBSD, login 
as root, run boot0cfg -B /dev/{drive_node} and reboot. Fixed (as long as 
the user didn't seriously hose the system).

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


repear a FreeBSD install

2007-06-03 Thread Chad Perrin
Someone I know tried installing Slackware on a Thinkpad R52 to create a
triple-boot system (MS Windows and FreeBSD 6.2 as the other two, already
present on the system).  The Slackware install didn't get very far (the
installer is less than helpful -- wouldn't recognize a swap partition at
all), but apparently it got far enough to break the FreeBSD install.

Any tips, hints, and suggestions about how exactly to go about fixing
the FreeBSD install (without overwriting the home partition and losing
the installed system configuration to minimize time lost getting things
back to "normal") would be appreciated.  Thanks in advance.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
MacUser, Nov. 1990: "There comes a time in the history of any project when
it becomes necessary to shoot the engineers and begin production."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSD derivatives

2007-06-03 Thread Chad Perrin
On Sun, Jun 03, 2007 at 10:42:33AM +0300, Manolis Kiagias wrote:
> Chad Perrin wrote:
> > On Sun, Jun 03, 2007 at 09:15:22AM +0300, Manolis Kiagias wrote:
> >   
> >> Chad Perrin wrote:
> >> 
> >>> I'm not saying that's what the OpenBSD project does.  I'm just saying
> >>> that, for instance, the availability of the ath driver contradicts a
> >>> claim that security is a top priority of the FreeBSD project.  Only if
> >>> it was installed and operational by default would that really be the
> >>> case.
> >>>
> >>> Obviously, I'm assuming it's not installed by default.  From what I've
> >>> read so far, it's not -- please correct me if I'm wrong.
> >>>
> >>>   
> >>>   
> >> Actually to set the record straight, the ath driver is installed by
> >> default in 6.2 RELEASE.
> >> Installed by default meaning the card is recognized during FreeBSD setup
> >> and the user is able to configure it immediately from sysinstall.
> >> The ath driver was also present in 6.1 RELEASE (and maybe earlier?)
> >> although it had to be manually activated as a kernel module and it was
> >> not immediately obvious it was supported since it was not present in
> >> sysinstall during setup.
> >> 
> >
> > That still sounds like it's not "installed by default" in the sense that
> > I meant it.  By "installed by default", I mean you install the system
> > and, without even knowing it (or making a decision), you discover you
> > have a closed-source driver in your system.
> >
> >   
> I see your point, bear in mind however that someone who is installing a
> system that he believes consist of only free software may easily
> overlook the fact one of the drivers is not, esp. if it is silently
> recognized and configured with little intervention during setup. A
> security-conscious admin would of course research both the OS and the
> market and choose his hardware wisely. This leaves this kind of
> "vulnerability" to smaller systems (maybe home systems) where the OS is
> installed to existing hardware that was previously used with proprietary
> OSes and where the user / admin is not experienced or knowledgeable
> enough to care.
> In fact it would be better if proprietary drivers were clearly marked as
> such (or a relevant message shown in FreeBSD setup). It's been quite
> some time since I setup my atheros in FreeBSD but I cannot recall seeing
> any warning or indication about the ath driver.

I agree with that idea -- that any proprietary software should be
clearly and unavoidably marked as such.  In fact, I'd be happier if
every pkg-descr file in the ports tree included a mention of the license
terms under which the software is distributed.


> >> Although the whole security issue is of course highly debatable, don't
> >> forget how much more secure FreeBSD (or other open source OSes) are
> >> compared to proprietary systems. I've been (and still am) a competent
> >> Windows 200X server admin for years and have seen oh so many holes. Mind
> >> you, most of them actually get exploited. It is nowhere near this in
> >> FreeBSD.
> >
> > One of the keys for this is the fact that they're open source software,
> > of course.  To the extent that something like the ath driver is part of
> > your system whether you want it or not, that additional security benefit
> > is reduced.  I'm just trying to differentiate between closed source
> > software that affects system security and closed source software that
> > doesn't -- because anything that isn't actually running doesn't affect
> > security (all else being equal).
> >
> >   
> Agree with you completely on this, binary-only drivers can cause trouble
> even if well written. If nothing else, the company which writes them has
> limited resources or even incentive to support them and had they been
> open source fixes - security or other - would be implemented in a timely
> manner.  I do prefer total open source on my server for security and
> peace of mind. The desktop is however a different thing, I can live with
> the occasional atheros or nvidia driver.

Until such time as there are high quality laptops that provide the
functionality I want/need and also do not use any hardware that requires
closed source drivers for full functionality, I'll be "forced" to use
closed source drivers for my primary system.

Actually, at present I'm not using any closed source drivers for my
primary system, but only because the closed source drivers don't bloody
well work.  Because of this, I have to maintain an entire closed source
operating system on another partition.  It may eventually be replaced
with a Linux partition so I can use the drivers I need, but something
seems strange and wrong about dual-booting Linux with FreeBSD.  It's a
personal hang-up, I guess.

Uh . . . so my point is simply that I, too, prefer no closed source
software, but make exceptions for "desktop" systems sometimes.  I wish I
didn't have to.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Dr. Ron Paul: "Liberty has 

Strange Intel Mobo Behavior

2007-06-03 Thread Tim Daneliuk

(Originally asked on -hardware and -smp but no one seemed to have any
ideas.  Repeating here to the larger group in hopes of some answers. TIA.)

System:

Intel D946GZIS MOBO w/ICH7 SATA-II support
WDC WD2500JS-00NCB1 250G Hard Drive that claims to do 3G/s
Pentium D @ 3.2GHz

In addition to the on-board peripherals, the two available
PCI slots have an Adaptec 2940 U/UW SCSI controller and
a 3Com 3C901 card in them respectively.

Running FBSD 6.2-STABLE as of yesterday.  Kernel is SMP.

I've run into a problem that makes no sense to me and I suspect
is related to how SMP works (or, then again, maybe not):

1) When booting FBSD 6.2, right after the second CPU is started
   the system hangs for about 45 seconds and then proceeds normally.
   This happens with GENERIC-Release, SMP-Stable, and SMP-Release kernels.
   During this wait, the floppy goes active for some reason.  It's
   as if the system is "hunting" for something.

Other strange anomalies I've noted:

2) If I try to boot the 4.11-Release CD, it gets partway through
   the boot and then spits out:

RTC BIOS diagnostic error 80

  I've replaced the RTC battery and still get the same error.
  I get no such error with 6.2

3) Both the MOBO and drive are SATA-300 rated, but 6.2 insists that
   the drive is running at SATA-150.  I have verified that the drive
   has no jumper forcing it into this mode.

4) I *cannot* get xorg 7.2 to work with the onboard video.
   If I configure it as a VESA video system, all is well.
   If I try to tell it that I am using i810 video, I get this:

 X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: FreeBSD 6.2-STABLE i386
Current Operating System: FreeBSD troll.tundraware.com 6.2-STABLE FreeBSD 
6.2-STABLE #5: Sun Jun  3 00:42:36 CDT 2007 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/SMP i386
Build Date: 30 May 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jun  3 13:05:01 2007
(++) Using config file: "/root/xorg.conf.new"
(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
(EE) I810(0): Failed to allocate framebuffer. Is your VideoRAM set too low 
??

Fatal server error:
AddScreen/ScreenInit failed for driver 0

   This makes no sense given that I have allocated 128M for video memory.



Anyone have ideas on what is going on here?  (I've DAGS and found nothing
like this in the archives.)
--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: Switching between half-duplex and full duplex

2007-06-03 Thread Javier Henderson
On Sun, 03 Jun 2007 11:46:15 -0400, [EMAIL PROTECTED] wrote:
> At 07:01 AM 6/3/2007, you wrote:
>>  I have just installed FreeBSD and found that the nic em0 is set to 
>> half-duplex only. Could anyone tell me how I can switch it to 
>> full-duplex?
>>media: Ethernet autoselect (10baseT/UTP )
> 
> You should be more concerned that it is only at 10Mb.  I'm not sure 
> if the old 10bT protocol even supported full duplex.  You definitely 
> need a switch rather than hub to run full duplex, and 100Mb or better 
> may also be required.  Once you have that it should auto-detect and 
> enable full duplex, if your other hardware is capable.

Auto-negotiation will work only if the other end (ie, the switch) is set to 
auto-negotiate. Otherwise the FreeBSD host will set itself to half duplex.

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


Re: mounting Solaris 10 NFS share

2007-06-03 Thread Dick Hoogendijk
On 31 May Matthew Herzog wrote:
>  share -F nfs  -o rw=spark -d "generic" /export/home/mush
>  192.168.0.26:/export/home/mush /mnt/share nfs0 0

As said it's a uid/gid mismatch. Check your "spark" group on both ends
and make sure the uid/gid's are the same.
Quick check: -o rw (without the spark) ; "svcadm restart net/nfs" on the
solaris box and check.

>  In fact I can't even cd into /mnt/share as root on FreeBSD.

That's normal. I can't on solaris too. Root has no access and that's a
good thing. If you want access as root you can add 'root' to the group
that has access. But a "su user" is better and safer.

>  Changinf the dir's permissions to 0777 on Solaris does "fix" the
>  problem but . . . it's not a solution.

It's not done. So don't ;-)
You don't have to change the NFS version though. v4 is OK.

-- 
Dick Hoogendijk -- PGP/GnuPG key: F86289CE
++ http://nagual.nl/ | Solaris 10 11/06 ++
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: reinstalling a port with new compile option

2007-06-03 Thread Garrett Cooper

Joe Holden wrote:

Juan Miscara wrote:
I have net/samba3 installed on my FreeBSD 6.2 box.  I now want to 
have ACL_SUPPORT compiled in.  Without updating my sources, what is 
the safest way to achieve this?


Thank you,

Juan

cd /usr/ports/net/samba3
make deinstall clean
make WITH_ACL_SUPPORT=yes install clean

HTH,
Joe
cd /usr/ports/{something} && make config. Most unilateral solution and 
works a lot of the time (whenever configuration's an option).

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


Re: Recommendations for config file revision control

2007-06-03 Thread Maxim Khitrov

On 6/3/07, Giorgos Keramidas <[EMAIL PROTECTED]> wrote:

On 2007-06-02 21:45, Maxim Khitrov <[EMAIL PROTECTED]> wrote:
> Here's an update on what I ended up going with. I decided to go
> with my idea of moving all configuration files to a common
> directory, but with a bit of a change. I created /config and
> under it base/ and user/. Everything in base/ comes from /etc
> and /boot, and the rest goes under user/. I didn't want to mix
> the two. So then I created a new subversion repository, but I
> set permissions such that only root can read or write to
> it. Basically I decided to forbid anyone on the outside from
> getting their hands on the repository contents, since it will
> be storing things like master.passwd and other sensitive data.
>
> Once all this was in place I moved all configuration files to
> their appropriate locations in /config and created symlinks in
> their original location. Everything under /config was then
> imported into the subversion repository using the file://
> method. Since I forbid anyone from doing a check-out of the
> repository to some external location, I don't need to worry
> about file updates except when they are updated in
> /config. This simplifies things. What I did to keep the
> repository up to date was create a simple sh script that is run
> by cron every 10 minutes. The script simply issues 'svn ci
> --non-interactive --message "Automatic commit"' command in the
> /config directory. So any changes made to the configuration
> files are automatically recorded every 10 minutes.
>
> This works well, but does have a few flaws. First of all, when
> I edit files from sftp I have no way to add a meaningful
> message to the commit. Not a big deal, and I can always do a
> manual commit if I had to. The other thing is that this script
> will not auto-add files to the repository. Any new
> configuration file that I'd like to have monitored first gets
> moved to /config, then has a link created in the original
> place, then is added to the repository via 'svn add'. A bit
> more work, but I think it's fine. Technically I can automate
> the process of adding and removing files from the repository by
> using svn status output, but at this point the extra work isn't
> worth it. The bigger problem is the fact that subversion does
> not store owner and permission settings. That means that if I
> ever want to delete the /config directory and recreate it, I
> lose all permissions on things like master.passwd. What I did
> was add chown and chmod commands to the monitor script for all
> files that had non-standard permissions. So those get run along
> with the svn ci command every 10 minutes. The alternative was
> to use subversion properties, have the script parse those and
> apply the appropriate settings. However, since the permissions
> have to be set manually anyway there is no advantage to this
> over the monitor script, which is also versioned.

The permission and ownership problem is also one of the issues
which Subversion (or other SCMs) do not solve for base-system
binaries too.

See for example the thread:

Using Subversion for binary distribution?

which was recently present in `freebsd-current'.




Hm... I wish I found that thread earlier on, because I actually missed
the reference to Mercurial on wikipedia. I've been playing around with
it over the past few hours and so far I think it might actually be a
better solution than svn. It keeps just one .hg directory in the root
of your project, which means that I don't need a separate storage
location to isolate the versioned files. In addition to this, I can
add an ignore pattern of .* (all files), which means that hg will only
worry about the files that have been manually added to the repository.
I'm rather intrigued by this system, but I'm going to play around with
it a bit more in my test environment. Has anyone ever heard of
corruption issues with hg?

I guess it still suffers from the same problems with setting file
permissions, but the hooks are there, so I'm not worried about that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: reinstalling a port with new compile option

2007-06-03 Thread Joe Holden

Juan Miscara wrote:
I have net/samba3 installed on my FreeBSD 6.2 box.  I now want to have 
ACL_SUPPORT compiled in.  Without updating my sources, what is the safest way 
to achieve this?


Thank you,

Juan
___

cd /usr/ports/net/samba3
make deinstall clean
make WITH_ACL_SUPPORT=yes install clean

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


reinstalling a port with new compile option

2007-06-03 Thread Juan Miscara
I have net/samba3 installed on my FreeBSD 6.2 box.  I now want to have 
ACL_SUPPORT compiled in.  Without updating my sources, what is the safest way 
to achieve this?

Thank you,

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


Re: Switching between half-duplex and full duplex

2007-06-03 Thread r17fbsd

At 07:01 AM 6/3/2007, you wrote:
 I have just installed FreeBSD and found that the nic em0 is set to 
half-duplex only. Could anyone tell me how I can switch it to full-duplex?

   media: Ethernet autoselect (10baseT/UTP )


You should be more concerned that it is only at 10Mb.  I'm not sure 
if the old 10bT protocol even supported full duplex.  You definitely 
need a switch rather than hub to run full duplex, and 100Mb or better 
may also be required.  Once you have that it should auto-detect and 
enable full duplex, if your other hardware is capable.


  -RW

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


Re: Switching between half-duplex and full duplex

2007-06-03 Thread Mike Bristow

Pieter de Goeje wrote:

On Sunday 03 June 2007, Pang wrote:
  

Hello,
  I have just installed FreeBSD and found that the nic em0 is set to
half-duplex only. Could anyone tell me how I can switch it to full-duplex?

em0: flags=8843 mtu 1500
options=b
inet 172.16.0.2 netmask 0xfffc broadcast 172.16.0.1
ether XX:XX:XX:XX:XX:XX
media: Ethernet autoselect (10baseT/UTP )
status: active

Thanks
Pang


According to ifconfig(8) and em(4):
# ifconfig em0 mediaopt full-duplex
  


And if that works, you may want to add it to /etc/rc.conf by changing 
the line with setting ifconfig_em0
to something like ifconfig_em0=" mediaopt 
full-duplex"

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


Re: deleting old mails

2007-06-03 Thread Eric Crist

On Jun 3, 2007, at 8:05 AMJun 3, 2007, Thierry Lacoste wrote:


On Sunday 03 June 2007 14:01, Christopher Hilton wrote:

Thierry Lacoste wrote:

I'm running a postfix server on FreeBSD 6.1 and I'd like to have
a cronjob which deletes old mails from mboxes in /var/mail.

I tried mail/archivemail but it cannot create it's lock file
in /var/mail because it runs as the user owning the mailbox
on which it operates.

I also tried mail/archmbox but I'm wondering if it is safe
to use it while postfix is running. Quoting the manual:

   A few words about locking. There has been a discussion  about
archmbox handles  file locking. The answer is simple: no mailbox  
is ever
locked. The reason behind this behavior is that I want archmbox  
to be as
least invasive  as  possible, so other kind of checks are  
performed to
ensure that no data is lost (mailbox has changed/mailbox is in  
use by
another program). I will surely add some locking mechanism in the  
future.


Any help would be appreciated.


Have you consider using Maildir/ format instead? A switch to Maildir/
format would allow you to use the "find" program to weed out your
mailbox and locking is not an issue.


AFAICS the Maildir/ format implies that mails are delivered to the  
home

directory of the users.
On the mail server the home diretory is NFS-mounted read-only just to
be able to see the .forward files.
Users are required to use only pops to read their mail (qpopper is  
on the
mail server) and I wanted to avoid unnecessary network traffic:  
from the
mail server to the NFS server upon mail receipt and in the other  
way when

readind mail with pops.



That's not true.  My particular mail system saves to a mail-specific  
directory, under /usr/local.  Not in the user's home directory.


If you're worried about disk space, try enabling quotas in your  
postfix configuration.  There's a great postfix how to at  
www.purplehat.org to help you set all this up.  Personally, I don't  
try to tell users what email they can have, I just limit their space  
- they'll decide what's important and what's not.


However, maildir is the way to go if you want to search for delete  
certain mail.


HTH.

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


ath0: using obsoleted if_watchdog interface

2007-06-03 Thread Neil Short
Recently cvsup'd.
This is new and I'm not sure I understand it.
dmesg...

...
ath0: using obsoleted if_watchdog interface
...

The full atheros stuff is:
...
ath0:  mem 0xc020-0xc020 irq 20
at device 4.0 on pci2
ath0: [ITHREAD]
ath0: using obsoleted if_watchdog interface
ath0: Ethernet address: [numbers]
ath0: mac 7.8 phy 4.5 radio 5.6
ath0: link state changed to UP
...

By the way, my little built-in wireless atheros device
  is working better than it ever has on this machine.

-N

==
Now I, Nebuchadnezzar, praise and extol and honor the King of heaven, for all 
his works are truth, and his ways are justice; and he is able to bring low 
those who walk in pride.
Daniel 4:37


   

Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Error updating php5-simplexml-5.2.0 to 5.2.2, missing ext/spl/spl_sxe.h

2007-06-03 Thread Hans Nieser
I'm trying to update one of my FreeBSD machines, but it is failing on
php5-simplexml:

> ===>  Building for php5-simplexml-5.2.2
> /bin/sh 
> /usr/ports/textproc/php5-simplexml/work/php-5.2.2/ext/simplexml/libtool 
> --mode=compile cc  -I. 
> -I/usr/ports/textproc/php5-simplexml/work/php-5.2.2/ext/simplexml 
> -DPHP_ATOM_INC 
> -I/usr/ports/textproc/php5-simplexml/work/php-5.2.2/ext/simplexml/include 
> -I/usr/ports/textproc/php5-simplexml/work/php-5.2.2/ext/simplexml/main 
> -I/usr/ports/textproc/php5-simplexml/work/php-5.2.2/ext/simplexml 
> -I/usr/local/include/php -I/usr/local/include/php/main 
> -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend 
> -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib 
> -I/usr/local/include/libxml2 -I/usr/local/include  -DHAVE_CONFIG_H  -O -pipe  
>  -c 
> /usr/ports/textproc/php5-simplexml/work/php-5.2.2/ext/simplexml/simplexml.c 
> -o simplexml.lo
> mkdir .libs
>  cc -I. -I/usr/ports/textproc/php5-simplexml/work/php-5.2.2/ext/simplexml 
> -DPHP_ATOM_INC 
> -I/usr/ports/textproc/php5-simplexml/work/php-5.2.2/ext/simplexml/include 
> -I/usr/ports/textproc/php5-simplexml/work/php-5.2.2/ext/simplexml/main 
> -I/usr/ports/textproc/php5-simplexml/work/php-5.2.2/ext/simplexml 
> -I/usr/local/include/php -I/usr/local/include/php/main 
> -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend 
> -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib 
> -I/usr/local/include/libxml2 -I/usr/local/include -DHAVE_CONFIG_H -O -pipe -c 
> /usr/ports/textproc/php5-simplexml/work/php-5.2.2/ext/simplexml/simplexml.c  
> -fPIC -DPIC -o .libs/simplexml.o
> /usr/ports/textproc/php5-simplexml/work/php-5.2.2/ext/simplexml/simplexml.c:38:29:
>  ext/spl/spl_sxe.h: No such file or directory
> *** Error code 1
> 
> Stop in /usr/ports/textproc/php5-simplexml/work/php-5.2.2/ext/simplexml.
> *** Error code 1
> 
> Stop in /usr/ports/textproc/php5-simplexml.
> ** Command failed [exit code 1]: /usr/bin/script -qa 
> /tmp/portupgrade.26157.27 env UPGRADE_TOOL=portupgrade 
> UPGRADE_PORT=php5-simplexml-5.2.0 UPGRADE_PORT_VER=5.2.0 make
> ** Fix the problem and try again.
> --->  Skipping 'devel/php5-spl' (php5-spl-5.2.2) because a requisite package 
> 'php5-simplexml-5.2.0' (textproc/php5-simplexml) failed (specify -k to force)
> --->  Skipping 'textproc/php5-dom' (php5-dom-5.2.2) because a requisite 
> package 'php5-spl-5.2.2' (devel/php5-spl) failed (specify -k to force)
> --->  Skipping 'databases/php5-mysqli' (php5-mysqli-5.2.2) because a 
> requisite package 'php5-spl-5.2.2' (devel/php5-spl) failed (specify -k to 
> force)
> --->  Skipping 'lang/php5-extensions' (php5-extensions-1.1) because a 
> requisite package 'php5-dom-5.2.2' (textproc/php5-dom) failed (specify -k to 
> force)
> ** Listing the failed packages (*:skipped / !:failed)
> ! textproc/php5-simplexml (php5-simplexml-5.2.0)(missing 
> header)
> * devel/php5-spl (php5-spl-5.2.2)
> * textproc/php5-dom (php5-dom-5.2.2)
> * databases/php5-mysqli (php5-mysqli-5.2.2)
> * lang/php5-extensions (php5-extensions-1.1)
> --->  Packages processed: 0 done, 81 ignored, 4 skipped and 1 failed

Other misc info:

> [EMAIL PROTECTED]:~# uname -a
> FreeBSD winona.lan 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Sun Aug  6 
> 22:43:09 CEST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/WINONA  i386

> # portversion -v
> apache-2.0.59   =  up-to-date with port 
> autoconf-2.53_3 =  up-to-date with port 
> autoconf-2.59_2 =  up-to-date with port 
> automake-1.5_3,1=  up-to-date with port 
> bash-3.1.17 =  up-to-date with port 
> cclient-2004g,1 =  up-to-date with port 
> csup-20060318   =  up-to-date with port 
> cups-base-1.2.10=  up-to-date with port 
> expat-2.0.0_1   =  up-to-date with port 
> fontconfig-2.4.2_2,1=  up-to-date with port 
> freetype2-2.2.1_2   =  up-to-date with port 
> gettext-0.16.1_3=  up-to-date with port 
> gmake-3.81_2=  up-to-date with port 
> gnutls-1.6.2=  up-to-date with port 
> help2man-1.36.4_1   =  up-to-date with port 
> jpeg-6b_4   =  up-to-date with port 
> ldconfig_compat-1.0_8   =  up-to-date with port 
> libdrm-2.3.0=  up-to-date with port 
> libgcrypt-1.2.4_1   =  up-to-date with port 
> libgpg-error-1.4_1  =  up-to-date with port 
> libiconv-1.9.2_2=  up-to-date with port 
> libltdl-1.5.22_2=  up-to-date with port 
> libmcrypt-2.5.8 =  up-to-date with port 
> libtool-1.5.22_4=  up-to-date with port 
> libxml2-2.6.27  =  up-to-date with port 
> m4-1.4.9=  up-to-date with port 
> mysql-client-4.1.22 =  up-to-date with port 
> mysql-server-4.1.22 =  up-to-date with port 
> net-snmp-5.3.1_3=  up-to-date

Re: COM1 problems

2007-06-03 Thread Ian Smith
On Sun, 3 Jun 2007 01:01:38 -0700 (PDT) Tim Judd <[EMAIL PROTECTED]> wrote:

 > Hi there, new installation, 6.2-STABLE.
 > 
 > I have a Belkin UPS on COM1 and sysutils/nut is trying to talk with it.
 >  I know it talks with it, because it has in the past.  The problem I'm
 > getting is that NUT is just filling the screen with errors, tty
 > overflows, and various problems related to communication on that port
 > with the UPS.

If this goes unresolved, try pasting some real error messages?

 > Looking at NUT's website, they say the UPS communicates at 2400 baud
 > 8N1 and I'd like to believe that.  I tested without specifying a speed:
 > # tip com1
 > and didn't get anything..  waited 30 seconds or so.  After reading
 > NUT's website, I tried:
 > # tip -2400 com1
 > and got binary data (not readable information, but data none-the-less).

Quite likely symptomatic of baudrate mismatch then (without seeing any..)

 > The kernel reports the port as sio0, but sio0 doesn't exist in /dev
 > the only serial port I see is cuad0{,.init,.lock} and that seems to be
 > hard-coded by some init script (but I don't know where).  cuad* also is
 > said to be a dialout line, not a generic com device.  /etc/remote does
 > indicate it is a generic device in the sense it will just pass
 > input/output...

You want cuaa0, which will likely appear when you open it.  cuad0 (once
ttyd0) might appear if you've got some getty running on it .. make sure
/etc/ttys has this set to 'off' - unless of course nut claims it there? 

tip or anything should be able to open cuaa0 anyway, assuming nothing's
actually locking (ie also using) that dialup (not 'dialout') device.

 > How can I configure /dev/cuad0 to be 2400 baud fixed?

'tip -2400 com1' will use /dev/cuaa0 at 2400, but I suspect that's not
the baudrate your UPS is talking.  Perhaps 2400 is only a default, and
your UPS is set to something else?  From within tip:
  ~?   help
  ~v   show variables
  ~s ba?   show baudrate
  ~s ba=1200   set baudrate .. till traffic looks like ascii ..

 > thanks for any tips and pointersit's been a while since I've dealt
 > with serial ports.

I don't know your UPS (nor which model) but a little googling is a
dangerous thing; from 'nut belkin upd freebsd' this smelled useful:

 http://www.networkupstools.org/doc/2.0.1/INSTALL.html

Um, does it use a regular or cross-over cable?  CTS/RTS used?  Carrier
asserted, or needs setting up as a hardwired line? (as in /etc/remote) 

As Roland said:

 >> Look at sio(8), under FILES; the callin ports at /dev/ttyd?.

and maybe the para before FILES too.  Don't worry about the locking
stuff, though if curious, 'serial' has moved from /etc/ to /etc/rc.d/
but I've not played with that since FreeBSD 2.2.6 dialups years ago.

Cheers, Ian

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


GRUB / boot easy problems w / USB stick

2007-06-03 Thread Fred Davidson
>Some thoughts:

>1.  bsdlabel -Brw /dev/da0s1
>- What is the option "r"?
>- bsdlabel is supposed to create standard label
>which probably
>means creating da0s1a partition (can you call
>"bsdlabel /dev/da0s1" to
>see what was created?) So your next command should be
>"newfs
>/dev/da0s1a" rather than "newfs /dev/da0s1". And
>commands after that
>will need to be adjusted as well.

>2. boot0cfg -B -s 1 -t -v 182 /dev/da0
>It should be "-v -t 182" rather than "-t -v 182".
>Not sure if it
>matters though.

>Hope this helps.
>Andrey

Thanks Andrey,

great news! placing newfs on /dev/da0s1a instead of
/dev/da0s1 really helped.  Now GRUB recognizes the
filesystem on my usb partition. Here's what's new.

#I placed 1 UFS2 partition on my USB key at
#/dev/da0s1a. 

mount /dev/da0s1a /usb
mkdir -p /usb/boot/grub

#copied all files from /boot to /usb/boot and all
files #from /boot/grub to /usb/boot/grub (I know I can
make #it smaller but just copying all for now).  Next
I #invoked the grub shell and did the following:

grub> root (hd1,0,a)

Filesystem type is ufs2, partition type is 0xa5.

grub> setup (hd1)

Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/ufs2_stage1_5" exists... yes
Running "embed /boot/grub/ufs2_stage1_5 (hd1)"... 16
sectors are embedded.
Succeeded
Running "install /boot/grub/stage1 (hd1) (hd1)1+16 p
(hd1,0,a)/boot/grub/stage2 /boot/grub/menu.lst"...
Succeeded
Done.

#I reboot, and am excited to see the grub menu I've
set #up.  Here is my menu.lst:

default=0
timeout=30

title NewOS
root (hd0,0,a)
kernel /boot/loader

#You might notice I made root hd0.  This is actually
#helpful for anyone setting GRUB up for the first
time.
#You see when setting up grub from the shell within
#your computer, your first hard drive is always hd0,
#and your usb stick can be anything after that (in my
#case hd1).  You can test this by placing an oddly
#named text file in each of your grub directories (1
in #hard drive, 1 in usb stick), then using find from
the #grub shell to indicate where that oddly named
file is #located:

grub> find /boot/grub/weirdfile
(hd0,0,a)

#The main point is that when you reboot to your USB
#key, because it's now the first drive, it's probably
#going to be hd0, instead of hdx, thus my menu.lst.  

# Anyway, back to the menu selection.  When I choose
the 'NewOS', this is what I get:

Booting 'NewOS'

root (hd0,0,a)
Filesystem type is ufs2, partition type is 0xa5
kernel /boot/loader
[FreeBSD-a.out, loadaddr=0x20, text=0x1000,
data=0x32000, bss=0x0, entry=0x20]


BTX loader 1.00 BTX version is 1.01
Consoles: internal video/keyboard
BIOS drive C: is disk0
BIOS drive D: is disk1
BIOS 631kB/980480kB available memory

FreeBSD/i386 bootstrap loader, Revision 1.1
(root @barney.msu.edu, Sun May 8 03:20:03 UTC 2006)

#This is the last line, and if I wait about five
#minutes it prints these additional lines:

can't load 'kernel'

Type '?' for a list of commands, 'help' for more
detailed help.
OK _

#Again I'm pretty sure I must have the right 'hd'
#addressing.  I tested this by changing the root
#location to (hd1,0,a) which found the boot loader off
#of my hard drive and booted.  I tested this by moving
#the loader from my hard drive out of /boot, and
#rebooting, where upon it couldn't find loader
anymore.

Alright I'll leave it there. (Starving for that little
morsel of knowledge out there that will unlock this!)

-Fred

(p.s. I'm new to the mailing lists, and can't find the
charter for any of the groups, anyone have a link? :)


 
  


   

Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

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


Re: what should I set for CPUTYPE in make.conf?

2007-06-03 Thread Momchil Ivanov
On Sunday 03 June 2007 15:27:58 Abdullah Ibn Hamad Al-Marri wrote:
> On 6/3/07, Oliver Herold <[EMAIL PROTECTED]> wrote:
> > Nothing at all in my humble opinion. You'll have maybe more problems than
> > advantages because of changing this option.

Can you explain this one, please? What kind of problems am I going to 
encounter?

>
> Oliver is more expert than I, but _IF_ we will get troubles why do we
> have this option in the first place?

-- 
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B
  


pgpqxsqyD9BYK.pgp
Description: PGP signature


Re: Flashplugin problem after xorg 7.2 upgrade

2007-06-03 Thread Nikola Lecic
On Sun, 03 Jun 2007 03:30:58 +0300
Ozan Enginoglu <[EMAIL PROTECTED]> wrote:

> Ok, here are my computer properties: evo n800v compaq laptop with 1.8
> ghz and 512 ram. 
> 
> [EMAIL PROTECTED]:~$ nspluginwrapper -a -v -i
> Auto-install plugins from /usr/X11R6/lib/browser_plugins
> Looking for plugins in /usr/X11R6/lib/browser_plugins
> Auto-install plugins from /usr/X11R6/lib/firefox/plugins
> Looking for plugins in /usr/X11R6/lib/firefox/plugins
> Auto-install plugins
> from /usr/local/lib/npapi/linux-flashplugin Looking for plugins
> in /usr/local/lib/npapi/linux-flashplugin Install
> plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
>  ... already installed system-wide, skipping
> Auto-install plugins
> from /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux
> Looking for plugins
> in /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux
> Install
> plugin /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so
> Segmentation fault: 11 (core dumped)
> 
> as a user i get the same core dumped error. Now i can play any flash
> in firefox but inspide of that i got "pid 4909 (npconfig), uid 1001:
> exited on signal 11 (core dumped)" error. I changed the depth from 16
> to 32 but i still got these errors.

As I wrote (scroll down this thread), if you have three files installed
in ~/.mozilla/plugins, and if all plugins work, I guess you don't have
to worry.

> And when i open 3 web sites with flash plugins the cpu usage is
> approx. (and stable) 45%. Is this normal?

It is very hard to say, depends on what sites you opened, etc. Seems ok
to me. I'm aware of cpu issues in version 7 in full screen mode /only/
and of those related to hibernation, all fixed in version 9). You can of
course try www/linux-flashplugin-9.0r31_1 instead (first uninstall
version 7). I personally wasn't very happy with it. Ver. 7 has always
been working flawlessly for me.

If you are not sure and want to pursue the matter, you may start a new
thread about flashplugin cpu usage. You can also consider asking on
[EMAIL PROTECTED]

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


Re: php5-extensions and xorg libraries

2007-06-03 Thread Zbigniew Szalbot

Hello,


 >>I cannot install php5-extensions, nor xorg nor xorg-libraries. I am 
lost as to what to do. Many thanks in advance!



I presume you did read /usr/ports/UPDATING for the procedure to upgrade 
or install xorg 7.2



The thing is that I do not need xorg and would happily skip it. All I 
want is php5-extensions and due to some errors with xorg I cannot get 
them installed.


Thanks!

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


Re: what should I set for CPUTYPE in make.conf?

2007-06-03 Thread Abdullah Ibn Hamad Al-Marri

On 6/3/07, Oliver Herold <[EMAIL PROTECTED]> wrote:

Nothing at all in my humble opinion. You'll have maybe more problems than
advantages because of changing this option.

Cheers,

Oliver Herold


On Sun, Jun 03, 2007 at 04:08:38PM +0300, Abdullah Ibn Hamad Al-Marri wrote:
>  On 6/3/07, Momchil Ivanov <[EMAIL PROTECTED]> wrote:
> > Hi guys,
> >
> > I have IBM T40 with dmesg showing the processor as
> >
> > CPU: Intel(R) Pentium(R) M processor 1500MHz (1495.16-MHz 686-class CPU)
> >   Origin = "GenuineIntel"  Id = 0x695  Stepping = 5
> >
> > 
Features=0xa7e9f9bf
> > Features2=0x180
> >
> > What sould I set for CPUTYPE in my make.conf pentium4m, pentium-m or
> > something
> > else?
> >
> > Thanks,
> > Momchil
> >
>  pentium-m or  pentium3 ;)
>
>  --
>  Regards,
>
>  -Abdullah Ibn Hamad Al-Marri
>  Arab Portal
>  http://www.WeArab.Net/
>  ___
>  freebsd-questions@freebsd.org mailing list
>  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>  To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
Honorable, adj.:
Afflicted with an impediment in one's reach.  In legislative
bodies, it is customary to mention all members as honorable; as, "the
honorable gentleman is a scurvy cur."
-- Ambrose Bierce, "The Devil's Dictionary"



Oliver is more expert than I, but _IF_ we will get troubles why do we
have this option in the first place?

--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: what should I set for CPUTYPE in make.conf?

2007-06-03 Thread Abdullah Ibn Hamad Al-Marri

On 6/3/07, Momchil Ivanov <[EMAIL PROTECTED]> wrote:

Hi guys,

I have IBM T40 with dmesg showing the processor as

CPU: Intel(R) Pentium(R) M processor 1500MHz (1495.16-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x695  Stepping = 5

Features=0xa7e9f9bf
Features2=0x180

What sould I set for CPUTYPE in my make.conf pentium4m, pentium-m or something
else?

Thanks,
Momchil


pentium-m or  pentium3 ;)

--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: deleting old mails

2007-06-03 Thread Thierry Lacoste
On Sunday 03 June 2007 14:01, Christopher Hilton wrote:
> Thierry Lacoste wrote:
> > I'm running a postfix server on FreeBSD 6.1 and I'd like to have
> > a cronjob which deletes old mails from mboxes in /var/mail.
> >
> > I tried mail/archivemail but it cannot create it's lock file
> > in /var/mail because it runs as the user owning the mailbox
> > on which it operates.
> >
> > I also tried mail/archmbox but I'm wondering if it is safe
> > to use it while postfix is running. Quoting the manual:
> >
> >A few words about locking. There has been a discussion  about 
> > archmbox handles  file locking. The answer is simple: no mailbox is ever
> > locked. The reason behind this behavior is that I want archmbox to be as 
> > least invasive  as  possible, so other kind of checks are performed to
> > ensure that no data is lost (mailbox has changed/mailbox is in use by 
> > another program). I will surely add some locking mechanism in the future.
> >
> > Any help would be appreciated.
>
> Have you consider using Maildir/ format instead? A switch to Maildir/
> format would allow you to use the "find" program to weed out your
> mailbox and locking is not an issue.

AFAICS the Maildir/ format implies that mails are delivered to the home
directory of the users.
On the mail server the home diretory is NFS-mounted read-only just to
be able to see the .forward files.
Users are required to use only pops to read their mail (qpopper is on the
mail server) and I wanted to avoid unnecessary network traffic: from the
mail server to the NFS server upon mail receipt and in the other way when
readind mail with pops.

Regards,
Thierry.

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


isc-dhcp3-server in a jail?

2007-06-03 Thread Paul Fraser

Hi all,

I'm playing around a bit with jails here, and have decided to try and
set one up to run simply the "essential" network services - namely
bind and dhcpd. I've managed to get bind working fine within the jail
I've set up, but damned if I can get dhcpd to.

Here's what's happening:

I've build dhcpd with support for sockets, as required to run in a
jail. I've then specified in rc.conf I want dhcpd to start and to
listen on interface re0 (the Realtek Gig-E card in the jail host).

I start dhcpd (/usr/local/etc/rc.d/isc-dhcpd start;) and get the following:

Starting dhcpd.
Internet Systems Consortium DHCP Server V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Listening on Socket/re0/192.168.72/24
Sending on Socket/re0/192.168.72/24

Now that does appear to be the correct network, but when I try and
obtain a lease on any client machines on this network, I fail.

Can anybody offer any insight into this?

--
Regards,

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


Re: FreeBSD on Apple Mac Mini?

2007-06-03 Thread Sam Lawrance


On 03/06/2007, at 8:02 PM, Sam Lawrance wrote:



On 03/06/2007, at 10:26 AM, Richard Tobin wrote:

Does FreeBSD run well on the Mac Mini (x86)?  I'm considering  
getting
one to use for both MacOS and FreeBSD (booting from an external  
disk,

if that's reasonable).



Yep, it works fine.  I used boot camp to create a small boot
partition on the internal drive, and it loads everything else  
from an

external USB drive.


Thanks.  A few more questions:

 - Any reason to prefer USB over Firewire?


No, it's just what I had.


 - Do you have to use a boot partition on the internal disk?  Can
   FreeBSD boot from external USB or Firewire?


I am not sure.  From what I understand, intel macs can boot from  
either USB or Firewire provided that they are partition using GPT.   
I used a boot partition on the external disk because I couldn't get  
it to work, and didn't care to spend much time on it.


s/external/internal/ above :-)


 - Which release of FreeBSD are you using?


6.2-STABLE.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[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: deleting old mails

2007-06-03 Thread Christopher Hilton

Thierry Lacoste wrote:

I'm running a postfix server on FreeBSD 6.1 and I'd like to have
a cronjob which deletes old mails from mboxes in /var/mail.

I tried mail/archivemail but it cannot create it's lock file
in /var/mail because it runs as the user owning the mailbox
on which it operates.

I also tried mail/archmbox but I'm wondering if it is safe
to use it while postfix is running. Quoting the manual:

   A few words about locking. There has been a discussion  about  archmbox
   handles  file locking. The answer is simple: no mailbox is ever locked.
   The reason behind this behavior is that I want archmbox to be as  least
   invasive  as  possible, so other kind of checks are performed to ensure
   that no data is lost (mailbox has changed/mailbox is in use by  another
   program). I will surely add some locking mechanism in the future.

Any help would be appreciated.



Have you consider using Maildir/ format instead? A switch to Maildir/ 
format would allow you to use the "find" program to weed out your 
mailbox and locking is not an issue.


-- Chris

--
  __o  "All I was doing was trying to get home from work."
_`\<,_   -Rosa Parks
___(*)/_(*)___
Christopher Sean Hilton
pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Multiple issues (FreeBSD 6.2 RELEASE)

2007-06-03 Thread Lucas (a.k.a T-Bird or bsdfan3)
Well, turning securelevel completely off in /etc/rc.conf fixed X, or 
sort of.   X will start up in 800x600 (which is the LCD's native 
resolution) using the vesa driver; but, when I try the trident driver, 
it refuses to run at 800x600 and tries 640x480 instead, which the LCD 
doesn't like.  Results: a black screen.  Any idea on how to fix this one?


magikman wrote:


Lucas (a.k.a T-Bird or bsdfan3) wrote:


Securelevel == 1 and thanks for the answer to the fourth question

magikman wrote:


Lucas (a.k.a T-Bird or bsdfan3) wrote:


Hardware: Compaq Presario 1200-XL118
AMD K6-2 500MHz
64MB of RAM
Trident CyberBlade i7 video with 4MB shared RAM
6GB ATA66 HD
Linksys 10/100 PCCard Ethernet (using ed driver)

OS: FreeBSD 6.2-RELEASE using GENERIC kernel

Issues:
1) The machine will not turn off when I try to soft-off it (ACPI S5 
state, shutdown -r or -p).  How do I fix this?
2) X gives me errors about not being able to open /dev/mem and 
/dev/io such as "Operation not allowed".  This occurs both when X 
is started directly as root and from xdm run from /etc/ttys.  
Again, how do I fix this?
3) Does anyone know if this machine supports S4BIOS?  It lists S4 
as a supported sleep state, but the hw.acpi.s4bios sysctl prints as 0.

4) How do you set sysctl tunables at boot time?

Please CC me, as I am not subscribed to the list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"



1) I am not sure.
2) What secure you need to check your secure level.
3) I am not sure.
4) /etc/sysctl.conf





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


Drop the level down to 0.



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


Re: Multiple issues (FreeBSD 6.2 RELEASE)

2007-06-03 Thread Lucas (a.k.a T-Bird or bsdfan3)

I will try reflashing the BIOS with the latest ROMpaq.

[EMAIL PROTECTED] wrote:

On 01/06/07, Lucas (a.k.a T-Bird or bsdfan3) <[EMAIL PROTECTED]> 
wrote:



Hardware: Compaq Presario 1200-XL118
AMD K6-2 500MHz
64MB of RAM
Trident CyberBlade i7 video with 4MB shared RAM
6GB ATA66 HD
Linksys 10/100 PCCard Ethernet (using ed driver)

OS: FreeBSD 6.2-RELEASE using GENERIC kernel

Issues:
1) The machine will not turn off when I try to soft-off it (ACPI S5
state, shutdown -r or -p).  How do I fix this?



In my experience most of the stuff built around the
AMD k6 junk (circa 1998) had horrible ACPI support,
nonstandard and incomplete, where possible.  I have
a lurking suspicion that they advertised these things
as only working correctly under winders (Optimised
for Windows 98! Now with nearly intel compliant MMX!).
A bios upgrade _might_ solve it.
A lot of those older machines (supposedly) support apm,
so fiddling with apm(8) might give some answers.
You might have to load the module or uncomment the
device apm line and recompile your kernel.


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


Re: Switching between half-duplex and full duplex

2007-06-03 Thread Gelsema, P \(Patrick\)
On Sun, June 3, 2007 13:01, Pang wrote:
> Hello,
>   I have just installed FreeBSD and found that the nic em0 is set to
> half-duplex only. Could anyone tell me how I can switch it to full-duplex?

man ifconfig -> how to use the ifconfig tool
man em -> available options to the em(4) driver.

ifconfig em0 media 100baseTX mediaopt full-duplex

Rgds,

Patrick

>
> em0: flags=8843 mtu 1500
> options=b
> inet 172.16.0.2 netmask 0xfffc broadcast 172.16.0.1
> ether XX:XX:XX:XX:XX:XX
> media: Ethernet autoselect (10baseT/UTP )
> status: active
>
> Thanks
> Pang
> ___
> 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]"


what should I set for CPUTYPE in make.conf?

2007-06-03 Thread Momchil Ivanov
Hi guys,

I have IBM T40 with dmesg showing the processor as

CPU: Intel(R) Pentium(R) M processor 1500MHz (1495.16-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x695  Stepping = 5
  
Features=0xa7e9f9bf
Features2=0x180

What sould I set for CPUTYPE in my make.conf pentium4m, pentium-m or something 
else?

Thanks,
Momchil

-- 
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B
  


pgpXeEtpgEGOB.pgp
Description: PGP signature


Re: Recommendations for config file revision control

2007-06-03 Thread Giorgos Keramidas
On 2007-06-02 21:45, Maxim Khitrov <[EMAIL PROTECTED]> wrote:
> Here's an update on what I ended up going with. I decided to go
> with my idea of moving all configuration files to a common
> directory, but with a bit of a change. I created /config and
> under it base/ and user/. Everything in base/ comes from /etc
> and /boot, and the rest goes under user/. I didn't want to mix
> the two. So then I created a new subversion repository, but I
> set permissions such that only root can read or write to
> it. Basically I decided to forbid anyone on the outside from
> getting their hands on the repository contents, since it will
> be storing things like master.passwd and other sensitive data.
>
> Once all this was in place I moved all configuration files to
> their appropriate locations in /config and created symlinks in
> their original location. Everything under /config was then
> imported into the subversion repository using the file://
> method. Since I forbid anyone from doing a check-out of the
> repository to some external location, I don't need to worry
> about file updates except when they are updated in
> /config. This simplifies things. What I did to keep the
> repository up to date was create a simple sh script that is run
> by cron every 10 minutes. The script simply issues 'svn ci
> --non-interactive --message "Automatic commit"' command in the
> /config directory. So any changes made to the configuration
> files are automatically recorded every 10 minutes.
>
> This works well, but does have a few flaws. First of all, when
> I edit files from sftp I have no way to add a meaningful
> message to the commit. Not a big deal, and I can always do a
> manual commit if I had to. The other thing is that this script
> will not auto-add files to the repository. Any new
> configuration file that I'd like to have monitored first gets
> moved to /config, then has a link created in the original
> place, then is added to the repository via 'svn add'. A bit
> more work, but I think it's fine. Technically I can automate
> the process of adding and removing files from the repository by
> using svn status output, but at this point the extra work isn't
> worth it. The bigger problem is the fact that subversion does
> not store owner and permission settings. That means that if I
> ever want to delete the /config directory and recreate it, I
> lose all permissions on things like master.passwd. What I did
> was add chown and chmod commands to the monitor script for all
> files that had non-standard permissions. So those get run along
> with the svn ci command every 10 minutes. The alternative was
> to use subversion properties, have the script parse those and
> apply the appropriate settings. However, since the permissions
> have to be set manually anyway there is no advantage to this
> over the monitor script, which is also versioned.

The permission and ownership problem is also one of the issues
which Subversion (or other SCMs) do not solve for base-system
binaries too.

See for example the thread:

Using Subversion for binary distribution?

which was recently present in `freebsd-current'.

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


Re: SMP System but only CPU#0 being used?

2007-06-03 Thread Harald Schmalzbauer
Am Sonntag, 3. Juni 2007 schrieb Alex R:
> On Sat, 02 Jun 2007 18:43:52 -0500, JD Bronson <[EMAIL PROTECTED]>
[...]
> to 0, i will try setting it to 1 and see what happens. The CPU is a LGA775
> Pentium-M with EMT64 I think, I remember the CPU box saying dual core on it
> (not core duo though). Pentium 4 was socket 478 from memory or did Intel do
> a Pentium 4 in LGA775 too?

Yes, they had P4 in LGA775 for quiet some time.
I'm quiet sure that a 3GHz CPU is NetBurst architecture, pentium-m never 
reached that clock. But regardless of the architecture, therre were relad 
Dula Core Pentium 4 (xxxD) and the old hyperthreaded.
If it was a Dual Core CPU FreeBSD wouldn't report "Logical CPUs per core" 
but "Cores per package"

-Harry

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



-- 
OmniSEC  -  UNIX und Windows Netzwerke - Sicher
Harald Schmalzbauer
Flintsbacher Str. 3
80686 München
+49 (0) 89 18947781
+49 (0) 160 93860101
USt-IdNr.: DE253184753
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Switching between half-duplex and full duplex

2007-06-03 Thread Pieter de Goeje
On Sunday 03 June 2007, Pang wrote:
> Hello,
>   I have just installed FreeBSD and found that the nic em0 is set to
> half-duplex only. Could anyone tell me how I can switch it to full-duplex?
>
> em0: flags=8843 mtu 1500
> options=b
> inet 172.16.0.2 netmask 0xfffc broadcast 172.16.0.1
> ether XX:XX:XX:XX:XX:XX
> media: Ethernet autoselect (10baseT/UTP )
> status: active
>
> Thanks
> Pang
According to ifconfig(8) and em(4):
# ifconfig em0 mediaopt full-duplex

HTH,
Pieter de Goeje

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


Switching between half-duplex and full duplex

2007-06-03 Thread Pang

Hello,
 I have just installed FreeBSD and found that the nic em0 is set to 
half-duplex only. Could anyone tell me how I can switch it to full-duplex?


em0: flags=8843 mtu 1500
   options=b
   inet 172.16.0.2 netmask 0xfffc broadcast 172.16.0.1
   ether XX:XX:XX:XX:XX:XX
   media: Ethernet autoselect (10baseT/UTP )
   status: active

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


advice for cache server,

2007-06-03 Thread Marwan Sultan

Hello everyone,

  Im On FreeBSD 6.2R, I run radius and chillispot, sure my fbsd is the 
gateway.


  The internet start to be slow due the increase of the users on my lan.

  I was thinking to install a cache server, that would be easy and simple, 
even for my users,
  is the squid proxy server enough for this mission? any other 
recommendations?


  does it require my users to change thier browser configuration to 
"proxy.domain.com"

  or it will auto detect?

  One more thing,
  what is the best way to limit the bandwidth download ?
  some users are sucking the connection by using softwares such as imesh 
and many others..


  Thank you.
  Marwan

_
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]"


random xorg crashes after xorg upgrade to 7.2

2007-06-03 Thread Dino Vliet
Hi peeps,
now that I've succesfully upgraded my xorg to 7.2 I'm experiencing random 
problems. Sometimes closing a firefox tab causes xorg to crash or changing the 
screen resolution in gnome to a lower value. 

When it crashes, I'm thrown into the command line where I can only reboot.

I really don't know where to look.

I have the xorg-upgrade script in my possession and pkg_info | grep xorg gives:

xorg-7.2X.Org complete distribution metaport
xorg-apps-7.2   X.org apps meta-port
xorg-cf-files-1.0.2_2 X.org cf files for use with imake builds
xorg-docs-1.3,1 X.org documentation files
xorg-drivers-7.2X.org drivers meta-port
xorg-fonts-100dpi-7.2 X.Org 100dpi bitmap fonts
xorg-fonts-7.2  X.org fonts meta-port
xorg-fonts-75dpi-7.2 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-7.2 X.Org Cyrillic bitmap fonts
xorg-fonts-miscbitmaps-7.2 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-7.2 X.Org TrueType fonts
xorg-fonts-type1-7.2 X.Org Type1 fonts
xorg-libraries-7.2_1 X.org libraries meta-port
xorg-nestserver-1.2.0,1 Nesting X server from X.Org
xorg-printserver-1.2.0,1 X Print server from X.Org
xorg-protos-7.2 X.org protos meta-port
xorg-server-1.2.0_2,1 X.Org X server and related programs
xorg-vfbserver-1.2.0,1 X virtual framebuffer server from X.Org


My (unchanged) xorg conf looks like:

Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath  "/usr/X11R6/lib/X11/rgb"
ModulePath   "/usr/local/lib/xorg/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/local/share/ghostscript/fonts/"
EndSection

Section "Module"
Load  "extmod"
Load  "glx"
Load  "dri"
Load  "dbe"
Load  "record"
Load  "xtrap"
Load  "type1"
Load  "freetype"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option"Protocol" "auto"
Option"Device" "/dev/sysmouse"
EndSection

Section "Monitor"
#DisplaySize  340   270# mm
Identifier   "Monitor0"
VendorName   "HWP"
ModelName"hp L1720"
 ### Uncomment if you don't want to default to DDC:
HorizSync31.0 - 80.0
VertRefresh  56.0 - 75.0
Option"DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor"   # []
#Option "HWcursor"   # []
#Option "NoAccel"# []
#Option "ShadowFB"   # []
#Option "UseFBDev"   # []
#Option "Rotate" # []
#Option "VideoKey"   # 
#Option "FlatPanel"  # []
#Option "FPDither"   # []
#Option "CrtcNumber" # 
#Option "FPScale"# []
#Option "FPTweak"# 
Identifier  "Card0"
Driver  "vesa"
#VendorName  "nVidia Corporation"
BoardName   "Unknown Board"
BusID   "PCI:5:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport   0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 24
Modes "1280x1024" "1024x768"
EndSubSection
EndSection


And the Xorg error log shows :


X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: FreeBSD 6.1-RELEASE-p16 amd64 
Current Operating System: FreeBSD zouk.tiscali.nl 6.2-RELEASE-p5 FreeBSD 
6.2-RELEASE-p5 #14: Sun Jun  3 10:40:42 CEST 2007 
root@:/usr/obj/usr/src/sys/MYKERNEL amd64
Build Date: 28 May 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning

portupgrade -o print/ghostscript-gpl ghostscript-gnu doesn't work

2007-06-03 Thread Dino Vliet
Hi peeps,

on my amd64 system which I just upgraded to 6.2 (from 6.1) I wanted to upgrade 
my ports ass well. Looking into the /usr/ports/UPDATING file I saw the 
following announcement:

20070405:
  AFFECTS: users of print/ghostscript-*
  AUTHOR: [EMAIL PROTECTED]

  The default ghostscript port is changed from ghostscript-gnu to
  ghostscript-gpl. To upgrade

  portupgrade -o print/ghostscript-gpl ghostscript-gnu
  portmaster -o print/ghostscript-gpl ghostscript-gnu

  If you want to use the ghostscript-gnu as default, put
  WITH_GHOSTSCRIPT_GNU=yes in your make.conf.

I tried to upgrade this port with the recommended command:
portupgrade -o print/ghostscript-gpl ghostscript-gnu

But the result is that nothing happens and my ghostscript-gnu port is still 
installed:

$ pkg_info | grep ghost
ggv-2.12.0_1GNOME 2 ghostscript viewer
ghostscript-gnu-7.07_16 GNU Postscript interpreter

What did I miss?

Thnaks in advanced


   
-
Building a website is a piece of cake. 
Yahoo! Small Business gives you all the tools to get online.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


multimedia/gstreamer-plugins80 problem

2007-06-03 Thread Dino Vliet
After I upgraded xorg, I had troubles upgrading this port. Can anyone help me 
with this because I get the following error message on my system (amd64, 
running freebsd 6.2)

../../gst-libs -I../../gst-libs -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/local/include/gstreamer-0.8
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/libxml2 -I/usr/local/include
-DGST_DISABLE_DEPRECATED -Wall -I/usr/local/include/ -O2
-fno-strict-aliasing -pipe -I/usr/local/include -MT
libgstcacasink_la-gstcacasink.lo -MD -MP
-MF .deps/libgstcacasink_la-gstcacasink.Tpo -c gstcacasink.c  -fPIC
-DPIC -o .libs/libgstcacasink_la-gstcacasink.o
gstcacasink.c: In function `gst_cacasink_sinkconnect':
gstcacasink.c:280: warning: implicit declaration of function
`caca_free_bitmap'
gstcacasink.c:283: warning: implicit declaration of function
`caca_create_bitmap'
gstcacasink.c:287: warning: assignment makes pointer from integer
without a cast
gstcacasink.c: In function `gst_cacasink_chain':
gstcacasink.c:339: warning: implicit declaration of function
`caca_clear'
gstcacasink.c:340: warning: implicit declaration of function
`caca_draw_bitmap'
gstcacasink.c:342: warning: implicit declaration of function
`caca_refresh'
gstcacasink.c: In function `gst_cacasink_set_property':
gstcacasink.c:361: warning: implicit declaration of function
`caca_set_dithering'
gstcacasink.c:361: error: `CACA_DITHERING_NONE' undeclared (first use in
this function)
gstcacasink.c:361: error: (Each undeclared identifier is reported only
once
gstcacasink.c:361: error: for each function it appears in.)
gstcacasink.c:367: warning: implicit declaration of function
`caca_set_feature'
gstcacasink.c:367: error: `CACA_ANTIALIASING_MAX' undeclared (first use
in this function)
gstcacasink.c:371: error: `CACA_ANTIALIASING_MIN' undeclared (first use
in this function)
gstcacasink.c: In function `gst_cacasink_open':
gstcacasink.c:419: warning: implicit declaration of function `caca_init'
gstcacasink.c:421: warning: implicit declaration of function
`caca_get_width'
gstcacasink.c:422: warning: implicit declaration of function
`caca_get_height'
gstcacasink.c:424: error: `CACA_ANTIALIASING_MAX' undeclared (first use
in this function)
gstcacasink.c:426: error: `CACA_DITHERING_NONE' undeclared (first use in
this function)
gstcacasink.c: In function `gst_cacasink_close':
gstcacasink.c:443: warning: implicit declaration of function `caca_end'
gmake[3]: *** [libgstcacasink_la-gstcacasink.lo] Error 1
gmake[3]: Leaving directory
`/usr/ports/multimedia/gstreamer-plugins80/work/gst-plugins-0.8.12/ext/libcaca'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/multimedia/gstreamer-plugins80/work/gst-plugins-0.8.12/ext'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/multimedia/gstreamer-plugins80/work/gst-plugins-0.8.12'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/multimedia/gstreamer-plugins80.
** Command failed [exit code 1]: /usr/bin/script
-qa /tmp/portupgrade.98993.0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=gstreamer-plugins80-0.8.12_2,1 UPGRADE_PORT_VER=0.8.12_2,1
make WITH_FAM_SYSTEM=fam
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! multimedia/gstreamer-plugins80
(gstreamer-plugins80-0.8.12_2,1)  (compiler error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

Does anyone know what to do next?

   
-
Shape Yahoo! in your own image.  Join our Network Research Panel today!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD on Apple Mac Mini?

2007-06-03 Thread Sam Lawrance


On 03/06/2007, at 10:26 AM, Richard Tobin wrote:

Does FreeBSD run well on the Mac Mini (x86)?  I'm considering  
getting
one to use for both MacOS and FreeBSD (booting from an external  
disk,

if that's reasonable).



Yep, it works fine.  I used boot camp to create a small boot
partition on the internal drive, and it loads everything else from an
external USB drive.


Thanks.  A few more questions:

 - Any reason to prefer USB over Firewire?


No, it's just what I had.


 - Do you have to use a boot partition on the internal disk?  Can
   FreeBSD boot from external USB or Firewire?


I am not sure.  From what I understand, intel macs can boot from  
either USB or Firewire provided that they are partition using GPT.  I  
used a boot partition on the external disk because I couldn't get it  
to work, and didn't care to spend much time on it.



 - Which release of FreeBSD are you using?


6.2-STABLE.


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


php5-extensions and xorg libraries

2007-06-03 Thread Toni Stanton



>>I cannot install php5-extensions, nor xorg nor xorg-libraries. I am 
lost as to what to do. Many thanks in advance!


>>Zbigniew Szalbot


I presume you did read /usr/ports/UPDATING for the procedure to upgrade 
or install xorg 7.2


Its a pain, sure. What worked for me was to update the ports tree to get 
the xorg 7.2 files, remove the 6.9 version, setenv XORG_UPGRADE yes, cd 
to the xorg ports directory, make && make install


I also found portmaster to be much less of a headache than portupgrade 
on the way.


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


php5-extensions and xorg libraries

2007-06-03 Thread Toni Stanton



>>I cannot install php5-extensions, nor xorg nor xorg-libraries. I am 
lost as to what to do. Many thanks in advance!


>>Zbigniew Szalbot


I presume you did read /usr/ports/UPDATING for the procedure to upgrade 
or install xorg 7.2


Its a pain, sure. What worked for me was to update the ports tree to get 
the xorg 7.2 files, remove the 6.9 version, setenv XORG_UPGRADE yes, cd 
to the xorg ports directory, make && make install


I also found portmaster to be much less of a headache than portupgrade 
on the way.


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


php5-extensions and xorg libraries

2007-06-03 Thread Toni Stanton



>>I cannot install php5-extensions, nor xorg nor xorg-libraries. I am 
lost as to what to do. Many thanks in advance!


>>Zbigniew Szalbot


I presume you did read /usr/ports/UPDATING for the procedure to upgrade 
or install xorg 7.2


Its a pain, sure. What worked for me was to update the ports tree to get 
the xorg 7.2 files, remove the 6.9 version, setenv XORG_UPGRADE yes, cd 
to the xorg ports directory, make && make install


I also found portmaster to be much less of a headache than portupgrade 
on the way.


hope this helps
___
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 disable command prompt history?

2007-06-03 Thread [EMAIL PROTECTED]

On 03/06/07, VeeJay <[EMAIL PROTECTED]> wrote:

Thank you guys,

Actually, it was for the security reason that if somebody breaks in the
server then he/she doesn't see what commands are being executed, etc,
etc

and I am using /bin/sh

any more comments?



I would not have (honestly!) thought that
/bin/sh _when called as such_ would save
a history*.

Glancing at man sh cured me of that notion.



* I mean, it's a primitive piece of crap, in its
own special way, but that's how /bin/sh is
supposed to respond, AFIK? Syntax confu-
sing is, never the same person twice, fnord?

--
--
___
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 disable command prompt history?

2007-06-03 Thread VeeJay

Thank you guys,

Actually, it was for the security reason that if somebody breaks in the
server then he/she doesn't see what commands are being executed, etc,
etc

and I am using /bin/sh

any more comments?

thanks,
VJ


On 6/2/07, Kevin Hunter <[EMAIL PROTECTED]> wrote:


At 1:56p -0400 on 02 Jun 2007, sac wrote:
> On 6/2/07, Christopher Hilton <[EMAIL PROTECTED]> wrote:
>> VeeJay wrote:
>>> Could someone would like to describe that how we can disable to show
>>> last executed commands by pressing Up Arrow?
>>>
>>
>> That would depend on which shell you are running. Can you run the
>> following command and post the results here?
>>
>>  echo $SHELL
>
> By default most of the shells like bash, zsh, ksh have history option.
> But you can avoid writing the history of the current session to the
> history file by unsetting the HISTFILE environment variable.
> So next time when you login the history of the previous session will
> not be shown.

I'd be curious as to the underlying "why?".  Having a history of what
you've done is generally a Good Thing.  The only reason that I
personally have ever come across to necessitate not storing my actions
is when I'm playing a prank on one of my friends.  Other than that,
having the ability to go see what commands I was executing three years
ago comes in awful handy.  I /could/ recreate that arcane command
sequence for that one-off job I needed 1,237 days ago, or I could do a

history | grep 'substring I remember in command' | less

And, if you're worried about the space it takes to store the history,
don't.  It's extremely negligible.

Kevin





--
Thanks!

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


Re: BSD derivatives

2007-06-03 Thread Spiros Papadopoulos

Hi Blake,

On 02/06/07, Blake Finley, MA, ABD-2 <[EMAIL PROTECTED]> wrote:


I am primarily concerned about security from internet hacking, and am
therefore considering setting up a separate internet computer with BSD.



Are you trying to secure a network with a secure gateway? To have a secure
PC?
What is your goal exactly?

What is your association with Open BSD?  with Linux?


They are both BSDs...I am not developing any of both, but i don't see any
reason why not adding a very good piece of code from the Free to the Open
BSD or the opposite. I am 99.9% sure that the association between them
is not competition.

What do you mean by "Linux"? Do you have any distro in mind? anyway...

FreeBSD is what it claims to be *clearly* on top of the page:
http://www.freebsd.org
and Linux is what it claims to be on http://www.linux.org (you need to read
a little
more than the top of the page here though, to see what it is).

Also check this link: http://www.linux.org/dist/list.html  (*press "go"*)

Are there copyright or other related issues involved?


It appears that FreeBSD is the most closely associated with the original

Berkeley programmers. (1)



I was told that OpenBSD provided the best security.  But I also note

that changes have occurred at OBSD, and wonder if this is still true.



It would have been better if the above questions were posted in
other, separate posts... :) These are irrelevant ((1) - see below) "to
security
from internet hacking"

Are you trying to decide if BSD is more secure than a Linux distro?

It seems to me that you place random questions/information here and
this way you can only get random replies and information that will
remain information and won't help you being "secured"
(considering that you said that primarily you are concerned about security)

If you know/learn how to setup a system and keep it up to date and monitor
it appropriately and spend a lot of time on it and many other things,
then it will be as much "secured" as possible from attacks.

...Supposedly, you decide that any of the OSs in question is
the "most secure":
You spend 3 days setting it up and you do nothing else for the next 2 years.
Your system won't be secure, no programmers will be responsible for this
and the copyrights usually claim/provide the software "AS IS", whatever its
name is.

(1)Programmers try to give you as much functionality and options ( obviously

along with security) possible. You are responsible to disable functionality
that you
don't need, to install the patches/updates they implement when
vulnerabilities are found, etc.
If for example they exclude things (i.e a driver) from the OS, for security,
you would
have an OS with limitations. Their goal is to write nice, neat, secure code.
Not preventing
people from attacking you nor you from not installing security updates to
your computer.
It would be like asking the hardware vendor not to put a network card in
your computer,
for security from "internet hacking".

The answer you want though is this: "FreeBSD is derived from BSD, the
version of
UNIX(r) developed at the University of California, Berkeley" which is BY FAR
more impressive
**in my opinion* *than this:
http://www.slackware.com/~msimons/slackware/grfx/ :P

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


Re: COM1 problems

2007-06-03 Thread Roland Smith
On Sun, Jun 03, 2007 at 01:01:38AM -0700, Tim Judd wrote:
> I'm subscribed to the digest, everyone -- send CC me on every reply
> please...
> 
> Hi there, new installation, 6.2-STABLE.
> 
> I have a Belkin UPS on COM1 and sysutils/nut is trying to talk with it.
>  I know it talks with it, because it has in the past.  The problem I'm
> getting is that NUT is just filling the screen with errors, tty
> overflows, and various problems related to communication on that port
> with the UPS.
> 
> Looking at NUT's website, they say the UPS communicates at 2400 baud
> 8N1 and I'd like to believe that.  I tested without specifying a speed:
> # tip com1
> and didn't get anything..  waited 30 seconds or so.  After reading
> NUT's website, I tried:
> # tip -2400 com1
> and got binary data (not readable information, but data none-the-less).
> 
> The kernel reports the port as sio0, but sio0 doesn't exist in /dev
> the only serial port I see is cuad0{,.init,.lock} and that seems to be
> hard-coded by some init script (but I don't know where).  cuad* also is
> said to be a dialout line, not a generic com device.  /etc/remote does
> indicate it is a generic device in the sense it will just pass
> input/output...

Look at sio(8), under FILES; the callin ports at /dev/ttyd?.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpNdJU3wNvtd.pgp
Description: PGP signature


COM1 problems

2007-06-03 Thread Tim Judd
I'm subscribed to the digest, everyone -- send CC me on every reply
please...

Hi there, new installation, 6.2-STABLE.

I have a Belkin UPS on COM1 and sysutils/nut is trying to talk with it.
 I know it talks with it, because it has in the past.  The problem I'm
getting is that NUT is just filling the screen with errors, tty
overflows, and various problems related to communication on that port
with the UPS.

Looking at NUT's website, they say the UPS communicates at 2400 baud
8N1 and I'd like to believe that.  I tested without specifying a speed:
# tip com1
and didn't get anything..  waited 30 seconds or so.  After reading
NUT's website, I tried:
# tip -2400 com1
and got binary data (not readable information, but data none-the-less).

The kernel reports the port as sio0, but sio0 doesn't exist in /dev
the only serial port I see is cuad0{,.init,.lock} and that seems to be
hard-coded by some init script (but I don't know where).  cuad* also is
said to be a dialout line, not a generic com device.  /etc/remote does
indicate it is a generic device in the sense it will just pass
input/output...

How can I configure /dev/cuad0 to be 2400 baud fixed?

thanks for any tips and pointersit's been a while since I've dealt
with serial ports.

--Tim.

If opportunity doesn't knock, build a door.
"I can" is a way of life.
More and Bigger is not always Better.
The road to success is always uphill.


   
Ready
 for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


gnome 2.18.2 crashed on getting out of lock screen + when activating keyboard switching applet

2007-06-03 Thread Roman Grachev

Hi everyone,

I have just build gnome 2.18.2 from scratch on my system and everything is
working fine except for two things:

1) when i press "lock screen" in gnome the screen fades to black, but when i
press a button to get out of it, i get the dialog for typing in my password
and the dialogs theme constantly changes from ClearLooks to default and
eventually stays that way with an error that gnome-settings-daemon has
crashed

2) a similar thing happens when i put keyboard switching applet to the top
applet, the theme changes a few times and then i get the same error message.

uname -a:
FreeBSD ... 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu May 31 19:52:17 UTC
2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

I am using Xorg 7.2 if that matters.

I would be grateful if anyone can point me in the direction of solving these
problems.

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


Re: BSD derivatives

2007-06-03 Thread Manolis Kiagias
Chad Perrin wrote:
> On Sun, Jun 03, 2007 at 09:15:22AM +0300, Manolis Kiagias wrote:
>   
>> Chad Perrin wrote:
>> 
>>> I'm not saying that's what the OpenBSD project does.  I'm just saying
>>> that, for instance, the availability of the ath driver contradicts a
>>> claim that security is a top priority of the FreeBSD project.  Only if
>>> it was installed and operational by default would that really be the
>>> case.
>>>
>>> Obviously, I'm assuming it's not installed by default.  From what I've
>>> read so far, it's not -- please correct me if I'm wrong.
>>>
>>>   
>>>   
>> Actually to set the record straight, the ath driver is installed by
>> default in 6.2 RELEASE.
>> Installed by default meaning the card is recognized during FreeBSD setup
>> and the user is able to configure it immediately from sysinstall.
>> The ath driver was also present in 6.1 RELEASE (and maybe earlier?)
>> although it had to be manually activated as a kernel module and it was
>> not immediately obvious it was supported since it was not present in
>> sysinstall during setup.
>> 
>
> That still sounds like it's not "installed by default" in the sense that
> I meant it.  By "installed by default", I mean you install the system
> and, without even knowing it (or making a decision), you discover you
> have a closed-source driver in your system.
>
>   
I see your point, bear in mind however that someone who is installing a
system that he believes consist of only free software may easily
overlook the fact one of the drivers is not, esp. if it is silently
recognized and configured with little intervention during setup. A
security-conscious admin would of course research both the OS and the
market and choose his hardware wisely. This leaves this kind of
"vulnerability" to smaller systems (maybe home systems) where the OS is
installed to existing hardware that was previously used with proprietary
OSes and where the user / admin is not experienced or knowledgeable
enough to care.
In fact it would be better if proprietary drivers were clearly marked as
such (or a relevant message shown in FreeBSD setup). It's been quite
some time since I setup my atheros in FreeBSD but I cannot recall seeing
any warning or indication about the ath driver.
>> Although the whole security issue is of course highly debatable, don't
>> forget how much more secure FreeBSD (or other open source OSes) are
>> compared to proprietary systems. I've been (and still am) a competent
>> Windows 200X server admin for years and have seen oh so many holes. Mind
>> you, most of them actually get exploited. It is nowhere near this in
>> FreeBSD.
>> 
>
> One of the keys for this is the fact that they're open source software,
> of course.  To the extent that something like the ath driver is part of
> your system whether you want it or not, that additional security benefit
> is reduced.  I'm just trying to differentiate between closed source
> software that affects system security and closed source software that
> doesn't -- because anything that isn't actually running doesn't affect
> security (all else being equal).
>
>   
Agree with you completely on this, binary-only drivers can cause trouble
even if well written. If nothing else, the company which writes them has
limited resources or even incentive to support them and had they been
open source fixes - security or other - would be implemented in a timely
manner.  I do prefer total open source on my server for security and
peace of mind. The desktop is however a different thing, I can live with
the occasional atheros or nvidia driver.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSD derivatives

2007-06-03 Thread Chad Perrin
On Sun, Jun 03, 2007 at 09:15:22AM +0300, Manolis Kiagias wrote:
> Chad Perrin wrote:
> > I'm not saying that's what the OpenBSD project does.  I'm just saying
> > that, for instance, the availability of the ath driver contradicts a
> > claim that security is a top priority of the FreeBSD project.  Only if
> > it was installed and operational by default would that really be the
> > case.
> >
> > Obviously, I'm assuming it's not installed by default.  From what I've
> > read so far, it's not -- please correct me if I'm wrong.
> >
> >   
> Actually to set the record straight, the ath driver is installed by
> default in 6.2 RELEASE.
> Installed by default meaning the card is recognized during FreeBSD setup
> and the user is able to configure it immediately from sysinstall.
> The ath driver was also present in 6.1 RELEASE (and maybe earlier?)
> although it had to be manually activated as a kernel module and it was
> not immediately obvious it was supported since it was not present in
> sysinstall during setup.

That still sounds like it's not "installed by default" in the sense that
I meant it.  By "installed by default", I mean you install the system
and, without even knowing it (or making a decision), you discover you
have a closed-source driver in your system.

> Although the whole security issue is of course highly debatable, don't
> forget how much more secure FreeBSD (or other open source OSes) are
> compared to proprietary systems. I've been (and still am) a competent
> Windows 200X server admin for years and have seen oh so many holes. Mind
> you, most of them actually get exploited. It is nowhere near this in
> FreeBSD.

One of the keys for this is the fact that they're open source software,
of course.  To the extent that something like the ath driver is part of
your system whether you want it or not, that additional security benefit
is reduced.  I'm just trying to differentiate between closed source
software that affects system security and closed source software that
doesn't -- because anything that isn't actually running doesn't affect
security (all else being equal).

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Leon Festinger: "A man with a conviction is a hard man to change. Tell him
you disagree and he turns away. Show him facts and figures and he questions
your sources. Appeal to logic and he fails to see your point."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"