help with panic/kgdb

2004-05-07 Thread Charles Sprickman
Hi,

First off, let me say it's been a very long time since I've had to deal
with a FreeBSD box panicing, so bear with me.

This particular machine has been acting up since I upgraded to 4.8-p18
from 4.8-p6(?).  The only bit of odd hardware in it is a 3Ware IDE RAID
card (full dmesg below).  This is the second panic since then.

My main goal here is to try and figure out if it's a hardware issue (bad
memory, dead CPU fan, etc.) or an OS issue, so anyone that can look at the
gdb output below and give me some insight, go ahead.

Thanks,

Charles

Here's what gdb tells me so far:

[EMAIL PROTECTED]/usr/local/etc/rc.d]# gdb -k /kernel.debug
/var/crash/vmcore.2
GNU gdb 4.18 (FreeBSD)
[...]
This GDB was configured as i386-unknown-freebsd...Deprecated bfd_read
called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c
line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c
line 933 in fill_symbuf

IdlePTD at phsyical address 0x00414000
initial pcb at physical address 0x00364d20
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x10018
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc01c3f4c
stack pointer   = 0x10:0xc8fb0d68
frame pointer   = 0x10:0xc8fb0d74
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 74356 (find)
interrupt mask  = none
trap number = 12
panic: page fault

syncing disks... 19
done
Uptime: 9d13h5m50s

dumping to dev #twed/0x20001, offset 1048608
dump 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111
110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90
89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40
39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15
14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
---
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487 if (dumping++) {
(kgdb) where
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc019b007 in boot (howto=256) at
/usr/src/sys/kern/kern_shutdown.c:316
#2  0xc019b42c in poweroff_wait (junk=0xc032cdec, howto=-1070413553)
at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xc02d82a2 in trap_fatal (frame=0xc8fb0d28, eva=65560)
at /usr/src/sys/i386/i386/trap.c:974
#4  0xc02d7f75 in trap_pfault (frame=0xc8fb0d28, usermode=0, eva=65560)
at /usr/src/sys/i386/i386/trap.c:867
#5  0xc02d7b5f in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16,
  tf_edi = -917549376, tf_esi = -923070808, tf_ebp = -923071116,
  tf_isp = -923071148, tf_ebx = 65536, tf_edx = 1068, tf_ecx =
-917549356,
  tf_eax = -1057005568, tf_trapno = 12, tf_err = 0, tf_eip =
-1071890612,
  tf_cs = 8, tf_eflags = 66050, tf_esp = 0, tf_ss = -917549376})
at /usr/src/sys/i386/i386/trap.c:466
#6  0xc01c3f4c in cache_lookup (dvp=0xc94f4ec0, vpp=0xc8fb0e94,
cnp=0xc8fb0ea8)
at /usr/src/sys/kern/vfs_cache.c:210
#7  0xc01c4448 in vfs_cache_lookup (ap=0xc8fb0e04)
at /usr/src/sys/kern/vfs_cache.c:471
#8  0xc02920f5 in ufs_vnoperate (ap=0xc8fb0e04)
at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376
#9  0xc01c755d in lookup (ndp=0xc8fb0e80) at vnode_if.h:52
#10 0xc01c7050 in namei (ndp=0xc8fb0e80) at
/usr/src/sys/kern/vfs_lookup.c:153
#11 0xc01cccb9 in lstat (p=0xc8e11a00, uap=0xc8fb0f80)
at /usr/src/sys/kern/vfs_syscalls.c:1823
#12 0xc02d8551 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
  tf_edi = 134632704, tf_esi = 134632824, tf_ebp = -1077937436,
  tf_isp = -923070508, tf_ebx = 672084268, tf_edx = 134557696, tf_ecx
= 0,
  tf_eax = 190, tf_trapno = 0, tf_err = 2, tf_eip = 671763988, tf_cs =
31,
  tf_eflags = 659, tf_esp = -1077937576, tf_ss = 47})
at /usr/src/sys/i386/i386/trap.c:1175
#13 0xc02cbf85 in Xint0x80_syscall ()
#14 0x280a1469 in ?? ()
#15 0x280a0cf2 in ?? ()
#16 0x804971e in ?? ()
#17 0x804b968 in ?? ()
#18 0x80493ce in ?? ()

If you need me to poke around at any variables, please let me know.  As
you can see, this crapped out during the daily run, I'm assuming the
find process that tanked was some part of one of the daily scripts.

Here's the dmesg:

Copyright (c) 1992-2003 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 4.8-RELEASE-p18 #4: Tue Apr 27 14:32:39 EDT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MONKEY
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 451023566 Hz
CPU: AMD-K6(tm) 3D processor (451.02-MHz 586-class CPU)
  Origin = AuthenticAMD  Id = 0x58c  Stepping = 12
  

Re: Connecting to a Headless machine, after install

2004-05-07 Thread Rob
Bruce Hunter wrote:
I have setup a headless machine via a null modem cable. Instalation went 
fine. The only problem now, is connecting to the machine after the 
install. When I #cu -l /dev/cuaao/
I see the boot process, but it gets to the date prompt but doesn't show 
the login:
i did install ssh, but won't let me login with the password I set for 
root. Any other methods for connecting? This system is connected in my 
local network, with a firewall protecting my systems.
- i am not running xserver on this system
Of course you cannot login as root over the ssh connection; that's a
default behaviour for security reasons. Haven't you installed a regular
user on this PC, which is also member of the wheel group to allow using
su for becoming root?
Funny, that I'm struggling with opposite problem: I do not get the
boot messages over the serial cable, but do get the login prompt,
which I do not understand :(.
For the login prompt, I have following in /etc/ttys on the headless PC:

  ttyd0   /usr/libexec/getty std.9600   unknown on  secure

but be sure the serial port is enabled in the BIOS, and you have
serial port support compiled into your kernel.
Your cu command should then work, I suppose.
Cheers,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Connecting to a Headless machine, after install

2004-05-07 Thread Stijn Hoop
On Fri, May 07, 2004 at 05:01:29PM +0900, Rob wrote:
 Funny, that I'm struggling with opposite problem: I do not get the
 boot messages over the serial cable, but do get the login prompt,
 which I do not understand :(.

You probably need to tell the kernel to use the serial console:

# echo '-h'  /boot.config

Also make sure you have the appropriate flags for your serial device driver,
for sio on RELENG_4 use

device sio0 at isa? port IO_COM1 flags 0x10 irq 4

or if you're on 5.x edit /boot/device.hints and set

hint.sio.0.flags=0x10

(this should be the default though).

There's another knob for uart(4) on 5.x but I don't remember it right now.

HTH,

--Stijn

-- 
The very powerful and the very stupid have one thing in common.  Instead of
altering their views to fit the facts, they alter the facts to fit their views
... which can be very uncomfortable if you happen to be one of the facts that
needs altering.
-- Doctor Who, Face of Evil


pgp0.pgp
Description: PGP signature


tr A-Z a-z

2004-05-07 Thread Christoph Kukulies
Strange: I was used to do upper case lower case conversion always like this
and it suddenly doesn't work anymore:

$ echo Z | tr [A-Z] [a-z]
ÿ


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


Re: tr A-Z a-z

2004-05-07 Thread vxla
On Fri, 2004-05-07 at 10:53:01 +0200, Christoph Kukulies proclaimed...

 Strange: I was used to do upper case lower case conversion always like this
 and it suddenly doesn't work anymore:
 
 $ echo Z | tr [A-Z] [a-z]

Works fine for me. However, maybe this would help?

echo Z | tr [:upper:] [:lower:]

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


Re: tr A-Z a-z

2004-05-07 Thread Kris Kennaway
On Fri, May 07, 2004 at 10:53:01AM +0200, Christoph Kukulies wrote:
 Strange: I was used to do upper case lower case conversion always like this
 and it suddenly doesn't work anymore:
 
 $ echo Z | tr [A-Z] [a-z]
 ÿ

Something locale-related?

Kris


pgp0.pgp
Description: PGP signature


Makefile for XFree86-fontScalable-4.3.0 port is broken?

2004-05-07 Thread Daniel Wijnands

Did you find a solution for this problem ?

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


Tracing DNS queries

2004-05-07 Thread Mark
Hello,

Is there a way, on FreeBSD 4.9R, to trace the origin of outgoing DNS
queries? I mean, a determination which process is sending the queries?
Something ktrace like. De firewall, ipfw, cannot do it.

Thanks,

- Mark

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


Re: Netfinity 5000 and 5.2.1-RELEASE

2004-05-07 Thread Toomas Aas
Hello!

Yesterday I wrote:

 Earlier today, I wrote:
 
  So, I'm trying to install 5.2.1 on IBM Netfinity 5000 and I'm not
  having much luck. Before going into great technical detail (ha!) and
  frustrating stories of my failures, I just thought to ask, is anyone
  at all running this combination successfully?
 
 I can now report that it's working. At least so far. The key to success
 was a tip I found after digging the IBM website - to make sure in BIOS 
 setup that *both* Planar SCSI INTA and Planar SCSI INTB are routed to 
 IRQ15 and none of the adapters in any of the PCI slots are routed to 
 IRQ15. 

OK, I eventually had to hard-wire *all* the PCI IRQs, because when I 
left most of them on auto and set only the SCSI ones manually it 
seems that different IRQs get assigned to different devices on each 
boot and if the combination is not the winning one, the FreeBSD boot 
process ends with NMI and the system reboots ca 10 seconds after 
finishing the boot-up.

I tried a lot of combinations and finally found one that works for me:

Planar SCSI Channel A:   IRQ 15
Planar SCSI Channel B:   IRQ 15
Planar Ethernet: IRQ 10
Planar Video:IRQ 9
Planar USB:  IRQ 5
ServeRAID in PCI Slot 5: IRQ 11
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Testicle -- n., a humorous question to an exam.

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


Re: Suexec with Apache 1.3.29

2004-05-07 Thread Mikkel Christensen
On Monday 03 May 2004 08:26, Mikkel Christensen wrote:
 On Friday 30 April 2004 07:58, Mikkel Christensen wrote:
  On Thursday 29 April 2004 19:54, Mikkel Christensen wrote:
   On Thursday 29 April 2004 18:20, Marty Landman wrote:
At 01:13 PM 4/29/2004, Mikkel Christensen wrote:
On Thursday 29 April 2004 14:22, Marty Landman wrote:
  
  Hmm may there is a way to get what I want.
  If apache's user is add'ed to all the groups that the users are member of this 
  would work.
  
  Eg. user1 is member of the group user1.
  So is the www-user.
  
  Now setting permissions 644 would give access to everyone.
  Setting permissions 640 would deny all other users on the server access to the 
  files.
  Setting permissions 600 would completely deny everyone from reading the files.
  This is what I wanted from the beginning. Setting www as group owner of the files 
  would be a lot easier in my oppinion than adding the www-user so every user's 
  group.
  But it will do. Now I'm happy:-)
  
 
 Hmm not that happy after all.
 The concept of making the apache user member of many groupt works fine to begin with.
 But when the number of memberships apache has exceeds a certain number it refuses to 
 start.
 The number of memberships is not specific but lies around 15-25.
 
 Lines like theese are written multiple times (usually about 10 times) to the apache 
 error log:
 [Mon May  3 10:13:29 2004] [alert] (22)Invalid argument: initgroups: unable to set 
 groups for User www and Group 80
 
 Then these lines follows:
 [Mon May  3 10:13:29 2004] [notice] Apache/1.3.29 (Unix) PHP/4.3.4 configured -- 
 resuming normal operations
 [Mon May  3 10:13:29 2004] [notice] suEXEC mechanism enabled (wrapper: 
 /usr/local/sbin/suexec)
 [Mon May  3 10:13:29 2004] [notice] Accept mutex: flock (Default: flock)
 [Mon May  3 10:13:29 2004] [alert] Child 51086 returned a Fatal error...
 Apache is exiting!
 
 My test setup is FreeBSD 5.2.1 and Apache 1.3.29 with suexec.
 I guess this might be an issue for an Apache mailinglist unless initgroups is part 
 of the FreeBSD system. Does anyone know this?
 

I didn't find a sollution to that specific problem, but I did found a workaround.
Instead all users joins the user nobody's group. Afterwards nobody joing www's group.
www now has access to all users files through nobody if the group flag allows it. And 
because Apache doesn't have to initialize many users upon start it doesn't shutdown.
Actually this is kind of cheating in my oppinion but it works great!:)
I just wanted to let averybody know in case of somebody is having the same trouble as 
I did.

My tanks to anyone who participated in this thread:-)

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


Re: Connecting to a Headless machine, after install

2004-05-07 Thread Rob
Stijn Hoop wrote:
On Fri, May 07, 2004 at 05:01:29PM +0900, Rob wrote:

Funny, that I'm struggling with opposite problem: I do not get the
boot messages over the serial cable, but do get the login prompt,
which I do not understand :(.


You probably need to tell the kernel to use the serial console:

# echo '-h'  /boot.config
Ah, thanks. I don't have a /boot.config yet. Are you sure this file goes
in the top-root directory? Or in /boot/... ?
You made me research a little more on this. I do have a file /boot/loader.conf.
How about having in here the line
  console=comconsole

(to divert it from the default: console=vidconsole) ?

Or will that not do the same?

Rob.

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


Re: tr A-Z a-z

2004-05-07 Thread Christoph P. Kukulies
On Fri, May 07, 2004 at 03:57:25AM -0500, [EMAIL PROTECTED] wrote:
 On Fri, 2004-05-07 at 10:53:01 +0200, Christoph Kukulies proclaimed...
 
  Strange: I was used to do upper case lower case conversion always like this
  and it suddenly doesn't work anymore:
  
  $ echo Z | tr [A-Z] [a-z]
 
 Works fine for me. However, maybe this would help?
 
 echo Z | tr [:upper:] [:lower:]

Yes, that's how I also worked around it but it is dissatisfying :-)

$LANG=en_US.ISO_8859-1
$LOCALE=
$SHELL=/bin/sh


stty -a

speed 9600 baud; 36 rows; 80 columns;
lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
-extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
brkint -inpck -ignpar -parmrk
oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret
cflags: cread cs7 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
-dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = undef;
eol2 = undef; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U;
lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;

FreeBSD-5.2.1 as well a half year old 5.2-current

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


Re: tr A-Z a-z

2004-05-07 Thread Christoph P. Kukulies
On Fri, May 07, 2004 at 01:59:01AM -0700, Kris Kennaway wrote:
 On Fri, May 07, 2004 at 10:53:01AM +0200, Christoph Kukulies wrote:
  Strange: I was used to do upper case lower case conversion always like this
  and it suddenly doesn't work anymore:
  
  $ echo Z | tr [A-Z] [a-z]
  ÿ
 
 Something locale-related?

locale
LANG=en_US.ISO_8859-1
LC_CTYPE=en_US.ISO_8859-1
LC_COLLATE=en_US.ISO_8859-1
LC_TIME=en_US.ISO_8859-1
LC_NUMERIC=en_US.ISO_8859-1
LC_MONETARY=en_US.ISO_8859-1
LC_MESSAGES=en_US.ISO_8859-1
LC_ALL=

echo Z | tr A-Z a-z | od -x
000  0aff
002

set

USER=kuku
SSH_CLIENT='137.226.9.123 53261 22'
MAIL=/var/mail/kuku
HOME=/home/kuku
SSH_TTY=/dev/ttyp1
PAGER=more
PS1='$ '
OPTIND=1
PS2=' '
LOGNAME=kuku
TERM=vt100
BLOCKSIZE=K
PPID=49204
PATH=.:/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/bin:/home/kuku/bin:/usr/local/jdk1.1.5/bin:/usr/local/jsdk/bin:/usr/X11R6/bin
LANG=en_US.ISO_8859-1
SHELL=/bin/sh
IFS='   
'
CLASSPATH=.:/home/kuku/classes:/usr/local/jdk1.1.5/lib/classes.zip:/usr/local/jdk1.1.5/classes:/usr/local/jserv0.9.11/servclasses.zip:/usr/local/jsdk/lib/classes.zip
SSH_CONNECTION='137.226.9.123 53261 213.146.122.181 22'
FTP_PASSIVE_MODE=YES
EDITOR=vi

It must be something too obvious but I don't see it at the moment.

I found that it depends on my special environment settings.
A different user doesn't have this problem.


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


Re: Connecting to a Headless machine, after install

2004-05-07 Thread Stijn Hoop
On Fri, May 07, 2004 at 08:06:37PM +0900, Rob wrote:
 Stijn Hoop wrote:
  On Fri, May 07, 2004 at 05:01:29PM +0900, Rob wrote:
   Funny, that I'm struggling with opposite problem: I do not get the
   boot messages over the serial cable, but do get the login prompt,
   which I do not understand :(.
 
  You probably need to tell the kernel to use the serial console:
 
  # echo '-h'  /boot.config
 
 Ah, thanks. I don't have a /boot.config yet. Are you sure this file goes
 in the top-root directory? Or in /boot/... ?

Yes, top-root /. Check the handbook, section 17.6:

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

 You made me research a little more on this. I do have a file 
 /boot/loader.conf.
 How about having in here the line
 
   console=comconsole
 
 (to divert it from the default: console=vidconsole) ?
 
 Or will that not do the same?

Having -h in /boot.config will also allow the boot blocks to output to
your serial console. I suspect console=comconsole would help the loader
+ kernel. It certainly couldn't hurt I guess :)

--Stijn

-- 
The sexual urge of the camel is stranger than anyone thinks.
He's lived for years on the desert, and tried to seduce the Sphinx.
But the Sphinxs center of pleasure lies buried deep in the Nile,
which accounts for the hump on the camel and the Sphinxs inscrutable smile.
-- Frantic Fran, http://www.franticfran.com/jokes.htm


pgp0.pgp
Description: PGP signature


ipfw q

2004-05-07 Thread Gregory Edigarov
Hello, list.

Can anybody help me as I can really understand nothing.
The scenario:  
there is two nets: 192.168.5.0/24 and 192.168.7.0/24.
All users normally sit in 192.168.5.0/24, using 192.168.7.0/24 as
VPN addresses.
All VPN users have access to squid, socks, mail, and pop3.
everithing works fine, but now I need to give a direct access for
2 hosts: 192.168.5.220 and 192.168.7.70.
I wrote the following rc.firewall script (tun0 is my outside
interface):
---
#!/bin/sh
ipfw -f flush

ipfw add check-state
ipfw add allow all from me to any

ipfw add allow all from any to any via lo0

ipfw add deny all from 10.0.0.0/8 to any in via tun0
ipfw add deny all from 172.16.0.0/12 to any in via tun0
ipfw add deny all from 192.168.0.0/16 to any in via tun0
ipfw add allow icmp from me to any keep-state
ipfw add allow icmp from 192.168.5.0/24 to me 
ipfw add deny all from any to any frag

ipfw add divert natd all from 192.168.5.220 to any out xmit tun0
ipfw add divert natd all from 192.168.7.70  to any out recv ppp\* xmit tun0
ipfw add divert natd all from any to 195.5.17.86 in recv tun0
ipfw add allow all from 192.168.5.220 to any in via sk0 
ipfw add allow all from 192.168.7.70 to any in via ppp\*
ipfw add allow all from me to any
ipfw add unreach filter-prohib ip from not me to any out recv any xmit tun0

ipfw add allow gre from 192.168.5.0/24 to me
ipfw add allow gre from me to any


ipfw add allow tcp from me to any keep-state
ipfw add allow udp from me to any keep-state
ipfw add allow udp from any to me 53
ipfw add allow tcp from any to any established
ipfw add allow tcp from any to me 25 setup
ipfw add allow tcp from any to me ssh setup
ipfw add allow tcp from any to me http setup via tun0
ipfw add allow tcp from 192.168.7.0/24 to me 3128 setup via ppp\*
ipfw add allow tcp from 192.168.7.0/24 to me 2080 setup via ppp\*
ipfw add allow tcp from 192.168.7.0/24 to me pop3 setup via ppp\*
ipfw add allow tcp from 192.168.5.0/24 to me pptp setup
ipfw add allow tcp from 192.168.5.0/24 to me ftp\\-data-ftp setup via sk0
ipfw add allow tcp from any to me 53 setup

ipfw add deny log all from any to any


Installed it, then used natd -n tun0.
Then I am trying to go somewhere using something like: 
ping freebsd.org.
it doesn't work. 
What am I missing? How should I rewrite my script to achieve a full
power?
Thanks a lot in advance. 
-- 
With best regards,
Gregory Edigarov
--
profi.kharkov.uaSystems Administrator
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Problem with FreeBSD 4.8, ipf, ipfnat and forwarding for pcAnywhere

2004-05-07 Thread JJB
For your telnet test to pcanywhere ports on target Lan pc to work
you have to tell telnet on the target to listen on those ports.

I believe pcanywhere is one of those applications that imbed the ip
address of the remote and host into the packet data and used by the
application to establish bi-directional packet exchange. This means
that pcanywhere will not work using nated ip address. This is an
common design flaw in many 3rd party software providers
applications, mostly seen in games and ms/windows netmeeting.
Pcanywhere only works over the public internet between two ms/window
boxs that use public routable IP address. It will also work between
two pc on the Lan because Nating only occurs as packet leaves Lan
headed for public internet.

If you have an range of static public IP address assigned to you by
your ISP then you could assign one of those ip address to the LAN pc
you want pcanywhere to work on and you should be good to go.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of adp
Sent: Friday, May 07, 2004 12:37 AM
To: [EMAIL PROTECTED]
Subject: Problem with FreeBSD 4.8, ipf, ipfnat and forwarding for
pcAnywhere

This shouldn't be that hard, but I can't get it working.

I have a FreeBSD firewall with three NICs (Internet, LAN, DMZ). I
have
bridging enabled between the Internet and DMZ interfaces.

I now have an internal computer (LAN) that needs to be accessible
via
pcAnywhere.

I can telnet to the pcAnywhere ports on the internal computer fine
from the
firewall or the LAN. So that works. However, when I configured ipnat
to
forward my pcAnywhere ports a telnet from the Internet just stalls.

My ipnat configuration:

# cat /etc/ipnat.conf

(xl0 = internet, xl1 = lan, xl2 = dmz)


# pcAnywhere
# normal nat for office disabled - this is all i have in ipnat.conf
rdr xl0 public-ip/32 port 5631 - 192.168.99.9 port 5631
rdr xl0 public-ip/32 port 5632 - 192.168.99.9 port 5632

And I am allowing in accessing via ipf:

pass in quick proto tcp from any to public-ip port = 5631 group 200
pass in quick proto udp from any to public-ip port = 5631 group 200
pass in quick proto tcp from any to public-ip port = 5632 group 200
pass in quick proto udp from any to public-ip port = 5632 group 200

(If I take these out I see the ipmon block messages, but with these
they go
away, so it's not ipf I don't think.)

Am I missing something here? This should work!

A tcpdump. I am remote (remote-client):

%telnet public-ip 5631
Trying public-ip...

(just sits there)

On the FreeBSD box:

# tcpdump -n -i xl0 port 5631
tcpdump: listening on xl0
23:26:41.772801 remote-client.3755  public-ip.5631: S
2174885259:2174885259(0) win 57344 mss 1460,nop,wscale
0,nop,nop,timestamp
99416198 0 (DF) [tos 0x10]
23:26:44.772018 remote-client.3755  public-ip.5631: S
2174885259:2174885259(0) win 57344 mss 1460,nop,wscale
0,nop,nop,timestamp
99416498 0 (DF) [tos 0x10]
23:26:48.013346 remote-client.3755  public-ip.5631: S
2174885259:2174885259(0) win 57344 mss 1460,nop,wscale
0,nop,nop,timestamp
99416818 0 (DF) [tos 0x10]
23:26:51.230241 remote-client.3755  public-ip.5631: S
2174885259:2174885259(0) win 57344 mss 1460 (DF) [tos 0x10]
23:26:54.429267 remote-client.3755  public-ip.5631: S
2174885259:2174885259(0) win 57344 mss 1460 (DF) [tos 0x10]
23:26:57.596288 remote-client.3755  public-ip.5631: S
2174885259:2174885259(0) win 57344 mss 1460 (DF) [tos 0x10]
23:27:03.809921 remote-client.3755  public-ip.5631: S
2174885259:2174885259(0) win 57344 mss 1460 (DF) [tos 0x10]
23:27:16.050057 remote-client.3755  public-ip.5631: S
2174885259:2174885259(0) win 57344 mss 1460 (DF) [tos 0x10]
^C
48 packets received by filter
0 packets dropped by kernel

Oh, and again, I do have bridging enabled between Internet and DMZ:

My bridge script:

#!/bin/sh

echo -n Enabling bridging: 
if sysctl -w net.link.ether.bridge=1  /dev/null 21; then
echo activated.
else
echo failed.
fi

echo -n Enabling bridging between xl0 and xl2 interfaces: 
if sysctl -w net.link.ether.bridge_cfg=xl0,xl2  /dev/null 21;
then
echo activated.
else
echo failed.
fi


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

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


buildworld failed

2004-05-07 Thread Daniel Bye
Here's odd.

I'm trying to do a buildworld under 5.2.1-RELEASE-p5.  src is fully up
to date.  The buildworld fails as it enters the lib/libncurses subdir
during stage 2.1, cleaning up the object tree:

[---snip normal output---]
=== lib/libncurses
.depend, line 1: Need an operator
.depend, line 2: Need an operator
.depend, line 3: Need an operator
.depend, line 4: Need an operator
.depend, line 5: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


Of course, I can't find the .depend that seems to be wrong...  Even
doing a make clean in /usr/src results in the same error.

Anyone else seen this?  I have to say, I am slightly baffled ;-)

Thanks,

Dan

-- 
Daniel Bye
SA-DEV
PSINet Europe

Brookmount Court
Kirkwood Road
Cambridge CB4 2QH
UK
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with FreeBSD 4.8, ipf, ipfnat and forwarding for pcAnywhere

2004-05-07 Thread Toni Schmidbauer
On Thu, May 06, 2004 at 11:37:09PM -0500, adp wrote:
 And I am allowing in accessing via ipf:
 
 pass in quick proto tcp from any to public-ip port = 5631 group 200
 pass in quick proto udp from any to public-ip port = 5631 group 200
 pass in quick proto tcp from any to public-ip port = 5632 group 200
 pass in quick proto udp from any to public-ip port = 5632 group 200

normaly nat happens before the filtering rules are applied so i
would try the following:

pass in quick proto tcp from any to 192.168.99.9 port = 5631 group 200
.
.
.

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgp0.pgp
Description: PGP signature


Re: Connecting to a Headless machine, after install

2004-05-07 Thread Toni Schmidbauer
On Thu, May 06, 2004 at 11:58:43PM -0400, Bruce Hunter wrote:
 I see the boot process, but it gets to the date prompt but doesn't show 
 the login:

this is mentioned in the fabulous handbook:

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

17.6.5.4 Getting a Login Prompt on the Serial Console

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgp0.pgp
Description: PGP signature


Problems resolving sites in browsers under KDE

2004-05-07 Thread Dragoncrest
	Just recently I've started having a DNS issue of sorts on two of my 
workstations running KDE 3.2 on Freebsd 4.9 and using both Mozilla and 
Firebird for browsers.  What happens is I'll be surfing around and suddenly 
I'll hit something and I can't go forward, I can't go back, I can't go 
anywhere.  It just sits there saying resolving host whatever.com and does 
this for like 30 seconds, then finally it resolves it and continues 
on.  Then it'll gag again on something else in the page as it's loading and 
do that all over again.  Then I might be fine for another 5-15 minutes 
before it does it again.  When this happens I can jump into a console 
either via KDE or control-alt-f1 and I can surf all I want to using lynx, I 
can resolve sites, I can telnet, or do whatever I want.  But my browsers 
just sit there and look stupid.  Is there something I'm missing?  What 
could be causing this.  It's been occuring periodically before this, but 
it's really gotten bad now.  So far all I can tell that's affected is 
Mozilla and Firebird.  Any ideas guys?

	Oh, yes.  I did test this in Konqueror and it's doing the same thing in 
there too.  So the issue is not unique to just Mozilla and Firebird.  But 
from what I can see, not much else is affected on the network level.  Is 
there ways I can test things in KDE that might give me some more 
information as to what's causing this?  Or is there some network setting 
somewhere that I should look at?  Maybe something that might affect my 
ability to surf smoothly?  I know it's not my internet connection because I 
can surf just fine in my windows box that sits right next ot it on the same 
net connection.  Any input would be welcome.

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


Re: Source code of ln command

2004-05-07 Thread Thuan Truong
Greg,
Thanks for the info.  Could you tell me what is the best way to copy the
whole source codes to my machine, so it's easy for me to find and understand
in details some system functions?

Your help is much appreciated.

Best regards,
Thuan


- Original Message - 
From: Greg 'groggy' Lehey [EMAIL PROTECTED]
To: Bill Moran [EMAIL PROTECTED]
Cc: Thuan Truong [EMAIL PROTECTED]; FreeBSD-Questions
[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 9:18 PM
Subject: Re: Source code of ln command



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


Re: UPDATING - perl

2004-05-07 Thread Tuc
Hi,

Who do I contact to see if they can add a step to the UPDATING 
document in ports to make sure/remind/etc people to use.perl port before
upgrading all the modules?

Thanks, Tuc/TTSG Internet Services, Inc.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UPDATING - perl

2004-05-07 Thread Matthew Seaman
On Fri, May 07, 2004 at 10:13:14AM -0400, Tuc wrote:

   Who do I contact to see if they can add a step to the UPDATING 
 document in ports to make sure/remind/etc people to use.perl port before
 upgrading all the modules?

Try contacting the maintainer of the perl ports: 

% cd /usr/ports/lang/perl5.8
% make -V MAINTAINER

It might be more worthwhile to put in a pkg-message, which should be
displayed any time anyone installs the port or the pkg built from it.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Geometry issue

2004-05-07 Thread Tuc
Hi,

Having a SCSI Geometry issue on a 5.2.1-RELEASE-p4 system. It has
a Symbios SDMS PCI SCSI, 53C1010-66 adapter that shows up as :

sym0: 1010-66 port 0xa000-0xa0ff mem 0xf600-0xf6001fff,0xf680-0xf68003
ff irq 25 at device 5.0 on pci1
sym0: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking
sym0: open drain IRQ line driver, using on-chip SRAM
sym0: using LOAD/STORE-based firmware.
sym0: handling phase mismatch from SCRIPTS.

And to it I'm connecting an EasyRaid II RAID box. There is LITTLE
I can configure on it, basically termination, SCSI ID, and Raid 0/1/0+1/3/5
and thats pretty much it.

When the system boots, the splash screen claims the geometry is 
1024/255/63 at 40M sync, and 16 wide. In the controller I've used 
Alternate CHS Mapping and SCSI Plug and Play Mapping without any
differences.

When FreeBSD boots, it sees :

(noperiph:sym0:0:-1:-1): SCSI BUS reset delivered.
da0 at sym1 bus 0 target 3 lun 0
da0: easyRAID II  Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 1060184MB (2171256832 512 byte sectors: 255H 63S/T 135154C)


When I try to /stand/sysinstall it, fdisk pitches a serious fit about
it.  

What can I do to get this configured properly? It seems that if I
bring it down to RAID-1+0, it configures up fine.

Thanks, Tuc/TTSG Internet Services, Inc.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tr A-Z a-z

2004-05-07 Thread Dan Nelson
In the last episode (May 07), Christoph P. Kukulies said:
 On Fri, May 07, 2004 at 01:59:01AM -0700, Kris Kennaway wrote:
  On Fri, May 07, 2004 at 10:53:01AM +0200, Christoph Kukulies wrote:
   Strange: I was used to do upper case lower case conversion always like this
   and it suddenly doesn't work anymore:
   
   $ echo Z | tr [A-Z] [a-z]
   
  
  Something locale-related?
 
 locale
 LANG=en_US.ISO_8859-1
 LC_COLLATE=en_US.ISO_8859-1

 echo Z | tr A-Z a-z | od -x
 000  0aff
 002

From the tr manpage:

 c-cFor non-octal range endpoints represents the range of
characters between the range endpoints, inclusive, in
ascending order, as defined by the collation sequence.

Note that 8859-1 has uppercase and lowercase accented characters, which
collate alongside the unaccented characters.
/usr/src/share/colldef/la_LN.ISO8859-1.src holds the collation sequence
for en_US.ISO_8859-1.  There are two lowercase y, but three uppercase
Y's.  This means that your ranges are different sizes, and Z maps to
y:, which happens to be 0xff in the 8859-1 charset.

 It must be something too obvious but I don't see it at the moment.
 
 I found that it depends on my special environment settings.
 A different user doesn't have this problem.

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


RE: KVM Switches

2004-05-07 Thread BUTTERWORTH,THADDAEUS (HP-Boise,ex1)
I've got a Belkin KVM as well. After some playing around with it I did
finally get it going and working. In my rc.conf file I have moused port as
/dev/psm0 and my moused type as auto.

 

I did have problems getting my scroll wheel to work, it would only work
about half the time. I eventually replaced my MS Intellimouse with a cheapo
optical mouse and all the scrolling problems went away. In both situations I
have found that when switching from one pc to another that the mouse would
at first jump around and randomly click on things when I came back to KDE on
BSD. I solved this by locking the screen and then when I come back to KDE,
moving the mouse around for a few seconds. It eventually stops jumping
around and settles into working quite nicely. Hope this helps.

 

 

Thad

 

 

--

 

Message: 17

Date: Thu, 6 May 2004 15:05:09 -0700

From: Gary Kline [EMAIL PROTECTED]

Subject: Re: KVM Switches

To: Foster, ThomasX [EMAIL PROTECTED]

Cc: [EMAIL PROTECTED]

Message-ID: [EMAIL PROTECTED]

Content-Type: text/plain; charset=us-ascii

 

 

  Please excuse my top-posting.  But again, the following

  messages show why this list is a major *plus++.

 

  I spent  hours digging into various protocols trying 

  to figure out why my mouse went heywire on my new

  platform.  From what I read below, it may be my KVM 

  switch.

 

  I've got a Belkin KVM, Logitech 3-buttom mouse, and IBM

  keybd.   Go figure...

 

  gary

 

 

On Thu, May 06, 2004 at 10:51:53AM -0700, Foster, ThomasX wrote:

 Does your mouse exhibit the behavior of spitting out sync errors from

 the console and sticking in the upper corner of your monitor?

 

 I had this exact problem with an Intellimouse Optical and an Apex

 Outlook KVM.  There seems to be an issue with most KVMs not passing the

 protocol correctly when being switched, and psm has issues resyncing.  I

 finally resolved the issue by adding the following flags to my device

 hints file for my specific kernel:

 

 hint.psm.0.flags=0x100

 

 I then enabled device hints in my kernel conf:

 

 hints   mycustomkernel.hints

 

 I recompiled my kernel and have had no problems since.  My mouse now

 works great between my FreeBSD server and my Linux Workstation on the

 Apex KVM.

 

 Hope this helps.

 

 Thomas Foster

 http://www.section6.net http://www.section6.net/ 

 

 

 -Original Message-

 From: [EMAIL PROTECTED]

 [mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ] On Behalf Of Brent

 Macnaughton

 Sent: Thursday, May 06, 2004 8:42 AM

 To: 'Ron'; [EMAIL PROTECTED]

 Subject: RE: KVM Switches

 

 I am willing to wager that it is the KVM switch itself that is the

 problem.

 I have had a few problems KVM switches before.

 

 1) We have a Compaq Proliant 1600. On certain KVMs, the keyboard world

 drop

 keystrokes. It was impossible to use. I switched the KVM out with a

 cheap 2

 port Hawking unit and it worked fine. 

 

 2) We have a Compaq KVM (a very expensive rack-mountable server class

 unit).

 It works great, or so we thought. The other day, we swapped out a two

 button

 mouse with a wheel-mouse. Guess what? Doesn't work at all. The mouse is

 fine, it just won't work through the expensive Compaq KVM. 

 

 Are you using Compaq hardware at all? Maybe that is your problem :)

 

 Another thing to mention... When you are booting your FreeBSD box, make

 sure

 you are switched to that box and watch it boot. If you are switched to

 another computer when the mouse daemon loads, I have found that the

 mouse

 won't function at all.

 

 Brent.

 

 -Original Message-

 From: Ron [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ]

 Sent: Wednesday, March 31, 2004 5:20 PM

 To: [EMAIL PROTECTED]

 Subject: KVM Switches

 

 

 Need information on how to get a KVM switch to work with the FreeBSD

 mouse

 driver.

 

 The Monitor and keyboard work fine but I have to hook a mouse directly

 to

 the box for it to work.

 

 Thanks,

 

 Ron Martin

 

Thad Butterworth

UI Exploratory  

(208)396-5321  

http://et.boi.hp.com http://et.boi.hp.com  

 

 

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


Re: Newbie: 4.9 / 5.2.1 / 4.10 ??

2004-05-07 Thread Kevin D. Kinsey, DaleCo, S.P.
cc'ed to questions: let's move it there?

Geoffrey Lane wrote:

I'm fairly familiar with linux and have been running redhat for a few years 
now. I'm looking for something I have more control over and isn't bloated 
with alot of stuff I don't need...
BSD is on the top of my list, there are only a few set backs for me to make 
the switch:

1)	should I download and install the new technology releases or use the 4.x
	branch and what are the differences?
 

First off, before someone else flames in, you are probably going to be
told to send this to questions@ instead of [EMAIL PROTECTED]  However, I read
both, and will cc: this over so that anything I say that's dumb will get
shot down (hopefully before it causes you grief ;-) )
I have had no issues with the 5.X branch, and it will, sooner or later,
be the STABLE branch of development, and 4.X will fade into RAM...
For me, the most notable difference is that 5.X does background
file system checking in the even of improper shutdown, thus speeding
up the boot process.  It also has a new boot menu with more options,
although I've not had cause to use this much, maybe at all.  I won't
comment on ufs2; it hasn't been default on my installs, so I am running
on ufs (the elder file system).
The kernel structure is a little different; 5.x is a very modular thing
compared to 4.x.  PERL in 5.x is 5.6.1 as opposed to 5.0003 ... there
was talk of moving PERL out of the base system; but apparently this
hasn't happened yet, as perl is still in /usr/bin instead of 
/usr/local/bin...

Please keep in mind this is me talking, and I'm not official or even
Real Knowledgeable (tm)on such matters...
2)	How do they differ (new tech/4.9)?
 

Is this the same as #1?  Or was #1 asking only about installation.
In my experience, installation hasn't changed much at all between
4.x and 5.x
3)	Are new technology (eg. 5.2.x) considered the unstable branch?
 

Not exactly, but maybe, sort of.  The cutting edge chapter of the
handbook (www.freebsd.org/handbook) will give you some insight
into this area.
It's not exactly that the OS is unstable in 5.X --- there are a few issues
still in transition (you mention GEOM?, others report some ACPI
issues on some mobos, watchdog timeouts on Intel Gigabit Ether cards
(I think...?), problems with ufs2 (only hearsay AFAIAmConcered)
--- the real point, at least according to one committer I've talked to,
is that 5.X/CURRENT is simply still in development, and it might be
possible that someone would, prior to 5.X being deemed STABLE
instead of CURRENT, create changes in the codebase that would
require everyone to rebuild not only their kernel/userland, but
potentially every piece of 3rd party software on a system.
Now, I'd consider this fairly unlikely, but it's possible from what he said.

In contrast, if anyone committed such a change to the branch after it
becomes the STABLE branch (or to 4.X now), he would likely be taken
out and flogged, or stapled to the flagpole at Microsoft HQ, or given
an extra commit bit or something equally horrifying...
4)  Can freebsd use a linux swap space?
5)  What is this geometry bug and can it be fixed  How?
This would at least be dual-boot windows and possibly linux for a little 
familiarity. So this geometry problem has not allowed me to partition the 
disk using linux and windows programs afterwards and it sems to have 
currupted the partition table because there is no visible.

I would appreciate someone's reply to these probably stupid questions
Thanks for your time
Geoff
 

I'm not real familiar with these issues, as I run FBSD dd
(alone!) and, as I said, am no expert on disk issues.  I'm
sorry if you feel I'm wasting your time.
There has been a thead or two on the questions list recently
about multi-booting, and probably about the Geometry issue as
well.  I'd certainly recommend browsing the archives at
www.freebsd.org/mail ...
Good luck,

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


help! -- acroread failing to launch

2004-05-07 Thread epilogue

hi,

i recently uninstalled almost all of my programs, cleaned out the cruft,
and re-installed only the programs i was actually using.  +2Gb yay!

well, since reinstalling acroread, i'm having problems getting it to run. 
i vaguely recall having the same issue, when i first installed the program
many moons ago, but do not recall what to do to fix.  here is the error
message:

 acroread
/usr/local/Acrobat5/Reader/intellinux/bin/acroread: error while loading
shared libraries: libXt.so.6: cannot open shared object file: No such file
or directory

 locate libXt.so.6
/usr/X11R6/lib/libXt.so.6

i have tried with and without the following paths in my rc.conf file (with
reboot, naturally).

ldconfig_paths=/usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
/usr/local/lib/compat/pkg/ /u sr/compat/linux/lib /usr/compat/linux/usr/lib
/usr/compat/linux/usr/X11R6/lib  

ldconfig_paths_aout=/usr/lib/aout /usr/lib/compat/aout
/usr/X11R6/lib/aout /usr/local/lib/aout

this is the version i have installed:
acroread-5.08   View, distribute and print PDF documents

finally, the program was installed with portinstall, so all dependencies
should also have been installed.  i do have linux_base_8 installed
*instead* of 7, but i fixed that dependency through pkgdb -Fu.  (also, i
have had it working this way in the past, so this shouldn't be the
problem).

if anyone has any idea what might be wrong, please let me know.



 from /ports/emulators/linux_base-8/pkg-descr:
 If you want to run X11 applications, install the
 x11/linux-XFree86-libs port.

 hth
 ch

 yes, christian, it helped enormously.  thank you.  not sure how i
 missed that message, but am really glad that someone caught it.  :)



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


Re: ntfs mount

2004-05-07 Thread J. W. Ballantine

The full fdisk output is:
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=4865 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=4865 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 45,(unknown)
start 63, size 30716217 (14998 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 45,(unknown)
start 30716280, size 20482875 (10001 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 51199155, size 12273660 (5992 Meg), flag 80 (active)
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 63472815, size 14667345 (7161 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63

--  In Response to your message -

  Date:  Thu, 06 May 2004 21:51:33 +0100
  To:  J. W. Ballantine [EMAIL PROTECTED]
  From:  Mark Ovens [EMAIL PROTECTED]
  Subject:  Re: ntfs mount

  J. W. Ballantine wrote:
   Seems our friends in redmond have done something strange with the
   fs type.  both w2k partitions on the disk show a type of 45
  
  Hmm, it's not a brand-name PC that came with Windows pre-installed is 
  it? If so there may be a hidden recovery/diagnostics partition that is 
  confusing fdisk.

It a Dell, but given the configuration, i do not believe it came
pre-installed from the factory.
  
  Do you have anything like OnTrack Disk Manager installed to get round 
  disk size limitations in the BIOS? Unlikely with a machine that runs 
  W2K, but I do know someone that installed in on a P-III machine when he 
  built it, using an old 6.5Gbyte disk, because it came with the disk?
  
No disk manager of any sort running.

  Since you have 2 Windows partitions, you haven't installed any form of 
  multi-OS boot manager have you? You wouldn't need it with W2K but you 
  may have had if you had 2 different versions of Win9x on there once over?

Only the first partition is bootable, I had two to separate the
standard install from the non-standard (ie the programs I use).
The multi-os boot manager is Smart Boot Manager, but that doesn't change
any partiton ids.
  
  Can you post the whole output of `fdisk ad0', it may just give someone a 
  clue?
  
   and both freebsd show 165.
   
  
  Which is correct.
  
  
  Regards,
  
  Mark
  
   Thanks
   Jim
   
   --  In Response to your message -
   
Date:  Thu, 06 May 2004 20:40:45 +0100
To:  J. W. Ballantine [EMAIL PROTECTED], [EMAIL PROTECTED]
rg
From:  Mark Ovens [EMAIL PROTECTED]
Subject:  Re: ntfs mount
  
J. W. Ballantine wrote:
 when I do a properties under w2k it says file system is ntfs,
 fdisk on bsd show partition 1 is sysid 45,(unknown)
 

Hmm, should be sysid 7. I can't remember if the NTFS driver is built 
into the kernel (by default) or it's a kld module under 4.x, I'm running
 
-CURRENT, but I'm sure I never had to do anything special for NTFS 
support in 4.x and the Handbook and FAQ only mention mount_ntfs.

FWIW, here's what I get (single partition, C:, on the first drive). Note
 
mine is 'da0', not 'ad0', as it's SCSI not IDE:

/home/mark{38}# fdisk da0
*** Working on device /dev/da0 ***
parameters extracted from in-core disklabel are:
cylinders=8924 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=8924 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 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
 start 63, size 143347932 (69994 Meg), flag 0
 beg: cyl 0/ head 1/ sector 1;
 end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED
/home/mark{39}#


 --  In Response to your message -
 
  Date:  Thu, 06 May 2004 20:01:24 +0100
  To:  J. W. Ballantine [EMAIL PROTECTED], [EMAIL PROTECTED]
sd.o
   rg
  From:  Mark Ovens [EMAIL PROTECTED]
  Subject:  Re: ntfs mount

  J. W. Ballantine wrote:
   
   yes, there is only one hard disk.
   
  
  What does the output 

5.2.1, Sparc64, Install

2004-05-07 Thread Mike Hogsett

Is there a Sparc64 (Ultra5) specific install instructions document?

ta,

Mike


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


Re: Makefile for XFree86-fontScalable-4.3.0 port is broken?

2004-05-07 Thread Kent Stewart
On Friday 07 May 2004 02:54 am, Daniel Wijnands wrote:
 Did you find a solution for this problem ?


You didn't give enough information such as version of FreeBSD that you 
are running. After I read your message, I tried building it again on 2 
recently cvsup'ed different computers running 4-stable and had no 
problem doing so.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ntfs mount

2004-05-07 Thread Mark Ovens
J. W. Ballantine wrote:

The full fdisk output is:
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=4865 heads=255 sectors/track=63 (16065 blks/cyl)
[snip]

I take it that the partition sizees reported are correct?

It a Dell, but given the configuration, i do not believe it came
pre-installed from the factory.
I would have thought that a Dell would have had *an* OS pre-installed.

Only the first partition is bootable, I had two to separate the
standard install from the non-standard (ie the programs I use).
The multi-os boot manager is Smart Boot Manager, but that doesn't change
any partiton ids.
Not come across Smart Boot Manager but I wonder if it creates a small 
partition to run from; the OS/2 Boot Manager, which was also shipped 
with older versions of Partition Magic, did but, like recovery 
partitions it didn't get a drive letter.

Try running:

# dd if=/dev/ad0 of=/tmp/foo bs=512 count=1
# hd /tmp/foo  /tmp/foo.hd
This copies the first sector of the disk to a file and hd(1) does a 
hexdump of the binary file.

Open /tmp/foo.hd in an editor and look at the last 4 lines, they should 
look similar to:

01b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 80 01
01c0  01 00 a5 7f ff 10 3f 00  00 00 41 97 60 00 00 00
01d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
01e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
01f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa
0200
(there will be the ASCII to the right of each line but I've not included 
it to prevent wrapping in the e-mail)

The partition type is the third hex number in the last 4 lines; the 
example above is 'a5' (FreeBSD) and the disk has only one partition 
which is why the other 3 lines are all zeros.

Post the file /tmp/foo.hd here as other stuff may yield clues.

Regards,

Mark

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


realaudio to mp3/wav conversion utility in FreeBSD ?

2004-05-07 Thread Joe Schmoe
I already have a good method for saving realaudio
streams to local files.  No discussion of this is
necessary.

So now I have locally saved realaudio files, and I
would like to convert them to mp3 (or at least to wav,
and then to mp3).  There is some lame GUI tool in
windows to do this, but of course I would like a CLI
tool in FreeBSD.

Does such a tool exist ?

thanks.




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ntfs mount

2004-05-07 Thread Bart Silverstrim
On May 7, 2004, at 1:40 PM, Mark Ovens wrote:

J. W. Ballantine wrote:
It a Dell, but given the configuration, i do not believe it came
pre-installed from the factory.
I would have thought that a Dell would have had *an* OS pre-installed.

Not always.  I am running FBSD 4.9 on a couple Dell 2650's ordered just 
for the purpose of installing FreeBSD on them for some of  our server 
use...you can specify *no operating system* and they ship you the 
system and rails with nothing but the hard drives configured for RAID 
on the PERC controller.  No fuss, no muss :-)

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


Re: ntfs mount

2004-05-07 Thread J. W. Ballantine

The last four lines are not even close:
  fa eb 5c 53 42 4d 33 2e  37 2e 31 00 02 01 01 00  |..\SBM3.7.1.|
0010  02 e0 00 40 0b f0 09 00  12 00 02 00 00 00 00 00  |[EMAIL PROTECTED]|
0020  00 00 00 00 00 00 29 00  00 00 00 53 4d 41 52 54  |..)SMART|
0030  20 42 54 4d 47 52 46 41  54 31 32 20 20 20 eb 1f  | BTMGRFAT12   ..|
0040  53 42 4d 4c 01 03 2c 01  00 00 00 00 00 00 00 00  |SBML..,.|
0050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 31  |...1|
0060  c0 8e d0 bc 00 7c 89 e6  50 07 50 1f fb fc bf 00  |.|..P.P.|
0070  06 b9 00 01 f3 a5 ea 7b  00 60 00 0e 1f 68 00 10  |...{.`...h..|
0080  07 8d 36 46 00 b9 05 00  31 ff 51 ac 88 c1 66 ad  |..6F1.Q...f.|
0090  66 89 c3 b8 01 02 09 c9  74 12 e8 57 00 72 3a 81  |f...t..W.r:.|
00a0  c7 00 02 66 43 e2 f3 59  e2 e0 eb 01 59 31 ff 26  |...fC..YY1.|
00b0  66 81 7d 04 53 42 4d 4b  75 20 26 81 7d 08 07 03  |f.}.SBMKu .}...|
00c0  75 18 26 8b 4d 0a 30 db  26 8a 05 00 c3 47 e2 f8  |u..M.0.G..|
00d0  08 db 75 06 ea 00 00 00  10 59 8d 36 ad 01 ac 08  |..u..Y.6|
00e0  c0 74 09 bb 07 00 b4 0e  cd 10 eb f2 30 e4 cd 16  |.t..0...|
00f0  cd 18 eb fe 60 50 53 bb  aa 55 b4 41 cd 13 72 45  |`PS..U.A..rE|
0100  81 fb 55 aa 75 3f f6 c1  01 74 3a 5b 58 80 c4 40  |..U.u?...t:[X..@|
0110  8d 36 02 02 66 31 c9 c6  04 10 66 89 4c 0c 88 4c  |.6..f1f.L..L|
0120  01 88 4c 03 88 44 02 89  7c 04 8c 44 06 66 89 5c  |..L..D..|..D.f.\|
0130  08 50 52 cd 13 5a 58 73  6b e8 6a 00 fe c6 80 fe  |.PR..ZXsk.j.|
0140  03 72 e1 eb 5e 52 06 57  b4 08 cd 13 88 0e 00 02  |.r..^R.W|
0150  88 36 01 02 5f 07 5a 5b  58 72 48 50 52 66 89 d8  |.6.._.Z[XrHPRf..|
0160  66 0f b7 0e 00 02 81 e1  3f 00 66 31 d2 66 f7 f1  |f...?.f1.f..|
0170  42 89 d1 66 31 db 8a 1e  01 02 fe c3 66 31 d2 66  |B..f1...f1.f|
0180  f7 f3 88 d3 86 c4 c0 e0  06 09 c1 5a 58 88 de 89  |...ZX...|
0190  fb 31 ff 50 cd 13 58 73  0b e8 0a 00 47 81 ff 03  |.1.P..XsG...|
01a0  00 72 f0 f9 61 c3 60 31  c0 cd 13 61 c3 07 53 42  |.r..a.`1...a..SB|
01b0  4d 4b 20 42 61 64 21 0d  0a 00 00 00 00 00 00 01  |MK Bad!.|
01c0  01 00 2d fe ff ff 3f 00  00 00 39 b1 d4 01 00 ff  |..-...?...9.|
01d0  ff ff 2d fe ff ff 78 b1  d4 01 3b 8b 38 01 80 ff  |..-...x...;.8...|
01e0  ff ff a5 fe ff ff b3 3c  0d 03 fc 47 bb 00 00 ff  |..G|
01f0  ff ff a5 fe ff ff af 84  c8 03 51 ce df 00 55 aa  |..Q...U.|
0200

I use the same boot manager on another system (xp rather than 2k) and
have no problems mounting the disk.

Jim

--  In Response to your message -

  Date:  Fri, 07 May 2004 18:40:15 +0100
  To:  J. W. Ballantine [EMAIL PROTECTED]
  From:  Mark Ovens [EMAIL PROTECTED]
  Subject:  Re: ntfs mount

  J. W. Ballantine wrote:
  
   The full fdisk output is:
   *** Working on device /dev/ad0 ***
   parameters extracted from in-core disklabel are:
   cylinders=4865 heads=255 sectors/track=63 (16065 blks/cyl)
   
  
  [snip]
  
  I take it that the partition sizees reported are correct?
  
   It a Dell, but given the configuration, i do not believe it came
   pre-installed from the factory.
  
  I would have thought that a Dell would have had *an* OS pre-installed.
  
   Only the first partition is bootable, I had two to separate the
   standard install from the non-standard (ie the programs I use).
   The multi-os boot manager is Smart Boot Manager, but that doesn't change
   any partiton ids.
  
  Not come across Smart Boot Manager but I wonder if it creates a small 
  partition to run from; the OS/2 Boot Manager, which was also shipped 
  with older versions of Partition Magic, did but, like recovery 
  partitions it didn't get a drive letter.
  
  Try running:
  
  # dd if=/dev/ad0 of=/tmp/foo bs=512 count=1
  # hd /tmp/foo  /tmp/foo.hd
  
  This copies the first sector of the disk to a file and hd(1) does a 
  hexdump of the binary file.
  
  Open /tmp/foo.hd in an editor and look at the last 4 lines, they should 
  look similar to:
  
  01b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 80 01
  01c0  01 00 a5 7f ff 10 3f 00  00 00 41 97 60 00 00 00
  01d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
  01e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
  01f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa
  0200
  
  (there will be the ASCII to the right of each line but I've not included 
  it to prevent wrapping in the e-mail)
  
  The partition type is the third hex number in the last 4 lines; the 
  example above is 'a5' (FreeBSD) and the disk has only one partition 
  which is why the other 3 lines are all zeros.
  
  Post the file /tmp/foo.hd here as other stuff may yield clues.
  
  Regards,
  
  Mark
  
  


___
[EMAIL PROTECTED] mailing list

Re: ntfs mount

2004-05-07 Thread Mark Ovens
Mark Ovens wrote:

Not come across Smart Boot Manager but I wonder if it creates a small 
partition to run from; the OS/2 Boot Manager, which was also shipped 
with older versions of Partition Magic, did but, like recovery 
partitions it didn't get a drive letter.

Ah! I've just thought of something. My old machine had Boot Magic 
installed - the boot manager that came with later versions of Partition 
Magic and didn't need a dedicated partition. One of it's features let 
you choose which partitions each OS could see. I never looked into _how_ 
it did it but I'm now wondering if it worked by setting the partition 
type id flag to 45 (unknown) in the partition table; I do remember that 
I had to disable the BIOS boot sector anti-virus feature as it went off 
everytime I booted.

Now, it may be that this is how Smart Boot Manager works. You could 
confirm it by viewing the MBR when booted into Windows, you can get a 
copy of dd(1) and hd(1) for windows from cygwin.com or you can use 
DSKPROBE.EXE which is in the NT4 Resource Kit (if you can find a copy - 
e-mail me if you can't) and see if the partition type for the first two 
partitions is now set to 7 (NTFS), and maybe the FreeBSD partitions are 
now 45?

Regards,

Parish



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


Re: ntfs mount

2004-05-07 Thread Mark Ovens
Bart Silverstrim wrote:

On May 7, 2004, at 1:40 PM, Mark Ovens wrote:

J. W. Ballantine wrote:
It a Dell, but given the configuration, i do not believe it came
pre-installed from the factory.
I would have thought that a Dell would have had *an* OS pre-installed.

Not always.  I am running FBSD 4.9 on a couple Dell 2650's ordered just 
for the purpose of installing FreeBSD on them for some of  our server 
use...you can specify *no operating system* and they ship you the 
system and rails with nothing but the hard drives configured for RAID 
on the PERC controller.  No fuss, no muss :-)

That's good to know :-) Does it only apply to servers, or can you get 
desktop machines /sans/ OS?

Regards,

Mark

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



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


Re: ntfs mount

2004-05-07 Thread J. W. Ballantine

Only if it treats w2k different than 98 and XP.  I've had the same
boot manager on dual boot machines with the two MS OSes and FreeBSD
and have no trouble mounting the ms partitions on FreeBSD.

Jim

--  In Response to your message -

  Date:  Fri, 07 May 2004 19:10:17 +0100
  To:  J. W. Ballantine [EMAIL PROTECTED]
  From:  Mark Ovens [EMAIL PROTECTED]
  Subject:  Re: ntfs mount

  Mark Ovens wrote:
  
   Not come across Smart Boot Manager but I wonder if it creates a small 
   partition to run from; the OS/2 Boot Manager, which was also shipped 
   with older versions of Partition Magic, did but, like recovery 
   partitions it didn't get a drive letter.
   
  
  Ah! I've just thought of something. My old machine had Boot Magic 
  installed - the boot manager that came with later versions of Partition 
  Magic and didn't need a dedicated partition. One of it's features let 
  you choose which partitions each OS could see. I never looked into _how_ 
  it did it but I'm now wondering if it worked by setting the partition 
  type id flag to 45 (unknown) in the partition table; I do remember that 
  I had to disable the BIOS boot sector anti-virus feature as it went off 
  everytime I booted.
  
  Now, it may be that this is how Smart Boot Manager works. You could 
  confirm it by viewing the MBR when booted into Windows, you can get a 
  copy of dd(1) and hd(1) for windows from cygwin.com or you can use 
  DSKPROBE.EXE which is in the NT4 Resource Kit (if you can find a copy - 
  e-mail me if you can't) and see if the partition type for the first two 
  partitions is now set to 7 (NTFS), and maybe the FreeBSD partitions are 
  now 45?
  
  Regards,
  
  Parish
  
  
  


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


Re: ntfs mount

2004-05-07 Thread Bart Silverstrim
On May 7, 2004, at 2:12 PM, Mark Ovens wrote:

Bart Silverstrim wrote:

On May 7, 2004, at 1:40 PM, Mark Ovens wrote:
J. W. Ballantine wrote:
It a Dell, but given the configuration, i do not believe it came
pre-installed from the factory.
I would have thought that a Dell would have had *an* OS 
pre-installed.

Not always.  I am running FBSD 4.9 on a couple Dell 2650's ordered 
just for the purpose of installing FreeBSD on them for some of  our 
server use...you can specify *no operating system* and they ship you 
the system and rails with nothing but the hard drives configured for 
RAID on the PERC controller.  No fuss, no muss :-)
That's good to know :-) Does it only apply to servers, or can you get 
desktop machines /sans/ OS?

I don't know for sure to give an authoritative answer; if you call them 
for ordering, you should be able to cajole them into it.  We may get 
different treatment because we're a school and they like us calling 
them back when another project needs another server (I think 
educational institutions are considered businesses by Dell, so we can 
all our sales rep and they seem to be able to work whatever magic we 
want for configurations when we make it clear that's what we want).  
Dell doesn't make systems, IIRC, until they are ordered...read 
something about how it cuts down on inventory left in warehouses and 
allows for customization...so I don't see why they couldn't make a 
desktop system sans OS.

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


mono

2004-05-07 Thread Osmany Guirola Cruz
Hi 
I am trying to install mono on my freebsd box 
and i have these error
mono... does not work on -CURRENT with garbage collection enabled 
i am runing 5.2 Release i probe in one machine that have 4.9 and it install 
well
what should ido to install it in my 5.2 if its possible

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


Re: mono

2004-05-07 Thread Bill Moran
Osmany Guirola Cruz wrote:
Hi 
I am trying to install mono on my freebsd box 
and i have these error
mono... does not work on -CURRENT with garbage collection enabled 
i am runing 5.2 Release i probe in one machine that have 4.9 and it install 
well
what should ido to install it in my 5.2 if its possible
Keep in mind that this message means that the port is _broken_ on FreeBSD 5.
Mono will crash if you run it on 5.  That being said, if you'd like to help
track down the problem, edit the Makefile and comment out the line that reads:
IGNORE= Does not work on -CURRENT with garbage collection enabled
Then you can experiment with the crashes and help find the problem.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help! -- acroread failing to launch

2004-05-07 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

  acroread
 /usr/local/Acrobat5/Reader/intellinux/bin/acroread: error while loading
 shared libraries: libXt.so.6: cannot open shared object file: No such file
 or directory
 
  locate libXt.so.6
 /usr/X11R6/lib/libXt.so.6
 
 i have tried with and without the following paths in my rc.conf file (with
 reboot, naturally).
 
 ldconfig_paths=/usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
 /usr/local/lib/compat/pkg/ /u sr/compat/linux/lib /usr/compat/linux/usr/lib
 /usr/compat/linux/usr/X11R6/lib  
 
 ldconfig_paths_aout=/usr/lib/aout /usr/lib/compat/aout
 /usr/X11R6/lib/aout /usr/local/lib/aout
 
 this is the version i have installed:
 acroread-5.08   View, distribute and print PDF documents
 
 finally, the program was installed with portinstall, so all dependencies
 should also have been installed.  i do have linux_base_8 installed
 *instead* of 7, but i fixed that dependency through pkgdb -Fu.  (also, i
 have had it working this way in the past, so this shouldn't be the
 problem).
 
 if anyone has any idea what might be wrong, please let me know.

acroread wants libXt.so.6 and can't find it.
Is it installed?

Note that pkgdb can fix what its own database thinks are the
dependencies for acroread, but if acroread *actually* needs
linux_base-7, then, well, that's what it needs.  You might be able to
get away with just copying in the libraries that acroread complains
are missing.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help! -- acroread failing to launch

2004-05-07 Thread epilogue

hi lowell,

problem already solved.   it may have been confusing because my last
reply didn't follow the usual '' indent format.  i had to cut and paste
the message from the website, because i never received a copy of the
message.

thanks for your offer to help.


cheers,
epi. 


On 07 May 2004 15:24:13 -0400
Lowell Gilbert [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] writes:
 
   acroread
  /usr/local/Acrobat5/Reader/intellinux/bin/acroread: error while loading
  shared libraries: libXt.so.6: cannot open shared object file: No such
  file or directory
  
   locate libXt.so.6
  /usr/X11R6/lib/libXt.so.6
  
  i have tried with and without the following paths in my rc.conf file
  (with reboot, naturally).
  
  ldconfig_paths=/usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
  /usr/local/lib/compat/pkg/ /u sr/compat/linux/lib
  /usr/compat/linux/usr/lib/usr/compat/linux/usr/X11R6/lib  
  
  ldconfig_paths_aout=/usr/lib/aout /usr/lib/compat/aout
  /usr/X11R6/lib/aout /usr/local/lib/aout
  
  this is the version i have installed:
  acroread-5.08   View, distribute and print PDF documents
  
  finally, the program was installed with portinstall, so all
  dependencies should also have been installed.  i do have linux_base_8
  installed*instead* of 7, but i fixed that dependency through pkgdb -Fu.
   (also, i
  have had it working this way in the past, so this shouldn't be the
  problem).
  
  if anyone has any idea what might be wrong, please let me know.
 
 acroread wants libXt.so.6 and can't find it.
 Is it installed?
 
 Note that pkgdb can fix what its own database thinks are the
 dependencies for acroread, but if acroread *actually* needs
 linux_base-7, then, well, that's what it needs.  You might be able to
 get away with just copying in the libraries that acroread complains
 are missing.
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


startx failing to work after Gnome update

2004-05-07 Thread Nicholas Jackson
Hello,

I've recently updated my Gnome packags to version 2.6 and since then, X 
has failed to work when I start it as a non-root user. (It does work as 
root)

I get a message about being unable to replace the log file.

Has anyone got any ideas on where I went wrong?

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


Re: realaudio to mp3/wav conversion utility in FreeBSD ?

2004-05-07 Thread Simon Barner
Joe Schmoe wrote:
 I already have a good method for saving realaudio
 streams to local files.  No discussion of this is
 necessary.
 
 So now I have locally saved realaudio files, and I
 would like to convert them to mp3 (or at least to wav,
 and then to mp3).  There is some lame GUI tool in
 windows to do this, but of course I would like a CLI
 tool in FreeBSD.
 
 Does such a tool exist ?

Yes, it does: Mplayer!

Install the mplayer port with support for realaudio. The following will
convert a ra stream (or any other audio stream mplayer supports) and
save in wave format to the file audiodump.wav:

mplayer file.ra -ao pcm

From there, you can use lame to convert it in the mp3 format.

I have attached a script, that converts all *.wma files in a directory
into mp3s, but it should be easy enough to adopt to your situation.

I once found it via google; there are credits for the authors in the
script.

Simon


signature.asc
Description: Digital signature


Re: Newbie: 4.9 / 5.2.1 / 4.10 ??

2004-05-07 Thread Daniela
On Friday 07 May 2004 16:25, Kevin D. Kinsey, DaleCo, S.P. wrote:
 4)   Can freebsd use a linux swap space?

Yes, anything can be used as swap space, but be sure to determine the correct 
device file, or else you'll overwrite precious data.
If, for example, you have the Linux swap on the second slice on the first IDE 
drive, the device file would be: /dev/ad0s2 (at least for 4.9, I think for 
5.X it's /dev/ad0s2c but I'm not sure).

Daniela


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


Re: realaudio to mp3/wav conversion utility in FreeBSD ?

2004-05-07 Thread Simon Barner
Oops, the script was stripped off by the mailing list software. I'll
post it inline now.

- cut here -
#!/bin/sh
# extraido de http://bulmalug.net/impresion.phtml?nIdNoticia=1744
# y modificado por mapelo [EMAIL PROTECTED]
# necesita mplayer y lame

# Convertimos wma a mp3
for f in *.wma
  do
  mplayer $f -ao pcm
  mv audiodump.wav $f.wav
  #lame $f.wav
  # modificado por mapelo para hacer variable vibrate y de mayor calidad
  lame --vbr-new -V 3 -b 128 $f.wav
  rm $f.wav
  done
- cut here -


signature.asc
Description: Digital signature


Can't build openoffice-1.1 from port

2004-05-07 Thread Bill Moran
Trying to install openoffice from ports tree cvsupped yesterday and failing.
I don't want to install from a package, as I get an icky mess between gtk 1
(which the openoffice package wants) and gtk 2 (which the latest gnome wants)
Suggestions?

FreeBSD 4.9-RELEASE, when I try to build, it stops thusly:

 ... 

 Build Tool Settings:
UNIXCOMMAND_PATH = /bin/
COMPILER_PATH = /usr/bin/
DEVTOOLS_PATH = /usr/local/bin/
USRBIN_PATH = /usr/bin/
MOTIF_DIR = /usr/X11R6
CC_VER = 2.95.4
ZIP_VER = 2.3
PATH = 
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin

 Build Directives:
USE_ONLY_BOOTDIR_TOOLS =
USE_HOTSPOT_INTERPRETER_MODE =
PEDANTIC =
DEV_ONLY = YES
J2RE_ONLY =
NO_DOCS =
NO_IMAGES =
TOOLS_ONLY = true
INSANE =

 Build Platform Settings:
PLATFORM = bsd
ARCH = i586
LIBARCH = i386
ARCH_FAMILY = i586
ARCH_DATA_MODEL = 32
OS_VERSION = 4.9-RELEASE
TRUE_PLATFORM = FreeBSD (4.x STABLE way)
FREE_SPACE = 62703400

 GNU Make Settings:
MAKE = gmake
MAKE VERSION =
MAKECMDGOALS = sanity
MAKEFLAGS =
SHELL = /bin/sh

 Target Build Versions:
JDK_VERSION = 1.4.2
MILESTONE = p6
BUILD_NUMBER = wmoran_07_may_2004_11_53

 External File/Binary Locations:
HOTSPOT_SERVER_PATH = 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/server
HOTSPOT_CLIENT_PATH = 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/client
MOTIF_DIR = /usr/X11R6
CACERTS_FILE = ./../src/share/lib/security/cacerts

 WARNING: Your build environment has the variable DEV_ONLY
  defined. This will result in a development-only
  build of the J2SE workspace, lacking the documentation
  build and installation bundles.
   ERROR: Your JAVAWS_BOOTDIR environment variable does not point
to a valid Java 2 SDK for bootstrapping this build.
A Java 2 SDK 1.4 build must be bootstrapped using
J2SDK 1.4.0 fcs (or later).
Apparently, your bootstrap JDK is version Abort trap
Please update your ALT_JAVAWS_BOOTDIR setting and start your build again. 
 ERROR: Your 
BOOTDIR environment variable does not point
to a valid Java 2 SDK for bootstrapping this build.
A Java 2 SDK 1.4.2 build must be bootstrapped using
J2SDK 1.4.1 fcs (or later).
Apparently, your bootstrap JDK is version Abort trap
Please update your ALT_BOOTDIR setting and start your build again.
   Exiting because of the above error(s).
   gmake: *** [post-sanity] Error 1
 *** Error code 2

 Stop in /usr/ports/java/jdk14.
 *** Error code 1

 Stop in /usr/ports/editors/openoffice-1.1.


--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.10 stable release info

2004-05-07 Thread anubis
On Thu, 6 May 2004 10:36 pm, JJB wrote:
 The official 4.10 schedule says 4.10 stable release was scheduled
 for May 5.
 The FTP sites still have RC2 and  the 4.10 to-do list talks about
 RC3.
 Anybody from the release team care to comment on what is the holdup
 and when 4.10 going to be updated to the mirror FTP sites?

 http://www.freebsd.org/releases/4.10R/schedule.html


Whenever I see a release put back I think Thank goodness for the 
FreeBSD team that they make sure that it is working before they 
release it rather than adhering to any artificial release dates.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Is there any hardware RAID (SCSI) that is fully supported?

2004-05-07 Thread Peter Schuller
Hello,

is there any hardware SCSI RAID controller that is fully supported in FreeBSD? 
By fully supported I mean being able to monitor and talk to the controller 
on a live system in order to initiate a rebuild on a replace drive and such.

Mylex/Adaptec seems to be a dead end, LSI's MegaRAIDs I'm not sure about. 
Anything else out there?

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

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


Re: Source code of ln command

2004-05-07 Thread Greg 'groggy' Lehey
On Friday,  7 May 2004 at 10:00:50 -0400, Thuan Truong wrote:
 Greg,
 Thanks for the info.  Could you tell me what is the best way to copy the
 whole source codes to my machine, so it's easy for me to find and understand
 in details some system functions?

This is a FAQ.  The source code is included with all distributions of
FreeBSD.  Take a look at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors.html.

Greg
--
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


How to get best results from FreeBSD-questions

2004-05-07 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update $Date: 2003/03/09 22:09:31 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions, -newbies or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst other things, it
told you how to unsubscribe.  Here's a typical message:

  Welcome to the freebsd-questions mailing list!

  If you ever want to remove yourself from this mailing list,
  you can send mail to [EMAIL PROTECTED] with the following command
  in the body of your email message:

  unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED]

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  FreeBSD-questions.  If that's the case, you'll have to figure out
  which one it is and get your name taken off that one.  If you're
  not sure which one it might be, check the headers of the
  messages you receive from freebsd-questions: maybe there's a
  clue there.

If you've done all this, and you still can't figure out what's going
on, send a message to [EMAIL PROTECTED], and he will sort things
out for you.  Don't send a message to FreeBSD-questions: they can't
help you.

III: Should I ask -questions, -newbies or -hackers?
===

Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and FreeBSD-hackers.  In addition, the
FreeBSD-newbies list caters 

The Complete FreeBSD: errata and addenda

2004-05-07 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


Re: segmentation fault-- is my array too long?

2004-05-07 Thread Malcolm Kay
On Friday 07 May 2004 06:42, Henrik W Lund wrote:

 malloc() is your friend! :-)

 -- double *ncost = malloc(sizeof (double) * persons * scens); --

 This ought to do the trick. Just remember to make sure that malloc
 returns a valid pointer, otherwise you'll have another seg fault.

 I'm pretty sure you can adress the pointer like you do with the array
 there (ncost[persons][0], etc...); if not, you can always do
 ncost(sizeof(double) * persons + 0), etc...

 /* AMENDMENT!!! */
 In my haste, I totally forgot my pointer dereferencing. The correct way
 to reference a pointer as a two dimensional array is, of course, thus:

 *(ncost + (sizeof(double) * persons) + 0)) = 0.00;

You've still got it wrong!
ncost increments in units of size equal to that which it points
so it should be:
  *(ncost + person*scens + scen)
where person is the first index and scen the second.
or in the particular instance
  *(ncost + person*scens + 0) = 0.00;

For easier to read code it would be better to use:
   double (*ncost)[scens] = malloc( persons * sizeof *ncost );

and dereference as:
   ncost[person][scen]

or in particular
   ncost[person][0] = 0.0;

And for the OP it is usual to write constants generated
with #define in upper-case. It generally seems to help
to make the code easier to follow. In this case:
 PERSONS instead of persons
and
 SCENS instead of scens

This also make the distinction between PERSONS and person
more evident while retaining their implied connection.

Malcolm


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


Re: Plod-like tool in ports

2004-05-07 Thread Joshua Lokken
* Viktor Lazlo [EMAIL PROTECTED] [2004-05-06 21:22]:
 On Thu, 6 May 2004, Joshua Lokken wrote:
 
Does anyone out there use a tool similar to plod for personal logging
of administrative tasks?  I've looked through
/usr/ports/sysutils, and didn't see anything that caught my eye.
 
 Why not just use plod then? It works fine under both FreeBSD and Linux.
 
Indeed, it's working nicely.

-- 
Joshua

This is Papa Bear. Put out an APB on a suspect,
 driving a ... car of some sort, heading in the
 direction of ... that place that sells chili.
 Suspect is hatless, repeat HATLESS!
   -- Chief Clancy Wiggam

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


Re: Is there any hardware RAID (SCSI) that is fully supported?

2004-05-07 Thread Chad Leigh -- Shire.Net LLC
On May 7, 2004, at 5:13 PM, Peter Schuller wrote:

Hello,

is there any hardware SCSI RAID controller that is fully supported in 
FreeBSD?
By fully supported I mean being able to monitor and talk to the 
controller
on a live system in order to initiate a rebuild on a replace drive and 
such.

Mylex/Adaptec seems to be a dead end,
If you build your kernel with Linux compatibility, then you can use the 
Linux command line (and probably the browser edition) of the Adaptec 
stuff for the aac based controllers like the 2200S.

The adaptec command line tools for the 2100s have worked pretty well 
for me

Chad

LSI's MegaRAIDs I'm not sure about.
Anything else out there?
--
/ Peter Schuller, InfiDyne Technologies HB
PGP userID: 0xE9758B7D or 'Peter Schuller 
[EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

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


Re: Can't build openoffice-1.1 from port

2004-05-07 Thread Christian Hiris
On Saturday 08 May 2004 00:24, Bill Moran wrote:
 Trying to install openoffice from ports tree cvsupped yesterday and
 failing. I don't want to install from a package, as I get an icky mess
 between gtk 1 (which the openoffice package wants) and gtk 2 (which the
 latest gnome wants)

 Suggestions?

 FreeBSD 4.9-RELEASE, when I try to build, it stops thusly:

  ... 

   Build Tool Settings:
  UNIXCOMMAND_PATH = /bin/
  COMPILER_PATH = /usr/bin/
  DEVTOOLS_PATH = /usr/local/bin/
  USRBIN_PATH = /usr/bin/
  MOTIF_DIR = /usr/X11R6
  CC_VER = 2.95.4
  ZIP_VER = 2.3
  PATH =
   /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:
  /usr/X11R6/bin:/root/bin
  
   Build Directives:
  USE_ONLY_BOOTDIR_TOOLS =
  USE_HOTSPOT_INTERPRETER_MODE =
  PEDANTIC =
  DEV_ONLY = YES
  J2RE_ONLY =
  NO_DOCS =
  NO_IMAGES =
  TOOLS_ONLY = true
  INSANE =
  
   Build Platform Settings:
  PLATFORM = bsd
  ARCH = i586
  LIBARCH = i386
  ARCH_FAMILY = i586
  ARCH_DATA_MODEL = 32
  OS_VERSION = 4.9-RELEASE
  TRUE_PLATFORM = FreeBSD (4.x STABLE way)
  FREE_SPACE = 62703400
  
   GNU Make Settings:
  MAKE = gmake
  MAKE VERSION =
  MAKECMDGOALS = sanity
  MAKEFLAGS =
  SHELL = /bin/sh
  
   Target Build Versions:
  JDK_VERSION = 1.4.2
  MILESTONE = p6
  BUILD_NUMBER = wmoran_07_may_2004_11_53
  
   External File/Binary Locations:
  HOTSPOT_SERVER_PATH =
   /usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/server
   HOTSPOT_CLIENT_PATH =
   /usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/client
   MOTIF_DIR = /usr/X11R6
  CACERTS_FILE = ./../src/share/lib/security/cacerts
  
   WARNING: Your build environment has the variable DEV_ONLY
defined. This will result in a development-only
build of the J2SE workspace, lacking the documentation
build and installation bundles.
 ERROR: Your JAVAWS_BOOTDIR environment variable does not point
  to a valid Java 2 SDK for bootstrapping this build.
  A Java 2 SDK 1.4 build must be bootstrapped using
  J2SDK 1.4.0 fcs (or later).
  Apparently, your bootstrap JDK is version Abort trap
  Please update your ALT_JAVAWS_BOOTDIR setting and start your
   build again.
ERROR: Your BOOTDIR environment variable does not
   point to a valid Java 2 SDK for bootstrapping this build.
  A Java 2 SDK 1.4.2 build must be bootstrapped using
  J2SDK 1.4.1 fcs (or later).
  Apparently, your bootstrap JDK is version Abort trap
  Please update your ALT_BOOTDIR setting and start your build
   again. Exiting because of the above error(s).
 gmake: *** [post-sanity] Error 1
   *** Error code 2
  
   Stop in /usr/ports/java/jdk14.
   *** Error code 1
  
   Stop in /usr/ports/editors/openoffice-1.1.

Something went wrong when building the jdk14 dependency. If there is no valid 
jdk14 installed on your system, you need the linux-sun-jdk14 for 
bootstrapping the build of jdk14.

Try to build jdk14 with the WITH_LINUX_BOOTSTRAP knob set, which requires also 
linux-emulation enabled and linprocfs mounted. 

cd /usr/ports/java/jdk14 
make WITH_LINUX_BOOTSTRAP=yes

If this doesn't work install the linux-sun-jdk14 package manually and restart 
the jdk14 build as described above.

regards
ch


pgp0.pgp
Description: signature


Re: Can't build openoffice-1.1 from port

2004-05-07 Thread Bill Moran
Christian Hiris wrote:
On Saturday 08 May 2004 00:24, Bill Moran wrote:

Trying to install openoffice from ports tree cvsupped yesterday and
failing. I don't want to install from a package, as I get an icky mess
between gtk 1 (which the openoffice package wants) and gtk 2 (which the
latest gnome wants)
Suggestions?

FreeBSD 4.9-RELEASE, when I try to build, it stops thusly:

 ... 

snip

  ERROR: Your BOOTDIR environment variable does not
 point to a valid Java 2 SDK for bootstrapping this build.
A Java 2 SDK 1.4.2 build must be bootstrapped using
J2SDK 1.4.1 fcs (or later).
Apparently, your bootstrap JDK is version Abort trap
Please update your ALT_BOOTDIR setting and start your build
 again. Exiting because of the above error(s).
   gmake: *** [post-sanity] Error 1
 *** Error code 2

 Stop in /usr/ports/java/jdk14.
 *** Error code 1

 Stop in /usr/ports/editors/openoffice-1.1.
Something went wrong when building the jdk14 dependency. If there is no valid 
jdk14 installed on your system, you need the linux-sun-jdk14 for 
bootstrapping the build of jdk14.

Try to build jdk14 with the WITH_LINUX_BOOTSTRAP knob set, which requires also 
linux-emulation enabled and linprocfs mounted. 

cd /usr/ports/java/jdk14 
make WITH_LINUX_BOOTSTRAP=yes

If this doesn't work install the linux-sun-jdk14 package manually and restart 
the jdk14 build as described above.
While you're answer didn't directly solve the problem, it gave me the hint I
needed to get things going.
Linux compat was installed, but not enabled.  I did a kldload linux.ko and
restarted the build, and it's progressing nicely now.
I didn't know linux emu was necessary to run OpenOffice?  Is it just for
building or is it required to run as well?
Thanks for the help.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is there any hardware RAID (SCSI) that is fully supported?

2004-05-07 Thread Bart Silverstrim
On May 7, 2004, at 7:13 PM, Peter Schuller wrote:

Hello,

is there any hardware SCSI RAID controller that is fully supported in 
FreeBSD?
By fully supported I mean being able to monitor and talk to the 
controller
on a live system in order to initiate a rebuild on a replace drive and 
such.

Mylex/Adaptec seems to be a dead end, LSI's MegaRAIDs I'm not sure 
about.
Anything else out there?
Adaptec; I think that is what the Dell PERC controllers use (just 
rebranded?).  There' s a CLI utility that was ported from the Linux 
world...aacli I think is what it is called (or something similar to 
it).  Although I haven't had to try the actual rebuild from the CLI 
(THANK $DEITY, knock on wood...), the command line program does talk to 
the controller for information.

Try digging around for what the PERC controllers use for their 
chipset...

-Bart

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


Re: Is there any hardware RAID (SCSI) that is fully supported?

2004-05-07 Thread Brad Tarver
Either Adaptec or AMI Logic
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't build openoffice-1.1 from port

2004-05-07 Thread Christian Hiris
On Saturday 08 May 2004 04:40, Bill Moran wrote:
 Christian Hiris wrote:
  On Saturday 08 May 2004 00:24, Bill Moran wrote:
 Trying to install openoffice from ports tree cvsupped yesterday and
 failing. I don't want to install from a package, as I get an icky mess
 between gtk 1 (which the openoffice package wants) and gtk 2 (which the
 latest gnome wants)
 
 Suggestions?
 
 FreeBSD 4.9-RELEASE, when I try to build, it stops thusly:
 
  ... 

 snip

ERROR: Your BOOTDIR environment variable does not
   point to a valid Java 2 SDK for bootstrapping this build.
  A Java 2 SDK 1.4.2 build must be bootstrapped using
  J2SDK 1.4.1 fcs (or later).
  Apparently, your bootstrap JDK is version Abort trap
  Please update your ALT_BOOTDIR setting and start your build
   again. Exiting because of the above error(s).
 gmake: *** [post-sanity] Error 1
   *** Error code 2
  
   Stop in /usr/ports/java/jdk14.
   *** Error code 1
  
   Stop in /usr/ports/editors/openoffice-1.1.
 
  Something went wrong when building the jdk14 dependency. If there is no
  valid jdk14 installed on your system, you need the linux-sun-jdk14 for
  bootstrapping the build of jdk14.
 
  Try to build jdk14 with the WITH_LINUX_BOOTSTRAP knob set, which requires
  also linux-emulation enabled and linprocfs mounted.
 
  cd /usr/ports/java/jdk14
  make WITH_LINUX_BOOTSTRAP=yes
 
  If this doesn't work install the linux-sun-jdk14 package manually and
  restart the jdk14 build as described above.

 While you're answer didn't directly solve the problem, it gave me the hint
 I needed to get things going.

 Linux compat was installed, but not enabled.  I did a kldload linux.ko
 and restarted the build, and it's progressing nicely now.

 I didn't know linux emu was necessary to run OpenOffice?  Is it just for
 building or is it required to run as well?

It's just needed to build the native jdk14, which uses the linux-jdk14 for 
bootstrapping. no need at runtime as far as i know. 


 Thanks for the help.



pgp0.pgp
Description: signature


Penggy for AOL

2004-05-07 Thread phusion
I'm trying to install Penggy, so I can connect through
dialup using an AOL account I have. I'm running
FreeBSD 5.2.1. The modem I have is recognized in
FreeBSD. I downloaded the source file from the
homepage, then ran ./configure and said that it
couldn't find Guile (which I don't have installed).
Then I tried to run make, but it said there was
nothing to make. I would appreciate it if someone
could guide me through installing and configuring
penggy so I can use an AOL account I have.




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports Index Update Error - mail/lmtpd Failure

2004-05-07 Thread Bob Perry
On (05/05/04 10:18), Kent Stewart wrote:
 From: Kent Stewart [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: Ports Index Update Error - mail/lmtpd Failure
 Date: Wed, 5 May 2004 10:18:15 -0700
 User-Agent: KMail/1.6.2
 Cc: Joshua Lokken [EMAIL PROTECTED], Bob Perry [EMAIL PROTECTED]
 
 On Wednesday 05 May 2004 09:42 am, Joshua Lokken wrote:
  * Bob Perry [EMAIL PROTECTED] [2004-05-04 22:04]:
   Was unsucessful at upgrading my ports system Saturday due to a
   failure during the port index update.  More specifically, I
   received an error message stating that mail/lmtpd file failed.
  
   The upgrade process is fairly basic beginning with a backup of
   /var/db/pkg, followed with pkgdb -Fv, cvsup -g -L 2 -z cvsupfile,
   and then portsdb -uU.  The error ocurred during the index update
   and a message followed describing the error stating Makefile,
   line 47: You cannot use DB3 and DB4 in the same time.
 
  I've been using the ports collection happily for a couple of years
  now, and portsdb -Uu has correctly made me an index once.  I believe
  it's redundant, though, to immediately follow a cvsup with a portsdb
  -Uu, as the cvsup takes care of the index for you.  I wouldn't worry
  too much; I've seen other folks recommend recvsupping and trying
  again; It should be ok to ignore it; at least I always have.
 
 This is really not true. INDEX is updated infrequently and depending on 
 the version cvsup downloads will leave you with a version that can be 
 as much as 2 months out of date. 
 
 If you don't use ports such as portupgrade, it doesn't matter because 
 make will use the proper parameters from the port location. If you want 
 to use portupgrade, you have to rebuild INDEX[-5] and INDEX.db after 
 every cvsup.
 
 If you check the update dates on INDEX, you will see that it was updated 
 on 1 May, 28 Apr, 3 Apr, and then on 13 Feb. You could have missed an 
 important security fix because none of the ports such as portversion or 
 pkg_version would have recognized that the port had been updated.
 
 If it has only made a proper INDEX twice for you, I really suspect that 
 you are refusing ports that are important to the make index process. I 
 build the INDEXs twice a day and the last time make index failed was on 
 12-13 Apr. FWIW, portsdb -U now uses make index to build INDEX.
 

First, I need to thank all who took the time to respond for your contrib-
utions.

I'm as much a newbie to FreeBSD as I am to sysadmin so I'm sure you'll
understand why I prefer to work within the box at this time.  The portsdb 
man page recommends running portsdb -uU after every CVSup and I feel more 
comfortable following those guidelines.  This is the first time I've ever
had a problem with INDEX so I'll treat it as an opportunity.  My INDEX file 
was last updated Apr 30 so if I understand your recommendations, I can 
CVSup again, followed by portsdb -uU and hope for a clean build, or use 
make INDEX and work with the advice provided if it fails again.  If 
that's unsucessful, run pkg_deinstall db3 since it's not required by any 
other package and try again.

I've also checked my /etc/make.conf and the only settings that are 
uncommented include CFLAGS= -O -pipe, BDECFLAGS= (whole list of stuff), 
NOPROFILE= true, WITH_FAM= yes, and WITH_LAME= yes.  Not sure what they do 
(another opportunity).

Will let you know how things work out.

BTW, I was also very glad to see my message posted finally.  Just set up mutt
and unfortunately had an ill-configured sendmail file that prevented me from
sucessfully sending mail out for over a week.  All better now, I hope.

Thanks again.

Bob Perry


I've learned that whatever hits the fan will not be evenly
distributed.

FreeBSD 4.9-RELEASE-p2 #0
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]