virtualbox

2010-08-05 Thread kalin m



hi all..

just wondering how mature is virtualbox to be used with freebsd - either 
as host or as guest. is viable to be used in production environment?


thanks..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: virtualbox

2010-08-05 Thread kalin m



awesome...  i will.  i'm basically intending to use it for production 
servers. i'll give it try...


was reading something about not supporting usb...  how about serial ports?

i was reading the documentation. not much there...  how about 
management, data backup and recovery? real time vm swaps?


thanks...





Brandon Gooch wrote:

On Thu, Aug 5, 2010 at 10:53 PM, kalin m ka...@el.net wrote:
  

hi all..

just wondering how mature is virtualbox to be used with freebsd - either as
host or as guest. is viable to be used in production environment?




From my experience (running the latest 3.2.6 on 8.1-RELEASE, 8-STABLE,
and 9-CURRENT) as both host and guest systems, YES.

I'm also using 32- and 64-bit Windows and Linux guests; performance
and stability are very, very good.

Please try VirtualBox for yourself -- I think you will be pleased with
the effort that's been put in to the port by the developers :)

-Brandon
  

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


Re: vmware and freebsd 8

2010-07-28 Thread kalin m


awesome...  thanks to all replies...  i'll try the nox11 also..  those 
machines are only intended as servers so guis are not necessary...   
thanks...




Kevin Wilcox wrote:

On 28 July 2010 09:12, Steve Polyack kor...@comcast.net wrote:

  

We've always used the open-vm-tools port
(/usr/ports/emulators/open-vm-tools-nox11).  There is both an x11 and
nox11 version, both of which work very well.  It also includes a handful
of other drivers and modules, including the memory balloon driver.

If you only intend on using the vmware-guestd, vmxnet, and/or vmmemctl
(memory ballon driver), then you can build with -DWITHOUT_DNET
-DWITHOUT_ICU -DWITHOUT_FUSE to eliminate a few more dependencies.



Steve - that's excellent advice. I'll try out open-vm-tools-nox11 on
one of my VMs this afternoon and see how it goes. Thanks!!

kmw

  

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


Re: vmware and freebsd 8

2010-07-28 Thread kalin m



so installed the open-vmware-tools-nox11 package...  the vsphere ( the 
client interface) detects it but it says VMWare Tools: Unmanaged. any 
idea what that means?


i did try to install from source off the sourceforge site without x and 
some other stuff but it's broken.


thanks...



kalin m wrote:


awesome...  thanks to all replies...  i'll try the nox11 also..  those 
machines are only intended as servers so guis are not necessary...   
thanks...




Kevin Wilcox wrote:

On 28 July 2010 09:12, Steve Polyack kor...@comcast.net wrote:

 

We've always used the open-vm-tools port
(/usr/ports/emulators/open-vm-tools-nox11).  There is both an x11 and
nox11 version, both of which work very well.  It also includes a 
handful

of other drivers and modules, including the memory balloon driver.

If you only intend on using the vmware-guestd, vmxnet, and/or vmmemctl
(memory ballon driver), then you can build with -DWITHOUT_DNET
-DWITHOUT_ICU -DWITHOUT_FUSE to eliminate a few more dependencies.



Steve - that's excellent advice. I'll try out open-vm-tools-nox11 on
one of my VMs this afternoon and see how it goes. Thanks!!

kmw

  

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

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


Re: vmware and freebsd 8

2010-07-28 Thread kalin m



for the record - if anybody's interested...

http://communities.vmware.com/thread/249774;jsessionid=79E1617AEC857E6B51C29539AD294AC9?tstart=0


kalin m wrote:



so installed the open-vmware-tools-nox11 package...  the vsphere ( the 
client interface) detects it but it says VMWare Tools: Unmanaged. any 
idea what that means?


i did try to install from source off the sourceforge site without x 
and some other stuff but it's broken.


thanks...



kalin m wrote:


awesome...  thanks to all replies...  i'll try the nox11 also..  
those machines are only intended as servers so guis are not 
necessary...   thanks...




Kevin Wilcox wrote:

On 28 July 2010 09:12, Steve Polyack kor...@comcast.net wrote:

 

We've always used the open-vm-tools port
(/usr/ports/emulators/open-vm-tools-nox11).  There is both an x11 and
nox11 version, both of which work very well.  It also includes a 
handful

of other drivers and modules, including the memory balloon driver.

If you only intend on using the vmware-guestd, vmxnet, and/or vmmemctl
(memory ballon driver), then you can build with -DWITHOUT_DNET
-DWITHOUT_ICU -DWITHOUT_FUSE to eliminate a few more dependencies.



Steve - that's excellent advice. I'll try out open-vm-tools-nox11 on
one of my VMs this afternoon and see how it goes. Thanks!!

kmw

  

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

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

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


vmware and freebsd 8

2010-07-27 Thread kalin m


hi all...

messing around with vmware and fbsd 8...

has anybody used vmware esxi 4 to put a bunch of fbsd machines on it?
i also installed the vmsphere client (they call it) which is pretty nice 
interface to interact with the virtual machines but apparently doesn't 
know much on how to install vmware tools on a bsd guest.


so the question is which vmware tools should i get for the fbsd 8 guests 
to go with the esxi 4.1. in the ports there are vmware-tools6, 5, 4, 3. 
tried six. it wants some disk. there is also the open-vmware-tools. is 
that open one better to play with the esxi 4.1 an the vmsphere thing?


also is there anything better than vmware for virtualization that plays 
nice and with fbsd?


thanks...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


sendmail access

2010-06-10 Thread kalin m




hi all... 

reading 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sendmail.html


i did get an access file set up. it doesn't do anything thought... 


i have only entry like this:

some.domain.comOK

and did make. then changed /etc/defaults/rc.conf to 
sendmail_enable=YES


restarted sendmail. cool. so far. now mail is a accepted from everywhere 
not only the entry in access: some.domain.com


why?

thanks...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


sysinstall on fedora?

2010-02-22 Thread kalin m


hi all...  realizing this is a bit OT but i have to deal with this old 
fedora core 2 machine - making file system, slices, etc...  what would 
be the equivalent utility of sysinstall on fedora?


thanks..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sysinstall on fedora?

2010-02-22 Thread kalin m



thanks..  i'm not going to use it. i have a remote access and just need 
to mount a usb drive (through a scsi interface?!?!) attached to it so i 
can copy over some stuff. i was done with redhat when they went 
enterprise and started modifying the core code


basically i just need some command lines like mkfs and such which i 
couldn't find. i'll check this part command see what it's doing...


thanks again...



Ross Cameron wrote:

On Mon, Feb 22, 2010 at 9:36 PM, kalin m ka...@el.net wrote:
  

hi all...  realizing this is a bit OT but i have to deal with this old
fedora core 2 machine - making file system, slices, etc...  what would be
the equivalent utility of sysinstall on fedora?



To be honest considering its sooo OLD you're best option is backup and
reinstall.
And preferably not Fedora of all things, its too dev happy..

CentOS 5.4 will probably serve you better if you have need to run a
Linux OS on that device.




  

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


Re: sysinstall on fedora?

2010-02-22 Thread kalin m

Mehul Ved wrote:

On Tue, Feb 23, 2010 at 1:45 AM, kalin m ka...@el.net wrote:
  

thanks..  i'm not going to use it. i have a remote access and just need to
mount a usb drive (through a scsi interface?!?!) attached to it so i can
copy over some stuff. i was done with redhat when they went enterprise and
started modifying the core code

basically i just need some command lines like mkfs and such which i couldn't
find. i'll check this part command see what it's doing...



In that case you should check
fdisk for partitions
mkfs for filesystem. You'd be most probably looking for mkfs.ext3 or mkfs.vfat
  

cool. thanks..  that's what i was looking for
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


pf rules

2010-01-21 Thread kalin m


hi all...

doing testing with pf...

how is it possible that if i have these rules below in pf.conf if i do:
telnet that.host.org 25

i get:
Trying xx.xx.xx.xx...
Connected to that.host.org.
Escape character is '^]'.
... etc ...


pf.conf contetns:

tcp_in = { www, https }
ftp_in = { ftp }
udp = { domain, ntp }
ping = echoreq

set skip on lo
scrub in

antispoof for eth0 inet

block in all
pass out all keep state
pass proto udp to any port $udp
pass inet proto icmp all icmp-type $ping keep state
pass in inet proto tcp to any port $tcp_in flags S/SAF synproxy state
pass proto tcp to any port ssh




thanks...

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


vpn or adhoc

2009-11-13 Thread kalin m


hi all...

wondering if somebody has done vpn between a bsd box and a portable 
device running windows mobile. is it possible?
looking at the wireless networking off the handbook gives a direct 
example with 2 bsd machines.
the bsd machine and the wireless device are hooked up now adhoc. they 
always going to be close to each other and there is no need of 
infrastructure mode at present time.
if vpn is an overkill in this case what would be the best way to lock 
down the adhoc connection to be only between this two piers and isolate 
anybody else that wants to get on...


thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ral driver

2009-11-04 Thread kalin m



just a follow up on this. any ideas. can i just get newer/fixed driver?

thanks...


kalin m wrote:



hi all

is this resolved in current or head?

http://lists.freebsd.org/pipermail/freebsd-bugs/2009-May/035231.html

i have this ral card that drops off after about 15 min or so and have 
the same symptoms as described in that bug report..



thank you...
___
freebsd-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org

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


Re: freebsd forgets root password

2009-10-24 Thread kalin m

Kevin Kinsey wrote:

kalin m wrote:


does anybody here know if freebsd has a driver for Marvell 88E8057 
nic chip?


according to the kernel list of drivers (7.2) marvell chips are 
driven by the msk driver. but it doesn't show up in pciconf, dmesg or 
sysinstall
strangely enough 88E8057 is not in the list in man msk. although 
88E8056 and 88E8058 are. is this just bad luck?!




No, as I mentioned earlier, it appears the driver author didn't have
or wasn't aware of this chipset.  It's quite possible, based on the
cursory glance I gave to the headers of the file, that it didn't exist
at the time it was written.  There are obviously some issues with
licensing or disclosure or what-not.

See /usr/src/dev/msk/if_msk.c, down about line 210-220 where
these are defined.  You can, I think, very carefully, attempt
to add this device to that file and rebuild your kernel, I think,
and then see if it works.  I'm thinking OOTOMH the trick would be getting
the right DEVICEID string in there.

Barring that, you might speak very sweetly to the author of the driver,
perhaps offering $BEVERAGE and detailed information about the chip, and
see if he/she would attempt to conjure up the right code to make it work.


thanks kevin...   i did get an email from (i believe ) the author of the 
driver. so i'll be hopefully trying his patch on monday. and i have to 
get some files from HEAD. but it was very nice that he contacted me.  i 
had to look up OOTOMH thought...


thanks...




HTH,

Kevin Kinsey

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


freebsd forgets root password

2009-10-23 Thread kalin m



hi all 

this is really weird.
i've must have set up the root password on this new machine i got at 
least 5 times and after a few reboots this thing forgets it.

i have to go in single user and reset it again and again?!?

what can be the reason?

it'a brand new install of freebsd 7.2  amd64 (amnesiac)  ...  fits the 
name...


while i'm on here... the machine comes with an ethernet card on board 
that according to pciconf there is no driver for it. pciconf identifies 
the card as Marvell Semiconductor (was: Galileo something...) which 
according to the handbook needs the msk driver. which is in the generic 
kernel anyway. the thing is pciconf says no...@pci0:2:0:0 for that card. 
dmesg doesn't mention anything about msk. and sysinstall doesn't see 
anything either. so far so awesome...


now... the wireless card i put in. ralink technology. in the office here 
there is a simple wifi router that is protected with WPA password. if 
i get rid of the password and just use ifconfig to get to the router 
everything works ok but putting the wpa on again and using the 
supplicant things suck. ifconfig says the card is associated. and it 
gets an ip but that's pretty much all that happens. pings to a 
neighboring machine produce huge dropouts. with  85% packet loss. 
another awesomeness...  and those are pings to ips. dns is pretty much 
nowhere to be found. sysisntall has unknown network interface type for 
ral0...



so in conclusion:

what's up with the root password amnesia?
what's up with the msk driver card?
and what's up with this wpa supplicant thing?

thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd forgets root password

2009-10-23 Thread kalin m


thanks adam.


Adam Vande More wrote:
On Fri, Oct 23, 2009 at 7:56 PM, kalin m ka...@el.net 
mailto:ka...@el.net wrote:




hi all 

this is really weird.
i've must have set up the root password on this new machine i got
at least 5 times and after a few reboots this thing forgets it.
i have to go in single user and reset it again and again?!?

what can be the reason?


Couple guesses:

You keep forgetting the password
caps lock
not really...  i checked.  many times. even for num loc. which doesn't 
matter...


 



it'a brand new install of freebsd 7.2  amd64 (amnesiac)  ...  fits
the name...


amnesiac is the name freebsd uses when no hostname is set.

in this Amnesiac is the release name i think...

 



while i'm on here... the machine comes with an ethernet card on
board that according to pciconf there is no driver for it. pciconf
identifies the card as Marvell Semiconductor (was: Galileo
something...) which according to the handbook needs the msk
driver. which is in the generic kernel anyway. the thing is
pciconf says no...@pci0:2:0:0 for that card. dmesg doesn't mention
anything about msk. and sysinstall doesn't see anything either. so
far so awesome...


man msk

many times  msk should at least show in the dmesg somewhere
 



now... the wireless card i put in. ralink technology. in the
office here there is a simple wifi router that is protected with
WPA password. if i get rid of the password and just use ifconfig
to get to the router everything works ok but putting the wpa on
again and using the supplicant things suck. ifconfig says the card
is associated. and it gets an ip but that's pretty much all that
happens. pings to a neighboring machine produce huge dropouts.
with  85% packet loss. another awesomeness...  and those are pings
to ips. dns is pretty much nowhere to be found. sysisntall has
unknown network interface type for ral0...


This has always worked well for me:

http://www.freebsd.org/doc/en/books/handbook/network-wireless.html
that's where i got the wpa configuration from. also from man 
wpa_supplicant and wpa_supplicant.conf.


my conf looks like:
network={
ssid=home
scan_ssid=1
key_mgmt=WPA-PSK
psk=very secret passphrase
}

wpa_supplicant with -ddd show more and more of the same with nothing 
that helps me identify anything as a problem. just loops through the 
same sequence of information which doesn't mean much to me.




--
Adam Vande More

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


Re: freebsd forgets root password

2009-10-23 Thread kalin m


not really...  i checked.  many times. even for num loc. which doesn't 
matter...



amnesiac is the name freebsd uses when no hostname is set.

in this Amnesiac is the release name i think...


man msk

many times  msk should at least show in the dmesg somewhere
 



now... the wireless card i put in. ralink technology. in the
office here there is a simple wifi router that is protected with
WPA password. if i get rid of the password and just use ifconfig
to get to the router everything works ok but putting the wpa on
again and using the supplicant things suck. ifconfig says the card
is associated. and it gets an ip but that's pretty much all that
happens. pings to a neighboring machine produce huge dropouts.
with  85% packet loss. another awesomeness...  and those are pings
to ips. dns is pretty much nowhere to be found. sysisntall has
unknown network interface type for ral0...


This has always worked well for me:

http://www.freebsd.org/doc/en/books/handbook/network-wireless.html
that's where i got the wpa configuration from. also from man 
wpa_supplicant and wpa_supplicant.conf.


my conf looks like:
network={
ssid=home
scan_ssid=1
key_mgmt=WPA-PSK
psk=very secret passphrase
}

wpa_supplicant with -ddd show more and more of the same with nothing 
that helps me identify anything as a problem. just loops through the 
same sequence of information which doesn't mean much to me.



on this one:
wpa_supplicant -K -i ral0 -c /etc/wpa_supplicant.conf

i just get:
Trying to associate with MA:CA:DD:RE:SS (ssid=home freq=2432 mhz)
Associated with MA:CA:DD:RE:SS
CTRL-EVENT-DESCONNECTED - Disconnect event - remove keys
and again and again and again...  i'm typing this

i get the idea. disconnected. why?










--
Adam Vande More

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

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


Re: freebsd forgets root password

2009-10-23 Thread kalin m



Polytropon wrote:

On Fri, 23 Oct 2009 22:15:19 -0400, kalin m ka...@el.net wrote:
  

Adam Vande More wrote:


man msk
  

many times  msk should at least show in the dmesg somewhere



If you have if_msk_load=YES in /boot/loader.conf, it should.
A message for dmesg is issued at the moment the driver is
loaded successfully. Is your particular card listed in the
manual's section HARDWARE?

  
i did have that but it complain that it's already loaded. so i took that 
off.  after a bit more research i just sent this to the net list:



does anybody here know if freebsd has a driver for Marvell 88E8057 nic 
chip?


according to the kernel list of drivers (7.2) marvell chips are driven 
by the msk driver. but it doesn't show up in pciconf, dmesg or 
sysinstall
strangely enough 88E8057 is not in the list in man msk. although 88E8056 
and 88E8058 are. is this just bad luck?!



thanks Polytropon... 




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


Re: freebsd forgets root password

2009-10-23 Thread kalin m


Polytropon wrote:

On Fri, 23 Oct 2009 19:41:31 -0700 (PDT), James Phillips 
anti_spam...@yahoo.ca wrote:
  

With how flimsy the entry-level keyboards are these days,
it may be *almost* as likely ;)



Entry level? Ha! All modern keyboards... :-)

  
actually the one i'm using was entry-level maybe about 15 years ago...   
it's called Turbo-Xwin. it's about to be on it's exit level   
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: serial modem

2009-07-01 Thread kalin m



But it IS a modem to dial tones and connect to something?
Net search... no idea what that could mean. Serial modems usually
don't search for nets...

Or am I completely misunderstanding you and you're trying to find a
command access to a DSL modem that has a serial line?
  


it's a gsm/sms modem. i need to get to it to set some settings using AT 
commands... 
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: serial modem

2009-07-01 Thread kalin m


nevermind...  thanks... 



kalin m wrote:



But it IS a modem to dial tones and connect to something?
Net search... no idea what that could mean. Serial modems usually
don't search for nets...

Or am I completely misunderstanding you and you're trying to find a
command access to a DSL modem that has a serial line?
  


it's a gsm/sms modem. i need to get to it to set some settings using 
AT commands... ___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

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


Re: serial modem

2009-06-29 Thread kalin m


I've no experience with serial modems, but having read the man pages I 
believe your remote(5) line is incorrect.


sio0|com1:dv=/dev/cuad0:br#115200:pa=none:

sets system names sio0 and com1, then you try to execute tip to 
connect to cuad0. Is there an entry for cuad0 in your /etc/remote? I'm 
confused as to why tip is returning 'unknown host tip0' however.


Give `tip -v sio0` a shot, or change the system names in your 
/etc/remote line


yes the entry was wrong...   changed it. when i try to use tip i get 
device busy. when i use cu it says connected but nothing else happens 
and i don't see any prompts. it's like frozen. i can't type any AT 
commands... nothing. i changed the baud rate around. all the way down to 
9600. so now the same thing happens with tip. if used tip says connected 
but i can not issue any commands...


the modem has 2 leds. one yellow and one green. according to the manual 
the yellow should be blinking as follows:


Fast Blinking (0.5 sec on/0.5 sec off)  Net search/ Not 
registered/Turning Off

Slow Blinking (0.3 sec on/ 2.7 sec off)  Registered, Full Service

i think i'm only seeing 'Fast Blinking'.  i wonder what 'Net search' 
really means and where it's searching for it. it's connected through a 
RS-232 to the serial port...


?!?

thanks...

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


serial modem

2009-06-28 Thread kalin m


hi all...

my first time using serial ports and modems. the modem is hooked up 
using RS-232 cable...


modem specs:

• Baud Rate: 115.2kbps
• Bits: 8
• Stop Bits: 1
• Parity: none
• Hardware Handshaking: Yes


my /etc/ttys:

ttyd0 /usr/libexec/getty std.115200 dialup on
ttyd1 /usr/libexec/getty std.115200 dialup on

then i do:
# kill -HUP 1

ps shows:
62496 0.0 0.2 3184 952 ?? I 10:53PM 0:00.00 /usr/libexec/getty 
std.115200 ttyd0
62667 0.0 0.2 3184 1004 ?? I 11:37PM 0:00.00 /usr/libexec/getty 
std.115200 ttyd1


according to the handbook i would see the above. i'm not sure if i need 
both ttyd0 and 1 since i have hooked only one modem but there is no 
explanation about that in the handbook.


messages says:
Jun 28 23:37:17 moo getty[62667]: open /dev/ttyd1: No such file or directory

and no other entries... so i guess that settles the need of ttyd1!?!

ok. so now i put in /etc/remote:
sio0|com1:dv=/dev/cuad0:br#115200:pa=none:

and, following the instructions in the handbook, try reaching the modem 
doing:

# tip -v cuad0

i get:
tip: unknown host tip0

dmesg says:
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0

sio0: type 16550A
sio0: [FILTER]

and in the /etc/gettytab i have:
std.115200|115200-baud:\
:np:sp#115200:



what next?

thanks





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


Re: cannot find -lltdl

2009-06-23 Thread kalin m



Chris Rees wrote:

2009/6/23 kalin m ka...@el.net:
  

hi all..

this is a bit awkward

i'm building php 5.2.10 from source on freebsd 7.0. using:

./configure --with-layout=GNU --with-config-file-scan-dir=/usr/local/etc/php
--disable-all --enable-libxml --with-libxml-dir=/usr/local
--enable-reflection --program-prefix= --disable-cgi
--with-apxs2=/etc/httpd/bin/apxs --with-regex=php --with-zend-vm=CALL
--prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/
--with-pcre-regex --with-mysql=/usr/local/mysql --with-curl --enable-ctype
--enable-dom --enable-exif --enable-filter --with-gd --with-openssl
--enable-json --with-iconv --with-mhash --with-mcrypt


the configuration runs fine but  the build breaks:
..
main/internal_functions.lo -lcrypt -lcrypt -lmysqlclient -lmhash -lmcrypt
-lltdl -liconv -lpng -lz -lcurl -lssl -lcrypto -lm -lxml2 -lz -liconv -lm
-lcurl -lssl -lcrypto -lz -lxml2 -lz -liconv -lm -lcrypt -lcrypt  -o
libphp5.la
/usr/bin/ld: cannot find -lltdl
*** Error code 1

Stop in /usr/local/src/php-5.2.10.

# locate ltdl
/usr/local/share/aclocal/ltdl.m4
/usr/local/share/libtool/libltdl
...

the thing is it already build once with the same configuration options. an
hour ago. and it is working. but i need to add more stuff to this. if i take
off --with-mcrypt it builds fine. i have mcrypt already and i need it. and
don't want to reinstall without it

any help?

thanks...




Why aren't you using ports?
  


there isn't ports for all that i need compiling with 5.2.10.







Chris


  

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


cannot find -lltdl

2009-06-22 Thread kalin m



hi all..

this is a bit awkward

i'm building php 5.2.10 from source on freebsd 7.0. using:

./configure --with-layout=GNU 
--with-config-file-scan-dir=/usr/local/etc/php --disable-all 
--enable-libxml --with-libxml-dir=/usr/local --enable-reflection 
--program-prefix= --disable-cgi --with-apxs2=/etc/httpd/bin/apxs 
--with-regex=php --with-zend-vm=CALL --prefix=/usr/local 
--mandir=/usr/local/man --infodir=/usr/local/info/ --with-pcre-regex 
--with-mysql=/usr/local/mysql --with-curl --enable-ctype --enable-dom 
--enable-exif --enable-filter --with-gd --with-openssl --enable-json 
--with-iconv --with-mhash --with-mcrypt



the configuration runs fine but  the build breaks:
..
main/internal_functions.lo -lcrypt -lcrypt -lmysqlclient -lmhash 
-lmcrypt -lltdl -liconv -lpng -lz -lcurl -lssl -lcrypto -lm -lxml2 -lz 
-liconv -lm -lcurl -lssl -lcrypto -lz -lxml2 -lz -liconv -lm -lcrypt 
-lcrypt  -o libphp5.la

/usr/bin/ld: cannot find -lltdl
*** Error code 1

Stop in /usr/local/src/php-5.2.10.

# locate ltdl
/usr/local/share/aclocal/ltdl.m4
/usr/local/share/libtool/libltdl
...

the thing is it already build once with the same configuration options. 
an hour ago. and it is working. but i need to add more stuff to this. if 
i take off --with-mcrypt it builds fine. i have mcrypt already and i 
need it. and don't want to reinstall without it


any help?

thanks...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: almost OT os x

2008-10-31 Thread kalin m




Kalin,

Did you add a specific route for the alternative network? I know 
this may sound crazy but for whatever reason Macs don't override the 
default route automatically. You would think that any attached 
ethernet device would be considered a best route to that LAN however I 
have had experience otherwise.



i did. with the interface. but that apparently doesn't matter.
a few tests with route get were enough to realize that the B network is 
not really having it's own default route.
so i just switched the cards around. now en0 is the external ip and en1 
is the 192.168.x.x.  and the default route is the one for the B network... 
it works a desired now


thanks for the idea




Cheers,
Mikel King
CEO, Olivent Technologies
Senior Editor, Daemon News
Columnist, BSD Magazine
6 Alpine Court
Medford, NY 11763
http://www.olivent.com
http://www.daemonnews.org
http://www.bsdmag.org
skype: mikel.king
+--+
How do you spell cooperation? Pessimists use
each other, but optimists help each other.
Collaboration feeds your spirit, while
competition only stokes your ego. You'll
find the best way to get along.
+--+



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


almost OT os x

2008-10-27 Thread kalin m


hi all... 

this is a bit OT but since bsd and os x have enough in common in the 
core some people here might have dealt with an os x server before..


ok. here is the problem. i have this os x server put on my lap to 
administer and there are some really weired things happening.


the machine has 2 inet interfaces - 2 cards. one of them - en0 (network 
A) - is wired to 192.168.x.x and the other - en1 (network B) - has an 
external ip which is not on the same subnet (network)  the 192.168.x.x 
belongs to. so far so good.


theoretically the en1 (network B) card should be accessible through the 
external ip no matter where you a coming from


what happens is that if somebody on network A (of en0)  tries to access 
the machine via 192.168.x.x - it works. but if that somebody wants 
access that machine via the external ip on network B (en1), like they 
would access any other external IP -  they can not. this is weired 
because they can access any other machine on B . now me being on the 
network B i can access the machine via the external IP which is also on 
B, but, and this is the weirdest, i can not access it from outside 
either A or B with that same IP (?!?).  but i can access any other 
machine on B from outside either subnet   

somehow there is a restriction on the access to be limited to the 
respective subnets.


ipfw rules are not really the problem. i checked.

can somebody please explain. if you need more information please ask

thanks





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


Re: almost OT os x

2008-10-27 Thread kalin m





Jeremy Chadwick wrote:

On Mon, Oct 27, 2008 at 10:19:56PM -0400, kalin m wrote:
  
this is a bit OT but since bsd and os x have enough in common in the  
core some people here might have dealt with an os x server before..


ok. here is the problem. i have this os x server put on my lap to  
administer and there are some really weired things happening.


the machine has 2 inet interfaces - 2 cards. one of them - en0 (network  
A) - is wired to 192.168.x.x and the other - en1 (network B) - has an  
external ip which is not on the same subnet (network)  the 192.168.x.x  
belongs to. so far so good.


theoretically the en1 (network B) card should be accessible through the  
external ip no matter where you a coming from


what happens is that if somebody on network A (of en0)  tries to access  
the machine via 192.168.x.x - it works. but if that somebody wants  
access that machine via the external ip on network B (en1), like they  
would access any other external IP -  they can not. this is weired  
because they can access any other machine on B . now me being on the  
network B i can access the machine via the external IP which is also on  
B, but, and this is the weirdest, i can not access it from outside  
either A or B with that same IP (?!?).  but i can access any other  
machine on B from outside either subnet   



What you're describing sounds like a network loopback problem (at least
this is what the Linux folks refer to it as).

I would recommend you re-post this question to freebsd-net, as someone
there can explain to you what's happening in detail, why it happens, and
how to solve it effectively.
  

ok. will try there. thanks


Also, keep in mind that the FreeBSD and OS X have enough in common
concept is a horrible one -- they do have some pieces in common, but
OS X really *is* quite a different beast in numerous respects.  Apple,
sincerely and honestly, has tinkered with all sorts of pieces.  Please
keep that in mind.  :-)

  
ok too.  i kinda used that as an excuse to post here cause nobody over 
there - on some os x lists and forums - was trying to help. and having 
found a lot of solutions on this list as a long time freebsd user i 
though i'd give it a shot


thanks

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


Re: scp

2008-10-23 Thread kalin m




Hi Kalin,

Please try the following command, and let me know if you see any output
from it.  If so, please post it here.

grep sshd /var/log/messages | tail -20
  


i did that earlier..  the last record for sshd is from 10.14, more 
than a week ago 






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

iEYEARECAAYFAkj/+h8ACgkQ0sRouByUApB/wwCeJyWSvft0FsU+5KJNCNgj6ybQ
xeMAoIKSPU8tZ5G8pKkJakAUMzcq71wR
=CweV
-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: scp

2008-10-23 Thread kalin m



Polytropon wrote:

On Thu, 23 Oct 2008 02:06:00 -0400, kalin m [EMAIL PROTECTED] wrote:
  

grep sshd /var/log/messages | tail -20
  
  
i did that earlier..  the last record for sshd is from 10.14, more 
than a week ago 



What about /var/log/auth.log? Maybe this file gives some
information...
  


you were right Polytropon. ownership of the root directory for the user. 
it's not in home  i was looking for something like sshd.log but it 
is auth.log..


thanks a lot to all  now it's working...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


scp

2008-10-22 Thread kalin m

hi all...

i need to do a script to copy a file from a remote machine via scp with 
a key and without a password


here is what i'm doing:

1. ssh-keygen -t rsa
2. scp new_key.pub to [EMAIL PROTECTED] (with password)
3. on remote_host rename new_key.pub to ~user/.ssh/athorized_keys

when i try:
# scp [EMAIL PROTECTED]:/files/file file

i get password prompt...

what am i missing?!?

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


Re: scp

2008-10-22 Thread kalin m

Jay Chandler wrote:


On Oct 22, 2008, at 6:40 PM, kalin m wrote:


hi all...

i need to do a script to copy a file from a remote machine via scp 
with a key and without a password


here is what i'm doing:

1. ssh-keygen -t rsa
2. scp new_key.pub to [EMAIL PROTECTED] (with password)
3. on remote_host rename new_key.pub to ~user/.ssh/athorized_keys


Should be authorized_keys.


it is. i just misspelled it in the message...  


I usually cheat and grab a copy of ssh-copy-id from the web; I suspect 
your issue has to do with permissions for the .ssh directory and the 
authorized_keys file.

permissions are 600 for the file and 700 for .ssh

the users are different on the local machine and remote_host. my guess 
is that if i point to the right key with -i it should work correct...


now doing -vvv as  Greg Larkin suggests... 



thanks...




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


Re: scp

2008-10-22 Thread kalin m


with -vvv i get this below:

.
debug1: bits set: 1034/2048
debug1: ssh_dss_verify: signature correct
debug1: kex_derive_keys
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: service_accept: ssh-userauth
debug1: got SSH2_MSG_SERVICE_ACCEPT
debug1: authentications that can continue: 
publickey,password,keyboard-interactive
debug3: start over, passed a different list 
publickey,password,keyboard-interactive

debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: next auth method to try is publickey
debug1: try pubkey: id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: authentications that can continue: 
publickey,password,keyboard-interactive

debug2: we did not send a packet, disable method
debug3: authmethod_lookup keyboard-interactive
debug3: remaining preferred: password
debug3: authmethod_is_enabled keyboard-interactive
debug1: next auth method to try is keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug1: authentications that can continue: 
publickey,password,keyboard-interactive

debug3: userauth_kbdint: disable: no info_req_seen
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred:
debug3: authmethod_is_enabled password
debug1: next auth method to try is password

after this i get the password prompt

why does it say try pubkey: id_rsa when id_rsa is supposed to be the 
private key?


?!?!




Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

kalin m wrote:
  

hi all...

i need to do a script to copy a file from a remote machine via scp with
a key and without a password

here is what i'm doing:

1. ssh-keygen -t rsa
2. scp new_key.pub to [EMAIL PROTECTED] (with password)
3. on remote_host rename new_key.pub to ~user/.ssh/athorized_keys

when i try:
# scp [EMAIL PROTECTED]:/files/file file

i get password prompt...

what am i missing?!?




Hi Kalin,

Here are a few things to try and check:

- - Run scp with the -vvv flag to enable very verbose output.  You may
see something in the log messages during the connection phase that
expose the problem.

- - Check the /var/log/messages file on the host for debug messages from
sshd.  Are there any errors that indicate why public key authentication
doesn't work?

- - Check the /etc/ssh/sshd_config file contents.  Is PubkeyAuthentication
enabled?  You can also change the LogLevel setting if you need more
information emitted to /var/log/messages.  Don't forget to send SIGHUP
to sshd whenever you change sshd_config.

- - Check the permissions on the the ~user/.ssh directory and the
authorized_keys file.  They have to be sufficiently tight (700 and 600,
typically).

Hope that helps, and post back here with any further questions.

Regards,
Greg Larkin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkj/2NQACgkQ0sRouByUApD3jACgnHA1h6XmnOuAEQXsnBjCcZBZ
/k8An2AIMx4CJSXuTDfrPCcBlb9rLFqA
=9z7a
-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: scp

2008-10-22 Thread kalin m


here is pretty much the same from another machine (os x laptop) with a 
dsa key:



debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /private/var/root/.ssh/id_dsa (0x300e30)
debug1: Authentications that can continue: 
publickey,password,keyboard-interactive
debug3: start over, passed a different list 
publickey,password,keyboard-interactive
debug3: preferred 
gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password

debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /private/var/root/.ssh/id_dsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: 
publickey,password,keyboard-interactive
debug2: we did not send a packet, disable method   ==  * why didn't 
we?!? 

debug3: authmethod_lookup keyboard-interactive
debug3: remaining preferred: password
debug3: authmethod_is_enabled keyboard-interactive
debug1: Next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug1: Authentications that can continue: 
publickey,password,keyboard-interactive

debug3: userauth_kbdint: disable: no info_req_seen
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred:
debug3: authmethod_is_enabled password
debug1: Next authentication method: password




kalin m wrote:


with -vvv i get this below:

.
debug1: bits set: 1034/2048
debug1: ssh_dss_verify: signature correct
debug1: kex_derive_keys
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: service_accept: ssh-userauth
debug1: got SSH2_MSG_SERVICE_ACCEPT
debug1: authentications that can continue: 
publickey,password,keyboard-interactive
debug3: start over, passed a different list 
publickey,password,keyboard-interactive

debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: next auth method to try is publickey
debug1: try pubkey: id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: authentications that can continue: 
publickey,password,keyboard-interactive

debug2: we did not send a packet, disable method
debug3: authmethod_lookup keyboard-interactive
debug3: remaining preferred: password
debug3: authmethod_is_enabled keyboard-interactive
debug1: next auth method to try is keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug1: authentications that can continue: 
publickey,password,keyboard-interactive

debug3: userauth_kbdint: disable: no info_req_seen
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred:
debug3: authmethod_is_enabled password
debug1: next auth method to try is password

after this i get the password prompt

why does it say try pubkey: id_rsa when id_rsa is supposed to be the 
private key?


?!?!




Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

kalin m wrote:
 

hi all...

i need to do a script to copy a file from a remote machine via scp with
a key and without a password

here is what i'm doing:

1. ssh-keygen -t rsa
2. scp new_key.pub to [EMAIL PROTECTED] (with password)
3. on remote_host rename new_key.pub to ~user/.ssh/athorized_keys

when i try:
# scp [EMAIL PROTECTED]:/files/file file

i get password prompt...

what am i missing?!?




Hi Kalin,

Here are a few things to try and check:

- - Run scp with the -vvv flag to enable very verbose output.  You may
see something in the log messages during the connection phase that
expose the problem.

- - Check the /var/log/messages file on the host for debug messages from
sshd.  Are there any errors that indicate why public key authentication
doesn't work?

- - Check the /etc/ssh/sshd_config file contents.  Is 
PubkeyAuthentication

enabled?  You can also change the LogLevel setting if you need more
information emitted to /var/log/messages.  Don't forget to send SIGHUP
to sshd whenever you change sshd_config.

- - Check the permissions on the the ~user/.ssh directory and the
authorized_keys file.  They have to be sufficiently tight (700 and 600,
typically).

Hope that helps, and post back here with any further questions.

Regards,
Greg Larkin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkj

Re: scp

2008-10-22 Thread kalin m



Hi Kalin,

Don't worry about that message - I see the same thing here with an ssh
connection that succeeds. The try pubkey message displays a private
key file.

Did you check the sshd_config file on the server and the
/var/log/messages file for additional hints?  If you see anything
interesting, please post the output here.  Also make sure that
PubkeyAuthentication is enabled (on) in sshd_config.

  

thanks  Greg...   its actually

PubkeyAuthentication yes

it's the default

there is nothing in the messages log. and i don't see any openssh logs.. 
thanks...




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

iEYEARECAAYFAkj/63kACgkQ0sRouByUApAk/gCfTwdUyekSlWD2RFW1Bkmx57XH
sbYAn0ArMnCOVybN/yomeu7XiOe+154f
=MlC3
-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]


ssh jail

2008-10-02 Thread kalin m


hi all...

i have openssh 5. i want to jail the users to their home directories so 
they can go down but not up.


i didn't see a directive that does that in the man or in the sshd_config.

how do i do that?

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


Re: ssh jail

2008-10-02 Thread kalin m



thanks..  i'll look at the patches


Matthew Seaman wrote:

kalin m wrote:


hi all...

i have openssh 5. i want to jail the users to their home directories 
so they can go down but not up.


i didn't see a directive that does that in the man or in the 
sshd_config.


how do i do that?


You need a specially patched version of OpenSSH.  You can download
the patches from here:

   http://chrootssh.sourceforge.net/download/

and try patching the system sources.  If you're not an experienced
developer wise in the ways of patch(1) and diff(1) and make(1) this
definitely isn't a good idea especially for something as security
sensitive as OpenSSH.

Realistically, just install the security/openssh-portable port and
make sure to check the 'OPENSSH_CHROOT' box in the config dialog.
Note: if you choose to select the 'OVERWRITE_BASE' option, be sure
to disable building ssh in the base system by making the appropriate
entries in /etc/src.conf (see src.conf(5)) or otherwise ensure that
whatever system update mechanism you use won't accidentally blow away
your specially patched ssh daemon.

If you don't overwrite the base system, then double check that the
init scripts are starting up the openssh-portable version.  You'll
need at least this in /etc/rc.conf:

sshd_enable=NO
openssh_enable=YES

Cheers,

Matthew


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


rc.d ?

2008-08-14 Thread kalin m

hi all...

i used to be able to put startup scripts in /usr/local/etc/rc.d/.
now on a new 7 install i have the scripts there but after restart 
nothing happens 

using the example here: 
http://www.freebsd.org/doc/en/books/handbook/configtuning-starting-services.html


any particular reason?

thanks..



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


Re: rc.d ?

2008-08-14 Thread kalin m


it's not in /etc/rc.conf...  it's in /etc/default/rc.conf

like this:

local_startup=/usr/local/etc/rc.d # startup script dirs.
script_name_sep=  # Change if your startup scripts' names contain 
spaces

rc_conf_files=/etc/rc.conf /etc/rc.conf.local

there is no /etc/rc.conf.local..  i've never used one before




Duane Hill wrote:

On Thu, 14 Aug 2008, kalin m wrote:


hi all...

i used to be able to put startup scripts in /usr/local/etc/rc.d/.
now on a new 7 install i have the scripts there but after restart 
nothing happens using the example here: 
http://www.freebsd.org/doc/en/books/handbook/configtuning-starting-services.html 



any particular reason?


Do you have:

local_startup=/usr/local/etc/rc.d

in /etc/rc.conf ??

-d

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


Re: Remote host replies to SYN+FIN

2008-08-07 Thread kalin m


does anybody have any idea how to resolve this?

thanks..


kalin m wrote:

hi all...
after setting up a pf rule set on one of newly installed freebsd 7 i 
did a scan with nessus 3 on that machine


the result i got was like this one:
http://www.nessus.org/plugins/index.php?view=singleid=11618 
how do 'fix' it using pf?...




thanks...


___
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: Remote host replies to SYN+FIN

2008-08-07 Thread kalin m


i have that in   i still get that message from nessus...   maybe 
synproxy or something like S/SAF?!





FreeBSD wrote:

kalin m a écrit :


does anybody have any idea how to resolve this?

thanks..


kalin m wrote:

hi all...
after setting up a pf rule set on one of newly installed freebsd 7 i 
did a scan with nessus 3 on that machine


the result i got was like this one:
http://www.nessus.org/plugins/index.php?view=singleid=11618 how do 
'fix' it using pf?...




thanks...



Hi,

I think that you should look at the 'scrub' directive in pf.conf. I 
think that a 'scrub in all' should block that kind of malformed packets.


Martin


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


Re: Remote host replies to SYN+FIN

2008-08-07 Thread kalin m

thanks...  or something like it...  i'll try...



Chuck Swiger wrote:

On Aug 7, 2008, at 11:33 AM, kalin m wrote:

does anybody have any idea how to resolve this?

thanks..

kalin m wrote:

hi all...
after setting up a pf rule set on one of newly installed freebsd 7 i 
did a scan with nessus 3 on that machine


the result i got was like this one:
http://www.nessus.org/plugins/index.php?view=singleid=11618 how do 
'fix' it using pf?...


Add a pf rule like to pf.conf:

  block in proto tcp from any flags SF/SF

...?


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


Remote host replies to SYN+FIN

2008-08-06 Thread kalin m
hi all... 

after setting up a pf rule set on one of newly installed freebsd 7 i did 
a scan with nessus 3 on that machine


the result i got was like this one:
http://www.nessus.org/plugins/index.php?view=singleid=11618  


how do 'fix' it using pf?...



thanks...


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


Re: Client only supports checkout mode

2008-08-04 Thread kalin m

thanks

i tried both cvsup and csup to update my ports and i'm not sure it's 
working. they both run through but the ports don't seem to be updated.
like i can see a new port here 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/ which is 5.2.6 
(also on freshports) but using cvsup3.FreeBSD.org i don't get above 
5.2.5


is there any other way?



Manolis Kiagias wrote:

kalin m wrote:

hi all...

why would i get : Client only supports checkout mode when i do;
csup /cvsup_file

on a new freebsd 7 install

what does it mean?!


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




It means you are trying to use a supfile that works in cvs mode.

In cvs mode, the client does not simply checkout the latest version of 
the files from the repository, instead it retrieves the ,v files 
that make up the whole repository. Effectively this means you are 
creating a local copy of the repository, while in checkout mode you 
just get the latest revision of every file.


CVS mode is mostly necessary if you wish to have quick access to all 
versions of a file (and the revision history) and mostly useful for 
developers. In other cases (for example, to update your ports tree) 
checkout mode is sufficient.


And now, here is the catch: Many people need to use checkout mode 
often, so csup was created and added to the base system. Csup is a 
rewrite (in C) of the well know cvsup utility (that exists in ports). 
But csup *does not* support cvs mode. So if you are trying to use a 
supfile that operates in cvs mode, you will get the Client only 
supports checkout mode


If you really need to use a cvs mode supfile, you will need to pkg_add 
-r cvsup-without-gui (or build it from ports) and then use the cvsup 
command instead of csup. A cvs mode supfile contains the line:


default release = cvs

while in a simple checkout supfile, this line also contains a tag, 
e.g. (my ports supfile):


default release = cvs tag=.

The tag simply requests a particular revision of the files (a 
checkout), and in the case of . it simply means the latest revision 
(head)


You can get a nice description of all options in the Handbook:

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

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


Re: Client only supports checkout mode

2008-08-04 Thread kalin m

this is my sup file:

*default host=cvsup1.FreeBSD.org
*default base=/var/db
*default prefix=/home/ncvs
*default release=cvs
*default delete use-rel-suffix
*default tag=.
*default compress
ports-all

this is what i get:

# cvsup supfile ( i did csup also )
Connected to cvsup1.FreeBSD.org  (here i tried 1, 3, 5, 9, etc)...
Updating collection ports-all/cvs
Edit ports/editors/vim/Makefile
Checkout ports/editors/vim/files/patch-src_vim.h
Edit ports/math/rpy/Makefile
Checkout ports/math/rpy/files/patch-setup.py
Edit ports/math/rpy/pkg-plist
Finished successfully
# cd /usr/ports/lang/php5
# vi distinfo

MD5 (php-5.2.5.tar.bz2) = 1fe14ca892460b09f06729941a1bb605
SHA256 (php-5.2.5.tar.bz2) = 
5cac1e70df5019ebdfdab2e0b8b216f7fdf56b9895c9f68c993313918249bba3

SIZE (php-5.2.5.tar.bz2) = 7773024
MD5 (suhosin-patch-5.2.5-0.9.6.2.patch.gz) = 
a43f1a0ee9e7c41c4cb6890174f1f9d8
SHA256 (suhosin-patch-5.2.5-0.9.6.2.patch.gz) = 
fd77ccdeb90c83af7492876dda17518de95dd74a5b6feecc5a1bd2c8e322ab53

SIZE (suhosin-patch-5.2.5-0.9.6.2.patch.gz) = 23157
MD5 (php-5.2.5-mail-header.patch) = a3ce79a6aff5f6607d524d81382a31ca
SHA256 (php-5.2.5-mail-header.patch) = 
9b8ab24505051c6edd66cf2c875d966638d18ec4d672599577b1b8d7d0115b8c

SIZE (php-5.2.5-mail-header.patch) = 3420
~







Paul Schmehl wrote:

--On Monday, August 04, 2008 16:43:38 -0400 kalin m [EMAIL PROTECTED] wrote:


thanks

i tried both cvsup and csup to update my ports and i'm not sure it's 
working.

they both run through but the ports don't seem to be updated.
like i can see a new port here
http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/ which is 5.2.6 
(also

on freshports) but using cvsup3.FreeBSD.org i don't get above 5.2.5

is there any other way?



Something must be wrong with your cvsupfile.  I downloaded 
ports.tar.gz from cvsup3/ports/ports-current:


[EMAIL PROTECTED] less /usr/ports/lang/php5/distinfo
MD5 (php-5.2.6.tar.bz2) = 7380ffecebd95c6edb317ef861229ebd
SHA256 (php-5.2.6.tar.bz2) = 
1892b2dd50b56ae2c9aec027fcd9035b76673f113555bc2bc1007bab8ae4db81

SIZE (php-5.2.6.tar.bz2) = 9571312

[EMAIL PROTECTED] tar -ztv -f ports.tar.gz | grep ports/lang/php5/distinfo
-rw-rw-r--  0 archive archive 646 May 12 20:04 
ports/lang/php5/distinfo


[EMAIL PROTECTED] ls -Flash /usr/ports/lang/php5/distinfo
2 -rw-r--r--  1 root  wheel   646B May 12 10:42 
/usr/ports/lang/php5/distinfo


As you can see, the distinfo file says php5.2.6, and its size and 
creation date match both in my ports tree and in the tarball I fetched 
from that server.


If you want current ports, you need this:
[EMAIL PROTECTED] grep ports /etc/cvsupfile
ports-all tag=.


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


Client only supports checkout mode

2008-08-02 Thread kalin m

hi all...

why would i get : Client only supports checkout mode when i do;
csup /cvsup_file

on a new freebsd 7 install

what does it mean?!


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


pci compliance

2008-07-28 Thread kalin m

hi all...

i'm about to submit a freebsd system to be scanned for pci compliance...

is there any particular gotchas with bsd systems that can be detected at 
the time of pci compliance scanning?
i know they use something like nmap if not nmap itself and i did myself 
on that machine and didn't find anything interesting.
but one of the consultants that was 'advising' the company i work for 
said we use similar (as in nmap) approach but it's (much) more 
intrusive. anybody knows what does that mean?


thanks...


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


Re: pci compliance

2008-07-28 Thread kalin m
cool. thanks. i couldn't find anything on google under that name but 
i've been looking and reading on a lot of documentation on line and print.
so i was just asking if there are any things that pertain in particular 
to the freebsd os that need to be addressed before the scanning.


how full of a penetration can you have if (almost) all incoming ports 
are blocked?


thanks



Ross Cameron wrote:

On Mon, Jul 28, 2008 at 7:51 PM, kalin m [EMAIL PROTECTED] wrote:

  

hi all...

i'm about to submit a freebsd system to be scanned for pci compliance...

is there any particular gotchas with bsd systems that can be detected at
the time of pci compliance scanning?
i know they use something like nmap if not nmap itself and i did myself on
that machine and didn't find anything interesting.
but one of the consultants that was 'advising' the company i work for said
we use similar (as in nmap) approach but it's (much) more intrusive.
anybody knows what does that mean?

thanks...




The PCI auditing process is a full penetration test.
It's very thorough and not at all easy to pass.

Get hold of a copy of The penetration tester's handbook and make sure u
pass all the tests in the book and u should be ok
___
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]


ports

2008-07-08 Thread kalin m

brand new install of freebsd 7. some httpd and named.
what are these?
udp6   0  0  *.54168*.*
udp4   0  0  *.54167*.*


thanks


# netstat -a
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
tcp4   0  0  big.sshh-1-2-3-4.51366 ESTABLISHED
tcp4   0  0  big.sshh-74-1-12-15.wi.51362 
ESTABLISHED

tcp4   0  0  big.http   *.*LISTEN
tcp4   0  0  localhost.domain   *.*LISTEN
tcp4   0  0  big.domain *.*LISTEN
tcp4   0  0  localhost.smtp *.*LISTEN
tcp4   0  0  *.ssh  *.*LISTEN
tcp6   0  0  *.ssh  *.*LISTEN
udp6   0  0  *.54168*.*
udp4   0  0  *.54167*.*
udp4   0  0  localhost.domain   *.*
udp4   0  0  big.domain *.*
udp4   0  0  *.syslog   *.*
udp6   0  0  *.syslog   *.*
___

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


Re: ports

2008-07-08 Thread kalin m

right named...

thanks


Matthew Seaman wrote:

Lowell Gilbert wrote:

kalin m [EMAIL PROTECTED] writes:


brand new install of freebsd 7. some httpd and named.
what are these?


Use sockstat(1) to find out?


udp6   0  0  *.54168*.*
udp4   0  0  *.54167*.*


Almost certainly named -- it appears to listen on a high numbered
UDP port, but all it is is the next /source/ port for an outgoing
UDP packet.  You can configure named to always send packets using a
fixed port number (which can be helpful for firewalling) by:

   query-source   address 12.34.56.78 port 53;
   query-source-v6address 1999:::::1 port 53;
   transfer-source12.34.56.78 port 53;
   transfer-source-v6 1999:::::1 port 53;
   notify-source  12.34.56.78 port 53;
   notify-source-v6   1999:::::1 port 53;

Cheers,

Matthew


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


Re: httpd php dump

2008-07-02 Thread kalin m

sure.

./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl 
--enable-rewrite --enable-so --enable-headers --enable-unique-id


like i said there is pretty much nothing in the error log for httpd. 
it's a brand new install. here is the whole file:


[Tue Jul 01 22:45:36 2008] [warn] Init: Session Cache is not configured 
[hint: SSLSessionCache]
[Tue Jul 01 22:45:37 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 
OpenSSL/0.9.8h configured -- resuming normal operations
[Tue Jul 01 22:46:19 2008] [error] [client x.x.x.x] File does not exist: 
/usr/web/favicon.ico

[Tue Jul 01 22:50:11 2008] [notice] caught SIGTERM, shutting down
[Tue Jul 01 22:52:33 2008] [warn] Init: Session Cache is not configured 
[hint: SSLSessionCache]
[Tue Jul 01 22:52:34 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 
OpenSSL/0.9.8h configured -- resuming normal operations

[Tue Jul 01 22:55:29 2008] [notice] caught SIGTERM, shutting down
[Tue Jul 01 22:55:35 2008] [warn] Init: Session Cache is not configured 
[hint: SSLSessionCache]
[Tue Jul 01 22:55:36 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 
OpenSSL/0.9.8h configured -- resuming normal operations

[Tue Jul 01 23:00:50 2008] [notice] caught SIGTERM, shutting down
~
(just changed my ip there)

i suspect the apache so module..  but not really sure  executing 
php files on the cli is working fine to.. it must be the so... 

httpd and php are supposed to just work together.  
that's why core dump without any messages is a bit weired.




Odhiambo Washington wrote:

On Wed, Jul 2, 2008 at 8:19 AM, kalin m [EMAIL PROTECTED] wrote:
  

there is no extensions.ini anywhere on this machine...  a brand new one.
httpd/logs/error_log has 6 lines in it. something about session cash (SSL)
not configured...

httpd runs fine without loading the php module



Would you like to provide details on how you compiled your apache
then? Did you use the ports to install?
What options did you compile with?
What is this that you have in the error_log that you don't want to reveal?


  

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


Re: [EMAIL PROTECTED] Re: httpd php dump

2008-07-02 Thread kalin m

i'd be assuming than that i'd need to build an older apache.
this is probably a stupid question but is there anybody out there that 
is using apache 2.2.9 + php 5.2.6 (as DSO) on freebsd 7 amd64 (multi 
processor) without problems?


thanks...



kalin m wrote:

sure.

./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl 
--enable-rewrite --enable-so --enable-headers --enable-unique-id


like i said there is pretty much nothing in the error log for httpd. 
it's a brand new install. here is the whole file:


[Tue Jul 01 22:45:36 2008] [warn] Init: Session Cache is not 
configured [hint: SSLSessionCache]
[Tue Jul 01 22:45:37 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 
OpenSSL/0.9.8h configured -- resuming normal operations
[Tue Jul 01 22:46:19 2008] [error] [client x.x.x.x] File does not 
exist: /usr/web/favicon.ico

[Tue Jul 01 22:50:11 2008] [notice] caught SIGTERM, shutting down
[Tue Jul 01 22:52:33 2008] [warn] Init: Session Cache is not 
configured [hint: SSLSessionCache]
[Tue Jul 01 22:52:34 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 
OpenSSL/0.9.8h configured -- resuming normal operations

[Tue Jul 01 22:55:29 2008] [notice] caught SIGTERM, shutting down
[Tue Jul 01 22:55:35 2008] [warn] Init: Session Cache is not 
configured [hint: SSLSessionCache]
[Tue Jul 01 22:55:36 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 
OpenSSL/0.9.8h configured -- resuming normal operations

[Tue Jul 01 23:00:50 2008] [notice] caught SIGTERM, shutting down
~
(just changed my ip there)

i suspect the apache so module..  but not really sure  
executing php files on the cli is working fine to.. it must be the so... 

httpd and php are supposed to just work together.  
that's why core dump without any messages is a bit weired.




Odhiambo Washington wrote:

On Wed, Jul 2, 2008 at 8:19 AM, kalin m [EMAIL PROTECTED] wrote:
  

there is no extensions.ini anywhere on this machine...  a brand new one.
httpd/logs/error_log has 6 lines in it. something about session cash (SSL)
not configured...

httpd runs fine without loading the php module



Would you like to provide details on how you compiled your apache
then? Did you use the ports to install?
What options did you compile with?
What is this that you have in the error_log that you don't want to reveal?


  

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


Re: [EMAIL PROTECTED] Re: httpd php dump

2008-07-02 Thread kalin m

this is getting to ridiculous levels

if i build php only with --with-apxs2=/etc/httpd/bin/apxs then apache 
starts and httpd/php works ok. anything else added to the configuration 
- and i tried different stuff - ( --with-mysql=/usr/local/mysql; 
--with-curl; --with-openssl=/usr) - alone or in combination builds fine 
but at the time of apache startup it dumps core...


apparently the httpd - currently 2.2.9 - configure doesn't matter. so 
right now the httpd is configured - as intended - with:
./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl 
--enable-rewrite --enable-so --enable-headers --enable-unique-id


i tried also with httpd 2.0.63. same thing. i can't imagine anymore what 
the hell can it be. i've done many other installs and never had this 
things happening.


the machine is freebsd 7. its a 64 bit build on a multiprocessor 
machine. dual quad core...  and identifies itself as amd64...


i just don't get it 


what to look at?!

thanks...



kalin m wrote:

i'd be assuming than that i'd need to build an older apache.
this is probably a stupid question but is there anybody out there that 
is using apache 2.2.9 + php 5.2.6 (as DSO) on freebsd 7 amd64 (multi 
processor) without problems?


thanks...



kalin m wrote:

sure.

./configure --prefix=/etc/httpd --enable-ssl 
--with-ssl=/usr/local/ssl --enable-rewrite --enable-so 
--enable-headers --enable-unique-id


like i said there is pretty much nothing in the error log for httpd. 
it's a brand new install. here is the whole file:


[Tue Jul 01 22:45:36 2008] [warn] Init: Session Cache is not 
configured [hint: SSLSessionCache]
[Tue Jul 01 22:45:37 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 
OpenSSL/0.9.8h configured -- resuming normal operations
[Tue Jul 01 22:46:19 2008] [error] [client x.x.x.x] File does not 
exist: /usr/web/favicon.ico

[Tue Jul 01 22:50:11 2008] [notice] caught SIGTERM, shutting down
[Tue Jul 01 22:52:33 2008] [warn] Init: Session Cache is not 
configured [hint: SSLSessionCache]
[Tue Jul 01 22:52:34 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 
OpenSSL/0.9.8h configured -- resuming normal operations

[Tue Jul 01 22:55:29 2008] [notice] caught SIGTERM, shutting down
[Tue Jul 01 22:55:35 2008] [warn] Init: Session Cache is not 
configured [hint: SSLSessionCache]
[Tue Jul 01 22:55:36 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 
OpenSSL/0.9.8h configured -- resuming normal operations

[Tue Jul 01 23:00:50 2008] [notice] caught SIGTERM, shutting down
~
(just changed my ip there)

i suspect the apache so module..  but not really sure  
executing php files on the cli is working fine to.. it must be the so...
httpd and php are supposed to just work together.  that's why 
core dump without any messages is a bit weired.




Odhiambo Washington wrote:

On Wed, Jul 2, 2008 at 8:19 AM, kalin m [EMAIL PROTECTED] wrote:
 
there is no extensions.ini anywhere on this machine...  a brand new 
one.
httpd/logs/error_log has 6 lines in it. something about session 
cash (SSL)

not configured...

httpd runs fine without loading the php module



Would you like to provide details on how you compiled your apache
then? Did you use the ports to install?
What options did you compile with?
What is this that you have in the error_log that you don't want to 
reveal?



  

___
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: [EMAIL PROTECTED] Re: httpd php dump

2008-07-02 Thread kalin m



if i build php with all the things i need it builds fine but at the time 
of instalaltion here is what happens:


# make install
Installing PHP SAPI module:   apache2handler
/etc/httpd/build/instdso.sh SH_LIBTOOL='/etc/httpd/build/libtool' 
libphp5.la /etc/httpd/modules

/etc/httpd/build/libtool --mode=install cp libphp5.la /etc/httpd/modules/
cp .libs/libphp5.so /etc/httpd/modules/libphp5.so
cp .libs/libphp5.lai /etc/httpd/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish 
/usr/local/src/php-5.2.6/libs'

chmod 755 /etc/httpd/modules/libphp5.so
[activating module `php5' in /etc/httpd/conf/httpd.conf]
Installing PHP CLI binary:/usr/local/bin/
Installing PHP CLI man page:  /usr/local/man/man1/
Installing build environment: /usr/local/lib/php/build/
Installing header files:  /usr/local/include/php/
Installing helper programs:   /usr/local/bin/
 program: phpize
 program: php-config
Installing man pages: /usr/local/man/man1/
 page: phpize.1
 page: php-config.1
Installing PEAR environment:  /usr/local/lib/php/
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/local/src/php-5.2.6.
*** Error code 1

Stop in /usr/local/src/php-5.2.6.


what is the logical explanation for all this

tanks.



kalin m wrote:

this is getting to ridiculous levels

if i build php only with --with-apxs2=/etc/httpd/bin/apxs then apache 
starts and httpd/php works ok. anything else added to the 
configuration - and i tried different stuff - ( 
--with-mysql=/usr/local/mysql; --with-curl; --with-openssl=/usr) - 
alone or in combination builds fine but at the time of apache startup 
it dumps core...


apparently the httpd - currently 2.2.9 - configure doesn't matter. so 
right now the httpd is configured - as intended - with:
./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl 
--enable-rewrite --enable-so --enable-headers --enable-unique-id


i tried also with httpd 2.0.63. same thing. i can't imagine anymore 
what the hell can it be. i've done many other installs and never had 
this things happening.


the machine is freebsd 7. its a 64 bit build on a multiprocessor 
machine. dual quad core...  and identifies itself as amd64...


i just don't get it
what to look at?!

thanks...



kalin m wrote:

i'd be assuming than that i'd need to build an older apache.
this is probably a stupid question but is there anybody out there 
that is using apache 2.2.9 + php 5.2.6 (as DSO) on freebsd 7 amd64 
(multi processor) without problems?


thanks...



kalin m wrote:

sure.

./configure --prefix=/etc/httpd --enable-ssl 
--with-ssl=/usr/local/ssl --enable-rewrite --enable-so 
--enable-headers --enable-unique-id


like i said there is pretty much nothing in the error log for httpd. 
it's a brand new install. here is the whole file:


[Tue Jul 01 22:45:36 2008] [warn] Init: Session Cache is not 
configured [hint: SSLSessionCache]
[Tue Jul 01 22:45:37 2008] [notice] Apache/2.2.9 (Unix) 
mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations
[Tue Jul 01 22:46:19 2008] [error] [client x.x.x.x] File does not 
exist: /usr/web/favicon.ico

[Tue Jul 01 22:50:11 2008] [notice] caught SIGTERM, shutting down
[Tue Jul 01 22:52:33 2008] [warn] Init: Session Cache is not 
configured [hint: SSLSessionCache]
[Tue Jul 01 22:52:34 2008] [notice] Apache/2.2.9 (Unix) 
mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations

[Tue Jul 01 22:55:29 2008] [notice] caught SIGTERM, shutting down
[Tue Jul 01 22:55:35 2008] [warn] Init: Session Cache is not 
configured [hint: SSLSessionCache]
[Tue Jul 01 22:55:36 2008] [notice] Apache/2.2.9 (Unix) 
mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations

[Tue Jul 01 23:00:50 2008] [notice] caught SIGTERM, shutting down
~
(just changed my ip there)

i suspect the apache so module..  but not really sure  
executing php files on the cli is working fine to.. it must be the 
so...
httpd and php are supposed to just work together.  that's why 
core dump without any messages is a bit weired.




Odhiambo Washington wrote:

On Wed, Jul 2, 2008 at 8:19 AM, kalin m [EMAIL PROTECTED] wrote:
 
there is no extensions.ini anywhere on this machine...  a brand 
new one.
httpd/logs/error_log has 6 lines in it. something about session 
cash (SSL)

not configured...

httpd runs fine without loading the php module



Would you like to provide details on how you compiled your apache
then? Did you use the ports to install?
What options did you compile with?
What is this that you have in the error_log that you don't want to 
reveal?



  

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


-
The official User-To-User support forum of the Apache HTTP

Re: [EMAIL PROTECTED] Re: httpd php dump

2008-07-02 Thread kalin m


what would this mean:

# ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl 
--enable-rewrite --enable-so --enable-headers --enable-unique-id

checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... x86_64-unknown-freebsd7.0
checking host system type... x86_64-unknown-freebsd7.0
checking target system type... x86_64-unknown-freebsd7.0

Configuring Apache Portable Runtime library ...

checking for APR... apr-1-config: not found
reconfig
configuring package in srclib/apr now
configure: WARNING: Unrecognized options: --enable-ssl, --with-ssl, 
--enable-rewrite, --enable-so, --enable-headers, --enable-unique-id


checking build system type... x86_64-unknown-freebsd7.0
checking host system type... x86_64-unknown-freebsd7.0
checking target system type... x86_64-unknown-freebsd7.0
Configuring APR library
...


Unrecognized options?!





kalin m wrote:



if i build php with all the things i need it builds fine but at the 
time of instalaltion here is what happens:


# make install
Installing PHP SAPI module:   apache2handler
/etc/httpd/build/instdso.sh SH_LIBTOOL='/etc/httpd/build/libtool' 
libphp5.la /etc/httpd/modules

/etc/httpd/build/libtool --mode=install cp libphp5.la /etc/httpd/modules/
cp .libs/libphp5.so /etc/httpd/modules/libphp5.so
cp .libs/libphp5.lai /etc/httpd/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish 
/usr/local/src/php-5.2.6/libs'

chmod 755 /etc/httpd/modules/libphp5.so
[activating module `php5' in /etc/httpd/conf/httpd.conf]
Installing PHP CLI binary:/usr/local/bin/
Installing PHP CLI man page:  /usr/local/man/man1/
Installing build environment: /usr/local/lib/php/build/
Installing header files:  /usr/local/include/php/
Installing helper programs:   /usr/local/bin/
 program: phpize
 program: php-config
Installing man pages: /usr/local/man/man1/
 page: phpize.1
 page: php-config.1
Installing PEAR environment:  /usr/local/lib/php/
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/local/src/php-5.2.6.
*** Error code 1

Stop in /usr/local/src/php-5.2.6.


what is the logical explanation for all this

tanks.



kalin m wrote:

this is getting to ridiculous levels

if i build php only with --with-apxs2=/etc/httpd/bin/apxs then apache 
starts and httpd/php works ok. anything else added to the 
configuration - and i tried different stuff - ( 
--with-mysql=/usr/local/mysql; --with-curl; --with-openssl=/usr) - 
alone or in combination builds fine but at the time of apache startup 
it dumps core...


apparently the httpd - currently 2.2.9 - configure doesn't matter. so 
right now the httpd is configured - as intended - with:
./configure --prefix=/etc/httpd --enable-ssl 
--with-ssl=/usr/local/ssl --enable-rewrite --enable-so 
--enable-headers --enable-unique-id


i tried also with httpd 2.0.63. same thing. i can't imagine anymore 
what the hell can it be. i've done many other installs and never had 
this things happening.


the machine is freebsd 7. its a 64 bit build on a multiprocessor 
machine. dual quad core...  and identifies itself as amd64...


i just don't get it
what to look at?!

thanks...



kalin m wrote:

i'd be assuming than that i'd need to build an older apache.
this is probably a stupid question but is there anybody out there 
that is using apache 2.2.9 + php 5.2.6 (as DSO) on freebsd 7 amd64 
(multi processor) without problems?


thanks...



kalin m wrote:

sure.

./configure --prefix=/etc/httpd --enable-ssl 
--with-ssl=/usr/local/ssl --enable-rewrite --enable-so 
--enable-headers --enable-unique-id


like i said there is pretty much nothing in the error log for 
httpd. it's a brand new install. here is the whole file:


[Tue Jul 01 22:45:36 2008] [warn] Init: Session Cache is not 
configured [hint: SSLSessionCache]
[Tue Jul 01 22:45:37 2008] [notice] Apache/2.2.9 (Unix) 
mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations
[Tue Jul 01 22:46:19 2008] [error] [client x.x.x.x] File does not 
exist: /usr/web/favicon.ico

[Tue Jul 01 22:50:11 2008] [notice] caught SIGTERM, shutting down
[Tue Jul 01 22:52:33 2008] [warn] Init: Session Cache is not 
configured [hint: SSLSessionCache]
[Tue Jul 01 22:52:34 2008] [notice] Apache/2.2.9 (Unix) 
mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations

[Tue Jul 01 22:55:29 2008] [notice] caught SIGTERM, shutting down
[Tue Jul 01 22:55:35 2008] [warn] Init: Session Cache is not 
configured [hint: SSLSessionCache]
[Tue Jul 01 22:55:36 2008] [notice] Apache/2.2.9 (Unix) 
mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations

[Tue Jul 01 23:00:50 2008] [notice] caught SIGTERM, shutting down
~
(just changed my ip there)

i suspect the apache so module..  but not really sure  
executing php files on the cli

httpd php dump

2008-07-01 Thread kalin m
ok... 


what to do?

freebsd 7; httpd 2.2.9; php5.2.6 (or 5.1.2)


if the line:
LoadModule php5_modulemodules/libphp5.so

is in the httpd.conf httpd dumps core. no matter which version of php.

php was configured with just this : ./configure 
--with-mysql=/usr/local/mysql --with-apxs2=/etc/httpd/bin/apxs


here is some relevant information:

# gdb /etc/httpd/bin/httpd httpd.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as amd64-marcel-freebsd...
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /etc/httpd/lib/libaprutil-1.so.3...done.
Loaded symbols for /etc/httpd/lib/libaprutil-1.so.3
Reading symbols from /etc/httpd/lib/libexpat.so.1...done.
Loaded symbols for /etc/httpd/lib/libexpat.so.1
Reading symbols from /etc/httpd/lib/libapr-1.so.3...done.
Loaded symbols for /etc/httpd/lib/libapr-1.so.3
Reading symbols from /lib/libcrypt.so.4...done.
Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /etc/httpd/modules/libphp5.so...done.
Loaded symbols for /etc/httpd/modules/libphp5.so
Reading symbols from /usr/local/mysql/lib/mysql/libmysqlclient.so.15...done.
Loaded symbols for /usr/local/mysql/lib/mysql/libmysqlclient.so.15
Reading symbols from /usr/local/lib/libxml2.so.5...done.
Loaded symbols for /usr/local/lib/libxml2.so.5
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libz.so.4...done.
Loaded symbols for /lib/libz.so.4
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0008004a8060 in ?? ()
[New Thread 0x801101120 (LWP 100329)]
(gdb)


# httpd -l
Compiled in modules:
 core.c
 mod_authn_file.c
 mod_authn_default.c
 mod_authz_host.c
 mod_authz_groupfile.c
 mod_authz_user.c
 mod_authz_default.c
 mod_auth_basic.c
 mod_include.c
 mod_filter.c
 mod_log_config.c
 mod_env.c
 mod_headers.c
 mod_unique_id.c
 mod_setenvif.c
 mod_ssl.c
 prefork.c
 http_core.c
 mod_mime.c
 mod_status.c
 mod_autoindex.c
 mod_asis.c
 mod_cgi.c
 mod_negotiation.c
 mod_dir.c
 mod_actions.c
 mod_userdir.c
 mod_alias.c
 mod_rewrite.c
 mod_so.c


so...  yea  what to do? ?!?

thanks...



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


Re: httpd php dump

2008-07-01 Thread kalin m


there is no extensions.ini anywhere on this machine...  a brand new one.
httpd/logs/error_log has 6 lines in it. something about session cash 
(SSL) not configured...


httpd runs fine without loading the php module



Odhiambo Washington wrote:

Normally caused by one of the php extensions modules if you installed
them, which I believe you did. Take a look at
/usr/local/etc/php/extensions.ini and try commenting the modules one
by one and restarting apache until you find the culprit. Also look at
httpd-error.log for clues.

./Wash



On 7/2/08, kalin m [EMAIL PROTECTED] wrote:
  

ok...

what to do?

freebsd 7; httpd 2.2.9; php5.2.6 (or 5.1.2)


if the line:
LoadModule php5_modulemodules/libphp5.so

is in the httpd.conf httpd dumps core. no matter which version of php.

php was configured with just this : ./configure
--with-mysql=/usr/local/mysql --with-apxs2=/etc/httpd/bin/apxs

here is some relevant information:

# gdb /etc/httpd/bin/httpd httpd.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as amd64-marcel-freebsd...
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /etc/httpd/lib/libaprutil-1.so.3...done.
Loaded symbols for /etc/httpd/lib/libaprutil-1.so.3
Reading symbols from /etc/httpd/lib/libexpat.so.1...done.
Loaded symbols for /etc/httpd/lib/libexpat.so.1
Reading symbols from /etc/httpd/lib/libapr-1.so.3...done.
Loaded symbols for /etc/httpd/lib/libapr-1.so.3
Reading symbols from /lib/libcrypt.so.4...done.
Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /etc/httpd/modules/libphp5.so...done.
Loaded symbols for /etc/httpd/modules/libphp5.so
Reading symbols from /usr/local/mysql/lib/mysql/libmysqlclient.so.15...done.
Loaded symbols for /usr/local/mysql/lib/mysql/libmysqlclient.so.15
Reading symbols from /usr/local/lib/libxml2.so.5...done.
Loaded symbols for /usr/local/lib/libxml2.so.5
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libz.so.4...done.
Loaded symbols for /lib/libz.so.4
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0008004a8060 in ?? ()
[New Thread 0x801101120 (LWP 100329)]
(gdb)


# httpd -l
Compiled in modules:
  core.c
  mod_authn_file.c
  mod_authn_default.c
  mod_authz_host.c
  mod_authz_groupfile.c
  mod_authz_user.c
  mod_authz_default.c
  mod_auth_basic.c
  mod_include.c
  mod_filter.c
  mod_log_config.c
  mod_env.c
  mod_headers.c
  mod_unique_id.c
  mod_setenvif.c
  mod_ssl.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c
  mod_so.c


so...  yea  what to do? ?!?

thanks...



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


mysql 5.0.51b and ssl

2008-06-23 Thread kalin m

hi all...

i just installed openssl 0.9.8h and trying to build mysql 5.0.51b with 
it on a freebsd 7 machine. i get this:


/usr/bin/ld: /usr/local/ssl/lib/libssl.a(t1_srvr.o): relocation 
R_X86_64_32 can not be used when making a shared object; recompile with 
-fPIC

/usr/local/ssl/lib/libssl.a: could not read symbols: Bad value


any ideas?

thanks...

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


Re: mysql 5.0.51b and ssl

2008-06-23 Thread kalin m


from what i understand this is not uncommon. and it goes back to 2005.
and it has to do with the fact that the machine identifies itself as 
amd64 even though it's an intel machine.


what's not clear is what needs to be recompiled whit -fPIC?! my guess is 
openssl needs to. why?


are there any flags i can change in the Makefile for the mysql build? 
does it have to be a 'shared'? static?!


thanks...



kalin m wrote:

hi all...

i just installed openssl 0.9.8h and trying to build mysql 5.0.51b with 
it on a freebsd 7 machine. i get this:


/usr/bin/ld: /usr/local/ssl/lib/libssl.a(t1_srvr.o): relocation 
R_X86_64_32 can not be used when making a shared object; recompile 
with -fPIC

/usr/local/ssl/lib/libssl.a: could not read symbols: Bad value


any ideas?

thanks...

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


kernel amd64?

2008-06-20 Thread kalin m

hi all...

when building a custom kernel for an intel machine that identifies 
itself as amd64 which GENERIC file do i start with?


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


Re: mfi freebsd7

2008-06-11 Thread kalin m


in case somebody gets stuck as i was - here are detailed instruction and 
the CORRECT ORDER in which the needed kernel modules HAVE to be loaded 
in order for the megacli to work properly...


big thanks to Christoph Schug



Christoph Schug wrote:

On Mon, Jun 02, 2008, kalin m wrote:

  
thanks Vince...  i didnt wanted to install the linux base because a lot of 
kids will be running some 'cool' boards or blogs that probably have cool 
linux holes too. but just for the hell of it and for he purpose to get to 
the controller i did. it took a while to find the 
Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the LSI 
site (anymore) either..  anyway after a lot of rpm downloads and patching 
and variable changing and fs mountings i get this:


# /usr/local/sbin/megacli -adpCount
   ERROR:Could not detect controller.

Controller Count: 0.



From my experience there are some pitfalls when using the
sysutils/linux-megacli port. First of all you need the mfi_linux.ko
kernel module loaded. Moreover, this module has to be loaded _before_
the Linux ABI stuff (linux.ko, linprocfs.ko, linsysfs.ko). So starting
with a pretty sane list of loaded kernel modules ...

| # kldstat 
|   Id Refs AddressSize Name

|13 0x8010 6eeea8   kernel
|21 0x807ef000 14d0 accf_http.ko
|31 0xb449f000 1fce nullfs.ko
| # kldload mfi_linux.ko
| # kldload linprocfs.ko linsysfs.ko
| # kldstat 
|   Id Refs AddressSize Name

|1   15 0x8010 6eeea8   kernel
|21 0x807ef000 14d0 accf_http.ko
|31 0xb449f000 1fce nullfs.ko
|71 0xb44a1000 3af  mfi_linux.ko
|83 0xb44a2000 18a6alinux.ko
|91 0xb44bb000 350c linprocfs.ko
|   101 0xb469a000 9d3  linsysfs.ko
| # mount -t linprocfs linproc /compat/linux/proc
| # mount -t linsysfs  linsys  /compat/linux/sys
| # cat /compat/linux/sys/class/scsi_host/host*/proc_name
|   megaraid_sas
|   megaraid_sas

In case you haven't loaded mfi_linux.ko before the other Linux ABI
stuff, you will see '(null)' entries here instead of 'megaraid_sas'.
Furthermore, the compat.linux.osrelease sysctl should be set to 2.6.12.

| # sysctl -w compat.linux.osrelease=2.6.12
|   compat.linux.osrelease: 2.4.2 - 2.6.12

If everything is fine, you should be able to query your RAID controller:

| # megacli -LDInfo -LALL -aALL | grep ^State:
|   State: Optimal
|   State: Optimal

This has been tested on a Dell PowerEdge 2970 with both an PERC5/i and
PERC5/e controller running FreeBSD 7.0/amd64.

| # pciconf -lv | grep ^mfi
|   [EMAIL PROTECTED]:8:14:0:   class=0x010400 card=0x1f031028 
chip=0x00151028 rev=0x00 hdr=0x00
|   [EMAIL PROTECTED]:15:14:0:  class=0x010400 card=0x1f011028 
chip=0x00151028 rev=0x00 hdr=0x00

-cs

  

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


Re: mfi freebsd7

2008-06-05 Thread kalin m

hi vince...  thank you for the advice.

i did update my ports and install the 1.01.40 version...

i have the linux-base installed and the linprocfs and linsysfs mounted..

but still nothing substantial happening:

# megacli -adpCount
   


Controller Count: 0.



any other ideas?!

thanks...




Vince Hoffman wrote:

kalin m wrote:
  

sorry for the double posting  just to update:

i installed also the linux-megamgr same result:
Failed to open driver node /dev/megadev0

after linking megadev0 to mfi0 it can not see the version... it gets
more and more pathetic by the minute...




odd that it wouldnt install as it did for me just now. Is your ports
tree up to date? I'm guessing not since the latest version reference in
ports is 1.01.40 and you found and got the 1.01.09 rpm/zip
try updating your ports to the latest tree (portsnap is my method of
choice but csup works fine too :) then try
cd /usr/ports/sysutils/linux-megacli  make install clean
Be sure to pay attention to the post-install message as it tells you
about whats needed in the way of kernel modules and sysctl variables as
well as what periodic config is available.


We do have a server at work using the LSI Logic / Symbios Logic MegaRAID
SAS 1078 which hosts 40 VPS's running quite happily in a RAID 1+0
config, each VPS running web/mail/ftp for a number between 1 and 100
websites, so they seem to perform well enough, this is a linux server
though.
If you've been sold a RAID1 array i'd imagine thats what you have
unless you have reason to believe otherwise. It will appear as a singe
block device (/dev/mfid0) to the operating system though as you have see.


Vince



  



kalin m wrote:


thanks Vince...  i didnt wanted to install the linux base because a
lot of kids will be running some 'cool' boards or blogs that probably
have cool linux holes too. but just for the hell of it and for he
purpose to get to the controller i did. it took a while to find the
Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the
LSI site (anymore) either..  anyway after a lot of rpm downloads and
patching and variable changing and fs mountings i get this:

# /usr/local/sbin/megacli -adpCount
   ERROR:Could not detect controller.

Controller Count: 0.


pretty neat system...


now what?!




Vince Hoffman wrote:
  

kalin m wrote:


megarc, right... read about it..  here:

# megarc -AllAdpInfo help
usage :
cmd -AllAdpInfo
  : prints info of all cards


.  ok .

# megarc -AllAdpInfo

  
**

 MEGARC MegaRAID Configuration
Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA
  
**

 [Note: For SATA-2, 4 and 6 channel controllers, please specify
 Ch=0 Id=0..15 for specifying physical drive(Ch=channel,
Id=Target)]

   Type ? as command line arg for help

   No Adapters Found Error: No MegaRaid Found


?!?!?!  does that mean that there is no raid?  why then the df
output? the machine is supposed to have 4 250gig SAS drives.

  

Its more likely that megarc doesnt support the newer controllers
which is a shame. you might have more luck with
sysutils/linux-megacli since that explicitly mentions LSI MegaRAID
SAS, I wish they would make the util open source though. Will mean
you need the linux-base port installed and linux.ko loaded.

A RAID1 config shoudl suit a busy webserver well.

Vicne





thanks...





Vince Hoffman wrote:
  

kalin m wrote:


hi all...

a hosting facility build a new dedicated server for me and looking
at the dmesg i see:

mfi0: LSI MegaSAS 1078 port 0xec00-0xecff mem
0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0
on pci1
mfi0: Megaraid SAS driver Ver 2.00

for df i get:
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/mfid0s1a496M197M259M43%/
devfs1.0K1.0K  0B   100%/dev
/dev/mfid0s1e496M 12K456M 0%/tmp
/dev/mfid0s1f661G636M608G 0%/usr
/dev/mfid0s1d8.7G1.4M8.0G 0%/var


i asked for raid1. i cant find too much information about the mfi
driver. just that it works with freebsd 7.

  

you might want to look at sysutils/megarc and possibly
sysutils/linux-megamgr so you can more closely monitor/investigate
your array.

Vince



i'll keep looking but - has anybody successfully deployed
production servers using the LSI MegaSAS 1078 in RAID1 on a very
busy web server?
is there any loss in performance using that hardware in RAID1?
any performance loss in RAID1 at all?


thanks...

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

Re: mfi freebsd7

2008-06-05 Thread kalin m

ok...  i guess i've had it with the mfi

according to the hardware list on the freebsd site there are only 3 
cards supported by the mfi driver on freebsd7 and the LSI MegaSAS 1078 
ain't one of them. and lsi appears to be a remote company in singapore 
which apparently doesn't like to support anything that has bsd in it's 
name.


i'll be asking the hosting company to replace the card.
would like to hear from the list which SAS ones would be recommended - 
fully supported and have usable control/stats interfaces - and which 
ones to stay away from.


would appreciate any advice...

thanks



kalin m wrote:

hi vince...  thank you for the advice.

i did update my ports and install the 1.01.40 version...

i have the linux-base installed and the linprocfs and linsysfs mounted..

but still nothing substantial happening:

# megacli -adpCount
  
Controller Count: 0.




any other ideas?!

thanks...




Vince Hoffman wrote:

kalin m wrote:
 

sorry for the double posting  just to update:

i installed also the linux-megamgr same result:
Failed to open driver node /dev/megadev0

after linking megadev0 to mfi0 it can not see the version... it 
gets

more and more pathetic by the minute...




odd that it wouldnt install as it did for me just now. Is your ports
tree up to date? I'm guessing not since the latest version reference in
ports is 1.01.40 and you found and got the 1.01.09 rpm/zip
try updating your ports to the latest tree (portsnap is my method of
choice but csup works fine too :) then try
cd /usr/ports/sysutils/linux-megacli  make install clean
Be sure to pay attention to the post-install message as it tells you
about whats needed in the way of kernel modules and sysctl variables as
well as what periodic config is available.


We do have a server at work using the LSI Logic / Symbios Logic MegaRAID
SAS 1078 which hosts 40 VPS's running quite happily in a RAID 1+0
config, each VPS running web/mail/ftp for a number between 1 and 100
websites, so they seem to perform well enough, this is a linux server
though.
If you've been sold a RAID1 array i'd imagine thats what you have
unless you have reason to believe otherwise. It will appear as a singe
block device (/dev/mfid0) to the operating system though as you have 
see.



Vince



 



kalin m wrote:
   

thanks Vince...  i didnt wanted to install the linux base because a
lot of kids will be running some 'cool' boards or blogs that probably
have cool linux holes too. but just for the hell of it and for he
purpose to get to the controller i did. it took a while to find the
Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the
LSI site (anymore) either..  anyway after a lot of rpm downloads and
patching and variable changing and fs mountings i get this:

# /usr/local/sbin/megacli -adpCount
   ERROR:Could not detect controller.

Controller Count: 0.


pretty neat system...


now what?!




Vince Hoffman wrote:
 

kalin m wrote:
   

megarc, right... read about it..  here:

# megarc -AllAdpInfo help
usage :
cmd -AllAdpInfo
  : prints info of all cards


.  ok .

# megarc -AllAdpInfo

  
** 


 MEGARC MegaRAID Configuration
Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA
  
** 


 [Note: For SATA-2, 4 and 6 channel controllers, please specify
 Ch=0 Id=0..15 for specifying physical drive(Ch=channel,
Id=Target)]

   Type ? as command line arg for help

   No Adapters Found Error: No MegaRaid Found


?!?!?!  does that mean that there is no raid?  why then the df
output? the machine is supposed to have 4 250gig SAS drives.

  

Its more likely that megarc doesnt support the newer controllers
which is a shame. you might have more luck with
sysutils/linux-megacli since that explicitly mentions LSI MegaRAID
SAS, I wish they would make the util open source though. Will mean
you need the linux-base port installed and linux.ko loaded.

A RAID1 config shoudl suit a busy webserver well.

Vicne



   

thanks...





Vince Hoffman wrote:
 

kalin m wrote:
   

hi all...

a hosting facility build a new dedicated server for me and looking
at the dmesg i see:

mfi0: LSI MegaSAS 1078 port 0xec00-0xecff mem
0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0
on pci1
mfi0: Megaraid SAS driver Ver 2.00

for df i get:
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/mfid0s1a496M197M259M43%/
devfs1.0K1.0K  0B   100%/dev
/dev/mfid0s1e496M 12K456M 0%/tmp
/dev/mfid0s1f661G636M608G 0%/usr
/dev/mfid0s1d8.7G1.4M8.0G 0%/var


i asked for raid1. i cant find too much information about the mfi
driver. just that it works with freebsd 7

mfi freebsd7

2008-06-02 Thread kalin m

hi all...

a hosting facility build a new dedicated server for me and looking at 
the dmesg i see:


mfi0: LSI MegaSAS 1078 port 0xec00-0xecff mem 
0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0 on pci1

mfi0: Megaraid SAS driver Ver 2.00

for df i get:
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/mfid0s1a496M197M259M43%/
devfs1.0K1.0K  0B   100%/dev
/dev/mfid0s1e496M 12K456M 0%/tmp
/dev/mfid0s1f661G636M608G 0%/usr
/dev/mfid0s1d8.7G1.4M8.0G 0%/var


i asked for raid1. i cant find too much information about the mfi 
driver. just that it works with freebsd 7.


i'll keep looking but - has anybody successfully deployed production 
servers using the LSI MegaSAS 1078 in RAID1 on a very busy web server?

is there any loss in performance using that hardware in RAID1?
any performance loss in RAID1 at all?


thanks...

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


Re: mfi freebsd7

2008-06-02 Thread kalin m

megarc, right... read about it..  here:

# megarc -AllAdpInfo help
usage :
cmd -AllAdpInfo
  : prints info of all cards


.  ok .

# megarc -AllAdpInfo

   **
 MEGARC MegaRAID Configuration 
Utility(FreeBSD)-1.04(03-02-2005)
 By LSI Logic Corp.,USA

   **
 [Note: For SATA-2, 4 and 6 channel controllers, please specify
 Ch=0 Id=0..15 for specifying physical drive(Ch=channel, Id=Target)]

   Type ? as command line arg for help

   No Adapters Found   


   Error: No MegaRaid Found


?!?!?!  does that mean that there is no raid?  why then the df output? 
the machine is supposed to have 4 250gig SAS drives.



thanks...





Vince Hoffman wrote:

kalin m wrote:

hi all...

a hosting facility build a new dedicated server for me and looking at 
the dmesg i see:


mfi0: LSI MegaSAS 1078 port 0xec00-0xecff mem 
0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0 on pci1

mfi0: Megaraid SAS driver Ver 2.00

for df i get:
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/mfid0s1a496M197M259M43%/
devfs1.0K1.0K  0B   100%/dev
/dev/mfid0s1e496M 12K456M 0%/tmp
/dev/mfid0s1f661G636M608G 0%/usr
/dev/mfid0s1d8.7G1.4M8.0G 0%/var


i asked for raid1. i cant find too much information about the mfi 
driver. just that it works with freebsd 7.




you might want to look at sysutils/megarc and possibly 
sysutils/linux-megamgr so you can more closely monitor/investigate 
your array.


Vince

i'll keep looking but - has anybody successfully deployed production 
servers using the LSI MegaSAS 1078 in RAID1 on a very busy web server?

is there any loss in performance using that hardware in RAID1?
any performance loss in RAID1 at all?


thanks...

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


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

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


Re: mfi freebsd7

2008-06-02 Thread kalin m
thanks Vince...  i didnt wanted to install the linux base because a lot 
of kids will be running some 'cool' boards or blogs that probably have 
cool linux holes too. but just for the hell of it and for he purpose to 
get to the controller i did. it took a while to find the 
Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the 
LSI site (anymore) either..  anyway after a lot of rpm downloads and 
patching and variable changing and fs mountings i get this:


# /usr/local/sbin/megacli -adpCount
   
ERROR:Could not detect controller.


Controller Count: 0.


pretty neat system...


now what?!




Vince Hoffman wrote:

kalin m wrote:

megarc, right... read about it..  here:

# megarc -AllAdpInfo help
usage :
cmd -AllAdpInfo
  : prints info of all cards


.  ok .

# megarc -AllAdpInfo

   
**
 MEGARC MegaRAID Configuration 
Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA
   
**

 [Note: For SATA-2, 4 and 6 channel controllers, please specify
 Ch=0 Id=0..15 for specifying physical drive(Ch=channel, Id=Target)]

   Type ? as command line arg for help

   No Adapters Found Error: No MegaRaid Found


?!?!?!  does that mean that there is no raid?  why then the df 
output? the machine is supposed to have 4 250gig SAS drives.




Its more likely that megarc doesnt support the newer controllers which 
is a shame. you might have more luck with sysutils/linux-megacli since 
that explicitly mentions LSI MegaRAID SAS, I wish they would make the 
util open source though. Will mean you need the linux-base port 
installed and linux.ko loaded.


A RAID1 config shoudl suit a busy webserver well.

Vicne





thanks...





Vince Hoffman wrote:

kalin m wrote:

hi all...

a hosting facility build a new dedicated server for me and looking 
at the dmesg i see:


mfi0: LSI MegaSAS 1078 port 0xec00-0xecff mem 
0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0 on 
pci1

mfi0: Megaraid SAS driver Ver 2.00

for df i get:
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/mfid0s1a496M197M259M43%/
devfs1.0K1.0K  0B   100%/dev
/dev/mfid0s1e496M 12K456M 0%/tmp
/dev/mfid0s1f661G636M608G 0%/usr
/dev/mfid0s1d8.7G1.4M8.0G 0%/var


i asked for raid1. i cant find too much information about the mfi 
driver. just that it works with freebsd 7.




you might want to look at sysutils/megarc and possibly 
sysutils/linux-megamgr so you can more closely monitor/investigate 
your array.


Vince

i'll keep looking but - has anybody successfully deployed 
production servers using the LSI MegaSAS 1078 in RAID1 on a very 
busy web server?

is there any loss in performance using that hardware in RAID1?
any performance loss in RAID1 at all?


thanks...

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


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

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


___
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: mfi freebsd7

2008-06-02 Thread kalin m
thanks Vince...  i didnt wanted to install the linux base because a lot 
of kids will be running some 'cool' boards or blogs that probably have 
cool linux holes too. but just for the hell of it and for he purpose to 
get to the controller i did. it took a while to find the 
Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the 
LSI site (anymore) either..  anyway after a lot of rpm downloads and 
patching and variable changing and fs mountings i get this:


# /usr/local/sbin/megacli -adpCount
   
ERROR:Could not detect controller.


Controller Count: 0.


pretty neat system...


now what?!




Vince Hoffman wrote:

kalin m wrote:

megarc, right... read about it..  here:

# megarc -AllAdpInfo help
usage :
cmd -AllAdpInfo
  : prints info of all cards


.  ok .

# megarc -AllAdpInfo

   
**
 MEGARC MegaRAID Configuration 
Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA
   
**

 [Note: For SATA-2, 4 and 6 channel controllers, please specify
 Ch=0 Id=0..15 for specifying physical drive(Ch=channel, Id=Target)]

   Type ? as command line arg for help

   No Adapters Found Error: No MegaRaid Found


?!?!?!  does that mean that there is no raid?  why then the df 
output? the machine is supposed to have 4 250gig SAS drives.




Its more likely that megarc doesnt support the newer controllers which 
is a shame. you might have more luck with sysutils/linux-megacli since 
that explicitly mentions LSI MegaRAID SAS, I wish they would make the 
util open source though. Will mean you need the linux-base port 
installed and linux.ko loaded.


A RAID1 config shoudl suit a busy webserver well.

Vicne





thanks...





Vince Hoffman wrote:

kalin m wrote:

hi all...

a hosting facility build a new dedicated server for me and looking 
at the dmesg i see:


mfi0: LSI MegaSAS 1078 port 0xec00-0xecff mem 
0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0 on 
pci1

mfi0: Megaraid SAS driver Ver 2.00

for df i get:
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/mfid0s1a496M197M259M43%/
devfs1.0K1.0K  0B   100%/dev
/dev/mfid0s1e496M 12K456M 0%/tmp
/dev/mfid0s1f661G636M608G 0%/usr
/dev/mfid0s1d8.7G1.4M8.0G 0%/var


i asked for raid1. i cant find too much information about the mfi 
driver. just that it works with freebsd 7.




you might want to look at sysutils/megarc and possibly 
sysutils/linux-megamgr so you can more closely monitor/investigate 
your array.


Vince

i'll keep looking but - has anybody successfully deployed 
production servers using the LSI MegaSAS 1078 in RAID1 on a very 
busy web server?

is there any loss in performance using that hardware in RAID1?
any performance loss in RAID1 at all?


thanks...

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


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

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


___
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: mfi freebsd7

2008-06-02 Thread kalin m

sorry for the double posting  just to update:

i installed also the linux-megamgr same result:
Failed to open driver node /dev/megadev0

after linking megadev0 to mfi0 it can not see the version... it gets 
more and more pathetic by the minute...






kalin m wrote:
thanks Vince...  i didnt wanted to install the linux base because a 
lot of kids will be running some 'cool' boards or blogs that probably 
have cool linux holes too. but just for the hell of it and for he 
purpose to get to the controller i did. it took a while to find the 
Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the 
LSI site (anymore) either..  anyway after a lot of rpm downloads and 
patching and variable changing and fs mountings i get this:


# /usr/local/sbin/megacli -adpCount
   ERROR:Could not detect controller.

Controller Count: 0.


pretty neat system...


now what?!




Vince Hoffman wrote:

kalin m wrote:

megarc, right... read about it..  here:

# megarc -AllAdpInfo help
usage :
cmd -AllAdpInfo
  : prints info of all cards


.  ok .

# megarc -AllAdpInfo

   
**
 MEGARC MegaRAID Configuration 
Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA
   
**

 [Note: For SATA-2, 4 and 6 channel controllers, please specify
 Ch=0 Id=0..15 for specifying physical drive(Ch=channel, 
Id=Target)]


   Type ? as command line arg for help

   No Adapters Found Error: No MegaRaid Found


?!?!?!  does that mean that there is no raid?  why then the df 
output? the machine is supposed to have 4 250gig SAS drives.




Its more likely that megarc doesnt support the newer controllers 
which is a shame. you might have more luck with 
sysutils/linux-megacli since that explicitly mentions LSI MegaRAID 
SAS, I wish they would make the util open source though. Will mean 
you need the linux-base port installed and linux.ko loaded.


A RAID1 config shoudl suit a busy webserver well.

Vicne





thanks...





Vince Hoffman wrote:

kalin m wrote:

hi all...

a hosting facility build a new dedicated server for me and looking 
at the dmesg i see:


mfi0: LSI MegaSAS 1078 port 0xec00-0xecff mem 
0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0 
on pci1

mfi0: Megaraid SAS driver Ver 2.00

for df i get:
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/mfid0s1a496M197M259M43%/
devfs1.0K1.0K  0B   100%/dev
/dev/mfid0s1e496M 12K456M 0%/tmp
/dev/mfid0s1f661G636M608G 0%/usr
/dev/mfid0s1d8.7G1.4M8.0G 0%/var


i asked for raid1. i cant find too much information about the mfi 
driver. just that it works with freebsd 7.




you might want to look at sysutils/megarc and possibly 
sysutils/linux-megamgr so you can more closely monitor/investigate 
your array.


Vince

i'll keep looking but - has anybody successfully deployed 
production servers using the LSI MegaSAS 1078 in RAID1 on a very 
busy web server?

is there any loss in performance using that hardware in RAID1?
any performance loss in RAID1 at all?


thanks...

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


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

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


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

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

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


amd64 ?!

2008-05-28 Thread kalin m

hi all...

i have dilemma.

i asked a hosting faclity to set up freebsd 7 on  new server.  and i 
mentioned that it should be 64 bit.

now they when i get into the machine i get:
srv391# uname -a
FreeBSD srv391.carpathiahost.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun 
Feb 24 10:35:36 UTC 2008 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64


i did ask for an intel machine and the dmseg actually states:

CPU: Intel(R) Xeon(R) CPU   E5405  @ 2.00GHz (1997.01-MHz 
K8-class CPU)

 Origin = GenuineIntel  Id = 0x10676  Stepping = 6
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
 
Features2=0xce33dSSE3,RSVD2,MON,DS_CPL,VMX,TM2,SSSE3,CX16,xTPR,PDCM,DCA,b19

 AMD Features=0x20100800SYSCALL,NX,LM
 AMD Features2=0x1LAHF


so i'm a bit confused about the the 64 bit and why the machine is 
identifying itself as amd64 and not i686?






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


usb errors

2008-05-13 Thread kalin m


hi all..

fbsd7.

plugging in a usb drive. ..  dmesg:

umass0: Western Digital External HDD, class 0/0, rev 2.00/2.40, addr 2 
on uhub2

da0 at umass-sim0 bus 0 target 0 lun 0
da0: WDC WD12 00UE-00KVT0  Fixed Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C)

next:
# mount -w -t ufs /dev/da0 /mnt/
mount: /dev/da0 : Invalid argument
# mount -w -t ufs /dev/da0s1e /mnt/
mount: /dev/da0s1e : No such file or directory
# mount -w -t ufs /dev/da0s1 /mnt/
mount: /dev/da0s1 : No such file or directory
# mount  /dev/da0s1 /mnt/
mount: /dev/da0s1 : No such file or directory
# mount /dev/da0 /mnt/
mount: /dev/da0 : Invalid argument
# mount -w -t ufs /dev/da0s1 /mnt/
mount: /dev/da0s1 : No such file or directory
# mount -w -t hfs /dev/da0s1 /mnt/
mount: /dev/da0s1 : Operation not supported by device
# mount -w -t hfs+ /dev/da0s1 /mnt/
mount: /dev/da0s1 : Operation not supported by device
# mount -w -t ufs /dev/da0s1 /mnt/
mount: /dev/da0s1 : No such file or directory
# mount -w -t ufs /dev/da0 /mnt/
mount: /dev/da0 : Invalid argument
# mount -w -t hfs /dev/da0 /mnt/
mount: /dev/da0 : Operation not supported by device

now what?


it's a usb drive usually used on a os x machine...











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


Re: usb errors

2008-05-13 Thread kalin m

# fdisk /dev/da0
*** Working on device /dev/da0 ***
parameters extracted from in-core disklabel are:
cylinders=14593 heads=255 sectors/track=63 (16065 blks/cyl)

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

fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
   start 63, size 234436482 (114470 Meg), flag 80 (active)
   beg: cyl 0/ head 1/ sector 1;
   end: cyl 256/ head 254/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED


Sébastien Morand wrote:

What fdisk /dev/da0 is printing?

On Tue, May 13, 2008 at 3:44 PM, kalin m [EMAIL PROTECTED] wrote:
  

 hi all..

 fbsd7.

 plugging in a usb drive. ..  dmesg:

 umass0: Western Digital External HDD, class 0/0, rev 2.00/2.40, addr 2 on
uhub2
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: WDC WD12 00UE-00KVT0  Fixed Direct Access SCSI-0 device
 da0: 40.000MB/s transfers
 da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C)

 next:
 # mount -w -t ufs /dev/da0 /mnt/
 mount: /dev/da0 : Invalid argument
 # mount -w -t ufs /dev/da0s1e /mnt/
 mount: /dev/da0s1e : No such file or directory
 # mount -w -t ufs /dev/da0s1 /mnt/
 mount: /dev/da0s1 : No such file or directory
 # mount  /dev/da0s1 /mnt/
 mount: /dev/da0s1 : No such file or directory
 # mount /dev/da0 /mnt/
 mount: /dev/da0 : Invalid argument
 # mount -w -t ufs /dev/da0s1 /mnt/
 mount: /dev/da0s1 : No such file or directory
 # mount -w -t hfs /dev/da0s1 /mnt/
 mount: /dev/da0s1 : Operation not supported by device
 # mount -w -t hfs+ /dev/da0s1 /mnt/
 mount: /dev/da0s1 : Operation not supported by device
 # mount -w -t ufs /dev/da0s1 /mnt/
 mount: /dev/da0s1 : No such file or directory
 # mount -w -t ufs /dev/da0 /mnt/
 mount: /dev/da0 : Invalid argument
 # mount -w -t hfs /dev/da0 /mnt/
 mount: /dev/da0 : Operation not supported by device

 now what?


 it's a usb drive usually used on a os x machine...











 ___
 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: open pgp

2008-04-21 Thread kalin m



Chris Bannister wrote:

On Mon, Apr 07, 2008 at 05:32:24PM -0400, kalin m wrote:
  

hi all...

installed open pgp pkg.
added a key sent to me by a client to my keyring...

this is what i get. no matter how many times i enter the client provided  
pass phrase i just get the 'Enter pass phrase: ' prompt...

what, if anythin,  is wrong? the pass phrase?



Who's passphrase?
  

client provided - for the user in the key...

  

# pgp the_pgp_file.pgp
Pretty Good Privacy(tm) Version 6.5.8
Internal development version only - not for general release.
(c) 1999 Network Associates Inc.

Export of this software may be restricted by the U.S. government.

File is encrypted.  Secret key is required to read it.

Key for user ID: user_id [EMAIL PROTECTED]
2048-bit RSA key, Key ID 0xmoo, created 2008/03/10
Key can sign.
You need a pass phrase to unlock your secret key.



Did the client encrypt using your public key?
  

no their own key. which i got from them and added to my keychain..


now...  i did get gnupg. the error i'm getting is pretty much the same. 
the client insists the passphrase is correct. here is the output:



--   start ---

# gpg -d the_pgp_file.pgp

  
?
  ? You need a passphrase to 
unlock the secret key for user:  ?
  ? user_ud 
[EMAIL PROTECTED]?
  ? 2048-bit RSA key, ID 
X7Z42381, created 2008-03-10 (main key ID B66F2023)  ?
  
?   
?
  
?   
?
  ? Passphrase 
***___ ?
  
?   
?
  ? 
OK   Cancel   ?
  
?



pinentry in free(): error: chunk is already free
gpg-agent[8]: command get_passphrase failed: End of file
gpg: problem with the agent: IPC write error
gpg: Invalid passphrase; please try again ...

-  end  ---


thanks...  









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


Re: open pgp

2008-04-08 Thread kalin m

nobody has any ideas?

kalin m wrote:

hi all...

installed open pgp pkg.
added a key sent to me by a client to my keyring...

this is what i get. no matter how many times i enter the client 
provided pass phrase i just get the 'Enter pass phrase: ' prompt...

what, if anythin,  is wrong? the pass phrase?


# pgp the_pgp_file.pgp
Pretty Good Privacy(tm) Version 6.5.8
Internal development version only - not for general release.
(c) 1999 Network Associates Inc.

Export of this software may be restricted by the U.S. government.

File is encrypted.  Secret key is required to read it.

Key for user ID: user_id [EMAIL PROTECTED]
2048-bit RSA key, Key ID 0xmoo, created 2008/03/10
Key can sign.
You need a pass phrase to unlock your secret key.

Enter pass phrase:




thanks

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


open pgp

2008-04-07 Thread kalin m

hi all...

installed open pgp pkg.
added a key sent to me by a client to my keyring...

this is what i get. no matter how many times i enter the client provided 
pass phrase i just get the 'Enter pass phrase: ' prompt...

what, if anythin,  is wrong? the pass phrase?


# pgp the_pgp_file.pgp
Pretty Good Privacy(tm) Version 6.5.8
Internal development version only - not for general release.
(c) 1999 Network Associates Inc.

Export of this software may be restricted by the U.S. government.

File is encrypted.  Secret key is required to read it.

Key for user ID: user_id [EMAIL PROTECTED]
2048-bit RSA key, Key ID 0xmoo, created 2008/03/10
Key can sign.
You need a pass phrase to unlock your secret key.

Enter pass phrase:




thanks

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


Re: RAID

2008-03-11 Thread kalin m

thanks
i did install the system now on ar0. the dmesg output below didn't 
change. the df does show only one drive - ar0 - with a few slices...
assuming now that i have RAID1 working is there any way to monitor disks 
individually? or as an array?

how can i be sure that the RAID is actually working? or get any stats?
i figured the driver for the Intel MatrixRAID RAID1 must be iir. bit 
from the iir man page ther is not much about monitoring or status...


thanks...


Tamouh H. wrote:

hi ...

i have a simple RAID question(s).

this is from the dmesg of a newly installed bsd7:

ad4: 238475MB Seagate ST3250310AS 3.AAA at ata2-master SATA150
ad6: 238475MB Seagate ST3250310AS 3.AAA at ata3-master SATA150
ar0: 238472MB Intel MatrixRAID RAID1 status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad6 at ata3-master

from what i understand here is that if at the time of 
installation i install the system on ar0 that means i'd have 
RAID1 made out of ad4 and ad6.

right?
is there any configuration to be done?
how do i know what driver is being used? it says:
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 
19:59:27) .

hptrr: no controller detected.'


that's it. thanks.







It is saying ar0: 238472MB Intel MatrixRAID RAID1 status: READY

So assume it is onboard Intel RAID. When configuring FBSD setup, just make sure 
you're selecting the ar0 controller and partition it as you like. That is it!

Tamouh


___
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: RAID

2008-03-11 Thread kalin m

thanks

i read the atacontrol man. there is a part in there that says:
..
A quick and dirty way to create such a mirrored array (RAID1) on a new 
system is

to boot off the FreeBSD install CD, do a minimal scratch install, abort
out of the post install questions, and at the command line issue 
the com-

mand:

  atacontrol create RAID1 ad4 ad6

then immediately issue a reboot and boot from the installation CD 
again,

and during the installation, you will now see ar0 listed as a disk to
install on, and install on that instead of ad4, ad6, etc.
.

in my case the machine showed me the ar0 to install the system on it 
without doing this 'quick and dirty way'.


and now i get:
# atacontrol status ar0
ar0: ATA RAID1 status: READY
subdisks:
  0 ad4  ONLINE
  1 ad6  ONLINE


that tells me that i actually do have RAID1 active. which means it's a 
software one, correct?


also if you do not mind please elaborate on MatrixRAID is one of those 
not-really-raid controllers that onlyprovides RAID during the boot 
process...



thank you...



Dan Nelson wrote:

In the last episode (Mar 11), kalin m said:
  

thanks
i did install the system now on ar0. the dmesg output below didn't change. 
the df does show only one drive - ar0 - with a few slices...
assuming now that i have RAID1 working is there any way to monitor disks 
individually? or as an array?

how can i be sure that the RAID is actually working? or get any stats?
i figured the driver for the Intel MatrixRAID RAID1 must be iir. bit from 
the iir man page ther is not much about monitoring or status...



MatrixRAID is one of those not-really-raid controllers that only
provides RAID during the boot process, and the OS has to implement RAID
in software itself.  FreeBSD has an ataraid driver to handle these
cards.  The atacontrol command lets you view status.  See the ataraid
and atacontrol manpages for more info.

  

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


RAID

2008-03-10 Thread kalin m

hi ...

i have a simple RAID question(s).

this is from the dmesg of a newly installed bsd7:

ad4: 238475MB Seagate ST3250310AS 3.AAA at ata2-master SATA150
ad6: 238475MB Seagate ST3250310AS 3.AAA at ata3-master SATA150
ar0: 238472MB Intel MatrixRAID RAID1 status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad6 at ata3-master

from what i understand here is that if at the time of installation i 
install the system on ar0 that means i'd have RAID1 made out of ad4 and ad6.

right?
is there any configuration to be done?
how do i know what driver is being used? it says:
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27)
.
hptrr: no controller detected.'


that's it. thanks.




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