USB on 4.11

2007-05-11 Thread Olivier Nicole
Hi,

I am trying to enable USB on FreeBSD 4.11.

If I boot the GENERIC kernel, my USB drive is recognized.

If I boot my customized kernel, the drive is not present. 

in the customized kernel I have:

# SCSI peripherals
device  scbus   # SCSI bus (required)
device  da  # Direct Access (disks)
device  sa  # Sequential Access (tape etc)
device  pass# Passthrough device (direct SCSI access)
# USB support
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  usb # USB Bus (required)
device  umass   # Disks/Mass storage - Requires scbus and da

which seems to be enough.

usbd is enabled in rc.conf.

When I boot GENERIC and plug in the USB disk:

amandaroot47: usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x), 
(0x1166)(0x), rev 1.00
 port 1 powered
 port 2 addr 2: full speed, self powered, config 1, USB TO IDE(0x0702), Genesys 
Logic(0x05e3), rev 0.02
 port 3 powered
 port 4 powered
amandaroot48: camcontrol devlist -v
scbus0 on sym0 bus 0:
SEAGATE ST318436LW 0010  at scbus0 target 0 lun 0 (pass0,da0)
SEAGATE ST318436LW 0010  at scbus0 target 1 lun 0 (pass1,da1)
SEAGATE ST318436LW 0010  at scbus0 target 2 lun 0 (pass2,da2)
SEAGATE ST318436LW 0010  at scbus0 target 3 lun 0 (pass3,da3)
 at scbus0 target -1 lun -1 ()
scbus1 on sym1 bus 0:
TANDBERG SLR100 0402 at scbus1 target 2 lun 0 (pass4,sa0)
 at scbus1 target -1 lun -1 ()
scbus2 on umass-sim0 bus 0:
ST380011 A 0811  at scbus2 target 0 lun 0 (da4,pass5)
scbus-1 on xpt0 bus 0:
 at scbus-1 target -1 lun -1 (xpt0)


This is the boot with GENERIC (note it is 4.10)

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.10-RELEASE #0: Tue May 25 22:47:12 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254  frequency 1193182 Hz
CPU: Intel Pentium III (800.03-MHz 686-class CPU)
Origin = GenuineIntel  Id = 0x686  Stepping = 6
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 402632704 (393196K bytes)
avail memory = 386019328 (376972K bytes)
Preloaded elf kernel kernel.GENERIC at 0xc0551000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 11 entries at 0xc00f1010
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: ServerWorks NB6635 3.0LE host to PCI bridge on motherboard
pci0: PCI bus on pcib0
fxp0: Intel 82559 Pro/100 Ethernet port 0xd800-0xd83f mem 
0xfd80-0xfd8f,0xfe00-0xfe000fff irq 10 at device 2.0 on pci0
fxp0: Ethernet address 00:e0:18:0a:97:a6
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.25 port 
0xd400-0xd43f mem 0xfc80-0xfc81,0xfd00-0xfd01 irq 11 at device 
5.0 on pci0
em0:  Speed:N/A  Duplex:N/A
pci0: ATI Mach64-GR graphics accelerator at 7.0
isab0: ServerWorks IB6566 PCI to ISA bridge at device 15.0 on pci0
isa0: ISA bus on isab0
atapci0: ServerWorks ROSB4 ATA33 controller port 0xb800-0xb80f at device 15.1 
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ohci0: OHCI (generic) USB controller mem 0xfa00-0xfa000fff irq 7 at 
device 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
uhub0: device problem, disabling port 2
pcib1: ServerWorks NB6635 3.0LE host to PCI bridge on motherboard
pci1: PCI bus on pcib1
sym0: 896 port 0xb400-0xb4ff mem 0xf900-0xf9001fff,0xf980-0xf98003ff 
irq 4 at device 5.0 on pci1
sym0: Symbios NVRAM, ID 7, Fast-40, 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.
sym1: 896 port 0xb000-0xb0ff mem 0xf800-0xf8001fff,0xf880-0xf88003ff 
irq 3 at device 5.1 on pci1
sym1: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking
sym1: open drain IRQ line driver, using on-chip SRAM
sym1: using LOAD/STORE-based firmware.
sym1: handling phase mismatch from SCRIPTS.
orm0: Option ROMs at iomem 0xc-0xca7ff,0xd-0xd17ff,0xd4000-0xd7fff on 
isa0
pmtimer0 on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0

MySQL slowness in SMP

2007-05-11 Thread Abdullah Ibn Hamad Al-Marri

Hello,

I have dual xeon server with 2 GB of ram.

FreeBSD 6.2-STABLE #0: Tue Apr 24 11:32:50 GMT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/NOC  i386

Which runs heavily MySQL with MyISAM, the problem I have it maxes out
one cpu, and doesn't use the other one.

Could someone tell me what shall I do to make MySQL runs faster? it
already uses libthr, cache beside MySQL optimized, I would like to use
the power of both cpus.


last pid: 79040;  load averages:  1.00,  1.01,  1.00
   up 16+16:54:20  08:04:55
39 processes:  2 running, 37 sleeping
CPU states: 26.9% user,  0.0% nice, 23.3% system,  0.0% interrupt, 49.8% idle
Mem: 556M Active, 1154M Inact, 198M Wired, 93M Cache, 112M Buf, 3072K Free
Swap: 5120M Total, 16K Used, 5120M Free

 PID USERNAMETHR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
90293 mysql19 1000   434M   187M ucond  1 176.6H 95.95% mysqld

Is upgrading to FreeBSD 7.0 current and using ULE would make MySQL
runs in this dual xeon box?

--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cdrecord hangs system (while blanking cd)

2007-05-11 Thread Edmunds Bergs

Hi!

I was very surprised that when I`m useing cdrecord, (I`ve already tested 
that only when I`m doing some blanking)

# cdrecord dev=0,1,0 blank=all
all the system sticks, hangs, 
http://www.linuxquestions.org/questions/showthread.php?t=551487# or 
... I would say system is going into some mysterious state, like 
cdrecord swallows all resources,

so I can do nothing, only can wait for cdrecord when it ends blanking.
After cdrecord has done its work, system is back and running again as 
usual and I can run commands in shell again.

I`ve already cheked with portaudit - no problems found in installed ports,
also cdrtools which includes cdrecord is up-to-date.
I`m sure my hardware is ok (IMHO), cos no other problems are known and 
system is running good.

I`ve already tried to solve my problem and have one post here
http://www.linuxquestions.org/questions/showthread.php?t=551487
Any ideas?

I`m running FreeBSD 6.2-RELEASE
Celeron 1300.05-MHz 686-class CPU
256M RAM
cd0: SONY CD-RW  CRX230E QYS1 Removable CD-ROM SCSI-0 device

Best Regards,

--
Edmunds

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


Re: MySQL slowness in SMP

2007-05-11 Thread Abdullah Ibn Hamad Al-Marri

On 5/11/07, Martin Blapp [EMAIL PROTECTED] wrote:


Hi,

It depends on the threading  library you use. Can you please
show us the output of

ldd /usr/local/libexec/mysqld ?

You should use libthr instead of libpthread or libc_r in /etc/libmap.conf
for mysqld.

--
Martin

Martin Blapp, [EMAIL PROTECTED] [EMAIL PROTECTED]
--
ImproWare AG, UNIXSP  ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 61 826 93 00 Fax: +41 61 826 93 01
PGP: finger -l [EMAIL PROTECTED]
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
--


Here we go.

ldd /usr/local/libexec/mysqld
/usr/local/libexec/mysqld:
   libz.so.3 = /lib/libz.so.3 (0x28498000)
   libwrap.so.4 = /usr/lib/libwrap.so.4 (0x284a9000)
   libcrypt.so.3 = /lib/libcrypt.so.3 (0x284b)
   libstdc++.so.5 = /usr/lib/libstdc++.so.5 (0x284c9000)
   libm.so.4 = /lib/libm.so.4 (0x28598000)
   libpthread.so.2 = /usr/lib/libthr.so.2 (0x285ae000)
   libc.so.6 = /lib/libc.so.6 (0x285c1000)

and here is the libmap.conf

[/usr/local/libexec/mysqld]
libpthread.so.2 libthr.so.2
libpthread.so   libthr.so


--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MySQL slowness in SMP

2007-05-11 Thread Martin Blapp


Hi,


So would upgrading to FreeBSD 7.0-CURRENT would make MySQL runs faster
or it's not optimized for dual cpu yet?


Of course would upgrading to FreeBSD 7.0-CURRENT make it faster because
some bottlenecks (unix domain sockets etc, old malloc) have been removed.

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


edit files in single-user-mode, the output is all messed up

2007-05-11 Thread Gabriel Rossetti
Hello,

I have never been able to figure out how to do this, and I usually end
up copying the file to be edited to a floppy  et be able to edit it from
another machine, but there has to ba a way to do it! Everytime I go into
single-user-mode and I have to edit a file, the output to stdout is
messed up (looks like there are no \n). I tried several editors (vi, ee,
edit (ee I think),  and I get the same thing, useless to say that it's
impossible to edit the files. The only editor that works, is vim, but
it's not always installed. Does anyone know why this happens? And does
anyone know how to fix it?

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


Re: MySQL slowness in SMP

2007-05-11 Thread Martin Blapp


Hi,

Ohh, I overread that you already use libthr.

But ...


90293 mysql19 1000   434M   187M ucond  1 176.6H 95.95% mysqld


It looks like you did not turn on 'showing threads' in top, else you would
have seen that many mysqld's are running on cpu 0, other on cpu 1.

--
Martin


/usr/local/libexec/mysqld:
  libz.so.3 = /lib/libz.so.3 (0x28498000)
  libwrap.so.4 = /usr/lib/libwrap.so.4 (0x284a9000)
  libcrypt.so.3 = /lib/libcrypt.so.3 (0x284b)
  libstdc++.so.5 = /usr/lib/libstdc++.so.5 (0x284c9000)
  libm.so.4 = /lib/libm.so.4 (0x28598000)
  libpthread.so.2 = /usr/lib/libthr.so.2 (0x285ae000)
  libc.so.6 = /lib/libc.so.6 (0x285c1000)

and here is the libmap.conf

[/usr/local/libexec/mysqld]
libpthread.so.2 libthr.so.2
libpthread.so   libthr.so


--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/


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


Re: MySQL slowness in SMP

2007-05-11 Thread Abdullah Ibn Hamad Al-Marri

On 5/11/07, Martin Blapp [EMAIL PROTECTED] wrote:


Hi,

Ohh, I overread that you already use libthr.

But ...

 90293 mysql19 1000   434M   187M ucond  1 176.6H 95.95% mysqld

It looks like you did not turn on 'showing threads' in top, else you would
have seen that many mysqld's are running on cpu 0, other on cpu 1.

--
Martin


So would upgrading to FreeBSD 7.0-CURRENT would make MySQL runs faster
or it's not optimized for dual cpu yet?

--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MySQL slowness in SMP

2007-05-11 Thread Martin Blapp


Hi,

It depends on the threading  library you use. Can you please
show us the output of

ldd /usr/local/libexec/mysqld ?

You should use libthr instead of libpthread or libc_r in /etc/libmap.conf
for mysqld.

--
Martin

Martin Blapp, [EMAIL PROTECTED] [EMAIL PROTECTED]
--
ImproWare AG, UNIXSP  ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 61 826 93 00 Fax: +41 61 826 93 01
PGP: finger -l [EMAIL PROTECTED]
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
--

On Fri, 11 May 2007, Abdullah Ibn Hamad Al-Marri wrote:


Hello,

I have dual xeon server with 2 GB of ram.

FreeBSD 6.2-STABLE #0: Tue Apr 24 11:32:50 GMT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/NOC  i386

Which runs heavily MySQL with MyISAM, the problem I have it maxes out
one cpu, and doesn't use the other one.

Could someone tell me what shall I do to make MySQL runs faster? it
already uses libthr, cache beside MySQL optimized, I would like to use
the power of both cpus.


last pid: 79040;  load averages:  1.00,  1.01,  1.00
  up 16+16:54:20  08:04:55
39 processes:  2 running, 37 sleeping
CPU states: 26.9% user,  0.0% nice, 23.3% system,  0.0% interrupt, 49.8% idle
Mem: 556M Active, 1154M Inact, 198M Wired, 93M Cache, 112M Buf, 3072K Free
Swap: 5120M Total, 16K Used, 5120M Free

PID USERNAMETHR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
90293 mysql19 1000   434M   187M ucond  1 176.6H 95.95% mysqld

Is upgrading to FreeBSD 7.0 current and using ULE would make MySQL
runs in this dual xeon box?

--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: Problem updating Freebsd ver 6.2

2007-05-11 Thread Gerard Seibert
On Fri, 11 May 2007 01:45:47 -0500
WizLayer [EMAIL PROTECTED] wrote:

 I could be wrong as I haven't used portmanager in a while (and that
 was only a short time)...  I believe that by default, portmanager
 doesn't update dependencies more than a depth of 1 (maybe two?)
 unless you use the -p flag. Then it updates dependencies all the way
 back?  A quick 'man portmanager' should verify this as I don't have
 it installed anymore.

Yes, update your ports tree and then run:

portmanager -u -l -p

You can substitute the 'f' flag for the 'p' one if you want to redo the
system.


-- 
Gerard

Fortune favors the lucky.


signature.asc
Description: PGP signature


Re: MySQL slowness in SMP

2007-05-11 Thread Ivan Voras

Martin Blapp wrote:


So would upgrading to FreeBSD 7.0-CURRENT would make MySQL runs faster
or it's not optimized for dual cpu yet?


Of course would upgrading to FreeBSD 7.0-CURRENT make it faster because
some bottlenecks (unix domain sockets etc, old malloc) have been removed.


On the other hand, if it's an important database in production, you 
probably don't want to run -CURRENT on the machine.




signature.asc
Description: OpenPGP digital signature


Re: How to recompile the VIM port for GUI

2007-05-11 Thread Pietro Cerutti
Andrew Falanga wrote:
 Hi,
Hello,
 So, how do I modify the build environment properly to allow for the
 building of the GUI?  There are several variables referenced in the
 Makefile in /usr/ports/editors/vim, but I'm not sure what to make of
 them.

cd /usr/ports/editors/vim
make WITH_GTK2=yes
make install

 
 Thanks,
 Andy

-- 
Pietro Cerutti

PGP Public Key ID:
http://gahr.ch/pgp



signature.asc
Description: OpenPGP digital signature


Re: MySQL slowness in SMP

2007-05-11 Thread Gabor MICSKO
On Fri, 2007-05-11 at 11:07 +0300, Abdullah Ibn Hamad Al-Marri wrote:
 Hello,

Hi!

I had the same problem, but i found this blog entry from Jeremy Zawodny:

http://jeremy.zawodny.com/blog/archives/000173.html

After i adjusted the wait_timeout and thread_cache_size, the problem is
gone. CPU utilization dropped significantly.

HTH

 I have dual xeon server with 2 GB of ram.
 
 FreeBSD 6.2-STABLE #0: Tue Apr 24 11:32:50 GMT 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NOC  i386
 
 Which runs heavily MySQL with MyISAM, the problem I have it maxes out
 one cpu, and doesn't use the other one.
 
 Could someone tell me what shall I do to make MySQL runs faster? it
 already uses libthr, cache beside MySQL optimized, I would like to use
 the power of both cpus.

 last pid: 79040;  load averages:  1.00,  1.01,  1.00
 up 16+16:54:20  08:04:55
 39 processes:  2 running, 37 sleeping
 CPU states: 26.9% user,  0.0% nice, 23.3% system,  0.0% interrupt,
 49.8% idle
 Mem: 556M Active, 1154M Inact, 198M Wired, 93M Cache, 112M Buf, 3072K
 Free
 Swap: 5120M Total, 16K Used, 5120M Free
 
   PID USERNAMETHR PRI NICE   SIZERES STATE  C   TIME   WCPU
 COMMAND
 90293 mysql19 1000   434M   187M ucond  1 176.6H 95.95%
 mysqld

-- 
Micskó Gábor
HP APS, AIS, ASE
Szintézis Zrt.
H-9023 Győr, Tihanyi Á. u. 2.
Tel: +36 96 502 216
Fax: +36 96 318 658
E-mail: [EMAIL PROTECTED]

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


Re: Large scale NAT

2007-05-11 Thread Erik Norgaard

On Fri, 11 May 2007, Todor Dragnev wrote:


Hello list,

I have about 4000 users behind NAT. I use ipnat(ipf) on single freebsd box(
v6.2) to translate RFC1918 ip addresses to real one.

All works fine, but my CPU usage is very high and router starts to drop
packets and sometimes freeze.
I fix freezes problem with POLLING but CPU usage is still very high.

Throughput on one interface is about 200Mbit/s, but next month I will need
more speed to pass through this box and I looking  for better solution

What is the throughput limit what I can expect from FreeBSD in this
situation?

Are someone in the list have experience with large NAT tables?
It is time to switch to Cisco or something similar - any suggestions ?


There is a comparison of ip-filter and packet filter here

http://www.benzedrine.cx/pf-paper.html

Rather old now, but as I understand, pf does a better job when tables grow 
large when filtering is stateful.


Cheers, Erik

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


Large scale NAT

2007-05-11 Thread Todor Dragnev

Hello list,

I have about 4000 users behind NAT. I use ipnat(ipf) on single freebsd box(
v6.2) to translate RFC1918 ip addresses to real one.

In ipnat.conf I have:
---
map vlan0 10.X.0.0/16 - a.b.c.X/32 proxy port ftp ftp/tcp
map vlan0 10.X.0.0/16 - a.b.c.X/32 portmap tcp/udp auto
map vlan0 10.X.0.0/16 - a.b.c.X/32
---
Where X is in range from 0 to 40.

$ ipnat -s
mappedin1192241264out1082773308
added58509192expired0
no memory65394bad nat9642
inuse212292
rules1160
wilds2


$ netstat -w 1
   input(Total)   output
  packets  errs  bytespackets  errs  bytes colls
75681 0   47043801  73193 0   38853537 0
74908 0   46345012  72391 0   37946719 0

CPU: Intel(R) Core(TM)2 CPU  6300  @ 1.86GHz (1864.81-MHz 686-class
CPU)

network cards
em0: Intel(R) PRO/1000 Network Connection Version - 6.2.9
sk0: 3Com Gigabit NIC (3C2000) rev. (0x1) - Marvell Semiconductor, Inc.
Yukon

All works fine, but my CPU usage is very high and router starts to drop
packets and sometimes freeze.
I fix freezes problem with POLLING but CPU usage is still very high.

Throughput on one interface is about 200Mbit/s, but next month I will need
more speed to pass through this box and I looking  for better solution

What is the throughput limit what I can expect from FreeBSD in this
situation?

Are someone in the list have experience with large NAT tables?
It is time to switch to Cisco or something similar - any suggestions ?

Thanks,
Todor Dragnev
--
There are no answers, only cross references
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


updating 6.1 ports

2007-05-11 Thread Siju George

Hi,

Since 6.2 is released, how can one update ports on 6.1? at leasst to
the maximum possible updates that was available for 6.1 till it was
released?

Thankyou so much :-)

Kind regards

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


Confusion between latex teTeX ports

2007-05-11 Thread Vittorio
I've been happily using latex, pdflatex and context for five years now. 
Now, because a port complains for the absence of a psfonts.sty file 
which seems to be presente in the latex port I tried to install this 
port BUT
I can't make head or tail of the fact that if I try to install 
the port /usr/ports/print/latex while teTeX-base  teTeX-texmf are 
installed they conflict

stat# make install
===  Installing for 
latex2e-2003.12_1

===  latex2e-2003.12_1 conflicts with installed 
package(s):
  teTeX-base-3.0_10
  teTeX-texmf-3.0_5

  They 
install files into the same place.
  Please remove them first with 
pkg_delete(1).
*** Error code 1

Stop in /usr/ports/print/latex.

Why 
is that? I thought that latex was part of/ a subset of  the wider teTeX 
port, therefore there's no reason why they should conflict. Isn't that 
true OR  or is latex  considered a different port/code with different 
libs and executable?

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


Re: How to recompile the VIM port for GUI

2007-05-11 Thread Andrew Falanga

On 5/11/07, Pietro Cerutti [EMAIL PROTECTED] wrote:

Andrew Falanga wrote:
 Hi,
Hello,
 So, how do I modify the build environment properly to allow for the
 building of the GUI?  There are several variables referenced in the
 Makefile in /usr/ports/editors/vim, but I'm not sure what to make of
 them.

cd /usr/ports/editors/vim
make WITH_GTK2=yes
make install



Thanks, I'll give that a try tonight.

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


Re: sshd segfaults on exit when no tty allocated

2007-05-11 Thread Lowell Gilbert
Christopher Cowart [EMAIL PROTECTED] writes:

 When I ssh into FreeBSD hosts without allocating a tty, sshd segfaults
 after the process terminates. This problem occurs on both 6_1_REL and
 6_2_REL installations at all sorts of patch levels.

 Examples:

 Client: `ssh -t server ls`
 Server Logs: 
 | May  9 15:33:44 server sshd[1503]: Accepted publickey for ccowart from 
 | client port 43604 ssh2
 | May  9 15:33:45 server sshd[1505]: pam_sm_close_session(): no utmp 
 | record for ttyp5

 Client: `ssh server ls`
 Server Logs:
 | May  9 15:33:50 server sshd[1509]: Accepted publickey for ccowart from
 |   client port 42119 ssh2
 | May  9 15:33:51 server pid 1511 (sshd), uid 1225: exited on signal 11

 In either example, the client thinks the command has completed
 successfully, shows proper output, and propogates the return value from
 the remote command. The main problem is I don't like seeing a bunch of
 segfaults being logged in the daily run output.

 Our sshd_config stock, except we set `PermitRootLogin yes`.

 Does anyone know why this happens? Should I file a problem report?

I can't reproduce it on my own machines (-STABLE, a few weeks old), so
a PR probably would need a more precise reproduction scenario.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd-update and locally modfied files

2007-05-11 Thread Lowell Gilbert
Zbigniew Szalbot [EMAIL PROTECTED] writes:

 Can you help me by suggesting what I need to do when I want to use
 freebsd-update fetch (FBSD 6.2) but get the following message:

 The following files are affected by updates, but no changes have
 been downloaded because the files have been modified locally:
 /etc/rc.d/jail

 Now, I do not recall ever playing with jail. Anyway, how do I update the
 system (and keep changes to /etc/rc.d/jail (if any))?

I suggest looking at the differences, and hand-updating to the latest
version of the file if it will server for you.  Then you should be
able to take updates in the future...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: edit files in single-user-mode, the output is all messed up

2007-05-11 Thread Christian Walther

On 11/05/07, Gabriel Rossetti [EMAIL PROTECTED] wrote:

Hello,

I have never been able to figure out how to do this, and I usually end
up copying the file to be edited to a floppy  et be able to edit it from
another machine, but there has to ba a way to do it! Everytime I go into
single-user-mode and I have to edit a file, the output to stdout is
messed up (looks like there are no \n). I tried several editors (vi, ee,
edit (ee I think),  and I get the same thing, useless to say that it's
impossible to edit the files. The only editor that works, is vim, but
it's not always installed. Does anyone know why this happens? And does
anyone know how to fix it?


You could try to set a decent TERM-variable, such as

TERM=vt100
export TERM

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


Re: camcontrol

2007-05-11 Thread Lowell Gilbert
Grant Peel [EMAIL PROTECTED] writes:

 I have a disk that may be going bad, SCSI.

 How do I tell camcontrol to stop using parts of the disk that show errors?

 such as:

 (da0:ahc0:0:1:0): READ(10). CDB: 28 0 3 ab d5 c1 0 0 e 0 
 (da0:ahc0:0:1:0): MEDIUM ERROR info:3abd5c1 asc:11,1
 (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f

Please see the FAQ entry on this topic.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


STABLE + KEXI 1.1.2 (koffice 1.6.2) + KDE 3.5.6 = no sql?

2007-05-11 Thread Drew Sanford

Hello,
	I am using Kexi to track various things in my office, including time 
off. This works well because I can write queries for each employee 
showing me how much time they have requested off, etc. - however it 
appears that after a recent upgrade of all ports, which included a KDE 
update, SQL no longer works. For instance, I have a table called 
time_off that has many records in it, but even a simple query such as


SELECT * FROM time_off;

yields an empty result. Does anyone have any pointers on what it might 
take to get this working again? I have about 30 saved queries, none of 
them work any more.

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


Re: freebsd-update and locally modfied files

2007-05-11 Thread Zbigniew Szalbot

Hello,

Lowell Gilbert pisze:


Now, I do not recall ever playing with jail. Anyway, how do I update the
system (and keep changes to /etc/rc.d/jail (if any))?


I suggest looking at the differences, and hand-updating to the latest
version of the file if it will server for you.  Then you should be
able to take updates in the future...



Forgive me for asking but where do I take jail file to compare it to the 
existing one?


Thank you!

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


What happened to ethereal in the ports

2007-05-11 Thread Andrew Falanga

Hi,

I was needing to do some packet analysis this week (that's what
prompted my question earlier about tcpdump), and in doing so I went to
/usr/ports and did make search name=ethereal and was returned 4
hits.  Basically, these hits were for ethereal or ethereal-lite.  The
directory was  /usr/ports/net/ethereal.  I tried to cd to that
directory and nothing.  The directory doesn't exist.

I go to http://www.freebsd.org/ports/index.html and search for
ethereal, same thing, no hits.  Same result after searching through
http://www.freshports.org.  So, I remembered being told (from someone
here) to read /usr/ports/UPDATING for questions to be answered about
issues like this.  I went to see that file and there was nothing in it
about ethereal.  Well, that is, no hits in vim after searching for
ethereal or Ethereal.

So, long story short, what happened to it?  Why was it removed?  If it
was because there was no maintainer, that doesn't make any sense since
many of the ports I've found are marked as no maintainer.  Can I
simply download and install and expect it to work?

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


Re: edit files in single-user-mode, the output is all messed up

2007-05-11 Thread Jerry McAllister
On Fri, May 11, 2007 at 04:51:48PM +0200, Christian Walther wrote:

 On 11/05/07, Gabriel Rossetti [EMAIL PROTECTED] wrote:
 Hello,
 
 I have never been able to figure out how to do this, and I usually end
 up copying the file to be edited to a floppy  et be able to edit it from
 another machine, but there has to ba a way to do it! Everytime I go into
 single-user-mode and I have to edit a file, the output to stdout is
 messed up (looks like there are no \n). I tried several editors (vi, ee,
 edit (ee I think),  and I get the same thing, useless to say that it's
 impossible to edit the files. The only editor that works, is vim, but
 it's not always installed. Does anyone know why this happens? And does
 anyone know how to fix it?

The two main problems are making sure the editors are available
and making sure you have a terminal type that will work.

Do the following:
  fsck -p
  mount -u /
  mount -a
  swapon -a

To make sure files are available.

Then, for termtype, if you are using tcsh which is most common on FreeBSD do
  set term=vt100

or if in sh do as Christian Walther indicated

jerry


 
 You could try to set a decent TERM-variable, such as
 
 TERM=vt100
 export TERM
 
 HTH
 Christian
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: updating 6.1 ports

2007-05-11 Thread Firas Kraïem
Hi

Ports are not release-dependent. Just use the default ports-supfile and you'll 
get the most up-to-date ports tree, regardless of the release you're running.

Firas

On Friday 11 May 2007 15:31:09 Siju George wrote:
 Hi,

 Since 6.2 is released, how can one update ports on 6.1? at leasst to
 the maximum possible updates that was available for 6.1 till it was
 released?

 Thankyou so much :-)

 Kind regards

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



-- 
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments


signature.asc
Description: This is a digitally signed message part.


Re: How to recompile the VIM port for GUI

2007-05-11 Thread RW
On Fri, 11 May 2007 07:48:16 -0600
Andrew Falanga [EMAIL PROTECTED] wrote:

 On 5/11/07, Pietro Cerutti [EMAIL PROTECTED] wrote:
  Andrew Falanga wrote:
   Hi,
  Hello,
   So, how do I modify the build environment properly to allow for
   the building of the GUI?  There are several variables referenced
   in the Makefile in /usr/ports/editors/vim, but I'm not sure what
   to make of them.
 
  cd /usr/ports/editors/vim
  make WITH_GTK2=yes
  make install
 
 
 Thanks, I'll give that a try tonight.


I don't think this should be needed. Setting WITH_GTK2=yes makes it
use gtk 2.x instead of gtk 1.x. I have it working and up-to-date with
the latter. 

Check that you don't have NO_GUI or WITHOUT_X11 defined somewhere.

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


Re: What happened to ethereal in the ports

2007-05-11 Thread Eric

Andrew Falanga wrote:

Hi,

I was needing to do some packet analysis this week (that's what
prompted my question earlier about tcpdump), and in doing so I went to
/usr/ports and did make search name=ethereal and was returned 4
hits.  Basically, these hits were for ethereal or ethereal-lite.  The
directory was  /usr/ports/net/ethereal.  I tried to cd to that
directory and nothing.  The directory doesn't exist.

I go to http://www.freebsd.org/ports/index.html and search for
ethereal, same thing, no hits.  Same result after searching through
http://www.freshports.org.  So, I remembered being told (from someone
here) to read /usr/ports/UPDATING for questions to be answered about
issues like this.  I went to see that file and there was nothing in it
about ethereal.  Well, that is, no hits in vim after searching for
ethereal or Ethereal.

So, long story short, what happened to it?  Why was it removed?  If it
was because there was no maintainer, that doesn't make any sense since
many of the ports I've found are marked as no maintainer.  Can I
simply download and install and expect it to work?



Look for wireshark. i believe it was in UPDATING
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: updating 6.1 ports

2007-05-11 Thread RW
On Fri, 11 May 2007 19:01:09 +0530
Siju George [EMAIL PROTECTED] wrote:

 Hi,
 
 Since 6.2 is released, how can one update ports on 6.1? at leasst to
 the maximum possible updates that was available for 6.1 till it was
 released?

The ports tree isn't branched, so you should be able to use the most
recent. Upgrading from ports is covered in the handbook.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.2 Opera 9.2

2007-05-11 Thread Spiros Papadopoulos

Thanks for your reply

I first emptied the cache...then

i tried a #make deinstall  make reinstall clean

i still get the same exactly result...

On 10/05/07, Jonathan Horne [EMAIL PROTECTED] wrote:


On Thursday 10 May 2007 19:09:07 lveax wrote:
 On 5/11/07, Spiros Papadopoulos [EMAIL PROTECTED] wrote:
  Hi all,
 
  Trying to log in to http://mail.google.com from Opera 9.2 fails. It
seems
  like the page refreshes itself
  but in fact it fails to go forward. I don't get any error message at
all.
 
  Could it be related to encryption or anything else missing from my
  FreeBSD, which is a fresh install?
  Had anyone else have this problem?

 it's fine here.

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

i had a similar problem a few weeks back, it happened immediately after i
portupgraded to 9.2  i fixed it by doing a make deinstall, and then a new
make install clean.

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





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


Re: Problem updating Freebsd ver 6.2

2007-05-11 Thread Simon Castillo
Hi Gerard:

I tried your suggestion and I still have the same result.  It updated couple 
more files, but the error (missing library) is still there.

Any other suggestion?

Thanks in advance

Simon

Gerard Seibert [EMAIL PROTECTED] escribió: On Fri, 11 May 2007 01:45:47 -0500
WizLayer  wrote:

 I could be wrong as I haven't used portmanager in a while (and that
 was only a short time)...  I believe that by default, portmanager
 doesn't update dependencies more than a depth of 1 (maybe two?)
 unless you use the -p flag. Then it updates dependencies all the way
 back?  A quick 'man portmanager' should verify this as I don't have
 it installed anymore.

Yes, update your ports tree and then run:

 portmanager -u -l -p

You can substitute the 'f' flag for the 'p' one if you want to redo the
system.


-- 
Gerard

Fortune favors the lucky.


   
-

Llama gratis a cualquier PC del mundo.
Con una excelente calidad de sonido.
Yahoo! Messenger
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Disk problems?

2007-05-11 Thread Ted Mittelstaedt
check to see if the drive mfgr has a firmware update for your disks

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Jack Barnett
 Sent: Wednesday, May 09, 2007 1:15 AM
 To: freebsd-questions@freebsd.org
 Subject: Re: Disk problems?
 
 
 hrm... ?
 
 Doing it again:
  twa0: INFO: (0x04: 0x000B): Rebuild started: unit=0
  twa0: ERROR: (0x04: 0x003A): Drive power on reset detected: port=0
  twa0: ERROR: (0x04: 0x003A): Drive power on reset detected: port=1
  twa0: ERROR: (0x04: 0x003A): Drive power on reset detected: port=0
  twa0: ERROR: (0x04: 0x003A): Drive power on reset detected: port=1
  twa0: INFO: (0x04: 0x0005): Rebuild completed: unit=0
  twa0: ERROR: (0x04: 0x003A): Drive power on reset detected: port=0
  twa0: ERROR: (0x04: 0x0002): Degraded unit: unit=0, port=0
  twa0: ERROR: (0x04: 0x0009): Drive timeout detected: port=1
  twa0: ERROR: (0x04: 0x003A): Drive power on reset detected: port=1
  twa0: ERROR: (0x04: 0x000A): Drive error detected: unit=0, port=1
 
 now says both disks are having problems (I removed the other two disks
 and just keeping the two root drives in array unit 1):
 
 Unit UnitType  Status %RCmpl  %V/I/M  Port  Stripe  Size(GB)
 
 u0   RAID-1DEGRADED*  -   -   - -   74.4951
 u0-0 DISK  WARNING-   -   p1-   74.4951
 u0-1 DISK  DEGRADED   -   -   p0-   74.4951
 
 
 What the ?
 
 I tested both of these under WinXP and they come up fine.  No errors,
 nothing when running windows.  Under FreeBSD, it throws those errors
 above and then sets them degraded (and then the bios flags them on
 reboot) - but if I run windows, it never flags them and everything is
 fine.
 
 Another thing I noticed is that under FreeBSD the drives will starts
 clicking and making god awful noises, really loud clicking like the
 heads are jerking back and forth really fast.  Doesn't happen in
 windows, they run really quite and smooth.  Is this some sort of bad
 driver messing up my disks?  I don't know what the hell it's doing to
 my drives, but it sounds god awful... I have it booted in windows now
 and it doesn't do that.  I've never seen this before.
 
 Why does it keep clicking my drives like that and why is it throwing
 errors?  I've rebuild this array about a half dozen times already.
 
 I synced to 6.2 rel and rebuild both kernel and world, but something
 doesn't seem right :(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 On 5/7/07, Jack Barnett [EMAIL PROTECTED] wrote:
 
  I have a 3ware (AMCC) 9500S-4LP RAID card and 4 disks in 2 
 Mirror 1 arrays:
  Unit 1: 2 x 80 gigs
  Unit 2: 2 x 400 gigs
 
  Under windows this was working fine.  Both disks where 
 healthy and running (I could test this by unplugging one or the other):
 
  Under FreeBSD though, it says it's not working:
  May  7 13:57:37 fire kernel: twa0: INFO: (0x04: 0x000B): 
 Rebuild started: unit=0
  May  7 13:57:37 fire kernel: twa0: INFO: (0x04: 0x000B): 
 Rebuild started: unit=1
  May  7 13:57:48 fire kernel: twa0: ERROR: (0x04: 0x003A): Drive 
 power on reset detected: port=0
 
  The rebuild message is fine, but keeps getting Drive power on 
 reset detected: port=0
 
  In the 3ware BIOS, it shows all drives as active (ie. powered 
 on and connected), so don't know why the kernel thinks it's 
 powered down?  Does it mean something else?
 
  If I just wait for about 20 minutes, the drives start rebuilding:
 
  Unit  UnitType  Status %RCmpl  %V/I/M  Stripe  Size(GB) 
  Cache  AVrfy
  
 --
 
  u0RAID-1REBUILDING 37  -   -   74.4951  
  OFFOFF
  u1RAID-1REBUILDING 13  -   -   372.519  
  OFFOFF
 
 
  (it's in Unit one above, 37% complete).  So even though it's 
 getting this Drive power on reset detected it eventually 
 rebuilds it's self. ?
 
  Any ideas what this message means?  I thought it was an error, 
 but seems fine since it's rebuilding it's self. ?
 
  Thanks.
 
 
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Backing up Samba share to USB jump drive?

2007-05-11 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Bill Moran
 Sent: Wednesday, May 09, 2007 6:17 PM
 To: L Goodwin
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Backing up Samba share to USB jump drive?
 
 
 L Goodwin [EMAIL PROTECTED] wrote:
 
  Here's another round of dumb questions for ya:
  
  Can USB jump drives be used to back-up a Samba share?
  If so, what do I need to do to prepare the USB drive
  to accept files? 
  Since I don't really need to compress or encrypt, I
  was thinking about simply copying the entire directory
  tree using the cp command, instead of using dump, tar,
  cpio.
  Will this work, and is it a good idea?
 
 Sure.
 
  The filesystem to be backed up is a single common UFS
  shared via Samba. All PC users have access to the same
  set of files (no user-specific directories). The files
  to be backed up are Word, Excel, PDF, etc.
 
 Every jump drive I've seen comes pre-formatted as FAT-32.  The only
 problem with this is you'll lose POSIX file permissions when you copy
 the files. 


Use the tar program on the UNIX system to save your files then copy 
them over, this will preserve permissions, etc.

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


How to get best results from FreeBSD-questions

2007-05-11 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

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 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@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  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
  

The Complete FreeBSD: errata and addenda

2007-05-11 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.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


RE: cdrecord hangs system (while blanking cd)

2007-05-11 Thread Ted Mittelstaedt

It is hardware but since you've already decided it isn't, this
post is probably a waste of electrons.

But for anyone else who is actually interested in troubleshooting
and not jumping to conclusions, the problem is the drive isn't
handling the full atapi command set properly.  The drivers work
around this to some extent, but is this really a problem, after all?
The system isn't panicing or crashing, and burning a cd is a
desktop application anyhow.

You can get a different CD-RW burner (Goodwill sells them for $5 a drive
nowadays) and find that some models work like this one, some work
perfectly, and some don't work at all.


Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Edmunds Bergs
 Sent: Friday, May 11, 2007 1:07 AM
 To: freebsd-questions@freebsd.org
 Subject: cdrecord hangs system (while blanking cd)


 Hi!

 I was very surprised that when I`m useing cdrecord, (I`ve already tested
 that only when I`m doing some blanking)
 # cdrecord dev=0,1,0 blank=all
 all the system sticks, hangs,
 http://www.linuxquestions.org/questions/showthread.php?t=551487# or
 ... I would say system is going into some mysterious state, like
 cdrecord swallows all resources,
 so I can do nothing, only can wait for cdrecord when it ends blanking.
 After cdrecord has done its work, system is back and running again as
 usual and I can run commands in shell again.
 I`ve already cheked with portaudit - no problems found in installed ports,
 also cdrtools which includes cdrecord is up-to-date.
 I`m sure my hardware is ok (IMHO), cos no other problems are known and
 system is running good.
 I`ve already tried to solve my problem and have one post here
 http://www.linuxquestions.org/questions/showthread.php?t=551487
 Any ideas?

 I`m running FreeBSD 6.2-RELEASE
 Celeron 1300.05-MHz 686-class CPU
 256M RAM
 cd0: SONY CD-RW  CRX230E QYS1 Removable CD-ROM SCSI-0 device

 Best Regards,

 --
 Edmunds

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


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


RE: Stable many-port SATA controller recommendations

2007-05-11 Thread Ted Mittelstaedt



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Peter Schuller
 Sent: Thursday, May 10, 2007 2:25 PM
 To: Peter Schuller; freebsd-questions@freebsd.org
 Subject: Re: Stable many-port SATA controller recommendations
 
 
  Promise are supposed to be one of the better makes when it comes to
  documentation and open source support, 
 
 Yes, that was my impression prior to purchasing the two TX4:s.
 
  what problems are you seeing?
 
 I can easily (dd if=/dev/zero of=testfile bs=$((1024*1024)) count=500)
 trigger within a few seconds:
 
 WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=a number

please post dmesg!

Be aware that some disk drives do the wrong thing.  Western Digital desktop
disks, for example, don't simply remap a sector when they find a bad one,
they sit there scrubbing forever trying to reread the data.  WD calls this
a feature and their server-quality WD disks that cost more don't do this.
It makes use of these disks impossible in a raid array.  Seagates and
Maxtor desktop drives to my knowledge don't do this.

Ted

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


RE: Old 4.2 user, with 6.2 newbie questions

2007-05-11 Thread Ted Mittelstaedt

sendmail is much newer on 6.2, I would ask on the fetchmail mailing
list if I were you.  I've never used fetchmail myself, but I had
to make a number of changes in various scripts and such that communicated
with sendmail when I updated a server from 4x to 6x as they changed/broke
things in the newer sendmail.  (for security reasons no doubt)

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Chuck Grimes
 Sent: Thursday, May 10, 2007 9:55 PM
 To: freebsd-questions@freebsd.org
 Subject: Old 4.2 user, with 6.2 newbie questions
 
 
 
 I am in the process of moving from 4.2-RELEASE on an old box to
 6.2-RELEASE on a new box (Core 2 Duo, DG965WH mobo, GeForce 7600gs,
 1G RAM, 400G sata drive). I need to figure out a couple of userland
 changes to the default 6.2 installation which took about an hour and
 went great.
 
 I have a shell account on my isp which runs 4.10-STABLE. In my old 4.2
 box I have fetchmail set to log in, get mail and hand it over to local
 sendmail to put it in my local /var/mail/user directory on my old
 machine. I also use rsh (I know, don't) to log in to my shell
 account. I use my own sendmail to send mail out to various lists on
 the old box. I masquerade as my isp in sendmail, which puts the
 appropriate user name on my headers.
 
 Ok. In 6.2 box I've turned off local only mail (no submit.cf) and have
 sendmail maquerade working. I can send email out as a user, but I can't
 retrieve mail on my isp via fetchmail.
 
 I think ppp is configured correctly because I can telnet just fine to
 my shell account, but I can't rsh. It hangs after the password has
 been sent (yes you are not supposed to need a password with rlogin,
 but my isp uses one anyway for minium security). 
 
 If I am root and switch during rsh/rlogin login to my username, I can
 get a little further along. I get the first few system announcements
 on the shell server, and then the terminal hangs. I have to kill the
 rlogin PID to get back the ttyN terminal.
 
 There also seems to be buffer overflows or conflicts between the mouse
 (on a usb port, usm0), 56k modem (PCI, sio0 remapped to sio4?), and
 printer (lpt0). In ppp, I use /dev/cuad4, despite the fact the modem
 is reported in dmesg as on sio0. Whatever is going on at some lower
 layer, all these devices work with random messages about stray
 irq's---so I am ignoring them at the moment. In other words, I can use
 dial-up, the mouse works, and the printer prints (via lp). Seems good
 enough for the moment.
 
 There have obviously been changes to the 6.2 base install that I don't
 know about that probably account for some of these problems. 
 Unfortunately,
 most of these issues are no covered in the manuals that came with 
 the CDs, or
 the coverage was out of date
 
 Suggestions on where to look, things to check and change would be
 greatly appreciated. At the moment I am more interested in getting
 correct behavior, than I am concerned with security. 
 
 My first priority is getting fetchmail running. Here is the
 fetchmailrc dot file:
 
 defaults proto pop3 
 user mailname 
 poll my.isp.com 
 pass x 
 set daemon 840 
 
 As user, I can run fetchmail at the command line, without an error
 message, but it also doesn't get and deliver any mail. I can send
 email to myself, but I am sure it never leaves the machine. The
 [EMAIL PROTECTED] is correct---so sendmail masquerade is working. For
 example, sendmail does not write: [EMAIL PROTECTED], as it
 would without masquerade.
 
 I changed the permissions on sendmail back to:
 
 $ ll -r-sr-xr-x  1 root  wheel 583680 Jan 11 23:42  sendmail
 
 from 6.2 default:
 
 $ ll -rwsr-xr-x  1 root  wheel 583680 Jan 11 23:42  sendmail
 
 I've tried it both ways and niether seems to make any difference.
 
 My general impression is that 6.2 has set up restrictions or modified
 rsh and fetcmail---or perhaps these are fine, but don't interact well
 with older verisons, i.e 4.10. Although I can ftp to my shell
 and down load files. 
 
 Also I updated the ports via ftp as root, and everything took forever,
 but seems to work fine. For example I use Magicfilter which was not in
 the cd's, so from ports/printer, I downloaded Magicfilter, compiled
 and installed it and it works fine as a postscript filter for lpr. 
 
 I know these are quite a few questions, but any suggestions on any of
 them would be much appreciated.
 
 CG
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


nxserver failing connection: NX 504 Session startup failed

2007-05-11 Thread WarrenHead

Hi list,

I have installed the nxserver (nx-0.33) from /usr/ports/devel/nx. 
(FreeBSD 6.2)


When I connect to it, it authenticates me succesfully. After that I get 
the following output:


NX 203 NXSSH running with pid: 7457
NX 285 Enabling check on switch command
NX 285 Enabling skip of SSH config files
NX 285 Setting the preferred NX options
NX 200 Connected to address: 192.168.179.12 on port: 22
NX 202 Authenticating user: nx
NX 208 Using auth method: publickey
HELLO NXSERVER - Version 1.4.0-44 OS (GPL)
NX 105 hello NXCLIENT - Version 1.4.0
NX 134 Accepted protocol: 1.4.0
NX 105 SET SHELL_MODE SHELL
NX 105 SET AUTH_MODE PASSWORD
NX 105 login
NX 101 User: warren
NX 102 Password:
NX 103 Welcome to: celeron2.lan user: warren
NX 105 listsession --user=warren --status=suspended,running 
--geometry=1280x1024x24+render --type=unix-default

NX 127 Sessions list of user 'warren' for reconnect:

Display Type Session ID   Options  Depth 
Screen Status  Session Name
---    - 
-- --- --



NX 148 Server capacity: not reached for user: warren
NX 105 startsession  --virtualdesktop=1 --link=lan 
--backingstore=1 --nodelay=1 --cache=8M --images=32M --media=0 
--session=toceleron2 --type=unix-default --cookie=** 
--geometry=1280x972 --kbtype=pc102/us --screeninfo=1280x972x24+render


NX 1000 NXNODE - Version 1.4.0-44 OS (GPL)
NX 700 Session id: celeron2.lan-1002-AF0824959F6914DA1141223C78B2AD40
NX 705 Session display: 1002
NX 703 Session type: unix-default
NX 701 Proxy cookie: 9adede47aa8d7e60301d092144e56ef3
NX 702 Proxy IP: 192.168.179.11
NX 706 Agent cookie: d40bc85822ba6778760cad69c2662cad
NX 704 Session cache: unix-default
NX 707 SSL tunneling: 0
/usr/X11R6/NX/bin/nxserver: line 1041: 16455 Terminated: 15  ( 
sleep $AGENT_STARTUP_TIMEOUT; exit 1 )

NX 504 Session startup failed.
NX 1004 Error: nxagent failed to start with: Unrecognized option: 1
NX 105 Killed by signal 15.

I am not sure whether it is complaining about a 1 coming from somewhere, 
 or that the 1 is simply the exit 1 variable.

In other words, I don't know how to continue.

By the way, I tried from 2 clients (ubuntu and windows) which both gave 
the same result, so I guess it is not simply the client's fault.


Any ideas?

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


Re: Qemu Network with two virtual boxes

2007-05-11 Thread P.U.Kruppa

On Thu, 10 May 2007, Toni Schmidbauer wrote:


At Sat, 5 May 2007 08:21:47 +0200 (CEST),
P.U.Kruppa wrote:

___ _|_
Real LAN |---|  192.168.10.1 |
---|   FreeBSD 6.2 |
   || ||
   |  __|_____|__  |
   | | 192.168.10.5|  | 192.168.10.6 | |
   | |   Win2k on  |  |  FreeBSD on  | |
   | | Qemu|  | Qemu | |
   |  ---  |
---

My real LAN uses 192.168.10.1 as gateway to the Internet.

For now I can only connect one of the two virtual boxes to my real
network, but not both. This is how I do it:

# kldload aio kqemu if_tap bridge
# sysctl net.link.ether.bridge_cfg=rl0,tap0
# sysctl net.link.ether.bridge.enable=1
# qemu-system-x86_64 -hda Win2k.img -m 512 -localtime \
  -net tap -net nic

When now I try to connect the second virtual box, it will steal the
first box's network connection.


i think you need two seperate tap interfaces:

qemu -hda Win2k.img ... -net tap,ifname=tap0

and

qemu -hda freebsd.img ... -net tap,ifname=tap1

but i'm not sure about the bridge configuration. my guess is you need
two seperate clusters (see bridge(4))

sysctl net.link.ether.bridge_cfg=rl0:1,tap0:1,rl0:2,tap1:2

No success yet :(
Only one of the two machines will be connected correctly.

Thanks anyway,

Uli.



toni
--
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|





Peter Ulrich Kruppa
Wuppertal
Germany

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


Re: How to recompile the VIM port for GUI

2007-05-11 Thread Andrew Falanga

On 5/11/07, RW [EMAIL PROTECTED] wrote:

On Fri, 11 May 2007 07:48:16 -0600
Andrew Falanga [EMAIL PROTECTED] wrote:

 On 5/11/07, Pietro Cerutti [EMAIL PROTECTED] wrote:
  Andrew Falanga wrote:
   Hi,
  Hello,
   So, how do I modify the build environment properly to allow for
   the building of the GUI?  There are several variables referenced
   in the Makefile in /usr/ports/editors/vim, but I'm not sure what
   to make of them.
 
  cd /usr/ports/editors/vim
  make WITH_GTK2=yes
  make install
 

 Thanks, I'll give that a try tonight.


I don't think this should be needed. Setting WITH_GTK2=yes makes it
use gtk 2.x instead of gtk 1.x. I have it working and up-to-date with
the latter.

Check that you don't have NO_GUI or WITHOUT_X11 defined somewhere.


I saw both of those in the make file.  Would I want to do the same
thing as was suggested above, but with those variables; e.g. make
NO_GUI=no?

It's for this reason that I asked about this here.  Where would they
be defined?  All I did, if I recall, was install the vim port from
using sysinstall when I originally installed FreeBSD.  After that, I
installed cvsup-without-gui, updated my ports tree and then used
portupgrade to upgrade the vim port (after installing portupgrade of
course).  I didn't actually define NO_GUI or WITHOUT_X11 anywhere when
I originally did the install, and when I had originally installed the
vim port it did work with the GUI.

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


Further questions on making wireshark work

2007-05-11 Thread Andrew Falanga

Hi,

Many thanks to Eric for pointing me in the correct direction with
Wireshark and Ethereal.  Interestingly, I couldn't find the directory
(or the port) for wireshark on my system but did find the references
to it on www.freshports.org.  So, I downloaded the pre-compiled
package for wireshark from freebsd.org and installed wireshark that
way.

Now, when I try to start the program, I get the following error message:

/libexec/ld-elf.so.1: Shared object libnetsnmp.so.10 not found,
required by wireshark

I know that this error is coming from the linker.  However, I'm not
sure how to fix it because I checked and the net-snmp port is loaded
on my system.  How do I get this shared object so that I can use
wireshark?

By the way, I didn't do a force install even if some dependencies are
absent.  I simply did pkg_add wireshare-xxx.  I actually had to
install a few extra packages that were lacking on my system for the
pkg_add to work.

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


Why crontab is not able to run some commands ?

2007-05-11 Thread Halid Faith

I have a script. As I am a root user,  I can run it without a problem. I
added that script to crontab in order to run as automatic.
I entered in /etc/crontab and put down as below;
*/20 *   *   *   *   root/etc/scriptfile

Despite root user, the crontab could not run above file. But I can run the
same script in command line interface.
I am sure tha the crontab daemon is running. Also I can see the crontab try
to run that script in /var/log/cron.
/usr/sbin/cron[98727]: (root) CMD (/etc/scriptfile)
When I am a different user, I couldn't run the script and I got access
denied
What is the problem ?

Thanks

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


Re: Further questions on making wireshark work

2007-05-11 Thread Duane Hill

On Fri, 11 May 2007, Andrew Falanga wrote:


Hi,

Many thanks to Eric for pointing me in the correct direction with
Wireshark and Ethereal.  Interestingly, I couldn't find the directory
(or the port) for wireshark on my system but did find the references
to it on www.freshports.org.  So, I downloaded the pre-compiled
package for wireshark from freebsd.org and installed wireshark that
way.

Now, when I try to start the program, I get the following error message:

/libexec/ld-elf.so.1: Shared object libnetsnmp.so.10 not found,
required by wireshark

I know that this error is coming from the linker.  However, I'm not
sure how to fix it because I checked and the net-snmp port is loaded
on my system.  How do I get this shared object so that I can use
wireshark?

By the way, I didn't do a force install even if some dependencies are
absent.  I simply did pkg_add wireshare-xxx.  I actually had to
install a few extra packages that were lacking on my system for the
pkg_add to work.


I can't offer feedback on any of the questions. However, I see wireshark 
in the ports tree here:


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


Re: Why crontab is not able to run some commands ?

2007-05-11 Thread Duane Hill

On Fri, 11 May 2007, Halid Faith wrote:



I have a script. As I am a root user,  I can run it without a problem. I
added that script to crontab in order to run as automatic.
I entered in /etc/crontab and put down as below;
*/20 *   *   *   *   root/etc/scriptfile

Despite root user, the crontab could not run above file. But I can run the
same script in command line interface.
I am sure tha the crontab daemon is running. Also I can see the crontab try
to run that script in /var/log/cron.
/usr/sbin/cron[98727]: (root) CMD (/etc/scriptfile)
When I am a different user, I couldn't run the script and I got access
denied
What is the problem ?


Were you either logged in as root or su'd to root when you ran the script? 
If so, why not just install the cron as root by:


% crontab -u root -e

The only change to your cron line you would have to make is to drop the 
username 'root'. So it would look like:


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


jumpstart install fbsd6.2

2007-05-11 Thread Vallard Benincosa

Hello,
I'm pretty new to FreeBSD coming from a Linux background.  I've read
some of the docs including this one:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pxe/article.html

I'm just curious, is this what most people use to network install
FreeBSD?  I haven't seen a lot of sample install.cfg files...  Maybe
I'm just not looking in the right places.  Thanks for  any pointers.

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


Re: Why crontab is not able to run some commands ?

2007-05-11 Thread Paul Schmehl
--On Friday, May 11, 2007 21:53:24 +0300 Halid Faith [EMAIL PROTECTED] 
wrote:




I have a script. As I am a root user,  I can run it without a problem. I
added that script to crontab in order to run as automatic.
I entered in /etc/crontab and put down as below;
*/20 *   *   *   *   root/etc/scriptfile


Try running this from the commandline:

root /etc/scriptfile

Bet it doesn't work.  :-)

Then try running this in your cron job:
/bin/sh /etc/scriptfile

Bet it does work.  :-)

--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Further questions on making wireshark work

2007-05-11 Thread Andrew Falanga


I can't offer feedback on any of the questions. However, I see wireshark
in the ports tree here:

   /usr/ports/net/wireshark


Yes, that's where it's supposed to be.  It's a real curiosity that I
don't have it even after doing a cvsup.

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


Re: Further questions on making wireshark work

2007-05-11 Thread Duane Hill

On Fri, 11 May 2007, Andrew Falanga wrote:



I can't offer feedback on any of the questions. However, I see wireshark
in the ports tree here:

   /usr/ports/net/wireshark


Yes, that's where it's supposed to be.  It's a real curiosity that I
don't have it even after doing a cvsup.


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


Re: Why crontab is not able to run some commands ?

2007-05-11 Thread Duane Hill

On Fri, 11 May 2007, Paul Schmehl wrote:



Then try running this in your cron job:
/bin/sh /etc/scriptfile

Bet it does work.  :-)


Yes, but if the OP has:

#!/bin/sh

as the first line, the file owned by root and the executable flag for user 
set, shouldn't it execute from cron as just:


/etc/scriptfile

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


Re: Why crontab is not able to run some commands ?

2007-05-11 Thread Paul Schmehl
--On Friday, May 11, 2007 19:45:22 + Duane Hill 
[EMAIL PROTECTED] wrote:



On Fri, 11 May 2007, Paul Schmehl wrote:



Then try running this in your cron job:
/bin/sh /etc/scriptfile

Bet it does work.  :-)


Yes, but if the OP has:

# !/bin/sh

as the first line, the file owned by root and the executable flag for
user set, shouldn't it execute from cron as just:

/etc/scriptfile

??

Yes, but I always like cron jobs to specifically call absolute path to the 
binary of choice.  That way someone couldn't substitute a different binary 
by altering the path and force a cron job to do something unexpected.


--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Why crontab is not able to run some commands ?

2007-05-11 Thread James Anderson

On 5/11/07, Halid Faith [EMAIL PROTECTED] wrote:


I have a script. As I am a root user,  I can run it without a problem. I
added that script to crontab in order to run as automatic.
I entered in /etc/crontab and put down as below;
*/20 *   *   *   *   root/etc/scriptfile

Despite root user, the crontab could not run above file. But I can run the
same script in command line interface.


Which command are you using to run the script on the command line?
Are you just typing out /etc/scriptfile into the shell prompt, or are
you running sh /etc/scriptfile or running it via some other
interpreter?


I am sure tha the crontab daemon is running. Also I can see the crontab try
to run that script in /var/log/cron.
/usr/sbin/cron[98727]: (root) CMD (/etc/scriptfile)


Which indication do you have that cron ISN'T running the script?


When I am a different user, I couldn't run the script and I got access
denied
What is the problem ?


Which file permission does /etc/scriptfile have? (ls -l /etc/scriptfile)

Maybe the other user doesn't have read and/or execute permission?

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


Re: Why crontab is not able to run some commands ?

2007-05-11 Thread Duane Hill

On Fri, 11 May 2007, Paul Schmehl wrote:

--On Friday, May 11, 2007 19:45:22 + Duane Hill [EMAIL PROTECTED] 
wrote:



On Fri, 11 May 2007, Paul Schmehl wrote:



Then try running this in your cron job:
/bin/sh /etc/scriptfile

Bet it does work.  :-)


Yes, but if the OP has:

# !/bin/sh

as the first line, the file owned by root and the executable flag for
user set, shouldn't it execute from cron as just:

/etc/scriptfile

??

Yes, but I always like cron jobs to specifically call absolute path to the 
binary of choice.  That way someone couldn't substitute a different binary by 
altering the path and force a cron job to do something unexpected.


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


Re: How to recompile the VIM port for GUI

2007-05-11 Thread RW
On Fri, 11 May 2007 13:01:39 -0600
Andrew Falanga [EMAIL PROTECTED] wrote:

 On 5/11/07, RW [EMAIL PROTECTED] wrote:
  On Fri, 11 May 2007 07:48:16 -0600
  Andrew Falanga [EMAIL PROTECTED] wrote:
 
   On 5/11/07, Pietro Cerutti [EMAIL PROTECTED] wrote:
Andrew Falanga wrote:
 Hi,
Hello,
 So, how do I modify the build environment properly to allow
 for the building of the GUI?  There are several variables
 referenced in the Makefile in /usr/ports/editors/vim, but I'm
 not sure what to make of them.
   
cd /usr/ports/editors/vim
make WITH_GTK2=yes
make install
   
  
   Thanks, I'll give that a try tonight.
 
 
  I don't think this should be needed. Setting WITH_GTK2=yes makes it
  use gtk 2.x instead of gtk 1.x. I have it working and up-to-date
  with the latter.
 
  Check that you don't have NO_GUI or WITHOUT_X11 defined somewhere.
 
 I saw both of those in the make file.  Would I want to do the same
 thing as was suggested above, but with those variables; e.g. make
 NO_GUI=no?

Don't do that. 

I'm wondering if this is due to the prefix change. Look at the output
of:

   pkg_info -px ^gtk-

If you don't see 

CWD to /usr/local

for your GTK ports, you'll need the rebuild some stuff:

  pkgdb -Ff
  portupgrade -rf pkg-config\*

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


Re: STABLE + KEXI 1.1.2 (koffice 1.6.2) + KDE 3.5.6 = no sql?

2007-05-11 Thread Bram Schoenmakers
Op vrijdag 11 mei 2007, schreef Drew Sanford:

Hi,

   I am using Kexi to track various things in my office, including time
 off. This works well because I can write queries for each employee
 showing me how much time they have requested off, etc. - however it
 appears that after a recent upgrade of all ports, which included a KDE
 update, SQL no longer works. For instance, I have a table called
 time_off that has many records in it, but even a simple query such as

 SELECT * FROM time_off;

 yields an empty result. Does anyone have any pointers on what it might
 take to get this working again? I have about 30 saved queries, none of
 them work any more.

What kind of database? Native (SQLite), MySQL, Postgres?

Kind regards,

-- 
Bram Schoenmakers

You can contact me directly with Yahoo Instant Messenger with
bramschoenmakers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem updating Freebsd ver 6.2

2007-05-11 Thread WizLayer
On Friday 11 May 2007 11:23:11 am Simon Castillo wrote:
 Hi Gerard:

 I tried your suggestion and I still have the same result.  It updated
 couple more files, but the error (missing library) is still there.

 Any other suggestion?

 Thanks in advance

 Simon

 Gerard Seibert [EMAIL PROTECTED] escribió: On Fri, 11 May 2007
 01:45:47 -0500

 WizLayer  wrote:
  I could be wrong as I haven't used portmanager in a while (and that
  was only a short time)...  I believe that by default, portmanager
  doesn't update dependencies more than a depth of 1 (maybe two?)
  unless you use the -p flag. Then it updates dependencies all the way
  back?  A quick 'man portmanager' should verify this as I don't have
  it installed anymore.

 Yes, update your ports tree and then run:

  portmanager -u -l -p

 You can substitute the 'f' flag for the 'p' one if you want to redo the
 system.

Top posting is generally considered rude, just so you know...

Any rate, your next option is to locate the missing library, figure out where 
your app thinks the library should be, and then ln to it so that your app 
sees the link...

Any particular reason you're using portmanager (I haven't used it recently, 
but have had bad experiences with it in the past.  I'm one of those who 
prefer portupgrade).  Of course, I'm not saying this is a fault with 
portmanager.  I honestly don't know.  I was just wondering why you were using 
it (ie maybe it's been matured enough that I should check it out again).

Don't know what else to tell you.

WizLayer

-- 


Life is better with a BSD.
For more info, www.bsd.org.



pgpajYes9Yvec.pgp
Description: PGP signature


Re: Problem updating Freebsd ver 6.2

2007-05-11 Thread youshi10




On Fri, 11 May 2007, Simon Castillo wrote:


Hi Garret:

Freebsd ver 6.2
   Samba:  from ver 3.0.23 to 3.0.24
   gdm: From ver 2.16 to 2.18

Thanks

Simon

Garrett Cooper [EMAIL PROTECTED] escribió: Simon Castillo wrote:

Hi all:

   I installed Freebsd ver 6.2 couple months ago in a Pentium III computer.  I 
configured samba, gnome and couple other applications.

Couple days ago I decided to update the ports.  For this I use portmanager -u 
-l (after updating the port list).

After the update, I starting having problems with my samba server and my gnome 
is no working anymore.  After digging in the logs and found this error that 
seems to be the root cause:

/libexec/ld-elf.so.1: Shared object libgnutls.so.13 not found, required by 
libcups.so.2

I started reading the blogs and mailing looking for a solution.  So far what I 
tried was:
- Update gnutils (based on http://wiki.archlinux.org/index.php/CUPS_Setup)
- Uninstall and reinstall gnutils
- Update ghostscript
- Remove ghostscript-gnu and keep just gpl version (one of the blogs says 
that this is the latest one)
- Uninstall cups
- Reinstall cups
- Reinstall samba
- Re-run portmanager update

Up to know, I was unable to kill this error and, in consequence, my samba 
server is not working.

Does anybody could help me to fix this problem? I don't know what else to do.

Thanks in advance

Simon


What version did you upgrade from?
-Garrett


Nothing special there that I can see, so I don't think that the problem is 
version related, but probably because portmaster doesn't go more than 1 leaf, 
as the other replying person said.

-Garrett

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


Re: Problem updating Freebsd ver 6.2

2007-05-11 Thread Gerard Seibert
On Fri, 11 May 2007 11:23:11 -0500 (CDT)
Simon Castillo [EMAIL PROTECTED] wrote:

 I tried your suggestion and I still have the same result.  It updated
 couple more files, but the error (missing library) is still there.

Assuming your ports tree is up to date, try running:

pkgdb -Ffv

See if that does anything unusual.


-- 
Gerard

She won' go Warp 7, Cap'n!  The batteries are dead!


signature.asc
Description: PGP signature


Re: Problem updating Freebsd ver 6.2

2007-05-11 Thread Simon Castillo
Hi WizLayer:

Nope, no particular reason to use portmanager.  I guess I'll one more that 
suffer a bad experience.  I don't see any other solution than re-install every 
thing again.

Thanks 

Simon

WizLayer [EMAIL PROTECTED] escribió: On Friday 11 May 2007 11:23:11 am Simon 
Castillo wrote:
 Hi Gerard:

 I tried your suggestion and I still have the same result.  It updated
 couple more files, but the error (missing library) is still there.

 Any other suggestion?

 Thanks in advance

 Simon

 Gerard Seibert  escribió: On Fri, 11 May 2007
 01:45:47 -0500

 WizLayer  wrote:
  I could be wrong as I haven't used portmanager in a while (and that
  was only a short time)...  I believe that by default, portmanager
  doesn't update dependencies more than a depth of 1 (maybe two?)
  unless you use the -p flag. Then it updates dependencies all the way
  back?  A quick 'man portmanager' should verify this as I don't have
  it installed anymore.

 Yes, update your ports tree and then run:

  portmanager -u -l -p

 You can substitute the 'f' flag for the 'p' one if you want to redo the
 system.

Top posting is generally considered rude, just so you know...

Any rate, your next option is to locate the missing library, figure out where 
your app thinks the library should be, and then ln to it so that your app 
sees the link...

Any particular reason you're using portmanager (I haven't used it recently, 
but have had bad experiences with it in the past.  I'm one of those who 
prefer portupgrade).  Of course, I'm not saying this is a fault with 
portmanager.  I honestly don't know.  I was just wondering why you were using 
it (ie maybe it's been matured enough that I should check it out again).

Don't know what else to tell you.

WizLayer

-- 


Life is better with a BSD.
For more info, www.bsd.org.



   
-

¿Quieres asombrarte?
Conoce el nuevo Correo Yahoo! beta
 que incluye muchas herramientas que harán tu vida más sencilla.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Further questions on making wireshark work

2007-05-11 Thread WizLayer
On Friday 11 May 2007 02:06:32 pm Andrew Falanga wrote:
 Hi,

 Many thanks to Eric for pointing me in the correct direction with
 Wireshark and Ethereal.  Interestingly, I couldn't find the directory
 (or the port) for wireshark on my system but did find the references
 to it on www.freshports.org.  So, I downloaded the pre-compiled
 package for wireshark from freebsd.org and installed wireshark that
 way.

 Now, when I try to start the program, I get the following error message:

 /libexec/ld-elf.so.1: Shared object libnetsnmp.so.10 not found,
 required by wireshark

 I know that this error is coming from the linker.  However, I'm not
 sure how to fix it because I checked and the net-snmp port is loaded
 on my system.  How do I get this shared object so that I can use
 wireshark?

 By the way, I didn't do a force install even if some dependencies are
 absent.  I simply did pkg_add wireshare-xxx.  I actually had to
 install a few extra packages that were lacking on my system for the
 pkg_add to work.

 Thanks,
 andy

Try cvsuping your ports tree if wireshark isn't located at:

/usr/ports/net/wireshark

I would try that before anything else.  Thats because trying to deal with 
packages after I've updated everything else usually turns out to be far more 
keystrokes than 'make install clean'.  :)

HTH.

WizLayer


-- 


Life is better with a BSD.
For more info, www.bsd.org.



pgpfVd5ZjmTCb.pgp
Description: PGP signature


Re: sshd segfaults on exit when no tty allocated

2007-05-11 Thread Christopher Cowart
On Fri, May 11, 2007 at 10:59:19AM -0400, Lowell Gilbert wrote:
 Christopher Cowart [EMAIL PROTECTED] writes:
  When I ssh into FreeBSD hosts without allocating a tty, sshd segfaults
  after the process terminates. This problem occurs on both 6_1_REL and
  6_2_REL installations at all sorts of patch levels.
 
  Examples:
 
  Client: `ssh -t server ls`
  Server Logs: 
  | May  9 15:33:44 server sshd[1503]: Accepted publickey for ccowart from 
  | client port 43604 ssh2
  | May  9 15:33:45 server sshd[1505]: pam_sm_close_session(): no utmp 
  | record for ttyp5
 
  Client: `ssh server ls`
  Server Logs:
  | May  9 15:33:50 server sshd[1509]: Accepted publickey for ccowart from
  |   client port 42119 ssh2
  | May  9 15:33:51 server pid 1511 (sshd), uid 1225: exited on signal 11
 
  In either example, the client thinks the command has completed
  successfully, shows proper output, and propogates the return value from
  the remote command. The main problem is I don't like seeing a bunch of
  segfaults being logged in the daily run output.
 
  Our sshd_config stock, except we set `PermitRootLogin yes`.
 
  Does anyone know why this happens? Should I file a problem report?
 
 I can't reproduce it on my own machines (-STABLE, a few weeks old), so
 a PR probably would need a more precise reproduction scenario.

Thanks for the sanity check. I went back and did some more thourough
troubleshooting. I am currently using pam_ldap and pam_require from
ports. I went through my pam configuration, set everything to
pam_permit, and the segfaults went away.

Uncommenting one rule at a time in my pam stack, I discovered the
culprit: pam_lastlog

The session section of my system pam configuration looks like this:

| # session
| session requiredpam_lastlog.so  no_fail debug
| session optional/usr/local/lib/pam_ldap.so no_warn

When I comment out the pam_lastlog, the segfaults vanish. Should I file
a PR with this new information?

Thanks,

-- 
Chris Cowart
Lead Systems Administrator
Network Infrastructure, RSSP-IT
UC Berkeley


signature.asc
Description: Digital signature


Re: Problem updating Freebsd ver 6.2

2007-05-11 Thread WizLayer
On Friday 11 May 2007 04:00:15 pm you wrote:

 WizLayer [EMAIL PROTECTED] escribió: On Friday 11 May 2007 11:23:11 am 
Simon Castillo wrote:

 
  Gerard Seibert  escribió: On Fri, 11 May 2007
  01:45:47 -0500
 
  WizLayer  wrote:
   I could be wrong as I haven't used portmanager in a while (and that
   was only a short time)...  I believe that by default, portmanager
   doesn't update dependencies more than a depth of 1 (maybe two?)
   unless you use the -p flag. Then it updates dependencies all the way
   back?  A quick 'man portmanager' should verify this as I don't have
   it installed anymore.
 
  Yes, update your ports tree and then run:
 
   portmanager -u -l -p
 
  You can substitute the 'f' flag for the 'p' one if you want to redo the
  system.
  
  Hi Gerard:
 
  I tried your suggestion and I still have the same result.  It updated
  couple more files, but the error (missing library) is still there.
 
  Any other suggestion?
 
  Thanks in advance
 
  Simon

 Top posting is generally considered rude, just so you know...

 Any rate, your next option is to locate the missing library, figure out
 where your app thinks the library should be, and then ln to it so that your
 app sees the link...

 Any particular reason you're using portmanager (I haven't used it recently,
 but have had bad experiences with it in the past.  I'm one of those who
 prefer portupgrade).  Of course, I'm not saying this is a fault with
 portmanager.  I honestly don't know.  I was just wondering why you were
 using it (ie maybe it's been matured enough that I should check it out
 again).

 Don't know what else to tell you.

 WizLayer
 Hi WizLayer:

 Nope, no particular reason to use portmanager.  I guess I'll one more that
 suffer a bad experience.  I don't see any other solution than re-install
 every thing again.

 Thanks

 Simon

reinstalling everything isn't necessarily a bad thing.  I do it on a regular 
basis on my experiment boxes...  Or are you talking about the whole OS?  That 
would be a bit extreme, I think.

I'm using 6.2s right now and am not having any problems with it at all, and I 
cvsup and portupgrade fairly regular.  Before depopulating pkgdb, try 
installing the portupgrade port, then cvsup, refetch the index file, and run 
your portupgrade -a.  You can list the ports that need upgrading by using 
the 'portversion | grep  | more' command.  portupgrade will  _only install 
those listed if you tell it to 'portupgrade -aRrv'   

If the problem still exists, and linking the file doesn't work, then mayhaps a 
reinstall of all the ports is necessary (I just don't see how unless you've 
specifically done something in your build options that put a ripple in the 
carpet).

WizLayer

-- 


Life is better with a BSD.
For more info, www.bsd.org.



pgpxQTxTVc3xX.pgp
Description: PGP signature


ppp dhcp

2007-05-11 Thread Mulga
Hi,
I have a very brain dead and full of them self ISP who insist on having a 
misconfigured dhcp server.

One essential peice of infomation is missing from the ppp transaction HISADDR 
the GW .

As ppp handles the dhcp side of things internally, would anyone like to suggest 
a way of getting the server to reveal its address.

To date I have tried running dhclient after the linkup, telling the ISP he had 
a small inconsistancy, and got a ear full of abuse for that.

As this provider Telstra AU is the only provider of this service I can't 
change. So I need to work around there problem.

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


temp

2007-05-11 Thread Jack Barnett

Is there any program that'll monitor the temperate of my motherboard?

There are some windows program that'll give me status on my fans, CPU
temps, motherboard temps, etc - is there anything like that in the
ports collection?

(basically I think my CPUs are overheating in one server)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ppp dhcp

2007-05-11 Thread WizLayer
On Friday 11 May 2007 05:53:18 pm Mulga wrote:
 Hi,
 I have a very brain dead and full of them self ISP who insist on having a
 misconfigured dhcp server.

 One essential peice of infomation is missing from the ppp transaction
 HISADDR the GW .

 As ppp handles the dhcp side of things internally, would anyone like to
 suggest a way of getting the server to reveal its address.

 To date I have tried running dhclient after the linkup, telling the ISP he
 had a small inconsistancy, and got a ear full of abuse for that.

 As this provider Telstra AU is the only provider of this service I can't
 change. So I need to work around there problem.

 Regards John

I'm not sure what you are getting at.  Are you saying that the HISADDR in ppp 
doesn't work because of your ISPs configuration?  Or are you saying that 
you're looking for your ISPs specifics for setup purposes?

You could try a tcpdump on your if while connecting (or trying to connect).  
That should give you an idea of whats going on.  whois, arpinfo...?

HTH

WizLayer  

-- 


Life is better with a BSD.
For more info, www.bsd.org.



pgph4jQCSnbAG.pgp
Description: PGP signature


Re: temp

2007-05-11 Thread WizLayer
On Friday 11 May 2007 06:12:26 pm Jack Barnett wrote:
 Is there any program that'll monitor the temperate of my motherboard?

 There are some windows program that'll give me status on my fans, CPU
 temps, motherboard temps, etc - is there anything like that in the
 ports collection?

 (basically I think my CPUs are overheating in one server)

meaning something like /sysutils/healthd ?

-- 


Life is better with a BSD.
For more info, www.bsd.org.



pgpGGBo5QpuX6.pgp
Description: PGP signature


Any FBSD Filesystem with Mandatory Locks?

2007-05-11 Thread Philippe Laquet


Dear All,

I a trying to get HAVP (it works almost well, great software!) but I 
also need to use the streaming option and it needs a FS mounted with 
mandatory locks. I did not found any option with UFS(2) and also tried 
with ext2fs loaded but the mount_ext2fs does not support -o mand ... 
Any idea?...



My config : FBSD 6-STABLE
GENERIC Kernel
HAVP 0.85 (tuned makefile to compile the with STREAM function)

Tried with :
mdconfig -a -t malloc -s32m
mount_ext2fs -o mand /dev/md0 /tmp/havp (the mand option is not 
recognized)


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


Re: STABLE + KEXI 1.1.2 (koffice 1.6.2) + KDE 3.5.6 = no sql?

2007-05-11 Thread Danny Pansters
On Friday 11 May 2007 22:44:39 Bram Schoenmakers wrote:
 Op vrijdag 11 mei 2007, schreef Drew Sanford:

 Hi,

  I am using Kexi to track various things in my office, including time
  off. This works well because I can write queries for each employee
  showing me how much time they have requested off, etc. - however it
  appears that after a recent upgrade of all ports, which included a KDE
  update, SQL no longer works. For instance, I have a table called
  time_off that has many records in it, but even a simple query such as
 
  SELECT * FROM time_off;
 
  yields an empty result. Does anyone have any pointers on what it might
  take to get this working again? I have about 30 saved queries, none of
  them work any more.

 What kind of database? Native (SQLite), MySQL, Postgres?

 Kind regards,

I think you should install the qt database(s) support you want via ports:

qt-ibase-plugin
qt-mysql-plugin
qt-odbc-plugin
qt-pgsql-plugin
qt-sqlite-plugin
qt4-ibase-plugin
qt4-mysql-plugin
qt4-odbc-plugin
qt4-pgsql-plugin
qt4-sql
qt4-sqlite-plugin
qt4-sqlite3-plugin

All are in PORTSDIR/databases.

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


Re: camcontrol

2007-05-11 Thread Grant Peel
I have already set camcontrol to tell the system to stop using that part of the 
drive per the FAQ and Handbook:

AWRE (Auto Write Reallocation Enbld):  1
ARRE (Auto Read Reallocation Enbld):  1
But, it still tries to read the block in question (3abd5c1). It is always that 
same block, so the badness does not seem to be growing.Is there a way to 
diagnose what file it is trying to read? (perhaps I could remove that 
inode?)-Grant- Original Message - 
  From: Lowell Gilbert 
  To: Grant Peel 
  Cc: freebsd-questions@freebsd.org 
  Sent: Friday, May 11, 2007 10:51 AM
  Subject: Re: camcontrol


  Grant Peel [EMAIL PROTECTED] writes:

   I have a disk that may be going bad, SCSI.
  
   How do I tell camcontrol to stop using parts of the disk that show errors?
  
   such as:
  
   (da0:ahc0:0:1:0): READ(10). CDB: 28 0 3 ab d5 c1 0 0 e 0 
   (da0:ahc0:0:1:0): MEDIUM ERROR info:3abd5c1 asc:11,1
   (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f

  Please see the FAQ entry on this topic.
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]

--
Total Control Panel  Login  
To: [EMAIL PROTECTED]  Block messages from this sender (blacklist)  
From: [EMAIL PROTECTED]  Remove this sender from my whitelist  
  
You received this message because the sender is on your whitelist.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Missing perl module is messing everything up

2007-05-11 Thread David LeCount
--- Craig Russell [EMAIL PROTECTED] wrote:

 Try running perl -MCPAN -e shell as root.
 
 That should take you to a cpan prompt from there
 type
 install XML::Parser
 
 If that completes succesfully hit exit and try to
 install what you were looking for.
 
 Hope this helps
 
 Craig Russell

I tried that. It wasn't installed at first, but after
saying XML::Parser is up to date, programs being
compiled still don't detect it.


--- [EMAIL PROTECTED] wrote:

 Sounds similar to an error which occurred with
 Gentoo Linux over the past couple years. Did you
 just upgrade Perl and do you use GNU products
 frequently?
 -Garrett

I don't know of any GNU apps I use frequently. I have
a few installed, mostly as dependencies. I did just
update Perl though. This trouble started during a cvsup.


   
Ready
 for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Missing perl module is messing everything up

2007-05-11 Thread Paul Schmehl
--On May 11, 2007 6:59:57 PM -0700 David LeCount [EMAIL PROTECTED] 
wrote:



--- Craig Russell [EMAIL PROTECTED] wrote:


Try running perl -MCPAN -e shell as root.

That should take you to a cpan prompt from there
type
install XML::Parser

If that completes succesfully hit exit and try to
install what you were looking for.

Hope this helps

Craig Russell


I tried that. It wasn't installed at first, but after
saying XML::Parser is up to date, programs being
compiled still don't detect it.


Why beat your head against a wall?  Why not install the module from ports?
/usr/ports/textproc/p5-XML-Parser

Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: ppp dhcp

2007-05-11 Thread WizLayer
On Friday 11 May 2007 06:52:08 pm you wrote:
 Hi,
 HISADDR is never offered in the transaction.
 the if for ppp looks like {registered addresss  private address }
 The transaction should contain 2 registered addresses which are MYADDR and
 HISADDR.
 The latter is never offered. Ever.
 I need to find a way to make either ppp renegotiate the addresses or get
 dhclient to do it at link up.

 TCPdump only works on routable addresses at this point my end thinks it has
 a real HISADDR when it has a private addr, you end up with routing
 conflicts because his end is trying to route to my end of the pipe which
 has a completly different address.

 Windows which uses dhcp with it's ppp implementation has to renegotiate as
 well.

 BSD ppp has the dhcp client inbuilt.

 John
 - Original Message -
 From: WizLayer [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Saturday, May 12, 2007 10:12 AM
 Subject: Re: ppp  dhcp

I seriously doubt you'll be able to get dhcp client to work that way unless 
you apply some really ugly hacks to it.  :)  ppp uses IPCP.  See link for 
more details:

http://www.networksorcery.com/enp/protocol/IPCP.htm

Nobody on this list can really guess very well at what your setup is.  If 
you're looking for more specific advice, we need something to work with.

Is this PPOE?  Dial-up?  Do the logs show anything? What does your ppp.conf 
look like?  When you ppp manually and connect, are you able to get a 
renegotiation with 'add! default HISADDR'?  (I'm pretty sure it's a '!' for a 
forced renegotiation if_exist, anyway).  

I've had my share of brain-dead ISP techs too.  If it's not on the 
flow-chart they follow when they're talking to you, they're completely lost.  
It's almost funny.  :)

WizLayer

-- 


Life is better with a BSD.
For more info, www.bsd.org.


pgpTrMvz8W2D7.pgp
Description: PGP signature


Re: Missing perl module is messing everything up

2007-05-11 Thread Warren Block

On Fri, 11 May 2007, David LeCount wrote:


--- Craig Russell [EMAIL PROTECTED] wrote:


Try running perl -MCPAN -e shell as root.

That should take you to a cpan prompt from there
type
install XML::Parser

If that completes succesfully hit exit and try to
install what you were looking for.

Hope this helps

Craig Russell


I tried that. It wasn't installed at first, but after
saying XML::Parser is up to date, programs being
compiled still don't detect it.


Maybe it's in the wrong place.  There's a port for XML::Parser:

/usr/ports/textproc/p5-XML-Parser

Install that and see if it solves the problem.

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Stable many-port SATA controller recommendations

2007-05-11 Thread Dieter
 after spending time and money on several Promise and Sillicon Image
 based cards that don't work properly,

 WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=a number
...
 I have tried several different SATA cables (since in other contexts
 with other controllers these messages were supposedly often indicative
 of bad cabling).

Are you seeing this same problem on both the Promise and the Silicon
Image?  Have you tried a different brand of disk?  Some combinations of
controller and disk don't work correctly.

I have a Silicon Image 3512 that works fine with NetBSD and Seagate
drives.  Only 2 ports though, and not as fast as it could be.  I
haven't tried it with FreeBSD.

I posted a similar question Wed on -hardware and haven't gotten any
responses.  Interesting that all I've seen are discussions of RAID
controllers and suddenly 2 non-RAID queries in 2 days.

} Looking for some form of SATA controller with good support.
} Currently running FreeBSD 6.2.  Bonus points if it also works well
} with NetBSD  Linux (machine triple boots).  I don't need RAID.
}
} Has there been any progress getting a driver working for Silicon Image 3124?
}
} Or any SATA controller with NCQ?
}
} Do any of the USB to SATA controllers work well under FreeBSD?
} Or 1394/firewire to SATA?
}
} PCI slots are full.  PCIe-x1, USB-2, firewire-400 available.

If I use up a slot, I'd like at least 4 ports and NCQ.
If FreeBSD doesn't have NCQ support yet I might just get a
USB or FW to SATA adapter or two and wait for NCQ.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


corporate america hates me (a.k.a. *%#@*% broadcomm and hp)

2007-05-11 Thread Steve Franks

Like the subject line?  Human nature being what it is, I've been
watching the list long enough to know a whopper like this will garner
replies ;)

Got me a coaster.  It's about a foot square and about 1.5 inches
thick.  If you reinstall every 3 months, it runs windows.  I know, I
should have spent $$$ on an asus instead of an hp, but like most
humans, I have more time than money, aparently.  Probably because I'm
duped into giving it to companies like HP.

If you put a *non* broadcomm minipci 802.11 card in it, it locks up
tight, with a cute little message about an unauthorized network card.
I've considered hacking my bios, but then considered that I might not
have *that* much time on my hands.

If you put a wi0 in the pccard, yes, it works fine (well before I
added ndis to loader.conf that is).  But, darn it, I'm allowed to be
bugged by something sticking out the side, no?

So, now to my real question:  any one have a bcmlw564_sys.ko file that
does not cause a panic on reboot?  Details appear to include fpudna
in kernel mode and trap 12: page fault.  I can't say for certain,
becuase I'm not talented enough to get it to boot far enough to save a
dmesg.  Tried safe mode, single user, and console whereby I tried
disable-module ndis.

My tone may be ironic, but bear in mind this episode (and many others
like it) has not made me hate BSD - it has made me hate HP, Broadcomm,
and Microsoft for having the ^#%@ to attempt to restrict my choices
of OS in such underhanded ways.

Steve

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


Re: temp

2007-05-11 Thread WizLayer
On Friday 11 May 2007 10:36:27 pm you wrote:
 hrm, thanks.   It gives me voltage, but doesn't report any of the
 temperatures.

 Under windows there are at least 6 different temp monitors I can
 watch.  This only reports 255.0, 0, 0

 I've tried both chipset options.  It's a Tyan dual AMD MP board.

 On 5/11/07, WizLayer [EMAIL PROTECTED] wrote:
  On Friday 11 May 2007 06:12:26 pm Jack Barnett wrote:
   Is there any program that'll monitor the temperate of my motherboard?
  
   There are some windows program that'll give me status on my fans, CPU
   temps, motherboard temps, etc - is there anything like that in the
   ports collection?
  
   (basically I think my CPUs are overheating in one server)
 
  meaning something like /sysutils/healthd ?
 
  --
 
 
  Life is better with a BSD.
  For more info, www.bsd.org.

Then check to see if they have drivers or are willing to share their specs 
with the open source communities so that we can build their drivers for 
them...  Don't know what else to tell you.  If they're not helping the 
developers help them, then they're stuck in the mud without support.  That's 
their fault.  Call them and complain.  

BTW...  I get the same thing because likewise, this vendor is just as 
irresponsible.  Oh well...  I won't buy from them again because sometimes 
stupid just can't be fixed.

Sorry couldn't be of more help other than to tell you that it sounds like we 
have WinMobos (ie not worth the card the circuitry is printed on)

WizLayer

-- 


Life is better with a BSD.
For more info, www.bsd.org.



pgpdSJAj4QceL.pgp
Description: PGP signature


Re: Any FBSD Filesystem with Mandatory Locks?

2007-05-11 Thread Kris Kennaway
On Sat, May 12, 2007 at 01:10:09AM +0200, Philippe Laquet wrote:
 
 Dear All,
 
 I a trying to get HAVP (it works almost well, great software!) but I 
 also need to use the streaming option and it needs a FS mounted with 
 mandatory locks. I did not found any option with UFS(2) and also tried 
 with ext2fs loaded but the mount_ext2fs does not support -o mand ... 
 Any idea?...

Why does it need mandatory locks?

Kris


pgp09DKXJLRVa.pgp
Description: PGP signature


Inverse ARP query

2007-05-11 Thread Brett Glass
Is there a command in FreeBSD that can be used to do an inverse ARP
query (that is, supply a MAC address and have the device respond
with its IP)? I have several hardware devices here whose IP addresses
I do not know, but their MAC addresses are printed on the labels.
To reprogram and reset them, I need their IPs so that I can get into
them via a telnet or Web interrace. I could scan for the devices'
addresses, but this would take months. But if they respond to
inverse ARP queries, I can find out in an instant what their
IP addresses are.

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


Is there any already-existing method for removing empty dirs through periodic?

2007-05-11 Thread Josh Tolbert
Hello,

A bit of backstory...I'm running motion (motion.sourceforge.net) on a machine
connected to three analog IR cameras through three bktr cards in order to keep
an eye on our vehicles. We've had problems with stereos stolen, tires cut,
etc. motion is configured to write files out to the apache22 DocumentRoot,
which makes it easy to view the videos. I've even got Apache doing neat things
with HTMLTable, FancyIndexing, SuppressRules and CSS to make it not look
horrible, but that's besides the point.

The cameras write out their videos to subdirs like so:
year/month/day/camera-#/hh-mm-ss.avi.

This setup eats disk space fast. I've been using the clean-tmps daily periodic
to remove all files older than seven days from the video location, which takes
care of the space issue, but there's one more little issue. It leaves a lot of
empty directories. I could just write a cron entry to take care of empty
directories, but I'm hoping there's something I'm missing and there's a way to
remove empty directories from the locations specified in
daily_clean_tmps_dirs. If there's not, would this be a useful feature to add
to the clean-temps daily script?

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]