Re: Urgent: filesystem full, though space is available

2008-03-18 Thread Peter Toth
Matthew Seaman wrote:
 David Kelly wrote:
 On Mon, Mar 17, 2008 at 06:11:47PM +0100, Erwan David wrote:
 I use lsof to get the list of removed files still open (lsof +L1,
 useful after a port upgrade to check wether all upgraded daemons
 indeed restarted). It seems it's not possible with fstat.

 ... which is exactly what Jennifer needs at this moment (if she has room
 to install lsof). She has removed files yet not freed space and needs a
 tool to figure out who/what has these files open.

 fstat(1).  It comes with the system.

 Cheers,

 Matthew
Don't forget to check out all the snapshot files as well, I've had a
similar issue and after deleting the snapshots the disk space was back
in normal.

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


Re: VMWare Tools for FreeBSD

2008-03-18 Thread Terry Sposato

Jeff Dickens wrote:
I just made a copy of /usr/lib/vmware/isoimages/freebsd.iso from VMware 
Server v1.0.4 under a different name, and moved it to the ESX server.


Then I mounted that ISO as a virtual cdrom on the freebsd guest, 
untarred the tools and ran the install script.  It seems to work fine.


A couple of provisos: I don't use X windows on any of my FreeBSD 
systems, and the vmxnet accelerated virtual network adapter does not 
work properly.  I use the e1000 adapter instead.  It wouldn't be a bad 
idea to comment out the 'vmxnet_load=YES' line from /boot/loader.conf, 
but it doesn't seem to cause problems just being loaded.


Furthermore, I don't use any of the virtualcenter features like vmotion, 
etc.  I use freebsd guests for small-footprint servers, for example a 
dhcp and dnscache server with 512MB disk and 32MB ram.



SNIP

Jeff,

Basically the only reason I have for using VM Tools is for the ability 
of Vmotion and such with our ESX Server farm. It's really the only 
benefit that the VM tools will give me on FreeBSD as all my virtual 
machines which are running FreeBSD are servers and don't use any GUI's 
either.


Currently there is nothing that doesn't run correctly under VMWare and I 
have not seen any lack of performance or anything compared to a physical 
machine. Maybe if enough of us push to have the VMWare Tools developed 
and certified for use with VMWare that they might actually get started.


I might develop some sort of E-Petition for it, what you think?

Terry



signature.asc
Description: OpenPGP digital signature


Re: IPv4 loopback address is missing, why?

2008-03-18 Thread Glen Barber
Andrew Falanga said: 
 HI,
 
 On my father's computer there isn't an IPv4 loopback address being assigned 
 to 
 the lo0 interface.  What would cause this?  I've looked at his configs and 
 they're the same as on my system (obviously something is different, but I 
 don't know what).  I see in his /etc/defaults/rc.conf the ifconfig_lo0 line 
 is *NOT* commented out or otherwise altered and his file looks the same as 
 mine (at least on this point, I haven't contrasted the two entirely).
 
 So, why would his system not be configuring an IPv4 loopback address?  After 
 bootup, I can add the address manually using ifconfig.
 
Do you know if the machine was set up with IPv6 or IPv4 at install?
I've never used IPv6, but perhaps when that is chosen, `ifconfig'
doesn't show the IPv4 address for lo0.

Just a guess.

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


X.org 7.3 sure is a mess...

2008-03-18 Thread Scott Bennett
 Now that I've upgraded to X.org 7.3, I'm wishing that I hadn't done it.
Firefox hangs the server, using lots of CPU time, and the only way to get
the screen, keyboard, and mouse access again is to power the machine down and
up again, and then reboot.  The xscreensaver modules mostly display nicely in
the little window in the xscreensaver preferences panel, but about half of
them when run in full-screen mode immediately crash the X server on a signal
11.  PuTTY (installed from a port) is missing its terminal fonts, so I'm
stuck using ssh(1) inside an xterm.
 I'm still discovering more and more broken stuff in 7.3 each day.  It's
only partially usable.  How did this release ever make it out the door?  What
a mess.  I suppose I can restore from the backups to get back to 6.9, though,
but what a drag.  All that mucking around to get through the upgrade, and for
this??  Pardon my frustration, please.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X.org 7.3 sure is a mess...

2008-03-18 Thread Wojciech Puchar
well i just reinstalled my packages from scratch (too much mess till 
today), with Xorg 7.3, now opera only not firefox, xterm, gimp etc..


all works fine


On Tue, 18 Mar 2008, Scott Bennett wrote:


Now that I've upgraded to X.org 7.3, I'm wishing that I hadn't done it.
Firefox hangs the server, using lots of CPU time, and the only way to get
the screen, keyboard, and mouse access again is to power the machine down and
up again, and then reboot.  The xscreensaver modules mostly display nicely in
the little window in the xscreensaver preferences panel, but about half of
them when run in full-screen mode immediately crash the X server on a signal
11.  PuTTY (installed from a port) is missing its terminal fonts, so I'm
stuck using ssh(1) inside an xterm.
I'm still discovering more and more broken stuff in 7.3 each day.  It's
only partially usable.  How did this release ever make it out the door?  What
a mess.  I suppose I can restore from the backups to get back to 6.9, though,
but what a drag.  All that mucking around to get through the upgrade, and for
this??  Pardon my frustration, please.


 Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
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: X.org 7.3 sure is a mess...

2008-03-18 Thread Peter Boosten



Scott Bennett wrote:

 Now that I've upgraded to X.org 7.3, I'm wishing that I hadn't done it.
Firefox hangs the server, using lots of CPU time, and the only way to get
the screen, keyboard, and mouse access again is to power the machine down and
up again, and then reboot.  The xscreensaver modules mostly display nicely in
the little window in the xscreensaver preferences panel, but about half of
them when run in full-screen mode immediately crash the X server on a signal
11.  PuTTY (installed from a port) is missing its terminal fonts, so I'm
stuck using ssh(1) inside an xterm.
 I'm still discovering more and more broken stuff in 7.3 each day.  It's
only partially usable.  How did this release ever make it out the door?  What
a mess.  I suppose I can restore from the backups to get back to 6.9, though,
but what a drag.  All that mucking around to get through the upgrade, and for
this??  Pardon my frustration, please.



Looks like you're having a problem with your window manager, instead of 
Xorg.


Mine (with enlightenment-devel) works like charm. None of the issues you 
describe anyway.


Peter

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


X.org 7.3 sure is a mess...

2008-03-18 Thread Ken Gunderson
[snip]
Looks like you're having a problem with your window manager, instead of 
Xorg.

Mine (with enlightenment-devel) works like charm. None of the issues
you describe anyway.

Peter

So how would you explain that I am seeing same type of behaviors in
straight startx with default twm, i.e. bundled Xorg wm?

-- 
Best regards,

Ken Gunderson

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?

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


Re: X.org 7.3 sure is a mess...

2008-03-18 Thread Norberto Meijome
On Tue, 18 Mar 2008 11:19:19 +0100
Peter Boosten [EMAIL PROTECTED] wrote:

 Looks like you're having a problem with your window manager, instead of 
 Xorg.
 
 Mine (with enlightenment-devel) works like charm. None of the issues you 
 describe anyway.

indeed - i've jumped onto 7.3 as soon as it hit the ports tree. I'm using XFCE 
4, on a relatively slow single cpu laptop and it just works as great as ever 
(quite well :P ).

what cpu / wm are you using? what were you using before the upgrade ?

_
{Beto|Norberto|Numard} Meijome

Caminante no hay camino, se hace camino al andar
   Antonio Machado

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SMP interrupt problem

2008-03-18 Thread Rob
Submitted a post about this problem running on 6.3 (around 22nd Feb), I have 
since reinstalled the system with 7.0 and it still displays the same behaviour, 
ie, a large amount of interrupts. Top and dmesg below. Any help appreciated.


I also got 6.3 loaded onto an almost identical machine for an hour and it had the 
same problem.


Regards,

Rob

top -CS

67 processes:  6 running, 47 sleeping, 14 waiting
CPU states:  0.0% user,  0.0% nice,  0.0% system, 23.6% interrupt, 76.4% idle
Mem: 8400K Active, 5488K Inact, 21M Wired, 8512K Buf, 958M Free
Swap: 1024M Total, 1024M Free

  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIMECPU COMMAND
   11 root1 171 ki31 0K 8K CPU3   3   9:17 99.02% idle: cpu3
   12 root1 171 ki31 0K 8K CPU2   2   9:17 99.02% idle: cpu2
   13 root1 171 ki31 0K 8K RUN1   9:15 99.02% idle: cpu1
   24 root1 -52- 0K 8K CPU0   0   7:18 85.40% irq9: acpi0
   14 root1 171 ki31 0K 8K RUN0   2:00 12.60% idle: cpu0
   15 root1 -32- 0K 8K WAIT   1   0:01  0.00% swi4: clock s
4 root1  -8- 0K 8K -  1   0:00  0.00% g_down
3 root1  -8- 0K 8K -  1   0:00  0.00% g_up
  728 root1   40  8384K  3816K sbwait 3   0:00  0.00% sshd
  701 root1   80  3596K  1580K wait   2   0:00  0.00% login
   31 root1 -64- 0K 8K WAIT   0   0:00  0.00% irq14: ata0
2 root1  -8- 0K 8K -  1   0:00  0.00% g_event
  709 root1   50  3472K  2176K ttyin  1   0:00  0.00% csh
  739 root1  200  3472K  2204K pause  2   0:00  0.00% csh
   43 root1 -32- 0K 8K -  3   0:00  0.00% schedcpu
  752 root1  960  3488K  1640K CPU1   1   0:00  0.00% top



dmesg output:

Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2799.22-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
  Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x4400CNXT-ID,xTPR
  Logical CPUs per core: 2
real memory  = 1073676288 (1023 MB)
avail memory = 1037078528 (989 MB)
ACPI APIC Table: A M I  OEMAPIC 
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
ioapic2 Version 2.0 irqs 48-71 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27)
acpi0: A M I OEMRSDT on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 3ff0 (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
p4tcc0: CPU Frequency Thermal Control on cpu0
cpu1: ACPI CPU on acpi0
p4tcc1: CPU Frequency Thermal Control on cpu1
cpu2: ACPI CPU on acpi0
p4tcc2: CPU Frequency Thermal Control on cpu2
cpu3: ACPI CPU on acpi0
p4tcc3: CPU Frequency Thermal Control on cpu3
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci2: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 29.0 on pci2
pci4: ACPI PCI bus on pcib2
em0: Intel(R) PRO/1000 Network Connection Version - 6.7.3 port 0xd800-0xd83f m
em 0xfe9e-0xfe9f irq 48 at device 1.0 on pci4
em0: Ethernet address: 00:e0:81:27:63:93
em0: [FILTER]
pcib3: ACPI PCI-PCI bridge at device 31.0 on pci2
pci3: ACPI PCI bus on pcib3
uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port 0xe800-0xe81f irq 16
 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: Intel 82801CA/CAM (ICH3) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 2 ports with 2 removable, self powered
pcib4: ACPI PCI-PCI bridge at device 30.0 on pci0
pci1: ACPI PCI bus on pcib4
fxp0: Intel 82551 Pro/100 Ethernet port 0xc400-0xc43f mem 0xfe7fe000-0xfe7feff
f,0xfe7a-0xfe7b irq 17 at device 1.0 on pci1
miibus0: MII bus on fxp0
inphy0: i82555 10/100 media interface PHY 1 on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 

Re: Does softupdate help squid ?

2008-03-18 Thread Norberto Meijome
On Mon, 17 Mar 2008 12:26:11 -0400
Christopher Sean Hilton [EMAIL PROTECTED] wrote:

 Thanks for the enlightenment. My understanding is that Squid can do  
 both forward and reverse proxy. At least it it would seem so since  
 that's the way I'm using it. I did not know that varnish cannot be  
 used as a forward proxy though. As I said before, varnish is on my  
 list of things to investigate since it seems to have a much more  
 modern design than squid.

Varnish does look very interesting (specially the configuration side of
things). But, as you point out, it seems a more specific than Squid (or squid
more flexible, whatever :) ).

btw, does Squid 3 finally implement ESI? 

B
_
{Beto|Norberto|Numard} Meijome

Everything should be made as simple as possible, but not simpler.
  Albert Einstein

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X.org 7.3 sure is a mess...

2008-03-18 Thread Peter Boosten



Norberto Meijome wrote:

On Tue, 18 Mar 2008 11:19:19 +0100
Peter Boosten [EMAIL PROTECTED] wrote:

Looks like you're having a problem with your window manager, instead of 
Xorg.


Mine (with enlightenment-devel) works like charm. None of the issues you 
describe anyway.


indeed - i've jumped onto 7.3 as soon as it hit the ports tree. I'm using XFCE 
4, on a relatively slow single cpu laptop and it just works as great as ever 
(quite well :P ).

what cpu / wm are you using? what were you using before the upgrade ?


Are you asking me?

I'm on a very old laptop, a Toshiba Satellite Pro 4300 (I think), 500Mhz 
Celeron. I tried a myriad different wm's, but none of them really were 
what I was searching for (but they worked all). I didn't try KDE/Gnome, 
because my old laptop would not be able to handle them, and have 
functionality I'm not looking for.


While enlightenment-devel still has its bugs (for instance 'lock screen' 
really does, it won't accept any password as valid - but it doesn't 
hang) it's fast, small, cool :-)


Peter

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


Re: X.org 7.3 sure is a mess...

2008-03-18 Thread Peter Boosten

Ken Gunderson wrote:

[snip]
Looks like you're having a problem with your window manager, instead of 
Xorg.


Mine (with enlightenment-devel) works like charm. None of the issues
you describe anyway.

Peter


So how would you explain that I am seeing same type of behaviors in
straight startx with default twm, i.e. bundled Xorg wm?



Dunno. But the troubles cannot originate from the xorg ports, or 
everyone would see the same behaviour, right?


Maybe some other port, or hardware (maybe your video card? - just 
guessing), or the driver for that particular piece of hardware.


Peter

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


pptpd server on a Samba PDC

2008-03-18 Thread Jon Theil Nielsen
My goal is to make our PDC (FreeBSD 7.0 - Samba 3.0.28) available through
VPN from Windows clients so clients can authenticate via Winbind, join the
domain and access there home shares.
I have tried to follow the instructions by Andrew Bartlett (
http://samba.org/ftp/unpacked/lorikeet/pppd/final-report.pdf) - without
success.

My main configuration file /usr/local/etc/httpd.conf looks like
option /etc/ppp/options.pptp
localip 192.168.1.4
remoteip 192.168.1.150-155
pidfile /var/run/pptpd.pid
# TAG: bcrelay if
bcrelay eth0

And the /etc/ppp/options.pptp:
lock
noauth
nobsdcomp
lcp-echo-failure 10
lcp-echo-interval 10

I have another file /etc/ppp/options:
lock
noauth
nobsdcomp
lcp-echo-failure 10
lcp-echo-interval 10
mflserver3# less /etc/ppp/options
name mflserver3
noipdefault
noauth
lock
local
lcp-echo-interval 30
lcp-echo-failure 4
lcp-max-configure 60
lcp-restart 2
idle 600
noipx
file /etc/ppp/filters
proxyarp
ms-dns 192.168.1.4
ms-wins 192.168.1.4
refuse-chap
refuse-mschap

Finally, I have both pap-secrets and chap-secrets.

With the existence of a /etc/ppp/ppp.conf looking like:
pptp:
set timeout 0
set log phase chat connect lcp ipcp command
set dial
set login
enable mssfixup
set ifaddr 192.168.1.4 192.168.150-192.168.1.155 255.255.255.0
set server /tmp/loop  0177
disable pap
# Authenticate against /etc/passwd
enable passwdauth
disable ipv6cp
enable proxy
accept dns
enable MSChapV2
enable mppe
disable deflate pred1
deny deflate pred1
set dns 195.184.96.2
set device !/etc/ppp/secure

I got the following in my log:
ppp[67205]: Warning: Label /etc/ppp/options.pptp rejected -direct
connection: Configuration label not found

When I removed ppp.conf, I got:
 ppp[67267]: Warning: Label /etc/ppp/options.pptp rejected -direct
connection: /etc/ppp/ppp.conf : File not found

I am a bit confused. It seems that the reference to the options file makes
something go wrong. And it seems that pptpd needs the ppp configuration file
to work.

Does anyone have a working example of poptop-based vpn server for FreeBSD
that can make workstations join the domain?

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


Re: DRI on radeon 9500 using too wide memory bus?

2008-03-18 Thread Reid Linnemann
Written by Tijl Coosemans on 03/14/08 06:59
 On Thursday 13 March 2008 22:45:35 Reid Linnemann wrote:
 Written by Reid Linnemann on 03/13/08 00:58
 I've had DRI running on a radeon 9500 for a while now, and at some
 point in time tracking 6-STABLE and continuing now on 7-STABLE I've
 started seeing rendering artifacts in gl in the form of a
 cross-hatch pattern of pixels that don't get filled. At first I
 figured the card was failing, but I remembered a fact about the 9500
 that made me doublethink that.

 The radeon 9500 is an r300 chipset, and differs from the 9700 only
 in the width of the memory bus (128 bit vs 256 bit) and possibly
 clock speed. If memory serves, the chip itself had the capacity to
 address 256 bits, but most 9500s just went out the door with 128 bit
 memory. I remember at one point in time trying out a hack to the
 9500 driver that enabled the 256 bit bus to see if I had a rebadged
 9700, and had similar artifacts.

 So I decided to peruse my X logs, and sure enough I see:
 (--) RADEON(0): Mapped VideoRAM: 131072 kByte (256 bit DDR SDRAM)

 Is it possible that the radeon driver is using the 256 bus? Is there
 a way to force it to use a 128 bit bus? Has anyone else seen this?
 On further investigation, I tried forcing the driver to switch to a
 128 bit bus by setting the R300_MEM_NUM_CHANNELS_MASK bits on
 RADEON_MEM_CNTL to 0x1, but the problem did not go away.

 I'll try describing it a little better.. only with gl acceleration,
 the entire gl context appears to have criss-crossing lines 4 pixels
 wide that are randomly filled correctly or black, so that they form
 roughly a chain link fence pattern of trash on the gl context. Anyone
 have an idea?
 
 I can't help you with this, but I'm thinking you'll have a higher
 chance getting an answer on some DRI/DRM mailinglist. You could also
 ask the port maintainers (x11@). Some of them are also active
 developers on DRI, and the r300 driver, or at least used to be in the
 past.

I did turn to the dri-users list, and I found I remembered the 9500
quirks wrong. Some of the 9500's were shipped with full r300 chips that
just had half functional pixel pipelines, and the driver disabled the
other half. Since that time, ATI has replaced the 9500 line with the
9600 (based on the rv350 chip), and wiped the 9500 from the historical
record. The actual problem I was experiencing was in tiling for
rasterization, because the developer documentation (and hence the r300
driver) specifies that 1 pipe should be enabled for the rv3xx series and
2 pipes should be enabled for the r3xx series, ignoring the 9500
anomaly. I couldn't even find mention of the 9500 on ati.amd.com in its
discontinued cards; only the 9500 pro is mentioned and it had a fully
functioning r300 chip, though with a narrower 128 bit memory bus.

Anyway, I fixed the problem with a simple patch I've attached. This is
only a bandaid patch though, there is apparently code in the assembly
line for the r300 dri that more intelligently decides how many pipes to
enable.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: VMWare Tools for FreeBSD

2008-03-18 Thread David Robillard
 Basically the only reason I have for using VM Tools is for the ability
 of Vmotion and such with our ESX Server farm. It's really the only
 benefit that the VM tools will give me on FreeBSD as all my virtual
 machines which are running FreeBSD are servers and don't use any GUI's
 either.

 Currently there is nothing that doesn't run correctly under VMWare and I
 have not seen any lack of performance or anything compared to a physical
 machine. Maybe if enough of us push to have the VMWare Tools developed
 and certified for use with VMWare that they might actually get started.

 I might develop some sort of E-Petition for it, what you think?

Why not? I'm in the exact same position as you are with ESX  FreeBSD.
Hence I'd love to have VMWare Tools developed and certified for use
with FreeBSD. Actually, I'd really like to see VMWare Server and
Player certified for FreeBSD i386 and amd64.

David
-- 
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Best way to achive email hosting for several domains

2008-03-18 Thread Roberto Nunnari

Hi.

I'd like to know what are the best practices for implementing
email hosting for several domains. The service is accessible
via pop/imap/webmail

Apart from that, I'd like to ask for comments on the
actual comfiguration..

The system is already configured and running as follows:

# uname -rms
FreeBSD 6.1-RELEASE-p23 i386

MTA:sendmail
imap/pop:   mail/imap-uw
webmail:horde from ports

Every mailbox as a local unix account, ie:
[EMAIL PROTECTED] -- a1
[EMAIL PROTECTED] -- a2
[EMAIL PROTECTED] -- b1
[EMAIL PROTECTED] -- b2
etc..

Now, everything works fine, but I'm a bit concerned with the
webmail login.. I'd like [EMAIL PROTECTED] to login with a
username equal to the email, but as the authentication in
horde is handled by imp, I'm not sure how to proceed with that..

Any hints/suggestions are welcome.

Thank you and best regards.
Robi.


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


Re: pptpd server on a Samba PDC

2008-03-18 Thread Nikos Vassiliadis
On Tuesday 18 March 2008 14:28:22 Jon Theil Nielsen wrote:
 My goal is to make our PDC (FreeBSD 7.0 - Samba 3.0.28) available
 through VPN from Windows clients so clients can authenticate via
 Winbind, join the domain and access there home shares.
 I have tried to follow the instructions by Andrew Bartlett (
 http://samba.org/ftp/unpacked/lorikeet/pppd/final-report.pdf) - without
 success.

 My main configuration file /usr/local/etc/httpd.conf looks like
 option /etc/ppp/options.pptp
 localip 192.168.1.4
 remoteip 192.168.1.150-155
 pidfile /var/run/pptpd.pid
 # TAG: bcrelay if
 bcrelay eth0

 And the /etc/ppp/options.pptp:
 lock
 noauth
 nobsdcomp
 lcp-echo-failure 10
 lcp-echo-interval 10

 I have another file /etc/ppp/options:
 lock
 noauth
 nobsdcomp
 lcp-echo-failure 10
 lcp-echo-interval 10
 mflserver3# less /etc/ppp/options
 name mflserver3
 noipdefault
 noauth
 lock
 local
 lcp-echo-interval 30
 lcp-echo-failure 4
 lcp-max-configure 60
 lcp-restart 2
 idle 600
 noipx
 file /etc/ppp/filters
 proxyarp
 ms-dns 192.168.1.4
 ms-wins 192.168.1.4
 refuse-chap
 refuse-mschap

 Finally, I have both pap-secrets and chap-secrets.

 With the existence of a /etc/ppp/ppp.conf looking like:
 pptp:
 set timeout 0
 set log phase chat connect lcp ipcp command
 set dial
 set login
 enable mssfixup
 set ifaddr 192.168.1.4 192.168.150-192.168.1.155 255.255.255.0
 set server /tmp/loop  0177
 disable pap
 # Authenticate against /etc/passwd
 enable passwdauth
 disable ipv6cp
 enable proxy
 accept dns
 enable MSChapV2
 enable mppe
 disable deflate pred1
 deny deflate pred1
 set dns 195.184.96.2
 set device !/etc/ppp/secure

 I got the following in my log:
 ppp[67205]: Warning: Label /etc/ppp/options.pptp rejected -direct
 connection: Configuration label not found

 When I removed ppp.conf, I got:
  ppp[67267]: Warning: Label /etc/ppp/options.pptp rejected -direct
 connection: /etc/ppp/ppp.conf : File not found

 I am a bit confused. It seems that the reference to the options file
 makes something go wrong. And it seems that pptpd needs the ppp
 configuration file to work.

Yes, this configuration guide you've read is for Linux, thus it will
use pppd by Paul Mackeras. pppd is in the base system(/usr/sbin/pppd),
but it's an older version than the Linux one, since most people on FreeBSD
use user-ppp(/usr/sbin/ppp). So, bad news first:
pppd probably won't work(at least won't work by copying
a configuration file you've found on the internet). I have many
doubts that FreeBSD's pppd can be used with pptp.

The good news are, that poptop is supported(it's in the ports), 
you just have to use user-ppp(which you seem to already use, since
the name of the process above is ppp). Isn't the pptp entry on
/etc/ppp/ppp.conf, installed from the port???
Did you search the package for configuration samples?


 Does anyone have a working example of poptop-based vpn server

The pptp server/client of preference for a FreeBSD system, is in my humble
opinion net/mpd. I suggest you to use that. There many guides on pptp
and mpd lying around on the net.

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


Re: [FreeBSD 7] Radeon Mobility M10/9600 + xorg 7.3 + ati/radeon driver causes complete system hang/freeze

2008-03-18 Thread Bob Johnson
On 3/17/08, Mark Ovens [EMAIL PROTECTED] wrote:
 Torgeir Hoffmann wrote:
[,,,]
  I have the following problems with my xorg 7.3 installation, even after I
  have pkg_delete -a, and reinstalled all with packages. The system was
  updated with freebsd-update from 6.3-release to 7.0-release.
 

 This sounds similar to the problem I have with 7.3 and a Radeon 8500LE
 card. Never had this problem with any previous version of Xorg (or XFree86).

 when the system hangs I can ssh(1) in from another box and find that
 Xorg process is sucking as much as 400% - yes four *hundred* percent -
 CPU ? It is holding a Giant Lock - State is *GIANT

 I can kill the Xorg process but on the affected box I just end up with a
 blank black screen so have to Ctrl-Alt_Del to reboot.

 The problem seems to come and go as I update installed ports. If I've
 got the problem then updating the ports gets rid of it (sometimes) and
 when the system is working a port upgrade starts it off again
 (sometimes). It seems to be one of the X ports being updated that is the
 cause but I don't know which - xorg-drivers seems a likely culprit.

 One thing I did do was to delete the port xf86-video-radeonhd which
 fixed the problem once. I don't know what installed it as a dependency
 but it hasn't been reinstalled - although the problem still comes and goes.

 I've had this on 6.3 and on 7.0 (completely clean build, not an upgrade
 from 6.3).

 As I said, this has only been a problem since u/g Xorg from 7.2-7.3 and
 it is becoming a PITA. I wonder if it's just that Radeon cards don't
 work too well with FreeBSD and/or Xorg?? Perhaps it's worth swapping to
 nVidia?


On two of my systems (out of four) I've had a lot of problems with Xorg 7.3.

My older system has run happily for a few years using the nvidia
proprietary driver to drive two monitors and an old mga card to drive
a third monitor. I was eventually forced to upgrade Xorg on it because
so many ports couldn't be installed or updated without it. Since
upgrading to X.org 7.3, the mga card is unusable and the nvidia card
configuration will no longer work with dual monitors. After spending a
week fighting it, I've given up on that system. It was an upgrade and
there is no telling how much cruft is left over from the older nvidia
driver.

At the time this happened, I was preparing to move to a new system
with an ATI card, so I turned my attention to the new system. I find
the radeonhd driver configuration to be extremely fragile if I try to
drive two monitors with it. Many configurations which should be
entirely legal (e.g. specifying PreferredMode) lock up the system to
the point that the only way to recover is to unplug the power.

If I only had those experiences, I would conclude that Xorg 7.3 is
total junk. But at home I have two systems that work fine with it. One
is even using the radeonhd driver with two monitors -- a configuration
similar to the one that gives me so much trouble with lockups.

Overall, I think the older Xorg was much more stable and usable. I'm
not at all sure the new features were worth the price.

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


Re: FW: VMWare Tools for FreeBSD

2008-03-18 Thread Gelsema, P (Patrick) - FreeBSD
On Tue, March 18, 2008 12:23, Peter Boosten wrote:
 Gelsema, P (Patrick) - FreeBSD wrote:
 On Tue, March 18, 2008 11:40, Peter Boosten wrote:

 http://open-vm-tools.sourceforge.net/


 Just to confirm. This one runs on RELENG_7_0?

 quote
 Kernel modules for FreeBSD, including an experimental port of HGFS to
 FreeBSD.
 /quote

 It allows dymanic memory management by the VM Ware host?
  
   It also allows the VMWare host to gracefully shutdown the Freebsd
 guest?
  

I get an error running an install on RELENG_7_0 I386.

Making check in hgfsmounter
gcc -DPACKAGE_NAME=\open-vm-tools\ -DPACKAGE_TARNAME=\open-vm-tools\
-DPACKAGE_VERSION=\2008.03.03-79993\ -DPACKAGE_STRING=\open-vm-tools\
2008.03.03-79993\
-DPACKAGE_BUGREPORT=\[EMAIL PROTECTED]
-DPACKAGE=\open-vm-tools\ -DVERSION=\2008.03.03-79993\
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DX_DISPLAY_MISSING=1 -DHAVE_DLOPEN=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 -DHAVE_SYS_PARAM_H=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1
-DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -DNO_MULTIMON=1 -I.   
 -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing
-Wno-unknown-pragmas -Wno-uninitialized -DVMX86_TOOLS
-I/tmp/open-vm-tools-2008.03.03-79993/lib/include -DUSING_AUTOCONF=1 -MT
hgfsmounter.o -MD -MP -MF .deps/hgfsmounter.Tpo -c -o hgfsmounter.o
hgfsmounter.c
hgfsmounter.c: In function 'ParseOptions':
hgfsmounter.c:607: error: 'MNT_NODEV' undeclared (first use in this function)
hgfsmounter.c:607: error: (Each undeclared identifier is reported only once
hgfsmounter.c:607: error: for each function it appears in.)
*** Error code 1

Someone seen this before?

Rgds,

Patrick


 quote
 The following components have been released as OSS:

  * Drivers for devices and filesystems access
  * Memory ballooning
  * Shared folders
  * Drag and Drop, Text and File Copy/Paste
  * Clipboard sharing
  * Disk wiping and shrinking
  * Time synchronization
  * Automatic guest screen resolution resizing
  * GuestInfo (provides statistics about guest environment)
  * Guest SDK (provides information about the VM)
  * Soft power operations
  * Multiple monitor support
  * GTK Toolbox UI
 /quote

 Peter

 --
 http://www.boosten.org


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


Re: FW: VMWare Tools for FreeBSD

2008-03-18 Thread Paul Schmehl
--On Tuesday, March 18, 2008 22:34:30 +0800 Gelsema, P (Patrick) - FreeBSD 
[EMAIL PROTECTED] wrote:


I get an error running an install on RELENG_7_0 I386.

Making check in hgfsmounter
gcc -DPACKAGE_NAME=\open-vm-tools\ -DPACKAGE_TARNAME=\open-vm-tools\
-DPACKAGE_VERSION=\2008.03.03-79993\ -DPACKAGE_STRING=\open-vm-tools\
2008.03.03-79993\
-DPACKAGE_BUGREPORT=\[EMAIL PROTECTED]
-DPACKAGE=\open-vm-tools\ -DVERSION=\2008.03.03-79993\
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DX_DISPLAY_MISSING=1 -DHAVE_DLOPEN=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 -DHAVE_SYS_PARAM_H=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1
-DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -DNO_MULTIMON=1 -I.
 -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing
-Wno-unknown-pragmas -Wno-uninitialized -DVMX86_TOOLS
-I/tmp/open-vm-tools-2008.03.03-79993/lib/include -DUSING_AUTOCONF=1 -MT
hgfsmounter.o -MD -MP -MF .deps/hgfsmounter.Tpo -c -o hgfsmounter.o
hgfsmounter.c
hgfsmounter.c: In function 'ParseOptions':
hgfsmounter.c:607: error: 'MNT_NODEV' undeclared (first use in this function)
hgfsmounter.c:607: error: (Each undeclared identifier is reported only once
hgfsmounter.c:607: error: for each function it appears in.)
*** Error code 1

Someone seen this before?



Yes, I got it as well.  I was going to create a port for it, but I have no idea 
how to solve the make problem.  If there is a programmer reading this that 
wants to work with me to get the software to make on FreeBSD, I'll be happy to 
submit and maintain the port.


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

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


Re: FW: VMWare Tools for FreeBSD

2008-03-18 Thread Alexander Sack
I believe the issue is that MNT_NODEV which should be defined in
/usr/include/sys/mount.h was deprecated and removed from FreeBSD:

http://ftp.cz.freebsd.org/pub/FreeBSD-cvs/gnats/conf/79715

At line 42 in hgfsmounter.c, add

# define MNT_NODEV  0

Then rebuild.  SHould work fine now.

I configured my build environment via the README with ./configure
LDFLAGS=/usr/local/lib etc.

-aps

On Tue, Mar 18, 2008 at 10:42 AM, Paul Schmehl [EMAIL PROTECTED] wrote:
 --On Tuesday, March 18, 2008 22:34:30 +0800 Gelsema, P (Patrick) - FreeBSD


 [EMAIL PROTECTED] wrote:
  
   I get an error running an install on RELENG_7_0 I386.
  
   Making check in hgfsmounter
   gcc -DPACKAGE_NAME=\open-vm-tools\ -DPACKAGE_TARNAME=\open-vm-tools\
   -DPACKAGE_VERSION=\2008.03.03-79993\ -DPACKAGE_STRING=\open-vm-tools\
   2008.03.03-79993\
   -DPACKAGE_BUGREPORT=\[EMAIL PROTECTED]
   -DPACKAGE=\open-vm-tools\ -DVERSION=\2008.03.03-79993\
   -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
   -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
   -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
   -DX_DISPLAY_MISSING=1 -DHAVE_DLOPEN=1 -DHAVE_INTTYPES_H=1
   -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 -DHAVE_SYS_PARAM_H=1
   -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1
   -DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -DNO_MULTIMON=1 -I.
-Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing
   -Wno-unknown-pragmas -Wno-uninitialized -DVMX86_TOOLS
   -I/tmp/open-vm-tools-2008.03.03-79993/lib/include -DUSING_AUTOCONF=1 -MT
   hgfsmounter.o -MD -MP -MF .deps/hgfsmounter.Tpo -c -o hgfsmounter.o
   hgfsmounter.c
   hgfsmounter.c: In function 'ParseOptions':
   hgfsmounter.c:607: error: 'MNT_NODEV' undeclared (first use in this 
 function)
   hgfsmounter.c:607: error: (Each undeclared identifier is reported only once
   hgfsmounter.c:607: error: for each function it appears in.)
   *** Error code 1
  
   Someone seen this before?
  

  Yes, I got it as well.  I was going to create a port for it, but I have no 
 idea
  how to solve the make problem.  If there is a programmer reading this that
  wants to work with me to get the software to make on FreeBSD, I'll be happy 
 to
  submit and maintain the port.

  --

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

  ___


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




-- 
What lies behind us and what lies in front of us is of little concern
to what lies within us. -Ralph Waldo Emerson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Fwd: Re: Compile error, kde related?]

2008-03-18 Thread Leslie Jensen

Mel wrote:

 Nope. But I would be interested to see what the line is that compiles 
uic. And what configure produces.


 I still think there's something '6.x-ish' going on here, but without 
knowing how uic gets built, it's anyone's guess.


 Could you try the following:
 cd /usr/ports/x11/qt33
 make clean
 mkdir /var/log/portbuilds
 make build /var/log/portbuilds/`make -V PKGNAME`.log 21
 make -V CONFIGURE_ARGS  /var/log/portbuilds/`make -V PKGNAME`.log
 cat `make -V WRKSRC`/config.log \
 /var/log/portbuilds/`make -V PKGNAME`.log

 Then put that log up somewhere if you have webspace, or try to find 
references to '-pthread', 'libpthread', 'libthr' and the final link 
command that makes uic.


 It's probably some setting you have or some stray library that causes 
this and until you get it resolved, you can't trust any threaded 
application you build from ports. Or, it's specific for qt, but I highly 
doubt that.


-- Mel


Here's is what I've done so far.
There's two problems, the command

cat `make -V WRKSRC`/config.log \
/var/log/portbuilds/`make -V PKGNAME`.log

Generates an error, Please see below. And the log file is empty!


-
bsdpc01# cd /usr/ports/x11-toolkits/qt33

bsdpc01# make clean
===  Cleaning for qt-copy-3.3.8_6

bsdpc01# sh
# make build /var/log/portbuilds/`make -V PKGNAME`.log 21

# make -V CONFIGURE_ARGS  /var/log/portbuilds/`make -V PKGNAME`.log

# cat `make -V WRKSRC`/config.log /var/log/portbuilds/`make -V
PKGNAME`.log
cat: /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/config.log: No
such file or directory

# cat `make -V WRKSRC`/config.log \/var/log/portbuilds/`make -V
PKGNAME`.log
cat: /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/config.log: No
such file or directory
cat: : No such file or directory

# ls /var/log/portbuilds
qt-copy-3.3.8_6.log


ll /var/log/portbuilds/
total 0
-rw-r--r--  1 root  wheel  0 Mar 18 15:27 qt-copy-3.3.8_6.log
---

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


Re: nvidia driver 96.43.05 crashes Xorg

2008-03-18 Thread tesolarisc
SOLVED

On Mon, 2008-03-17 at 14:27 +, Daniel Bye wrote:
 On Mon, Mar 17, 2008 at 01:56:53PM +0100, tesolarisc wrote:
  When I updated my ports lately the nvidia driver got updated.
  Since then I can't use openGL screensavers without crashing Xorg.
  
  nvidia driver is 96.43.05
  Xorg server 1.4.0
  (FreeBSD 7.0-Release)
  
  Do I have to downgrade to 96.43.(01?) again or is there a solution?

Thanks for your reply Dan.

 Is there any reason you're not using the latest driver? It's up to 
 169.12 now (x11/nvidia-driver) 

According to nvidia homepage it doesn't support my chip, which is
GForce4 420MX.

 Did you remember to update the nVidia driver port /after/ everything
 else? If not, it's possible, depending on what other ports you upgraded,
 you've got GL and GLX libs from somewhere other than the driver port. 
 Try uninstalling and reinstalling it.
 
 Dan

According to the log it was using Xorg's glx module...
Fixed that, since then I haven't had the problem :-).

Cheers,
/peo




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


Re: FW: VMWare Tools for FreeBSD

2008-03-18 Thread Paul Schmehl
--On Tuesday, March 18, 2008 11:36:53 -0400 Alexander Sack [EMAIL PROTECTED] 
wrote:



I believe the issue is that MNT_NODEV which should be defined in
/usr/include/sys/mount.h was deprecated and removed from FreeBSD:

http://ftp.cz.freebsd.org/pub/FreeBSD-cvs/gnats/conf/79715

At line 42 in hgfsmounter.c, add

# define MNT_NODEV  0

Then rebuild.  SHould work fine now.


Thanks.  I was contacted privately by someone else on the list and advised of 
the same thing.  I chose to remove the lines mentioning MNT_NODEV from the 
hgfsmounter.c file.  I wasn't aware you could simply define it as 0.  Which is 
preferable?




I configured my build environment via the README with ./configure
LDFLAGS=/usr/local/lib etc.



I'm compiling and making without problems now that the NODEV problem is cleared 
up, but I didn't define any LDFLAGS.  Should I?


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

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


IMAP quandry... .

2008-03-18 Thread Gary Kline
People,

Sometime yesterday, problems with sending out mail began 
happening.  I am not sure how my IMAP passwd could have been
altered.   But it is.

I first saw this is using mutt from my desktop (tao) to my
mailserver, (aristotle).  On to, in ~/.mutt/muttrc is:



set mbox_type=Maildir
set mask=!^\\.[^.]
set mbox=~/Maildir
set record=imaps://aristotle.thought.org/INBOX/.Mutt Sent Items
set copy=yes
set postponed=imaps://aristotle.thought.org/.Drafts
set spoolfile=imaps://aristotle.thought.org/INBOX
set folder=imaps://aristotle.thought.org
set imap_user=kline
set imap_pass=
set use_domain=yes
set duplicate_threads=yes
set realname=Gary Kline
set [EMAIL PROTECTED]
set signature=~/.signature
set editor=vi

set sendmail=/usr/local/bin/nbsmtp -U kline -P  -d 
thought.org -h aristotle.thought.org -f [EMAIL PROTECTED]


Last night I had troubles sending mail _out_ via mutt; because I
can use vi I send most long messages using mutt. Then I tried kmail.
Same deal when I tried to send.   I was able to mouse-swipe this 
dialogue:

QUOTE
Sending failed:
Your SMTP server does not support PLAIN. Choose a different 
authentication method. The server responded: 5.7.0 authentication failed
The message will stay in the 'outbox' folder until you either fix the 
problem (e.g. a broken address) or remove the message from the 'outbox' folder.
The following transport protocol was used: aristotle.thought.org
Do you want me to continue sending the remaining messages?
/QUOTE


I had/have no clue how to fix this; thus, this email to the list.
I just tried evolutionn thaat reequested my IMAP password.  I tried 
my  above---which was what I set it to initially when my
friend in Dallas, TX helped me set this up in Jan.  [[ He helped me
yesteerday to get rsync working to auto-backup web and other config
files from aristotle to other computers.  Can't see any reason that
anythiing-IMAP would have been touched.]]  

At any rate, *where* is the IMAP stuff stashed on aristotle?   A 
mail app called dovecot is installed.  Is the password stuff 
kept somewhere in plaintext?  And:: WHY do I need this level of
security?  I would rather not have any password protection on my 
email...


thanks for any help,

gary




-- 
Gary Kline  Seattle BSD Users' Group (seabug)  | [EMAIL PROTECTED]
Thought Unlimited Org's Alternate Email Site
http://www.magnesium.net/~kline
   To live is not a necessity; but to live honorably...is a necessity. -Kant

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


Re: FW: VMWare Tools for FreeBSD

2008-03-18 Thread Gelsema, P (Patrick)
On Tue, March 18, 2008 23:36, Alexander Sack wrote:
 I believe the issue is that MNT_NODEV which should be defined in
 /usr/include/sys/mount.h was deprecated and removed from FreeBSD:

 http://ftp.cz.freebsd.org/pub/FreeBSD-cvs/gnats/conf/79715

 At line 42 in hgfsmounter.c, add

 # define MNT_NODEV  0

 Then rebuild.  SHould work fine now.

 I configured my build environment via the README with ./configure
 LDFLAGS=/usr/local/lib etc.

Done

#./configure LDFLAGS=/usr/local/lib --without-x
#make
#make install

That all goes ok
But when I run #make modules I get an error

wolverine# make modules
make -C modules
make -C freebsd/vmmemctl
make -C freebsd/vmxnet
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99
-nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000 -fno-common 
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow
-mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c
if_vxn.c
if_vxn.c: In function 'vxn_attach':
if_vxn.c:302: warning: passing argument 4 of 'bus_setup_intr' from
incompatible pointer type
if_vxn.c:302: warning: passing argument 5 of 'bus_setup_intr' from
incompatible pointer type
if_vxn.c:302: error: too few arguments to function 'bus_setup_intr'
if_vxn.c:378: error: 'struct arpcom' has no member named '_ac_enaddr'
if_vxn.c:385: error: 'struct arpcom' has no member named '_ac_enaddr'
*** Error code 1

Stop in /tmp/open-vm-tools-2008.03.03-79993/modules/freebsd/vmxnet.
*** Error code 1

Any ideas?

 -aps

 On Tue, Mar 18, 2008 at 10:42 AM, Paul Schmehl [EMAIL PROTECTED] wrote:
 --On Tuesday, March 18, 2008 22:34:30 +0800 Gelsema, P (Patrick) -
 FreeBSD


 [EMAIL PROTECTED] wrote:
  
   I get an error running an install on RELENG_7_0 I386.
  
   Making check in hgfsmounter
   gcc -DPACKAGE_NAME=\open-vm-tools\
 -DPACKAGE_TARNAME=\open-vm-tools\
   -DPACKAGE_VERSION=\2008.03.03-79993\
 -DPACKAGE_STRING=\open-vm-tools\
   2008.03.03-79993\
   -DPACKAGE_BUGREPORT=\[EMAIL PROTECTED]
   -DPACKAGE=\open-vm-tools\ -DVERSION=\2008.03.03-79993\
   -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
   -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
 -DHAVE_STRINGS_H=1
   -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_DLFCN_H=1
   -DX_DISPLAY_MISSING=1 -DHAVE_DLOPEN=1 -DHAVE_INTTYPES_H=1
   -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1
 -DHAVE_SYS_PARAM_H=1
   -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE__BOOL=1
 -DHAVE_STDBOOL_H=1
   -DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -DNO_MULTIMON=1
 -I.
-Wall -Werror -Wno-pointer-sign -Wno-unused-value
 -fno-strict-aliasing
   -Wno-unknown-pragmas -Wno-uninitialized -DVMX86_TOOLS
   -I/tmp/open-vm-tools-2008.03.03-79993/lib/include -DUSING_AUTOCONF=1
 -MT
   hgfsmounter.o -MD -MP -MF .deps/hgfsmounter.Tpo -c -o hgfsmounter.o
   hgfsmounter.c
   hgfsmounter.c: In function 'ParseOptions':
   hgfsmounter.c:607: error: 'MNT_NODEV' undeclared (first use in this
 function)
   hgfsmounter.c:607: error: (Each undeclared identifier is reported
 only once
   hgfsmounter.c:607: error: for each function it appears in.)
   *** Error code 1
  
   Someone seen this before?
  

  Yes, I got it as well.  I was going to create a port for it, but I have
 no idea
  how to solve the make problem.  If there is a programmer reading this
 that
  wants to work with me to get the software to make on FreeBSD, I'll be
 happy to
  submit and maintain the port.

  --

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

  ___


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




 --
 What lies behind us and what lies in front of us is of little concern
 to what lies within us. -Ralph Waldo Emerson
 ___
 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]


Any software that can do X windows screen capture (with mouse cursor)

2008-03-18 Thread Patrick Dung
Hello

As title, I have tried xwd, it can't capture mouse curosr.

Regards
Patrick


  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Any software that can do X windows screen capture (with mouse cursor)

2008-03-18 Thread Josh Carroll
On Tue, Mar 18, 2008 at 12:54 PM, Patrick Dung [EMAIL PROTECTED] wrote:
 Hello

  As title, I have tried xwd, it can't capture mouse curosr.

The import program that's part of the ImageMagick port can do so:

import image.png

Then draw a box around whatever you want to screen shot.
Alternatively, it can do the whole root window:

import -window root ss.png

ImageMagick is in:

/usr/ports/graphics/ImageMagick

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


FreeBSD 7.0 nvidia-driver woes

2008-03-18 Thread Darren Spruell
New installation of FreeBSD 7.0 i386, updated to 7.0-STABLE Mon Mar 17
18:04:24 MST 2008.

Attempting to use the nvidia-driver-169.12 package for:
NVIDIA(0): NVIDIA GPU Quadro FX 3450/4000 SDI (NV41GL) at PCI:7:0:0

When I start X using the Xorg 'nv' driver it starts successfully. Base
xorg.conf created using 'X -configure' and X started using 'X -config
/path/to/xorg.conf.new'. Using nvidia-xconfig to activate the 'nvidia'
driver results in the X server attempting to start up and choking; the
Nvidia logo appears after a few seconds and remains, and a pixelated
black and green screen remains; the X display never loads correctly.
During attempted startup and when using CTRL+ALT+BKSP to kill the
server the Xorg process drives CPU usage to 100%:

PID USERNAMETHR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
1203 root  1 1180 28168K 23960K CPU1   1   1:21 100.00% Xorg

Several errors are written to output during the failed X startup:

NVIDIA: failed to set MTRR 0xc000, 0M (write-combining)
NVIDIA: failed to set MTRR 0xc000, 0M (write-combining)
NVIDIA: failed to set MTRR 0xc000, 0M (write-combining)
NVIDIA: failed to set MTRR 0xc000, 0M (write-combining)
NVRM: Xid (0007:00): 1, Channel 0001 Method  Data bfef0005
NVIDIA: failed to set MTRR 0xc000, 0M (write-combining)
NVIDIA: failed to set MTRR 0xc000, 0M (write-combining)

$ kldstat
Id Refs AddressSize Name
 1   25 0xc040 9119f4   kernel
 21 0xc0d12000 8460 linprocfs.ko
 33 0xc0d1b000 28678linux.ko
 41 0xc0d44000 14324snd_hda.ko
 52 0xc0d59000 4a5acsound.ko
 61 0xc0da4000 22e40smbfs.ko
 73 0xc0dc7000 49b8 libiconv.ko
 83 0xc0dcc000 2c70 libmchain.ko
 91 0xc0dcf000 4d20 atapicam.ko
101 0xc0dd4000 80dc6c   nvidia.ko
111 0xc15e2000 6a2c4acpi.ko
121 0xc72e8000 3000 pflog.ko
131 0xc72eb000 33000pf.ko

$ kldstat -v
Id Refs AddressSize Name
 1   25 0xc040 9119f4   kernel
Contains modules:
...
422 hostb/agp_ali
423 hostb/agp_amd
424 hostb/agp_amd64
425 hostb/agp_ati
426 vgapci/agp_i810
427 hostb/agp_intel
428 hostb/agp_nvidia
429 hostb/agp_sis
430 hostb/agp_via
101 0xc0dd4000 80dc6c   nvidia.ko
Contains modules:
Id Name
13 pci/nvidia

$ dmesg | grep nvidia
nvidia0: Quadro FX 3450/4000 SDI mem
0xdd00-0xddff,0xc000-0xcfff,0xde00-0xdeff irq
16 at device 0.0 on pci7
nvidia0: [GIANT-LOCKED]
nvidia0: [ITHREAD]

$ ls -l /dev/nvidia*
crw-rw-rw-  1 root  wheel0,  43 Mar 17 21:01 /dev/nvidia0
crw-rw-rw-  1 root  wheel0,  44 Mar 17 21:01 /dev/nvidiactl

$ ls -d1 /var/db/pkg/{xorg-*,nvidia-*}
/var/db/pkg/nvidia-driver-169.12
/var/db/pkg/nvidia-xconfig-1.0_2
/var/db/pkg/xorg-7.3_1
/var/db/pkg/xorg-apps-7.3
/var/db/pkg/xorg-docs-1.4,1
/var/db/pkg/xorg-drivers-7.3
/var/db/pkg/xorg-fonts-100dpi-7.3
/var/db/pkg/xorg-fonts-7.3
/var/db/pkg/xorg-fonts-75dpi-7.3
/var/db/pkg/xorg-fonts-cyrillic-7.3
/var/db/pkg/xorg-fonts-miscbitmaps-7.3
/var/db/pkg/xorg-fonts-truetype-7.3
/var/db/pkg/xorg-fonts-type1-7.3
/var/db/pkg/xorg-libraries-7.3_1
/var/db/pkg/xorg-protos-7.3
/var/db/pkg/xorg-server-1.4_4,1




Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-STABLE #0: Mon Mar 17 18:04:24 MST 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU   E5345  @ 2.33GHz (2327.52-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6f7  Stepping = 7
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x4e3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  Cores per package: 4
real memory  = 3219169280 (3070 MB)
avail memory = 3136241664 (2990 MB)
ACPI APIC Table: DELL   B8K
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
kbd1 at kbdmux0
netsmb_dev: loaded
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: DELL B8K on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer 

dedicated server specs / 7.0-Release

2008-03-18 Thread Zbigniew Szalbot
Hello,

We will be moving shortly to a dedicated server at a data center and
we have been suggested a machine with the below specifications.
However, the provider uses Fedora exclusively, so they will do an
initial install of FreeBSD but then I am on my own. Tough luck but I
am not going to give up on FBSD. However, before I progress, I would
like to know if I am all right with such a machine under 7.0 Release.

Main board INTEL BLKDQ35JOE Q35 LGA 775
PROCESSOR CORE 2 DUO E6750 2.66GHz LGA775
2xHDD SEAGATE 250GB ST3250620NS SATA II 16MB
2GB RAM

Many thanks! I really appreciate all the advice I have been getting from 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]


Problem with ssh

2008-03-18 Thread White Hat
I have tried using the following command with negative results.
 
  ssh -L 5902:localhost:5901 scorpio
 
That produces this error message:
 
  Permission denied (publickey).

I found a reference to this command at:
 
http://www.cl.cam.ac.uk/research/dtg/attarchive/vnc/sshvnc.html
 
I cannot figure out how to correct whatever the problem is. I am attempting to 
connect to a FreeBSD-6.3 machine running 'TightVNC' from a WinXP machine. The 
connection works fine using a regular connection; however, I would prefer to 
use 'ssh' and limit the port to localhost for security.
 
Thanks!

-- 
White Hat 
[EMAIL PROTECTED]


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

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


Re: pptpd server on a Samba PDC

2008-03-18 Thread Jon Theil Nielsen


 Yes, this configuration guide you've read is for Linux, thus it will
 use pppd by Paul Mackeras. pppd is in the base system(/usr/sbin/pppd),
 but it's an older version than the Linux one, since most people on FreeBSD
 use user-ppp(/usr/sbin/ppp). So, bad news first:
 pppd probably won't work(at least won't work by copying
 a configuration file you've found on the internet). I have many
 doubts that FreeBSD's pppd can be used with pptp.

 The good news are, that poptop is supported(it's in the ports),
 you just have to use user-ppp(which you seem to already use, since
 the name of the process above is ppp). Isn't the pptp entry on
 /etc/ppp/ppp.conf, installed from the port???
 Did you search the package for configuration samples?


 
  Does anyone have a working example of poptop-based vpn server


 The pptp server/client of preference for a FreeBSD system, is in my humble
 opinion net/mpd. I suggest you to use that. There many guides on pptp
 and mpd lying around on the net.

 HTH, Nikos


Okay, I tried to install mpd, but now i doesn't seem to work

===/usr/local/etc/mpd/mpd.conf
default:
load pptp1

pptp1:
new -i ng0 pptp1 pptp1
set iface disable on-demand
set iface enable proxy-arp
set iface idle 0
set iface enable tcpmssfix
set bundle enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link keep-alive 10 60
set ipcp yes vjcomp
set ipcp ranges 192.168.1.4/32 192.168.1.151/32
set ipcp dns 192.168.1.4
set ipcp nbns 192.168.1.4
set link disable pap
set bundle enable compression
set ccp yes mppc
#set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
#set bundle enable crypt-reqd

===/usr/local/etc/mpd/mpd.linksf
pptp1:
set link type pptp  ## define the link type protocol as PPTP
set pptp self 192.168.1.4## define the IP address  on which MPD will
run
set pptp enable incoming  ## define the connection as Incoming
set pptp disable originate ## enables PPTP connection for communication
with the client

===/etc/rc.conf

mpd_enable=YES
gateway_enable=YES

And a /usr/local/etc/mpd/mpd.secret is also there.
I can start the service, but don't see any port 1793 by typing netstat -an
And ifconfig doesn't show any pptp1
Are there any obvious errors in this configuration?

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


Re: FreeBSD 7.0 nvidia-driver woes

2008-03-18 Thread Derek Ragona

At 11:58 AM 3/18/2008, Darren Spruell wrote:

New installation of FreeBSD 7.0 i386, updated to 7.0-STABLE Mon Mar 17
18:04:24 MST 2008.

Attempting to use the nvidia-driver-169.12 package for:
NVIDIA(0): NVIDIA GPU Quadro FX 3450/4000 SDI (NV41GL) at PCI:7:0:0

When I start X using the Xorg 'nv' driver it starts successfully. Base
xorg.conf created using 'X -configure' and X started using 'X -config
/path/to/xorg.conf.new'. Using nvidia-xconfig to activate the 'nvidia'
driver results in the X server attempting to start up and choking; the
Nvidia logo appears after a few seconds and remains, and a pixelated
black and green screen remains; the X display never loads correctly.
During attempted startup and when using CTRL+ALT+BKSP to kill the
server the Xorg process drives CPU usage to 100%:

PID USERNAMETHR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
1203 root  1 1180 28168K 23960K CPU1   1   1:21 100.00% Xorg

Several errors are written to output during the failed X startup:

NVIDIA: failed to set MTRR 0xc000, 0M (write-combining)
NVIDIA: failed to set MTRR 0xc000, 0M (write-combining)
NVIDIA: failed to set MTRR 0xc000, 0M (write-combining)
NVIDIA: failed to set MTRR 0xc000, 0M (write-combining)
NVRM: Xid (0007:00): 1, Channel 0001 Method  Data bfef0005
NVIDIA: failed to set MTRR 0xc000, 0M (write-combining)
NVIDIA: failed to set MTRR 0xc000, 0M (write-combining)

$ kldstat
Id Refs AddressSize Name
 1   25 0xc040 9119f4   kernel
 21 0xc0d12000 8460 linprocfs.ko
 33 0xc0d1b000 28678linux.ko
 41 0xc0d44000 14324snd_hda.ko
 52 0xc0d59000 4a5acsound.ko
 61 0xc0da4000 22e40smbfs.ko
 73 0xc0dc7000 49b8 libiconv.ko
 83 0xc0dcc000 2c70 libmchain.ko
 91 0xc0dcf000 4d20 atapicam.ko
101 0xc0dd4000 80dc6c   nvidia.ko
111 0xc15e2000 6a2c4acpi.ko
121 0xc72e8000 3000 pflog.ko
131 0xc72eb000 33000pf.ko

$ kldstat -v
Id Refs AddressSize Name
 1   25 0xc040 9119f4   kernel
Contains modules:
...
422 hostb/agp_ali
423 hostb/agp_amd
424 hostb/agp_amd64
425 hostb/agp_ati
426 vgapci/agp_i810
427 hostb/agp_intel
428 hostb/agp_nvidia
429 hostb/agp_sis
430 hostb/agp_via
101 0xc0dd4000 80dc6c   nvidia.ko
Contains modules:
Id Name
13 pci/nvidia

$ dmesg | grep nvidia
nvidia0: Quadro FX 3450/4000 SDI mem
0xdd00-0xddff,0xc000-0xcfff,0xde00-0xdeff irq
16 at device 0.0 on pci7
nvidia0: [GIANT-LOCKED]
nvidia0: [ITHREAD]

$ ls -l /dev/nvidia*
crw-rw-rw-  1 root  wheel0,  43 Mar 17 21:01 /dev/nvidia0
crw-rw-rw-  1 root  wheel0,  44 Mar 17 21:01 /dev/nvidiactl

$ ls -d1 /var/db/pkg/{xorg-*,nvidia-*}
/var/db/pkg/nvidia-driver-169.12
/var/db/pkg/nvidia-xconfig-1.0_2
/var/db/pkg/xorg-7.3_1
/var/db/pkg/xorg-apps-7.3
/var/db/pkg/xorg-docs-1.4,1
/var/db/pkg/xorg-drivers-7.3
/var/db/pkg/xorg-fonts-100dpi-7.3
/var/db/pkg/xorg-fonts-7.3
/var/db/pkg/xorg-fonts-75dpi-7.3
/var/db/pkg/xorg-fonts-cyrillic-7.3
/var/db/pkg/xorg-fonts-miscbitmaps-7.3
/var/db/pkg/xorg-fonts-truetype-7.3
/var/db/pkg/xorg-fonts-type1-7.3
/var/db/pkg/xorg-libraries-7.3_1
/var/db/pkg/xorg-protos-7.3
/var/db/pkg/xorg-server-1.4_4,1




Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-STABLE #0: Mon Mar 17 18:04:24 MST 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU   E5345  @ 2.33GHz (2327.52-MHz 
686-class CPU)

  Origin = GenuineIntel  Id = 0x6f7  Stepping = 7

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

Features2=0x4e3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  Cores per package: 4
real memory  = 3219169280 (3070 MB)
avail memory = 3136241664 (2990 MB)
ACPI APIC Table: DELL   B8K
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
kbd1 at kbdmux0
netsmb_dev: loaded
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: DELL B8K on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 

Re: Headless Azureus with any X11 Dependencies ??

2008-03-18 Thread Wael Nasreddine
This One Time, at Band Camp, Christian Zachariasen [EMAIL PROTECTED] said, On 
Sat, Mar 15, 2008 at 05:28:10PM +0100:
 I can, from the bottom of my heart, recommend TorrentFlux (
 http://www.torrentflux.com). I used it for over two years on my shared
 server and it worked great. The great thing is - it's in ports!
 (/net-p2p/torrentflux).

Actually I use tf-b4rt[1] a TorrentFlux fork ( Better than TF trust
me) since 2 years now, The reason I want Azureus, is because running
10 ~ 15 torrents on TF takes my server's load up to 10 even 15
sometimes, I had a headless Azureus on Gentoo (before I moved to
FreeBSD) and running up to 20 Torrents keeps the load at 3 tops!!!

I could perhaps use rTorrent but if I succeed into making rtorrent
identifies as Azureus, Private trackers sucks!!! Speaking of this
*cheat* I did modify libtorrent's configure script, replaced
PEER_NAME's value with -az3050- but didn't work, did anyone change the
PEER ID successfully?? I used the below sed command:
 CUT
sed -e '[EMAIL PROTECTED](PEER_NAME\) [EMAIL PROTECTED] -az3050-@g' \
-e '[EMAIL PROTECTED](PEER_VERSION\) [EMAIL PROTECTED] 
azx30x50@g' \
-i configure
 CUT

I also tried -ut1770- for latest utorrent still nothing :S

[1]: http://tf-b4rt.berlios.de/

 On Fri, Mar 14, 2008 at 6:22 PM, Wael Nasreddine [EMAIL PROTECTED] wrote:

  This One Time, at Band Camp, Wojciech Puchar 
  [EMAIL PROTECTED] said, On Fri, Mar 14, 2008 at 06:11:28PM
  +0100:
   I have a server at home, I use it as a mail server, as well as P2P
   instead of running P2P on my Laptop, I run it on the server and I just
   use clients to control it...

   isn't azureus a torrent program.

  Yes it is.

   use rtorrent, it's text mode and is fast

  rtorrent is a fast text mode, but It has no WEB controller and no
  multiuser :S

  I require WEB Controler + Multiuser because my uncle uses my server to
  download torrents as his ISP filter P2P packets...

  Thanks.

  --
  Wael Nasreddine
  http://wael.nasreddine.com
  PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

  .: An infinite number of monkeys typing into GNU emacs,
would never make a good program. (L. Torvalds 1995) :.

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


-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpWAFvOEICte.pgp
Description: PGP signature


Re: dedicated server specs / 7.0-Release

2008-03-18 Thread Zbigniew Szalbot
hello,

2008/3/18, Christian Zachariasen [EMAIL PROTECTED]:
 Depending on what you're doing you might clarify what you are planning on
 doing with the disks.
 Are you running them in any form of RAID?

 In a some cases it might be smarter to go for better drives (made for
 operating 24/7).
  That being said, I've often used shitty drives myself on servers that have
 been up for ages at a time.

Right! It will be used for hosting a couple of domains and quite
extensive email service. I was planning to use the second HD to
replicate data in case of emergency.

What would you advise instead or is there a way to make the two drives
operate in RAID? I do not know much abaout RAIDs I am afraid.

Thanks!

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


Re: Headless Azureus with any X11 Dependencies ??

2008-03-18 Thread Christian Zachariasen
I never had much load running torrentflux on my server, and I'd run quite a
lot of them at a time (don't remember if there was a limit).

This might have something to do with your installation, so if you don't hate
TF maybe you should do some troubleshooting around it?
Check their forums, they were very helpful when I frequented them.

Is the b4rt fork still using the python client?

Christian Zachariasen


On Tue, Mar 18, 2008 at 7:32 PM, Wael Nasreddine [EMAIL PROTECTED] wrote:

 This One Time, at Band Camp, Christian Zachariasen [EMAIL PROTECTED]
 said, On Sat, Mar 15, 2008 at 05:28:10PM +0100:
  I can, from the bottom of my heart, recommend TorrentFlux (
  http://www.torrentflux.com). I used it for over two years on my shared
  server and it worked great. The great thing is - it's in ports!
  (/net-p2p/torrentflux).

 Actually I use tf-b4rt[1] a TorrentFlux fork ( Better than TF trust
 me) since 2 years now, The reason I want Azureus, is because running
 10 ~ 15 torrents on TF takes my server's load up to 10 even 15
 sometimes, I had a headless Azureus on Gentoo (before I moved to
 FreeBSD) and running up to 20 Torrents keeps the load at 3 tops!!!

 I could perhaps use rTorrent but if I succeed into making rtorrent
 identifies as Azureus, Private trackers sucks!!! Speaking of this
 *cheat* I did modify libtorrent's configure script, replaced
 PEER_NAME's value with -az3050- but didn't work, did anyone change the
 PEER ID successfully?? I used the below sed command:
  CUT
 sed -e '[EMAIL PROTECTED](PEER_NAME\) [EMAIL PROTECTED] -az3050-@g' \
-e '[EMAIL PROTECTED](PEER_VERSION\) [EMAIL PROTECTED] 
 azx30x50@g' \
-i configure
  CUT

 I also tried -ut1770- for latest utorrent still nothing :S

 [1]: http://tf-b4rt.berlios.de/

  On Fri, Mar 14, 2008 at 6:22 PM, Wael Nasreddine [EMAIL PROTECTED]
 wrote:

   This One Time, at Band Camp, Wojciech Puchar 
   [EMAIL PROTECTED] said, On Fri, Mar 14, 2008 at
 06:11:28PM
   +0100:
I have a server at home, I use it as a mail server, as well as P2P
instead of running P2P on my Laptop, I run it on the server and I
 just
use clients to control it...

isn't azureus a torrent program.

   Yes it is.

use rtorrent, it's text mode and is fast

   rtorrent is a fast text mode, but It has no WEB controller and no
   multiuser :S

   I require WEB Controler + Multiuser because my uncle uses my server to
   download torrents as his ISP filter P2P packets...

   Thanks.

   --
   Wael Nasreddine
   http://wael.nasreddine.com
   PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

   .: An infinite number of monkeys typing into GNU emacs,
 would never make a good program. (L. Torvalds 1995) :.

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


 --
 Wael Nasreddine
 http://wael.nasreddine.com
 PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

 .: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.

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


Re: Problem with ssh

2008-03-18 Thread doug

On Tue, 18 Mar 2008, White Hat wrote:


I have tried using the following command with negative results.

 ssh -L 5902:localhost:5901 scorpio

That produces this error message:

 Permission denied (publickey).

I found a reference to this command at:

http://www.cl.cam.ac.uk/research/dtg/attarchive/vnc/sshvnc.html

I cannot figure out how to correct whatever the problem is. I am attempting to 
connect to a FreeBSD-6.3 machine running 'TightVNC' from a WinXP machine. The 
connection works fine using a regular connection; however, I would prefer to 
use 'ssh' and limit the port to localhost for security.


Thanks!

--
White Hat
[EMAIL PROTECTED]


Can you use putty or the like and ssh into scorpio without a prompt? If not then 
you just need to key up ssh to allow login via ssh-add.

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


Re: FreeBSD 7.0 nvidia-driver woes

2008-03-18 Thread Darren Spruell
On Tue, Mar 18, 2008 at 11:07 AM, Derek Ragona
[EMAIL PROTECTED] wrote:


  At 11:58 AM 3/18/2008, Darren Spruell wrote:
 Xorg + nvidia-driver woes...

  I also have a server running FreeBSD 7.0 with xorg 7.3 and an older Nvidia
 card.  I first had trouble under 6.3 when I upgraded to xorg 7.3 from 7.1.
 The nvidia driver seems to cause an interupt storm that paralyzes the
 system.  It doesn't freeze, but is so busy it is useless.

  It runs OK, not great, using the native xorg 7.3 driver which has no GL
 support.

Do you (anyone?) know if it is possible to use dual-monitor support in
the X.org nv driver? I don't need 3D acceleration necessarily, but
I've been of the impression that TwinView is needed for usable
dual-monitor capabilities. Someone (I thought) had mentioned earlier
that this driver didn't support Xinerama correctly (everything
stretched across two monitors).

  I don't have any idea what to do except wait for a new driver or xorg
 release that might fix this.

I notice it seems to be an unpopular sentiment in the FreeBSD
community, but as a user I feel it's worth mentioning it's upsetting
being at the mercy of a binary blob kernel driver. I've had pain from
6.3 also, and hoped that a clean installation of 7.0 might have
brought some good changes. Not the case, it seems.

Is it worthwhile to contact NVidia with bug reports? Does the FreeBSD
community amount to much of a blip on their radar? Do we have a direct
liaison in the community?

-- 
Darren Spruell
[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 with ssh

2008-03-18 Thread Darren Spruell
On Tue, Mar 18, 2008 at 10:15 AM, White Hat [EMAIL PROTECTED] wrote:
 I have tried using the following command with negative results.

   ssh -L 5902:localhost:5901 scorpio

  That produces this error message:

   Permission denied (publickey).

The host 'scorpio' is denying you access to the system from your user
(it attempted public key authentication and that failed).

It should work if you make sure your authentication to the destination
host works.

-- 
Darren Spruell
[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: dedicated server specs / 7.0-Release

2008-03-18 Thread Chris Haulmark
 hello,
 
 2008/3/18, Christian Zachariasen [EMAIL PROTECTED]:
  Depending on what you're doing you might clarify what you are
 planning on
  doing with the disks.
  Are you running them in any form of RAID?
 
  In a some cases it might be smarter to go for better drives (made
 for
  operating 24/7).
   That being said, I've often used shitty drives myself on servers
 that have
  been up for ages at a time.
 
 Right! It will be used for hosting a couple of domains and quite
 extensive email service. I was planning to use the second HD to
 replicate data in case of emergency.
 
 What would you advise instead or is there a way to make the two drives
 operate in RAID? I do not know much abaout RAIDs I am afraid.

Without a hardware RAID controller card, you can run a software RAID 1
array.  That is mirroring capabilities.

There is a howto in the FreeBSD handbook on setting up the RAIDs based
on
the FreeBSD's built in features.

I would strongly suggest that you add more disks for more IO resources
to
be available if you are going to run a medium sized mail server.  SAS
disks
will be way much better.

Those extra disks (or faster ones) and two more GB of RAM will be more
useful if you are going to use a type of SQL database for your hosts
websites.

Better safe than to be overloaded.

Chris

 
 Thanks!
 
 --
 Zbigniew Szalbot
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [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: FreeBSD 7.0 nvidia-driver woes

2008-03-18 Thread Derek Ragona

At 01:51 PM 3/18/2008, Darren Spruell wrote:

On Tue, Mar 18, 2008 at 11:07 AM, Derek Ragona
[EMAIL PROTECTED] wrote:


  At 11:58 AM 3/18/2008, Darren Spruell wrote:
 Xorg + nvidia-driver woes...

  I also have a server running FreeBSD 7.0 with xorg 7.3 and an older Nvidia
 card.  I first had trouble under 6.3 when I upgraded to xorg 7.3 from 7.1.
 The nvidia driver seems to cause an interupt storm that paralyzes the
 system.  It doesn't freeze, but is so busy it is useless.

  It runs OK, not great, using the native xorg 7.3 driver which has no GL
 support.

Do you (anyone?) know if it is possible to use dual-monitor support in
the X.org nv driver? I don't need 3D acceleration necessarily, but
I've been of the impression that TwinView is needed for usable
dual-monitor capabilities. Someone (I thought) had mentioned earlier
that this driver didn't support Xinerama correctly (everything
stretched across two monitors).


I don't know which drivers support more than one monitor.



  I don't have any idea what to do except wait for a new driver or xorg
 release that might fix this.

I notice it seems to be an unpopular sentiment in the FreeBSD
community, but as a user I feel it's worth mentioning it's upsetting
being at the mercy of a binary blob kernel driver. I've had pain from
6.3 also, and hoped that a clean installation of 7.0 might have
brought some good changes. Not the case, it seems.

Is it worthwhile to contact NVidia with bug reports? Does the FreeBSD
community amount to much of a blip on their radar? Do we have a direct
liaison in the community?


Never hurts to file a bug report.  It seems to be in the nvidia older 
driver, I've not heard of the problem with the driver for the current cards.


As an aside, you could always replace your video card for a newer one that 
is fully supported.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


bsdlabel, now no boot

2008-03-18 Thread David Kelly
I was playing last night on my home FreeBSD system which is the only  
machine there that has internet access. And did something wrong.


Had added two new SATA HD's and was playing with gstripe, adjusting  
the stripe size. Default 4k stripe resulted in a filesystem that runs  
at only 10 MB/sec or so.


Had run gstripe, bsdlabel, and newfs, 4 or 5 times with different  
stripe sizes when suddenly the old was gone and I couldn't create a  
new. Nothing in /dev/stripe/. This is FreeBSD 6.2-STABLE circa July  
2007. OK, something is messed up, lets reboot. Didn't do the usual  
F1 FreeBSD boot, fell back to a 0:ad(0,a)/boot/ prompt asking what  
to boot. I didn't *think* I was playing with the disk label on the  
PATA drive where FreeBSD is supposed to boot but clearly I've hosed  
something. Machine rebooted without problems earlier when the new  
drives were installed.


Booted the 6.1-RELEASE CD from which this system was originally  
installed. Fiddled with the FDISK and labeler sections and didn't do  
any good. Didn't do any harm. My original partition table is still  
there along with the BSD slices.


Wasn't getting anywhere with the CD so I installed a minimal binary  
6.1 on one of the SATA drives (ad4s1). While I was there I set mount  
points for the PATA drive ad0s1 under /old/. Told it to write the  
FreeBSD boot manager and everything. This works. Still can't boot the  
PATA drive. But have mounted the old partitions. Then umounted and ran  
dump -0af for each old filesystem into dump images.


The boot manager is back (at least on the SATA drive) as F1 for  
FreeBSD and F5 for another drive, but F5 beeps and doesn't change.


Think I have tried all the boot options in fdisk and bsdlabel, nothing  
seems to work.


Then tried sysinstall from the minimal 6.1 and used the Write option  
under fdisk to flush my update right now to disk and received an error  
that it could not write the disk. Nothing was mounted from that drive.  
Got same sort of error in the slice editor.


I don't think my Dell PowerEdge 400SC has any sort of protection for  
the MBR in BIOS. Will look again tonight.


Noticed the PATA drive was painfully slow under 6.1. Know I had DMA  
enabled manually in loader.conf under 6.2 and wondering if FreeBSD can  
write sector 0 via DMA but BIOS is blocking it if DMA is not used?


Cutting to the chase, my Windows-style partition table is sane (does  
the FreeBSD partition need to be marked bootable?), and my BSD slice  
table appears to be reasonable and sane. But the drive is not bootable.


fdisk -B ad0 didn't hurt nor help. No error message.
fdisk -Bi ad0 didn't hurt nor help. No error message.
bsdlabel -B ad0s1 didn't hurt nor help. No error message.

The only error messages have been in sysinstall running from the 6.1  
minimal installation.


Is probably a good time for me to wipe this drive and install 7.0, but  
now that I have reached that conclusion and have nothing else to loose  
I'd like to learn how to recover from this situation.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.



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


Re: Headless Azureus with any X11 Dependencies ??

2008-03-18 Thread Wael Nasreddine
This One Time, at Band Camp, Christian Zachariasen [EMAIL PROTECTED] said, On 
Tue, Mar 18, 2008 at 07:42:46PM +0100:
 I never had much load running torrentflux on my server, and I'd run quite a
 lot of them at a time (don't remember if there was a limit).

 This might have something to do with your installation, so if you don't hate
 TF maybe you should do some troubleshooting around it?
 Check their forums, they were very helpful when I frequented them.
My server is not that fast, The specs are:

Pentium4 1.7Ghz
1024Mb RAM
7200 RPM, 250Gb HDD

The only load problem are the Torrents, I did a lot of benchmarking,
and I came to the following conclusion: one running Azureus with
multiple torrents ~= one tornado process (one torrent)... So I save a
lot of resources by using one azureus process for multiple torrents...

 Is the b4rt fork still using the python client?
tf-b4rt use many clients, you can use it with tornado, azureus and
transmission

 Christian Zachariasen

P.S: I really appreciate if someone found a way to spoof the rtorrent
client as azureus, I'm sorry for resorting to such measures but some
private trackers does not allow rtorrent which is ridiculous since
they have fixed most of the problems!!


 On Tue, Mar 18, 2008 at 7:32 PM, Wael Nasreddine [EMAIL PROTECTED] wrote:

  This One Time, at Band Camp, Christian Zachariasen [EMAIL PROTECTED]
  said, On Sat, Mar 15, 2008 at 05:28:10PM +0100:
   I can, from the bottom of my heart, recommend TorrentFlux (
   http://www.torrentflux.com). I used it for over two years on my shared
   server and it worked great. The great thing is - it's in ports!
   (/net-p2p/torrentflux).

  Actually I use tf-b4rt[1] a TorrentFlux fork ( Better than TF trust
  me) since 2 years now, The reason I want Azureus, is because running
  10 ~ 15 torrents on TF takes my server's load up to 10 even 15
  sometimes, I had a headless Azureus on Gentoo (before I moved to
  FreeBSD) and running up to 20 Torrents keeps the load at 3 tops!!!

  I could perhaps use rTorrent but if I succeed into making rtorrent
  identifies as Azureus, Private trackers sucks!!! Speaking of this
  *cheat* I did modify libtorrent's configure script, replaced
  PEER_NAME's value with -az3050- but didn't work, did anyone change the
  PEER ID successfully?? I used the below sed command:
   CUT
  sed -e '[EMAIL PROTECTED](PEER_NAME\) [EMAIL PROTECTED] -az3050-@g' \
 -e '[EMAIL PROTECTED](PEER_VERSION\) [EMAIL PROTECTED] 
  azx30x50@g' \
 -i configure
   CUT

  I also tried -ut1770- for latest utorrent still nothing :S

  [1]: http://tf-b4rt.berlios.de/

   On Fri, Mar 14, 2008 at 6:22 PM, Wael Nasreddine [EMAIL PROTECTED]
  wrote:

This One Time, at Band Camp, Wojciech Puchar 
[EMAIL PROTECTED] said, On Fri, Mar 14, 2008 at
  06:11:28PM
+0100:
 I have a server at home, I use it as a mail server, as well as P2P
 instead of running P2P on my Laptop, I run it on the server and I
  just
 use clients to control it...

 isn't azureus a torrent program.

Yes it is.

 use rtorrent, it's text mode and is fast

rtorrent is a fast text mode, but It has no WEB controller and no
multiuser :S

I require WEB Controler + Multiuser because my uncle uses my server to
download torrents as his ISP filter P2P packets...

Thanks.

--
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
  would never make a good program. (L. Torvalds 1995) :.

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


  --
  Wael Nasreddine
  http://wael.nasreddine.com
  PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

  .: An infinite number of monkeys typing into GNU emacs,
would never make a good program. (L. Torvalds 1995) :.

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


-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpsTdcrBF75K.pgp
Description: PGP signature


Re: FreeBSD 7.0 nvidia-driver woes

2008-03-18 Thread Robert Huff

Darren Spruell writes:

  Is it worthwhile to contact NVidia with bug reports? Does the
  FreeBSD community amount to much of a blip on their radar? Do we
  have a direct liaison in the community?

nVidia is perfectly aware their chips aren't supported.  It clains
to be willing to write - and maintain - drivers ...
... provided FreeBSD makes some chages in the kernel.  For more
information, google

+Christian +nVidia +John Baldwin

and click on the first result.  I am uqualified to opine on how
much work these changes would take, beyond this being Really Serious
Stuff(tm).  If it's really important, there's always starting a fund
to pay someone to do it.


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


Re: FW: VMWare Tools for FreeBSD

2008-03-18 Thread Alexander Sack
Comments below:

On Tue, Mar 18, 2008 at 12:13 PM, Gelsema, P (Patrick)
[EMAIL PROTECTED] wrote:
 On Tue, March 18, 2008 23:36, Alexander Sack wrote:
   I believe the issue is that MNT_NODEV which should be defined in
   /usr/include/sys/mount.h was deprecated and removed from FreeBSD:
  
   http://ftp.cz.freebsd.org/pub/FreeBSD-cvs/gnats/conf/79715
  
   At line 42 in hgfsmounter.c, add
  
   # define MNT_NODEV  0
  
   Then rebuild.  SHould work fine now.
  
   I configured my build environment via the README with ./configure
   LDFLAGS=/usr/local/lib etc.
  
  Done

  #./configure LDFLAGS=/usr/local/lib --without-x
  #make
  #make install

  That all goes ok
  But when I run #make modules I get an error

  wolverine# make modules
  make -C modules
  make -C freebsd/vmmemctl
  make -C freebsd/vmxnet
  cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99
  -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param
  inline-unit-growth=100 --param large-function-growth=1000 -fno-common
  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow
  -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls
  -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
  -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c
  if_vxn.c
  if_vxn.c: In function 'vxn_attach':
  if_vxn.c:302: warning: passing argument 4 of 'bus_setup_intr' from
  incompatible pointer type
  if_vxn.c:302: warning: passing argument 5 of 'bus_setup_intr' from
  incompatible pointer type
  if_vxn.c:302: error: too few arguments to function 'bus_setup_intr'
  if_vxn.c:378: error: 'struct arpcom' has no member named '_ac_enaddr'
  if_vxn.c:385: error: 'struct arpcom' has no member named '_ac_enaddr'
  *** Error code 1

  Stop in /tmp/open-vm-tools-2008.03.03-79993/modules/freebsd/vmxnet.
  *** Error code 1

  Any ideas?

bus_setup_intr() kernel API seems to have either changed or handled
differently in 7.0.  I believe you can add a NULL after the flags
(INTR_MPSAFE) which tells BSD to use the standard interrupt handler
instead of a top-level handler.

_ac_enaddr is because arpcom as defined in net/if_arp.h no longer
exists.  Typically the protocol bits are stuffed in if_l2com (layer
2).

I made the macro in net_compat.h

#define VXN_SC2ENADDR(softc)(IF_LLADDR(VXN_SC2IFP(softc))

and then removed the  from both references in if_vxn.c as this
macro already returns a pointer to char.

That got me past this problem.  Btw, this isn't an official port since
I didn't really rectify the net_compat.h stuff (I suppose you could
make the 60 to 700055, etc.).

I'm still getting some further issues with vnodeops and vfsops with
some modules (I believe vops_lcok should be vops_lock1) but I don't
know about the other problem.

-aps

-- 
What lies behind us and what lies in front of us is of little concern
to what lies within us. -Ralph Waldo Emerson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache -- Analyzing core dump?

2008-03-18 Thread Chris Maness

Chris Maness wrote:

Chris Maness wrote:
I used to analyze core dumps with tnos to debug.  It has been a 
coon's age since I've done such.  I am having apache crash and core 
dump.  There isn't any error info in the log files.


Where is the core dumped to (the main log tells me the core has been 
dumped)?


How do I analyze this dump file to find out what went wrong?

Do I have to compile apache with debug features turned on to do this?

I am referring to my previous thread:

apache+mod_ssl-1.3.41+2.8.31 crashing with mod_php5


I was able to find my old e-mails on debugging tnos.  I used gdb.

Per the gdb man page I was able to figure out how to check the core 
file.  Here is the output:



GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and 
you are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for 
details.
This GDB was configured as i386-marcel-freebsd...(no debugging 
symbols found)...

Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.4...(no debugging symbols 
found)...done.

Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /usr/local/lib/libmm.so.14...(no debugging 
symbols found)...done.

Loaded symbols for /usr/local/lib/libmm.so.14
Reading symbols from /usr/local/lib/libexpat.so.6...(no debugging 
symbols found)...done.

Loaded symbols for /usr/local/lib/libexpat.so.6
Reading symbols from /lib/libc.so.7...(no debugging symbols 
found)...done.

Loaded symbols for /lib/libc.so.7
Reading symbols from 
/usr/local/libexec/apache/mod_mmap_static.so...(no debugging symbols 
found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_mmap_static.so
Reading symbols from 
/usr/local/libexec/apache/mod_vhost_alias.so...(no debugging symbols 
found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_vhost_alias.so
Reading symbols from /usr/local/libexec/apache/mod_env.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_env.so
Reading symbols from /usr/local/libexec/apache/mod_define.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_define.so
Reading symbols from /usr/local/libexec/apache/mod_log_config.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_log_config.so
Reading symbols from /usr/local/libexec/apache/mod_mime_magic.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_mime_magic.so
Reading symbols from /usr/local/libexec/apache/mod_mime.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_mime.so
Reading symbols from 
/usr/local/libexec/apache/mod_negotiation.so...(no debugging symbols 
found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_negotiation.so
Reading symbols from /usr/local/libexec/apache/mod_status.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_status.so
Reading symbols from /usr/local/libexec/apache/mod_info.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_info.so
Reading symbols from /usr/local/libexec/apache/mod_include.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_include.so
Reading symbols from /usr/local/libexec/apache/mod_autoindex.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_autoindex.so
Reading symbols from /usr/local/libexec/apache/mod_dir.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_dir.so
Reading symbols from /usr/local/libexec/apache/mod_cgi.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_cgi.so
Reading symbols from /usr/local/libexec/apache/mod_asis.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_asis.so
Reading symbols from /usr/local/libexec/apache/mod_imap.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_imap.so
Reading symbols from /usr/local/libexec/apache/mod_actions.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_actions.so
Reading symbols from /usr/local/libexec/apache/mod_speling.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_speling.so
Reading symbols from /usr/local/libexec/apache/mod_userdir.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_userdir.so
Reading symbols from /usr/local/libexec/apache/mod_alias.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_alias.so
Reading symbols from 

Re: Headless Azureus with any X11 Dependencies ??

2008-03-18 Thread Danny Woods

Wael Nasreddine wrote:

My server is not that fast, The specs are:

Pentium4 1.7Ghz
1024Mb RAM
7200 RPM, 250Gb HDD

  


I run mldonkey, a multi-protocol, headless server, on a 600MHz VIA Eden 
processor with 512MB RAM (http://mldonkey.sourceforge.net/, also in 
ports).  Even with many simultaneous downloads, torrents or not, the 
load on the server is negligible.  It has built in Web and telnet 
interfaces, and also allows connections to the core from external tools 
(Sancho (http://sancho-gui.sourceforge.net/) is particularly good: I 
have it running from Mac OS X, Linux and Windows).


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


Warnings after overclock

2008-03-18 Thread Ghirai
Hello list,

I just overclocked my CPU a bit for the sake of it,
from 2.3GHz to ~2.8GHz.

Everything is nice and stable, but after reboot i get this message:

calcru: runtime went backwards from 19330 usec to 16092 usec for pid 597 
(hald-runner)
calcru: runtime went backwards from 244138 usec to 203252 usec for pid 597 
(hald-runner)
calcru: runtime went backwards from 1345442 usec to 1122955 usec for pid 596 
(hald)
calcru: runtime went backwards from 10959 usec to 9124 usec for pid 596 (hald)
...

I suspect it's got something to do with kern.timecounter.hardware;
atm. it seems to be ACPI-fast; do i need to change it to TSC?

Thanks.

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


Re: Warnings after overclock

2008-03-18 Thread Kris Kennaway

Ghirai wrote:

Hello list,

I just overclocked my CPU a bit for the sake of it,
from 2.3GHz to ~2.8GHz.

Everything is nice and stable, but after reboot i get this message:

calcru: runtime went backwards from 19330 usec to 16092 usec for pid 597 
(hald-runner)
calcru: runtime went backwards from 244138 usec to 203252 usec for pid 597 
(hald-runner)
calcru: runtime went backwards from 1345442 usec to 1122955 usec for pid 596 
(hald)
calcru: runtime went backwards from 10959 usec to 9124 usec for pid 596 (hald)
...


...so you mean everything is nice and stable except your system no 
longer has stable timecounting.



I suspect it's got something to do with kern.timecounter.hardware;
atm. it seems to be ACPI-fast; do i need to change it to TSC?


I suspect your overclocked CPU.

Kris

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


How to enable Linujx binary compatibility using sysinstall

2008-03-18 Thread Stephen Allen

Hello,

After installing FreeBSD 7.0, I realised I'd forgotten to choose Linux 
binary compatibility during the install.  I tried installing from ports, 
but it's gone and installed a load of other unwanted packages aswell now 
(perl/popt/rpm etc...).


So, a few questions really...

1.
Why does the ports install require all these other packages, when none 
of these are installed if you remember to select the Enable Linux 
binary compatibility option during install?


2.
If I wanted to install from sysinstall (like during an installation), 
what do I do to enable Linux binary compatibility, without reinstalling?


3.
There are 6 Linux binary compatibility packages available, which is the 
best one to use... fc4-10?


Kind regards,
Steve

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


Re: Anyone have any luck installing openoffice?

2008-03-18 Thread D Hill

On Tue, 18 Mar 2008 at 21:45 +0100, [EMAIL PROTECTED] confabulated:



No I have tried to manually download the package for openoffice, which barfed 
since dependencies where not present.


pkg_add -r didn't work since there was no package where it should have been 
on the site to download.


I have tried to build from source as well and that fails since the source can 
not be found. (ports tree updated)


How do I install it? I need it pretty bad right now.

It was't this hard last time I tried.


Installed fine here under FreeBSD 7.0-RELEASE from the ports tree:

  /usr/ports/editors/openoffice.org-2

without any errors. Of course I had to manually download the required Java 
stuff.


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


Re: FW: VMWare Tools for FreeBSD

2008-03-18 Thread Paul Schmehl
--On Tuesday, March 18, 2008 15:24:53 -0400 Alexander Sack [EMAIL PROTECTED] 
wrote:


bus_setup_intr() kernel API seems to have either changed or handled
differently in 7.0.  I believe you can add a NULL after the flags
(INTR_MPSAFE) which tells BSD to use the standard interrupt handler
instead of a top-level handler.

_ac_enaddr is because arpcom as defined in net/if_arp.h no longer
exists.  Typically the protocol bits are stuffed in if_l2com (layer
2).

I made the macro in net_compat.h

# define VXN_SC2ENADDR(softc)(IF_LLADDR(VXN_SC2IFP(softc))

and then removed the  from both references in if_vxn.c as this
macro already returns a pointer to char.

That got me past this problem.  Btw, this isn't an official port since
I didn't really rectify the net_compat.h stuff (I suppose you could
make the 60 to 700055, etc.).

I'm still getting some further issues with vnodeops and vfsops with
some modules (I believe vops_lcok should be vops_lock1) but I don't
know about the other problem.



Well, you're way beyond my skill level now.  I'll be happy to create a port for 
this, but someone with a much deeper knowledge of FreeBSD and C is going to 
have to resolve the problems with the modules.


If someone is interested in doing that, I'll submit the patches to the 
developers *and* add them to the port so that it can be committed.  (Other than 
the kernel modules, the software builds fine from what I can tell.)


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

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


Re: Anyone have any luck installing openoffice?

2008-03-18 Thread Manolis Kiagias

Andreas Davour wrote:


No I have tried to manually download the package for openoffice, which 
barfed since dependencies where not present.


pkg_add -r didn't work since there was no package where it should have 
been on the site to download.


I have tried to build from source as well and that fails since the 
source can not be found. (ports tree updated)


How do I install it? I need it pretty bad right now.

It was't this hard last time I tried.

/Andreas

I installed mine from ports some time ago and didn't have any 
difficulties. It took ages to compile however  - obviously - so if you 
need it right now this might not be an option.


A quick search in ftp's  Latest directory does not reveal an openoffice 
package, but there is one in the All directory:


ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/All/openoffice.org-2.3.1_1.tbz

You could try the following, as root (assuming tcsh):

setenv PACKAGESITE 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/All/


pkg_add -r openoffice.org-2.3.1_1

(there are also a 2.4 and a 3.0 version there, have a look at the ftp)


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


Re: FW: VMWare Tools for FreeBSD

2008-03-18 Thread Alexander Sack
Paul:

I'd have to look at this some more.  I got much further in the porting
when I hit another snag with the vmblock driver (the inline assembly
needs to be __asm__ instead of asm or something needs to process it
that way for it to work, I also hacked around a vfsops issue which I'm
not 100% sure what should really be there) and then all of it needs to
be devtested.  I use VMWare Fusion and have installed the existing
vmtools that come with the product along with installing the
individual X11 vmware driver which works for me but I agree it would
be nice to have full port to FreeBSD 7.0-RELEASE.

I'm sorry for not giving you patch files its just I was doing this on
and off as a exercise to learn a little bit more about it

I believe at least now as you said, the userland stuff builds fine now.

Thanks!

-aps

On Tue, Mar 18, 2008 at 4:58 PM, Paul Schmehl [EMAIL PROTECTED] wrote:
 --On Tuesday, March 18, 2008 15:24:53 -0400 Alexander Sack [EMAIL PROTECTED]
  wrote:
  

  bus_setup_intr() kernel API seems to have either changed or handled
   differently in 7.0.  I believe you can add a NULL after the flags
   (INTR_MPSAFE) which tells BSD to use the standard interrupt handler
   instead of a top-level handler.
  
   _ac_enaddr is because arpcom as defined in net/if_arp.h no longer
   exists.  Typically the protocol bits are stuffed in if_l2com (layer
   2).
  
   I made the macro in net_compat.h
  
  # define VXN_SC2ENADDR(softc)(IF_LLADDR(VXN_SC2IFP(softc))
  
   and then removed the  from both references in if_vxn.c as this
   macro already returns a pointer to char.
  
   That got me past this problem.  Btw, this isn't an official port since
   I didn't really rectify the net_compat.h stuff (I suppose you could
   make the 60 to 700055, etc.).
  
   I'm still getting some further issues with vnodeops and vfsops with
   some modules (I believe vops_lcok should be vops_lock1) but I don't
   know about the other problem.
  

  Well, you're way beyond my skill level now.  I'll be happy to create a port 
 for
  this, but someone with a much deeper knowledge of FreeBSD and C is going to
  have to resolve the problems with the modules.

  If someone is interested in doing that, I'll submit the patches to the
  developers *and* add them to the port so that it can be committed.  (Other 
 than
  the kernel modules, the software builds fine from what I can tell.)

  --


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

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




-- 
What lies behind us and what lies in front of us is of little concern
to what lies within us. -Ralph Waldo Emerson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone have any luck installing openoffice?

2008-03-18 Thread Colby W.
On Tue, Mar 18, 2008 at 2:53 PM, D Hill [EMAIL PROTECTED] wrote:
 On Tue, 18 Mar 2008 at 21:45 +0100, [EMAIL PROTECTED] confabulated:
  
   No I have tried to manually download the package for openoffice, which 
 barfed
   since dependencies where not present.
  
   pkg_add -r didn't work since there was no package where it should have been
   on the site to download.
  
   I have tried to build from source as well and that fails since the source 
 can
   not be found. (ports tree updated)
  
   How do I install it? I need it pretty bad right now.
  
   It was't this hard last time I tried.

  Installed fine here under FreeBSD 7.0-RELEASE from the ports tree:

/usr/ports/editors/openoffice.org-2

  without any errors. Of course I had to manually download the required Java
  stuff.

I tried this shortly after 7.0 was released and the Java portion of
building OpenOffice-2 from ports wanted an old tzupdater that Sun no
longer provides. I have yet to update my ports tree so I don't know if
that has been corrected yet or not; if not, where does one get the
tzupdater 1.3.0_2007h (I think that's the version it asked for)?

Thanks,

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


Re: Anyone have any luck installing openoffice?

2008-03-18 Thread D Hill

On Tue, 18 Mar 2008 at 15:03 -0600, [EMAIL PROTECTED] confabulated:


On Tue, Mar 18, 2008 at 2:53 PM, D Hill [EMAIL PROTECTED] wrote:

On Tue, 18 Mar 2008 at 21:45 +0100, [EMAIL PROTECTED] confabulated:

 No I have tried to manually download the package for openoffice, which barfed
 since dependencies where not present.

 pkg_add -r didn't work since there was no package where it should have been
 on the site to download.

 I have tried to build from source as well and that fails since the source can
 not be found. (ports tree updated)

 How do I install it? I need it pretty bad right now.

 It was't this hard last time I tried.

 Installed fine here under FreeBSD 7.0-RELEASE from the ports tree:

   /usr/ports/editors/openoffice.org-2

 without any errors. Of course I had to manually download the required Java
 stuff.


I tried this shortly after 7.0 was released and the Java portion of
building OpenOffice-2 from ports wanted an old tzupdater that Sun no
longer provides. I have yet to update my ports tree so I don't know if
that has been corrected yet or not; if not, where does one get the
tzupdater 1.3.0_2007h (I think that's the version it asked for)?


The versions of files I was told to download are:

diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2
jdk-1_5_0_14-fcs-bin-b03-jrl-05_oct_2007.jar
jdk-1_5_0_14-fcs-src-b03-jrl-05_oct_2007.jar
tzupdater-1.3.3-2007k.zip

I recently rebuilt my workstation and installed full KDE. The Java files 
were a requirement for one of the extras installed for KDE.


I then installed OpenOffice from the ports and it didn't once complain 
about anything.


This was all done with a current portsnap just before installing 
everything.


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


Re: Anyone have any luck installing openoffice?

2008-03-18 Thread D Hill

On Tue, 18 Mar 2008 at 22:47 +0100, [EMAIL PROTECTED] confabulated:


On Tue, 18 Mar 2008, Manolis Kiagias wrote:


Andreas Davour wrote:


No I have tried to manually download the package for openoffice, which 
barfed since dependencies where not present.


pkg_add -r didn't work since there was no package where it should have 
been on the site to download.


I have tried to build from source as well and that fails since the source 
can not be found. (ports tree updated)


How do I install it? I need it pretty bad right now.

It was't this hard last time I tried.


I installed mine from ports some time ago and didn't have any difficulties. 
It took ages to compile however  - obviously - so if you need it right now 
this might not be an option.


It's the last option, yes. Even my dual core machine racing ahead at 
gigahertz will take forever.


It only took my computer just over four hours to install with 2x3Ghz dual 
core and 8Gb RAM.


My computer at work is only a dual PIII with only 1Gb RAM and it took 
almost 36 hours.


--
 _|_
|_| |
___
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 enable Linujx binary compatibility using sysinstall

2008-03-18 Thread RW
On Tue, 18 Mar 2008 20:17:00 +
Stephen Allen [EMAIL PROTECTED] wrote:

 Hello,
 
 After installing FreeBSD 7.0, I realised I'd forgotten to choose
 Linux binary compatibility during the install.  I tried installing
 from ports, but it's gone and installed a load of other unwanted
 packages aswell now (perl/popt/rpm etc...).
 
 So, a few questions really...
 
 1.
 Why does the ports install require all these other packages, when
 none of these are installed if you remember to select the Enable
 Linux binary compatibility option during install?

They are dependencies of the particular application, or linux-base.
Linux binary compatibility lets you run a statically-linked
linux binary. Anything else requires a Linux environment, and whatever
libraries etc the application needs.  

 2.
 If I wanted to install from sysinstall (like during an installation), 
 what do I do to enable Linux binary compatibility, without
 reinstalling?

I think it's just a matter of adding linux_enable=YES to rc.conf.

I also have linux_load=YES in loader.conf, but I don't expect it's
necessary, as the former setting should load the kernel module.


 3.
 There are 6 Linux binary compatibility packages available, which is
 the best one to use... fc4-10?

The default will be a dependency of any linux package that needs it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone have any luck installing openoffice?

2008-03-18 Thread Tore Lund
D Hill wrote:
 It only took my computer just over four hours to install with 2x3Ghz dual 
 core and 8Gb RAM.

Sigh.  When shall we get a modular OO.  Sigh again.
-- 
Tore

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


Re: Any software that can do X windows screen capture (with mouse cursor)

2008-03-18 Thread Bill Campbell
On Tue, Mar 18, 2008, Patrick Dung wrote:
Hello

As title, I have tried xwd, it can't capture mouse curosr.

I'm not sure how a simple screen capture program would capture
the mouse cursor since they all ask that you either click on a
screen or select a rectangle from the entire screen.

It seems to me that one would have to use some kind of video
screen capture from which one could select frames showing the
cursor as needed from working sessions.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

Now if there is one thing that we do worse than any other nation, it is
try and manage somebody else's affairs.
Will Rogers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with multiple scsi adapters and drive assignments

2008-03-18 Thread John A.
I've searched all over (not totally exhaustive, but close) and can't find an
answer that I thought would have come up before.  Basically, I need to
change the order that the kernel assigns drive names on bootup.

It all started out with an old Intel server board with NCR/Symbios scsi
builton.  I added a QLogic QLA2100 fibre controller and everything was fine
except that it was a little slow and couldn't hold enough ram.  I took
another (newer) Intel server board and put it in the case.  This board has
an Adaptec AIC7896 builtin.  My custom kernel didn't have the aic driver so
I took the opportunity to upgrade to 7.0 and built a new kernel.  Everything
was fine until I turned on the external fibre chassis and found that my da0
became da7.  The board is in a rack-mount case so I cant put the QLA into a
different slot and the bios doesn't have any way to change irq settings on
the pci slots.

I my mind, the logical answer is to tell FBSD to scan ahc0 before isp0.
Through all my searching through docs and the mailing list archives, I can't
find any mention of how to do this.  I did find one mention of turning off
the bios on the offending scsi card (it was a system with 2 Adaptecs).  Been
there, tried that, didn't work.  Feel free to slap my face and call me
stupid as long as you point my to the proper info if I somehow missed it.
Here are the relevant parts of dmesg if that helps (I didn't include the
drives themselves since I can't get it boot with the external chassis turned
on):

FreeBSD 7.0-RELEASE #1: Mon Mar 17 14:43:04 EDT 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel Pentium III (596.92-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x681  Stepping = 1

Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 2139029504 (2039 MB)
avail memory = 2087882752 (1991 MB)
ACPI APIC Table: Intel  N440BX  
ioapic0 Version 1.1 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: PTLTD   RSDT on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter ACPI-safe frequency 3579545 Hz quality 850
acpi_timer0: 24-bit timer at 3.579545MHz port 0xc08-0xc0b on acpi0
cpu0: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82443GX host to PCI bridge on hostb0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pcib2: PCI-PCI bridge at device 15.0 on pci1
pci2: PCI bus on pcib2
isp0: Qlogic ISP 2100 PCI FC-AL Adapter port 0x2000-0x20ff mem
0xf450-0xf4500fff irq 19 at device 9.0 on pci0
firmware_get: failed to load firmware image isp_2100
isp0: [ITHREAD]
isp0: Board Type 2100, Chip Revision 0x3, resident F/W Revision 1.15.21
pci0: simple comms at device 11.0 (no driver attached)
ahc0: Adaptec aic7896/97 Ultra2 SCSI adapter port 0x2400-0x24ff mem
0xf4501000-0xf4501fff irq 19 at device 12.0 on pci0
ahc0: [ITHREAD]
aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: Adaptec aic7896/97 Ultra2 SCSI adapter port 0x2800-0x28ff mem
0xf4502000-0xf4502fff irq 19 at device 12.1 on pci0
ahc1: [ITHREAD]
aic7896/97: Ultra2 Wide Channel B, SCSI Id=15, 32/253 SCBs


Thanks in advance for your help, the archives of this list have been very
helpful over the past 5 years.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with multiple scsi adapters and drive assignments

2008-03-18 Thread Patrick C
This is exactly what labeling your disks solves.

Please see info on 'tunefs' and 'glabel' which provide labels to
devices. Basically, when you insert a device not only does it get its
scan-order-based /dev/___, it also gets a named entry in either
/dev/ufs/ or /dev/label (tunefs/geom).

You then use the label to mount the drive.

-Patrick

On 18/03/2008, John A. [EMAIL PROTECTED] wrote:
 I've searched all over (not totally exhaustive, but close) and can't find an
  answer that I thought would have come up before.  Basically, I need to
  change the order that the kernel assigns drive names on bootup.

  It all started out with an old Intel server board with NCR/Symbios scsi
  builton.  I added a QLogic QLA2100 fibre controller and everything was fine
  except that it was a little slow and couldn't hold enough ram.  I took
  another (newer) Intel server board and put it in the case.  This board has
  an Adaptec AIC7896 builtin.  My custom kernel didn't have the aic driver so
  I took the opportunity to upgrade to 7.0 and built a new kernel.  Everything
  was fine until I turned on the external fibre chassis and found that my da0
  became da7.  The board is in a rack-mount case so I cant put the QLA into a
  different slot and the bios doesn't have any way to change irq settings on
  the pci slots.

  I my mind, the logical answer is to tell FBSD to scan ahc0 before isp0.
  Through all my searching through docs and the mailing list archives, I can't
  find any mention of how to do this.  I did find one mention of turning off
  the bios on the offending scsi card (it was a system with 2 Adaptecs).  Been
  there, tried that, didn't work.  Feel free to slap my face and call me
  stupid as long as you point my to the proper info if I somehow missed it.
  Here are the relevant parts of dmesg if that helps (I didn't include the
  drives themselves since I can't get it boot with the external chassis turned
  on):

  FreeBSD 7.0-RELEASE #1: Mon Mar 17 14:43:04 EDT 2008
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN
  Timecounter i8254 frequency 1193182 Hz quality 0
  CPU: Intel Pentium III (596.92-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0x681  Stepping = 1

  
 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  real memory  = 2139029504 (2039 MB)
  avail memory = 2087882752 (1991 MB)
  ACPI APIC Table: Intel  N440BX  
  ioapic0 Version 1.1 irqs 0-23 on motherboard
  kbd1 at kbdmux0
  acpi0: PTLTD   RSDT on motherboard
  acpi0: [ITHREAD]
  acpi0: Power Button (fixed)
  Timecounter ACPI-safe frequency 3579545 Hz quality 850
  acpi_timer0: 24-bit timer at 3.579545MHz port 0xc08-0xc0b on acpi0
  cpu0: ACPI CPU on acpi0
  pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
  pci0: ACPI PCI bus on pcib0
  agp0: Intel 82443GX host to PCI bridge on hostb0
  pcib1: PCI-PCI bridge at device 1.0 on pci0
  pci1: PCI bus on pcib1
  pcib2: PCI-PCI bridge at device 15.0 on pci1
  pci2: PCI bus on pcib2
  isp0: Qlogic ISP 2100 PCI FC-AL Adapter port 0x2000-0x20ff mem
  0xf450-0xf4500fff irq 19 at device 9.0 on pci0
  firmware_get: failed to load firmware image isp_2100
  isp0: [ITHREAD]
  isp0: Board Type 2100, Chip Revision 0x3, resident F/W Revision 1.15.21
  pci0: simple comms at device 11.0 (no driver attached)
  ahc0: Adaptec aic7896/97 Ultra2 SCSI adapter port 0x2400-0x24ff mem
  0xf4501000-0xf4501fff irq 19 at device 12.0 on pci0
  ahc0: [ITHREAD]
  aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
  ahc1: Adaptec aic7896/97 Ultra2 SCSI adapter port 0x2800-0x28ff mem
  0xf4502000-0xf4502fff irq 19 at device 12.1 on pci0
  ahc1: [ITHREAD]
  aic7896/97: Ultra2 Wide Channel B, SCSI Id=15, 32/253 SCBs


  Thanks in advance for your help, the archives of this list have been very
  helpful over the past 5 years.
  ___
  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: How to enable Linujx binary compatibility using sysinstall

2008-03-18 Thread RW
On Tue, 18 Mar 2008 21:46:11 +
RW [EMAIL PROTECTED] wrote:

  Why does the ports install require all these other packages, when
  none of these are installed if you remember to select the Enable
  Linux binary compatibility option during install?
 
 They are dependencies of the particular application, or linux-base.

I didn't quite get that you were talking about just installing a
linux-base.

The reason is that sysinstall uses a FreeBSD package, but the port
installs from whatever the Linux distro uses, in this case Fedora RPM
packages. The port therefore requires the FreeBSD RPM port and its
dependencies. 

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


Re: Any software that can do X windows screen capture (with mouse cursor)

2008-03-18 Thread Nicholas Godson

Patrick Dung wrote:

Hello

As title, I have tried xwd, it can't capture mouse curosr.

Regards
Patrick


  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

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

So what you are wanting is a program like Snag-It for Windows, Ksnapshot
can do this I think. Haven't used it in quite a while though.

http://docs.kde.org/development/en/kdegraphics/ksnapshot/
http://en.wikipedia.org/wiki/KSnapshot

Cheers,

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


mpd pptp server?

2008-03-18 Thread Jon Theil Nielsen
I have tried some different ways to make a working VPN server on FreeBSD 7.0.
The main goal is to make it possible for Windows clients to access their
Samba home shares. I'm not sure if mpd is the best solution, but I will give
it a try.
I have installed /usr/ports/mpd4 and have the following configuration:

==/usr/local/etc/mpd4/mpd.conf
startup:
don't know what to put in here...

default:
load pptp1

pptp1:
new -i ng0 pptp1 pptp1
set iface disable on-demand
set iface enable proxy-arp
set iface idle 0
set iface enable tcpmssfix
set bundle enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link keep-alive 10 60
set ipcp yes vjcomp
set ipcp ranges 192.168.1.4/32 192.168.1.151/32
set ipcp dns 192.168.1.4
set ipcp nbns 192.168.1.4
set link disable pap
set bundle enable compression
set ccp yes mppc
#set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
#set bundle enable crypt-reqd

==/usr/local/etc/mpd4/mpd.linksf
pptp1:
set link type pptp  ## define the link type protocol as PPTP
set pptp self 192.168.1.4## define the IP address  on which MPD will
run
set pptp enable incoming  ## define the connection as Incoming
set pptp disable originate ## enables PPTP connection for communication
with the client

And then I also have a mpd.secrets file of course.

I can start the service, but I don't see any pptp interface after an
ifconfig command. And netstat -an does not show any port 1723 listening.

Do I need to have a customized kernel to make it work? Or are there any
obvious errors in the above configuration?

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


Re: Problem with multiple scsi adapters and drive assignments

2008-03-18 Thread Erik Trulsson
On Tue, Mar 18, 2008 at 06:37:30PM -0400, John A. wrote:
 I've searched all over (not totally exhaustive, but close) and can't find an
 answer that I thought would have come up before.  Basically, I need to
 change the order that the kernel assigns drive names on bootup.
 
 It all started out with an old Intel server board with NCR/Symbios scsi
 builton.  I added a QLogic QLA2100 fibre controller and everything was fine
 except that it was a little slow and couldn't hold enough ram.  I took
 another (newer) Intel server board and put it in the case.  This board has
 an Adaptec AIC7896 builtin.  My custom kernel didn't have the aic driver so
 I took the opportunity to upgrade to 7.0 and built a new kernel.  Everything
 was fine until I turned on the external fibre chassis and found that my da0
 became da7.  The board is in a rack-mount case so I cant put the QLA into a
 different slot and the bios doesn't have any way to change irq settings on
 the pci slots.
 
 I my mind, the logical answer is to tell FBSD to scan ahc0 before isp0.
 Through all my searching through docs and the mailing list archives, I can't
 find any mention of how to do this.  I did find one mention of turning off
 the bios on the offending scsi card (it was a system with 2 Adaptecs).  Been
 there, tried that, didn't work.  Feel free to slap my face and call me
 stupid as long as you point my to the proper info if I somehow missed it.
 Here are the relevant parts of dmesg if that helps (I didn't include the
 drives themselves since I can't get it boot with the external chassis turned
 on):


The solution is not to change the order in which things are probed, but to
hard-wire which name is assigned to which disk.
See the SCSI(4) manpage for information on how to do this by setting hints
in /boot/device.hints.





-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


smb_iod_recvall: drop resp with mid errors

2008-03-18 Thread Darren Spruell
I have a CIFS share mounted from a Windows 2003 server on FreeBSD
6.2/i386 host (FreeBSD 6.2-RELEASE-p9 FreeBSD 6.2-RELEASE-p9 #0: Thu
Nov 29 04:22:49 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386).
Earlier today we ran into a case where we were intermittently unable
to write to files on the mounted filesystem. The following errors were
encountered when this occurred:

smb_iod_recvall: drop resp with mid 5412
smb_iod_recvall: drop resp with mid 5417
smb_iod_recvall: drop resp with mid 5422
smb_iod_recvall: drop resp with mid 5531
smb_iod_recvall: drop resp with mid 5591
smb_iod_recvall: drop resp with mid 5662
smb_iod_recvall: drop resp with mid 7278
smb_iod_recvall: drop resp with mid 7285
smb_iod_recvall: drop resp with mid 7297
smb_iod_recvall: drop resp with mid 12
smb_iod_recvall: drop resp with mid 15
smb_iod_recvall: drop resp with mid 18

$ mount
//[EMAIL PROTECTED]/MALWARE_BEWARE on /caffeineaddicts-malware (smbfs)
# /etc/fstab:
//[EMAIL PROTECTED]/Malware_Beware  /caffeineaddicts-malware
 smbfs   rw,-N,late  0   0

While this host was experiencing these issues a different FreeBSD host
also encountered issues with a different share on the same Windows
server. I think this points to issues of some sort on the Windows
filesystem, but I'd like to understand the smb_iod_recvall output. I
think this is the relevant code, with a check on line 361 resulting in
the error. Is there enough information to suggest what might be wrong
on the remote system to cause this?

/*
288  * Process incoming packets
289  */
290 static int
291 smb_iod_recvall(struct smbiod *iod)
292 {
293 struct smb_vc *vcp = iod-iod_vc;
294 struct thread *td = iod-iod_td;
295 struct smb_rq *rqp;
296 struct mbuf *m;
297 u_char *hp;
298 u_short mid;
299 int error;
300
...
360 SMB_IOD_RQUNLOCK(iod);
361 if (rqp == NULL) {
362 SMBERROR(drop resp with mid %d\n, (u_int)mid);
363 /*  smb_printrqlist(vcp);*/
364 m_freem(m);
365 }

-- 
Darren Spruell
[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: Warnings after overclock

2008-03-18 Thread David Kelly


On Mar 18, 2008, at 3:32 PM, Ghirai wrote:


Hello list,

I just overclocked my CPU a bit for the sake of it,
from 2.3GHz to ~2.8GHz.


You know that you should create a new message and address it to the  
list rather than edit a reply to another thread the way you sent the  
above?


No matter how hard you edit the following headers (In-Reply-To: and  
References:) remained in your message hidden from casual view. For  
those who read this list in collapsed threaded view would never have  
seen your message under bsdlabel, now no boot unless they were  
reading that thread.


Date: Tue, 18 Mar 2008 22:32:03 +0200
From: Ghirai [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Message-Id: [EMAIL PROTECTED]
In-Reply-To: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: bsdlabel, now no boot

2008-03-18 Thread David Kelly


On Mar 18, 2008, at 1:45 PM, David Kelly wrote:

Cutting to the chase, my Windows-style partition table is sane (does  
the FreeBSD partition need to be marked bootable?), and my BSD  
slice table appears to be reasonable and sane. But the drive is not  
bootable.


fdisk -B ad0 didn't hurt nor help. No error message.
fdisk -Bi ad0 didn't hurt nor help. No error message.
bsdlabel -B ad0s1 didn't hurt nor help. No error message.

The only error messages have been in sysinstall running from the 6.1  
minimal installation.


Is probably a good time for me to wipe this drive and install 7.0,  
but now that I have reached that conclusion and have nothing else to  
loose I'd like to learn how to recover from this situation.



nothing else to *lose*, silly me.

Having had a fresh attack at my broken system tonight I discovered the  
original PATA drive boots if I disable the SATA drives in BIOS. What  
appears to be happening is that no matter the BIOS is told to boot  
IDE (and doesn't have a SATA boot option) once the SATA drives have  
enough formatting to look bootable to BIOS, the BIOS boots the ad4  
SATA drive rather than the ad0 PIDE drive.  :-(


I was trying to geom stripe ad4 and ad6, not ad4s1 and ad6s1. Made my  
gstripe with ad4s1 and ad6s1 so that the boot MBR stays untouched.


System is now booting ad0 by starting at ad4 and hopping to ad6, then  
to ad0.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


daylight savings time

2008-03-18 Thread Nerius Landys
I'm running FreeBSD 5.5.  I'm in California and my hardware clock is set to
UTC I believe (how to check if it's important?).  Ever since the daylight
saving time shift here in California a couple of weeks ago my clock has been
late by one hour.  For example right now it is 7:28 PM and my computer says:

[EMAIL PROTECTED] date
Tue Mar 18 18:28:08 PST 2008

I have NTP running and I verified that it works by setting the clock to be
off by one hour and one minute (basically nudge the time by one minute) and
the clock synchronizes itself to be accurate to the minute and second but
off by one hour.

Does anyone know how to fix this?  Is there some sort of updated time zone
data that I need?  Thanks in advance.

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


Gcc and make not producing executable

2008-03-18 Thread Eduardo Cerejo
Hello,

I'm trying to get my feet wet in programming in C and the first thing I'm doing 
is reading a book called an Introduction to GCC.  I'm running Fbsd 7-stable I 
have Gcc44 installed.

Example in the book is 3 files named main.c, hello_fn.c and hello.h:

File main.c with the following code:

#include hello.h

int
main (void)
{
  hello (world);
  return 0;
}

File hello_fn.c with the following code:

#include stdio.h
#include hello.h

void 
hello (const char * name)
{
  printf (Hello, %s!\n, name);
}

and hello.h with the following code:

void hello (const char * name);

Objective is to create a makefile which will create an executable named main.  
The books has this code in the Makefile:

CC=gcc
CFLAGS=-Wall
main: main.o hello_fn.o

clean:
rm -f main main.o hello_fn.o

The book says this should create two object files named main.o and hello_fn.o 
plus an executable named main.  But the last is not created!  Does it have to 
do with make version?  or is the book outdated (2005) 
http://www.network-theory.co.uk/gcc/intro/
or you can the section that I'm referring to here:
http://www.network-theory.co.uk/docs/gccintro/gccintro_16.html

By the way I can create the executable using gcc -Wall main.c hello_fn.c -o main
so it's not a gcc problem I don't think.







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


Re: daylight savings time

2008-03-18 Thread Jonathan Chen
On Tue, Mar 18, 2008 at 07:31:01PM -0700, Nerius Landys wrote:

[...]
 I have NTP running and I verified that it works by setting the clock to be
 off by one hour and one minute (basically nudge the time by one minute) and
 the clock synchronizes itself to be accurate to the minute and second but
 off by one hour.
 
 Does anyone know how to fix this?  Is there some sort of updated time zone
 data that I need?  Thanks in advance.

The port misc/zoneinfo is what you need.

Alternatively, you can tweak the zoneinfo file in /usr/src/share/zoneinfo
yourself and zic(8) it; and then copying/linking the appropriate compiled
zoneinfo file to /etc/localtime.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
With sufficient thrust, pigs fly just fine. However, this is not necessarily
a good idea. It is hard to be sure where they are going to land, and it
could be dangerous sitting under them as they fly overhead. -- RFC 1925
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: daylight savings time

2008-03-18 Thread D Hill

On Tue, 18 Mar 2008 at 19:31 -0700, [EMAIL PROTECTED] confabulated:


I'm running FreeBSD 5.5.  I'm in California and my hardware clock is set to
UTC I believe (how to check if it's important?).  Ever since the daylight
saving time shift here in California a couple of weeks ago my clock has been
late by one hour.  For example right now it is 7:28 PM and my computer says:

[EMAIL PROTECTED] date
Tue Mar 18 18:28:08 PST 2008

I have NTP running and I verified that it works by setting the clock to be
off by one hour and one minute (basically nudge the time by one minute) and
the clock synchronizes itself to be accurate to the minute and second but
off by one hour.

Does anyone know how to fix this?  Is there some sort of updated time zone
data that I need?  Thanks in advance.


Our server BIOS clocks are set to UTC. To ensure UTC time in FBSD, I've 
always removed the file /etc/localtime. FBSD will default to UTC if it can 
not find /etc/localtime (at least that's what I've witnessed since FBSD 
5.5).


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


Re: daylight savings time

2008-03-18 Thread D Hill

Never mind. I was assuming the server was running in UTC.

On Wed, 19 Mar 2008 at 03:53 -, [EMAIL PROTECTED] confabulated:


On Tue, 18 Mar 2008 at 19:31 -0700, [EMAIL PROTECTED] confabulated:


I'm running FreeBSD 5.5.  I'm in California and my hardware clock is set to
UTC I believe (how to check if it's important?).  Ever since the daylight
saving time shift here in California a couple of weeks ago my clock has 
been
late by one hour.  For example right now it is 7:28 PM and my computer 
says:


[EMAIL PROTECTED] date
Tue Mar 18 18:28:08 PST 2008

I have NTP running and I verified that it works by setting the clock to be
off by one hour and one minute (basically nudge the time by one minute) and
the clock synchronizes itself to be accurate to the minute and second but
off by one hour.

Does anyone know how to fix this?  Is there some sort of updated time zone
data that I need?  Thanks in advance.


Our server BIOS clocks are set to UTC. To ensure UTC time in FBSD, I've 
always removed the file /etc/localtime. FBSD will default to UTC if it can 
not find /etc/localtime (at least that's what I've witnessed since FBSD 5.5).


--
_|_
|_| |
___
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: USB printer

2008-03-18 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Chuck Robey
 Sent: Monday, March 17, 2008 10:44 AM
 To: Ted Mittelstaedt
 Cc: Predrag Punosevac; FreeBSD-Questions@freebsd.org; Gligor Lucian
 Subject: Re: USB printer


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Ted Mittelstaedt wrote:

  If your not a right-clicker or an i-book flipper than it's
  understandable you would wonder why there's so much attention
  paid to CUPS for FreeBSD since it does nothing for the usual
  command line junkie.

 There's where you state it hasn't any cli usages


No, you misread that.  It does nothing other than what you already get
with the base OS.  That is, -lpr/lpd, +cups = no advantage, ie: nothing.

  Sorry, I hate to differ, but even on my Mac OSX with dual PPC
  processors, I
  use lpr all the time, and I use ssh (hostname) lpr filetoprint from
  FreeBSD to my mac, it works just fine, and the Mac is running Cups.  It
  does too do stuff for command line people, it's just that no one
  installing
  cups on FreeBSD has done anything to get that definitely
 established part
  of Cups working right.
 
 
  However, that definitely established part of CUPS duplicates
  lpr/lpd functionality, so it's a big waste of time to bother with
  installing it under FreeBSD and ripping out the existing lpr/lpd
  if all your going to do is use the same /etc/printcap config file
  and same filters that you would use under lpr/lpd.

 And here you forget what you said, and claim the cups is just
 stupid to use
 under CLI

It IS stupid to use under CLI if all your going to be doing is
using the same /etc/printcap config file and same filters that
you would use under lpr/lpd.

Are you a specialist now in ripping out sound bites and ignoring
the rest of the paragraph?

 (no backoff from your FUD above, though).  Our own
 printer system
 DOES NOTHING whatever for remote administration, nor organization of
 drovers, nor ability to print different type sources, nor the added
 security options.


Eh?  ssh into the print server and you can administer all you want.

Organization of drivers?  What drivers?  Why do you need drivers?
Oh I forgot, your too busy dropping $800 in superfast hardware
to image pages for your $99 printer you got free with a coupon, and
prints about 25 pages before the ink cartridge is empty.

 
  The real usefulness of CUPS is under a GUI, particularly married
  with a GUI configuration interface.  For example you didn't
  install your printers under MacOS X by hand-editing the CUPS
  configuration files under MacOS X, you used the GUI configurator
  in System Properties, which interfaces with CUPS.  That's why
  Apple had to license CUPS after all, because they modified it
  under MacOS X to allow the Aqua GUI to interface to it, and they
  didn't want to release the mods they made to it into the wild.
 
  In fact, if you compile ghostscript and compile the foomatic
  software under MacOS X, you can download, compile and using
  the Aqua GUI configurator interface to CUPS, install
  a gigantic number of printer drivers under MacOS X.

 With little trouble, you can (and I did) integrate all the foomatic stuff
 under MacOS, without recompiling.

 
  In the FreeBSD world the usual command-line junkies do the Right
  Thing and go buy a Postscript printer.

 And that also is FUD.  A long time, I think about 20 years back, before I
 knew better, I did exactly that.  It turns out that postscript
 printers run
 about 10 times more slowly than using ghostscript on your system and only
 sending the native image to the printer

absolutely wrong.

Only if you have a really cheap, old Postscript interpreter such as like
the HP III with the add-in Postscript card, stacked against a 3Ghz PC
tied to a winprinter with USB2 will you see this.  Otherwise, you take
the more common elderly 500Mhz CPU Win98 system that's been retired to
a FreeBSD system and tie it to your winprinter and try imaging anything
complex on it, and the PC will take far longer to image it than going
Postscript to a decent printer like an HP5 (which are cheap as dirt
on the used market)

And this is just image printing - text is a whole different ballgame,
it's far faster going Postscript to the printer if your printing
multiple pages because your uploading the fonts and then following
with just a text stream, your not imaging page after page.

All of this of course sidesteps the discussion of what your
considering is a high-end Postscript printer and what your
printing with it and how much your printing.

, so using cups is both far, far
 more cheap

CUPS  Ghostscript.  gs and all the foomatic stuff runs just fine
with LPR/LPD, no CUPS needed.

 (postscript printers being uniformly more expensive)

Any decent workgroup laserjet will cost far less per-page than
an inkjet, even going color, these days.  Your talking false economy
here - sure you may buy a color inkjet for $99 vs a color laser
for $400 but print 500