Re: Xorg on FreeBSD does not work

2007-02-15 Thread Christian Walther

On 15/02/07, Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED] wrote:

On 2/15/07, Neeraj Sharma [EMAIL PROTECTED] wrote:
 I am a newbie to FreeBSD world. I am trying to install FreeBSD6.2 on my HP
 zv5240us laptop. Everything else went off fine except the X config. I ran
 the command X -configure which created a xorg.conf.new file. When I use that
 to run X it just shows a blank screen and I am not able to go back to the
 console also.

 I tried playing around with the parameters in xorg.conf.new file but without
 success. If anyone can help me with this it will be great...

 --
 Thanks  Regards,
 Neeraj Sharma

That is alright to show you xorg works or not.


Yes, a blank screen and a locked keyboard is a perfect description of
an X configuration that isn't working. ;-)



After doing that press ctrl+alt+backspace

Then #cp /root/xorg.conf.new /etc/X11/xorg.conf then type startx or
reboot your notebook.


Sorry for correcting, but this is not adviseable at this point. His X
isn't working obviously, so installing xorg.conf into the right place
would lead to more problems, without solving anything.
He can do so when the X configuration is working.



--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/


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


Re: Any way to probe snd card?

2007-02-15 Thread Gary Kline
On Wed, Feb 14, 2007 at 11:28:05PM -0800, Gary Kline wrote:
 On Wed, Feb 14, 2007 at 10:51:08PM -0800, Garrett Cooper wrote:
  Gary Kline wrote:
  On Wed, Feb 14, 2007 at 11:16:00PM -0500, Dak Ghatikachalam wrote:
  On 2/14/07, Gary Kline [EMAIL PROTECTED] wrote:
  
 I'm pretty stunned at how well gnome2 works on my
 antique 400MHz backup system.  [[ gnome2-lite wouldn't go, for
 some reason [?] ]]  Anyway, I do have a sound card in this
 one, but which *.ko I load or compile is the question.  If
 memory serves, I think this has  a Matrox card.  I've tried
 adding a few sound [snd_*.ko] files, but no sound.  The OSS
 dialogs open, but the tests produce no sound..  Would the sound
 card show up in dmesg if there were a sound card hiding?
  
 Any help out there?  This old box is an HP Kayak XU/XW.
  
  I solved most of my sound problems by taking actions reading
  
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html
  
  regards
  Dak
  
  
 Hm.  I forgot about adding the hints.*; but catenating
 /dev/sndstat indicates that I use snd_sb16.ko and compiling that
 in gives me a bunch of fatal undefines.  So I added snd_sbc
 to the KERNCONF and am recompiling.  
  
 Shouldn't be this hard; this worked with REdhat, just
 straightaway.  
  
 gary
  
  What model's the card (or what does pciconf -lv report at least)?
 
 
   This is strange.  A couple hours ago I kldloaded a few modules
   and saw that the card was my missing AWE64.  Now, when I load
   snd_sb16, it looks like an ISA SB 16.  It could be either.
   Note that if I load just snd_sb.ko, cat'ing /dev/sndstat returns
   zip.
   Still trying...
 

Interesting: I scripted them ALL in and ind that there are TWO
sound cards::

pcm0: SB16 DSP 4.16 at io 0x240 irq 9 drq 1:5 bufsz 4096 kld snd_sb16
(1p/1r/0v channels duplex default)
pcm1: AD1816 at io 0x500 irq 5 drq 0:3 bufsz 8192 kld snd_ad1816
(1p/1r/0v channels duplex)

Suggestions?


   gary
 
 
  -Garrett
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 -- 
   Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Device gm0 destroyed?

2007-02-15 Thread Nejc Škoberne

Hello,

I have a FreeBSD 5.3 system with ATA disk drives. I have created a mirror
using these commands:

# gmirror label -v -b round-robin gm0 /dev/ad0
# modified /etc/fstab
# shutdown -r now
# gmirror insert gm0 /dev/ad2

After a year, one of the disk failed. When it failed, the kernel crashed
(some error with gmirror, I couldn't write it down). After the removal of
the broken disk drive, after reboot, I get this:

Feb 13 17:40:49 Router kernel: ad0: 78167MB Maxtor 6Y080P0/YAR41BW0 
[158816/16/63] at ata0-master UDMA100
Feb 13 17:40:49 Router kernel: GEOM_MIRROR: Device gm0 created (id=3252783474).
Feb 13 17:40:49 Router kernel: GEOM_MIRROR: Device gm0: provider ad0 detected.
Feb 13 17:40:49 Router kernel: GEOM_MIRROR: Force device gm0 start due to 
timeout.
Feb 13 17:40:49 Router kernel: GEOM_MIRROR: Device gm0 destroyed.
Feb 13 17:40:49 Router kernel: cd0 at ata1 bus 0 target 0 lun 0
Feb 13 17:40:49 Router kernel: cd0: TEAC CD-552E 1.00 Removable CD-ROM SCSI-0 
device
Feb 13 17:40:49 Router kernel: cd0: 33.000MB/s transfers
Feb 13 17:40:49 Router kernel: cd0: Attempt to query device size failed: NOT 
READY, Medium not present
Feb 13 17:40:49 Router kernel: Mounting root from ufs:/dev/mirror/gm0s1a
Feb 13 17:40:49 Router kernel: setrootbyname failed
Feb 13 17:40:49 Router kernel: ffs_mountroot: can't find rootvp
Feb 13 17:40:49 Router kernel: Root mount failed: 6
Feb 13 17:40:49 Router kernel:
Feb 13 17:40:49 Router kernel: Manual root filesystem specification:
Feb 13 17:40:49 Router kernel: fstype:device  Mount device using filesystem 
fstype
Feb 13 17:40:49 Router kernel: eg. ufs:da0s1a
Feb 13 17:40:49 Router kernel: ?  List valid disk boot devices
Feb 13 17:40:49 Router kernel: empty line   Abort manual input
Feb 13 17:40:49 Router kernel:
Feb 13 17:40:49 Router kernel: mountroot

If I boot with the broken drive, the kernel crashes at boot time again. Okay, 
let's
say I undestand that, it's a bug somewhere in the gmirror code since 5.3 is not
the freshest BSD anymore.

So my question is: why is Device gm0 destroyed.? I had to mount the 
filesystems
using /dev/ad0 drive again, which is not what I really want if one of the drives
dies - I think this way gmirror's RAID-1 fails to provide one of its basic
functionalities - a working system when one of the drives fails.

Thanks for your help,
Nejc


smime.p7s
Description: S/MIME Cryptographic Signature


Re: number of processes reported by top versus ps

2007-02-15 Thread Dan Mahoney, System Admin

On Thu, 15 Feb 2007, Christian Walther wrote:

Aah, that's right, threads.  Forgot about those.

-Dan


On 15/02/07, Dan Mahoney, System Admin [EMAIL PROTECTED] wrote:

Hey all,

I'm getting about a hundred more processes reported by ps aux|wc -l versus
the total number of processes in top.  Is this a normal thing?  My
system's been under some heavy load in the past couple days, but it's all
presumably stable now.


ps -aux and top hide different processes by default. Use top -S to
show all system processes, too. This is the same as doing a ps -auxH

Read the manpages of both commands for more information of what all
these options do.



-Dan



HTH
Christian



--

It doesn't matter where I live, because I live in dataspace.  That's my
hometown.

-Steve Roberts, Builder of BEHEMOTH

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


RE: Xorg on FreeBSD does not work

2007-02-15 Thread takhoos
  On 2/15/07, Neeraj Sharma [EMAIL PROTECTED] wrote:   I am a newbie to 
  FreeBSD world. I am trying to install FreeBSD6.2 on my HP   zv5240us 
  laptop. Everything else went off fine except the X config. I ran   the 
  command X -configure which created a xorg.conf.new file. When I use that  
   to run X it just shows a blank screen and I am not able to go back to 
  the   console also.You can try editing your xorg.conf.new file and 
  adding a statement which reduces your default depth...sometime this 
  helps:Section ScreenIdentifier Screen0Device 
  Card0MonitorMonitor0DefaultDepth 15 
   # add this line and try your test again
  SubSection Display--Joe
_
Get the new Windows Live Messenger!
http://get.live.com/messenger/overview___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: number of processes reported by top versus ps

2007-02-15 Thread Christian Walther

On 15/02/07, Dan Mahoney, System Admin [EMAIL PROTECTED] wrote:

Hey all,

I'm getting about a hundred more processes reported by ps aux|wc -l versus
the total number of processes in top.  Is this a normal thing?  My
system's been under some heavy load in the past couple days, but it's all
presumably stable now.


ps -aux and top hide different processes by default. Use top -S to
show all system processes, too. This is the same as doing a ps -auxH

Read the manpages of both commands for more information of what all
these options do.



-Dan



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


Re: Xorg on FreeBSD does not work

2007-02-15 Thread Neeraj Sharma

I tried copying my xorg.conf from Ubuntu (which automatically probes
everything and creates a xorg.conf) and tried to use on FreeBSD. But still
it hangs... I wonder if its because some drivers are missing in FreeBSD for
my monitor. My laptop has ATI Radeon 9000IGP in case that rings a bell to
someone in the same situation as me b4.
Here is xorg.conf from my Ubuntu Install
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type man /etc/X11/xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   sudo sh -c 'md5sum /etc/X11/xorg.conf

/var/lib/xfree86/xorg.conf.md5sum'

#   sudo dpkg-reconfigure xserver-xorg

Section Files
   FontPathunix/:7100# local font server
   # if the local font server has problems, we can fall back on these
   FontPath/usr/lib/X11/fonts/misc
   FontPath/usr/lib/X11/fonts/cyrillic
   FontPath/usr/lib/X11/fonts/100dpi/:unscaled
   FontPath/usr/lib/X11/fonts/75dpi/:unscaled
   FontPath/usr/lib/X11/fonts/Type1
   FontPath/usr/lib/X11/fonts/CID
   FontPath/usr/lib/X11/fonts/100dpi
   FontPath/usr/lib/X11/fonts/75dpi
   # paths to defoma fonts
   FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
   FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID
EndSection

Section Module
   Loadbitmap
   Loaddbe
   Loadddc
   Loaddri
   Loadextmod
   Loadfreetype
   Loadglx
   Loadint10
   Loadrecord
   Loadtype1
   Loadvbe
EndSection

Section InputDevice
   IdentifierGeneric Keyboard
   Driverkeyboard
   OptionCoreKeyboard
   OptionXkbRulesxorg
   OptionXkbModelpc104
   OptionXkbLayoutus
EndSection

Section InputDevice
   IdentifierConfigured Mouse
   Drivermouse
   OptionCorePointer
   OptionDevice/dev/input/mice
   OptionProtocolImPS/2
   OptionEmulate3Buttonstrue
   OptionZAxisMapping4 5
EndSection
Section InputDevice
   Identifier  Synaptics Touchpad
   Driver  synaptics
   Option  SendCoreEventstrue
   Option  Device/dev/psaux
   Option  Protocol  auto-dev
   OptionHorizScrollDelta0
EndSection

Section Device
   IdentifierATI Technologies, Inc. Radeon Mobility 9100 U3 (R200
IGP)
   Driverati
   BusIDPCI:1:5:0
EndSection

Section Monitor
   IdentifierGeneric Monitor
   OptionDPMS
   Modeline[EMAIL PROTECTED] 83.91 1280 1312 1624 1656 800 816 824 841
EndSection

Section Screen
   IdentifierDefault Screen
   DeviceATI Technologies, Inc. Radeon Mobility 9100 U3 (R200
IGP)
   MonitorGeneric Monitor
   DefaultDepth24
   SubSection Display
   Depth1
   Modes1280x800
   EndSubSection
   SubSection Display
   Depth4
   Modes1280x800
   EndSubSection
   SubSection Display
   Depth8
   Modes1280x800
   EndSubSection
   SubSection Display
   Depth15
   Modes1280x800
   EndSubSection
   SubSection Display
   Depth16
   Modes1280x800
   EndSubSection
   SubSection Display
   Depth24
   Modes1280x800
   EndSubSection
EndSection

Section ServerLayout
   IdentifierDefault Layout
   ScreenDefault Screen
   InputDeviceGeneric Keyboard
   InputDeviceConfigured Mouse
   InputDeviceSynaptics Touchpad
EndSection

Section DRI
   Mode0666
EndSection


Thanks for the help!

Neeraj


On 2/15/07, Christian Walther [EMAIL PROTECTED] wrote:


On 15/02/07, Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED] wrote:
 On 2/15/07, Neeraj Sharma [EMAIL PROTECTED] wrote:
  I am a newbie to FreeBSD world. I am trying to install FreeBSD6.2 on
my HP
  zv5240us laptop. Everything else went off fine except the X config. I
ran
  the command X -configure which created a xorg.conf.new file. When I
use that
  to run X it just shows a blank screen and I am not able to go back to
the
  console also.
 
  I tried playing around with the parameters in xorg.conf.new file but
without
  success. If anyone can help me with this it will be great...
 
  --
  Thanks  Regards,
  Neeraj Sharma

 That is alright to show you xorg works or not.

Yes, a blank screen and a locked keyboard is a perfect description of
an X configuration that isn't working. ;-)


 After 

Re: Apache Rotate Logs and Log Rotate

2007-02-15 Thread Matthew Seaman
Peter Pluta wrote:
 I have Apache making separate log files for each of my virtual hosts and
 putting them in /home/vhostname/log. Rotate logs makes a new log every
 24 hours, but the logs quickly add up and since the sites are fairly
 busy the logs are at times over 5gigs. Is there any way to make rotate
 logs delete the log files after two days? Someone recommended me Log
 Rotate (from the ports tree), but this program does basically what
 Rotate logs does; except it makes things more complicated because it
 needs to restart apache and such. Is there a easy way to just have
 Apache's rotatelogs rotate the logs and then delete them after two days?
 
 Any feedback, suggestions, or comments would be greatly appreciated.

rotatelogs doesn't do any sort of deletion stuff.  It just doesn't have
that capability.

On the other hand a simple cronjob that deletes all but the N newest files
in the directory is just a small matter of scripting.  Assuming you want
to keep at least 30 of the latest log files, you can generate a list of
files to delete by something like:

ls -1t /home/vhostname/log.* | sed -n -e '30,$p'

Alternatively you can abuse the daily_clean_tmps periodic job to delete
any files from that directory over a certain age.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK



signature.asc
Description: OpenPGP digital signature


Re:

2007-02-15 Thread Neeraj Sharma

Here is the output of pciconf -lv (Video Driver)


[EMAIL PROTECTED]:5:0: class=0x03 card=0x006b103c chip=0x58351002 rev=0x00
hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'Mobility Radeon 9100 IGP (RS300M AGP)'
class = display
subclass = VGA

I tried bunch of things in my xorg.conf (like copying xorg.conf from ubuntu
install which i posted earlier) and also I tried following monitor section
config

Section Monitor
   Identifier   Monitor0
   VendorName   Monitor Vendor
   ModelNameMonitor Model
   HorizSync31.5-48.5
   VertRefresh  40-70
EndSection


Thanks!!!

Neeraj


Date: Wed, 14 Feb 2007 21:48:26 -0800
From: Garrett Cooper [EMAIL PROTECTED]
Subject: Re: Xorg on FreeBSD does not work
To: freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Neeraj Sharma wrote:

I am a newbie to FreeBSD world. I am trying to install FreeBSD6.2 on my HP
zv5240us laptop. Everything else went off fine except the X config. I ran
the command X -configure which created a xorg.conf.new file. When I use
that
to run X it just shows a blank screen and I am not able to go back to the
console also.

I tried playing around with the parameters in xorg.conf.new file but
without
success. If anyone can help me with this it will be great...


Two things that would really help:

-The video card and monitor sections of your xorg.conf file.
-More info about your video card (maker, model, etc). This can be found
using pciconf -lv. A snippet would do nicely (not a whole list of all
the devices in your PC that are PCI related.

Thanks :).

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


Configure MTA to receive mails for any domain

2007-02-15 Thread Nguyen Tam Chinh

Hello,

This may be not a standard requirement for MTA, but I wanna configure
a MTA (sendmail, postfix, ...) to receive emails for any domain (It
means I want to catch all emails that go to the MTA). This is use for
a spamer detecting project.
In sendmail or posfix  we must make a list of accepted domains so that
I found no solution for this so far.
Any help is appreciated.
Thank you.

--
With best regards,| The Power to Serve
Nguyen Tam Chinh  |  http://www.FreeBSD.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg on FreeBSD does not work

2007-02-15 Thread Neeraj Sharma

Resending with apropriate subject..



  Here is the output of pciconf -lv (Video Driver)

[EMAIL PROTECTED]:5:0: class=0x03 card=0x006b103c chip=0x58351002 rev=0x00
hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'Mobility Radeon 9100 IGP (RS300M AGP)'
class = display
subclass = VGA

I tried bunch of things in my xorg.conf (like copying xorg.conf from
ubuntu install which i posted earlier) and also I tried following monitor
section config


Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
HorizSync31.5-48.5
VertRefresh  40-70
EndSection


Thanks!!!

Neeraj


Date: Wed, 14 Feb 2007 21:48:26 -0800
From: Garrett Cooper [EMAIL PROTECTED]
Subject: Re: Xorg on FreeBSD does not work
To: freebsd-questions@freebsd.org
Message-ID:  [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Neeraj Sharma wrote:
 I am a newbie to FreeBSD world. I am trying to install FreeBSD6.2 on my
HP
 zv5240us laptop. Everything else went off fine except the X config. I
ran
 the command X -configure which created a xorg.conf.new file. When I use
 that
 to run X it just shows a blank screen and I am not able to go back to
the
 console also.

 I tried playing around with the parameters in xorg.conf.new file but
 without
 success. If anyone can help me with this it will be great...

Two things that would really help:

-The video card and monitor sections of your xorg.conf file.
-More info about your video card (maker, model, etc). This can be found
using pciconf -lv. A snippet would do nicely (not a whole list of all
the devices in your PC that are PCI related.

Thanks :).

-Garrett







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


Jailed mysqld doesn't work after a backup

2007-02-15 Thread Vincent Bolinard

Hi,

Yesterday, I backed up my MySQL jail with tar jcpf (and used tar
jxpvf to extract).
Now, when I try to run it as I used to (jail -U mysql /jail/mysqld/
mysqld.domaine.com 192.168.1.6 /usr/local/libexec/mysqld ), it fails
giving me a Permission Denied error.

If I try to run it with chroot -u mysql /jail/mysqld
/usr/local/libexec/mysqld , it works !

I don't understand.

Does somebody have an idea ?

Thank you.

P.S.: I'm running FreeBSD 6.2-RELEASE and MySQL server 5.0.27.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GMail [and other free email] and these lists?

2007-02-15 Thread perryh
   space on my ancient PII.
 
  wow, PII these days..
  is anybody still running on 486? :D

 I am. :P As a small router, I does it's work just fine. :D

I've got a 486 FreeBSD-based GNATbox firewall, temporarily in
retirement until I get around to switching DSL ISPs, but my entry
in the geriatric-hardware-still-in-use dept. is a Sun-3/50, with
SunOS 4.1.1_U1, as UUCP-connected mailhost :)

The Sun has a goofy MTU problem though -- anyone been around long
enough to remember what magic is needed to get one of those to work
properly when talking through a 10Base-T hub?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fw: [Fwd: Re: A bit of a silly question - but I am desperate]

2007-02-15 Thread Thomas Sparrevohn
I try questions ;-)


- Forwarded Message 
From: Garrett Cooper [EMAIL PROTECTED]
To: freebsd-ports@freebsd.org
Sent: Thursday, 15 February, 2007 2:45:20 AM
Subject: [Fwd: Re: A bit of a silly question - but I am desperate]


Wrong list--oops.
-Garrett
Thomas Sparrevohn wrote:
 Hi 
 
 My old trusty FreeBSD server just died and naturally that happened days
 before the new machine arrived - fortunately I did not lose too much data -
 however I did lose my settings and that my problem
 
 Using a ADSL router with NAT and firewall settings (Open on http/https and
 outgoings) there was some setting I used to get fetch http://{whatever};; to
 work and I cannot remember what it was - The firewall settings has not
 changed - but every time I trying to get anything using fetch
 http://{bla,bla};; nothing come over - connection is fine 
 
 Can anybody help?
 
 Thanks in advance (PS. I am sure its trivial) - I just cannot remember what
 it was 
 
 Regards
 Thomas 

This question is probably better suited for the questions@ list.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]---BeginMessage---

Thomas Sparrevohn wrote:
Hi 


My old trusty FreeBSD server just died and naturally that happened days
before the new machine arrived - fortunately I did not lose too much data -
however I did lose my settings and that my problem

Using a ADSL router with NAT and firewall settings (Open on http/https and
outgoings) there was some setting I used to get fetch http://{whatever}; to
work and I cannot remember what it was - The firewall settings has not
changed - but every time I trying to get anything using fetch
http://{bla,bla}; nothing come over - connection is fine 


Can anybody help?

Thanks in advance (PS. I am sure its trivial) - I just cannot remember what
it was 


Regards
	Thomas 


This question is probably better suited for the questions@ list.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
---End Message---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: if_nfe on nVidia chipset

2007-02-15 Thread Palle Girgensohn


Hi,

Great news: I can confirm that it works fine when the e1000phy patch was 
removed on this system. I have not tried this on the system that *did* work 
fine with the patch, though.


Thanks!

Regards,
Palle



--On onsdag, februari 14, 2007 09.25.22 +0900 Shigeaki Tagashira 
[EMAIL PROTECTED] wrote:



Hello,

Please try to use generic PHY driver (ukphy) instead of e1000phy; i.e.,
use nfe without the patch for e1000phy.

Regards,
---
Shigeaki Tagashira

Palle Girgensohn wrote:

Here's a problematic machine:

[EMAIL PROTECTED]:8:0:  class=0x068000 card=0xcb8410de chip=0x037310de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= bridge
[EMAIL PROTECTED]:9:0:  class=0x068000 card=0xcb8410de chip=0x037310de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= bridge



Just the other day, on a machine running amd64, I got it working  with
no problems:

[EMAIL PROTECTED]:8:0:  class=0x068000 card=0x82391043 chip=0x037310de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= bridge
[EMAIL PROTECTED]:9:0:  class=0x068000 card=0x82391043 chip=0x037310de rev=0xa2
hdr=0x00
vendor   = 'NVIDIA Corporation'
class= bridge

Both run FreeBSD-6.2 release with the patches added. Same motherboards,
m2n sli-deluxe. So, might it have something to do with i386 vs. amd64?
For me, it works with amd64, and not with i386 (on at least two
machines). It is detected properly on  all machines, but the network
does not work.


Regards,
Palle


9 feb 2007 kl. 02.17 skrev Brian Smith:


Hi Palle,

   I am having the same issue.  I just installed FreeBSD 7.0 snapshot
from January to see if that helps because the latest patch requires
FreeBSD 6.2 and I had been running 6.1.  But still getting (none) for
the media type, but everything else *looks* like it is working.
However nothing responds.  Can you run pciconf -l -v and compare it to
my IDs?

[EMAIL PROTECTED]:16:0: class=0x068000 card=0xcb8410de chip=0x037310de
rev=0xa2 hdr=0x00
   vendor   = 'Nvidia Corp'
   device   = 'MCP55 Ethernet'
   class   = bridge
[EMAIL PROTECTED]:17:0: class=0x068000 card=0xcb8410de chip=0x037310de
rev=0xa2 hdr=0x00
   vendor   = 'Nvidia Corp'
   device   = 'MCP55 Ethernet'
   class   = bridge

Thanks,
   Brian Smith


Hello,

Sorry, there's no change, it still acts the same way.

media: Ethernet autoselect (none)
status: active

and the network does not work. No mediaopts work.

Regards,
Palle








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


Re: i have no share/xsl/docbook/slides/html/param.xsl

2007-02-15 Thread Andrew Wingorodov

The question is closed.
For slides i should have textproc/slides


Need for slides.

[EMAIL PROTECTED] pkg_info | grep docbook
docbook-1.3 Meta-port for the different versions of the DocBook DTD
docbook-241_2   V2.4.1 of the DocBook DTD, designed for technical documenta
docbook-3.0_2   V3.0 of the DocBook DTD, designed for technical documentati
docbook-3.1_2   V3.1 of the DocBook DTD, designed for technical documentati
docbook-4.0_2   V4.0 of the DocBook DTD, designed for technical documentati
docbook-4.1_2   V4.1 of the DocBook DTD, designed for technical documentati
docbook-sk-4.1.2_3  XML version of the DocBook DTD version controlled for Scrol
docbook-xml-4.2_1   XML version of the DocBook DTD
docbook-xsl-1.71.1_2 XSL DocBook stylesheets
sdocbook-xml-1.1,1  Simplified DocBook XML DTD


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


Re: Fw: [Fwd: Re: A bit of a silly question - but I am desperate]

2007-02-15 Thread Christian Walther

On 15/02/07, Thomas Sparrevohn [EMAIL PROTECTED] wrote:

I try questions ;-)


- Forwarded Message 
From: Garrett Cooper [EMAIL PROTECTED]
To: freebsd-ports@freebsd.org
Sent: Thursday, 15 February, 2007 2:45:20 AM
Subject: [Fwd: Re: A bit of a silly question - but I am desperate]


[...]

 Using a ADSL router with NAT and firewall settings (Open on http/https and
 outgoings) there was some setting I used to get fetch http://{whatever};; to
 work and I cannot remember what it was - The firewall settings has not
 changed - but every time I trying to get anything using fetch
 http://{bla,bla};; nothing come over - connection is fine

 Can anybody help?


Lets give it a try... ;-)
Check the MTU size on your new machine with the MTU set on your
firewall/DSL router. I remember that I had a similar problem years
ago: The ppp-Device connecting to my ISP used a different MTU from my
LAN, so that big packets where dropped when they were received. But
the connection to the target host was opened, and small files (e.g.
index.html on some sites) were transferred successfully.

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


Re: Fw: [Fwd: Re: A bit of a silly question - but I am desperate]

2007-02-15 Thread Thomas Sparrevohn
Thanks for the help - it really turned out to be silly - My ADSL router does 
not like the RFC 1323 TCP Extensions - I knew it was a simple config questions 
- Thanks for the answers everybody


- Original Message 
From: Christian Walther [EMAIL PROTECTED]
To: Thomas Sparrevohn [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Thursday, 15 February, 2007 10:29:14 AM
Subject: Re: Fw: [Fwd: Re: A bit of a silly question - but I am desperate]


On 15/02/07, Thomas Sparrevohn [EMAIL PROTECTED] wrote:
 I try questions ;-)


 - Forwarded Message 
 From: Garrett Cooper [EMAIL PROTECTED]
 To: freebsd-ports@freebsd.org
 Sent: Thursday, 15 February, 2007 2:45:20 AM
 Subject: [Fwd: Re: A bit of a silly question - but I am desperate]

[...]
  Using a ADSL router with NAT and firewall settings (Open on http/https and
  outgoings) there was some setting I used to get fetch http://{whatever};;; 
  to
  work and I cannot remember what it was - The firewall settings has not
  changed - but every time I trying to get anything using fetch
  http://{bla,bla};;; nothing come over - connection is fine
 
  Can anybody help?

Lets give it a try... ;-)
Check the MTU size on your new machine with the MTU set on your
firewall/DSL router. I remember that I had a similar problem years
ago: The ppp-Device connecting to my ISP used a different MTU from my
LAN, so that big packets where dropped when they were received. But
the connection to the target host was opened, and small files (e.g.
index.html on some sites) were transferred successfully.

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


Re: serious performance problems with 6.2 Release

2007-02-15 Thread Chris

On 15/02/07, Steven H. Baeighkley [EMAIL PROTECTED] wrote:

Greetings,

We are having some bizarre performance problems on a freshly installed
6.2 Release server. This is a supermicro superserver 6022c dual 2.0 Xeon
with 2GB RAM. These CPUs do support hyperthreading. We have done
significant testing with both hyperthreading turned on and off in the
bios and in the OS, to no avail.

The server is configured as a web server with apache 2.2.4 php 5.2.0 and
ZendOptimizer. We are running proftpd 1.3.1rc1 and perl 5.8.8. We have
another server running 4.11 with the same exact hardware and software
versions. We have updated to the newest bios that Supermicro provides.

The trouble is that the 6.2 box performs significantly worse than the
4.11 server. The load on the 6.2 server is regularly between 2.0 and
6.0. The load on the 4.11 server is between .57 and 1 despite often
servicing more connections.

We began this process to upgrade into the 6 tree because 4 is EOL. We
kept the old 4.11 drive from this machine and when replacing it into the
box performance is excellent just like our other 4.11 box. We have tired
multiple tuning variables as recommended by both FreeBSD and apache and
tried the recommendations in the 6.2 errata as well. The 6.2 errata
states that kern.ipc.nmbclusters=0 will help the kernel memory
allocator properly deal with high network traffic. We tried this and
initially thought that the box was showing wonderful performance, but
then we realized that the box was not allowing much network access at
all. A single ssh and proftpd connection were all it would accept.
Apache wouldn't even start giving a MaxClients error. Removing this
option returned it to functional though poor performance mode. Are we
missing something with how to use this variable? IS this expected behavior?

This particular hardware does display some oddities on both machines,
running either 6.2 or 4.11. We know that FreeBSD has hyperthreading
turned off by default. We have done some additional testing with
hyperthreading turned on in the OS, but we wish for it to remain off due
to security concerns. If we disable hyperthreading in the bios and have
it disabled in the OS then FreeBSD sees one physical and one logical
processor (from dmesg) and only uses processor 0. If we enable
hyperthreading in the bios and leave it disabled in the OS it will show
4 CPUs but only use 0 and 2. Top will show that there is 50% idle CPU
despite the fact that the box is 100% loaded, CPU 1 and 3 are idle. We
would expect that FreeBSD would not see logical processors when
hyperthreading was disabled in either the BIOS or the OS. This may just
be a communication problem between the BIOS and FreeBSD, but we don't
see this behavior on other supermicro servers with hyperthreading.

VMSTAT, NETSTAT, NFSSTAT and FSTAT show similar numbers between both
servers, certainly nothing that would explain why a single httpd process
requires 20% of a CPU on the 6.2 box and only 5-7% on the 4.11, but we
could easily be missing something.  We suspected NFS or disk
bottlenecks, but ran IOZONE tests and found that the 6.2 box is actually
having better performance on nfs and disk access. We are running a
slightly customized SMP kernel with device polling enabled. The only
bottleneck apears to be CPU usage, which works fine on 4.11.

 From what we've read we should not be seeing these performance problems
with 6.2. So what are we missing? We assume its something stupid that
will fix this problem quickly and easily, but so far, despite all the
resources, we have been unable to find a problem with enough in common
with our own to suggest possible solutions.

Please Help.

thanks
Steve B

--
---
Steven H. Baeighkley - Systems Administrator
Front Range Internet, Inc.
[EMAIL PROTECTED] - (970) 212-0756
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



I cant comment on why your cpu usage is different by so much other
than freebsd 4 code is less bloated and more streamlined and I think
freebsd 6 is designed in a way that efficency is lost in favour of
scaling for better SMP support.

kern.ipc.nmbclusters I have had problems with, I used to set to 65535
initially to help under DDOS but this reduced transfer speeds, I then
tried setting to 0 as its reccomended here and is supposed to increase
itself when needed but I found speeds plummeted, I was getting
20kB/sec over a lan.  So now I just leave it autoset which seems the
only way to get normal network performance.

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


nforce 4 sata and freebsd 6

2007-02-15 Thread Chris

I noticed one of my servers works much better in freebsd 5 noticeably
it is faster and more stable.

I then found this post.

http://lists.freebsd.org/pipermail/freebsd-current/2005-May/050529.html

and

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

So in freebsd 5.x there was limited nforce 4 support for pata devices
and a patch made to support sata devices, so I checked the same file
on freebsd 6.2 and there is no reference to ATA_NFORCE4 at all in the
file, checked 5.4 and sure enough its there.

So my question is why did ata-chipset.c in 2004 have some support for
nforce4 and a patch in current which I think was 6.x at the time have
support for sata and now nforce4 is completely wiped in 6.x?

Was it not stable and scrapped for timescale to release or some other
reason? nforce4 is a fairly popular chipset.

My 150 sata hd is running in some sort of compatibility mode now as a
result of the lack of a driver.

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


Re: Question:encryption tool

2007-02-15 Thread Anders Gulden Olstad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dak Ghatikachalam wrote:
 Hi freebsd ers
 
 I am looking for any suggestion on using the right tool  that I can use to
 perform the   encryption/decryption for flat files.
 
 We have a requirement to encrypt 15 flat files and be dumped on tape and be
 stored in remote site  facility for later business resumption.
 
 or in the crash/fire/emergency situation for the recovery purposes.
 
 For consistency I am planning to use the same tool across our Solaris,
 Linux
 and Freebsd OS oracle database environments.

Go for GnuPG. We use that for securing our nightly database dumps, which
are piped thru gpg. (We share backup server with several other systems.)

The encryption is done to a public key, with the secret key secure
locked away on some other location.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF1AjJMVyOPWVstbURAsAbAKCtN07O+PobPR9vT4kniWPQjluVXACg4QJN
Di2Mlsz8OYzPaLCRSyzVNrQ=
=wjTA
-END PGP SIGNATURE-

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


Re: Ksh Shell script security question.

2007-02-15 Thread Thomas Dickey
On Wed, Feb 14, 2007 at 10:57:12PM -0600, Dan Nelson wrote:
 In the last episode (Feb 14), Dak Ghatikachalam said:
  I am am puzzled how to secure this code when this shell script is
  being executed.
  
  ${ORACLE_HOME}/bin/sqlplus -s  EOF | tee -a  ${RESTOREFILE}
 connect system/ugo8990d
 set heading off
 set feedback off
 set pagesize 500
 select 'SCN_TO_USE | '||max(next_change#)   from V\$LOG_HISTORY;
 quit
  EOF
  
  When I run this code from shell script in /tmp directory it spews
  file called /tmp/sh03400.000 in that I have this entire code visible.
 
 I bet if you check the permissions you'll find the file has mode 0600,
 which means only the user running the script can read the file (at
 least that's what a test using the pdksh port does on my system). 
 ksh93 does have a problem, though: it opens a file and immediately
 unlinks it, but the file is world-readable for a short time.

Doesn't it (ksh93, etc) pay attention to umask?
If it does, the script should use that feature.

 
 Both ksh variants honor the TMPDIR variable, though, so if you create a
 ~/tmp directory, chmod it so only you can access it, then set
 TMPDIR=~/tmp , you will be secure even if you're using ksh93.

relatively (it's not a given that people haven't opened up ~/tmp)

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgpKiemVJGeeu.pgp
Description: PGP signature


Re: Jailed mysqld doesn't work after a backup

2007-02-15 Thread Vincent Bolinard

Hi,

I've reinstalled MySQL in the jail to be sure, and it's still not working.

I also forgot to tell that the previous jail ran under a 6.1 upgraded to 6.2.
Now, I'm running a fresh 6.2-RELEASE.

The error message is the same :
jail: execv: /usr/local/libexec/mysqld: Permission denied

Thank you for your help.


2007/2/15, Vincent Bolinard [EMAIL PROTECTED]:

Hi,

Yesterday, I backed up my MySQL jail with tar jcpf (and used tar
jxpvf to extract).
Now, when I try to run it as I used to (jail -U mysql /jail/mysqld/
mysqld.domaine.com 192.168.1.6 /usr/local/libexec/mysqld ), it fails
giving me a Permission Denied error.

If I try to run it with chroot -u mysql /jail/mysqld
/usr/local/libexec/mysqld , it works !

I don't understand.

Does somebody have an idea ?

Thank you.

P.S.: I'm running FreeBSD 6.2-RELEASE and MySQL server 5.0.27.


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


Re: Apache Rotate Logs and Log Rotate

2007-02-15 Thread Matthias Fechner
Hi Peter,

Peter Pluta wrote:
 Any feedback, suggestions, or comments would be greatly appreciated.

you can use newsyslog for this, see man newsyslog.conf for more details.
I use e.g. the following line:
/home/http/*/logs/*.log 664  72*$M1D0 JG  /var/run/httpd.pid


Best regards,
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: phpMyAdmin httpd segmentation fault

2007-02-15 Thread Terry Todd


I have built a third system with phpMyAdmin, php5, mysql and apache (all the 
same versions
as the previous two systems).  phpMyAdmin works on this third system.

Comparing the extensions in the two systems that seg fault httpd and the one 
that works:

/usr/local/etc/php/extensions.ini from working system
extension=mysql.so
extension=pcre.so
extension=session.so
extension=bz2.so
extension=gd.so
extension=openssl.so
extension=pdf.so
extension=zlib.so
extension=mcrypt.so
extension=mbstring.so
extension=xml.so


/usr/local/etc/php/extensions.ini from not working systems
extension=sqlite.so
extension=mysql.so
extension=pcre.so
extension=session.so
extension=bz2.so
extension=gd.so
extension=openssl.so
extension=pdf.so
extension=zlib.so
extension=mcrypt.so
extension=mbstring.so
extension=mysqli.so
extension=bcmath.so
extension=calendar.so
extension=ctype.so
extension=curl.so
extension=dom.so
extension=exif.so
extension=fileinfo.so
extension=filepro.so
extension=fribidi.so
extension=ftp.so
extension=gettext.so
extension=gmp.so
extension=iconv.so
extension=imap.so
extension=mhash.so
extension=ming.so
extension=ncurses.so
extension=odbc.so
extension=panda.so
extension=pcntl.so
extension=pdo.so
extension=posix.so
extension=pspell.so
extension=readline.so
extension=recode.so
extension=shmop.so
extension=simplexml.so
extension=soap.so
extension=sockets.so
extension=tokenizer.so
extension=xml.so
extension=xmlreader.so
extension=xmlwriter.so
extension=zip.so
extension=wddx.so
extension=xmlrpc.so
extension=xsl.so
extension=yaz.so
extension=dba.so
extension=snmp.so


So now I need to narrow it down to what is causing the problem.

On all 3 of these systems I have not modified /etc/make.conf at all from the
installed version.

As an experiment I copied the working extensions.ini file to the non working
system, restarted apache and it still seg faults when browsing to phpMyAdmin.

Terry Todd




On Thu, Feb 15, 2007 at 10:09:08AM +0800, Richard Simmonds wrote:
 I've just had the phpMyAdmin not starting problem after making changes to
 php.ini and adding extensions. It began as a segmentation fault with only
 phpMyAdmin and then progressed, as I fiddled with config for
 php4-extensions, to breaking php entirely. I too have a modded make.conf
 file which I am about to change in accordance with this tip. However, to get
 phpMyAdmin working again, take a look at extensions.ini. I found there were
 many duplicate lines, including some for extensions I thought I'd added and
 then removed. I removed duplicates and moved extension=mysql.so to the
 bottom of the list. Reboot and problem solved.
 
 Hope this helps
 
 -
 
 Message: 13
 Date: Wed, 14 Feb 2007 15:26:26 +0100
 From: Spil Oss [EMAIL PROTECTED]
 Subject: Re: phpMyAdmin httpd segmentation fault
 To: freebsd-questions@freebsd.org, Terry Todd
   [EMAIL PROTECTED]
 Message-ID:
   [EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 
 Terry,
 
 Just solved my php / roundcube problems by removing -funroll-loops
 from my CFLAGS in /etc/make.conf. Now I just have CFLAGS= -O2 -pipe
 
 Recollection:
 5.2.0   -march=pentium3m -O2 -pipe -funroll-loops   Fail
 5.2.0   -march=pentium3 -O -pipe   Success
 5.2.1   -march=pentium3m -O2 -pipe -funroll-loops   Fail
 Tested:
 5.2.1_1 -march=pentium3 -O -pipeSuccess
 5.2.1   -march=pentium3m -O -pipe   Success
 enable eaccelerator Success
 enable suhosin  Success
 5.2.1   -march=pentium3m -O2 -pipe  Success
 5.2.1   -march=pentium3m -O2 -pipe -funroll-loops   Fail
 5.2.1_1 -march=pentium3m -O2 -pipe  Success
 
 So currently running apache-2.2.4 / php5-5.2.1_1 w/ suhosin 0.9.6.2 /
 eaccelerator 0.95
 
 rouncube running fine, but phpMyAdmin still won't fly
 
 Kind regards,
 
 Spil
 
 On 13/02/07, Gerard Seibert [EMAIL PROTECTED] wrote:
  On Tuesday February 13, 2007 at 06:13:41 (AM) Terry Todd wrote:
 
 
   I completed steps 1 through 6 that you suggested below.  Step 6 took
   two whole days to complete.  I had to babysit the blue screens of
 config.
  
   Sorry to say it still does the exact same thing.  httpd seg faults
   with no core file whenever the phpMyAdmin/index.php web page is browsed.
 
  Strange! It works perfectly here. Assuming you have nothing strange in
  your /etc/make.conf file, I am at a lose as to what the problem is.
 
  Sorry!
 
  --
  Gerard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RAID 10-LUN Question

2007-02-15 Thread Derek Ragona
To determine the optimal stripe size you need to analyze whether you will 
read and write large data chunks or smaller data chunks.  Then opt for 
either a larger or smaller stripe size.  Remember though that the larger a 
stripe the more potential for wasted disk space.


In general you can either manage RAID in the hardware, or in the hardware 
along with some OS compatible software.  Running RAID 10 with hot spares 
makes the OS management piece not terribly necessary except to see the 
array status and any RAID failures.  These will also show up on the console 
when the system is booted.  If this server will be remotely managed you 
will want to use software from within the OS to manage the RAID.


-Derek


At 10:29 PM 2/14/2007, Dak Ghatikachalam wrote:


At 02:54 PM 2/14/2007, Dak Ghatikachalam wrote:

Hi Freebsd


We have DELL/EMC CX-300 storage array hardware , Navisphere. , which consist
of  15 Disks 320GB, I am planning to use this for Oracle( Linux) + SQL
server(M$) purpose.

We need to get that redundancy using RAID 10 and  striple for the best
performance.

My thoughts are  take most even number of possible disks( leaving private
system partition area) and create the raid groups and kick a separate LUNS
for MSSQL purpose.

With this hardware config, Do you have any suggestion on getting the best
performance and redundancy in place

Thanks
Dak



On 2/14/07, Derek Ragona 
mailto:[EMAIL PROTECTED][EMAIL PROTECTED]  wrote:
RAID 10 uses even numbered drive sets, usually in 4's, so 4 drives, 8 
drives, 12 drives, etc.  Depending on how 24/7 self-managed you want the 
array, you should plan for at least 2 hot spare drives for fail over.


So in your setup you could have one logical array made up of 12 drives, 
with 2 spares, and one left for the OS.  One consideration in striping is 
the stripe size.  Stripe size effects performance but also storage 
efficiency.  So you want to balance those factors in choosing a stripe size.


How to determine the stripe size  Dell recommends the OS striped across 5 
disks and calls itself system private paritition
How to determine the optimal stripe size, will I be able to ditch  the 
current navisphere the Storage Array OS( which is now windows based I 
t  and stick Freebsd  in its place. We have got nice GEOM ability now.


Thanks
Dak




One last issue, is make sure you have enough cache on the RAID controller.

-Derek




--
This message has been scanned for viruses and
dangerous content by http://www.mailscanner.info/MailScanner, and is
believed to be clean.
MailScanner thanks http://www.transtec.co.uk/transtec Computers for 
their support.


--
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: Xorg on FreeBSD does not work

2007-02-15 Thread Bill Moran
In response to Neeraj Sharma [EMAIL PROTECTED]:

 I tried copying my xorg.conf from Ubuntu (which automatically probes
 everything and creates a xorg.conf) and tried to use on FreeBSD. But still
 it hangs... I wonder if its because some drivers are missing in FreeBSD for
 my monitor. My laptop has ATI Radeon 9000IGP in case that rings a bell to
 someone in the same situation as me b4.

Are you sure it's hanging?  Have you tried CTRL+ALT+BACKSPACE to get
out?  Do you have a mouse cursor?

Before you fsck around randomly, check X's log files in /var/log/.  I've
found them to be incredibly verbose, but frequently helpful.

 Here is xorg.conf from my Ubuntu Install
 # /etc/X11/xorg.conf (xorg X Window System server configuration file)
 #
 # This file was generated by dexconf, the Debian X Configuration tool, using
 # values from the debconf database.
 #
 # Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
 # (Type man /etc/X11/xorg.conf at the shell prompt.)
 #
 # This file is automatically updated on xserver-xorg package upgrades *only*
 # if it has not been modified since the last upgrade of the xserver-xorg
 # package.
 #
 # If you have edited this file but would like it to be automatically updated
 # again, run the following commands:
 #
 #   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
 #   sudo sh -c 'md5sum /etc/X11/xorg.conf
 /var/lib/xfree86/xorg.conf.md5sum'
 #   sudo dpkg-reconfigure xserver-xorg
 
 Section Files
 FontPathunix/:7100# local font server
 # if the local font server has problems, we can fall back on these
 FontPath/usr/lib/X11/fonts/misc
 FontPath/usr/lib/X11/fonts/cyrillic
 FontPath/usr/lib/X11/fonts/100dpi/:unscaled
 FontPath/usr/lib/X11/fonts/75dpi/:unscaled
 FontPath/usr/lib/X11/fonts/Type1
 FontPath/usr/lib/X11/fonts/CID
 FontPath/usr/lib/X11/fonts/100dpi
 FontPath/usr/lib/X11/fonts/75dpi
 # paths to defoma fonts
 FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
 FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID
 EndSection
 
 Section Module
 Loadbitmap
 Loaddbe
 Loadddc
 Loaddri
 Loadextmod
 Loadfreetype
 Loadglx
 Loadint10
 Loadrecord
 Loadtype1
 Loadvbe
 EndSection
 
 Section InputDevice
 IdentifierGeneric Keyboard
 Driverkeyboard
 OptionCoreKeyboard
 OptionXkbRulesxorg
 OptionXkbModelpc104
 OptionXkbLayoutus
 EndSection
 
 Section InputDevice
 IdentifierConfigured Mouse
 Drivermouse
 OptionCorePointer
 OptionDevice/dev/input/mice
 OptionProtocolImPS/2
 OptionEmulate3Buttonstrue
 OptionZAxisMapping4 5
 EndSection
 Section InputDevice
 Identifier  Synaptics Touchpad
 Driver  synaptics
 Option  SendCoreEventstrue
 Option  Device/dev/psaux
 Option  Protocol  auto-dev
 OptionHorizScrollDelta0
 EndSection
 
 Section Device
 IdentifierATI Technologies, Inc. Radeon Mobility 9100 U3 (R200
 IGP)
 Driverati
 BusIDPCI:1:5:0
 EndSection
 
 Section Monitor
 IdentifierGeneric Monitor
 OptionDPMS
 Modeline[EMAIL PROTECTED] 83.91 1280 1312 1624 1656 800 816 824 841
 EndSection
 
 Section Screen
 IdentifierDefault Screen
 DeviceATI Technologies, Inc. Radeon Mobility 9100 U3 (R200
 IGP)
 MonitorGeneric Monitor
 DefaultDepth24
 SubSection Display
 Depth1
 Modes1280x800
 EndSubSection
 SubSection Display
 Depth4
 Modes1280x800
 EndSubSection
 SubSection Display
 Depth8
 Modes1280x800
 EndSubSection
 SubSection Display
 Depth15
 Modes1280x800
 EndSubSection
 SubSection Display
 Depth16
 Modes1280x800
 EndSubSection
 SubSection Display
 Depth24
 Modes1280x800
 EndSubSection
 EndSection
 
 Section ServerLayout
 IdentifierDefault Layout
 ScreenDefault Screen
 InputDeviceGeneric Keyboard
 InputDeviceConfigured Mouse
 InputDeviceSynaptics Touchpad
 EndSection
 
 Section DRI
 Mode0666
 EndSection
 
 
 Thanks for the help!
 
 Neeraj
 
 
 On 2/15/07, Christian Walther [EMAIL PROTECTED] wrote:
 
  On 15/02/07, Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED] wrote:
   On 2/15/07, Neeraj Sharma [EMAIL PROTECTED] wrote:
I am a newbie to FreeBSD world. I am trying to install FreeBSD6.2 on
  my HP
zv5240us laptop. Everything else went off fine except the X config. I
  ran

Re: Fw: [Fwd: Re: A bit of a silly question - but I am desperate]

2007-02-15 Thread Bill Moran
In response to Thomas Sparrevohn [EMAIL PROTECTED]:

 Thomas Sparrevohn wrote:
  Hi 
  
  My old trusty FreeBSD server just died and naturally that happened days
  before the new machine arrived - fortunately I did not lose too much data -
  however I did lose my settings and that my problem
  
  Using a ADSL router with NAT and firewall settings (Open on http/https and
  outgoings) there was some setting I used to get fetch http://{whatever};; 
  to
  work and I cannot remember what it was - The firewall settings has not
  changed - but every time I trying to get anything using fetch
  http://{bla,bla};; nothing come over - connection is fine

By connection is fine you mean you can resolve domain names, ping other
hosts, establish other types of connections, etc?

  Thanks in advance (PS. I am sure its trivial) - I just cannot remember what
  it was 

Are you referring to the FTP_PASSIVE_MODE environment variable?  See
man 3 fetch

-- 
Bill Moran
Collaborative Fusion Inc.

[EMAIL PROTECTED]
Phone: 412-422-3463x4023


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

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


Re: Easy USB-drive automounter and filemanager for nontechies?

2007-02-15 Thread Gaspar Chilingarov

Please look on post in my blog

http://unixtipsandtricks.blogspot.com/

I've just created post with detailed instruction,
how to setup automounter on FreeBSD to mount USB and CDROM devices.

--
Gaspar Chilingarov

System Administrator,
Network security consulting

t +37493 419763 (mob)
i 63174784
e [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: serious performance problems with 6.2 Release

2007-02-15 Thread Ted Mittelstaedt
please use send-pr and include a dmesg output with debugging turned on,
and exact model of motherboard and bios revision.

questions isn't for bugs.  I don't mean to be rude but you won't get the
problem fixed by bitching about it on this mailing list.

Ted

- Original Message - 
From: Steven H. Baeighkley [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Wednesday, February 14, 2007 4:09 PM
Subject: serious performance problems with 6.2 Release


 Greetings,

 We are having some bizarre performance problems on a freshly installed
 6.2 Release server. This is a supermicro superserver 6022c dual 2.0 Xeon
 with 2GB RAM. These CPUs do support hyperthreading. We have done
 significant testing with both hyperthreading turned on and off in the
 bios and in the OS, to no avail.

 The server is configured as a web server with apache 2.2.4 php 5.2.0 and
 ZendOptimizer. We are running proftpd 1.3.1rc1 and perl 5.8.8. We have
 another server running 4.11 with the same exact hardware and software
 versions. We have updated to the newest bios that Supermicro provides.

 The trouble is that the 6.2 box performs significantly worse than the
 4.11 server. The load on the 6.2 server is regularly between 2.0 and
 6.0. The load on the 4.11 server is between .57 and 1 despite often
 servicing more connections.

 We began this process to upgrade into the 6 tree because 4 is EOL. We
 kept the old 4.11 drive from this machine and when replacing it into the
 box performance is excellent just like our other 4.11 box. We have tired
 multiple tuning variables as recommended by both FreeBSD and apache and
 tried the recommendations in the 6.2 errata as well. The 6.2 errata
 states that kern.ipc.nmbclusters=0 will help the kernel memory
 allocator properly deal with high network traffic. We tried this and
 initially thought that the box was showing wonderful performance, but
 then we realized that the box was not allowing much network access at
 all. A single ssh and proftpd connection were all it would accept.
 Apache wouldn't even start giving a MaxClients error. Removing this
 option returned it to functional though poor performance mode. Are we
 missing something with how to use this variable? IS this expected
behavior?

 This particular hardware does display some oddities on both machines,
 running either 6.2 or 4.11. We know that FreeBSD has hyperthreading
 turned off by default. We have done some additional testing with
 hyperthreading turned on in the OS, but we wish for it to remain off due
 to security concerns. If we disable hyperthreading in the bios and have
 it disabled in the OS then FreeBSD sees one physical and one logical
 processor (from dmesg) and only uses processor 0. If we enable
 hyperthreading in the bios and leave it disabled in the OS it will show
 4 CPUs but only use 0 and 2. Top will show that there is 50% idle CPU
 despite the fact that the box is 100% loaded, CPU 1 and 3 are idle. We
 would expect that FreeBSD would not see logical processors when
 hyperthreading was disabled in either the BIOS or the OS. This may just
 be a communication problem between the BIOS and FreeBSD, but we don't
 see this behavior on other supermicro servers with hyperthreading.

 VMSTAT, NETSTAT, NFSSTAT and FSTAT show similar numbers between both
 servers, certainly nothing that would explain why a single httpd process
 requires 20% of a CPU on the 6.2 box and only 5-7% on the 4.11, but we
 could easily be missing something.  We suspected NFS or disk
 bottlenecks, but ran IOZONE tests and found that the 6.2 box is actually
 having better performance on nfs and disk access. We are running a
 slightly customized SMP kernel with device polling enabled. The only
 bottleneck apears to be CPU usage, which works fine on 4.11.

  From what we've read we should not be seeing these performance problems
 with 6.2. So what are we missing? We assume its something stupid that
 will fix this problem quickly and easily, but so far, despite all the
 resources, we have been unable to find a problem with enough in common
 with our own to suggest possible solutions.

 Please Help.

 thanks
 Steve B

 -- 
 ---
 Steven H. Baeighkley - Systems Administrator
 Front Range Internet, Inc.
 [EMAIL PROTECTED] - (970) 212-0756
 ___
 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: GMail [and other free email] and these lists?

2007-02-15 Thread Ted Mittelstaedt

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Thursday, February 15, 2007 1:36 AM
Subject: Re: GMail [and other free email] and these lists?


space on my ancient PII.
  
   wow, PII these days..
   is anybody still running on 486? :D
 
  I am. :P As a small router, I does it's work just fine. :D

 I've got a 486 FreeBSD-based GNATbox firewall, temporarily in
 retirement until I get around to switching DSL ISPs, but my entry
 in the geriatric-hardware-still-in-use dept. is a Sun-3/50, with
 SunOS 4.1.1_U1, as UUCP-connected mailhost :)

 The Sun has a goofy MTU problem though -- anyone been around long
 enough to remember what magic is needed to get one of those to work
 properly when talking through a 10Base-T hub?

I think the patch here is what you want:

http://stuff.mit.edu/afs/sipb/project/doc/ikernel/ikernel.ps

You will need postscript to print it out.

you might look here too:

http://www.sunmanagers.org/archives/1996/0771.html

Under SunOS, I typically apply the multicast patches (available from
ftp://parcftp.xerox.com/pub/net-research/ipmulti/), as well as support for
the Berkeley Packet Filter (ftp://ftp.ee.lbl.gov/bpf.tar.Z). I'm alsocareful
to turn on UDP checksums5, increase the size of tcpsendspace and
tcprecvspace, and increase theTCP MSS (Maximum Segment Size) from the lame
default of 512 to 14606. To accomplish this, I addthese lines to my config
file7:# Various parameters in in_proto.c:options TCPSENDSPACE=\(1024*64\)
# We liv e in a world of high bw*delay,options TCPRECVSPACE=\(1024*64\) #
so lets try and deal.options TCPDEFAULTMSS=1460 # Tcp max. segment
size.options UDPCKSUM=-1# Udp checksumsAnd then apply the following patch
to /sys/netinet/in_proto.c:*** in_proto.c1996/02/21 04:33:251.2--- 
in_proto.c1996/02/21 05:01:391.35It used to be thought that UDP checksums
weren't very important because packets wouldn't get corruptedvery often and
they were expensive to compute. At this point computation isn't very
expensive at all, and nothaving UDP checksums turned on can lead to
corrupted data in surprising places, like the Domain Name Sys-tem (DNS). You
really want them on.6Because SunOS doesn't support Path MTU Discovery
(RFC1191), this may result in some packets beingfragmented by routers just
before low-MTU links. IMHO, folks maintaining links with MTUs beneath
1500deserve to lose, so this result is just fine.7note. this whole section
needs reformatting


  Page 5
-4-** 153,165 * Default TCP Maximum Segment Size - 512
to be conservative,* Higher for high-performance routers*/! int
tcp_default_mss = 512;/** Default TCP buffer sizes (in bytes)*/! int
tcp_sendspace = 1024*4;! int tcp_recvspace = 1024*4;/** size of keep alive
probes.--- 153,174 * Default TCP Maximum Segment Size - 512 to be
conservative,* Higher for high-performance routers*/! #ifndef TCPDEFAULTMSS!
#define TCPDEFAULTMSS 512! #endif! int tcp_default_mss = TCPDEFAULTMSS;/**
Default TCP buffer sizes (in bytes)*/! #ifndef TCPSENDSPACE! #define
TCPSENDSPACE (1024*4)! #endif! #ifndef TCPRECVSPACE! #define TCPRECVSPACE
(1024*4)! #endif! int tcp_sendspace = TCPSENDSPACE;! int tcp_recvspace =
TCPRECVSPACE;/** size of keep alive probes.


  Page 6
-5-** 170,176 int tcp_keepidle = TCPTV_KEEP_IDLE;/* for
Keep-alives */int tcp_keepintvl = TCPTV_KEEPINTVL;! int udp_cksum = 0;/*
turn on to check  generate udp checksums */int udp_ttl = 60; /* default
time to live for UDPs *//*--- 179,188 int tcp_keepidle =
TCPTV_KEEP_IDLE;/* for Keep-alives */int tcp_keepintvl = TCPTV_KEEPINTVL;!
#ifndef UDPCKSUM! #define UDPCKSUM 0! #endif! int udp_cksum = UDPCKSUM; /*
turn on to check  generate udp checksums */int udp_ttl = 60; /* default
time to live for UDPs *//*5. Interactively debugging a kernelkadb, kgdb,
ddb, symmon5.1. Using kadbkadb is the Sun kernel debugger. It may be booted
with boot kadb at which point it the boot loaderloads the kernel debugger,
and the kernel debugger then loads the SunOS or Solaris kernel.kadb accepts
standard adb commands, including $c to continue (resume exection of the OS)
and $qto quit (exit to the ROM monitor).6. Configuring kernel crash dumps7.
Forcing a kernel crash dumpOn an OpenBOOT SPARC:0 set-pcgo8. Debugging a
kernel crash dump8.1. Using adb or dbx8.2. Using crash9. Patching the
kernel9.1. Patching variables9.2. Patching code


  Page 7
-6-9.2.1. Patching the running kernelDungeon would ask you, Do you wish me
to try to patch you?, and if you said No, it wouldreport:What? You don't
trust me? Why, only last week I patched a runningRSX system and it survived
for over thirty seconds. Oh, well.10. AcknowledgementsWithout the

Re: Poll: What's the best audio player

2007-02-15 Thread Lars Stokholm

On 2/13/07, Chris [EMAIL PROTECTED] wrote:

What is the best audio (MP3/OGG/Etc) to use under Gnome?


Well, I'm a Fluxbox user, but I'd vote for MPD (http://musicpd.org/)
and Sonata (http://sonata.berlios.de/) as a pretty GTK+ client. Both
are in ports.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: create partition

2007-02-15 Thread Jerry McAllister
On Sat, Feb 03, 2007 at 10:30:24AM +0200, cihan k?me?o?lu wrote:

 Hi
 I have a problem with creating partition. I have one slice that ad2s1 and I
 created four partition on ad2s1
 ad2s1a  mounted  /
 ad2s1b swap
 ad2s1c
 ad2s1d  mounted /usr
 ad2s1e mounted /mnt
 ad2s1f mounted /mnt2
 
 I want to delete ad2s1f then create ad2s2 slice.  How can I do this?
 

Well, you will have to re-fdisk the drive.
I don't really know if you can do all of it in place or not.
You will be best off making dump(8) backups of a, d and e
and then running fdisk to create your two slices and then
bsdlabel to create the partitions within the slices.

Is there a reason you want another slice - like you plan to
dual boot the machine or something?   If not, just use that
partition however you want and don't bother with the slice.

jerry

 
 
 -- 
 Cihan K?me?o?lu
 Enderunix Edu ST
 www.enderunix.org
 ___
 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: Jailed mysqld doesn't work after a backup

2007-02-15 Thread Vincent Bolinard

I tried to use truss inside the jail : I copied the truss binary and
ran ldd to copy the libraries needed by truss. I admit that I forgot
to mount a /proc filesystem in the jail (truss needs it).
But truss can't be executed (so /proc isn't a problem yet), the error
is the same :

jail: execv: /usr/bin/truss: Permission denied

Permissions are 555, owned by root:wheel. I also tried with 755.

What's wrong ??

I set up another jail with Apache, and it's working

Thanks.

2007/2/15, Vincent Bolinard [EMAIL PROTECTED]:

Hi,

I've reinstalled MySQL in the jail to be sure, and it's still not working.

I also forgot to tell that the previous jail ran under a 6.1 upgraded to 6.2.
Now, I'm running a fresh 6.2-RELEASE.

The error message is the same :
jail: execv: /usr/local/libexec/mysqld: Permission denied

Thank you for your help.


2007/2/15, Vincent Bolinard [EMAIL PROTECTED]:
 Hi,

 Yesterday, I backed up my MySQL jail with tar jcpf (and used tar
 jxpvf to extract).
 Now, when I try to run it as I used to (jail -U mysql /jail/mysqld/
 mysqld.domaine.com 192.168.1.6 /usr/local/libexec/mysqld ), it fails
 giving me a Permission Denied error.

 If I try to run it with chroot -u mysql /jail/mysqld
 /usr/local/libexec/mysqld , it works !

 I don't understand.

 Does somebody have an idea ?

 Thank you.

 P.S.: I'm running FreeBSD 6.2-RELEASE and MySQL server 5.0.27.



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


Installing Mobile IP code on FreeBSD - run time error

2007-02-15 Thread syed.rizvi

Hi,

We have installed FreeBSD ver 6.2 on Intel P4.

We are trying to run an open source code of mobile IP. It gets installed
properly but during run time it throws the following error:

Routing sockets could not be found

Can you please help us with this?

Is this something to do with installation of FreeBSD?

Regards,
Syed Najeeb Rizvi
Technical Consultant,Wipro Technologies,GDC,
Gurgaon.Ph:9910240698/0124-3084109
 There are only 10 type of people in this world, one who understand
binary and others who don't





The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Any way to probe snd card?

2007-02-15 Thread Garrett Cooper

Gary Kline wrote:

On Wed, Feb 14, 2007 at 11:28:05PM -0800, Gary Kline wrote:

On Wed, Feb 14, 2007 at 10:51:08PM -0800, Garrett Cooper wrote:

Gary Kline wrote:

On Wed, Feb 14, 2007 at 11:16:00PM -0500, Dak Ghatikachalam wrote:

On 2/14/07, Gary Kline [EMAIL PROTECTED] wrote:

  I'm pretty stunned at how well gnome2 works on my
  antique 400MHz backup system.  [[ gnome2-lite wouldn't go, for
  some reason [?] ]]  Anyway, I do have a sound card in this
  one, but which *.ko I load or compile is the question.  If
  memory serves, I think this has  a Matrox card.  I've tried
  adding a few sound [snd_*.ko] files, but no sound.  The OSS
  dialogs open, but the tests produce no sound..  Would the sound
  card show up in dmesg if there were a sound card hiding?

  Any help out there?  This old box is an HP Kayak XU/XW.

I solved most of my sound problems by taking actions reading

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

regards
Dak


Hm.  I forgot about adding the hints.*; but catenating
/dev/sndstat indicates that I use snd_sb16.ko and compiling that
in gives me a bunch of fatal undefines.  So I added snd_sbc
	to the KERNCONF and am recompiling.  


Shouldn't be this hard; this worked with REdhat, just
straightaway.  

gary

What model's the card (or what does pciconf -lv report at least)?


This is strange.  A couple hours ago I kldloaded a few modules
and saw that the card was my missing AWE64.  Now, when I load
snd_sb16, it looks like an ISA SB 16.  It could be either.
Note that if I load just snd_sb.ko, cat'ing /dev/sndstat returns
zip.
Still trying...



Interesting: I scripted them ALL in and ind that there are TWO
sound cards::

pcm0: SB16 DSP 4.16 at io 0x240 irq 9 drq 1:5 bufsz 4096 kld snd_sb16
(1p/1r/0v channels duplex default)
pcm1: AD1816 at io 0x500 irq 5 drq 0:3 bufsz 8192 kld snd_ad1816
(1p/1r/0v channels duplex)

Suggestions?



gary



-Garrett


Not 100% sure, but it looks like your soundcard involves the sb driver 
and there might be a separate driver for your card:


http://lists.freebsd.org/pipermail/cvs-all/2007-February/206411.html

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


Re: Xorg on FreeBSD does not work

2007-02-15 Thread Garrett Cooper

Bill Moran wrote:

In response to Neeraj Sharma [EMAIL PROTECTED]:


I tried copying my xorg.conf from Ubuntu (which automatically probes
everything and creates a xorg.conf) and tried to use on FreeBSD. But still
it hangs... I wonder if its because some drivers are missing in FreeBSD for
my monitor. My laptop has ATI Radeon 9000IGP in case that rings a bell to
someone in the same situation as me b4.


Are you sure it's hanging?  Have you tried CTRL+ALT+BACKSPACE to get
out?  Do you have a mouse cursor?

Before you fsck around randomly, check X's log files in /var/log/.  I've
found them to be incredibly verbose, but frequently helpful.


Here is xorg.conf from my Ubuntu Install
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type man /etc/X11/xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   sudo sh -c 'md5sum /etc/X11/xorg.conf

/var/lib/xfree86/xorg.conf.md5sum'

#   sudo dpkg-reconfigure xserver-xorg

Section Files
FontPathunix/:7100# local font server
# if the local font server has problems, we can fall back on these
FontPath/usr/lib/X11/fonts/misc
FontPath/usr/lib/X11/fonts/cyrillic
FontPath/usr/lib/X11/fonts/100dpi/:unscaled
FontPath/usr/lib/X11/fonts/75dpi/:unscaled
FontPath/usr/lib/X11/fonts/Type1
FontPath/usr/lib/X11/fonts/CID
FontPath/usr/lib/X11/fonts/100dpi
FontPath/usr/lib/X11/fonts/75dpi
# paths to defoma fonts
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID
EndSection

Section Module
Loadbitmap
Loaddbe
Loadddc
Loaddri
Loadextmod
Loadfreetype
Loadglx
Loadint10
Loadrecord
Loadtype1
Loadvbe
EndSection

Section InputDevice
IdentifierGeneric Keyboard
Driverkeyboard
OptionCoreKeyboard
OptionXkbRulesxorg
OptionXkbModelpc104
OptionXkbLayoutus
EndSection

Section InputDevice
IdentifierConfigured Mouse
Drivermouse
OptionCorePointer
OptionDevice/dev/input/mice
OptionProtocolImPS/2
OptionEmulate3Buttonstrue
OptionZAxisMapping4 5
EndSection
Section InputDevice
Identifier  Synaptics Touchpad
Driver  synaptics
Option  SendCoreEventstrue
Option  Device/dev/psaux
Option  Protocol  auto-dev
OptionHorizScrollDelta0
EndSection

Section Device
IdentifierATI Technologies, Inc. Radeon Mobility 9100 U3 (R200
IGP)
Driverati
BusIDPCI:1:5:0
EndSection

Section Monitor
IdentifierGeneric Monitor
OptionDPMS
Modeline[EMAIL PROTECTED] 83.91 1280 1312 1624 1656 800 816 824 841
EndSection

Section Screen
IdentifierDefault Screen
DeviceATI Technologies, Inc. Radeon Mobility 9100 U3 (R200
IGP)
MonitorGeneric Monitor
DefaultDepth24
SubSection Display
Depth1
Modes1280x800
EndSubSection
SubSection Display
Depth4
Modes1280x800
EndSubSection
SubSection Display
Depth8
Modes1280x800
EndSubSection
SubSection Display
Depth15
Modes1280x800
EndSubSection
SubSection Display
Depth16
Modes1280x800
EndSubSection
SubSection Display
Depth24
Modes1280x800
EndSubSection
EndSection

Section ServerLayout
IdentifierDefault Layout
ScreenDefault Screen
InputDeviceGeneric Keyboard
InputDeviceConfigured Mouse
InputDeviceSynaptics Touchpad
EndSection

Section DRI
Mode0666
EndSection


Thanks for the help!

Neeraj


On 2/15/07, Christian Walther [EMAIL PROTECTED] wrote:

On 15/02/07, Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED] wrote:

On 2/15/07, Neeraj Sharma [EMAIL PROTECTED] wrote:

I am a newbie to FreeBSD world. I am trying to install FreeBSD6.2 on

my HP

zv5240us laptop. Everything else went off fine except the X config. I

ran

the command X -configure which created a xorg.conf.new file. When I

use that

to run X it just shows a blank screen and I am not able to 

today´s flash papalapap Radio

2007-02-15 Thread Feijoada Mixta Berlin
 Radio Papalapap é hoje que a repimboca da parafuzeta vai pra tonga da miroga 
do kaburete.



 Radio Papalapap Fever

 15. 02. 07 im
Fire Club
ab 23:00
Eintritt 2,- Euro

Veteranenstraße 21
10119 Berlin-Mitte

 

powered by 

www.garrincha.de 

www.feijoada-mixta.de 

www.macumba-berlin.de 

This is real deal


___

Du erhältst diesen Newsletter, weil Du Dich bei unserem

Newsletter Service auf http://www.feijoada-mixta.de angemeldet hast.

Um Dich davon abzumelden, klicke hier: 
http://www.feijoada-mixta.de/index.php?option=com_lettermantask=unsubscribeItemid=26

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


Re: Ksh Shell script security question.

2007-02-15 Thread Dan Nelson
In the last episode (Feb 15), Thomas Dickey said:
 On Wed, Feb 14, 2007 at 10:57:12PM -0600, Dan Nelson wrote:
  In the last episode (Feb 14), Dak Ghatikachalam said:
   I am am puzzled how to secure this code when this shell script is
   being executed.
   
   ${ORACLE_HOME}/bin/sqlplus -s  EOF | tee -a  ${RESTOREFILE}
[...]
   EOF
   
   When I run this code from shell script in /tmp directory it spews
   file called /tmp/sh03400.000 in that I have this entire code
   visible.
  
  I bet if you check the permissions you'll find the file has mode
  0600, which means only the user running the script can read the
  file (at least that's what a test using the pdksh port does on my
  system).  ksh93 does have a problem, though: it opens a file and
  immediately unlinks it, but the file is world-readable for a short
  time.
 
 Doesn't it (ksh93, etc) pay attention to umask?
 If it does, the script should use that feature.

It does honor umask, but I think temp files should be created mode 0600
in all cases.  A person may have a umask of 022 to allow normal files
to be read by group members but still not want them to see
here-document contents.  They may not even realize that their shell is
using tempfiles.  Some shells use pipes (bash and ash do; zsh uses an
0600 tempfile that it immediately unlinks; Solaris sh uses an 0600
tempfile).
 
  Both ksh variants honor the TMPDIR variable, though, so if you create a
  ~/tmp directory, chmod it so only you can access it, then set
  TMPDIR=~/tmp , you will be secure even if you're using ksh93.
 
 relatively (it's not a given that people haven't opened up ~/tmp)

I think if someone has gone to the trouble of creating a private ~/tmp
directory, they probably know what they're doing and know the
consequences of opening it up.

-- 
Dan Nelson
[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: Poll: What's the best audio player

2007-02-15 Thread Michael Johnson

On 2/13/07, Chris [EMAIL PROTECTED] wrote:


What is the best audio (MP3/OGG/Etc) to use under Gnome?




Rhythmbox is a pretty good choice IMHO as it supports anything gstreamer
supports.

--

Best regards,
Chris

Nothing is ever accomplished by a reasonable man.
___
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: serious performance problems with 6.2 Release

2007-02-15 Thread Freminlins

On 15/02/07, Ted Mittelstaedt [EMAIL PROTECTED] wrote:


please use send-pr and include a dmesg output with debugging turned on,
and exact model of motherboard and bios revision.

questions isn't for bugs.  I don't mean to be rude but you won't get the
problem fixed by bitching about it on this mailing list.



Ignore Ted.

There is nothing wrong with your post to questions. There wasn't any
bitching. Your post was very appropriate. Indeed, all you askedin the end
was please help. You won't get that from Ted.

Ted


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


Fwd: VESA mode 132x43

2007-02-15 Thread Guillermo Gutierrez

Can anyone here help me with my issue below?

-- Forwarded message --
From: Remko Lodder [EMAIL PROTECTED]
Date: Feb 15, 2007 6:32 AM
Subject: Re: VESA mode 132x43
To: Guillermo Gutierrez [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]

Guillermo Gutierrez wrote:

I have compiled VESA support into the kernel and when I try to set the
resolution to 132x43 using vidcontrol, I see the cursor but that is all.

No

text and the size of the console appears to have shrunk because it wont
scle
to th esize of my monitor which can handle a resolution [EMAIL PROTECTED]

I could really use some help because I would like to e able to use a
resolution higher than 80x60.

thanks,



Please proceed to freebsd-questions (questions@) for these
kind of questions!

Cheers
remko

--
Kind regards,

Remko Lodder   ** [EMAIL PROTECTED]
FreeBSD** [EMAIL PROTECTED]

/* Quis custodiet ipsos custodes */


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


Diagnosing fan problem

2007-02-15 Thread Jesse Sheidlower

I have a ThinkPad T41p that has had a variety of fan problems
for some time. After my most recent repair things seemed to be
working fine, but the other day I was compiling some ports and
the machine just shut down in the middle; after some
experimentation it seemed clear that it was just overheating
under load and shutting itself off. (Looking at the
temperature sysctl showed that it was getting increasingly hot
until it crashed.)

How can I monitor what is happening? Are there any ways I can
find out from FreeBSD if the fan is even on, or how it thinks
it is working? systcl -a | grep fan didn't return anything.
Can I control the fan?

I don't want to make yet another warranty call if they're
gonna say, It's working fine, it's your OS or something.

Thanks.

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


Re: serious performance problems with 6.2 Release

2007-02-15 Thread Ted Mittelstaedt

- Original Message - 
From: Freminlins [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Thursday, February 15, 2007 8:49 AM
Subject: Re: serious performance problems with 6.2 Release


 On 15/02/07, Ted Mittelstaedt [EMAIL PROTECTED] wrote:
 
  please use send-pr and include a dmesg output with debugging turned on,
  and exact model of motherboard and bios revision.
 
  questions isn't for bugs.  I don't mean to be rude but you won't get the
  problem fixed by bitching about it on this mailing list.


 Ignore Ted.

 There is nothing wrong with your post to questions. There wasn't any
 bitching. Your post was very appropriate. Indeed, all you askedin the end
 was please help. You won't get that from Ted.


We are all ears for your suggestions to help him fix this, Frem.  I'm sure
we
all expect to see some kernel patches from you any day now.

Please review the charter of this list.  If this was supposed to be fixed on
a
mailling list, freebsd-bugs would be at least a bit closer to the mark.

To the Original Poster - no, what you are seeing is not appropriate
behaviour for
the operating system.  Yes, it is a defect.  No, you won't see any patches
to
fix the behavior from the yahoos that post here.  As I said originally, you
need to
use send-pr.  Defects that are specific to hardware that are not documented
in
the PR database generally do not get fixed.

Ted

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


Re: **questions** Re: serious performance problems with 6.2 Release

2007-02-15 Thread Steven H. Baeighkley
If bugs is the correct list then that's where we'll send it. However we 
were not initially thinking it was a bug. We were thinking it was a 
configuration error on our part. We certainly weren't expecting kernel 
patches, just advice on where next to proceed. Thanks for the send-pr 
suggestion. We have verbose dmesg logs for all of our testing, I didn't 
want to send them initially because they are large and we have 12 of them.


thanks
Steve B


Ted Mittelstaedt wrote:
- Original Message - 
From: Freminlins [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Thursday, February 15, 2007 8:49 AM
Subject: Re: serious performance problems with 6.2 Release



On 15/02/07, Ted Mittelstaedt [EMAIL PROTECTED] wrote:

please use send-pr and include a dmesg output with debugging turned on,
and exact model of motherboard and bios revision.

questions isn't for bugs.  I don't mean to be rude but you won't get the
problem fixed by bitching about it on this mailing list.


Ignore Ted.

There is nothing wrong with your post to questions. There wasn't any
bitching. Your post was very appropriate. Indeed, all you askedin the end
was please help. You won't get that from Ted.



We are all ears for your suggestions to help him fix this, Frem.  I'm sure
we
all expect to see some kernel patches from you any day now.

Please review the charter of this list.  If this was supposed to be fixed on
a
mailling list, freebsd-bugs would be at least a bit closer to the mark.

To the Original Poster - no, what you are seeing is not appropriate
behaviour for
the operating system.  Yes, it is a defect.  No, you won't see any patches
to
fix the behavior from the yahoos that post here.  As I said originally, you
need to
use send-pr.  Defects that are specific to hardware that are not documented
in
the PR database generally do not get fixed.

Ted

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


--
---
Steven H. Baeighkley - Systems Administrator
Front Range Internet, Inc.
[EMAIL PROTECTED] - (970) 212-0756
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question:encryption tool.

2007-02-15 Thread David Robillard

I am looking for any suggestion on using the right tool  that I can use to
perform the   encryption/decryption for flat files.

We have a requirement to encrypt 15 flat files and be dumped on tape and be
stored in remote site  facility for later business resumption.

or in the crash/fire/emergency situation for the recovery purposes.

For consistency I am planning to use the same tool across our Solaris, Linux
and Freebsd OS oracle database environments.


Check out SysAdmin magazine's article Backup Encryption from the
March 2007 issue. It looks like exactly what you're looking for:

http://www.samag.com/documents/s=10118/sam0703b/0703b.htm

HTH,

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: serious performance problems with 6.2 Release

2007-02-15 Thread Greg Barniskis

Ted Mittelstaedt wrote:

questions isn't for bugs.  I don't mean to be rude but you won't get the
problem fixed by bitching about it on this mailing list.


Good gravy. They're not asking -questions for a fix, they're asking
for guidance on how to isolate the root cause of the problem. Quoth
the OP: *what are we missing?*

That is perfectly germane for -questions and only /after/ that
question is answered would it be appropriate to use send-pr. Using 
send-pr to submit a poorly defined problem (too much load) is not 
going to result in a project committer magically finding and fixing 
an unknown OS bug.




Steven H. Baeighkley wrote:
If bugs is the correct list then that's where we'll send it. However we 
were not initially thinking it was a bug. We were thinking it was a 
configuration error on our part. 


That's a reasonable assumption actually. Sorry I don't have any 
specific suggestions for you except to second the motion that you 
ignore Ted's assertion that you should give up on -questions. It's 
entirely possible that there's a tunable knob or app compilation 
option that will help you out.




--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348

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


Re: Ksh Shell script security question.( SOLVED)

2007-02-15 Thread Dak Ghatikachalam

On 2/15/07, Dan Nelson [EMAIL PROTECTED] wrote:


In the last episode (Feb 15), Thomas Dickey said:
 On Wed, Feb 14, 2007 at 10:57:12PM -0600, Dan Nelson wrote:
  In the last episode (Feb 14), Dak Ghatikachalam said:
   I am am puzzled how to secure this code when this shell script is
   being executed.
  
   ${ORACLE_HOME}/bin/sqlplus -s  EOF | tee -a  ${RESTOREFILE}
[...]
   EOF
  
   When I run this code from shell script in /tmp directory it spews
   file called /tmp/sh03400.000 in that I have this entire code
   visible.
 
  I bet if you check the permissions you'll find the file has mode
  0600, which means only the user running the script can read the
  file (at least that's what a test using the pdksh port does on my
  system).  ksh93 does have a problem, though: it opens a file and
  immediately unlinks it, but the file is world-readable for a short
  time.

 Doesn't it (ksh93, etc) pay attention to umask?
 If it does, the script should use that feature.

It does honor umask, but I think temp files should be created mode 0600
in all cases.  A person may have a umask of 022 to allow normal files
to be read by group members but still not want them to see
here-document contents.  They may not even realize that their shell is
using tempfiles.  Some shells use pipes (bash and ash do; zsh uses an
0600 tempfile that it immediately unlinks; Solaris sh uses an 0600
tempfile).

  Both ksh variants honor the TMPDIR variable, though, so if you create
a
  ~/tmp directory, chmod it so only you can access it, then set
  TMPDIR=~/tmp , you will be secure even if you're using ksh93.

 relatively (it's not a given that people haven't opened up ~/tmp)

I think if someone has gone to the trouble of creating a private ~/tmp
directory, they probably know what they're doing and know the
consequences of opening it up.




I appreciate all your response.

Thanks a lot for  insight  on unix fundementals

The issue I had is solved by doing  umask 077  at the start  of the script,
so what it did was it created the temporary files with  read+write  for
owner of the file , and in my process I also create directories while RMAN
backup is being run, so that umask 077 for directory gave  rwx for
directories while creation

This problem I had is solved now, it is secure

Thanks
Dak


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


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


Re: Question:encryption tool.

2007-02-15 Thread Dak Ghatikachalam

On 2/15/07, David Robillard [EMAIL PROTECTED] wrote:


 I am looking for any suggestion on using the right tool  that I can use
to
 perform the   encryption/decryption for flat files.

 We have a requirement to encrypt 15 flat files and be dumped on tape and
be
 stored in remote site  facility for later business resumption.

 or in the crash/fire/emergency situation for the recovery purposes.

 For consistency I am planning to use the same tool across our Solaris,
Linux
 and Freebsd OS oracle database environments.

Check out SysAdmin magazine's article Backup Encryption from the
March 2007 issue. It looks like exactly what you're looking for:

http://www.samag.com/documents/s=10118/sam0703b/0703b.htm



Thanks a lot this is great article discussing and covering all in one place

Thanks
Dak

HTH,


David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122


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


Re: Apache Rotate Logs and Log Rotate.

2007-02-15 Thread David Robillard

I have Apache making separate log files for each of my virtual hosts and
putting them in /home/vhostname/log. Rotate logs makes a new log every
24 hours, but the logs quickly add up and since the sites are fairly
busy the logs are at times over 5gigs. Is there any way to make rotate
logs delete the log files after two days? Someone recommended me Log
Rotate (from the ports tree), but this program does basically what
Rotate logs does; except it makes things more complicated because it
needs to restart apache and such. Is there a easy way to just have
Apache's rotatelogs rotate the logs and then delete them after two days?

Any feedback, suggestions, or comments would be greatly appreciated.


Hi Peter,

I personaly don't use neither Log Rotate nor Rotate Logs, but
configure newsyslog.conf(5) to handle the job of Apache log rotation
and clean-up.

The newsyslog software is part of FreeBSD's base system, so you don't
need to install anything. Just configure /etc/newsyslog.conf and
that's it. No need to restart anything because newsyslog is already
active in FreeBSD's base system via /etc/crontab. It can rotate the
logs, compress them with either gzip(1) or bzip2(1) and remove the old
ones to preserve disk space.

For example, let's say you have two virtual host's logs into
/home/vhostname1/log and /home/vhostname2/log, you can configure
newsyslog to:

a) Keep only 10 log files. Remove the older ones as they grow. (i.e.
10 in the config below)
b) Create files with chmod 640 and owner root:www (i.e. root:www and 640)
c) Rotate the files when they reach 1Mb in size. (i.e. 1048576)
d) Compress the files with gzip(1) to preserve compatibility with
webalizer. (i.e. Z)

# logfilename  [owner:group]mode count size when  flags
[/pid_file] [sig_num]

# Host vhostname1.
#
/home/vhostname1/log/access.log  root:www640 10 1048576 * Z
/var/run/httpd.pid
/home/vhostname1/log/error.log  root:www640 10 1048576 * Z
/var/run/httpd.pid

# Host vhostname2.
#
/home/vhostname2/log/access.log  root:www640 10 1048576 * Z
/var/run/httpd.pid
/home/vhostname2/log/error.log  root:www640 10 1048576 * Z
/var/run/httpd.pid

Check the man pages for newsyslog(8) and newsyslog.conf(8) for more information.

I've been using this for more then two years now and it works like a charm.

HTH,

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: **questions** Re: serious performance problems with 6.2 Release

2007-02-15 Thread Kris Kennaway
On Thu, Feb 15, 2007 at 10:50:18AM -0700, Steven H. Baeighkley wrote:
 If bugs is the correct list then that's where we'll send it. However we 
 were not initially thinking it was a bug. We were thinking it was a 
 configuration error on our part. We certainly weren't expecting kernel 
 patches, just advice on where next to proceed. Thanks for the send-pr 
 suggestion. We have verbose dmesg logs for all of our testing, I didn't 
 want to send them initially because they are large and we have 12 of them.

bugs isn't correct either, that's only for automated mailing of
problem reports.  I'd recommend either freebsd-stable or
freebsd-performance, those are technical lists read by developers.

Kris

P.S. I second the recommendation to ignore Ted :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to configure mount options for KDE Mediamanager

2007-02-15 Thread knizek
Hello,

I am not able to find how to configure KDE Mediamanager to mount USB
removable
media without noexec option.

I have tried to comment lines allowing noexec option 
in /usr/local/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi
and
restart hald, however, it seems that KDE has its own policies.

I get the point that security is the preference here, however, I am using
a
encrypted wallet (both win/linux application + data file) on my flash
disk
and would prefer running it directly from the flash disk, rather then
from a
separate installation from the hard-drive.

Regards,
-- 
Milan Knížek
http://milan-knizek.net/
e-mail knizek {na} volny {v} czHello,

I am not able to find how to configure KDE Mediamanager to mount USB
removable
media without noexec option.

I have tried to comment lines allowing noexec option 
in /usr/local/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi
and
restart hald, however, it seems that KDE has its own policies.

I get the point that security is the preference here, however, I am using
an
encrypted wallet (both win/linux application + data file) on my flash
disk
and would prefer running it directly from the flash disk, rather then
from a
separate installation from the hard-drive.

Regards,
-- 
Milan Knížek
http://milan-knizek.net/
e-mail knizek {na} volny {v} cz


-- 
Nosice lyzi THULE za bezkonkurencni ceny!
http://www.sportobchod.cz/nosice/nosice-lyzi


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


How to make local portsnap server?

2007-02-15 Thread Anatoliy
I would like to find out from you, how I can make portsnap as a server
for myself on the local computer, were ports updated from it (local
portsnap server)

In google on the given question of not found, that could give me the
answer to the question.

I ask the help from you.

Thanks!

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


Re: Ksh Shell script security question.

2007-02-15 Thread David Robillard

I am am puzzled how to secure this code when this shell script is
being executed.

${ORACLE_HOME}/bin/sqlplus -s  EOF | tee -a  ${RESTOREFILE}
   connect system/ugo8990d
   set heading off
   set feedback off
   set pagesize 500
   select 'SCN_TO_USE | '||max(next_change#)   from V\$LOG_HISTORY;
   quit
EOF

When I run this code from shell script in /tmp directory it spews
file called /tmp/sh03400.000 in that I have this entire code visible.


Hi Dak,

The reason you can see the code in ${RESTOREFILE} is because of the
tee command. With `tee -a` you're actually asking to have the code
installed in ${RESTOREFILE}.

Now, one way to secure this is to set a restrictive umask at the start
of the script. For example, setting `umask 0077` will cause your
script to generate files which will only be read/write for the user
who runs the script. But the files will still have you username/passwd
in them.

To remove the username/passwd from the files, may I suggest you change
your code to include the username/passwd into the sqlplus command.
Like this for example:

export ORACLE_SID=your_oracle_sid

sqlplus ${USERNAME}/${PASSWORD} -s -EOF | tee -a ${RESTOREFILE}.
   set heading off
   set feedback off
   set pagesize 500
   select 'SCN_TO_USE | '||max(next_change#)   from V\$LOG_HISTORY;
   quit
EOF

This will still generate a file, but the username/password won't be
there. Of course, that means you need to hide your credentials in an
encrypted file eslwhere on your machine.
You can then setup code that will check the md5 sum of the password
file and use something like OpenSSL or GPG to encrypt/decrypt the
file.

Have fun,

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: serious performance problems with 6.2 Release

2007-02-15 Thread Lowell Gilbert
Steven H. Baeighkley [EMAIL PROTECTED] writes:

 Greetings,

 We are having some bizarre performance problems on a freshly installed
 6.2 Release server. This is a supermicro superserver 6022c dual 2.0
 Xeon with 2GB RAM. These CPUs do support hyperthreading. We have done
 significant testing with both hyperthreading turned on and off in the
 bios and in the OS, to no avail.

 The server is configured as a web server with apache 2.2.4 php 5.2.0
 and ZendOptimizer. We are running proftpd 1.3.1rc1 and perl 5.8.8. We
 have another server running 4.11 with the same exact hardware and
 software versions. We have updated to the newest bios that Supermicro
 provides.

 The trouble is that the 6.2 box performs significantly worse than the
 4.11 server. The load on the 6.2 server is regularly between 2.0 and
 6.0. The load on the 4.11 server is between .57 and 1 despite often
 servicing more connections.

 We began this process to upgrade into the 6 tree because 4 is EOL. We
 kept the old 4.11 drive from this machine and when replacing it into
 the box performance is excellent just like our other 4.11 box. We have
 tired multiple tuning variables as recommended by both FreeBSD and
 apache and tried the recommendations in the 6.2 errata as well. The
 6.2 errata states that kern.ipc.nmbclusters=0 will help the kernel
 memory allocator properly deal with high network traffic. We tried
 this and initially thought that the box was showing wonderful
 performance, but then we realized that the box was not allowing much
 network access at all. A single ssh and proftpd connection were all it
 would accept. Apache wouldn't even start giving a MaxClients
 error. Removing this option returned it to functional though poor
 performance mode. Are we missing something with how to use this
 variable? IS this expected behavior?

 This particular hardware does display some oddities on both machines,
 running either 6.2 or 4.11. We know that FreeBSD has hyperthreading
 turned off by default. We have done some additional testing with
 hyperthreading turned on in the OS, but we wish for it to remain off
 due to security concerns. If we disable hyperthreading in the bios and
 have it disabled in the OS then FreeBSD sees one physical and one
 logical processor (from dmesg) and only uses processor 0. If we enable
 hyperthreading in the bios and leave it disabled in the OS it will
 show 4 CPUs but only use 0 and 2. Top will show that there is 50% idle
 CPU despite the fact that the box is 100% loaded, CPU 1 and 3 are
 idle. We would expect that FreeBSD would not see logical processors
 when hyperthreading was disabled in either the BIOS or the OS. This
 may just be a communication problem between the BIOS and FreeBSD, but
 we don't see this behavior on other supermicro servers with
 hyperthreading.

 VMSTAT, NETSTAT, NFSSTAT and FSTAT show similar numbers between both
 servers, certainly nothing that would explain why a single httpd
 process requires 20% of a CPU on the 6.2 box and only 5-7% on the
 4.11, but we could easily be missing something.  We suspected NFS or
 disk bottlenecks, but ran IOZONE tests and found that the 6.2 box is
 actually having better performance on nfs and disk access. We are
 running a slightly customized SMP kernel with device polling
 enabled. The only bottleneck apears to be CPU usage, which works fine
 on 4.11.

 From what we've read we should not be seeing these performance
 problems with 6.2. So what are we missing? We assume its something
 stupid that will fix this problem quickly and easily, but so far,
 despite all the resources, we have been unable to find a problem with
 enough in common with our own to suggest possible solutions.

Wow.  Let me step back for a moment to appreciate how good this post
is; wonderful stuff to work with in trying to help...

The first thing I would check would be whether the httpd software on
both installations is the same.  I know that I have had trouble
remembering to migrate port configurations on system upgrades, so
maybe other people have the problem too.

Have you checked system processes?  The '-S' option is the way to get
top(1) to show them to you.  That often gives a hint when resources
are vanishing.

What happens if you disable polling?  And what kind of network
interface are you using on the problematic machine?  One thing that
occurs to me is that a lack of DMA on the HTTP packets (to and/or from
the NIC) could produce symptoms like this.

I hope that something here is helpful for you.

Good luck.
___
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 make local portsnap server?

2007-02-15 Thread Boris Samorodov
On Thu, 15 Feb 2007 20:16:30 +0200 Anatoliy wrote:

 I would like to find out from you, how I can make portsnap as a server
 for myself on the local computer, were ports updated from it (local
 portsnap server)

AFAIK, you can't. But you can install a http proxy since portsnap
works via HTTP.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using newer version of pgp by default

2007-02-15 Thread Lowell Gilbert
Gerard Seibert [EMAIL PROTECTED] writes:

 Freebsd-6.2

 I have both  GnuPG v1.4.6 (FreeBSD) and versions 2.0.2 installed. I
 wanted to remove the older version; however, it seems that some
 programs depend on it.

 Both 'sylpheed',  'pine'  and KMail insist on using the older version
 for pgp. How can I get them, and any other program that uses pgp to use
 the newer version by default?

Change the /usr/local/bin/gpg symbolic link to point at the v2
executable.  I'm not sure why that isn't the default preference 
these days.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Easy USB-drive automounter and filemanager for nontechies?

2007-02-15 Thread Roland Smith
On Thu, Feb 15, 2007 at 06:02:14PM +0400, Gaspar Chilingarov wrote:
 Please look on post in my blog
 
 http://unixtipsandtricks.blogspot.com/
 
 I've just created post with detailed instruction,
 how to setup automounter on FreeBSD to mount USB and CDROM devices.

Your setup will work fine for the CD-ROM. But it assumes that you will
only use one USB mass storage device at a time, and that all USB mass
storage devices are formatted with an msdosfs filesystem.

You should have a look at devd (in the base system) or hal
(/usr/ports/sysutils/hal) for mounting USB mass-storage devices.

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)


pgpJIPLnOhCFz.pgp
Description: PGP signature


Re: serious performance problems with 6.2 Release

2007-02-15 Thread Freminlins

Ted,

On 15/02/07, Ted Mittelstaedt [EMAIL PROTECTED] wrote:



We are all ears for your suggestions to help him fix this, Frem.  I'm sure
we
all expect to see some kernel patches from you any day now.



Please sort out your formatting. It looks horrible.

You didn't offer any help whatsoever. And who says this is a kernel problem
anyway?

Please review the charter of this list.  If this was supposed to be fixed on

a
mailling list, freebsd-bugs would be at least a bit closer to the mark..



Please sort out your formatting. It still looks horrible.

The original post is completely on topic. I suggest you go and read it again
like I did.

I've snipped your assumption that this is a hardware problem because it is
misleading at this stage. It could well be a configuraiton issue.


Ted


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


Re: Xorg on FreeBSD does not work

2007-02-15 Thread Neeraj Sharma

The problem got fixed by reducing the depth to 15 in screen section. A big
thanks to [EMAIL PROTECTED] and offcourse to others who
offered to help.

Thanks
Neeraj Sharma


On 2/15/07, Bill Moran [EMAIL PROTECTED] wrote:


In response to Neeraj Sharma [EMAIL PROTECTED]:

 I tried copying my xorg.conf from Ubuntu (which automatically probes
 everything and creates a xorg.conf) and tried to use on FreeBSD. But
still
 it hangs... I wonder if its because some drivers are missing in FreeBSD
for
 my monitor. My laptop has ATI Radeon 9000IGP in case that rings a bell
to
 someone in the same situation as me b4.

Are you sure it's hanging?  Have you tried CTRL+ALT+BACKSPACE to get
out?  Do you have a mouse cursor?

Before you fsck around randomly, check X's log files in /var/log/.  I've
found them to be incredibly verbose, but frequently helpful.

 Here is xorg.conf from my Ubuntu Install
 # /etc/X11/xorg.conf (xorg X Window System server configuration file)
 #
 # This file was generated by dexconf, the Debian X Configuration tool,
using
 # values from the debconf database.
 #
 # Edit this file with caution, and see the /etc/X11/xorg.conf manual
page.
 # (Type man /etc/X11/xorg.conf at the shell prompt.)
 #
 # This file is automatically updated on xserver-xorg package upgrades
*only*
 # if it has not been modified since the last upgrade of the xserver-xorg
 # package.
 #
 # If you have edited this file but would like it to be automatically
updated
 # again, run the following commands:
 #
 #   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
 #   sudo sh -c 'md5sum /etc/X11/xorg.conf
 /var/lib/xfree86/xorg.conf.md5sum'
 #   sudo dpkg-reconfigure xserver-xorg

 Section Files
 FontPathunix/:7100# local font server
 # if the local font server has problems, we can fall back on these
 FontPath/usr/lib/X11/fonts/misc
 FontPath/usr/lib/X11/fonts/cyrillic
 FontPath/usr/lib/X11/fonts/100dpi/:unscaled
 FontPath/usr/lib/X11/fonts/75dpi/:unscaled
 FontPath/usr/lib/X11/fonts/Type1
 FontPath/usr/lib/X11/fonts/CID
 FontPath/usr/lib/X11/fonts/100dpi
 FontPath/usr/lib/X11/fonts/75dpi
 # paths to defoma fonts
 FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
 FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID
 EndSection

 Section Module
 Loadbitmap
 Loaddbe
 Loadddc
 Loaddri
 Loadextmod
 Loadfreetype
 Loadglx
 Loadint10
 Loadrecord
 Loadtype1
 Loadvbe
 EndSection

 Section InputDevice
 IdentifierGeneric Keyboard
 Driverkeyboard
 OptionCoreKeyboard
 OptionXkbRulesxorg
 OptionXkbModelpc104
 OptionXkbLayoutus
 EndSection

 Section InputDevice
 IdentifierConfigured Mouse
 Drivermouse
 OptionCorePointer
 OptionDevice/dev/input/mice
 OptionProtocolImPS/2
 OptionEmulate3Buttonstrue
 OptionZAxisMapping4 5
 EndSection
 Section InputDevice
 Identifier  Synaptics Touchpad
 Driver  synaptics
 Option  SendCoreEventstrue
 Option  Device/dev/psaux
 Option  Protocol  auto-dev
 OptionHorizScrollDelta0
 EndSection

 Section Device
 IdentifierATI Technologies, Inc. Radeon Mobility 9100 U3 (R200
 IGP)
 Driverati
 BusIDPCI:1:5:0
 EndSection

 Section Monitor
 IdentifierGeneric Monitor
 OptionDPMS
 Modeline[EMAIL PROTECTED] 83.91 1280 1312 1624 1656 800 816 824 841
 EndSection

 Section Screen
 IdentifierDefault Screen
 DeviceATI Technologies, Inc. Radeon Mobility 9100 U3 (R200
 IGP)
 MonitorGeneric Monitor
 DefaultDepth24
 SubSection Display
 Depth1
 Modes1280x800
 EndSubSection
 SubSection Display
 Depth4
 Modes1280x800
 EndSubSection
 SubSection Display
 Depth8
 Modes1280x800
 EndSubSection
 SubSection Display
 Depth15
 Modes1280x800
 EndSubSection
 SubSection Display
 Depth16
 Modes1280x800
 EndSubSection
 SubSection Display
 Depth24
 Modes1280x800
 EndSubSection
 EndSection

 Section ServerLayout
 IdentifierDefault Layout
 ScreenDefault Screen
 InputDeviceGeneric Keyboard
 InputDeviceConfigured Mouse
 InputDeviceSynaptics Touchpad
 EndSection

 Section DRI
 Mode0666
 EndSection


 Thanks for the help!

 Neeraj


 On 2/15/07, Christian Walther [EMAIL PROTECTED] wrote:
 
  On 15/02/07, Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED] wrote:
   On 

hard disk usage monitoring

2007-02-15 Thread Peter
I am looking for a tool to allow a windows XP client to monitor the disk 
usage (basically the % used over time, how much space is left, etc) on 
a FreeBSD file server.  I will have samba and webmin installed already.
I've looked at some webmin modules but they seem very archaic.

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


Re: serious performance problems with 6.2 Release

2007-02-15 Thread Bill Moran
In response to Greg Barniskis [EMAIL PROTECTED]:
 
  Steven H. Baeighkley wrote:
  If bugs is the correct list then that's where we'll send it. However we 
  were not initially thinking it was a bug. We were thinking it was a 
  configuration error on our part. 
 
 That's a reasonable assumption actually. Sorry I don't have any 
 specific suggestions for you except to second the motion that you 
 ignore Ted's assertion that you should give up on -questions. It's 
 entirely possible that there's a tunable knob or app compilation 
 option that will help you out.

I didn't think I had anything to contribute before, but I just had a
thought.

If the problem seems centered around Apache, have you tried enable/disabling
accept filters?

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


Reccomended platform for SYN mitigation

2007-02-15 Thread Jeffrey Lyon

Questions Folks,

Which FreeBSD supported hardware platform would you reccomend using
for SYN mitigation? Why?

I intend to start building a squid cache on FreeBSD to inspect
HTTP/HTTPS packets before passing them to the destination host and
would very much appreciate any suggestions on the subject.

Thanks,
--
Jeffrey Lyon, President
Level III Information Systems Technician
[EMAIL PROTECTED] | http://www.blacklotus.net
Black Lotus Communications of The IRC Company, Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Viewing on remote PC

2007-02-15 Thread Frank Staals

Gerard wrote:

On Wednesday February 14, 2007 at 08:02:38 (AM) Vince wrote:


  
OK, I installed 'tightvnc' from ports. That went OK.


Then, I started the process by entering: 'vncserver' at the command
prompt on the FBSD machine. The first time this ran it asked for
information which I provided. Now when I invoke it, it runs silently.
This is the contents of the log file it creates.

// Contents of: ~/.vnc/scorpio.seibercom.net:1.log //

14/02/07 10:42:32 Xvnc version TightVNC-1.3.8
14/02/07 10:42:32 Copyright (C) 2000-2006 Constantin Kaplinsky
14/02/07 10:42:32 Copyright (C) 1999 ATT Laboratories Cambridge
14/02/07 10:42:32 All Rights Reserved.
14/02/07 10:42:32 See http://www.tightvnc.com/ for information on TightVNC
14/02/07 10:42:32 Desktop name 'X' (scorpio.seibercom.net:1)
14/02/07 10:42:32 Protocol versions supported: 3.7t, 3.7, 3.3
14/02/07 10:42:32 Listening for VNC connections on TCP port 5901
14/02/07 10:42:32 Listening for HTTP connections on TCP port 5801
14/02/07 10:42:32   URL http://scorpio.seibercom.net:5801

// End Log //

I have the following in the 'putty' configuration

Under SSL / X11, I have this:

X Display location: localhost:0
I have tried with both: Enable X forwarding checked and unchecked
without any difference.

Under SSH / Tunnels, I have this:

L5905 192.168.0.2:5901

I am not sure about the port # 5905. I simply copied it from a example I found.
I have tried 5901, 5900 and 5902 all without success.

There is no notification when I actually log onto the remote machine
other than what I normally receive. If I try: 'startx', all I get is a
lot of text output on the screen, although the application does start on
the remote PC.

Now, I can make a connection via HTTP and do get a login box. In fact,
that seems to be the only way I can make a successful connection.
Therefore, I am positive the VNC is working, just not with putty.

Obviously I am doing something really stupid.

Thanks!

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

  
You have to connect to a VNC server with a VNC client ( Windows tightVNC 
client is available from http://www.tightvnc.com/download.html ). Notice 
that by default you won't have encryption so you might want to use putty 
to create an SSH tunnel for your traffic ( See the tunneling section in 
putty )


--
-Frank Staals


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


Re: hard disk usage monitoring

2007-02-15 Thread Drew Sanford

Peter wrote:
I am looking for a tool to allow a windows XP client to monitor the disk 
usage (basically the % used over time, how much space is left, etc) on 
a FreeBSD file server.  I will have samba and webmin installed already.

I've looked at some webmin modules but they seem very archaic.

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


You might consider something like MRTG, or some other software that 
would run on the windows machine to interact with SNMP on the FreeBSD box.

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


Re: Diagnosing fan problem

2007-02-15 Thread Tore Lund
Jesse Sheidlower wrote:
 I have a ThinkPad T41p that has had a variety of fan problems
 for some time. After my most recent repair things seemed to be
 working fine, but the other day I was compiling some ports and
 the machine just shut down in the middle; after some
 experimentation it seemed clear that it was just overheating
 under load and shutting itself off. (Looking at the
 temperature sysctl showed that it was getting increasingly hot
 until it crashed.)
 
 How can I monitor what is happening? Are there any ways I can
 find out from FreeBSD if the fan is even on, or how it thinks
 it is working? systcl -a | grep fan didn't return anything.

There are quite a few programs that can tell you CPU temperature and fan
speed, like mbmon and conky, both in /usr/ports/sysutils.  You could
compare these parameters against data for the fan and cooler in order to
ascertain whether anything is wrong with the fan.

 Can I control the fan?

I don't know.  In any case, I would not try to control fan speed if the
problem is that the fan is insufficient or out of order.
-- 
Tore

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


Re: VESA mode 132x43

2007-02-15 Thread Hanno Krusken
 Guillermo Gutierrez wrote:
  I have compiled VESA support into the kernel and
when I try to set the
  resolution to 132x43 using vidcontrol, I see the
cursor but that is all.
 No text and the size of the console appears to have
shrunk because it wont
  scle
  to th esize of my monitor which can handle a
resolution [EMAIL PROTECTED]
 
  I could really use some help because I would like
to e able to use a
  resolution higher than 80x60.
 
  thanks,
 

you need some thing like this in your
/etc/rc.conf
depending of your video-card support

#allscreens_flags=-m on VGA_80x30
#allscreens_flags=-m on MODE_280
allscreens_flags=-m on MODE_291
vesa_load=YES

your kernel need some thing like this:
I use a radeon, so change it to your card !

device  vga # VGA video card driver
options VESA# VESA support
device  acpi_video  # LCD backlight/brightnes extention
device  drm
device  agp # support for AGP chipsets
device  sc  # Sytem-Console
device  radeondrm   # ATI Radeon RV100 Mobility LY M6 /
AGP chipset
device  splash  # Splash screen and screen saver
support
options MAXCONS=9   # Max-No. of virtual terminals
(standard=16)
options SC_PIXEL_MODE   # raster text mode
VESA_800x600, MODE_280, MODE_291
options CONSPEED=115200
#optionsSC_NORM_ATTR=(FG_WHITE|BG_BLACK)
#optionsSC_NORM_REV_ATTR=(FG_BLACK|BG_WHITE)
options SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK)
options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED)

read every man-page around the vidcontrol feature,
use my settings only as a sample

good luck
Hanno






___ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Request for FreeBSD 2007 DST patch

2007-02-15 Thread Zaman, Rahat
Dear Sir,

I would appreciate if you kindly provide me with information links to
FreeBSD 2007 DST patch. 

Thanks.
Rahat Zaman
Site IT Services (SIS PGFS)
Infrastructure Delivery Operations
Hewlett-Packard Co. 
+1 858 480 3927 (PG)
http://sis.sdd.hp.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


jailed VPS behind NAT

2007-02-15 Thread pancho pantera

hello,

i don't know where to search for THIS,  info about  jailed VPS.and secondly 
handbook and other  papers and docs, are some times criptic , because 
english is not may mother language, i usually speak spanish.


usually irtual private servers  has  its own public internet IP address, but 
here in mexico this is  very expensive.


my project is  to get just one IP address and  put freebsd jails  for  VPS 
behind NAT for offer:  VPS whit shared IP.


something between shared webhsoting and FULL VPS (whit own public IP for 
each).


please letme  know  where can  ia find  more  info or  answer for this 
topic.


thnk you in advance for you kind full atention,
best regrds from mexico

francisco wix

_
Te gusta estar en control, crea tu propia experiencia en Internet 
http://live.com


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


Re: Request for FreeBSD 2007 DST patch

2007-02-15 Thread Chuck Swiger

On Feb 15, 2007, at 10:06 AM, Zaman, Rahat wrote:

I would appreciate if you kindly provide me with information links to
FreeBSD 2007 DST patch.


If you've updated your FreeBSD system via cvsup or similar, you  
should be fine.  Otherwise, you can probably install the /usr/ports/ 
misc/zoneinfo port to get the updated tzdata files from the master  
FTP site, which is here:


  ftp://elsie.nci.nih.gov/pub/

--
-Chuck

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


Re: hard disk usage monitoring

2007-02-15 Thread Derek Ragona

You can use bigsister and monitor the remote and local diskusage.

-Derek


At 01:22 PM 2/15/2007, Peter wrote:

I am looking for a tool to allow a windows XP client to monitor the disk
usage (basically the % used over time, how much space is left, etc) on
a FreeBSD file server.  I will have samba and webmin installed already.
I've looked at some webmin modules but they seem very archaic.

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

--
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.


--
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: jailed VPS behind NAT

2007-02-15 Thread John Nielsen
On Thursday 15 February 2007 14:44, pancho pantera wrote:
 hello,

 i don't know where to search for THIS,  info about  jailed VPS.and secondly
 handbook and other  papers and docs, are some times criptic , because
 english is not may mother language, i usually speak spanish.

 usually irtual private servers  has  its own public internet IP address,
 but here in mexico this is  very expensive.

 my project is  to get just one IP address and  put freebsd jails  for  VPS
 behind NAT for offer:  VPS whit shared IP.

 something between shared webhsoting and FULL VPS (whit own public IP for
 each).

 please letme  know  where can  ia find  more  info or  answer for this
 topic.

Set up NAT as you otherwise would using the real interface and IP as the 
external network. There are several different methods for doing this, most of 
which are discussed and mentioned in the handbook. I use ipfw+natd since 
that's what I'm most familiar with, but pf may be a better option if you're 
just getting started.

Since your internal network doesn't have (or need) a real network interface, 
use the loopback interface (lo0). Create an alias in the 127.0.0.0/8 network 
for each jail. You should of course reserve 127.0.0.1 as the real localhost 
address.

Set up the jails as you normally would, using the 127.x.x.x IP's you allocated 
above. See the jail(8) manpage to get started. There are other howtos and 
guides out there that might give more background and examples, but the 
manpage has always been adequate fo my (modest) needs. You might also want to 
look at the sysutils/ezjail port. See also 
http://erdgeist.org/arts/software/ezjail/ .

Decide how you are going to allocate ports and/or proxy/share commonly used 
ports. For http and https (80 and 443), consider running Apache with 
mod_proxy and virtualhosts.

Should get you started at least...

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


diagnosing a reacurring system freeze

2007-02-15 Thread Ross Penner

Hi mailing list.

I've been running FreeBSD 6.2 on a computer as a gateway for my (very
small) local area network. Every two weeks since I've got it up and
running, it will completely lock up, seemingly randomly.  I would love
to investigate the root of the problem, but I'm not exactly sure where
to start. I'm sure there are many files I should be looking at but I
don't know what they are. Can someone guide me in the right direction?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: diagnosing a reacurring system freeze

2007-02-15 Thread Philip Hallstrom

I've been running FreeBSD 6.2 on a computer as a gateway for my (very
small) local area network. Every two weeks since I've got it up and
running, it will completely lock up, seemingly randomly.  I would love
to investigate the root of the problem, but I'm not exactly sure where
to start. I'm sure there are many files I should be looking at but I
don't know what they are. Can someone guide me in the right direction?


Start with /var/log/messages and /var/log/console and then just anything 
else in /var/log... look at the entries just before it hangs.. sometimes 
you'll get a clue as to what is causing it to panic...

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


Re: diagnosing a reacurring system freeze

2007-02-15 Thread Derek Ragona
First you should provide more information such as the output from your 
dmesg, whether you have the server running X or just text mode.


Describe your lockup, does the system completely freeze, or is it still 
ping-able?


-Derek


At 03:25 PM 2/15/2007, Ross Penner wrote:

Hi mailing list.

I've been running FreeBSD 6.2 on a computer as a gateway for my (very
small) local area network. Every two weeks since I've got it up and
running, it will completely lock up, seemingly randomly.  I would love
to investigate the root of the problem, but I'm not exactly sure where
to start. I'm sure there are many files I should be looking at but I
don't know what they are. Can someone guide me in the right direction?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

--
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.



--
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: diagnosing a reacurring system freeze

2007-02-15 Thread Zbigniew Szalbot
Hello,

 Start with /var/log/messages and /var/log/console and then just anything
 else in /var/log... look at the entries just before it hangs.. sometimes
 you'll get a clue as to what is causing it to panic...

I also experience periodic freezes. One pattern I am able to see is that
whenever there is a freeze and I cannot log to the box for a period,
/var/log/messages says:

Feb 14 00:06:35 192 kernel: dc0: watchdog timeout
Feb 14 03:14:59 192 kernel: dc0: watchdog timeout

Freezes are always connected with watchdog timeout. Any hints how to dig
further?

-- 
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: diagnosing a reacurring system freeze

2007-02-15 Thread Kris Kennaway
On Thu, Feb 15, 2007 at 02:25:22PM -0700, Ross Penner wrote:
 Hi mailing list.
 
 I've been running FreeBSD 6.2 on a computer as a gateway for my (very
 small) local area network. Every two weeks since I've got it up and
 running, it will completely lock up, seemingly randomly.  I would love
 to investigate the root of the problem, but I'm not exactly sure where
 to start. I'm sure there are many files I should be looking at but I
 don't know what they are. Can someone guide me in the right direction?

See the chapter on kernel debugging in the developers handbook.

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


Re: diagnosing a reacurring system freeze

2007-02-15 Thread Zbigniew Szalbot
Hello,

Derek Ragona wrote:
 First you should provide more information such as the output from your
 dmesg, whether you have the server running X or just text mode.

In my case I do not run X, the system mostly operates mysql database and
exim MTA (and this causes a bigger load sometimes up to 3.0 or so).


 Describe your lockup, does the system completely freeze, or is it still
 ping-able?
In my case it is always a complete freeze but only for a relatively short
period of time (20-30 seconds, sometimes longer though - up to 2 minutes).

For example, I noticed on a few occasions that when I used cat |grep on a
log file and the output displayed on screen was quite extensive (lots of
data), the system would freeze. But not always.

Here's the dmesg.today output:

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Mon Jan 22 12:52:41 CET 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LISTS
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel Pentium III (868.20-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x686  Stepping = 6
  
Features=0x387f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE
real memory  = 535691264 (510 MB)
avail memory = 514801664 (490 MB)
kbd1 at kbdmux0
acpi0: MEIP01  on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82810E (i810E GMCH) SVGA controller mem
0xe800-0xebff,0xeff8-0xefff irq 10 at device 1.0 on pci0
pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0
pci1: ACPI PCI bus on pcib1
dc0: Davicom DM9102A 10/100BaseTX port 0xbc00-0xbcff mem
0xefdfff00-0xefdf irq 11 at device 0.0 on pci1
miibus0: MII bus on dc0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: Ethernet address: 00:80:ad:82:6e:58
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH UDMA66 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
pci0: serial bus, USB at device 31.2 (no driver attached)
pci0: serial bus, SMBus at device 31.3 (no driver attached)
pci0: multimedia, audio at device 31.5 (no driver attached)
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: floppy drive controller port 0x3f0-0x3f3,0x3f4-0x3f5,0x3f7 irq 6
drq 2 on acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
ppc0: ECP parallel printer port port 0x378-0x37f,0x778-0x77b irq 7 drq 3
on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
pmtimer0 on isa0
orm0: ISA Option ROM at iomem 0xc-0xcbfff on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 868204315 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 76319MB WDC WD800JB-00JJC0 05.01C05 at ata0-master UDMA66
acd0: CDROM LTN485/KQG1 at ata0-slave PIO4
Trying to mount root from ufs:/dev/ad0s1a
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout

Re: diagnosing a reacurring system freeze

2007-02-15 Thread Kris Kennaway
On Thu, Feb 15, 2007 at 11:30:25PM +0100, Zbigniew Szalbot wrote:

 dc0: watchdog timeout

Either your dc hardware or the driver is malfunctioning, so this is
what you need to address.

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


Re: diagnosing a reacurring system freeze

2007-02-15 Thread Derek Ragona
Hard to tell if it is your dc0 ethernet adapter or a swap issue.  I would 
try a different ethernet controller and see what happens as that is a cheap 
experiment.


-Derek


At 04:30 PM 2/15/2007, Zbigniew Szalbot wrote:

Hello,

Derek Ragona wrote:
 First you should provide more information such as the output from your
 dmesg, whether you have the server running X or just text mode.

In my case I do not run X, the system mostly operates mysql database and
exim MTA (and this causes a bigger load sometimes up to 3.0 or so).


 Describe your lockup, does the system completely freeze, or is it still
 ping-able?
In my case it is always a complete freeze but only for a relatively short
period of time (20-30 seconds, sometimes longer though - up to 2 minutes).

For example, I noticed on a few occasions that when I used cat |grep on a
log file and the output displayed on screen was quite extensive (lots of
data), the system would freeze. But not always.

Here's the dmesg.today output:

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Mon Jan 22 12:52:41 CET 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LISTS
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel Pentium III (868.20-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x686  Stepping = 6

Features=0x387f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE
real memory  = 535691264 (510 MB)
avail memory = 514801664 (490 MB)
kbd1 at kbdmux0
acpi0: MEIP01  on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82810E (i810E GMCH) SVGA controller mem
0xe800-0xebff,0xeff8-0xefff irq 10 at device 1.0 on pci0
pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0
pci1: ACPI PCI bus on pcib1
dc0: Davicom DM9102A 10/100BaseTX port 0xbc00-0xbcff mem
0xefdfff00-0xefdf irq 11 at device 0.0 on pci1
miibus0: MII bus on dc0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: Ethernet address: 00:80:ad:82:6e:58
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH UDMA66 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
pci0: serial bus, USB at device 31.2 (no driver attached)
pci0: serial bus, SMBus at device 31.3 (no driver attached)
pci0: multimedia, audio at device 31.5 (no driver attached)
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: floppy drive controller port 0x3f0-0x3f3,0x3f4-0x3f5,0x3f7 irq 6
drq 2 on acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
ppc0: ECP parallel printer port port 0x378-0x37f,0x778-0x77b irq 7 drq 3
on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
pmtimer0 on isa0
orm0: ISA Option ROM at iomem 0xc-0xcbfff on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 868204315 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 76319MB WDC WD800JB-00JJC0 05.01C05 at ata0-master UDMA66
acd0: CDROM LTN485/KQG1 at ata0-slave PIO4
Trying to mount root from ufs:/dev/ad0s1a
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog timeout
dc0: watchdog 

RE: Request for FreeBSD 2007 DST patch

2007-02-15 Thread Zaman, Rahat
Appreciate your cooperation.

Thanks.
Rahat Zaman
Site IT Services (SIS PGFS)
Infrastructure Delivery Operations
Hewlett-Packard Co.
+1 858 480 3927 (PG)
http://sis.sdd.hp.com/

-Original Message-
From: Chuck Swiger [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 15, 2007 1:08 PM
To: Zaman, Rahat
Cc: 
Subject: Re: Request for FreeBSD 2007 DST patch

On Feb 15, 2007, at 10:06 AM, Zaman, Rahat wrote:
 I would appreciate if you kindly provide me with information links to 
 FreeBSD 2007 DST patch.

If you've updated your FreeBSD system via cvsup or similar, you should
be fine.  Otherwise, you can probably install the /usr/ports/
misc/zoneinfo port to get the updated tzdata files from the master FTP
site, which is here:

   ftp://elsie.nci.nih.gov/pub/

--
-Chuck

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


Re: diagnosing a reacurring system freeze

2007-02-15 Thread Kris Kennaway
On Thu, Feb 15, 2007 at 05:02:27PM -0600, Derek Ragona wrote:
 Hard to tell if it is your dc0 ethernet adapter or a swap issue.  I would 
 try a different ethernet controller and see what happens as that is a cheap 
 experiment.

Yeah, I missed the swap message - when your system is swapping then
performance will definitely be terrible.

In fact now I see that I've already given this advice to the original
poster on two previous occasions (November and January).  I guess he
chooses not to believe it.

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


Re: diagnosing a reacurring system freeze

2007-02-15 Thread Kevin Kinsey

Kris Kennaway wrote:

On Thu, Feb 15, 2007 at 05:02:27PM -0600, Derek Ragona wrote:
Hard to tell if it is your dc0 ethernet adapter or a swap issue.  I would 
try a different ethernet controller and see what happens as that is a cheap 
experiment.


Yeah, I missed the swap message - when your system is swapping then
performance will definitely be terrible.



And when it's *out* of swap space, it'll be even worse.  The OP has two 
problems, both of which could be significant.  Out of swap is, for certain.




In fact now I see that I've already given this advice to the original
poster on two previous occasions (November and January).  I guess he
chooses not to believe it.

Kris


Kris: if so, his loss.

Ross: add more swap space, and perhaps your system will behave a tad 
better.  There's an article in the manual; see also swapon(8) and 
/etc/fstab.


Re: watchdog timeouts, see dc(4).  If you are on a ISP that has some 
performance problems (mine seems that way), that could be it.  Also, 
check your other network equipment; if you have any way, for example, to 
test with a different switch/hub/router, and to try different settings 
for the adapter (duplex/half, etc.), it might be worth a try.


Or, you could always change your ethernet card (unless we're talking 
about laptops here).


My $0.02 (at a lower exchange rate than Kris's),

Kevin Kinsey
--
Emersons' Law of Contrariness:
Our chief want in life is somebody who shall make us do
what we can.  Having found them, we shall then hate them
for it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compile of Python 2.4.4 core dumps

2007-02-15 Thread Bjørn Erik Sjøtun

Rob Gallagher wrote:

On Wed, Feb 14, 2007 at 01:54:36PM +0100, Niclas Zeising wrote:

Usually if a compile coredumps it's due to faulty memory or other
hardware. Might be good to check that first. Especially since it
worked flawlessly on another box.
HTH
//Niclas



Thanks for the reply. I'm unsure if it's down to faulty memory because the 
machine is very new
and I don't get core dumps when compiling or running any other software. Also, 
in my experience
hardware faults have caused compiles to behave erraticlly, ie: bombing out at 
random stages in
the build process - this core dump always occurs at exactly the same point 
(compilation of the
curses module).



I am experiencing the same problem (also running 6.2-RELEASE), so your 
hardware is not the cause. I'm afraid I don't have any helpful ideas, 
though.


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


lpr on KDE

2007-02-15 Thread Gary Schenk
When trying to print from KDE applications, I get the following error:
/usr/local/bin/lpr: Connection refused This is on a new install of
6.2-RELEASE. KDE was installed from a package during install. Printing
works fine from the commandline as root and user.

Googling around, one suggested fix was to recompile /usr/ports/x11/kdelibs3
with WITHOUT_CUPS. I ran make -DWITHOUT_CUPS install and that went quite
well. I rebooted the machine just to make sure everything restarted. Still
no joy trying to print with KDE.

Any suggestions as to the next step? Would making some sort of link between
/usr/local.bin.lpr and /usr/bin/lpr work? 


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


Re: lpr on KDE

2007-02-15 Thread Garance A Drosihn

At 7:32 PM -0500 2/15/07, Gary Schenk wrote:

When trying to print from KDE applications, I get the following error:
/usr/local/bin/lpr: Connection refused This is on a new install of
6.2-RELEASE. KDE was installed from a package during install. Printing
works fine from the commandline as root and user.

Googling around, one suggested fix was to recompile /usr/ports/x11/kdelibs3
with WITHOUT_CUPS. I ran make -DWITHOUT_CUPS install and that went quite
well. I rebooted the machine just to make sure everything restarted. Still
no joy trying to print with KDE.


Did you also *remove* the version of CUPS which got installed?  If
not, you probably still have /usr/local/bin/lpr as the CUPS-based
version of lpr.


Any suggestions as to the next step? Would making some sort of link
between /usr/local.bin.lpr and /usr/bin/lpr work?


My guess is that you're getting the CUPS-version of `lpr', but you're
still running the standard daemon for FreeBSD's `lpr'.  The simple
test would be to:
   mv /usr/local/bin/lpr /usr/local/bin/lpr-cups

and then try printing from kde.  If that solves your problem, then
move that binary back to /usr/local/bin/lpr, find out which of the
CUPS-related ports you have installed, and pkg_deinstall them.

--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [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: Any way to probe snd card?

2007-02-15 Thread Gary Kline
On Thu, Feb 15, 2007 at 08:14:25AM -0800, Garrett Cooper wrote:
 Gary Kline wrote:
 On Wed, Feb 14, 2007 at 11:28:05PM -0800, Gary Kline wrote:
 On Wed, Feb 14, 2007 at 10:51:08PM -0800, Garrett Cooper wrote:
 Gary Kline wrote:
 On Wed, Feb 14, 2007 at 11:16:00PM -0500, Dak Ghatikachalam wrote:
 On 2/14/07, Gary Kline [EMAIL PROTECTED] wrote:
   I'm pretty stunned at how well gnome2 works on my
   antique 400MHz backup system.  [[ gnome2-lite wouldn't go, for
   some reason [?] ]]  Anyway, I do have a sound card in this
   one, but which *.ko I load or compile is the question.  If
   memory serves, I think this has  a Matrox card.  I've tried
   adding a few sound [snd_*.ko] files, but no sound.  The OSS
   dialogs open, but the tests produce no sound..  Would the sound
   card show up in dmesg if there were a sound card hiding?
 
   Any help out there?  This old box is an HP Kayak XU/XW.
 I solved most of my sound problems by taking actions reading
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html
 
 regards
 Dak
 
   Hm.  I forgot about adding the hints.*; but catenating
   /dev/sndstat indicates that I use snd_sb16.ko and compiling that
   in gives me a bunch of fatal undefines.  So I added snd_sbc
   to the KERNCONF and am recompiling.  
 
   Shouldn't be this hard; this worked with REdhat, just
   straightaway.  
 
   gary
 What model's the card (or what does pciconf -lv report at least)?
 
 This is strange.  A couple hours ago I kldloaded a few modules
 and saw that the card was my missing AWE64.  Now, when I load
 snd_sb16, it looks like an ISA SB 16.  It could be either.
 Note that if I load just snd_sb.ko, cat'ing /dev/sndstat returns
 zip.
 Still trying...
 
 
  Interesting: I scripted them ALL in and ind that there are TWO
  sound cards::
 
 pcm0: SB16 DSP 4.16 at io 0x240 irq 9 drq 1:5 bufsz 4096 kld snd_sb16
 (1p/1r/0v channels duplex default)
 pcm1: AD1816 at io 0x500 irq 5 drq 0:3 bufsz 8192 kld snd_ad1816
 (1p/1r/0v channels duplex)
 
  Suggestions?
 
 
 gary
 
 
 -Garrett
 
 Not 100% sure, but it looks like your soundcard involves the sb driver 
 and there might be a separate driver for your card:
 
 http://lists.freebsd.org/pipermail/cvs-all/2007-February/206411.html


Looks the the header files were checked into CVS but howto
retrieve?  I did a full-bore update of 6.2 and didn't see 
anything new (timestamp-wise) in the sound/ directories... .

I'll rebuild and  reinstall.

Anyway: experimentation has taught me that the snd_ad1816.ko 
at least drives the BEL speaker.  So, while I hear the
log[in|out] fuzzily, the other WAV sounds are clear.  Another
thing: with snd_driver.ko installed (by /boot/loader.conf)
I have *no* sound; with just the keydb driver at YES the 
internal speaker works.  And the tiny red [x] is not
displayed.)  With snd_sb16.ko or snd_sbc.ko I get some results
by catenating /dev/sndstat.  But zero sound.  cat foo /dev/dsp
is not permitted as a test.  [ That html sound page is seriously
out of date! ]  

The only possibilities I can see are a bad sound card or the 
banana plug in the wrong jack [ doubt].

(*)

gary

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

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Eclipse Installation in FreeBSD

2007-02-15 Thread sans

hi all, 

I'm new to freebsd and do not have any unix or linux background. I want to
install eclipse for c++ developement. do we to need to install jre prior to
eclipse ? If so, could you please help on how to install jre. Also I
searched for eclipse setup for freebsd, but couldnt find that from their
site, from where can we get that? Will the eclipse for linus work in
freebsd? Could anyone tell the installation procedures?

thanks in advance,
sans.
-- 
View this message in context: 
http://www.nabble.com/Eclipse-Installation-in-FreeBSD-tf3237772.html#a8999091
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


How to install JRE in FreeBSD

2007-02-15 Thread santhy chandran

hi,

Im new to FreeBSD environment and need to work with C++ using IDE Eclipse .

I came to know that inorder to install Eclipse,we should have JRE n our 
machine.I have downloaded JRE for FreeBSD but not able to get it installed 
since installation procedures are not given in that..


Can u please help me by sending the reply as fast as possible..

santhy

_
Catch all the cricketing action right here. Live score, match reports, 
photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx


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


Re: Eclipse Installation in FreeBSD

2007-02-15 Thread Garrett Cooper

sans wrote:
hi all, 


I'm new to freebsd and do not have any unix or linux background. I want to
install eclipse for c++ developement. do we to need to install jre prior to
eclipse ? If so, could you please help on how to install jre. Also I
searched for eclipse setup for freebsd, but couldnt find that from their
site, from where can we get that? Will the eclipse for linus work in
freebsd? Could anyone tell the installation procedures?

thanks in advance,
sans.


The Eclipse port is available in /usr/ports/java/eclipse.

Type in make install and it will install the eclipse port and all of its 
dependencies.


See man ports for more information.

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


Diskless PXEboot crashes at kernel loading.

2007-02-15 Thread Rob

Hi,

I already described in detail what I've been doing
with the FreeBSD server and the Compaq HP client PC
here:
http://lists.freebsd.org/pipermail/freebsd-questions/2007-February/142116.html

The Bootp exchange seems to be fine and the client
gets the kernel from the server. However, during
the kernel loading, the client PC implodes and
starts from BIOS boot up again. The boot messages
are given below.

The crash messages scroll too fast over the screen
to see the details with the bare eye. I recorded it
with a digital camera and a snapshot of it is here:

  http://www.lahaye.dds.nl/pxeboot/crash.jpg


The whole boot process in plain text goes as
follows:

--
Attempting Boot From Intel(R) Boot Agent Version
3.0.05 (PnP Device)

Initializing Intel(R) Boot Agent Version 3.0.05
PXE 2.0 Build 078 (WfM 2.0), RPL V2.73

Intel(R) Boot Agent Version 3.0.05
Copyright (C) 1997-2000, Intel Corporation

CLIENT MAC ADDR: 00 02 A5 93 F7 44  GUID:
67862AE2-117C-D511-BFE9-F3C48B4FB125
DHCP./

BTX loader 1.00 BTX version is 1.01
Consoles: internal video/keyboard
BIOS drive A: is disk0
BIOS drive C: is disk1

PXE version 2.1, real mode entry point 09db8:8186
BIOS a573kB/268896kB available memory

FreeBSD/i386 bootstrap loader, Revision 1.1
pxe_open: server addr: 192.168.123.1
pxe_open: server path: /
pxe_open: gateway ip: 192.168.123.254

Welcome to FreeBSD!

 [ Boot option menu 1 to 7 ] FreeBSD-ascii-cartoon

/boot/kernel/kernel text=0x4d568c /
int=.. err= ef11= eip=

--

And the crash happens.
Note that the crash occurs for whatever option
1 to 6 I choose from the FreeBSD boot menu.

Does someone understand the crash messages?

Thanks,
Rob.



 

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]


kernel make fails

2007-02-15 Thread Gary Schenk
After editing and successfully running make cleandepend and make depend, 
my custom kernel failed during make with this output:

babo# make
linking kernel
if_ural.o(.text+0x66): In function `ural_free_tx_list':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x2d3): In function `ural_rxeof':
: undefined reference to `ieee80211_find_rxnode'
if_ural.o(.text+0x2eb): In function `ural_rxeof':
: undefined reference to `ieee80211_input'
if_ural.o(.text+0x2f1): In function `ural_rxeof':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x893): In function `ural_start':
: undefined reference to `ieee80211_find_txnode'
if_ural.o(.text+0x8b9): In function `ural_start':
: undefined reference to `ieee80211_encap'
if_ural.o(.text+0xa0a): In function `ural_start':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xa3f): In function `ural_start':
: undefined reference to `ieee80211_encap'
if_ural.o(.text+0xa53): In function `ural_start':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xa65): In function `ural_start':
: undefined reference to `ieee80211_crypto_encap'
if_ural.o(.text+0xe47): In function `ural_txeof':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xeee): In function `ural_watchdog':
: undefined reference to `ieee80211_watchdog'
if_ural.o(.text+0x1188): In function `ural_detach':
: undefined reference to `ieee80211_ifdetach'
if_ural.o(.text+0x16f3): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x1719): In function `ural_attach':
: undefined reference to `ieee80211_ifattach'
if_ural.o(.text+0x1754): In function `ural_attach':
: undefined reference to `ieee80211_media_status'
if_ural.o(.text+0x175f): In function `ural_attach':
: undefined reference to `ieee80211_media_init'
if_ural.o(.text+0x182b): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x185f): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x1894): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x18e6): In function `ural_attach':
: undefined reference to `ieee80211_announce'
if_ural.o(.text+0x1b8e): In function `ural_set_chan':
: undefined reference to `ieee80211_chan2ieee'
if_ural.o(.text+0x21c3): In function `ural_task':
: undefined reference to `ieee80211_beacon_alloc'
if_ural.o(.text+0x2be0): In function `ural_media_change':
: undefined reference to `ieee80211_media_change'
if_ural.o(.text+0x2c3e): In function `ural_media_change':
: undefined reference to `ieee80211_media_change'
if_ural.o(.text+0x2cf7): In function `ural_ioctl':
: undefined reference to `ieee80211_ioctl'
if_ural.o(.text+0xe5): In function `ural_next_scan':
: undefined reference to `ieee80211_next_scan'
*** Error code 1

Stop in /usr/src/sys/i386/compile/BABO.

I searched on the Google and looked in the handbook, but to no avail.

Here is the kernel file:
#
# BABO -- my custom kernel configuration file for FreeBSD/i386
# Feb. 15, 2007
# Edited to include sound, DVD burner, and USB support
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.13 2006/10/09 18:41:36 simon 
Exp $

machine i386
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   BABO

# To statically compile in device wiring instead of /boot/device.hints

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for devices.

#makeoptionsDEBUG=-g# Build kernel with gdb(1) debug 
symbols

options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big 
directories
options MD_ROOT # MD is a potential root device
#optionsNFSCLIENT   # Network Filesystem Client
#options

Re: kernel make fails

2007-02-15 Thread Garrett Cooper

Gary Schenk wrote:
After editing and successfully running make cleandepend and make depend, 
my custom kernel failed during make with this output:


babo# make
linking kernel
if_ural.o(.text+0x66): In function `ural_free_tx_list':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x2d3): In function `ural_rxeof':
: undefined reference to `ieee80211_find_rxnode'
if_ural.o(.text+0x2eb): In function `ural_rxeof':
: undefined reference to `ieee80211_input'
if_ural.o(.text+0x2f1): In function `ural_rxeof':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x893): In function `ural_start':
: undefined reference to `ieee80211_find_txnode'
if_ural.o(.text+0x8b9): In function `ural_start':
: undefined reference to `ieee80211_encap'
if_ural.o(.text+0xa0a): In function `ural_start':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xa3f): In function `ural_start':
: undefined reference to `ieee80211_encap'
if_ural.o(.text+0xa53): In function `ural_start':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xa65): In function `ural_start':
: undefined reference to `ieee80211_crypto_encap'
if_ural.o(.text+0xe47): In function `ural_txeof':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xeee): In function `ural_watchdog':
: undefined reference to `ieee80211_watchdog'
if_ural.o(.text+0x1188): In function `ural_detach':
: undefined reference to `ieee80211_ifdetach'
if_ural.o(.text+0x16f3): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x1719): In function `ural_attach':
: undefined reference to `ieee80211_ifattach'
if_ural.o(.text+0x1754): In function `ural_attach':
: undefined reference to `ieee80211_media_status'
if_ural.o(.text+0x175f): In function `ural_attach':
: undefined reference to `ieee80211_media_init'
if_ural.o(.text+0x182b): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x185f): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x1894): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x18e6): In function `ural_attach':
: undefined reference to `ieee80211_announce'
if_ural.o(.text+0x1b8e): In function `ural_set_chan':
: undefined reference to `ieee80211_chan2ieee'
if_ural.o(.text+0x21c3): In function `ural_task':
: undefined reference to `ieee80211_beacon_alloc'
if_ural.o(.text+0x2be0): In function `ural_media_change':
: undefined reference to `ieee80211_media_change'
if_ural.o(.text+0x2c3e): In function `ural_media_change':
: undefined reference to `ieee80211_media_change'
if_ural.o(.text+0x2cf7): In function `ural_ioctl':
: undefined reference to `ieee80211_ioctl'
if_ural.o(.text+0xe5): In function `ural_next_scan':
: undefined reference to `ieee80211_next_scan'
*** Error code 1

Stop in /usr/src/sys/i386/compile/BABO.

I searched on the Google and looked in the handbook, but to no avail.

Here is the kernel file:
#
# BABO -- my custom kernel configuration file for FreeBSD/i386
# Feb. 15, 2007
# Edited to include sound, DVD burner, and USB support
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html

#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.13 2006/10/09 18:41:36 simon 
Exp $


machine i386
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   BABO

# To statically compile in device wiring instead of /boot/device.hints

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for devices.

#makeoptionsDEBUG=-g# Build kernel with gdb(1) debug 
symbols


options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big 
directories

options MD_ROOT # MD is a potential root device
#optionsNFSCLIENT   # Network Filesystem Client