vim 6.3 pthread errors?

2004-08-08 Thread Andreas Ntaflos
Hello, 

quick question: trying to install vim 6.3.15 from the ports with 
support for GTK2 on a FreeBSD 5.2.1-p9 machine by doing a 
portinstall -m WITH_GTK2=YES vim.

Somewhere in the compilation process it borks with these error 
messages (last few lines of output):

 cc  -lXt -L/usr/X11R6/lib -L/usr/local/lib  -o vim objects/buffer.o  
objects/charset.o  objects/diff.o  objects/digraph.o  objects/edit.o  objects/eval.o  
objects/ex_cmds.o  objects/ex_cmds2.o  objects/ex_docmd.o  objects/ex_eval.o  
objects/ex_getln.o  objects/fileio.o  objects/fold.o  objects/getchar.o
objects/if_cscope.o  objects/if_xcmdsrv.o  objects/main.o  objects/mark.o  
objects/memfile.o  objects/memline.o  objects/menu.o  objects/message.o  
objects/misc1.o  objects/misc2.o  objects/move.o  objects/mbyte.o  objects/normal.o  
objects/ops.o  objects/option.o  objects/os_unix.o  objects/pathdef.o  
objects/quickfix.o  objects/regexp.o  objects/screen.o  objects/search.o  
objects/syntax.oobjects/tag.o  objects/term.o  objects/ui.o  objects/undo.o  
objects/window.o  objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o  objects/pty.o 
objects/gui_gtk_f.o  objects/gui_beval.o  objects/netbeans.o   
objects/version.o   -Wl,--export-dynamic -L/usr/local/lib -L/usr/X11R6/lib 
-lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -lXcursor -latk-1.0 
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext -lfontconfig 
-lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv -lSM 
-lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -ltermlib -liconv
objects/os_unix.o: In function `get_stack_limit':
objects/os_unix.o(.text+0x3d2): undefined reference to `pthread_attr_init'
objects/os_unix.o(.text+0x3e6): undefined reference to `pthread_attr_get_np'
objects/os_unix.o(.text+0x3fc): undefined reference to `pthread_attr_getstacksize'
objects/os_unix.o(.text+0x40f): undefined reference to `pthread_attr_destroy'
*** Error code 1

What's that? What's missing? Why with all the pthread_ problems? 
What should I do? :-)

I know it worked under 4.10-STABLE with GTK2, why would it break under 5.2?

TIA
-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vim 6.3 pthread errors?

2004-08-08 Thread Andreas Ntaflos
On Sun, Aug 08, 2004 at 03:21:23PM +0200, Herbert J. Skuhra wrote:
 Uwe Laverenz [EMAIL PROTECTED] wrote:
  On Sun, Aug 08, 2004 at 12:58:34PM +0200, Andreas Ntaflos wrote:
 
  objects/os_unix.o: In function `get_stack_limit':
  objects/os_unix.o(.text+0x3d2): undefined reference to `pthread_attr_init'
  objects/os_unix.o(.text+0x3e6): undefined reference to `pthread_attr_get_np'
  objects/os_unix.o(.text+0x3fc): undefined reference to `pthread_attr_getstacksize'
  objects/os_unix.o(.text+0x40f): undefined reference to `pthread_attr_destroy'
  *** Error code 1
 
  Yes, same error here on several 5.2.1p9-machines. The build works fine
  without GTK2.

It does indeed, but I don't like gvim+GTK1 very much (looks ugly if
you ask me).

 The build works fine here if I run:
 portinstall -m 'WITH_GTK2=yes WITH_PYTHON=yes' vim
 
 This adds the missing -pthread.

Great, WITH_PYTHON did the trick, now it built fine and uses
GTK2.

Very nice, thanks!
-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ripping Audio CDs and Enhanced Audio CDs?

2004-08-02 Thread Andreas Ntaflos
Hello list, 

FreeBSD 4.10-STABLE, using ripit.pl (audio/ripit) with lame and dagrab.

I've got a (quite simple?) question which keeps me up at nights (not
really :-). 

How do you rip those audio CDs that are enhanced? That's the CDs 
that have such fancy multimedia features you can use when you put 
the CD in a CD-ROM drive (under Windows of course), eg play some 
low-quality music video or navigate around some menus. I am of course
not interested in any of those features, just want to make some MP3s
from that CD so I can put them on my MP3 player.

Here's the problem I have with every CD of that kind: I can rip every 
audio track except the last one, that is the track that comes before 
the data track on the CD, eg:

Track 01: audio 
.
.
.
Track 09: audio 
Track 10: data 

An example of such a CD is the Rock in Rio album by Iron Maiden.

Ripping track 09 from the CD fails, no matter what ripper I use
(dagrab, dd, cdparanoia, cdda2wav). Unfortunately I can't reproduce any
error messages at the moment, but maybe someone knows what I mean? It
basically stops reading after about 90% of the track and exists with an
error message. Note: ripping and encoding normal CDs works like a
charme, from the first to the last track.

Using a Windows machine to rip an enhanced CD works of course, but 
I should be really surprised if such a task was impossible under
FreeBSD.

Does anybody have an idea? I'd appreciate any help.

Thanks in advance.
-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ripping Audio CDs and Enhanced Audio CDs?

2004-08-02 Thread Andreas Ntaflos
On Mon, Aug 02, 2004 at 10:47:15AM -0400, Ada Cheng wrote:
 You can just specify the tracks to be ripped using cdda2wav with -t,
 thereby skipping the multimedia track.
 
Thanks for your reply!

I already tried that (although stupid me forgot to mention that in the
original post), and various combinations of individual tracks and track
ranges, to no avail. It does not fail trying to rip the data track, it
fails during the last *audio* track, no matter what I do.

Although if you speak from experience and have succeeded ripping
enhanced CDs that way (-t switch) then my problem must lie somewhere
else, or I didn't try hard enough.

 On Mon, 2 Aug 2004, Andreas Ntaflos wrote:
 
  Hello list,
 
  FreeBSD 4.10-STABLE, using ripit.pl (audio/ripit) with lame and dagrab.
 
  I've got a (quite simple?) question which keeps me up at nights (not
  really :-).
 
  How do you rip those audio CDs that are enhanced? That's the CDs
  that have such fancy multimedia features you can use when you put
  the CD in a CD-ROM drive (under Windows of course), eg play some
  low-quality music video or navigate around some menus. I am of course
  not interested in any of those features, just want to make some MP3s
  from that CD so I can put them on my MP3 player.
 
  Here's the problem I have with every CD of that kind: I can rip every
  audio track except the last one, that is the track that comes before
  the data track on the CD, eg:
 
  Track 01: audio
  .
  .
  .
  Track 09: audio
  Track 10: data
 
  An example of such a CD is the Rock in Rio album by Iron Maiden.
 
  Ripping track 09 from the CD fails, no matter what ripper I use
  (dagrab, dd, cdparanoia, cdda2wav). Unfortunately I can't reproduce any
  error messages at the moment, but maybe someone knows what I mean? It
  basically stops reading after about 90% of the track and exists with an
  error message. Note: ripping and encoding normal CDs works like a
  charme, from the first to the last track.
 
  Using a Windows machine to rip an enhanced CD works of course, but
  I should be really surprised if such a task was impossible under
  FreeBSD.
 
  Does anybody have an idea? I'd appreciate any help.
 
  Thanks in advance.
  --
  Andreas daff Ntaflos | A cynic is a man who knows the price of
  daff AT dword DOT org  | everything, and the value of nothing.
  Vienna, AUSTRIA|  Oscar Wilde
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 100Mbit/s LAN slow, TX only ~3MB/s (esp. file transfer) -- why?

2004-07-16 Thread Andreas Ntaflos
Thank you all who took time to reply! The problem really seems to be one
of the (or maybe even both, even the LinkSys!) NICs in the FreeBSD machines. 
No wonder, the RealTek card is a cheap piece of crap (around EUR 6), I 
am going to replace it with something more reliable. Any recommendations?

Is there a card with Really Good(TM) driver implementation for FreeBSD?
Anything one would use in a production server (we use 3com cards almost
exclusively at work, although mostly in Linux servers)?

Anyway, thanks for all the input, I really appreciate it!

Andreas
-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


100Mbit/s LAN slow, TX only ~3MB/s (esp. file transfer) -- why?

2004-07-14 Thread Andreas Ntaflos
Hello list, 

here's the situation: a small LAN with two FreeBSD machines (one
4.10-STABLE, one 5.1-RELEASE-p11), one Gentoo box, one Windows 2000
Laptop. All the machines have 100Mbit/s capable network interfaces,
configured for full duplex and auto-negotiation, and actually running 
in 100baseTX-FD mode (5.1 uses rl0, 4.10 dc0, Gentoo and Windows are
also equipped with RealTek RTL8139 NICs).

They are all connected through CAT5 UTP cables and a 5 port 100Mbit/s
switch. All machines except the FreeBSD 5.1-RELEASE box are quite
capable (800MHz--1GHz, 128MB--640MB RAM, (U)DMA mode harddisks, etc).
The 5.1 box is an old 200MHz Pentium-MMX, 64MB RAM, slow disks.

Here's the problem: Using FTP to transfer a 600MB file (ISO image) from
one FreeBSD machine to the other runs only as fast as 3MB/s (maximum).
Transferring the same file from the Gentoo box to one of the FreeBSD
machines runs equally slow. Transferring the file from the Gentoo box to
the Windows 2000 laptop however runs fine with about 10MB/s.
Transferring from FreeBSD to Windows 2000 is slow again (2--5MB/s).

Using SCP gives me a maximum of 1MB/s tranfer rate, on all possible
connections and client pairs. I suppose this could be SCPs fault since 
it needs a fast CPU to encrypt and decrypt the data, but 800MHz and 1GHz
ought to be enough so that this shouldn't be a bottleneck, hm?

I've also tried connecting the machines directly via a crossover cable, 
to no avail. 4.10 -- 5.1 is still 3MB/s, Gentoo -- Windows 2000 runs
even faster, and Gentoo -- FreeBSD is also about 2MB/s.

I remember that about a year ago with the same setup (except for the 5.1
box, which I didn't have back then) FTP speed was most excellent,
transferring a 1GB file took about 3 minutes. Now it seems to take
forever to copy just 50MB.

So why could this be? I am mostly interested in the two FreeBSD
machines, why would that be such a slow connection? Because the 5.1 box
is quite old? Could the RealTek card have a problem? The switch is
almost certainly not faulty. Also why would a transfer between the 4.10
box and the Gentoo machine take so long? As I mentioned, a year ago I
was enjoying TX rates of almost 11MB/s between the two of them.

I believe at least part of the problem lies with the FreeBSD machines,
so I am asking for ideas on what this issue could be, how to
investigate further to track down the possible sources of the problem
and how to solve it. 

Sorry for this lengthy post, I tried to give as much information as
possible and make clear that I have already invested a good amount of
time and effort to debug and solve this myself, but I am running out 
of ideas. I also posted on two other boards but nobody could suggest 
anything actually useful.

I refuse to believe that this is the expected mode of operation for FTP
(and even SCP) :-)

Any help would be greatly appreciated!

Thanks in advance!

Andreas 
-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems installing a USB keyboard

2004-06-01 Thread Andreas Ntaflos
Hello list, 

this is just a quick question, I used to use a PS/2 keyboard, now I got
a Cherry USB which I'd like to try out. I put device ukbd in my kernel 
configuration (along with device uhci, ohci, usb, ugen and uhid) and
rebuilt it. 

However, I seem to be forgetting something, because when booting the
system the keyboard doesn't seem to work. The Num-Lock key does
(turning the Num-Lock LED on and off), but nothing else (can't even log
in or do a CTRL-ALT-DEL).

What am I missing? Sorry if this is something painfully obvious.

Thanks in advance!
-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems installing a USB keyboard

2004-06-01 Thread Andreas Ntaflos
On Tue, Jun 01, 2004 at 11:26:43AM -0400, Robert Huff wrote:
 
   What am I missing? Sorry if this is something painfully obvious.
 
   It isn't, but you may find this applicable:
 
   http://www.freebsd.org/cgi/query-pr.cgi?pr=30570
 

Thanks for your reply!

If I am not mistaken the fix for this problem is to remove the AT
keyboard driver from the kernel? This is mentioned somewhere in the
handbook, too I think. There are two entries in the kernel configuration
for the keyboard (controller):

device atkbdc0 at isa? port IO_KBD
device atkbd0  at atkbdc? irq 1 # flags 0x1: remove and reconnect kbd correctly

Which one has to be removed? Probably both, right? But as far as I understand, the 
atkbdc0 also controls the PS/2 mouse; does that mean it is not possible to use 
a USB keyboard with a PS/2 mouse?

Sounds like I should keep using the keyboard with the USB-to-PS/2
converter, doesn't it? :) But I'll try removing the AT driver first.
-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems installing a USB keyboard

2004-06-01 Thread Andreas Ntaflos
On Tue, Jun 01, 2004 at 09:08:07AM -0700, jimmie james wrote:
 On Tue, Jun 01, 2004 at 11:26:43AM -0400, Robert Huff
 wrote:
  
What am I missing? Sorry if this is something
 painfully obvious.
  
  It isn't, but you may find this applicable:
  
  http://www.freebsd.org/cgi/query-pr.cgi?pr=30570

Ok, thank you both, it kinda works now, with the limitations Jimmie
mentioned. I out-commented device atkbd0 at atkbdc? irq 1 and I can
use the USB keyboard now.

Problem kinda solved :)

Thanks!
-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Solved: FreeBSD as print server w/CUPS + samba + apsfilter

2004-05-25 Thread Andreas Ntaflos
Alas, too late I see this thread :)

I have written (some months ago) a guide covering the installation and
configuration of CUPS+Samba with printing from Windows (2k, NT, XP)
clients via the Samba/Windows Network-Interface (the one where you can
download printer drivers from the print server). I've sent it to
Daemonnews months ago, but they didn't reply.

I'll post the links here, and although it doesn't cover apsfilter, I am 
sure there are a few useful hints and points in there. It's a little
outdated, though (not much).

HTML version: http://daffit.meownz.info/html/cups-samba/
PDF: http://daffit.meownz.info/cups-samba.pdf

All that is based on a writeup of mine in the Gentoo forums, this
thread: http://forums.gentoo.org/viewtopic.php?t=110931

A good guy named Joshua Preston put it all---plus a lot more (CLAM-AV)---
together here: http://sungentoo.homeunix.com/test/quicksamba-howto.html

The latter two links contain more up-to-date information and
troubleshooting tips, and although they are written for the Gentoo Linux
system, it should be no problem adapting the important points to any
other Unix/Linux platform, especially FreeBSD.

Hopefully this helps! 
-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


libxml2.so.5: Undefined symbol pthread_equal w/ xfce4

2004-05-24 Thread Andreas Ntaflos
Hello list, 

This one annoys me for quite a long time now. I am using xfce4 (but
that's not the point) and there is this problem with libxml2. It
manifests itself thus: 

** (xfce-mcs-manager:89174): WARNING **: Module
/usr/X11R6/lib/xfce4/mcs-plugins /libxfce4settings.so cannot be 
opened (/usr/local/lib/libxml2.so.5: Undefined symbol pthread_equal)

(meaning that the properties panel for the xfce4-panel cannot be used
and it's not possible to configure it anymore).

Now I've searched the archives and found this:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=2503272+0+archive/2004/freebsd-questions/20040314.freebsd-questions
and the only reply:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=2513997+0+/usr/local/www/db/text/2004/freebsd-questions/20040314.freebsd-questions

I've recompiled libxml2 a thousend times, with every possible
combination of WITH_THREADS=false, WITHOUT_THREADS=true, THREADS=off,
THREADS=no, etc, etc. /var/db/ports/libxml2/options has
WITHOUT_THREADS=true, meaning that the THREADS option for libxml2 is
OFF. I've recompiled each and ever port that depends on libxml2 
(which is A LOT of ports) with the same make flags to no avail.

What am I supposed to do? The problems seems to be only with xfce4. 
One single time I think I hit the correct combination of make flags,
resulting in xfce4 working correctly again with libxml2. Then, some 
days ago, I updated libxml2 and there it is again. Every other 
application (e.g. the Gimp) seems to works fine (I think). 

Why is this, what would I have to do and where should I read up on the
problem? Gotta have it fixed! Argh! :-)

I'd really appreciate any input concerning this! Hopefully I've provided
enought information on the subject.

Thanks in advance!
-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libxml2.so.5: Undefined symbol pthread_equal w/ xfce4

2004-05-24 Thread Andreas Ntaflos
Sure I forgot to mention that I use FreeBSD 4.10-BETA as of April 9, not
5.x. 

Sorry.

Thanks.
-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: App like M$ Project

2004-05-24 Thread Andreas Ntaflos
On Mon, May 24, 2004 at 02:05:39PM -0400, Bob Collins wrote:
 I am looking for a nice Open Source app like Microsloth's Project. I
 have Googled a bit and find nothing interesting. Do any of you have a
 suggestion for such a thing, assuming it even exists? Of course, I would
 also like to run it on FBSD, but if it could also run on Winderz, for
 some of my (L)users, that would be good too.
 

You probably want to check out Gantt-Project at http://www.ganttproject.org/
It's a Java program, meaning you need a working installation of Java on
your system (which you probably have anyway). Start it by using 
 java -jar ganttproject-1.9.11.jar

Since it is a native Java app it runs a bit slowly :) It probably isn't
as powerful as MS Project, but I think it features enough functionality
to be useful.

As a matter of fact, I am using it right now for a stupid and boring
project management course at the TU Vienna. Unfortunately the
documentation/manual is not very impressive.

HTH
-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vim

2003-01-09 Thread Andreas Ntaflos
On Thu, Jan 09, 2003 at 04:00:00PM -0600, Brian Henning wrote:
 Hello,
 
 Is there an x version of vim for bsd? i downloaded the src files from
 www.vim.org and compiled it, but it created just the terminal verson of vim.
 Any suggestions?
 

You might try starting gvim from an xterm. Also, you'd better use the ports
version of vim which you'll find in ports/editors/vim.

HTH
regards
-- 
Andreas ant Ntaflos | A cynic is a man who knows the price of
[EMAIL PROTECTED]   | everything, and the value of nothing.
Vienna, AUSTRIA   |  Oscar Wilde

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Softer crash a show-interrupter only (please CC me in reply)

2003-01-03 Thread Andreas Ntaflos
On Fri, Jan 03, 2003 at 06:42:42PM -0800, Peter Leftwich wrote:
 [Please CC me in your reply]
 
 Can anything be gathered from the attached sysconsole messages?  Oh, also,
 is there a tcsh command line I can run that will tee messages both to the
 console and to a file, such as `startx 2 startx.out` or something? Thx!!

For that I would use script(1). I think with tcsh it is not possible to
direct stdout and stderr to both a file and the console.

Content-Description: startx.out
 box 1743 ~ # startx
 xauth: (argv):1:  bad display name ...r.com:0 in list command
 xauth: (argv):1:  bad display name ...r.com:0 in add command
 XFree86 Version 4.2.1 / X Window System
 (protocol Version 11, revision 0, vendor release 6600)

I am afraid I don't use either Gnome nor Galeon nor GAIM, so I don't think I
can help you with that, but you should set your IP address and hostname in
/etc/hosts to avoid that xauth errormessage.
As for the rest, you sould probably check your jdk1.3.1 installation
or something like that. This libjavaplugin_oji.so-thingy is something I've
encountered too, but with the native FreeBSD version of Opera. Don't really
have a clue on that. 

HTH (a little)
regards
-- 
Andreas ant Ntaflos   |  A cynic is a man who knows the price of
[EMAIL PROTECTED] |  everything, and the value of nothing.
Vienna, AUSTRIA |   Oscar Wilde

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Saving a partially rotting IBM DTLA-307030 Harddisk

2003-01-02 Thread Andreas Ntaflos
Hello list, 

  I've got the following problem which I hope someone could help me with: One
  of my boxes running FreeBSD 4.7-STABLE has an IBM DTLA-307030 (30GB) which 
  worked very well for more than 2 years now, but I think it starts rotting 
  away according the following:

  * The security output shows something like this every day since Dec 11:
  ---8--
Checking setuid files and devices:
find: /usr/home/user1/path/to/file1: Input/Output error
find: /usr/home/user1/path/to/file2: Input/Output error
.
.
[snip, lots of similar blahs]
.
.
find: /usr/home/user1/path/to/file17: Input/Output error
  ---8--  
So I know that it is just a specific area on the disk that seems to be
done for, which corresponds to the following console messages:
   
  * ad4: READ command timeout tag=0 serv=0 - resetting
ata2: resetting devices .. done
ad4: READ command timeout tag=0 serv=0 - resetting
ata2: resetting devices .. done
ad4: READ command timeout tag=0 serv=0 - resetting
ata2: resetting devices .. done
swap_pager: indefinite wait buffer: device: #ad/0x20021, blkno: 1656,
size: 4096
ad4: READ command timeout tag=0 serv=0 - resetting
ad4: trying fallback to PIO mode
ata2: resetting devices .. done
ad4s1h: hard error reading fsbn 62679087 of 29163648-29163679 (ad4s1 bn
  62679087; cn 3901 tn 151 sn 9) status=59 error=40
ad4s1h: hard error reading fsbn 62679087 of 29163648-29163679 (ad4s1 bn
  62679087; cn 3901 tn 151 sn 9) status=59 error=40
  
  * trying to `rm -rf` the affected directories and files results in the
same messages:

rm: /usr/home/user1/path/to/file1: Input/Output error
rm: /usr/home/user1/path/to/file2: Input/Output error
  
 ad4s1h: hard error reading fsbn 62679087 of 29163648-29163679 (ad4s1 bn
   62679087; cn 3901 tn 151 sn 9) status=59 error=40
 ad4s1h: hard error reading fsbn 62679087 of 29163648-29163679 (ad4s1 bn
   62679087; cn 3901 tn 151 sn 9) status=59 error=40

  As can be seen, the data in that affected area is virtually lost, but
  luckily not very important. So my question is, what can I do to get
  the disk fully operational again? Some time ago I read that writing binary
  zeroes there could be used as some kind of low-level-format to get rid of
  the bad sectors. If this would be of any use, how would I accomplish to
  dd /dev/zero to just that specific part of the disk, leaving the rest
  intact? Is that possible at all? Or are there any other ways to solve that
  problem, apart from buying a new disk or low-level-formating the whole
  thing?

  I would really appreciate any help or hints on that.

Kind regards
-- 
Andreas ant Ntaflos   |  A cynic is a man who knows the price of
[EMAIL PROTECTED] |  everything, and the value of nothing.
Vienna, AUSTRIA |   Oscar Wilde

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: port question

2003-01-02 Thread Andreas Ntaflos
On Thu, Jan 02, 2003 at 09:06:16AM -0800, bryan cassidy wrote:
 is there a command i can use to see what packages will
 be installed before I install something from the
 ports? using freebsd 4.6.2

I suppose you could use 
# make pretty-print-run-depends-list
and/or
# make pretty-print-build-depends-list

in the specific ports directory. See man ports(7).
-- 
Andreas ant Ntaflos   |  A cynic is a man who knows the price of
[EMAIL PROTECTED] |  everything, and the value of nothing.
Vienna, AUSTRIA |   Oscar Wilde

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Native Opera: INTERNAL ERROR on Browser End, libjavaplugin_oji.so?

2002-12-17 Thread Andreas Ntaflos
On Mon, Dec 16, 2002 at 10:40:07PM +0100, Andreas Ntaflos wrote:
   
 ---
   shell opera 
   INTERNAL ERROR on Browser End: Could not load libjavaplugin_oji.so: linking
   error=Shared object libgtk-1.2.so.0 not found
 
   System error?:: No such file or directory
   
   [2]Exit 255  opera
   shell 
 ---
 
   Then it exits. And that's it.
 
   Does anybody know what the problem here is? I have both jdk and linux-jdk
   installed, could it be a problem with Java or something related? And what
   does it have to do with libgtk-1.2.so.0?
   

Thanks both of you, I now solved that problem by deleting possible plugin
paths for libjavaplugin_oji.so in /usr/local/bin/opera. As you said, quite
dirty, I hope this will be repaired someday, when someone over there at Opera
Software finds the time or so :)

Thanks again,
regards
-- 
Andreas ant Ntaflos   |  A cynic is a man who knows the price of
[EMAIL PROTECTED] |  everything, and the value of nothing.
Vienna, AUSTRIA |   Oscar Wilde

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Native Opera: INTERNAL ERROR on Browser End, libjavaplugin_oji.so?

2002-12-16 Thread Andreas Ntaflos
Hello list, 
  Maybe somebody knows what the problem is I am facing with the native version
  of Opera for FreeBSD. Until now I have used the linux-opera port and it
  worked quite well I think. 
Out of curiosity I wanted to give the native version from the ports a
  try and deinstalled linux-opera along with keeping a backup of the ~/.opera
  directory under ~/.opera.linux. The installation took 5 minutes or so and
  when I fired it up I got the following error messages after confirming the
  license agreement thingy:
  
---
  shell opera 
  INTERNAL ERROR on Browser End: Could not load libjavaplugin_oji.so: linking
  error=Shared object libgtk-1.2.so.0 not found

  System error?:: No such file or directory
  
  [2]Exit 255  opera
  shell 
---

  Then it exits. And that's it.

  Does anybody know what the problem here is? I have both jdk and linux-jdk
  installed, could it be a problem with Java or something related? And what
  does it have to do with libgtk-1.2.so.0?
  
  Any hints/pointers/RTFMs? A search of the archives didn't bring up anything
  regarding an error like the above.

Thanks in advance,
regards
-- 
Andreas ant Ntaflos   |  A cynic is a man who knows the price of
[EMAIL PROTECTED] |  everything, and the value of nothing.
Vienna, AUSTRIA |   Oscar Wilde

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Interest in diskless booting?

2002-12-08 Thread Andreas Ntaflos
On Sun, Dec 08, 2002 at 12:48:35PM +1030, Greg 'groggy' Lehey wrote:
 I was at a local installfext yesterday
 (http://installfest.auug.org.au/), and a number of people were
 interested in doing diskless booting, either for reasons of economy or
 reliability.  I'm currently about to finish the manuscript of the
 fourth edition of The Complete FreeBSD, and I was wondering if there
 was enough interest in this topic for me to include it in the book.
 If *you* are interested, please let me know.  I'll make a decision
 depending on the amount of feedback I get.
 

Count me in for 'yes, I'd be interested'. 
-- 
Andreas ant Ntaflos   |  A cynic is a man who knows the price of
[EMAIL PROTECTED] |  everything, and the value of nothing.
Vienna, AUSTRIA |   Oscar Wilde

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Portsupgrade -uU

2002-11-20 Thread Andreas Ntaflos
On Wed, Nov 20, 2002 at 10:21:07AM -0600, Scott Gerhardt wrote:
 
 When running portsupgrade -uU I get the output below.  How can I fix these
 malformed entries, non-existent entries and incomplete dependencies?
 Running pkgdb -F shows everything to be fine.
 

Shouldn't this be `portsdb -uU`? portupgrade has no -U option and -u means Do
not preserve old shared libraries. What is it you are trying to do anyway?

HTH
regards
-- 
Andreas ant Ntaflos | A cynic is a man who knows the price of
[EMAIL PROTECTED]   | everything, and the value of nothing.
Vienna, AUSTRIA   |  Oscar Wilde


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: cheat sheet? apache, mod_ssl, mod_php, mysql

2002-11-19 Thread Andreas Ntaflos
On Tue, Nov 19, 2002 at 02:49:25PM -0600, Ronnie Clark wrote:
 
 And I have php and SSL playing nice. But, I have a server certificicate 
 that is expired and doesn't match...  How does one update the CA and 
 server cert after these steps?
 

Look at the FAQ section of the mod_ssl handbook at
http://www.modssl.org/docs/2.8/ssl_faq.html for information about the pro-
cedure of updating and creating a CA.

HTH
regards
-- 
Andreas ant Ntaflos | A cynic is a man who knows the price of
[EMAIL PROTECTED]   | everything, and the value of nothing.
Vienna, AUSTRIA   |  Oscar Wilde


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



fsck lasting several hours (and then forever) after crash

2002-10-24 Thread Andreas Ntaflos
Hello lists (sorry for crossposting),
  This is kind of serious for me. Here is what happened: I portupgraded
  the native version of mozilla to 1.1 and fired it up. It crashed and took X
  with it. Keyboard and mouse where dead, I had to press the reset button. 
So the system rebooted and reached automatic fsck. Checked /, /var, /tmp
  and then, when going to /usr it stopped. And stood stopped. I've had it
  running 17 hours now, nothing. Booting into single user I do /sbin/fsck,
  which works nicely until here:

  Phase 1 - Check Blocks and Sizes
  INCORRECT BLOCK COUNT I=1702863 (4 should be 0)
  CORRECT [yn]

  No matter what I enter (tried both y and n) it goes on and then lasts
  forever. No harddisk-noise, no nothing. I really don't know why this is
  happening. fsck does not bail out or say anything, it just does nothing
  after above message. No CTRL-C, no CTRL-ALT-DEL, no nothing helps.

  Since I needed the system I edited /etc/rc and commented out the exit 1
  part where it refuses going to multiuser when any of the file systems is
  marked 'dirty', then added the -f flag to mount. That way I got it back
  running, but how do I repair my /usr partition now without fsck failing to
  do its job? Has anybody a pointer for me, an idea or anything else I could
  try to repair /usr? I know that what I did is quite a dirty workaround.
 
Thanks in advance, anything is greatly appreciated.
regards
-- 
Andreas ant Ntaflos | A cynic is a man who knows the price of
[EMAIL PROTECTED]   | everything, and the value of nothing.
Vienna, AUSTRIA   |  Oscar Wilde


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: fsck lasting several hours (and then forever) after crash

2002-10-24 Thread Andreas Ntaflos
On Thu, Oct 24, 2002 at 11:40:43AM -0500, Matthew Reimer wrote:
 Andreas Ntaflos wrote:
 
 Is there anything else I could do to help solving this problem?
 regards
 
 We had a problem like this when an ATA disk went bad--the kernel would 
 seem to hang while trying to read the bad part of the disk. Try booting 
 into single-user mode (boot -s) and then try reading all the disk's 
 blocks. If it hangs doing this, then you know it's not fsck's fault:
 
 dd if=/dev/ad0s1c of=/dev/null bs=64k
 

Now that is a good idear! Thanks. I dropped to single user mode and did 
dd if=/dev/ad4s1h of=/dev/null bs=64k. It appears that fsck is not the problem
but my disk is going bad.

 It turned out that our disk just needed a low-level format. Apparently, 
 writing zeroes to (some) disks effects a low-level format, so I zeroed 
 the entire bad disk (dd if=/dev/zero of=/dev/ad0s1c) and then I could 
 read all the disks's blocks without problems. Of course zeroing the disk 
 will destroy all your data. If you knew which blocks were bad you could 
 try zeroing just those blocks; if they weren't holding real important 
 information (like a superblock) then you might be able to save your files.

I am not sure how to interpret the error message I get:

ad4s1h: hard error reading fsbn 61857135 of 28752640-28752767 (ad4s1 bn
61857135; cn 3850 tn 109 sn 18) status=69 error=40

Does that indicate which blocks are bad? If so, how could I try zeroing out
just those blocks? And if not, is there a way to tell which are the real bad
blocks? 

Sorry for sounding newbie'ish, but I've never dealt with something like that
before, at least not with a bad disk.

thanks and regards
-- 
Andreas ant Ntaflos | A cynic is a man who knows the price of
[EMAIL PROTECTED]   | everything, and the value of nothing.
Vienna, AUSTRIA   |  Oscar Wilde


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: phpMyAdmin directory (newbie question)

2002-10-22 Thread Andreas Ntaflos
On Tue, Oct 22, 2002 at 02:34:23PM -0400, Richard Biffl wrote:
 I'm setting up a FreeBSD server for the first time. When I installed Apache,
 it created a /usr/local/www/data-dist directory, with www/data as an alias
 (symlink?). I then installed PHP, then phpMyAdmin, and it installed in
 /usr/local/www/data.default/phpMyAdmin.
 
 I understand that the phpMyAdmin directory should be below www/data. Should
 I change www/data so it points to www/data.default instead of www/data-dist,
 or break the link from www/data to www/data-dist and/or copy
 www/data.default/phpMyAdmin into www/data?

What I did was just copy phpMyAdmin into /usr/local/www/data. I don't think
that breaks anything, and I don't see much benefit in messing with lots and
lots of symlinks just to keep data, data-dist, data-dist.default and
data.default...just my POV.

 I don't want to stray too far from the vanilla installation, but I must be
 missing a step here.

You could also unlink data from data-dist and make data its own directory,
keeping everything apache installed in data-dist. Thus you do not break any
scripts that rely on www/data and you can keep the installation as clear as
possible. Or you could change the DocumentRoot variable to something
completely different, I think it is just a matter of personal preference (and
lazyness :)).

HTH
regards
-- 
Andreas ant Ntaflos   
[EMAIL PROTECTED]
Vienna, AUSTRIA

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



strange reboot, permissions of /sbin/reboot

2002-10-15 Thread Andreas Ntaflos

Hello list, 
  Something strange just occured on a quite busy server running FreeBSD 4.6-RC
  as of May 28. First, it seemed to have suddenly rebooted, but not by a
  kernel trap or anything like it, the machine has been up for over 120 days,
  running smoothly. We checked the logs, seeing that it was rebooted by an
  ordinary user (all.log) which comes quite strange to me. 

  # ls /sbin/reboot
  -r-xr-xr-x  4 root  wheel  - 233708 Jan 19  2002 /sbin/reboot*

  First I thought someone messed up things bigtime, but checking my system
  shows me the same permissions for /sbin/reboot, despite the fact that an
  ordinary user on my system can NOT reboot or shutdown anything. We issued a
  reboot again as a normal user, just to make sure it was not a mistake and it
  did reboot again. It also seems that the first reboot was not initiated by a
  user. I am a little confused...how could that happen?

  My questions are: what catches the execution of /sbin/reboot for normal
  users and how could it happen that the normal user was not caught in that
  case? Also, how come that the permissions on reboot and shutdown are the way
  they are? 
  
  Can someone point me to some relevant pieces of information? 

TIA
regards  good night
-- 
Andreas ant Ntaflos   
[EMAIL PROTECTED]
Vienna, AUSTRIA

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



SGI's STL (Standard Template Library) in base system?

2002-07-17 Thread Andreas Ntaflos

Hello list, 
  Maybe I should be posting this to -hackers, but I'll try anyway. 
  
  Is the Standard Template Library somehow contained in the base
  system of FreeBSD? I know there is the ports devel/stlport, but if
  it also resides in the base system (just like sendmail, perl, ssh,
  etc..) it would be no good idea to install it from ports, would it?
  
  But if I have to install the port, is it any good? Is it useable? 

  I would appreciate any tips.

TIA
regards
-- 
Andreas ant Ntaflos   
[EMAIL PROTECTED]
Vienna, AUSTRIA


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: new user woes

2002-07-13 Thread Andreas Ntaflos

On Fri, Jul 12, 2002 at 10:54:58AM -0700, chris wrote:
  One, I have an extended fat32 partition on the same drive (ide) that
  FreeBSD 4.6 is installed on.  I have tried mounting it with 'mount -t 
 msdos
  /dev/ad0s5 /mnt', but only to get a 'Device not configured' error.
 
 Could you post the output of `mount`? I've once had troubles too with
 mounting fat32 partitions since the slice-numbering often turns out to be
 different from what you might expect.
 
 the partition i want to mount isn't listed in mount, but here's the output 
 anyway:
 
 /dev/ad4s1a on / (ufs, local)
 /dev/ad4s1f on /tmp (ufs, local, soft-updates)
 /dev/ad4s1g on /usr (ufs, local, soft-updates)
 /dev/ad4s1e on /var (ufs, local, soft-updates)
 procfs on /proc (procfs, local)
 

I think that should be mount -t msdos /dev/ad4s5 /mnt rather than
/dev/ad0s5.

 
 For moused in console use:
 moused -p /dev/ums0
 or set the appropriate values in /etc/rc.conf.
 
 'moused -p /dev/ums0' in console returns a 'Device busy' error.  My lines 
 for the mouse in /etc/rc.conf are as follows, however:
 
 moused_port=/dev/ums0
 moused_type=auto
 moused_enable=YES

First you would have to kill the moused processes running of course,
perhaps you forgot that?

And maybe this is a redundant question, but do you have the whole USB
support options in your kernel config for the kernel to support USB?

 For X use:
 Options Protocol Auto
 Options Device   /dev/sysmouse
 see `man 5 XF86Config`.
 
 This should get the USB mouse working in both X and the console.
 
 Those are the the settings I'm already using...but it still doesn't work.

Hm this is just what I use on my laptop and it works pretty well. 

HTH
regards
-- 
Andreas ant Ntaflos   
[EMAIL PROTECTED]
Vienna, AUSTRIA


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message