RE: Intel D510MO Mini-ITX Motherboard - Is anyone using FreeBSD on this?

2010-01-29 Thread Dan Naumov
closing out this thread

I did go ahead and buy one of these boards and can now report that
FreeBSD-8.0/i386 boots and runs on it with no apparent problems.  A user
in the forums reports similar success running 8.0/amd64.

Extremely quiet and inexpensive board. At around $80, it is one-third
the cost of the Supermicro boards.

Not much use as a space heater, however; I've had it running for more
than 24 hours, busily recompiling ports, and the heatsink is just barely
warm to the touch.  Next time I reboot it I'm going to plug it into my
Kill-a-Watt meter to measure its power draw...

Reports of successes with both adm64 andi386 versions of 8.0-RELEASE
and Intel D510MO board have been showing up on a few different
discussion forums now.

I have to correct myself in regard to the Supermicro X7SPA-H board.
The board seems to be roughly 2 times as expensive as the Intel D510MO
(~75$ for the D150MO vs $150-170$ for the X7SPA-H). However, these
prices seem to only be like that in the US. When looking at European
prices, it seems that the D510MO board goes for about 75-80 euro and
the X7SPA-H goes for about 190-230 euro, depending on country and
reseller. So while the Supermicro board is roughly twice as expensive
as the Intel board in the US, it's roughly 3 times as expensive if you
are buying in Europe.

I still ended up going with the X7SPA-H though (finally pulled the
plug on ordering all the parts for a new system yesterday), mainly
because it saves me the trouble of immideately having to hunt for an
additional disk controller card: the D510MO has only 2 SATA ports and
a PCI slot for expansion (and I have REALLY burned myself badly on the
performance of PCI disk controller cards in the past), while the
X7SPA-H comes with 6 native SATA ports on an ICH9R controller and has
a 4xPCIE (in 16x physical form) for expansion.


- Sincerely,
Dan Naumov
___
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: Intel D510MO Mini-ITX Motherboard - Is anyone using FreeBSD on this?

2010-01-29 Thread Charlie Kester

On Fri 29 Jan 2010 at 01:36:15 PST Dan Naumov wrote:


Reports of successes with both adm64 andi386 versions of 8.0-RELEASE
and Intel D510MO board have been showing up on a few different
discussion forums now.

I have to correct myself in regard to the Supermicro X7SPA-H board.
The board seems to be roughly 2 times as expensive as the Intel D510MO
(~75$ for the D150MO vs $150-170$ for the X7SPA-H). However, these
prices seem to only be like that in the US. When looking at European
prices, it seems that the D510MO board goes for about 75-80 euro and
the X7SPA-H goes for about 190-230 euro, depending on country and
reseller. So while the Supermicro board is roughly twice as expensive
as the Intel board in the US, it's roughly 3 times as expensive if you
are buying in Europe.

I still ended up going with the X7SPA-H though (finally pulled the
plug on ordering all the parts for a new system yesterday), mainly
because it saves me the trouble of immideately having to hunt for an
additional disk controller card: the D510MO has only 2 SATA ports and
a PCI slot for expansion (and I have REALLY burned myself badly on the
performance of PCI disk controller cards in the past), while the
X7SPA-H comes with 6 native SATA ports on an ICH9R controller and has a
4xPCIE (in 16x physical form) for expansion.


Don't the Supermicro boards also have a better network chip than the
Realtek one used on Intel's boards?

FWIW, my Kill-a-Watt meter says the D510MO is drawing about 25W on
average.  That's for everything inside the case.  If I'd gone with a
single-core chip and a solid-state drive, I could probably get that down
to about 20W.   This is definitely a green machine!

___
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: Is their Automatic command to send a JPG file using FTP

2010-01-29 Thread Polytropon
On Thu, 28 Jan 2010 13:39:38 -0800, Dixit, Viraj 
viraj.di...@cityofpaloalto.org wrote:
 Hi,
 
 The script that I have setup does not work if I run the .netrc file. I
 ran the commands in ftp -v mode and it did not like machine command, did
 not like passwd or pwd etc. 

Did you issue the command

% ftp -v 0.0.0.0

(where 0.0.0.0 refers to the machine identifier in .netrc)?


 machine  0.0.0.0
 login VJ
 password  123456
 macdef init
 binary
 lcd /ftp
 cd /var/temp
 get newemp.db
 quit

Looks valid to me, but you could do this more easily, at least
for testing:

% cd /var/temp
% ftp VJ:123...@0.0.0.0/ftp/newemp.db

This should get you the file into the correct directory.



 If I use this command in .netrc it connects to the server but it does
 not connect using my login name VJ, it  points to some other name.
 
 ftp  0.0.0.0 ftp://ftp 0.0.0.0/ 

That's not the correct way to call the ftp program.



  .netrc simply doesn't work in FreeBSD.

For sure it does, as described in the manpage.



 Is their someone who has a working script. Thanks!!!

See my example above.

At the moment, it doesn't seem that you send a file per
FTP, but receive one. This can also be achieved through
the .netrc file, but to make sure everything works ON BOTH
SIDES of the connection, try the ftp command given above
where the needed information is hardcoded. You can add
the -v parameter, too.

If you require more help, describe more exactly what you're
intending to do.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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


ssh/sshd cores dump

2010-01-29 Thread Olivier Nicole
Hi,

I have this weird error since yesterday, one a system that used to be
working nicely, suddenly:

ssh cores dump when run as non priviledged user, works fine for root
sshd aborts on signal 11

I tried to reinstall world, but it is the same.

There is openssl installed from the ports on that machine (what port
needed it?) as well as ldap/nss_ldap/open_ldap.

It seems that the problem started when I tried to upgrade openldap
libbrary (openldap-client port).

I did a little bit more diging: ssh cores dump on a strcmp, from
/lib/libc.so.6; I checked with a working machine, the library are the
same; I checked ssh, they are the same.

This is very puzzeling.

Any clue?

The machine is running 6.4-RELEASE-p9

TIA.

Olivier
___
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: ipfw: limit bandwidth

2010-01-29 Thread Martin Schweizer

Hello

Sorry for the delay. I read again the man page an used the example which 
is described there and, how every, now it works as expected (I tried it 
many, many times). Thank again.


Regards,


Êîíüêîâ Åâãåíèé schrieb:

Hello, Martin.

First of all you must decide you want your shaper rule act as allow
rule or not:
kes# sysctl -a | grep one_pass
net.inet.ip.fw.one_pass: 0 or 1

man ipfw
 pipe pipe_nr
 Pass packet to a dummynet(4) ``pipe'' (for bandwidth limitation,
 delay, etc.).  See the TRAFFIC SHAPER (DUMMYNET) CONFIGURATION
 Section for further information.  The search terminates; however,
 on exit from the pipe and if the sysctl(8) variable
 net.inet.ip.fw.one_pass is not set, the packet is passed again to
 the firewall code starting from the next rule.

Second you do not need to put packet to pipe and to queue at same
time.

use pipe to just limit rate or use queue to limit rate and process
groups of packets in round robin manner. packets are grouped my mask

pipe is like this:
http://www.mikrotik.com/testdocs/ros/2.9/img/queue_fifo.jpg

queue is like this:
http://www.mikrotik.com/testdocs/ros/2.9/img/queue_pcq.jpg

some doc:
http://kes.net.ua/softdev/advanced_firewall.html
translated by google:
http://translate.google.com/translate?js=yprev=_thl=ruie=UTF-8layout=2eotf=1swap=1u=http%3A%2F%2Fkes.net.ua%2Fsoftdev%2Fadvanced_firewall.htmlsl=rutl=en



MS Hello

MS I use FreeBSD 7.2 on a amd64. I want to limit the bandwidth thru
MS this machine. Here is the relevante part of /etc/rc.firewall

MS [snip]
MS $ipfwcmd pipe 1 config bw 80kByte/s
MS $ipfwcmd add pipe 1 ip from any to 192.168.10.0/24{100-254} via em1

MS $ipfwcmd queue 1 config pipe 1 weight 1 mask dst-ip 0x
MS $ipfwcmd add queue 1 all from any to 192.168.10.0/24{100-254} via em1
MS [snip]

MS I generate this from different sources but it seems that it is not working. 
What do I'm wrong?

MS Here the part from ipfw show:

MS 00100   0  0 check-state
MS 00200   243271497881 pipe 1 ip from any to 192.168.10.0/24{100-254} via 
em1
MS 00300   0  0 queue 1 ip from any to 192.168.10.0/24{100-254} 
via em1
MS [snip]


MS Regards,





--
Martin Schweizer

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; Postfach 132;
CH-8608 Bubikon; Tel. +41 55 243 30 00; Fax: +41 55 243 33 22;
http://www.pc-service.ch
___
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: Patch

2010-01-29 Thread Michael Krafczyk
I apologize for ignorance but I have freenas and not sure freebsd is the
same.  But the version of freenas I have is:

i386 07.1.4997

I am pretty sure I need the patch.  Whenever I reboot my system I get an
error that states the GPT is rejected.  If I unplug the power to the hard
drive and reboot and then plug in the power to the hard drive it works and I
do not get this error as per the instructions in the link above.

Mike

On Thu, Jan 28, 2010 at 4:01 PM, Chris Rees utis...@googlemail.com wrote:

 On 28 January 2010 20:18, Michael Krafczyk mkrafc...@gmail.com wrote:
  Hi,
 
  I am new to FreeBSD and recently created a FreeNAS server.  I had a
 problem
  with GEOM: GPT rejected.  I have Award Bios and found this fix
  http://www.freebsd.org/cgi/query-pr.cgi?pr=115406.  I, though, do not
 know
  how to apply the patch.  I would appreciate any help.
 
  Thanks,
 
  Mike Krafczyk

 Are you certain that you need to? What version of FreeBSD are you using?

 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


gam_server opening 4000 file descriptors

2010-01-29 Thread Erich Dollansky
Hi,

I have had to set a FreeBSD up again after the hard disk died.

It runs now on 7.2.

I noticed today that the gam_server opens some 4000 file descriptors.

Ok, I have read

http://www.gnome.org/~veillard/gamin/

All I have found out is that I should increase the number of file descriptors.

Isn't there any other way to tell gamin not to do this?

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


UDP flooding / Ethernet issues? WAS Re: named error sending response: not enough free resources

2010-01-29 Thread James Smallacombe

On Thu, Jan 28, 2010 at 12:59 PM, James Smallacombe u...@3.am wrote:


To follow up on this: Noticed the issue again this morning, which also was
accompanied by latency so high that I could not connect (some pings got
through at very high latency).  I emailed the provider and they told me that
they had my port on their Ether switch set to 10Mbs.  They switched it to
100Mbs and only time will tell if that fixes it.

Does this sound like it could be the entire cause?  I ask because I've
maxed out pipes before, but never seen it shut all traffic down this much.
One key difference that I forgot to mention is that this server is running
TWO instances of named, on two different IPs (for different domains), each
running a few hundred zones.

Bottom line:  Would congestion cause this issue, or would this issue cause
congestion?


Some updates that may confuse more than inform: I caught this while it 
was happening yesterday and was able to do a tcpdump.  I saw a ton of UDP 
traffic outbound to one IP that turned out to be a colocated server in 
Chicago.  I put that IP in my ipfw rules and once I blocked any to that 
IP, it seemed to stop.  Since then however, the logs have show the same 
issue again and there have been a few brief service disruptions.


Today's security run output showed this:

+(RULE NUMBER) 16054161 131965203420 deny ip from any to (blocked IP)

and more alarmingly, this:

kernel log messages:
+++ /tmp/security.BErFHSS3  2010-01-29 03:09:32.0 -0500
+re0: link state changed to DOWN
+re0: link state changed to UP
+re0: promiscuous mode enabled
+re0: promiscuous mode disabled
+re0: promiscuous mode enabled
+re0: promiscuous mode disabled
+re0: promiscuous mode enabled
+re0: promiscuous mode disabled

re0 obviously being the Realtek Ethernet driver.  The server itself never 
went down during this time, but the Ethernet did.  Is there any DOS type 
of event that could cause this, or could the root of the problem be an 
Ethernet hardware or driver issue?  Again, it is not clear to me which is 
the cause and which is the effect.


Last bit of info:  I just did a: 'tcpdump -n | grep -i udp' and saw a 
bunch of these, coming up a couple of times per second:


11:31:59.387561 IP (IP REMOVED)  (IP REMOVED): NBT UDP PACKET(137): 
QUERY; REQUEST; BROADCAST


Where the source and destination IPs vary, but are NOT one of mine, but DO 
appear to belong to my colo/dedicated server provider and their customers. 
Is my server being used to DDOS others?  If so, how?


TIA,

James Smallacombe PlantageNet, Inc. CEO and Janitor
u...@3.am   http://3.am
=
___
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: UDP flooding / Ethernet issues? WAS Re: named error sending response: not enough free resources

2010-01-29 Thread Adam Vande More
On Fri, Jan 29, 2010 at 10:51 AM, James Smallacombe u...@3.am wrote:

 Some updates that may confuse more than inform: I caught this while it was
 happening yesterday and was able to do a tcpdump.  I saw a ton of UDP
 traffic outbound to one IP that turned out to be a colocated server in
 Chicago.  I put that IP in my ipfw rules and once I blocked any to that
 IP, it seemed to stop.  Since then however, the logs have show the same
 issue again and there have been a few brief service disruptions.

 Today's security run output showed this:

 +(RULE NUMBER) 16054161 131965203420 deny ip from any to (blocked IP)

 and more alarmingly, this:

 kernel log messages:
 +++ /tmp/security.BErFHSS3  2010-01-29 03:09:32.0 -0500
 +re0: link state changed to DOWN
 +re0: link state changed to UP
 +re0: promiscuous mode enabled
 +re0: promiscuous mode disabled
 +re0: promiscuous mode enabled
 +re0: promiscuous mode disabled
 +re0: promiscuous mode enabled
 +re0: promiscuous mode disabled

 re0 obviously being the Realtek Ethernet driver.  The server itself never
 went down during this time, but the Ethernet did.  Is there any DOS type of
 event that could cause this, or could the root of the problem be an Ethernet
 hardware or driver issue?  Again, it is not clear to me which is the cause
 and which is the effect.

 Last bit of info:  I just did a: 'tcpdump -n | grep -i udp' and saw a bunch
 of these, coming up a couple of times per second:


promiscuous mode entries are caused by tcpdump

-- 
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: UDP flooding / Ethernet issues? WAS Re: named error sending response: not enough free resources

2010-01-29 Thread Chuck Swiger
Hi--

On Jan 29, 2010, at 8:51 AM, James Smallacombe wrote:
 On Thu, Jan 28, 2010 at 12:59 PM, James Smallacombe u...@3.am wrote:
 To follow up on this: Noticed the issue again this morning, which also was
 accompanied by latency so high that I could not connect (some pings got
 through at very high latency).  I emailed the provider and they told me that
 they had my port on their Ether switch set to 10Mbs.  They switched it to
 100Mbs and only time will tell if that fixes it.
[ ... ]
 Today's security run output showed this:
 
 +(RULE NUMBER) 16054161 131965203420 deny ip from any to (blocked IP)
 
 and more alarmingly, this:
 
 kernel log messages:
 +++ /tmp/security.BErFHSS3  2010-01-29 03:09:32.0 -0500
 +re0: link state changed to DOWN
 +re0: link state changed to UP

These are probably from your ISP changing the link speed from 10 to 100Mbs.

 +re0: promiscuous mode enabled
 +re0: promiscuous mode disabled
 +re0: promiscuous mode enabled
 +re0: promiscuous mode disabled
 +re0: promiscuous mode enabled
 +re0: promiscuous mode disabled

These are from running tcpdump.

 re0 obviously being the Realtek Ethernet driver.  The server itself never 
 went down during this time, but the Ethernet did.  Is there any DOS type of 
 event that could cause this, or could the root of the problem be an Ethernet 
 hardware or driver issue?  Again, it is not clear to me which is the cause 
 and which is the effect.
 
 Last bit of info:  I just did a: 'tcpdump -n | grep -i udp' and saw a bunch 
 of these, coming up a couple of times per second:
 
 11:31:59.387561 IP (IP REMOVED)  (IP REMOVED): NBT UDP PACKET(137): QUERY; 
 REQUEST; BROADCAST
 
 Where the source and destination IPs vary, but are NOT one of mine, but DO 
 appear to belong to my colo/dedicated server provider and their customers. Is 
 my server being used to DDOS others?  If so, how?

That is standard Windows NetBIOS over IP traffic.  It shouldn't be coming over 
your link unless your machines are sharing a subnet with someone else's Windows 
(or Samba) domain.  You might discuss this with your ISP and ask them what's 
up, but failing that, using IPFW rules like this would be prudent:

  add deny tcp from any 135-139 to any
  add deny tcp from any to any 135-139
  add deny udp from any 135-139 to any
  add deny udp from any to any 135-139

Regards,
-- 
-Chuck

___
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


How do I create a 40x40 pixel monochrome mage for KMail?

2010-01-29 Thread Steven Friedrich
I've noticed that several apps support images of the user, such as KMail, 
which supports a 40x40 pixel jpeg.

I have a webcam, but it won't take  a monochrome picture and it doesn't 
snapshot all the resolutions that it can display in. In particular, I tried 
the two lowest and the lowest, sqcif, isn't supported by my webcam and qsif 
seg faults. Those would have been 128x96 and 160x120.

I figured that if I used the lowest resolution, I could crop out a 40x40 
image.

Kopete also supports a 200x200 pixel image, but I think it requires exactly 
200x200, so 128x96 won't work.

I thought that someone said they used kamera to take a snapshot with their 
webcam but Logitech webcams aren't listed.

I can take one with pwcview, which is what I was talking about above.
___
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: How do I create a 40x40 pixel monochrome mage for KMail?

2010-01-29 Thread Polytropon
On Fri, 29 Jan 2010 12:41:06 -0500, Steven Friedrich free...@insightbb.com 
wrote:
 I have a webcam, but it won't take  a monochrome picture and it doesn't 
 snapshot all the resolutions that it can display in. In particular, I tried 
 the two lowest and the lowest, sqcif, isn't supported by my webcam and qsif 
 seg faults. Those would have been 128x96 and 160x120.
 
 I figured that if I used the lowest resolution, I could crop out a 40x40 
 image.

You can use ImageMagick's convert command to scale the
image, and turn it into monochrome; see man convert
for -resize and -monochrome parameters. It's even possible
to use Gimp for this task. :-)



 Kopete also supports a 200x200 pixel image, but I think it requires exactly 
 200x200, so 128x96 won't work.

You can use ! with -resize to force a specific image
size, even if it violates the source picture's aspect
ratio (which -resize usually keeps).



 I thought that someone said they used kamera to take a snapshot with their 
 webcam but Logitech webcams aren't listed.

Maybe you can use gtkam / gphoto2 to talk to the Logitech
camera? I don't own one because I'm familiar with the fact
that they are not standard-compatible and that's why not
supported.



 I can take one with pwcview, which is what I was talking about above.

You can even use a regular digital camera to take the
photo, transfer it from the camera (or its CF or SD storage)
and then postprocess it with ImageMagick.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: How do I create a 40x40 pixel monochrome mage for KMail?

2010-01-29 Thread Chuck Swiger
On Jan 29, 2010, at 9:41 AM, Steven Friedrich wrote:
 I've noticed that several apps support images of the user, such as KMail, 
 which supports a 40x40 pixel jpeg.
 
 I have a webcam, but it won't take  a monochrome picture and it doesn't 
 snapshot all the resolutions that it can display in. In particular, I tried 
 the two lowest and the lowest, sqcif, isn't supported by my webcam and qsif 
 seg faults. Those would have been 128x96 and 160x120.

Take a bigger image, convert it to greyscale, resize it down to the size you 
want.  You could most easily do this with Photoshop, IrfanView, GIMP, 
ImageMagick, etc, but something like graphics/netpbm will work even on the 
FreeBSD command line

Regards,
-- 
-Chuck

___
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: gjournal on compact flash

2010-01-29 Thread Nikos Vassiliadis

On 1/28/2010 6:51 PM, Adam Vande More wrote:

On Thu, Jan 28, 2010 at 10:42 AM, Nikos Vassiliadisnvass9...@gmx.comwrote:


Hi,

I am using a 40MB journal on a 500MB compact flash.
Would that be sane, or I am causing more harm than
good?

My concerns are:
1) wear leveling. The journal is on specific part
of the disk writing again and again. That
should be handled by the CF itself. Though
I am not sure it does a good job???
2) I do care about ungraceful power cycles and I've seen
posts on the net, mentioning:


More, If
   you interrupt power at arbitrary times while the device is writing,
   you can lose the integrity of the file system being modified. The loss
   is not limited to the 512 byte sector being modified, as it generally
   is  with rotating disks; you can lose an entire erase block, maybe 64K
   at once.


I guess the above comment renders the use
of a journaling filesystem useless. But, doing
some naive tests, power cycling the machine
while writing and checksumming the data after
fsck in preen mode, revealed no error.

Thanks in advance for any insights, Nikos



Soft Updates seem more appropriate for a 500MB CF drive than gjournal.
AFAIK, they are a wash in terms of reliability, and gjournal needs to write
all data twice meaning it's slower, and increases the wear on the drive.
The big drawback to soft updates is the fsck times after an unclean shutdown
which really shouldn't be an issue on a 500MB drive.



fsck time in my case is not an issue. What concerns me mostly is
a situation where user intervention is required. The CF filesystem
will be used in a embedded system and should work without user
intervention. I too feel that geom journaling is not the best
solution for my needs, but softupdates need more attention than
gjournal. Perhaps, I should wait for SUJ, which will be in the
tree soon.

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


/libexec/ld-elf.so.1: /usr/local/lib/libssl.so.6: Undefined symbol EVP_idea_cbc

2010-01-29 Thread Ronny Forberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

my FreeBSD seems to be broken, since I get the following error when
trying to link against libssl etc:

/libexec/ld-elf.so.1: /usr/local/lib/libssl.so.6: Undefined symbol
EVP_idea_cbc

I am using openssl-0.9.8k_5 from the base system 8.0.

uname -a = FreeBSD sonne.rf.homeunix.net 8.0-RELEASE FreeBSD
8.0-RELEASE #0: Fri Dec  4 21:26:46 CET 2009
r...@sonne.rf.homeunix.net:/usr/obj/usr/src/sys/GENERIC  amd64

Can you help me ? Any further info I will provide.

Thanks,
Ronny

- --
___
Ronny Forberger
ronnyforberger at ronnyforberger.de
PGP public key:
http://www.ronnyforberger.de/~rf/wwwroot/pgp/0x71AE1E17.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktjNvkACgkQC1+bGHGuHhfVGQCgjKoWYsGjKnGGpxnx4MzwImqw
ES8AnixZdHvvAgJWDS6AWcD9NhYbIiZJ
=mrAj
-END PGP SIGNATURE-

___
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: /libexec/ld-elf.so.1: /usr/local/lib/libssl.so.6: Undefined symbol EVP_idea_cbc

2010-01-29 Thread Chuck Swiger
Hi--

On Jan 29, 2010, at 11:29 AM, Ronny Forberger wrote:
 my FreeBSD seems to be broken, since I get the following error when
 trying to link against libssl etc:
 
 /libexec/ld-elf.so.1: /usr/local/lib/libssl.so.6: Undefined symbol
 EVP_idea_cbc
 
 I am using openssl-0.9.8k_5 from the base system 8.0.

Actually, the base system OpenSSL would be located at /usr/lib/libssl.so.# ; 
the error message you display there indicates that you've got another 
installation of OpenSSL under /usr/local.  Running:

  pkg_which /usr/local/lib/libssl.so.6

...might indicate whether you installed it from a port, in which case updating 
ports and rebuilding it would likely help.

Regards,
-- 
-Chuck

___
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


Printing via ulpt0 extremely slow

2010-01-29 Thread Jens Schweikhardt
hello, world\n

I have a system with a handful of kernels I chose from with grub.
Recently compiled 8-STABLE systems show strange printing behaviour.
While a one year old 8.0-CURRENT #0 r185532 has no problem printing to
my HP Laserjet 2300d (via cups and USB/ulpt0), newer systems and even
9-CURRENT print extremely slow, on the order of 1 page every 6 minutes.
The printer's Data LED blinks sometimes erratically, sometimes is on
for a few seconds, with intermittent periods of 1Hz blinking (which is
the expected normal behavior).

So I'm wondering what causes this oddity. I've ruled out an issue
with hald/dbus which recent systems use for xorg 7.4, by turning them
off, rebooting and printing from the console--same slow printing.

The cups log says it sent the file succesfully (/var/log/cups/access_log):
localhost - - [29/Jan/2010:20:17:11 +0100] POST /printers/LaserJet_2300d 
HTTP/1.1 200 18530 Send-Document successful-ok

I can't find anything obvious in my kernel config that might account
for this behavior.

It does not matter if the printer is on or off when the system
starts.

I've read about interrupt storms (when printing via lpt0), but vmstat -i
looks sane AFAICT:

$ vmstat -i
interrupt  total   rate
irq16: vgapci0 ahc*   192947 62
irq18: skc0 uhci2++ 3765  1
irq19: fwohci0++  383725124
irq23: uhci3 ehci1  3700  1
cpu0: timer  6227448   2018
irq256: hdac0 92  0
cpu1: timer  6219346   2015
Total   13031023   4223

Anyone seen something similar? What else can I try to debug this
problem?

Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
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


Xorg Not Finding AGP Card

2010-01-29 Thread Programmer In Training
First time I installed FreeBSD (yes, there was a first time, I managed
to hose the root account and had to start over again) I was asked
something about whether or not my vid card was PCI or AGP. I answered
AGP (as that is all I have that is halfway decent). I had Xorg up and
running with minimum fuss (aside from it's choice of default wm even
when I had wmaker already installed), I had no such prompt this time,
which I didn't think of until now.

I've got the latest Xorg installed from ports (I think it's 7.4_2).

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

#Xorg -configure
bunch of stuff about it failing
No devices to configure. Configuration failed.

Which is a pile of malarky, obviously. It also says it cannot find
fbdev. hald and dbus are installed (although I get no such command
when I try to start dbus from the cli (despite it being a requirement
for like 50 million different packages (yes, I can nest parenthesis and
use hyperbole all day long), half of which are probably installed by now)).

I am /not/ reinstalling for this relatively minor problem, though my
patience (mainly with my lack of apparent ability) is wearing thin.
-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.



signature.asc
Description: OpenPGP digital signature


Re: /libexec/ld-elf.so.1: /usr/local/lib/libssl.so.6: Undefined symbol EVP_idea_cbc

2010-01-29 Thread Ronny Forberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chuck Swiger schrieb:
 Hi--

 On Jan 29, 2010, at 11:29 AM, Ronny Forberger wrote:
 my FreeBSD seems to be broken, since I get the following error
 when trying to link against libssl etc:

 /libexec/ld-elf.so.1: /usr/local/lib/libssl.so.6: Undefined
 symbol EVP_idea_cbc

 I am using openssl-0.9.8k_5 from the base system 8.0.

 Actually, the base system OpenSSL would be located at
 /usr/lib/libssl.so.# ; the error message you display there
 indicates that you've got another installation of OpenSSL under
 /usr/local.  Running:

 pkg_which /usr/local/lib/libssl.so.6

 ...might indicate whether you installed it from a port, in which
 case updating ports and rebuilding it would likely help.

 Regards,
Thanks for the help. I installed from a binary package using pkg_add
- -r openssl since I cannot build openssl from ports:

[r...@sonne ~]# portupgrade -f openssl
** Port marked as IGNORE: security/openssl:
is marked as broken: No patchset for 0.9.8
** Listing the failed packages (-:ignored / *:skipped / !:failed)
- security/openssl (marked as IGNORE)

(Using RELEASE_8_0_0)

I dont really want to upgrade to Freebsd-current Ports. How can I fix
the missing symbol error then?

Cheers,

- --
___
Ronny Forberger
ronnyforberger at ronnyforberger.de
PGP public key:
http://www.ronnyforberger.de/~rf/wwwroot/pgp/0x71AE1E17.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktjQ5AACgkQC1+bGHGuHhfGzQCfUqEyRtF1GSxV1JnlO5DEZcNT
aKcAnjwjEOWRWqjem44FDtPy5P2MbO45
=sKHQ
-END PGP SIGNATURE-

___
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: /libexec/ld-elf.so.1: /usr/local/lib/libssl.so.6: Undefined symbol EVP_idea_cbc

2010-01-29 Thread Chuck Swiger
On Jan 29, 2010, at 12:22 PM, Ronny Forberger wrote:
 Thanks for the help. I installed from a binary package using pkg_add
 - -r openssl since I cannot build openssl from ports:
 
 [r...@sonne ~]# portupgrade -f openssl
 ** Port marked as IGNORE: security/openssl:
 is marked as broken: No patchset for 0.9.8
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
 - security/openssl (marked as IGNORE)
 
 (Using RELEASE_8_0_0)
 
 I dont really want to upgrade to Freebsd-current Ports. How can I fix the 
 missing symbol error then?

Delete the broken OpenSSL port and use OpenSSL from the base system instead.  
Anything which is trying to use the /usr/local/lib version will have to be 
recompiled

Regards,
-- 
-Chuck

___
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


Shared object libcrypt.so.4 not found ...(or library munging after make-delete-old)

2010-01-29 Thread mikel king
As expected several port needed to be rebuilt however I have hit a  
roadblock with the built in perl with.


===Verifying install for /usr/local/lib/perl5/site_perl/5.8.8/ 
Date/Parse.pm in /usr/ports/devel/p5-TimeDate
===   p5-TimeDate-1.20,1 depends on file: /usr/local/bin/perl5.8.8 -  
found

===  Configuring for p5-TimeDate-1.20,1
/libexec/ld-elf.so.1: Shared object libcrypt.so.4 not found,  
required by perl5.8.8


I would have thought that perl was rebuilt when I make the world and  
upgraded from 7.x to 8.0.


Anyone have a quick and easy fix out of this mess?

Thanks in advance.

Cheers,
Mikel

___
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: Shared object libcrypt.so.4 not found ...(or library munging after make-delete-old)

2010-01-29 Thread Chuck Swiger
Hi--

On Jan 29, 2010, at 12:45 PM, mikel king wrote:
[ ... ]
 I would have thought that perl was rebuilt when I make the world and upgraded 
 from 7.x to 8.0.
 
 Anyone have a quick and easy fix out of this mess?

perl isn't part of FreeBSD 7.x; hence, it was not rebuilt when you upgraded to 
8.0.

There isn't a quick and easy fix to dealing with ports after upgrading to a 
different major OS version, short of rebuilding all of the installed ports.

Regards,
-- 
-Chuck

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

2010-01-29 Thread Clayton Scott Kern
I just upgraded to FBSD 8.0 from 6.4 and I'm having a problem with
sendmail passing email to procmail.  I only use this combination for
email from root's cron jobs.  Right now emails to me from cron go to
/var/mail/ckern1.

Here's my mc file:


divert(-1)
#
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
#   The Regents of the University of California.  All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#notice, this list of conditions and the following disclaimer in the
#documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#must display the following acknowledgement:
#   This product includes software developed by the University of
#   California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
#may be used to endorse or promote products derived from this software
#without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#

#
#  This is a generic configuration file for FreeBSD 5.X and later systems.
#  If you want to customize it, copy it to a name appropriate for your
#  environment and do the modifications there.
#
#  The best documentation for this .mc file is:
#  /usr/share/sendmail/cf/README or
#  /usr/src/contrib/sendmail/cf/README
#

divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.37.2.1.2.1 2009/10/25 
01:10:29 kensmith Exp $')
OSTYPE(freebsd6)
DOMAIN(generic)

FEATURE(access_db, `hash -o -TTMPF /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(local_procmail)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

dnl Uncomment to allow relaying based on your MX records.
dnl NOTE: This can allow sites to use your server as a backup MX without
dnl   your permission.
dnl FEATURE(relay_based_on_MX)

dnl DNS based black hole lists
dnl 
dnl DNS based black hole lists come and go on a regular basis
dnl so this file will not serve as a database of the available servers.
dnl For that, visit
dnl http://www.google.com/Top/Computers/Internet/E-mail/Spam/Blacklists/

dnl Uncomment to activate Realtime Blackhole List
dnl information available at http://www.mail-abuse.com/
dnl NOTE: This is a subscription service as of July 31, 2001
dnl FEATURE(dnsbl)
dnl Alternatively, you can provide your own server and rejection message:
dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', ``550 Mail from  
${client_addr}  rejected, see http://mail-abuse.org/cgi-bin/lookup?; 
${client_addr}'')

dnl Dialup users should uncomment and define this appropriately
FEATURE(masquerade_envelope)
dnl Setup for RoadRunner
MASQUERADE_AS(`roadrunner.com')
MASQUERADE_DOMAIN(`myhost.roadrunner.com')
define(`SMART_HOST', `smtp-server.roadrunner.com')

dnl Uncomment the first line to change the location of the default
dnl /etc/mail/local-host-names and comment out the second line.
dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw')
define(`confCW_FILE', `-o /etc/mail/local-host-names')

dnl Enable for both IPv4 and IPv6 (optional)
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')

define(`confBIND_OPTS', `WorkAroundBroken')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)
MAILER(procmail)

I created the cf file using make cf, then make install and make restart.

What have I missed.  This is the same setup on 6.4 and it worked fine.

Thank you in advance

-- 
Clayton Scott Kern
cke...@roadrunner.com

Finally, brethern, whatever is true,
whatever is honorable, whatever is
right, whatever is pure, whatever is
lovely, whatever is of good repute,
if there is any excellence and if
anything wothy of praise, dwell on
these things.

   

Re: Sendmail Procmail

2010-01-29 Thread David Kelly
On Fri, Jan 29, 2010 at 02:59:34PM -0500, Clayton Scott Kern wrote:
 I just upgraded to FBSD 8.0 from 6.4 and I'm having a problem with
 sendmail passing email to procmail.  I only use this combination for
 email from root's cron jobs.  Right now emails to me from cron go to
 /var/mail/ckern1.

[...]

 I created the cf file using make cf, then make install and make
 restart.

OK, but did the procmail enhancements make it in the generated .cf file?

 What have I missed.  This is the same setup on 6.4 and it worked fine.

If making procmail available (or mandatory) for all users I can see
justification for what you are trying. But for just one user why not
keep it simple with a |/usr/local/bin/procmail in /etc/aliases?

-- 
David Kelly N4HHE, dke...@hiwaay.net

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


Is there a driver for memory sticks?

2010-01-29 Thread Steven Friedrich
I'd like to access the digital media slots on my laptop.

Specifically, I want to read Sony Memory Sticks.

pciconf -lv shows the devices:

no...@pci0:11:0:3:  class=0x018000 card=0x3082103c chip=0x8033104c rev=0x00 
hdr=0x00
vendor = 'Texas Instruments (TI)'
device = 'PCIxx11/21 Integrated FlashMedia Controller'
class  = mass storage
no...@pci0:11:0:4:  class=0x080500 card=0x3082103c chip=0x8034104c rev=0x00 
hdr=0x00
vendor = 'Texas Instruments (TI)'
device = 'SDA Standard Compliant SD Host Controller (10981734)'
class  = base peripheral
subclass   = SD host controller


Also, is there one for high definition audio?

no...@pci0:0:30:3:  class=0x070300 card=0x3082103c chip=0x266d8086 rev=0x03 
hdr=0x00
vendor = 'Intel Corporation'
device = 'Intel 82801GB ICH7 - High Definition Audio Controller [A-1] 
(82801I)'
class  = simple comms
subclass   = generic modem

I guess this is my built in modem, but could it also be used as a sound 
device?
no...@pci0:0:30:3:  class=0x070300 card=0x3082103c chip=0x266d8086 rev=0x03 
hdr=0x00
vendor = 'Intel Corporation'
device = 'Intel 82801GB ICH7 - High Definition Audio Controller [A-1] 
(82801I)'
class  = simple comms
subclass   = generic modem
no...@pci0:11:0:2:  class=0x0c0010 card=0x3082103c chip=0x8032104c rev=0x00 
hdr=0x00
vendor = 'Texas Instruments (TI)'
device = 'OHCI Compliant IEEE-1394 FireWire Controller'
class  = serial bus
subclass   = FireWire
no...@pci0:11:0:3:  class=0x018000 card=0x3082103c chip=0x8033104c rev=0x00 
hdr=0x00
vendor = 'Texas Instruments (TI)'
device = 'PCIxx11/21 Integrated FlashMedia Controller'
class  = mass storage
no...@pci0:11:0:4:  class=0x080500 card=0x3082103c chip=0x8034104c rev=0x00 
hdr=0x00
vendor = 'Texas Instruments (TI)'
device = 'SDA Standard Compliant SD Host Controller (10981734)'
class  = base peripheral
subclass   = SD host controller
no...@pci0:11:3:0:  class=0x028000 card=0x1355103c chip=0x431814e4 rev=0x02 
hdr=0x00
vendor = 'Broadcom Corporation'
device = 'Broadcom 802.11b/g (BCM43XX)'
class  = network
___
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: Xorg Not Finding AGP Card

2010-01-29 Thread Charlie Kester

On Fri 29 Jan 2010 at 12:15:03 PST Programmer In Training wrote:

First time I installed FreeBSD (yes, there was a first time, I managed
to hose the root account and had to start over again) I was asked
something about whether or not my vid card was PCI or AGP. I answered
AGP (as that is all I have that is halfway decent). I had Xorg up and
running with minimum fuss (aside from it's choice of default wm even
when I had wmaker already installed), I had no such prompt this time,
which I didn't think of until now.

I've got the latest Xorg installed from ports (I think it's 7.4_2).

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

#Xorg -configure
bunch of stuff about it failing
No devices to configure. Configuration failed.

Which is a pile of malarky, obviously. It also says it cannot find
fbdev. hald and dbus are installed (although I get no such command
when I try to start dbus from the cli (despite it being a requirement
for like 50 million different packages (yes, I can nest parenthesis and
use hyperbole all day long), half of which are probably installed by now)).


I'm not sure why Xorg isn't seeing your video card. Do you see a device
named agpgart in /dev?   If not, it probably means the agp module
couldn't identify your card when you last booted the machine.  What's
the make and model of your card, and what version of FreeBSD are you
running?

You're not supposed to start hald or dbus from the commandline like
that.  Instead add the following lines to your /etc/rc.conf file:

hald_enable=YES
dbus_enable=YES

Then run the following commands from the command line:

/usr/local/etc/rc.d/hald start
/usr/local/etc/rc.d/dbus start

___
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: Xorg Not Finding AGP Card

2010-01-29 Thread Programmer In Training
On 1/29/2010 4:30 PM, Charlie Kester wrote:
snip
 I'm not sure why Xorg isn't seeing your video card. Do you see a device
 named agpgart in /dev?   If not, it probably means the agp module
 couldn't identify your card when you last booted the machine.  What's
 the make and model of your card, and what version of FreeBSD are you
 running?

ATI Radeon 9200 (might be just a 9K, I forget exactly),
FreeBSD-8.0RELEASE. What would have changed between first install and
this one?

Yes, agpgart is there.

 You're not supposed to start hald or dbus from the commandline like
 that.  Instead add the following lines to your /etc/rc.conf file:
 
 hald_enable=YES
 dbus_enable=YES

Already there, just seems like last time I was able to start dbus from
the cli.

 Then run the following commands from the command line:
 
 /usr/local/etc/rc.d/hald start
 /usr/local/etc/rc.d/dbus start

which is probably how I did it before. Heh.

I've already rebooted since adding the hald and dbus lines to rc.conf

-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.



signature.asc
Description: OpenPGP digital signature


Re: gjournal on compact flash

2010-01-29 Thread Adam Vande More
On Fri, Jan 29, 2010 at 1:39 PM, Nikos Vassiliadis nvass9...@gmx.comwrote:

 fsck time in my case is not an issue. What concerns me mostly is
 a situation where user intervention is required. The CF filesystem
 will be used in a embedded system and should work without user
 intervention. I too feel that geom journaling is not the best
 solution for my needs, but softupdates need more attention than
 gjournal. Perhaps, I should wait for SUJ, which will be in the
 tree soon.

 Nikos


There is an rc flags to automatically do a full fsck instead of backgroud,
but I am unsure exactly what you mean by user intervention.


-- 
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: Is there a driver for memory sticks?

2010-01-29 Thread Pieter de Goeje
On Friday 29 January 2010 23:14:06 Steven Friedrich wrote:
 I'd like to access the digital media slots on my laptop.

 Specifically, I want to read Sony Memory Sticks.

 pciconf -lv shows the devices:

 no...@pci0:11:0:3:class=0x018000 card=0x3082103c chip=0x8033104c rev=0x00
 hdr=0x00
 vendor = 'Texas Instruments (TI)'
 device = 'PCIxx11/21 Integrated FlashMedia Controller'
 class  = mass storage
 no...@pci0:11:0:4:class=0x080500 card=0x3082103c chip=0x8034104c rev=0x00
 hdr=0x00
 vendor = 'Texas Instruments (TI)'
 device = 'SDA Standard Compliant SD Host Controller (10981734)'
 class  = base peripheral
 subclass   = SD host controller

Probably supported by sdhci(4).



 Also, is there one for high definition audio?

 no...@pci0:0:30:3:class=0x070300 card=0x3082103c chip=0x266d8086 rev=0x03
 hdr=0x00
 vendor = 'Intel Corporation'
 device = 'Intel 82801GB ICH7 - High Definition Audio Controller
 [A-1] (82801I)'
 class  = simple comms
 subclass   = generic modem

 I guess this is my built in modem, but could it also be used as a sound
 device?

Try snd_hda(4).

Good luck!

--
Pieter
___
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: Sendmail Procmail

2010-01-29 Thread Clayton Scott Kern
on 01-29-2010, David Kelly wrote:
 On Fri, Jan 29, 2010 at 02:59:34PM -0500, Clayton Scott Kern wrote:
  I just upgraded to FBSD 8.0 from 6.4 and I'm having a problem with
  sendmail passing email to procmail.  I only use this combination for
  email from root's cron jobs.  Right now emails to me from cron go to
  /var/mail/ckern1.
 
 [...]
 
  I created the cf file using make cf, then make install and make
  restart.
 
 OK, but did the procmail enhancements make it in the generated .cf file?
 
  What have I missed.  This is the same setup on 6.4 and it worked fine.
 
 If making procmail available (or mandatory) for all users I can see
 justification for what you are trying. But for just one user why not
 keep it simple with a |/usr/local/bin/procmail in /etc/aliases?
 
 -- 
 David Kelly N4HHE, dke...@hiwaay.net
 
 Whom computers would destroy, they must first drive mad.

I aliased root to me and now it works.  Thank you for the tip.

I set up sendmail this way years ago, before I discovered fetchmail,
procmail, getmail  maildrop.

I would like to get away from sendmail or any other MTA for that matter, but
never found solution for handling the emails generated by the system.

-- 
Clayton Scott Kern
cke...@roadrunner.com

Finally, brethern, whatever is true,
whatever is honorable, whatever is
right, whatever is pure, whatever is
lovely, whatever is of good repute,
if there is any excellence and if
anything wothy of praise, dwell on
these things.

   Phil 4:8 NASB
___
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: Sendmail Procmail

2010-01-29 Thread Matt Emmerton

on 01-29-2010, David Kelly wrote:

On Fri, Jan 29, 2010 at 02:59:34PM -0500, Clayton Scott Kern wrote:
 I just upgraded to FBSD 8.0 from 6.4 and I'm having a problem with
 sendmail passing email to procmail.  I only use this combination for
 email from root's cron jobs.  Right now emails to me from cron go to
 /var/mail/ckern1.

[...]

 I created the cf file using make cf, then make install and make
 restart.

OK, but did the procmail enhancements make it in the generated .cf file?

 What have I missed.  This is the same setup on 6.4 and it worked fine.

If making procmail available (or mandatory) for all users I can see
justification for what you are trying. But for just one user why not
keep it simple with a |/usr/local/bin/procmail in /etc/aliases?


I aliased root to me and now it works.  Thank you for the tip.

I set up sendmail this way years ago, before I discovered fetchmail,
procmail, getmail  maildrop.

I would like to get away from sendmail or any other MTA for that matter, 
but

never found solution for handling the emails generated by the system.


Check out DragonFlyBSD's dma(1).  It's designed just for this purpose.

--
Matt Emmerton 


___
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


Software RAID options

2010-01-29 Thread Danny Edge
What works for you and can you suggest a guide? I haven't setup a BSD server
in 8 years, but my environment will be:

FreeBSD 7.2 Release
x2 HD's (not the same size, if I need to spend the money, on two like
drives, kindly insist)
DNS cache and auth
Postfix MTA
1 user/1 IMAP mailbox  less than 10GB's of data

I also plan on backing up via newbie rsync and SSH scripts.

Thanks.


-- 
CPDE - Certified Petroleum Distribution Engineer
CCBC - Certified Canadian Beer Consumer
___
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: Software RAID options

2010-01-29 Thread Glen Barber
Hi,

Danny Edge wrote: 
 What works for you and can you suggest a guide? I haven't setup a BSD server
 in 8 years, but my environment will be:

I've been using gmirror for some time, without problems.

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

 
 FreeBSD 7.2 Release
 x2 HD's (not the same size, if I need to spend the money, on two like

You really never specified your RAID type.  If it is RAID-0 (striping), as
the cliche goes, size doesn't matter.  If it is RAID-1, if you do not have
identically sized disks, the mirror will only be as large as the smallest
disk.  (This is mentioned in the handbook, as well.)

 
 I also plan on backing up via newbie rsync and SSH scripts.
 

May I suggest rsnapshot?

Regards,

-- 
Glen Barber
___
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: Software RAID options

2010-01-29 Thread Danny Edge
On Fri, Jan 29, 2010 at 11:18 PM, Glen Barber glen.j.bar...@gmail.comwrote:

 Hi,

 Danny Edge wrote:
  What works for you and can you suggest a guide? I haven't setup a BSD
 server
  in 8 years, but my environment will be:

 I've been using gmirror for some time, without problems.

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


Thanks, Glen, I should have mentioned that I did see gmirror mentioned in
the HB. Pending further suggestions, I will try gmirror for software RAID 1
(yes, as large as the smallest disk).

[Snip...]
.


 
  I also plan on backing up via newbie rsync and SSH scripts.
 

 May I suggest rsnapshot?


I will look into rsnapshot. All these new tools that I didn't have 10 years
ago!



-- 
CPDE - Certified Petroleum Distribution Engineer
CCBC - Certified Canadian Beer Consumer
___
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: gam_server opening 4000 file descriptors

2010-01-29 Thread Volodymyr Kostyrko

On 29.01.2010 17:09, Erich Dollansky wrote:


I have had to set a FreeBSD up again after the hard disk died.

It runs now on 7.2.

I noticed today that the gam_server opens some 4000 file descriptors.

Ok, I have read

http://www.gnome.org/~veillard/gamin/

All I have found out is that I should increase the number of file descriptors.

Isn't there any other way to tell gamin not to do this?


Don't increase the number of file descriptors. Did you read pkg-message? 
gamin uses at most 70% of kern.maxfiles


On the other hand you can switch to polling. This way gamin would not 
use file descriptors in expense of greater cpu usage.


--
Sphinx of black quartz judge my vow.

___
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