Re: freezing, hard locking, and debug.mpsafenet=0

2007-10-08 Thread Per olof Ljungmark

Elvar wrote:

Hi there,


http://www.freebsdforums.com/forums/showthread.php?t=38765&page=1&pp=1 
  
which seemed to describe the same freezing I was having. One person 
mentioned setting debug.mpsafenet=0 in /boot/loader.conf and not having 
a problem since doing so. Well, I ended up doing the same thing and it's 
been about 25 days with not one freeze / lockup.


It's my understanding that the ability to even disable this has been 
taken out of 7.x, I only can hope that it's not an issue in 7.x like it 
is on some systems in 6.x. So anyway, I hope this helps someone out.


Hi,
What hardware is this? Sounds very similar to something I've seen too, 
if it's the samt issue I can confirm it is happening in -CURRENT also.


Could someone familiar with -CURRENT perhaps explain why this option 
(debug.mpsafenet=0) is gone?


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


Re: freezing, hard locking, and debug.mpsafenet=0

2007-10-08 Thread Per olof Ljungmark

Kris Kennaway wrote:

Per olof Ljungmark wrote:

Elvar wrote:

Hi there,






Could someone familiar with -CURRENT perhaps explain why this option 
(debug.mpsafenet=0) is gone?


Because it was an obsolete option that was complicating the code and 
holding back further development.


If you are seeing bugs, you need to follow through with obtaining the 
necessary debugging (see the developers handbook), then submit a PR. 
Note that if you don't do this then you cannot reasonably expect anyone 
to fix your problems.


Kris, if a system locks up completely (does not take any input, no 
dumps, just stop) is there anything one can do in terms of debugging?


I would post more information if I knew how to get it.

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


Re: freezing, hard locking, and debug.mpsafenet=0

2007-10-08 Thread Per olof Ljungmark

Kris Kennaway wrote:

Per olof Ljungmark wrote:

Kris Kennaway wrote:

Per olof Ljungmark wrote:

Elvar wrote:

Hi there,






Could someone familiar with -CURRENT perhaps explain why this option 
(debug.mpsafenet=0) is gone?


Because it was an obsolete option that was complicating the code and 
holding back further development.


If you are seeing bugs, you need to follow through with obtaining the 
necessary debugging (see the developers handbook), then submit a PR. 
Note that if you don't do this then you cannot reasonably expect 
anyone to fix your problems.


Kris, if a system locks up completely (does not take any input, no 
dumps, just stop) is there anything one can do in terms of debugging?

 >
 > I would post more information if I knew how to get it.

Of course, and it's documented in the above place.  Did you read it yet?


I've used that information on other occasions but then at least the 
keyboard was functional. Not sure how to interpret what is says in a 
proper fashion, I could guess of course: What I see is termed a 
"deadlock"? I'll definitely try that one on this little bugger then.


Thanks,

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


Re: genuine bulk email

2007-10-12 Thread Per olof Ljungmark

Robin Becker wrote:

Jeffrey Goldberg wrote:




The checking will work fine with virtual domains.  What matters is that

   DNS(rDNS(IP)) = IP  = DNS(vhost)

I think I've got that right.  (It's a bit more complicated to state 
when MXes and multiple A records for the same name are considered, but 
this is the general idea.)




This is your problem:

Ass long as the reverse DNS for the sending IP does not resolve to an 
existing domain name you are fried. Fix that and you're all set.


dig -x 217.196.247.135

; <<>> DiG 9.3.3 <<>> -x 217.196.247.135
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 28770
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;135.247.196.217.in-addr.arpa.  IN  PTR

;; AUTHORITY SECTION:
247.196.217.in-addr.arpa. 3600  IN  SOA ns0.highspeedoffice.net. 
hostmaster.highspeedoffice.net. 2007061800 28800 7200 2419200 3600


;; Query time: 56 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Oct 12 22:09:13 2007
;; MSG SIZE  rcvd: 116
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Recent branching of CURRENT

2007-10-12 Thread Per olof Ljungmark

Hi,
Just out of curiosity, why did I fail to notice the branching of 
RELENG_7 and 8-CURRENT? I'm subscribed to -stable, -current and -announce.


Thanks,

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


Re: Recent branching of CURRENT

2007-10-12 Thread Per olof Ljungmark

Mel wrote:

On Friday 12 October 2007 23:15:32 Kris Kennaway wrote:

Per olof Ljungmark wrote:

Hi,
Just out of curiosity, why did I fail to notice the branching of
RELENG_7 and 8-CURRENT? I'm subscribed to -stable, -current and
-announce.

Because it's an administrative change that is just a normal part of the
release engineering process.  i.e. 7.0 is not released etc.


And RELENG_7 is not considered the 'stable' branch yet, but 8-CURRENT is just 
forked for development of entirely new features? I.o.w. do we 2 current or 2 
stable branches now?


I would assume we have one current still (8-) and a pile of -STABLE 
(2.2-, 3-, 4-, 5-, 6- and now 7-).


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


Re: Recent branching of CURRENT

2007-10-12 Thread Per olof Ljungmark

Kris Kennaway wrote:

Mel wrote:

On Friday 12 October 2007 23:15:32 Kris Kennaway wrote:

Per olof Ljungmark wrote:

Hi,
Just out of curiosity, why did I fail to notice the branching of
RELENG_7 and 8-CURRENT? I'm subscribed to -stable, -current and
-announce.

Because it's an administrative change that is just a normal part of the
release engineering process.  i.e. 7.0 is not released etc.


And RELENG_7 is not considered the 'stable' branch yet, but 8-CURRENT 
is just forked for development of entirely new features? I.o.w. do we 
2 current or 2 stable branches now?


Those are just names, don't worry too much about it.  RELENG_7 will be 
the start of a new -STABLE branch once it is released.


Mmmm... forgot we've got PRERELEASE too, sorry.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recent branching of CURRENT

2007-10-12 Thread Per olof Ljungmark

Mel wrote:

On Saturday 13 October 2007 01:15:45 Kris Kennaway wrote:

Mel wrote:

On Friday 12 October 2007 23:15:32 Kris Kennaway wrote:

Per olof Ljungmark wrote:

Hi,
Just out of curiosity, why did I fail to notice the branching of
RELENG_7 and 8-CURRENT? I'm subscribed to -stable, -current and
-announce.

Because it's an administrative change that is just a normal part of the
release engineering process.  i.e. 7.0 is not released etc.

And RELENG_7 is not considered the 'stable' branch yet, but 8-CURRENT is
just forked for development of entirely new features? I.o.w. do we 2
current or 2 stable branches now?

Those are just names, don't worry too much about it.  RELENG_7 will be
the start of a new -STABLE branch once it is released.


That is actually what I'm worried about. It means drivers are less likely to 
be MFC'd to RELENG_6 from 7.0-RELEASE onwards - I was hoping that wouldn't 
happen till 7.1.


It's called progress. This is normal. If you need a driver that is 
happening in 7- only, then upgrade to 7. RELENG_6 will turn into a 
"supported fix branch" or whatever the name is and RELENG_7 is where the 
action takes place, just like it has been going on for quite some time 
(please correct me if I'm wrong).




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


Re: Postfix woes

2007-10-19 Thread Per olof Ljungmark


This insanity has nothing to do with Postfix, if you can't find the
cron jobs, start scripts, management agents, ... that are doing this,
go back the FreeBSD list and ask for help to find them.

  

Aloha,

I run Postfix/Dovecot under FreeBSD 7* since Jan 2007.
I had trouble with postfix by itself on FreeBSD when I first set up a 
mail server. I then had one of the FreeBSD gurus on the list suggest I 
run Dovecot to make postfix behave nicely on FreeBSD. That solved my 
problems.
If you havent tried this FreeBSD Postfix/Dovecot based install it may 
work for you.
Also if you are running Dovecot remember just start it in /etc/rc.conf 
you dont need to start postfix in there as well.

If you are just running Postfix you have to start it in /etc/rc.conf


I strongly suggests the OP sorts his Postfix problems first, then move 
on. Installing more software that you are not experienced with woulod 
hardly help. The previous suggestions on how to proceed would be a good 
start instead.


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


Re: More Postfix Woes

2007-10-18 Thread Per olof Ljungmark

Rem P Roberti wrote:

I don't know what is going on with respect to Postfix during my boot
process, but the program starts, and stops, starts, and stops, and this
newbie is a little perplexed.  Fortunately, it ends up started, so I
have access to my email, but something is obviously not right here.  I
have provided below entries from my latest maillog.  Any help is
appreciated...



Oct 18 14:28:15 bsd postfix/trivial-rewrite[2976]: warning: database
/usr/local/etc/postfix/transport.db is older than source file
/usr/local/etc/postfix/transport
Oct 18 14:28:15 bsd postfix/cleanup[2975]: 9D9EF1D0C6:
message-id=<[EMAIL PROTECTED]>
Oct 18 14:28:15 bsd postfix/qmgr[903]: 9D9EF1D0C6:
from=<[EMAIL PROTECTED]>, size=2780, nrcpt=2 (queue active)
Oct 18 14:28:16 bsd postfix/smtp[2977]: 9D9EF1D0C6:
to=<[EMAIL PROTECTED]>, relay=smtp.comcast.net[204.127.225.17]:25,
delay=1.1, delays=0.03/0.08/0.41/0.57, dsn=2.0.0, status=sent (250 ok ;
id=20071018212731b1100331cce)
Oct 18 14:28:16 bsd postfix/smtp[2977]: 9D9EF1D0C6:
to=<[EMAIL PROTECTED]>, relay=smtp.comcast.net[204.127.225.17]:25,
delay=1.1, delays=0.03/0.08/0.41/0.57, dsn=2.0.0, status=sent (250 ok ;
id=20071018212731b1100331cce)
Oct 18 14:28:16 bsd postfix/qmgr[903]: 9D9EF1D0C6: removed


Hello,

First:

Run "postmap transport" from the /usr/local/etc/postfix directory

Then, I saw one stop/start in the above, could it be yourself doing it 
or you restarted the machine? Otherwise nothing alarming...


http://www.postfix.org/
is an excellent source of information on Postfix.

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


Re: OpenLDAP 2.3/pam_ldap/nss_ldap: not working in FreeBSD 7.0-PRE!

2007-10-22 Thread Per olof Ljungmark

O. Hartmann wrote:
For weeks now I tried to get an OpenLDAP-server on a local FreeBSD 
7.0-PRE box running, but with no success. Within the last 8 weeks I 
tried nearly EVERY tutorial and there explained setups, but whenever I 
try to authenticate or find an ID for an existing user in the DIT, I 
receive either errors that the client (pam/nss, ssh, id etc.) can not 
connect to the slapd running on the same machine.



We have this config running on 7 since months. I suggest you provide the 
list with more information + log excerpts, then someone might help you out.


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


make delete-old question

2007-11-04 Thread Per olof Ljungmark

Hi,

Is there a clever way to run make delete-old in /usr/src so that (y) 
will be the default answer? Otherwise it's pressing "y" 437 times in my 
case...


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


syslog time resolution

2007-11-07 Thread Per olof Ljungmark

Hi,

I would like to increase the number of decimals reported in logfiles by 
syslogd(8), anyone knows if it is possible and perhaps a hint on how to 
do it?


tcpdump for instance, has six decimals: 21:25:20.160833 whereas the 
standard syslog has zero decimal secs.


I am only referring to events within a single system so it's not related 
to clock accuracy.


Thanks and sorry if I missed the obvious!

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


Re: OT: Looking for some inpiration with UPS setup

2007-11-10 Thread Per olof Ljungmark

Christopher Key wrote:

NetOpsCenter wrote:

Christopher Key wrote:


I've a FreeBSD fileserver, a solid state router (Linksys box running 
OpenWRT) and a couple of gigabit switches that I'd like to move onto 
a UPS (I'm primarily looking at the APC Smart-UPS line).



I have a similar setup in my noc shed.

I got 2 old APC  units that a client had replaced and attached a 120 
AMP stationery batteries  to them. They will power the switch,  3 
servers  and  KVM switches and a monitor for 6 hours uninterrupted.

It's not pretty to look at but is stable and does the job nicely.



I'm rather pressed for space, this gear is in a tiny cupboard also 
storing the traditional contents of a utility room and garage.  I'd 
manged to allow myself 1 shelf, 30cm x 50cm x 20cm for the UPS gear.  
That might just be enough space to squeeze in a UPS and a 120Ah SLA 
battery, which would keep both up for at least 6h, hopefully enough to 
span most outages.  For outages longer than that, I'd probably not mind 
losing my DHCP leases anyway.  Are there any specific requirements for 
the attached batteries, or will any 12V SLA battery suffice?  It's just 
a shame that no UPS units offer a WOL option for waking up attached 
equipment.


Hi, I wonder why it is such a big deal to keep the leases? Why not 
asssign static IP's to everything instead if it is a small setup? Just 
curious...


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


minicom macro to break into debugger on remote

2007-11-13 Thread Per olof Ljungmark

Hi,

Would some kind soul here advise me how to set up a F-key macro in 
minicom so I can break inte the debugger on a machine connected over the 
serial port? I assume that means the vt100 escape sequence for ctrl-alt-esc?


Thanks,

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


Re: What server for a mail server

2007-11-14 Thread Per olof Ljungmark

Olivier Nicole wrote:

Hi,

I have a project where I should set-up a mail server for approximately
12000 users, 4000 virtual domains, 15000 messages per day, 700 MB
traffic per day.

The machine should run Postfix, courrier-imap and a web mail (probably
squirel), Apache 2, spamassassin, clamav, greylist

What type of machine should I target, in terms of CPU and RAM?


My advise would be to run Postfix and mail scanning on a separate box.

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


Re: Cyrus installed

2007-11-18 Thread Per olof Ljungmark

jekillen wrote:

Hello:
I have installed Cyrus23 from ports and then read
the pkg-message and it has references to
/usr/local/cyrus and usr/local/etc/imapd.conf
both of which do not exist.
FreeBSD 6.2
Wouldn't the install have created these?
I have lots of docs on Cyrus and Postfix
but none specific to how ports does this.
I have postfix installed and running. Do I
have to redo it with cyrus support. One of
the documents I have seems to say yes.
I do not see anything specific in the
handbook.
Thanks in advance for guidance, suggestions
info, whatever;


Hi,
Look in:
/usr/local/share/examples/cyrus-imapd
where you can find skeleton config files.
Please note that you *must* configure your system to your enviroment, it 
will *not* work out-of-the-box.


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


Re: amd64 HP SA6i RAID5 no boot

2007-11-30 Thread Per olof Ljungmark

Brian wrote:

Per olof Ljungmark wrote:

Per olof Ljungmark wrote:

Per olof Ljungmark wrote:

Hi,

What am I doing wrong?

7-Beta3 vanilla install from CD, I let sysinstall do "automatic" 
partitions and slices, then stops at "F1 FreeBSD" prompt and beeps. 
Obviously it cannot find anything to boot from.


System is a SA6i RAID5-array with 6x300GB disks. Possibly I need to 
enter drive geometry manually but have no idea where to get that 
info from, perhaps somebody knows where to look?


i386 does not boot either - same
A RAID1+0 array with 4x36GB disks boots fine both amd64 and i386.


Right. If I create two slices, one 50G and one 1.3T and use the first 
for /, /var etc. then the system will boot.


I would assume from the above that I could perhaps use some other 
utility to create a big single slice.



Is the 2TB max implied here still true?

http://lists.freebsd.org/pipermail/freebsd-questions/2005-August/095504.html 


Could be but I have *less* than 2TB...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: amd64 HP SA6i RAID5 no boot

2007-11-30 Thread Per olof Ljungmark

Per olof Ljungmark wrote:

Hi,

What am I doing wrong?

7-Beta3 vanilla install from CD, I let sysinstall do "automatic" 
partitions and slices, then stops at "F1 FreeBSD" prompt and beeps. 
Obviously it cannot find anything to boot from.


System is a SA6i RAID5-array with 6x300GB disks. Possibly I need to 
enter drive geometry manually but have no idea where to get that info 
from, perhaps somebody knows where to look?


i386 does not boot either - same
A RAID1+0 array with 4x36GB disks boots fine both amd64 and i386.

So the logical drive size is a problem?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


amd64 HP SA6i RAID5 no boot

2007-11-30 Thread Per olof Ljungmark

Hi,

What am I doing wrong?

7-Beta3 vanilla install from CD, I let sysinstall do "automatic" 
partitions and slices, then stops at "F1 FreeBSD" prompt and beeps. 
Obviously it cannot find anything to boot from.


System is a SA6i RAID5-array with 6x300GB disks. Possibly I need to 
enter drive geometry manually but have no idea where to get that info 
from, perhaps somebody knows where to look?


Thanks,

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


Re: amd64 HP SA6i RAID5 no boot

2007-11-30 Thread Per olof Ljungmark

Per olof Ljungmark wrote:

Per olof Ljungmark wrote:

Hi,

What am I doing wrong?

7-Beta3 vanilla install from CD, I let sysinstall do "automatic" 
partitions and slices, then stops at "F1 FreeBSD" prompt and beeps. 
Obviously it cannot find anything to boot from.


System is a SA6i RAID5-array with 6x300GB disks. Possibly I need to 
enter drive geometry manually but have no idea where to get that info 
from, perhaps somebody knows where to look?


i386 does not boot either - same
A RAID1+0 array with 4x36GB disks boots fine both amd64 and i386.


Right. If I create two slices, one 50G and one 1.3T and use the first 
for /, /var etc. then the system will boot.


I would assume from the above that I could perhaps use some other 
utility to create a big single slice.

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


Re: What is best method to debug freezes/hangs?

2007-12-04 Thread Per olof Ljungmark

yar wrote:

My question is how best to go about debugging sporadic freezes and hangs.
Just looking for general methods.On a couple of our IDS systems there
are sporadic hangs or freezes that occur every couple weeks or so, that are
recoverable by either system reboots or taking out and reinserting the Gig
fiber ethernet sniffing cables, but I  never can find anything in
/var/logs/messages to tell what is going on. I'm assuming that may have to
compile in kernel debugger support, but from what I read briefly, doesn't
that require an actual crash with the resultant reboot and a debugger
readable file  left in /var/crash?  That doesn't happen, there is no
automatic reboot just a freeze/hang (box falls off network and at the
console unable to type until one of the two above mentioned measures are
take. 


In my case with the above behaviour a debug kernel and ctrl+alt+esc 
would work and that is probably true most of the times.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-deadlocks.html

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


Re: Webmail

2007-12-14 Thread Per olof Ljungmark

Satria Bramana wrote:

Can anyone who had experience running a web-based e-mail give suggestion what 
package to use? I will only use it for study purpose, so I need one that easy 
to configure and help me understand the big picture about mailserver.. Thank 
you very much..


IMP from the Horde project is an excellent web client, arguably the best.
http://www.horde.org/imp/

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


Where does this belong?

2007-12-14 Thread Per olof Ljungmark

Hi all,

Since quite a while I have had problems with {CURRENT|RELENG_7} SMP 
machines that lock up when accessed from a remote location over a vpn 
(ipsec) link and sees a ICMP_REDIRECT.


A message, "kernel: rtfree:  has 1 refs, will be present in 
logs.


Stefan Lambrev opened a PR
http://www.freebsd.org/cgi/query-pr.cgi?pr=117913
that I thought dealt with this but not sure if this maybe just touches 
the messages, not lockups.


Later, I opened another PR
http://www.freebsd.org/cgi/query-pr.cgi?pr=118044
and so far there is absolute silence. See below for the (what I believe) 
interesting part.


Question 1: Am I the only one on the planet that sees this problem?
Question 2: Could someone with enought knowledge please tell if this is 
a real bug or just something I cooked up myself?


Thanks a lot!

--per

Tracing command irq21: bge0 pid 33 tid 100025 td 0xc5119880
cpustop_handler(1,e3ccf958,c0a05b10,1,0,...) at cpustop_handler+0x32
ipi_nmi_handler(1,0,0,0,13,...) at ipi_nmi_handler+0x2f
trap(e3ccf964) at trap+0x30
calltrap() at calltrap+0x6
--- trap 0x13, eip = 0xc074e586, esp = 0xe3ccf9a4, ebp = 0xe3ccf9c8 ---
panic(c0a9b762,c5117660,c0aa0a06,c5117660,186ae,...) at panic+0x26
_mtx_lock_spin_failed(1,19,c0aa0a32,cb,19,...) at _mtx_lock_spin_failed+0x51
_thread_lock_flags(c57c6440,10,c0aa0a32,cb,1,...) at _thread_lock_flags+0xc7
propagate_priority(c0bbceec,0,c0aa0a32,2e2,c50f2a00,...) at
propagate_priority+0xe0
turnstile_wait(c50f2a00,c57c6440,0,17a,c5874678,...) at turnstile_wait+0x48c
_mtx_lock_sleep(c5874678,c5119880,0,c0aaa355,41c,...) at
_mtx_lock_sleep+0x15a
_mtx_lock_flags(c5874678,0,c0aaa355,41c,e3ccfaf4,...) at
_mtx_lock_flags+0xef
rt_setgate(c5874618,cb4ee2c0,e3ccfbac,c5119880,e3ccfb18,...) at
rt_setgate+0x196
rtredirect(e3ccfbbc,e3ccfbac,0,26,e3ccfb9c,...) at rtredirect+0x18e
icmp_input(c6fb6500,14,246,c0b9c7c0,e3ccfc0c,...) at icmp_input+0x50f
ip_input(c6fb6500,14e,800,c526a400,800,...) at ip_input+0x650
netisr_dispatch(2,c6fb6500,10,3,0,...) at netisr_dispatch+0x73
ether_demux(c526a400,c6fb6500,3,0,3,...) at ether_demux+0x1f1
ether_input(c526a400,c6fb6500,c0a6af05,bc4,c526a400,...) at
ether_input+0x37f
bge_intr(c526d000,0,c0a99497,471,c515e564,...) at bge_intr+0x7da
ithread_loop(c5271160,e3ccfd38,c0a9920b,2ea,c52512a8,...) at
ithread_loop+0x1b5
fork_exit(c0732ea0,c5271160,e3ccfd38) at fork_exit+0xb8
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xe3ccfd70, ebp = 0 ---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


build of cyrus-sasl2-saslauthd fails

2003-11-09 Thread Per olof Ljungmark
4.9-RELEASE

Building from ports tree fails with:

cc -DHAVE_CONFIG_H 
-DSASLAUTHD_CONF_FILE_DEFAULT=\"/usr/local/etc/saslauthd.conf\" -I. -I. 
-I.. -I./include -I../include  -I/usr/include  -Wall -W -Wall -O -pipe 
-c md5.c
cc  -Wall -W -Wall -O -pipe -L/usr/local/lib -R/usr/local/lib 
-L/usr/lib -L/usr/lib -o saslauthd  mechanisms.o auth_dce.o 
auth_getpwent.o auth_krb5.o  auth_krb4.o auth_pam.o auth_rimap.o 
auth_shadow.o auth_sia.o  auth_sasldb.o lak.o auth_ldap.o cache.o 
utils.o ipc_unix.o ipc_doors.o  saslauthd-main.o md5.o -lgssapi_krb5 
-lkrb5 -lk5crypto -lcom_err  -lcrypt 
../sasldb/.libs/libsasldb.al -lpam
/usr/libexec/elf/ld: cannot find -lgssapi_krb5
*** Error code 1

Stop in 
/usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.15/saslauthd.
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl2-saslauthd.

Clues anybody?

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


Re: build of cyrus-sasl2-saslauthd fails

2003-11-09 Thread Per olof Ljungmark
Per olof Ljungmark wrote:
4.9-RELEASE

Building from ports tree fails with:

cc -DHAVE_CONFIG_H 
-DSASLAUTHD_CONF_FILE_DEFAULT=\"/usr/local/etc/saslauthd.conf\" -I. -I. 
-I.. -I./include -I../include  -I/usr/include  -Wall -W -Wall -O -pipe 
-c md5.c
cc  -Wall -W -Wall -O -pipe -L/usr/local/lib -R/usr/local/lib -L/usr/lib 
-L/usr/lib -o saslauthd  mechanisms.o auth_dce.o auth_getpwent.o 
auth_krb5.o  auth_krb4.o auth_pam.o auth_rimap.o auth_shadow.o 
auth_sia.o  auth_sasldb.o lak.o auth_ldap.o cache.o utils.o ipc_unix.o 
ipc_doors.o  saslauthd-main.o md5.o -lgssapi_krb5 -lkrb5 -lk5crypto 
-lcom_err  -lcrypt ../sasldb/.libs/libsasldb.al -lpam
/usr/libexec/elf/ld: cannot find -lgssapi_krb5
*** Error code 1

Stop in 
/usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.15/saslauthd.
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl2-saslauthd.
Never mind, I was just in the wrong place, sorry.

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


Re: Compaq 1850R panics with 5.x

2003-11-10 Thread Per olof Ljungmark
Guy Silliman wrote:
I am trying to get a Compaq 1850R running.  It is a dual PII 400MHz 
machine that works fine with Win2k server... but
I would prefer to use fbsd 5.x but I am stumped by this panic at 
sysinstall. I have searched all the lists and have tried several fixes 
mentioned including the "Full table - Mapped" and OS set to Win2k in the 
BIOS. I have tried disabling the onboard NIC as a possible source of 
conflicts but no luck.

I would be willing to go with a late 4.x but it does not probe the 
onboard SCSI  thus I have no drives.
I do have a Smart Array 3200 ordered and coming - this may solve the 4.x 
issue, but I am puzzled by the panic with 5.x.

FWIW, I had identical problems with two 1850's, one PII400 single CPU 
and one PII450 dual. Both are now running fine with 4.9-REL, the first 
with a SmartArray 221 and the second with a Smart Array 3200.

There has been a few problems apparently with the sym driver for the 
built in SCSI and I'm not using it in either. For instance, I had this 
problem in 4.8-REL:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/52331
where I had 8 drives but only 4 visible.

I tend to agree with another poster that there are changes between the 
PII and PIII 1850 motherboards that makes the formar fail with 5.1 and 
the latter is ok.

just my $0.02

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


Hard drive stress test

2003-12-18 Thread Per olof Ljungmark
Could somebody please recommend a utility or script suitable for 
stressing a hard disk to check for possible errors?

Thanks,

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


restrict perms on /etc/crontab

2003-12-31 Thread Per olof Ljungmark
Hi all,

Can one restrict permissions on /etc/crontab without creating troubles 
if there are nothing special in there except what was installed with the 
system?

Thanks,

Per olof

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


FreeBSD and Nagios - permissions

2008-10-16 Thread Per olof Ljungmark
Hi,

I'm implementing a shell script as a Nagios plugin to check the status
of the ciss(4) driver. However, there is a permission problem that I am
not sure about the best way to get around in FreeBSD (7-STABLE).

The nrpe daemon that handles the script runs as the "nagios" user and
the command needed is camcontrol:

camcontrol inquiry da0

The nagios user does not have a shell by default in FreeBSD:
nagios:*:181:181::0:0:Nagios pseudo-user:/var/spool/nagios:/usr/sbin/nologin
so the script will obviously fail.

I would assume there are several ways to get around this and would
welcome "best practice" suggestions on how.

Thanks,

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


Re: FreeBSD and Nagios - permissions

2008-10-16 Thread Per olof Ljungmark

Daniel Bye wrote:

On Thu, Oct 16, 2008 at 12:05:01PM +0100, Daniel Bye wrote:

It is possible to configure sudo to run only exactly the required command
(including arguments) precisely to guard against this type of abuse -
I use it extensively in my own nagios setup.

This Cmnd_Alias in sudoers will do the trick:

Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0

man sudoers for more information about what you can do with sudo.


I just realised this example is woefully incomplete - apologies for that.

There are a few ways you can set up /usr/local/etc/sudoers (make sure
you use visudo to edit it, as it will catch any syntax errors for you,
thus helping somewhat to prevent breaking your setup).

The simplest case will just be to allow nagios to run the command, as root,
without a password:

nagios ALL=(root) NOPASSWD: /sbin/camcontrol inquiry da0

If, as is quite possible, nagios should be able to run more than just
that one command, you can define a Cmnd_Alias, as above. To include more
than one command in the alias, simply separate them with a comma. You
can use `\' to escape newlines and make your file a little easier to read:

Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0 \
  /sbin/camcontrol inquiry da1

and so on. Now, to use that alias, set the user's permissions to

nagios ALL=(root) NOPASSWD: NAGIOS_CMNDS

The sudoers man page has more information, and there is also a good
tutorial by M Lucas on O'Reilly's Big Scary Daemons (it's from 2002, but
still a good introduction):


Thank you very much for the detailed information.

I will have a go at sudo while waiting for my collegue to return, he 
knows C and could probably write up the wrapper that Jeremy suggested.


Thanks all for the tips!

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


Re: FreeBSD and Nagios - permissions

2008-10-16 Thread Per olof Ljungmark

Per olof Ljungmark wrote:

Daniel Bye wrote:

On Thu, Oct 16, 2008 at 12:05:01PM +0100, Daniel Bye wrote:
It is possible to configure sudo to run only exactly the required 
command

(including arguments) precisely to guard against this type of abuse -
I use it extensively in my own nagios setup.

This Cmnd_Alias in sudoers will do the trick:

Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0

man sudoers for more information about what you can do with sudo.


I just realised this example is woefully incomplete - apologies for that.

There are a few ways you can set up /usr/local/etc/sudoers (make sure
you use visudo to edit it, as it will catch any syntax errors for you,
thus helping somewhat to prevent breaking your setup).

The simplest case will just be to allow nagios to run the command, as 
root,

without a password:

nagios ALL=(root) NOPASSWD: /sbin/camcontrol inquiry da0

If, as is quite possible, nagios should be able to run more than just
that one command, you can define a Cmnd_Alias, as above. To include more
than one command in the alias, simply separate them with a comma. You
can use `\' to escape newlines and make your file a little easier to 
read:


Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0 \
  /sbin/camcontrol inquiry da1

and so on. Now, to use that alias, set the user's permissions to

nagios ALL=(root) NOPASSWD: NAGIOS_CMNDS


For the records, even this won't work because nagois needs access to 
/dev/xpt0 as well and once there sudo can't help.


sudo -u nagios /sbin/camcontrol inquiry da0
camcontrol: cam_lookup_pass: couldn't open /dev/xpt0
cam_lookup_pass: Permission denied

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


Re: FreeBSD and Nagios - permissions

2008-10-16 Thread Per olof Ljungmark

Mel wrote:

On Thursday 16 October 2008 22:07:43 Per olof Ljungmark wrote:

Per olof Ljungmark wrote:

Daniel Bye wrote:

On Thu, Oct 16, 2008 at 12:05:01PM +0100, Daniel Bye wrote:

It is possible to configure sudo to run only exactly the required
command
(including arguments) precisely to guard against this type of abuse -
I use it extensively in my own nagios setup.

This Cmnd_Alias in sudoers will do the trick:

Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0

man sudoers for more information about what you can do with sudo.

I just realised this example is woefully incomplete - apologies for
that.

There are a few ways you can set up /usr/local/etc/sudoers (make sure
you use visudo to edit it, as it will catch any syntax errors for you,
thus helping somewhat to prevent breaking your setup).

The simplest case will just be to allow nagios to run the command, as
root,
without a password:

nagios ALL=(root) NOPASSWD: /sbin/camcontrol inquiry da0

If, as is quite possible, nagios should be able to run more than just
that one command, you can define a Cmnd_Alias, as above. To include more
than one command in the alias, simply separate them with a comma. You
can use `\' to escape newlines and make your file a little easier to
read:

Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0 \
  /sbin/camcontrol inquiry da1

and so on. Now, to use that alias, set the user's permissions to

nagios ALL=(root) NOPASSWD: NAGIOS_CMNDS

 


For the records, even this won't work because nagois needs access to
/dev/xpt0 as well and once there sudo can't help.

sudo -u nagios /sbin/camcontrol inquiry da0
camcontrol: cam_lookup_pass: couldn't open /dev/xpt0
cam_lookup_pass: Permission denied


The idea is to let this be run as root, tho personally, I'd put nagios in a 
group that can rw /dev/xpt0, /dev/pass0 and /dev/da0, setup devfs.rules 
properly and the let it execute a script that does the inquiry and the 
inquiry only.


On a related note, it would be a 'nice to have', if the more dangerous 
commands of camcontrol had a sysctl knob that only allows them to be executed 
only as root.


But... the command "/sbin/camcontrol inquiry da0" IS run as root through 
the setup in sudoers above, but it is not enough or I'm overseeing 
something. Anyway, I've already decided to scrap the sudo idea, too 
kludgy for me.


The idea of running nagios with rw access to the devices is not very 
appealing either as Jeremy pointed out.


I will start from square one with a different approach that I need to 
dream up tomorrow.

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


Re: FreeBSD and Nagios - permissions

2008-10-16 Thread Per olof Ljungmark

Mel wrote:

On Thursday 16 October 2008 23:36:51 Per olof Ljungmark wrote:

Mel wrote:

On Thursday 16 October 2008 22:07:43 Per olof Ljungmark wrote:

Per olof Ljungmark wrote:

Daniel Bye wrote:

On Thu, Oct 16, 2008 at 12:05:01PM +0100, Daniel Bye wrote:





nagios ALL=(root) NOPASSWD: NAGIOS_CMNDS

 

This means:
ALLOW nagios user from anywhere to run commands NAGIOS_CMNDS as user root 
without a password.



For the records, even this won't work because nagois needs access to
/dev/xpt0 as well and once there sudo can't help.

sudo -u nagios /sbin/camcontrol inquiry da0
camcontrol: cam_lookup_pass: couldn't open /dev/xpt0
cam_lookup_pass: Permission denied


The above sudo command, runs as nagios user, not as root.


But... the command "/sbin/camcontrol inquiry da0" IS run as root through
the setup in sudoers above,


See above. To test if it would work, you'd have to login as nagios then run 
sudo /sbin/camcontrol inquiry da0.


OK, I'm sure you're right, this was my first encounter with sudo. But, 
nagios, running in parallel, reported identical results as the ones I 
got from the command line. That is why I draw the conclusion that giving 
nagios root access to NAGIOS_CMNDS was not enough and the reported error 
(access to /dev/xpt0) was not part of any direct command.


Maybe this is wrong and I made a mistake but because this is *nix I'm 
confident there are other less kludgy solutions to the problem.

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


Re: FreeBSD and Nagios - permissions

2008-10-16 Thread Per olof Ljungmark

Jeremy Chadwick wrote:

On Thu, Oct 16, 2008 at 11:36:51PM +0200, Per olof Ljungmark wrote:

Mel wrote:

On Thursday 16 October 2008 22:07:43 Per olof Ljungmark wrote:

Per olof Ljungmark wrote:

Daniel Bye wrote:

On Thu, Oct 16, 2008 at 12:05:01PM +0100, Daniel Bye wrote:

It is possible to configure sudo to run only exactly the required
command
(including arguments) precisely to guard against this type of abuse -
I use it extensively in my own nagios setup.

This Cmnd_Alias in sudoers will do the trick:

Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0

man sudoers for more information about what you can do with sudo.

I just realised this example is woefully incomplete - apologies for
that.

There are a few ways you can set up /usr/local/etc/sudoers (make sure
you use visudo to edit it, as it will catch any syntax errors for you,
thus helping somewhat to prevent breaking your setup).

The simplest case will just be to allow nagios to run the command, as
root,
without a password:

nagios ALL=(root) NOPASSWD: /sbin/camcontrol inquiry da0

If, as is quite possible, nagios should be able to run more than just
that one command, you can define a Cmnd_Alias, as above. To include more
than one command in the alias, simply separate them with a comma. You
can use `\' to escape newlines and make your file a little easier to
read:

Cmnd_Alias NAGIOS_CMNDS = /sbin/camcontrol inquiry da0 \
  /sbin/camcontrol inquiry da1

and so on. Now, to use that alias, set the user's permissions to

nagios ALL=(root) NOPASSWD: NAGIOS_CMNDS

 


For the records, even this won't work because nagois needs access to
/dev/xpt0 as well and once there sudo can't help.

sudo -u nagios /sbin/camcontrol inquiry da0
camcontrol: cam_lookup_pass: couldn't open /dev/xpt0
cam_lookup_pass: Permission denied
The idea is to let this be run as root, tho personally, I'd put nagios 
in a group that can rw /dev/xpt0, /dev/pass0 and /dev/da0, setup 
devfs.rules properly and the let it execute a script that does the 
inquiry and the inquiry only.


On a related note, it would be a 'nice to have', if the more dangerous  
commands of camcontrol had a sysctl knob that only allows them to be 
executed only as root.
But... the command "/sbin/camcontrol inquiry da0" IS run as root through  
the setup in sudoers above, but it is not enough or I'm overseeing  
something. Anyway, I've already decided to scrap the sudo idea, too  
kludgy for me.


Scrapping it is fine, but you still aren't understanding how to use
sudo.

The -u flag tells sudo what UID to switch to.  Meaning, your above
command (sudo -u nagios /sbin/camcontrol...) tells the system "run
/sbin/camcontrol as user nagios".  This **does not** tell the system
to run /sbin/camcontrol as user root.

For example, let's say you're logged in as user nagios (or running
commands as user nagios):

[EMAIL PROTECTED] sudo -u nagios whoami
nagios
[EMAIL PROTECTED]

This obviously isn't what you want -- this tells sudo to switch to
UID nagios (you already ARE this user!) and run the "whoami" command.

But this IS what you want:

[EMAIL PROTECTED] sudo whoami
root
[EMAIL PROTECTED]

You'll need to use visudo(8) to configure sudo to 1) permit user
"nagios" to use sudo (and switch to UID root), and 2) to ONLY RUN
/sbin/camcontrol when sudo is run, otherwise someone could do:

[EMAIL PROTECTED] sudo rm -fr /

You get the point now, I'm sure.


Yep, promise :-)

I'm off to bed but will try to work out the sudo magic tomorrow although 
I'm still incloned to an alternative solution.

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


Re: FreeBSD and Nagios - permissions

2008-10-17 Thread Per olof Ljungmark
Jeremy Chadwick wrote:
> You get the point now, I'm sure.

Hi, just to say a big thank you to the people on the list for keeping up
with my dumb questions on sudo, this morning I re-read the manual and
got it working within minutes.

I'm still not convinced that sudo is the way to go in our particular
case so next week we'll test the C wrapper approach as well.

Have a good weekend,

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


need help with disklabel, "expected rawoffset 0, found 32"

2008-10-21 Thread Per olof Ljungmark
Hi,

I think sysinstall? got it wrong here and I get the complaint in the
subject line on boot. This is amd64 if that matters. Nothing edited by hand.

I must admit I don't fully understand what is going on here, "found 32"
but the offsets are 63...

Filesystem on LSI controller amr(4):

# /dev/amrd0s1a:
type: ESDI
disk: amrd0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 65535
sectors/unit: 2929674240
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  4194304   634.2BSD 2048 16384 28528
  b:  8388608  4194367  swap
  c: 2929661532   63unused0 0 # "raw" part,
don't edit
  d: 31457280 125829754.2BSD 2048 16384 28528
  e:  2097152 440402554.2BSD 2048 16384 28528
  f: 41943040 461374074.2BSD 2048 16384 28528
  g: 2841581148 880804474.2BSD 2048 16384 28528
bsdlabel: partition c doesn't start at 0!
bsdlabel: partition c doesn't cover the whole unit!
bsdlabel: An incorrect partition c may cause problems for standard
system utilities


Filesystem on SmartArray controller ciss(4):

# /dev/da0s1d:
type: SCSI
disk: da0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 53544
sectors/unit: 860192344
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 860184297   63unused0 0 # "raw" part,
don't edit
  d: 860184297   634.2BSD 2048 16384 28528
bsdlabel: partition c doesn't start at 0!
bsdlabel: partition c doesn't cover the whole unit!
bsdlabel: An incorrect partition c may cause problems for standard
system utilities

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


Re: need help with disklabel, "expected rawoffset 0, found 32"

2008-10-21 Thread Per olof Ljungmark

Jerry McAllister wrote:

On Tue, Oct 21, 2008 at 09:53:52AM +0200, Per olof Ljungmark wrote:


Hi,

I think sysinstall? got it wrong here and I get the complaint in the
subject line on boot. This is amd64 if that matters. Nothing edited by hand.

I must admit I don't fully understand what is going on here, "found 32"
but the offsets are 63...





I do not know what is causing this, but I think the offset of the 'c'
partition (and the first real partition (a in this case)) should be 0
I have seen this a couple of times a long time ago and don't remember
what happened other than I think I just arbitrarily set those offsets 
to 0 and it worked.


Can you try booting up the fixit shell and hitting the disk with
a manual fdisk and bsdlabel to see what happens.  

Also, you might try doing the dd(1) thing  
  dd if=/dev/zero of=/dev/amrd0 bs=512 count=1000

before the fdisk and then another one after creating the slices manually
  dd if=/dev/zero of=/dev/amrd0s1 bs=512 count=1000
Note, that count value is arbitrary.

That should clean up any junk on the drive.

Also, I haven't seen/dealt with a disk device called amrd0 before.  It 
appears to be something from one of the raid setups?  So, maybe doing 
the dd thing might mangle that although, once it is a device, it 
should work the same as a drive.   I ain't rich enough to have one of

those raids to play with, though, so if someone else says otherwise,
believe them.


This is a backup server that uses da0 as a spool disk, we recreated that 
one so it looks ok. However, we still see "expected rawoffset 0, found 
32" when booting and shutdown. It appears to me that sysinstall rewrote 
the MBR for amrd0 even if to my best knowledge it was not touched by us.


Below is some information in case someone with insight might see the 
issue. Please let me know what more I can provide, thanks!



camcontrol devlist -v
scbus0 on ciss0 bus 0:
 at scbus0 target 0 lun 0 (pass0,da0)
scbus1 on ciss0 bus 32:
scbus2 on mpt0 bus 0:
 at scbus2 target 0 lun 0 (pass1,ch0)
   at scbus2 target 5 lun 0 (sa0,pass2)
<  >   at scbus2 target -1 lun -1 ()
scbus3 on mpt1 bus 0:
   at scbus3 target 2 lun 0 (sa1,pass3)
   at scbus3 target 3 lun 0 (sa2,pass4)
<  >   at scbus3 target -1 lun -1 ()
scbus4 on amr0 bus 0:
 at scbus4 target 0 lun 0 (pass5)
 at scbus4 target 1 lun 0 (pass6)
 at scbus4 target 2 lun 0 (pass7)
 at scbus4 target 3 lun 0 (pass8)
 at scbus4 target 4 lun 0 (pass9)
 at scbus4 target 5 lun 0 (pass10)
scbus-1 on xpt0 bus 0:
<  >   at scbus-1 target -1 lun -1 (xpt0)

disklabel -A amrd0s1:

# /dev/amrd0s1:
type: ESDI
disk: amrd0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 65535
sectors/unit: 2929674240
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  419430404.2BSD 2048 16384 28528
  b:  8388608  4194304  swap
  c: 29296615320unused0 0 # "raw" part, 
don't edit

  d: 31457280 125829124.2BSD 2048 16384 28528
  e:  2097152 440401924.2BSD 2048 16384 28528
  f: 41943040 461373444.2BSD 2048 16384 28528
  g: 2841581148 880803844.2BSD 2048 16384 28528
disklabel: partition c doesn't cover the whole unit!
disklabel: An incorrect partition c may cause problems for standard 
system utilities


disklabel -A da0s1
# /dev/da0s1:
type: unknown
disk: amnesiac
label:
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 255
sectors/cylinder: 8160
cylinders: 105414
sectors/unit: 860184297
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 8601842970unused0 0 # "raw" part, 
don't edit

  d: 860184233   634.2BSD 2048 16384 28528

fdisk -tv
*** Working on device /dev/amrd0 ***
parameters extracted from in-core disklabel are:
cylinders=182363 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=182363 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 2929661532 (1430498 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/

what is wrong with pear?

2009-09-30 Thread Per olof Ljungmark
After a pkg_delete -r pear

I get

/usr/ports/devel/pear# portinstall pear
[Updating the pkgdb  in /var/db/pkg ... - 204 packages
found (-34 +0) (...) done]
[Gathering depends for devel/pear
. done]
--->  Installing 'pear-1.9.0' from a port (devel/pear)
--->  Building '/usr/ports/devel/pear'
===>  Cleaning for pear-1.9.0
===>  Vulnerability check disabled, database not found
===>  Extracting for pear-1.9.0
=> MD5 Checksum OK for pear-1.9.0.tar.bz2.
=> SHA256 Checksum OK for pear-1.9.0.tar.bz2.
===>  Patching for pear-1.9.0
===>  Applying FreeBSD patches for pear-1.9.0
===>  Configuring for pear-1.9.0
--->  Installing the new version via the port
===>  Installing for pear-1.9.0
===>   pear-1.9.0 depends on file: /usr/local/include/php/main/php.h - found
===>   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/pcre.so -
found
===>   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/xml.so -
found
===>   Generating temporary packing list
===>  Checking if devel/pear already installed
*** Error code 254

Stop in /usr/ports/devel/pear.
*** Error code 1

Stop in /usr/ports/devel/pear.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall20090930-15477-xp5bhw-0 env make reinstall
** Fix the installation problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/pear(install error)
___
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: what is wrong with pear?

2009-09-30 Thread Per olof Ljungmark

Per olof Ljungmark wrote:

After a pkg_delete -r pear

I get

/usr/ports/devel/pear# portinstall pear
[Updating the pkgdb  in /var/db/pkg ... - 204 packages
found (-34 +0) (...) done]
[Gathering depends for devel/pear
. done]
--->  Installing 'pear-1.9.0' from a port (devel/pear)
--->  Building '/usr/ports/devel/pear'
===>  Cleaning for pear-1.9.0
===>  Vulnerability check disabled, database not found
===>  Extracting for pear-1.9.0
=> MD5 Checksum OK for pear-1.9.0.tar.bz2.
=> SHA256 Checksum OK for pear-1.9.0.tar.bz2.
===>  Patching for pear-1.9.0
===>  Applying FreeBSD patches for pear-1.9.0
===>  Configuring for pear-1.9.0
--->  Installing the new version via the port
===>  Installing for pear-1.9.0
===>   pear-1.9.0 depends on file: /usr/local/include/php/main/php.h - found
===>   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/pcre.so -
found
===>   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/xml.so -
found
===>   Generating temporary packing list
===>  Checking if devel/pear already installed
*** Error code 254

Stop in /usr/ports/devel/pear.
*** Error code 1

Stop in /usr/ports/devel/pear.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall20090930-15477-xp5bhw-0 env make reinstall
** Fix the installation problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/pear(install error)


Well, to answer myself, I don't know. After a pkg_delete -a pear 
installed ok again...

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


Quicktime player / Ff?

2009-11-25 Thread Per olof Ljungmark

Hi,

Is it possible to have the Quicktime player with Firefox 3 or 3.5? If 
yes, a hint how to accomplish this would be welcome!


Is /usr/ports/www/mplayer-plugin viable?

Running 7-STABLE, NVidia graphics.

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: Quicktime player / Ff?

2009-11-25 Thread Per olof Ljungmark

Per olof Ljungmark wrote:

Hi,

Is it possible to have the Quicktime player with Firefox 3 or 3.5? If 
yes, a hint how to accomplish this would be welcome!


Is /usr/ports/www/mplayer-plugin viable?


To answer my own question,: yes.
___
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"


Huawei Technologies Mobile card

2008-04-10 Thread Per olof Ljungmark

http://www.freebsd.org/releases/7.0R/hardware.html#USB

says that "Huawei Technologies Mobile card (3G)" is supported via 
ubsa(4). Can someone here please tell me which model this refers too as 
I cannot find this particular card on the manufacturers home page.


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


usb serial port speed

2008-04-17 Thread Per olof Ljungmark

Hi,
Finally got through to get a Huawei E220 3G modem working, now the 
question is, how can max the speed from the serial (USB) port? The modem 
is theoretically capable of several mbit/s.


7-STABLE

Thanks for any hints,

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


Re: usb serial port speed

2008-04-17 Thread Per olof Ljungmark

Robert Huff wrote:

Per olof Ljungmark writes:


 Finally got through to get a Huawei E220 3G modem working, now
 the question is, how can max the speed from the serial (USB)
 port? The modem is theoretically capable of several mbit/s.


With the right driver, the USB stack is capable of the full 480
mbits/second.
(In theory, anyway; I've never been able get mine anywhere near
that.)


I've cranked ubsa.c to 921600 and that seems to work, I'll try to take 
it further tomorrow. We'll see.


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


usb serial line speed limits

2008-04-18 Thread Per olof Ljungmark
I'm trying to get better speed from ubsa(4) to use a 3G modem att full 
speed. Editing ubsa.c up to 921600 is fine but if I go to 1228800 
compile fails:


cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 
-nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include 
/usr/obj/usr/src/sys/HUNTER/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/HUNTER 
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx 
-mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions -c 
/usr/src/sys/modules/ubsa/../../dev/usb/ubsa.c

/usr/src/sys/modules/ubsa/../../dev/usb/ubsa.c: In function 'ubsa_baudrate':
/usr/src/sys/modules/ubsa/../../dev/usb/ubsa.c:534: error: 'B1228800' 
undeclared (first use in this function)
/usr/src/sys/modules/ubsa/../../dev/usb/ubsa.c:534: error: (Each 
undeclared identifier is reported only once
/usr/src/sys/modules/ubsa/../../dev/usb/ubsa.c:534: error: for each 
function it appears in.)

*** Error code 1

Where can I dig out more info on how to proceed? Unfortunately my 
understanding of C and the rest is rather limited...


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


Re: usb serial line speed limits

2008-04-18 Thread Per olof Ljungmark

Mel wrote:

On Friday 18 April 2008 11:50:46 Per olof Ljungmark wrote:


'B1228800' undeclared (first use in this function)
/usr/src/sys/modules/ubsa/../../dev/usb/ubsa.c:534: error: (Each
undeclared identifier is reported only once
/usr/src/sys/modules/ubsa/../../dev/usb/ubsa.c:534: error: for each
function it appears in.)
*** Error code 1

Where can I dig out more info on how to proceed? Unfortunately my
understanding of C and the rest is rather limited...



/usr/src/sys/sys/termios.h defines the baud rates. Next one up from 115200 is 
B230400. Max is B921600.


Well, I recompiled with B1228800 defined in termios.h but when i start 
ppp i get a complaint that the speed does not exist so it seems to be 
more complicated than that.


Furthermore, testing ftp with XP I get about 2mbit/second downstream, 
same ftp server with FreeBSD it's about 240kbit/s with serial speed 921600.


Anyone on the list who managed to crank the speed up? Hardware is 
ThinkPad T42 with a Huawei E220 modem and 7-STABLE.


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


question on Linux emulation and semget error

2008-04-23 Thread Per olof Ljungmark

Hi,

We have recently upgraded a machine that runs a Linux app from 4.11 to 
7-STABLE. Most things are just fine apart from the app can only be 
started once. If stopped and then restarted, we see

"semget error
Server Stopped"

Googling and reading led me to ipcs and ipcrm:
(after stopping the app)
#ipcs -c
TID  KEY MODEOWNERGROUPCREATOR  CGROUP

Shared Memory:
TID  KEY MODEOWNERGROUPCREATOR  CGROUP
m65536   1330791762 --rwarwarwa rootwheel rootwheel

Semaphores:
TID  KEY MODEOWNERGROUPCREATOR  CGROUP
s262144   1332897154 --rwarwarwa rootwheel rootwheel

# ipcrm -s 262144

and then the app will start without any problem. The info stored in 
memory is the license key apparently and it is not unloaded with the 
app, or rather, daemon.


How can I get rid of this? We did not see this on 4.11.

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


Transfer CD image to USB memory stick?

2008-04-29 Thread Per olof Ljungmark

Hi,

Could someone please point me to information how to achieve this? Have 
new hardware that lacks CD/floppy and want to install FreBSD...


Thanks,

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


Re: ml370 and smartarray 431

2008-04-30 Thread Per olof Ljungmark

Gabri Mate wrote:

Dear List,

i have a really old (from 2001) ml370 with a smart array 431 raid
controller. FreeBSD 7 installs perfectly but i couldn't find a way to
monitor my drives. I've installed the hpacucli port, but it says that it
can't find any controllers in the system.

Do you know any solution for this problem?


We use lmon from ports, works with some tweaking. There are possibly 
others as well.


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


Re: "Operation not permitted" at end of portupgrade

2008-05-03 Thread Per olof Ljungmark

Mike Clarke wrote:

At the end of a portupgrade run for firefox I get the following

===>   Registering installation for firefox-2.0.0.14,1
===>  Cleaning for firefox-2.0.0.14,1
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb  in /var/db/pkg ... - 626 packages 
found (-0 +1) . done]

Operation not permitted - /usr/local/lib/compat/pkg/libc.so.5
Operation not permitted - /usr/local/lib/compat/pkg/libc_r.so.5
Operation not permitted - /usr/local/lib/compat/pkg/libcrypt.so.2
Operation not permitted - /usr/local/lib/compat/pkg/libpthread.so.1
Operation not permitted - /usr/local/lib/compat/pkg/libthr.so.1

The permissions on all these files are -r--r--r--. Should I change them 
to  -rwxr-xr-x like the rest of the files in that directory or just 
ignore it?


Read the archives for an answer.

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


anyone familiar with cyrus-sasl2? Allocating sasl connection state: generic failure

2012-02-13 Thread Per olof Ljungmark

Hi,

I am in the process of upgrading my laptop from 8- to 9-STABLE, thus  
also rebuilding a LOT of ports.


I now notice that Postfix stopped to work with SASL AUTH (TLS and  
unencrypted is fine), and it appears that the problem is with  
cyrus-sasl2. I've gotten as far as building the sample server and  
client and when I try to start sample-server it returns

"sample-server: Allocating sasl connection state: generic failure"

Could someone please with better knowledge take a look at the trace  
below (follow the link) and possible find out where the problem lies?  
Most likely something I screwed up myself...


Thanks!


-
Attachments
https://webmail.inter-sonic.com/imp/attachment.php?u=peobsd&t=1329166070&f=cyrus-sasl2-ktrace

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


anyone familiar with cyrus-sasl2? Allocating sasl connection state: generic failure

2012-02-13 Thread Per olof Ljungmark
Hi,

I am in the process of upgrading my laptop from 8- to 9-STABLE, thus
also rebuilding a LOT of ports.

I now notice that Postfix stopped to work with SASL AUTH (TLS and
unencrypted is fine), and it appears that the problem is with
cyrus-sasl2. I've gotten as far as building the sample server and
client and when I try to start sample-server it returns
"sample-server: Allocating sasl connection state: generic failure"

Could someone please with better knowledge take a look at the ktrace
below (follow the link) and possible find out where the problem lies?
Most likely something I screwed up myself...

The command was
ktrace -f ./ktrace ./sample-server -p 8000 -s rcmd -m PLAIN

Thanks!


-
Attachments
http://webmail.inter-sonic.com/imp/attachment.php?u=peobsd&t=1329166070&f=cyrus-sasl2-ktrace
___
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"


File manager for Xfce

2012-02-15 Thread Per olof Ljungmark
A long time KDE3 user but now thinking of Xfce instead as KDE4 is not
really my way of doing it.

One of the things I've found productive in KDE is the Konqerour file
manager, is there anything similar available as a separate app to run
under Xfce?

In particular, it should accept URI's like sftp://, smb:// etcetra and
looking at Thunar it does not seem to have this capability?

I suppose I could run Konqerour as an app but that would require buiding
a lot of KDE3 as well.

Suggestions welcome, 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: File manager for Xfce

2012-02-15 Thread Per olof Ljungmark
On 02/15/12 19:54, Waitman Gobble wrote:
> 
> On Feb 15, 2012 9:58 AM, "Per olof Ljungmark"  <mailto:p...@intersonic.se>> wrote:
>>
>> A long time KDE3 user but now thinking of Xfce instead as KDE4 is not
>> really my way of doing it.
>>
>> One of the things I've found productive in KDE is the Konqerour file
>> manager, is there anything similar available as a separate app to run
>> under Xfce?
>>
>> In particular, it should accept URI's like sftp://, smb:// etcetra and
>> looking at Thunar it does not seem to have this capability?
>>
>> I suppose I could run Konqerour as an app but that would require buiding
>> a lot of KDE3 as well.
>>
>> Suggestions welcome, thanks!
>> ___
>> freebsd-questions@freebsd.org <mailto: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
> <mailto:freebsd-questions-unsubscr...@freebsd.org>"
> 
> hi,
> 
> I like xfce4, compact and fast on my netbook. I haven't had issues on
> FreeBSD 10.0-CURRENT. Thunar is good, have not tried using smb:// etc
> but I will see what happens and let you know. The WebKit based browser
> in the project is pretty good too. If you are running FreeBSD on a
> desktop you might want more apps and features that come with KDE or Gnome.
> 
> Check out the xfce.org <http://xfce.org> site to see what you get ;-)
> 
> Waitman Gobble
> San Jose California USA
> 

Hmmm, looking at the Xfce website it looks as perhaps problem solved:

"Thunar now has optional support for GVFS which will allow you to browse
remote shares using Thunar: FTP, Windows Shares, WebDav and SSH servers..."

If this works all is fine.
___
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"


cups-base: undefined reference to `_httpBIOMethods'

2011-02-26 Thread Per olof Ljungmark
Upgraded Perl to 5.12.3, rebuilt ALL ports depending on Perl, everyone
except cups-base compiles fine.

I have rebuilt again using portupgrade -fRX but that did not fix it.

Any suggestions befora I pkg_delete -a and start from scratch?

FreeBSD 8.2-PRERELEASE #0: Fri Feb 25 17:47:56 CET 2011
which openssl
/usr/bin/openssl
Only config option in cups-base marked with an X is GHOSTSCRIPT

Sources from February 24th.

cc  -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -I..
-D_CUPS_SOURCE -I/usr/local/include -O2 -pipe  -fno-strict-aliasing
-DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE  -D_THREAD_SAFE
-D_REENTRANT  -c -o sysman.o sysman.c
echo Linking cupsd...
Linking cupsd...
cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler
-L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -Wl,-R/usr/local/lib
-Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -o cupsd auth.o
banners.o cert.o classes.o client.o conf.o dirsvc.o env.o main.o ipp.o
listen.o job.o log.o network.o policy.o printers.o process.o quotas.o
removefile.o select.o server.o statbuf.o subscriptions.o sysman.o -L.
-lcupsmime \
-lz -lssl -lcrypto\
-lcups -lssl -lcrypto  -pthread -lm -lcrypt  \

client.o(.text+0x1989): In function `encrypt_client':
/usr/ports/print/cups-base/work/cups-1.4.6/scheduler/client.c:3183:
undefined reference to `_httpBIOMethods'
gmake[1]: *** [cupsd] Error 1
gmake[1]: Leaving directory
`/usr/ports/print/cups-base/work/cups-1.4.6/scheduler'
gmake: *** [all] Error 1
*** Error code 1

Stop in /usr/ports/print/cups-base.

___
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: cups-base: undefined reference to `_httpBIOMethods'

2011-02-26 Thread Per olof Ljungmark
Answering myself,

On 02/26/11 18:56, Per olof Ljungmark wrote:
<>
> 
> cc  -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -I..
> -D_CUPS_SOURCE -I/usr/local/include -O2 -pipe  -fno-strict-aliasing
> -DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE  -D_THREAD_SAFE
> -D_REENTRANT  -c -o sysman.o sysman.c
> echo Linking cupsd...
> Linking cupsd...
> cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler
> -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -Wl,-R/usr/local/lib
> -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -o cupsd auth.o
> banners.o cert.o classes.o client.o conf.o dirsvc.o env.o main.o ipp.o
> listen.o job.o log.o network.o policy.o printers.o process.o quotas.o
> removefile.o select.o server.o statbuf.o subscriptions.o sysman.o -L.
> -lcupsmime \
> -lz -lssl -lcrypto\
> -lcups -lssl -lcrypto  -pthread -lm -lcrypt  \
> 
> client.o(.text+0x1989): In function `encrypt_client':
> /usr/ports/print/cups-base/work/cups-1.4.6/scheduler/client.c:3183:
> undefined reference to `_httpBIOMethods'
> gmake[1]: *** [cupsd] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/print/cups-base/work/cups-1.4.6/scheduler'
> gmake: *** [all] Error 1
> *** Error code 1
> 
> Stop in /usr/ports/print/cups-base.

cups-client needs to be compiled w/out gnutls as well.
___
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: Horde-4

2011-07-20 Thread Per olof Ljungmark

On 07/20/11 22:07, Jack L. Stone wrote:

At 11:38 AM 7/20/2011 -0800, Beech Rintoul wrote:

On Wednesday 20 July 2011 11:22:44 Beech Rintoul wrote:

On Wednesday 20 July 2011 09:47:33 Jack L. Stone wrote:

Am running FBSD-7.x and IMAP WU + sendmail-8.4.x + MySQL-5.0.x

Sorry to bother the list with this but have searched and read everything
google&  horde.org has to offer but I find no solution
to an important issue I'm having with the installation of horde4.

Although the port maintainer won't have the broken port for horde4, I
have successfully installed Horde4 plus several common apps including,
"IMP" app for an IMAP mail service.


All of the horde4 ports including webmail and groupware have been rewritten
and comitted. AFAIK everything is working properly. You may be missing some
libs or modules, so I would suggest a reinstall.


The problem is while I have a good install with the Horde4 base frame and
the apps, I can login to HORDE just fine, but when going to the IMAP app,
my login fails. From what I understand, the same Horde login should work
for the IMP. Reading the login scripts indicates that as well. I'm using
MySQL (SQL) as the backend for everything that needs a backend so I may
be able to handle a large number of users. I've installed Washington Uni
(WU) Imap server and it's listening on the expected port 143.

I've worked on this issue over days and weeks, including reinstalls but
cannot login to IMP for the mail services. In Horde, I can add users just
fine and they appear in the MySQL horde database properly. I have a
couple designated as admins.

If anyone on this list uses horde and maybe knows what I have missed I
would appreciate any possible tips to check on. Does IMP not use the same
login as I assUme?


Not necessarily. It all depends on your auth backend configs for both horde
and the apps. If you're using IMAP auth, you should be able to login to imp
as any regular user on the mail account. It's common to use IMAP auth as
your general auth backend, that way your users will end up in the right
account. You also need either SASL auth or Dovecot auth setup along with
your auth backend. IMAP SSL is required, imp will NOT work with IMAP plain
login unless you hack the configs by hand (bad idea).

Finally, uncheck the "disable horde test script" box on the main horde
configs under the general tab, save your configs and navigate to
horde/test.php, there is a section near the bottom for testing your IMAP
login. If that isn't successful, you're not going to get much further. If
the option doesn't exist at all, you don't have all the modules you need.
It will also give you an idea about the state of everything else.

Hope this gets you pointed in the right direction :-)

Beech


I forgot to say use SASL or Dovecot auth if you also want to access and
remotely use your sendmail system outside of your horde portal. Horde imp
shouldn't have any problems out of the box if your IMAP is otherwise working
properly.

Beech
--


Good help!

Should I use Dovecot or Dovecot2 ??



We're using Cyrus-IMAP so I cannot help you with that, but did you 
configure your imapserver in

/usr/local/www/horde4/imp/config/backends.php ?

Specifically the line
'hordeauth' =

This file itself has a lot of useful information on imap settings.
I assume you checked the imap server log files?

While on the Horde4 subject, we are running a test installation and find 
the perfermance of H4 to be considerably slower the its predecessor.


Did anyone here experience this?

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: Is questions mail down?

2011-11-01 Thread Per olof Ljungmark

On 11/01/11 21:48, Al Plant wrote:

I havent recieve any FreeBSD questions Sunday Monday tuesday. No nov
reminder either. Is the service broken?


Works like charm here. Did you try to subscribe again just to check your 
account was not accidentaly unsubscribed? And of course you checked your 
spam bucket?

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


Cdorked.A

2013-05-09 Thread Per olof Ljungmark
Hi,

Is Apache on FreeBSD affected?

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: ZFS trim patches

2013-07-20 Thread Per olof Ljungmark
On 2013-07-20 07:25, aurfalien wrote:
> Hi,
> 
> Is this;
> 
> http://lists.freebsd.org/pipermail/freebsd-current/2012-September/036777.html
> 
> ... available in the form of a patch for stable rels?
> 
> Its ZFS TRIM support.
> 

According to /usr/src/UPDATING, yes:


20130605:
Added ZFS TRIM support which is enabled by default. To disable
ZFS TRIM support set vfs.zfs.trim.enabled=0 in loader.conf.

Creating new ZFS pools and adding new devices to existing pools
first performs a full device level TRIM which can take a significant
amount of time. The sysctl vfs.zfs.vdev.trim_on_init can be set to 0
to disable this behaviour.

ZFS TRIM requires the underlying device support BIO_DELETE which
is currently provided by methods such as ATA TRIM and SCSI UNMAP
via CAM, which are typically supported by SSD's.

Stats for ZFS TRIM can be monitored by looking at the sysctl's
under kstat.zfs.misc.zio_trim.
___
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"


mount: /dev/ada0p1: Device busy Busy with what?

2013-09-12 Thread Per olof Ljungmark
I have apart from the boot drives a SATA disk for storage. Usually I
would mount it with
mount /dev/ada0p1 /archive
but as my last reboot into
FreeBSD 9.1-STABLE #0 r252369
I cannot mount the disk, I get
mount: /dev/ada0p1: Device busy

Well, busy with what?

fuser -m /dev/ada0p1
/dev/ada0p1:

I REALLY need to acces trhis UFS formatted drive, how can I convice it
that everything is ok and it's not really busy with anything?

Could anyone please help to sort this please?

TIA

//per
___
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: mount: /dev/ada0p1: Device busy Busy with what?

2013-09-12 Thread Per olof Ljungmark
On 2013-09-13 01:30, Polytropon wrote:
> On Fri, 13 Sep 2013 00:54:01 +0200, Per olof Ljungmark wrote:
>> I have apart from the boot drives a SATA disk for storage. Usually I
>> would mount it with
>> mount /dev/ada0p1 /archive
>> but as my last reboot into
>> FreeBSD 9.1-STABLE #0 r252369
>> I cannot mount the disk, I get
>> mount: /dev/ada0p1: Device busy
>>
>> Well, busy with what?
>>
>> fuser -m /dev/ada0p1
>> /dev/ada0p1:
>>
>> I REALLY need to acces trhis UFS formatted drive, how can I convice it
>> that everything is ok and it's not really busy with anything?
>>
>> Could anyone please help to sort this please?
> 
> Maybe a fsck is running on the disk device? Also check "mount -v"
> if the disk is really unmounted. Make sure any running fsck has
> been finished and try again. In worst case, manually initiate a
> file system check. Then try mounting the disk again.

Yes, I've done at least five fsck's with different options and there has
not been any complaints. The drive is not mounted at boot time.

Anyway, mount -v seems to have sorted it. It was already mounted to a
different mountpoint due to my own brain damage apparently although I
cannot recall ever doing it. Problem solved.

Thank you!

//per
___
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"


trouble with KDE 3.4->3.5 and xorg -> 6.9.0

2006-01-22 Thread Per olof Ljungmark
On 6.0-STABLE, after doing a portupgrade of KDE and xorg according to 
UPDATING, I cannot start X as non-root. I've cleared /tmp, removed old 
files in home directory created by to KDE and xorg but problem persists.


I'm currently out of ideas and would really appriciate a hint, thanks.

X hangs forever here:
Build Date: 21 January 2006
   Before reporting problems, check http://wiki.X.Org
   to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 22 16:44:34 2006
(==) Using config file: "/etc/X11/xorg.conf"
(EE) MGA: Failed to load module "mga_hal" (module does not exist, 0)
xset:  bad font path element (#76), possible causes are:
   Directory does not exist or has wrong permissions
   Directory missing fonts.dir
   Incorrect font server address or syntax
xset:  bad font path element (#76), possible causes are:
   Directory does not exist or has wrong permissions
   Directory missing fonts.dir
   Incorrect font server address or syntax
startkde: Starting up...
kbuildsycoca running...
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "init_kdnssd"
KWrited - Listening on Device /dev/ttyp0

running as realtime process now (priority 15)

QFont::setPointSize: Point size <= 0 (-3)

Last lines of Xorg.log.0 are:
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) Mouse0: SetupAuto: hw.iftype is 4, hw.model is 0
(II) Mouse0: SetupAuto: protocol is SysMouse


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


trouble with KDE 3.4->3.5 and xorg -> 6.9.0

2006-01-22 Thread Per olof Ljungmark
On 6.0-STABLE, after doing a portupgrade of KDE and xorg according to 
UPDATING, I cannot start X as non-root. I've cleared /tmp, removed old 
files in home directory created by to KDE and xorg but problem persists.


I'm currently out of ideas and would really appriciate a hint, thanks.

X hangs forever here:
Build Date: 21 January 2006
   Before reporting problems, check http://wiki.X.Org
   to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 22 16:44:34 2006
(==) Using config file: "/etc/X11/xorg.conf"
(EE) MGA: Failed to load module "mga_hal" (module does not exist, 0)
xset:  bad font path element (#76), possible causes are:
   Directory does not exist or has wrong permissions
   Directory missing fonts.dir
   Incorrect font server address or syntax
xset:  bad font path element (#76), possible causes are:
   Directory does not exist or has wrong permissions
   Directory missing fonts.dir
   Incorrect font server address or syntax
startkde: Starting up...
kbuildsycoca running...
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "init_kdnssd"
KWrited - Listening on Device /dev/ttyp0

running as realtime process now (priority 15)

QFont::setPointSize: Point size <= 0 (-3)

Last lines of Xorg.log.0 are:
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) Mouse0: SetupAuto: hw.iftype is 4, hw.model is 0
(II) Mouse0: SetupAuto: protocol is SysMouse


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


Re: trouble with KDE 3.4->3.5 and xorg -> 6.9.0

2006-01-22 Thread Per olof Ljungmark

Quoting Don Hinton <[EMAIL PROTECTED]>:


Hi Peter:

On Sunday 22 January 2006 10:43, Per olof Ljungmark wrote:

On 6.0-STABLE, after doing a portupgrade of KDE and xorg according to
UPDATING, I cannot start X as non-root. I've cleared /tmp, removed old
files in home directory created by to KDE and xorg but problem persists.

I'm currently out of ideas and would really appriciate a hint, thanks.


I ran into this the other day.  I can't remember all the steps I took, most
were probably unneccesary anyway, but I think the key was forcefully
rebuilding/reinstalling kdebase.  Try portupgrade -fN kdebase and see if that
works for you.  I ended up rebuilding practically everything, but that
shouldn't be necessary.

hth...
don


I already rebuilt kdelibs but will try your advice anyway, thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: trouble with KDE 3.4->3.5 and xorg -> 6.9.0

2006-01-25 Thread Per olof Ljungmark

Per olof Ljungmark wrote:

Quoting Don Hinton <[EMAIL PROTECTED]>:


Hi Peter:

On Sunday 22 January 2006 10:43, Per olof Ljungmark wrote:

On 6.0-STABLE, after doing a portupgrade of KDE and xorg according to
UPDATING, I cannot start X as non-root. I've cleared /tmp, removed old
files in home directory created by to KDE and xorg but problem persists.



Seems I'm not alone...
http://www.freebsd.org/cgi/query-pr.cgi?pr=92169
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


time lapse recording

2006-01-25 Thread Per olof Ljungmark
Anyone knows of a (working) solution for FreeBSD to record and store off 
web cameras?


Thanks,

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


kdepim3 build error

2006-02-02 Thread Per olof Ljungmark

6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Jan 19 14:50:15 CET 2006
portupgrade -av

/usr/ports/deskutils/kdepim3 3.5.0->3.5.1

memoWidget.o(.text+0x2244): In function `MemoWidget::showComponent()':
: undefined reference to `unpack_MemoAppInfo(MemoAppInfo*, unsigned 
char*, unsigned int)'

addressWidget.o(.text+0x2a94): In function `AddressWidget::showComponent()':
: undefined reference to `unpack_AddressAppInfo(AddressAppInfo*, 
unsigned char*, unsigned int)'

todoWidget.o(.text+0x215c): In function `TodoWidget::showComponent()':
: undefined reference to `unpack_ToDoAppInfo(ToDoAppInfo*, unsigned 
char*, unsigned int)'
../lib/.libs/libkpilot.so: undefined reference to 
`pack_Address(Address*, pi_buffer_t*, addressType)'

../lib/.libs/libkpilot.so: undefined reference to `free_Address(Address*)'
../lib/.libs/libkpilot.so: undefined reference to `free_ToDo(ToDo*)'
../lib/.libs/libkpilot.so: undefined reference to 
`free_Appointment(Appointment*)'
../lib/.libs/libkpilot.so: undefined reference to `unpack_ToDo(ToDo*, 
pi_buffer_t*, todoType)'
../lib/.libs/libkpilot.so: undefined reference to 
`unpack_CategoryAppInfo(CategoryAppInfo*, unsigned char*, unsigned int)'
../lib/.libs/libkpilot.so: undefined reference to 
`pack_Appointment(Appointment*, pi_buffer_t*, datebookType)'
../lib/.libs/libkpilot.so: undefined reference to 
`unpack_Appointment(Appointment*, pi_buffer_t*, datebookType)'
../lib/.libs/libkpilot.so: undefined reference to `pack_ToDo(ToDo*, 
pi_buffer_t*, todoType)'
../lib/.libs/libkpilot.so: undefined reference to 
`unpack_Address(Address*, pi_buffer_t*, addressType)'

gmake[4]: *** [kpilot] Error 1
gmake[4]: Leaving directory 
`/usr/ports/deskutils/kdepim3/work/kdepim-3.5.1/kpilot/kpilot'

gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/usr/ports/deskutils/kdepim3/work/kdepim-3.5.1/kpilot/kpilot'

gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/deskutils/kdepim3/work/kdepim-3.5.1/kpilot'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/deskutils/kdepim3/work/kdepim-3.5.1'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/deskutils/kdepim3.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade11835.34 make

** Fix the problem and try again.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kdepim3 build error

2006-02-02 Thread Per olof Ljungmark

Kris Kennaway wrote:

On Thu, Feb 02, 2006 at 10:14:49AM +0100, Per olof Ljungmark wrote:

6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Jan 19 14:50:15 CET 2006
portupgrade -av

/usr/ports/deskutils/kdepim3 3.5.0->3.5.1


Firstly, this kind of problem should be reported to the ports mailing
list and/or to the maintainer.  I think it's fixed if you cvsup and
retry though.


ok and yes, it's fixed now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "Firefox is already running" problem on 6.0

2006-02-03 Thread Per olof Ljungmark

Jesse Sheidlower wrote:

When I try to launch Firefox, I get a message reading "Firefox is
already running, but is not responding. To open a new window, you
must first close the existing Firefox process, or restart your
system."


You've probably got a stale lockfile. Search for "*lock*"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "Firefox is already running" problem on 6.0

2006-02-03 Thread Per olof Ljungmark

As I said in my original message, "The only FreeBSD-related
message about this that I found talks about deleting lock
files in ~/.mozilla, but I don't have any Firefox lock files."
I don't have any Mozilla lock files either, for that matter.

Jesse Sheidlower


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


Re: can't install kdelibs3 port after upgrading

2006-02-03 Thread Per olof Ljungmark

Nicolas Blais wrote:

On Friday 03 February 2006 20:25, Peter wrote:

I'm running 5.4-STABLE and I'm receiving the following error:


checking for pcre-config... /usr/local/bin/pcre-config
configure: error: You're missing libpcre.
Download libpcre from http://www.pcre.org or find a binary package for
your platform.
Alternatively, you can specify --disable-pcre, but some web pages - using
regular
expressions in Javascript code - will not work correctly, the regexp
support being
quite limited if libpcre isn't present.
===>  Script "configure" failed unexpectedly.


What port contains the coveted libpcre?  I already have the pcre port
installed and there is no other port with the string "pcre".  Isn't
portupgrade/portmanger supposed to help me here?



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


Re: SLAPD starting very slow

2006-02-05 Thread Per olof Ljungmark

Jan HREHO wrote:

Hi everybody.
My configuration.
FreeBSD 6.0 + I update ports. All programs I installed over ports

I installed LDAP server and client (2.2.30), nss_ldap-1.244, 
pam_ldap-1.8.0.


its rc that wants slapd - through PAM and NSS. I think there's something 
fishy about the way all this is implemented but unfortunately I don't 
know what and why. However, I moved /usr/local/etc/tc.d/slapd.sh to 
/etc/rc.d/slapd and that fixed it.


You might want to look into
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-rcd.html
to get an idea.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


problem building p5-Locale-gettext

2006-02-07 Thread Per olof Ljungmark

6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Tue Feb  7 15:47:26 CET 2006

[hunter] /usr/ports/devel/p5-Locale-gettext# make
===>  Vulnerability check disabled, database not found
===>  Extracting for p5-gettext-1.05_1
=> MD5 Checksum OK for gettext-1.05.tar.gz.
=> SHA256 Checksum OK for gettext-1.05.tar.gz.
===>   p5-gettext-1.05_1 depends on file: /usr/local/bin/perl5.8.7 - found
===>  Patching for p5-gettext-1.05_1
===>   p5-gettext-1.05_1 depends on file: /usr/local/bin/perl5.8.7 - found
===>  Applying FreeBSD patches for p5-gettext-1.05_1
===>   p5-gettext-1.05_1 depends on file: /usr/local/bin/perl5.8.7 - found
===>   p5-gettext-1.05_1 depends on shared library: intl - found
===>  Configuring for p5-gettext-1.05_1
checking for gettext... no
checking for gettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
checking for dgettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
checking for ngettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
checking for bind_textdomain_codeset in -L/usr/local/lib -lintl 
-I/usr/local/include... yes

Writing Makefile for Locale::gettext
===>  Building for p5-gettext-1.05_1
Makefile out-of-date with respect to 
/usr/local/lib/perl5/5.8.7/mach/Config.pm 
/usr/local/lib/perl5/5.8.7/mach/CORE/config.h

Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true
/usr/local/bin/perl5.8.7 Makefile.PL "INSTALLDIRS=site" "CC=cc" 
"CCFLAGS=-O2 -fno-strict-aliasing -pipe " "PREFIX=/usr/local" 
"INSTALLPRIVLIB=/usr/local/lib" "INSTALLARCHLIB=/usr/local/lib"

checking for gettext... no
checking for gettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
checking for dgettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
checking for ngettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
checking for bind_textdomain_codeset in -L/usr/local/lib -lintl 
-I/usr/local/include... yes

Writing Makefile for Locale::gettext
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
*** Error code 1

Stop in /usr/ports/devel/p5-Locale-gettext/work/gettext-1.05.
*** Error code 1

Stop in /usr/ports/devel/p5-Locale-gettext.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: problem building p5-Locale-gettext

2006-02-07 Thread Per olof Ljungmark

Kris Kennaway wrote:

==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
*** Error code 1


This usually means your system clock is wrong.


Well of course! The clock was ahead when I built world (new install) and 
then I set it back when I discovered it. Not he first time I do this 
mistake either.


Sorry for the noise,

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


Re: problem building p5-Locale-gettext

2006-02-07 Thread Per olof Ljungmark

Kris Kennaway wrote:

On Tue, Feb 07, 2006 at 09:53:10AM +0100, Per olof Ljungmark wrote:

Kris Kennaway wrote:

==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
*** Error code 1

This usually means your system clock is wrong.
Well of course! The clock was ahead when I built world (new install) and 
then I set it back when I discovered it. Not he first time I do this 
mistake either.


Running ntpdate at boot (and ntpd) is a really good idea.


Yes, and I always do that, it's just that this was a fresh install from 
scratch and I discovered the time error after building the system. 
Perhaps I will remember now to do it *before*.

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


Re: Porblem with Openoffice 2.0.1

2006-02-08 Thread Per olof Ljungmark

[EMAIL PROTECTED] wrote:

I have had Openoffice 2.0.1 installed and working perfectly for several
weeks now.  Suddenly, openoffice now fails to start.  I thought maybe
JDK14 was corrupted so I deinstalled and reinstalled it, however I still
get the same problem.  Below is the output from the end of the failed
openoffice compile.  Also, if I try to start openoffice from the command
line I get the same message.
--


got identical problem here -
FreeBSD 6.1-PRERELEASE #1: Wed Feb  8 17:09:32 CET 2006
PORTVERSION?=   2.0.1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[Fwd: Re: Porblem with Openoffice 2.0.1]

2006-02-09 Thread Per olof Ljungmark



 Original Message 
Subject: Re: Porblem with Openoffice 2.0.1
Date: Wed, 8 Feb 2006 21:20:57 -0500 (EST)
From: [EMAIL PROTECTED]
To: Per olof Ljungmark <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]>


I was able to fix the problem, I think there is something wrong with patch
8 for jdk14.  Delete the openoffice2 directory in /usr/ports.  Cvsup, then
build OOo WITHOUT Java.  For example, make -DWITHOUT_JAVA install.  This
worked for me.

It's only that java is required for many features to work. I think I'll 
wait a while and see if the problem gets fixed. Furthermore, a "make 
clean" in the openoffice-2.0 directory should be sufficient to clear out 
the previous build.

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


Re: OpenOffice.org 2.0.1 & JDK issue

2006-02-10 Thread Per olof Ljungmark

Ben Paley wrote:
I know there has been a lot of activity on the mailing lists these  
days regarding JDK and OOo. From what I could gather, most of it is  
regarding keeping it working after the update of JDK14. In any event,  
I was installing OOo-2.0 for the first time, and the build failed.  
The error message is below and involves JDK-1.4. I figured that this  
would either be fixable or it would give additional information that  
could lead to solving some of the previously mentioned problems on  
the list. Thank you all for your assistance. I am running FreeBSD 6.0-
STABLE. A part of my script nuked the output after it failed, so I  
only have the output from script.


My googling led me to believe that it's to do with a problem in jdk patchset 8 
for freebsd. Ive had exactly the same problem and ended up installing vi 
pkg_add :-(


Seems like the best solution would be to let it use jdk15, but it doesn't seem 
to want to play.


Had same build failure as OP, now when i try the pkg from
ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.0.1/FreeBSD6/
i get
pkg_add OOo_2.0.1_FreeBSD60Intel_install_en-US.tbz
pkg_add: could not find package openssl-beta-0.9.8a !

How safe is it to install openssl-beta-0.9.8a? Does it not conflict with 
the base openssl?


On other boxes with OOo_2.0.1 and jdk-1.4.2p7 there is no requirement 
for openssl-beta-0.9.8a AFAIK.

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


recommendation on graphical ftp client for fbsd/kde

2006-02-14 Thread Per olof Ljungmark

So far tried:
konqueror shipped with kde: odd behaviour with authentication
kbear: crashes
kasablanca; crashes
would prefer one that handles tls as well

command line works nicely as always...

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


Re: General Question

2006-02-14 Thread Per olof Ljungmark

M. Cummins wrote:

Hi. Sorry about the HTML formatted email.

I'm extremely interested in installation of a FreeBSD build on a Dell Dimension 
XPS P133s 133 MHz / 16 MB RAM, with a S3 Trio 64+ PCI (765) and D-Link DFE 
530-TX PCI adapter. I've noted the HCL for version 5 (or maybe it was 6?) but I 
figure I would do better to simply ask - what version do I need to run with my 
current hardware, and what is the highest version I can run on the machine that 
I plan to install on? Before you get too far on the reply, please also consider 
that I primarily want to use the computer for a webserver (for my LAN) in 
console mode (I doubt a GUI is a good idea considering the hardware I'm using.

Oh, and sorry if this is inapproprite, but I have no experience with UNIX and 
really need to learn it. I figured FreeBSD was my best shot at it, based on 
what I've seen. I've been looking at 2.2.8 and it seems to be a decent choice, 
but I do consider that you probably know more about this than I do.


We've all been there.
Why don't you start with something like
http://www.google.se/search?num=100&hl=en&q=freebsd+%22minimum+requirements%22+install+site%3Afreebsd.org&btnG=Search
to see what others did and experienced
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: recommendation on graphical ftp client for fbsd/kde

2006-02-14 Thread Per olof Ljungmark

albi wrote:

Per olof Ljungmark wrote:


So far tried:
konqueror shipped with kde: odd behaviour with authentication
kbear: crashes
kasablanca; crashes
would prefer one that handles tls as well


did you try gftp ? -> /usr/ports/ftp/gftp

(it can do ftp and sftp)


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


Weird KDE error - nss_ldap

2006-02-15 Thread Per olof Ljungmark
Running 6.1-STABLE, KDE 3.5.1, xorg 6.9.0. cvsupped and portupgraded 
this morning just to be sure.


When in konqueror using the "root file system" view, if I click on 
/home, nothing happens. All other directories are displayed ok.


In the terminal that started X I note the following cryptic message:

Assertion failed: (cfg->ldc_uris[__session.ls_current_uri] != NULL), 
function do_init, file ldap-nss.c, line 1245.

kioslave: ### CRASH ## protocol = file pid = 93413 signal = 6

The file ldap-nss.c is part of the nss_ldap port.

This is my workstation at home, and it uses LDAP through PAM for 
authentication. If I take out the references to ldap in nsswitch.conf, 
the problem goes away.


It may be just me who misconfigured the system but it did start after a 
major system/ports upgrade round about a week ago.


Could someone shed some light please?

Per olof

--

nsswitch.conf:
passwd: files [NOTFOUND=continue] ldap
group: files [NOTFOUND=continue] ldap
shells: files [NOTFOUND=continue] ldap
hosts: files dns
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: slapd and bdb-4.2.52

2006-02-16 Thread Per olof Ljungmark

Jon Falconer wrote:
--snip


Feb 15 15:24:38 ecf3 slapd[23761]: @(#) $OpenLDAP: slapd 2.2.30 (Feb  2  2006 
17:42:01) $
[EMAIL 
PROTECTED]:/usr/ports/net/openldap22-sasl-server/work/openldap-2.2.30/servers/slapd
Feb 15 15:24:38 ecf3 slapd[23761]: bdb_db_init: Initializing BDB database
Feb 15 15:24:38 ecf3 slapd[23762]: slapd starting
Feb 15 15:25:06 ecf3 slapd[23762]: conn=0 fd=10 ACCEPT from IP=127.0.0.1:55323 
(IP=0.0.0.0:389)
Feb 15 15:25:06 ecf3 slapd[23762]: conn=0 op=0 BIND 
dn="cn=admin,dc=ds,dc=puc,dc=edu" method=128
Feb 15 15:25:06 ecf3 slapd[23762]: conn=0 op=0 BIND 
dn="cn=admin,dc=ds,dc=puc,dc=edu" mech=SIMPLE ssf=0
Feb 15 15:25:06 ecf3 slapd[23762]: conn=0 op=0 RESULT tag=97 err=0 text=
Feb 15 15:25:06 ecf3 slapd[23762]: conn=0 op=1 SRCH base="dc=ds,dc=puc,dc=edu" scope=2 
deref=0 filter="(objectClass=*)"
Feb 15 15:25:06 ecf3 slapd[23762]: bdb(dc=ds,dc=puc,dc=edu): illegal flag 
specified to txn_begin
Feb 15 15:25:06 ecf3 slapd[23762]: bdb_txn_get: BerkeleyDB 4.2.52 library needs 
TXN patch!
Feb 15 15:25:06 ecf3 slapd[23762]: conn=0 op=1 SEARCH RESULT tag=101 err=0 
nentries=7 text=
Feb 15 15:25:06 ecf3 slapd[23762]: conn=0 op=2 UNBIND
Feb 15 15:25:06 ecf3 slapd[23762]: conn=0 fd=10 closed

Note the complaint about needing a TXN patch. I looked at the four
available patched for db-4.2.52 on sleepycat.com and none seemed related
to TXN. Can this error be ignored? does anyone know how to fix it?
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


AFAIK you can run without the patch but one of the db's will grow 
forever. I have patched all our slapd's as follows:


/usr/local/etc/rc.d/slapd.sh stop
cd /usr/ports/databases/db42
make clean
make patch
cd work/db-4.2.52/
--- fetch the BerkeleyDB42.patch
patch -p0 < BerkeleyDB42.patch
cd ../../
make deinstall
make reinstall
/usr/local/etc/rc.d/slapd.sh start

http://www.google.se/search?num=100&hl=en&q=BerkeleyDB42.patch+site%3Aopenldap.org&btnG=Search
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: certificates

2006-02-18 Thread Per olof Ljungmark

vitor wrote:

it would like to know if emits certification for a professional FreeBSD or
if vocês they homologate entities for emission of certificates?


perhaps
http://www.bsdcertification.org/
is what you are looking for?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


help decipher login msgs

2006-03-06 Thread Per olof Ljungmark

Hi all,

I want to set up Webmin to administer mailboxes on a Cyrus-IMAP server 
with the help of an external module

http://www.tecchio.net/webmin/cyrus/
and it works, sort of.

The following messages are recorded in /var/log/messages:

perl: No worthy mechs found
(the login works despite this message)

Mar  5 18:33:23 daemon su: login_getclass: unknown class 
'/usr/local/cyrus/bin/mbpath "user/"'
Mar  5 18:33:23 daemon su: login_getclass: unknown class 
'/usr/local/cyrus/bin/mbexamine "user/"'
This one I would be very interested to know more about. The login.conf 
manpage is a bit stiff for me but it is exactly those two functions I'm 
interseted in.


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


Re: problem with acrobat7

2006-03-06 Thread Per olof Ljungmark

Filippo Moretti wrote:

After portupgrading acrobat7 I get the following error
[EMAIL PROTECTED] /usr/X11R6/Adobe/Acrobat7.0/ENU/bin]$ ./acroread
The OS named  FreeBSD version 6.1-PRERELEASE is currently not installed.
Try running on an installed platform and connecting to your display.
Installed platform(s) include the following:
Intel/Linux


Check /usr/ports/UPDATING
It says:
  "The command filename is ${PREFIX}/bin/acroread as before..."


20060221:
  AFFECTS: users of print/acroread7 and the localized versions
  AUTHOR: [EMAIL PROTECTED]

  installation directory of print/acroread7 and the slave ports
  have been changed to ${PREFIX}/Adobe/Acrobat7.0/${ADOBE_LANG}.
  ${ADOBE_LANG} is one of CHS,CHT,DAN,DEU,ENU,ESP,FRA,ITA,JPN,KOR,
  NLD,NOR,PTB,SUO,SVE and represents language used in the UI (FRA means
  French version and it is installed by french/acroread, for example).
  To configure the UI language, navigate to 
Edit->Preferences->International->

  Application Language, set it to "Choose at application startup" and
  restart the program.

  The command filename is ${PREFIX}/bin/acroread as before (this is
  a script installed by print/acroreadwrapper now), and if multiple
  versions are installed, one of them will be selected according to
  ${ADOBE_LANG} environment variable.  If ${ADOBE_LANG} is not set,
  it will be automatically set by using ${LANG}; this means when
  LANG=fr_FR.ISO8859-15, ADOBE_LANG will be FRA and the French version
  will be invoked by ${PREFIX}/bin/acroread.  You can set ADOBE_LANG
  manually, too.

  Also, if you want to activate the PDF plugin, use --install-plugin
  option in ${PREFIX}/bin/acroread.  For more detail, see
  print/acroreadwrapper/pkg-message.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: New logo, new look

2006-03-06 Thread Per olof Ljungmark

Sven Rütz wrote:

Hi FreeBSD-Team,

about 4 months ago Anton K. Gural won the freebsd-logo-competition. After
that I heared nothing new about the l33t new look (it turned out really
well ;) ). I want to ask some questions concerning the "look":

1) What is the licensing of the logo-design by Gural?
   Is it under the BSD license or do I need the consent
   of Gural for using the logo like I need it from McKusick
   to use the Daemon?.

2) Will the sources of the logo be available for download
   (f.e. the svg-files)

3) When will the homepage be updated/redesigned?

4) Is there any possibility to contact Gural himself,
   because I found no homepage or something.


try from here:
http://archive.netbsd.se/?ml=bus&a=2005-11&t=1438410
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Out of memory during "large" request

2006-03-07 Thread Per olof Ljungmark

FreeBSD 6-STABLE

Got this when I ran a Perl script:
Out of memory during "large" request for 33558528 bytes

Would this be good syntax in /boot/loader.conf, the system has 2G RAM:
vm.kmem_size_max=671088640
to try to cure the problem? Where do I best learn more about memory tuning?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: help decipher login msgs

2006-03-07 Thread Per olof Ljungmark

Lowell Gilbert wrote:

Per olof Ljungmark <[EMAIL PROTECTED]> writes:


I want to set up Webmin to administer mailboxes on a Cyrus-IMAP server
with the help of an external module
http://www.tecchio.net/webmin/cyrus/
and it works, sort of.

The following messages are recorded in /var/log/messages:

perl: No worthy mechs found
(the login works despite this message)

Mar  5 18:33:23 daemon su: login_getclass: unknown class
'/usr/local/cyrus/bin/mbpath "user/"'
Mar  5 18:33:23 daemon su: login_getclass: unknown class
'/usr/local/cyrus/bin/mbexamine "user/"'
This one I would be very interested to know more about. The login.conf
manpage is a bit stiff for me but it is exactly those two functions
I'm interseted in.


Those cyrus executables are being treated as class names in the login
configuration.  Your syntax in login.conf must be confused to make
that happen.  Look at where their names appear in your login.conf (and
remember to rebuild the database with cap_mkdb(8) to be sure that what
is in the file matches what is actually being used).


Hmm, well, yes. It is a vanilla FreeBSD-6 login.conf (at least I did not 
touch it)

-rw-r--r--   1 root  wheel  6802 Nov  3 09:12 login.conf

I first thought it was the stupid hostname (daemon) so I changed it and 
rebuilt with cap_mkdb(8) to be very sure but the messages are still there:
stellablue su: login_getclass: unknown class 
'/usr/local/cyrus/bin/mbpath "user/peo"'


It may be that the webmin cyrus-imap module is too Linux-specific here? 
I'll go back and try to see what it wants.


Thanks!

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


Re: Out of memory during "large" request

2006-03-08 Thread Per olof Ljungmark

Lowell Gilbert wrote:

Per olof Ljungmark <[EMAIL PROTECTED]> writes:


FreeBSD 6-STABLE

Got this when I ran a Perl script:
Out of memory during "large" request for 33558528 bytes

Would this be good syntax in /boot/loader.conf, the system has 2G RAM:
vm.kmem_size_max=671088640
to try to cure the problem? Where do I best learn more about memory tuning?


Are you sure you're not just running into process limits, as opposed
to kernel limits?


Honestly, no. But on a 5.4 system I did cure the same problem with the 
line "kern.maxdsiz="768M"" in loader.conf and I thought "vm.kmem_size" 
would be the corresponding parameter in 6?

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


Re: Newbie FreeBSD/Linux Question

2006-03-08 Thread Per olof Ljungmark

Lawrence Petrykanyn wrote:

Hi!

I am a newbie trying to compile the program JACK that is required for 
the midi sequencer Rosegarden.  This program (JACK) is not available 
through the ports collection and is intended for a Linux system.  I am 


I have jackd(1) installed (from ports) but maybe it is not the one 
you're looking for:

/usr/ports/audio/jack

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


Re: pkgdb warning message

2006-03-12 Thread Per olof Ljungmark

Gerard Seibert wrote:
When running the following command: pkgdb -Fv, I receive the following 
message:


Duplicated origin: devel/libtool15 - libtool-1.5.22_1 libtool-1.5.22_2
Unregister any of them? [no]

I am unsure of what action to take, therefore I have chosen the default 
[no] one suggested. Would it be prudent to delete one of these 
duplicates, and if so does it matter which one?



/usr/ports/UPDATING:

20060223:
  AFFECTS: all ports using libtool as part of the build process
  AUTHOR: [EMAIL PROTECTED]

  The way in which ports that require libtool to build has been
  completely reworked to bring the ports system in line with other
  environments, such as Linux, and pkgsrc.

  devel/libtool13 no longer exists.  devel/libtool15 has been modified
  to (a) install in the canonical locations and (b) remove a number
  of long-standing FreeBSD-specific patches that resulted in a very
  different libtool than is present on other systems.

  The main visible change will be that a large number of ports have
  had their plists modified (we now install libtool .la archives)
  and, as such, PORTREVISIONS have been bumped on ~2000 ports (roughly
  1/7th of the tree).

  Unfortunately, there is no simple upgrade path.  Short of removing
  all packages and reinstalling from scratch, the only other viable
  alternative would be careful use of portupgrade.  Given the large
  number of different ways in which libtool is used by other ports
  in the tree, this is a process that is likely to vary considerably
  from system to system, and as such, folks should be very mindful
  of running automatic updating software, such as portupgrade, making
  extensive use of the -n flag (and equivalents for other updaters)
  to see what will actually be rebuilt, before actually performing
  the upgrade.

  The good news is that the system now in place will make the handling
  of libtool-using ports considerably easier going forward.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


vm.kmem_size revisited

2006-03-21 Thread Per olof Ljungmark
What is the maximum value of "vm.kmem_size"? I tried to set it to 
vm.kmem_size=1069543424 (with 2G physical memory) but that apparently 
did not work out nicely (lost the machine, it's remote).


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


Re: vm.kmem_size revisited [update]

2006-03-21 Thread Per olof Ljungmark

Per olof Ljungmark wrote:
What is the maximum value of "vm.kmem_size"? I tried to set it to 
vm.kmem_size=1069543424 (with 2G physical memory) but that apparently 
did not work out nicely (lost the machine, it's remote).


Got to the machine in question, the only information on console was:
kern_suballoc: bad status return of 3
panic: kern_suballoc
uptime: 1s

FreeBSD 6.1-PRERELEASE Thu Mar  2 23:41:27 CET 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


openoffice configure error on -current

2004-06-28 Thread Per olof Ljungmark
FreeBSD 5.2-CURRENT #0: Mon Jun 28 19:38:50 CEST 2004, cvsup late June 27th.
Build of Openoffice-1.1 stops at:
checking for XShmCreateImage in -lXext... yes
checking for X11/extensions/XShm.h... yes
checking for XieFloGeometry in -lXIE... no
checking for X11/extensions/XIElib.h... no
configure: error: Could not compile basic X program.
===>  Script "configure" failed unexpectedly.
There is no XIElib.h on this system, should there be?
/per olof
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: openoffice configure error on -current - more info

2004-06-28 Thread Per olof Ljungmark
Per olof Ljungmark wrote:
FreeBSD 5.2-CURRENT #0: Mon Jun 28 19:38:50 CEST 2004, cvsup late June 
27th.

Build of Openoffice-1.1 stops at:
checking for XShmCreateImage in -lXext... yes
checking for X11/extensions/XShm.h... yes
checking for XieFloGeometry in -lXIE... no
checking for X11/extensions/XIElib.h... no
configure: error: Could not compile basic X program.
===>  Script "configure" failed unexpectedly.
There is no XIElib.h on this system, should there be?
Last section of 
/usr/ports/editors/openoffice-1.1/work/mozilla/work/mozilla/config.log
reads

configure:7423: checking for XieFloGeometry in -lXIE
configure:7442: gcc32 -o conftest -O -pipe-I/usr/X11R6/include 
-I/usr/X11R6/include  -L/usr/X11R6/lib  conftest.c -lXIE -lX11  -lXext 
-lm  1>&5
/usr/bin/ld: cannot find -lXIE
collect2: ld returned 1 exit status
configure: failed program was:
#line 7431 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply.  */
char XieFloGeometry();

int main() {
XieFloGeometry()
; return 0; }
configure:7464: checking for X11/extensions/XIElib.h
configure:7474: gcc32 -E   -I/usr/X11R6/include  -I/usr/X11R6/include 
conftest.c >/dev/null 2>conftest.out
configure:7527: gcc32 -c -O -pipe   -I/usr/X11R6/include 
-I/usr/X11R6/include  -I/usr/X11R6/include conftest.c 1>&5
In file included from /usr/X11R6/include/X11/Xlib.h:51,
 from configure:7514:
/usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3/include/sys/types.h:251: 
syntax error before "udev_t"
configure: failed program was:
#line 7511 "configure"
#include "confdefs.h"

#include 
#include 
int main() {
Display *dpy = 0;
if ((dpy = XOpenDisplay(NULL)) == NULL) {
fprintf(stderr, ": can't open %s\en", XDisplayName(NULL));
exit(1);
}
; return 0; }
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IBM T41 crash on boot when swapping drives

2004-07-03 Thread Per olof Ljungmark
Hi list,
I wonder if you could help me analyze a problem using different storage 
devices in Ultrabay on a IBM Thinkpad T41?

Primary HD installed with FreeBSD -current, sources are from June 26th.
Secondary HD in Ultrabay Slim with Win XP
If I swap the secondary(XP) HD for a CDRW it's fine up until single user 
mode but as son as the system enters multiuser it stops. If this is a 
known problem, please let me know if there a a fix, or, what more 
information can I provide to amalyze it further?
I'm prepared to do whatever to help to solve this!

Thanks!
#
# Memory modified after free 0xc1b0ea00(508) val=1ff01ff @ 0xc1b0ea00
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual adress= 0x1ff021F
fault code  = supervisor read, page not present
etc. etc.
dmesg (with two HD's)
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #0: Mon Jun 28 19:38:50 CEST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a25000.
Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc0a2526c.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0a25318.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a253c4.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1600MHz (1594.84-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x695  Stepping = 5
Features=0xa7e9f9bf
real memory  = 536215552 (511 MB)
avail memory = 515022848 (491 MB)
random: 
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: [GIANT-LOCKED]
acpi_ec0:  port 0x66,0x62 on acpi0
pcibios: BIOS version 2.10
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0:  on acpi0
acpi_tz0:  on acpi0
acpi_lid0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib0: slot 29 INTA is routed to irq 11
pcib0: slot 29 INTB is routed to irq 11
pcib0: slot 29 INTC is routed to irq 11
pcib0: slot 29 INTD is routed to irq 11
pcib0: slot 31 INTB is routed to irq 11
pcib0: slot 31 INTB is routed to irq 11
pcib0: slot 31 INTB is routed to irq 11
agp0:  mem 0xd000-0xdfff at 
device 0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pcib1: slot 0 INTA is routed to irq 11
pci1:  at device 0.0 (no driver attached)
uhci0:  port 0x1800-0x181f 
irq 11 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0x1820-0x183f 
irq 11 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ugen0: Todos Data System USB Smart Card Reader, rev 1.10/5.00, addr 2
ukbd0: P.I. Engineering PC Keyboard/Mouse to USB  Adapter, rev 
1.10/3.10, addr 3, iclass 3/1
kbd1 at ukbd0
ums0: P.I. Engineering PC Keyboard/Mouse to USB  Adapter, rev 1.10/3.10, 
addr 3, iclass 3/1
ums0: 5 buttons and Z dir.
uhci2:  port 0x1840-0x185f 
irq 11 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0:  at device 29.7 (no driver attached)
pcib2:  at device 30.0 on pci0
pci2:  on pcib2
pcib2: slot 0 INTA is routed to irq 11
pcib2: slot 0 INTB is routed to irq 11
pcib2: slot 1 INTA is routed to irq 11
pcib2: slot 2 INTA is routed to irq 11
cbb0:  mem 0xb000-0xbfff irq 11 at device 
0.0 on pci2
cardbus0:  on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1:  mem 0xb100-0xb1000fff irq 11 at device 
0.1 on pci2
cardbus1:  on cbb1
pccard1: <16-bit PCCard bus> on cbb1
em0:  port 
0x8000-0x803f mem 0xc020-0xc020,0xc022-0xc023 irq 11 at 
device 1.0 on pci2
em0: [GIANT-LOCKED]
em0: Ethernet address: 00:0d:60:8d:40:74
em0:  Speed:N/A  Duplex:N/A
pci2:  at device 2.0 (no driver attached)
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0x1860-0x186f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0:  at device 31.3 (no driver attached)
pcm0:  port 0x18c0-0x18ff,0x1c00-0x1cff mem 
0xc800-0xc8ff,0xcc00-0xcdff irq 11 at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: 
pci0:  at device 31.6 (no driver attached)
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
sio0: config

Re: IBM T41 crash on boot when swapping drives

2004-07-04 Thread Per olof Ljungmark
Per olof Ljungmark wrote:
Hi list,
I wonder if you could help me analyze a problem using different storage 
devices in Ultrabay on a IBM Thinkpad T41?

Primary HD installed with FreeBSD -current, sources are from June 26th.
Secondary HD in Ultrabay Slim with Win XP
If I swap the secondary(XP) HD for a CDRW it's fine up until single user 
mode but as son as the system enters multiuser it stops. If this is a 
known problem, please let me know if there a a fix, or, what more 
information can I provide to amalyze it further?
I'm prepared to do whatever to help to solve this!

Hmmm, apparently there is a "freebsd-mobile" list where this topic 
already came up. Sorry for the littering...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   3   >