Re: Help : about FreeBSD 6.2 kernel error!

2008-03-24 Thread Zinevich Denis
1. try to compile kernel without SMP.
2. Examine hardware.

刘德安 пишет:
 FreeBSD GFAOS 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Jan  7 15:29:50 UTC 
 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
 
 when rebooting system
 Error messages:
 
 kernel: Fatal trap 12: page fault while in kernel mode 
 kernel: cpuid = 0; apic id = 00 
 kernel: fault virtual address = 0x9da324e4 
 kernel: fault code = supervisor write, page not present 
 kernel: instruction pointer = 0x20:0xc059c7be 
 kernel: stack pointer = 0x28:0xe3ea9c50 
 kernel: frame pointer = 0x28:0xe3ea9c88 
 kernel: code segment = base 0x0, limit 0xf, type 0x1b 
 kernel: = DPL 0, pres 1, def32 1, gran 1 
 kernel: processor eflags = interrupt enabled, resume, IOPL = 0 
 kernel: current process = 13 (swi4: clock) 
 kernel: trap number = 12 
 kernel: panic: page fault 
 kernel: cpuid = 0 
 kernel: Uptime: 6m53s 
 kernel: Cannot dump. No dump device defined. 
 kernel: Automatic reboot in 15 seconds - press a key on the console to abort
 
 
 who cat help me?
 thanks!!!
   
 --
 Oddvar
 2008-03-24
 
 ___
 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]


Kernel panic on Acer TravelMate 2500

2008-03-24 Thread Valerio Daelli
Hi

I had a kernel panic on an Acer TravelMate. I use zfs and this is a i386.
This is 7-stable, built kernel and world yesterday.
I was playing music with mpg321, using X (mozilla) and the panic happened
while (as root) I typed 'sysctl -a|grep recvspace'

[EMAIL PROTECTED] /usr/obj/usr/src/sys/BEE]# uname -a
FreeBSD bee.local.net 7.0-STABLE FreeBSD 7.0-STABLE #20: Sat Mar 22
13:44:12 CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BEE
i386

[EMAIL PROTECTED] /usr/obj/usr/src/sys/BEE]# kgdb kernel.debug 
/usr/crash/vmcore.0
[GDB will not be able to debug user-mode threads:
/usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup]
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.
There is no member named pathname.
(kgdb)
(kgdb) backtrace
#0  doadump () at pcpu.h:195
#1  0xc0742cf8 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc0742fe3 in panic (fmt=Variable fmt is not available.
) at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc0a3fa49 in trap_fatal (frame=0xd3ea1b18, eva=273)
at /usr/src/sys/i386/i386/trap.c:899
#4  0xc0a3fcb9 in trap_pfault (frame=0xd3ea1b18, usermode=0, eva=273)
at /usr/src/sys/i386/i386/trap.c:812
#5  0xc0a4067b in trap (frame=0xd3ea1b18) at /usr/src/sys/i386/i386/trap.c:490
#6  0xc0a26fcb in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0x0111 in ?? ()

Previous frame inner to this frame (corrupt stack?)

include GENERIC
ident   BEE
device carp
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=100
options IPFIREWALL_FORWARD
options DUMMYNET
options IPDIVERT
options QUOTA
options KDB
options KDB_UNATTENDED
options DDB

[EMAIL PROTECTED] /usr/obj/usr/src/sys/BEE]# cat /etc/make.conf
CPUTYPE=pentium4
# added by use.perl 2007-12-07 14:27:59
PERL_VER=5.8.8
PERL_VERSION=5.8.8
KERNCONF=BEE


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 #20: Sat Mar 22 13:44:12 CET 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/BEE
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2800.11-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,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x4400CNXT-ID,xTPR
real memory  = 469172224 (447 MB)
avail memory = 445128704 (424 MB)
ACPI APIC Table: PTLTD  APIC  
ioapic0 Version 1.1 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: PTLTD   RSDT on motherboard
acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 21
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
unknown: I/O range not supported
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 1bf0 (3) failed
Timecounter ACPI-safe frequency 3579545 Hz quality 850
acpi_timer0: 32-bit timer at 3.579545MHz port 0x8008-0x800b on acpi0
acpi_ec0: Embedded Controller: GPE 0x3 port 0x62,0x66 on acpi0
cpu0: ACPI CPU on acpi0
p4tcc0: CPU Frequency Thermal Control on cpu0
acpi_acad0: AC Adapter on acpi0
battery0: ACPI Control Method Battery on acpi0
acpi_lid0: Control Method Lid Switch on acpi0
acpi_button0: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: ATI RS300_200 AGP bridge on hostb0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
vgapci0: VGA-compatible display port 0x9000-0x90ff mem
0xe000-0xe7ff,0xd810-0xd810 irq 16 at device 5.0 on
pci1
ohci0: OHCI (generic) USB controller mem 0xd8001000-0xd8001fff irq
19 at device 19.0 on pci0
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 3 ports with 3 removable, self powered
ohci1: OHCI (generic) USB controller mem 0xd8002000-0xd8002fff irq
19 at device 19.1 on pci0
ohci1: [GIANT-LOCKED]
ohci1: [ITHREAD]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 3 ports with 3 removable, self powered
ohci1: OHCI (generic) USB controller mem 0xd8002000-0xd8002fff irq
19 at device 19.1 on pci0
ohci1: [GIANT-LOCKED]
ohci1: 

Re: Mac osX drivers

2008-03-24 Thread perryh
 I know I keep asking about drivers, but what about Mac drivers? I
 understand that Mac osX is based fairly well on BSD, so would the
 drivers be portable?

Last I heard, MacOs X userland was based on FreeBSD but the MacOS X
kernel was Mach.  The part of a driver that deals with the hardware
might be portable, but it doesn't seem so likely for the part that
deals with the OS.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mac osX drivers

2008-03-24 Thread Oliver Herold
Hi

Mac OS X uses a different driver model, I/O kit. It's based on the XNU
kernel (BSD/Mach).

http://www.kernelthread.com/mac/osx/arch_xnu.html

Cheers, Oliver



Da Rock [EMAIL PROTECTED] wrote:
 I know I keep asking about drivers, but what about Mac drivers? I
 understand that Mac osX is based fairly well on BSD, so would the
 drivers be portable?
 
 This is all on a current project I'm working on...
 
 Cheers
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Old men are fond of giving good advice to console
themselves for their inability to set a bad example.
-- La Rochefoucauld, Maxims


pgp13pVVhPG7f.pgp
Description: PGP signature


RE: Mac osX drivers

2008-03-24 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Da Rock
 Sent: Sunday, March 23, 2008 8:26 PM
 To: freebsd-questions@freebsd.org
 Subject: Mac osX drivers
 
 
 I know I keep asking about drivers, but what about Mac drivers? I
 understand that Mac osX is based fairly well on BSD, so would the
 drivers be portable?
 

MacOS X itself is not portable, it only runs on Apple hardware,
for which it contains all needed drivers.

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


RE: Laptop advice

2008-03-24 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Fred C
 Sent: Sunday, March 23, 2008 4:48 PM
 To: Derek Ragona
 Cc: Joe Demeny; freebsd-questions@freebsd.org
 Subject: Re: Laptop advice
 
 
 On Mar 21, 2008, at 6:48 AM, Derek Ragona wrote:
 
  At 04:56 AM 3/21/2008, Joe Demeny wrote:
  I need to get a budget-priced laptop, such as one of these:
 
  http://www.newegg.com/Product/Product.aspx?Item=N82E16834101123
  http://www.newegg.com/Product/Product.aspx?Item=N82E16834114430
 
  Does anyone have experience with these?
 
  Any suggestions for other comparable choices?
 
  I would choose the Toshiba, much better quality and support.  You  
  may want to look at Lenovo's too.
 
  In a laptop I would look at the graphics if you plan to run X.
 
 In laptops you want to look at everything. If one of the chipset is  
 not supported or badly you cannot like on a desktop change a component  
 by an another.
 
 You want to go here http://www.freebsd.org/releases/7.0R/hardware.html  
 and search if every component of you laptop is supported.
 

Unfortunately, it is quite common for laptop vendors to write specs
that use different names than industry standard for the components,
so it is difficult to figure this out in advance.

What you want to do is get yourself a FreeBSD boot CD then go
visit a computer vendor that has display models.  Do not order a
laptop online.  Visit a brick and mortar vendor, and try booting
fbsd on each of the display models.

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


pcm0: primary codec not ready!

2008-03-24 Thread Nikos Vassiliadis
Hi,

  While loading snd_ich, the kernel prints the message on the subject.
I haven't noticed any problems; Is it something to worry about? 
That's on 7-STABLE and the hardware is:
[EMAIL PROTECTED]:0:31:5:   class=0x040100 card=0xe0018086 chip=0x24d58086 
rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '815B104D multimedia audio device (codec AC97) SoundMAX or VIA'
class  = multimedia
subclass   = audio

Any thoughts?

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


Re: Laptop advice

2008-03-24 Thread Matthias Apitz
El día Monday, March 24, 2008 a las 12:29:16AM -0800, Ted Mittelstaedt escribió:

 Unfortunately, it is quite common for laptop vendors to write specs
 that use different names than industry standard for the components,
 so it is difficult to figure this out in advance.
 
 What you want to do is get yourself a FreeBSD boot CD then go
 visit a computer vendor that has display models.  Do not order a
 laptop online.  Visit a brick and mortar vendor, and try booting
 fbsd on each of the display models.

A good way is also to let it boot a Knoppix boot CD / DVD which is able
to detect nearly all hardware used to assemble the laptop. Then take the
/var/log/messages output of this and check it against the FreeBSD
hardware notes.

matthias (running FreeBSD 7.0-R on laptop :-))
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Timezone problem

2008-03-24 Thread Erik Trulsson
On Sun, Mar 23, 2008 at 04:05:39PM -0400, fred wrote:
 Hello everyone,
 
  
 
 First of all, sorry for the terrible English I will do my best, also I don't
 have much programming knowledge only some PHP.
 
  
 
 I am having issues with a software that I run on my FreeBSD server
 (6.2-RELEASE). Here is a simple demonstration of the problem:
 
  
 
 This code:
 
  
 
 // CODE START
 
 #include stdio.h
 
 #include time.h
 
  
 
 int main() {
 
 extern long timezone1;
 
  
 
 tzset();
 
  
 
 printf(timezone is %d\n, timezone);
 
 printf(tzname[0] is %s\n, tzname[0]);
 
 printf(tzname[1] is %s\n, tzname[1]);
 
 return 0;
 
 }
 
 // CODE END
 
  
 
  
 
 Give this result:
 
  
 
 timezone is 134513672
 
 tzname[0] is EST
 
 tzname[1] is EDT
 
  
 
  
 
 The value of timezone should be 14400 which is the difference between my
 timezone (EDT) and UTC in seconds.

What makes you think that that should be the value of 'timezone'?
It should not be.

You have not declared any variable with that name, nor does there exist any
variable with that name in the standard library.
What does exist is a function timezone() (See the timezone(3) manpage for
information on that function. It is not very useful.)
Now, in C a function name all by itself is equivalent to a pointer to that
function.  The value '134513672' you get is simply the value of that pointer.
If you had compiled your programs with all warnings enabled (use -Wall) then
the compiler would have complained that the argument to printf does not
match the format. (%d makes printf expect an integer, but you pass it a
pointer.)

Also, I am not sure that tzset(3) is guaranteed to initialize the tzdata[]
array, nor is tzset(3) all that portable (nor is usage of the tzdata[] array
very portable for that matter.)

A better (as in: working) version of your program would be the following:


#include stdio.h
#include time.h

int main() {

  struct tm *lt;
  time_t t;

  t = time(NULL);
  lt = localtime(t);

  printf(My timezone is %s\n, lt-tm_zone);
  printf(timezone offset is %ld seconds\n, lt-tm_gmtoff);

  return 0;
}


It is still not fully portable (the 'tm_zone' and 'tm_gmtoff' fields are
non-standard extenstions to 'struct tm'), but it makes use only of
documented features of FreeBSD.

A standard compliant solution would be to use localtime(3) in conjunction
with strftime(3), using the %z and %Z formats to strftime.
(The %z format is part of C99, but not of C89, so it will not be supported
by many older compilers.)



 This problem only appeared when we went
 from EST to EDT (daylight saving time) on march 9th. Anyone knows why I am
 getting 134513672 ?
 
  
 
 Here is some more information about my system:
 
  
 
 # date
 
 Sat Mar 22 15:24:42 EDT 2008
 
 # date -u
 
 Sat Mar 22 19:24:45 UTC 2008
 
 # gcc -v
 
 Using built-in specs.
 
 Configured with: FreeBSD/i386 system compiler Thread model: posix gcc
 version 3.4.6 [FreeBSD] 20060305
 
 # uname -a
 
 FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
 
  
 
  
 
 Thank for the help!
 
  
 

-- 
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]


Re: Laptop advice

2008-03-24 Thread Jason P. Thomas

Joe Demeny wrote:

I need to get a budget-priced laptop, such as one of these:

http://www.newegg.com/Product/Product.aspx?Item=N82E16834101123
http://www.newegg.com/Product/Product.aspx?Item=N82E16834114430

Does anyone have experience with these?

Any suggestions for other comparable choices?

  
From personal experience, getting a laptop to work under FreeBSD (or 
even Linux) is a hair pulling experience.  It took me about six months 
of tinkering off and on to get a Broadcom(yuck!) wifi adapter to work in 
my HP laptop last year.  In the interim, I found a work around that was 
about $30.  I purchased a usb wifi adapter that used the rum driver.  At 
the time, I had to run -current to get that particular driver, but I 
never had a problem with the computer or the adapter under -current.  
The most headaches I've gotten with laptops have always involved the 
wifi cards.  Consequently, every laptop I've installed FreeBSD and Linux 
on had a Broadcom(yuck!) wifi chipset.  Everything else has been well 
supported, graphics, sound, power management, pointing devices, and usb 
devices.  I even managed to use FreeBSD to connect to the robots I had 
to use in one of my master's classes last year.  That was pleasantly 
surprising.


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


Re: I'd like some help

2008-03-24 Thread Gerard
On Mon, 24 Mar 2008 12:18:11 +1000
Da Rock [EMAIL PROTECTED] wrote:


 On Sun, 2008-03-23 at 19:51 -0600, Chad Perrin wrote:
  On Sun, Mar 23, 2008 at 09:10:04AM +1000, Da Rock wrote:
   
   On Sat, 2008-03-22 at 14:58 -0700, Matthew Woodson wrote:
I've been learning about a bunch of the BSD OSes, and i want to
try Free BSD, but i can't figure out how to download it and the
instructions don't make sense. I am running Windows XP OS- can
you tell me how to download Free BSD with it?
   
   Go to the download section of the site and download the iso
   files. Once you have those, double click on them and burn them to
   disk.

  Last I checked, the MS Windows built-in CD burning software didn't
  do burning from an image -- you'd need third-party software.
  Burning an ISO without such software would just result in a copy of
  the ISO on the CD, rather than a CD that would boot up an installer.

 Which software were you using and how long ago? I've used Roxio, Nero,
 and Easy CD Creator- all of which did that. Most bundled burning
 software will do it automatically. They offer burn from cd/dvd  image,
 as well as data cd creation, so when you double click on an iso file
 it sets up to burn the image for you.
 
 If you haven't got the bundled software installed I agree with you
 though. Fairly uncommon though.

You can get some free utilities here:

http://www.petri.co.il/how_to_write_iso_files_to_cd.htm


-- 
Gerard
[EMAIL PROTECTED]

The thrill is here, but it won't last long
You'd better have your fun before it moves along...


signature.asc
Description: PGP signature


Tool for managing network settings?

2008-03-24 Thread Niels Kobschaetzki
Hi!

I'm using FreeBSD 7 with XFce and I'm searching a tool for managing
network settings (gui or cli doesn't matter). E.g at home I need a
static IP, at work DHCP on my ethernet-card.
The only tool I found 'til now is a kde-settings tool started through
kcmshell dbsdnetworking but the footprint of that is a little bit too
big for my slow machine.

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


Re: Laptop advice

2008-03-24 Thread Outback Dingo
Id go an ASUS low end or Lenovo, I actually have never had an issue with
FreeBSD on an ASUS, except for built in web cam support, dells are nice but
ive experienced issues with three of them under BSD so ive been avoiding
them. I do have an ASUS W5A and a IBM Z60M Lenovo Thinkpad, both run linux
and BSD fine.

On Mon, Mar 24, 2008 at 4:07 PM, Matthias Apitz [EMAIL PROTECTED]
wrote:

 El día Monday, March 24, 2008 a las 12:29:16AM -0800, Ted Mittelstaedt
 escribió:

  Unfortunately, it is quite common for laptop vendors to write specs
  that use different names than industry standard for the components,
  so it is difficult to figure this out in advance.
 
  What you want to do is get yourself a FreeBSD boot CD then go
  visit a computer vendor that has display models.  Do not order a
  laptop online.  Visit a brick and mortar vendor, and try booting
  fbsd on each of the display models.

 A good way is also to let it boot a Knoppix boot CD / DVD which is able
 to detect nearly all hardware used to assemble the laptop. Then take the
 /var/log/messages output of this and check it against the FreeBSD
 hardware notes.

matthias (running FreeBSD 7.0-R on laptop :-))
 --
 Matthias Apitz
 Manager Technical Support - OCLC GmbH
 Gruenwalder Weg 28g - 82041 Oberhaching - Germany
 t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
 e [EMAIL PROTECTED] - w http://www.oclc.org/
 http://www.UnixArea.de/
 b http://gurucubano.blogspot.com/
 Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
 A: Because it messes up the order in which people normally read text.
 Q: Why is it such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing on Usenet and in e-mail?
 ___
 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: Replacing Windows with FreeBSD (was: my brother is making me learn FreeBSD...)

2008-03-24 Thread Norberto Meijome
On Thu, 20 Mar 2008 18:16:35 +0800 (HKT)
Gelsema, P \(Patrick\) [EMAIL PROTECTED] wrote:

 I do agree that microsoft has the benefit of everything together where you
 will have to install port and port and package to end up with the same
 result.

the problem is that you get 'everything together'  for all values of
'everything' that the MS teams in Redmond came up with. If you need something
slightly different, you either change your requirements, add other software
(MS upgrade , MS-other-product or added value tool from 3rd party) for $$ or
have to contract to a MS solution provider for a fix.

I've been working with OSS for over 13 years and I still haven't come across
something that I couldn't put together with OSS...maybe I am not original
enough..who knows. 

Windows AD , policies,etc are being handled, AFAIK, by current versions of
Samba.I think they are even looking into implementing WMI.

And dont forget WINE as well :)

Nevertheless, you should use whichever tool best solves your problem. It may be
MS, no worries. It may be open source, great. It may be FreeBSD, even better :)

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: Replacing Windows with FreeBSD (was: my brother is making me learn FreeBSD...)

2008-03-24 Thread Robert Huff

Norberto Meijome writes:

  And dont forget WINE as well :)

Respectfully, the list of things WINE will not - by its own
documentation - run and has no expectation of running in the
foreseeable future is immense.  Seasonal example for Americans:
TurboTax. 


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: virtual machine software

2008-03-24 Thread Jim Stapleton
On Sat, Mar 22, 2008 at 11:11 AM, Bruce Cran [EMAIL PROTECTED] wrote:
 Jim Stapleton wrote:
   Sorry, QEmu crashes when I try to boot the CD. Same happens with Bochs.
  
   -Jim Stapleton

  If it crashes with 'Bad system call' make sure you have aio support
  loaded.  I missed it when I recently installed it, but the pkg-message
  does mention it:

  - qemu now uses aio at least for ide dma, so if you get `Invalid system
  call' crashes that is because aio is not (kld)loaded.

  --
  Bruce

I missed that, and as I recall, that was my error. I'll try that once
I'm done rebuilding my system.
Thanks,
-Jim Stapleton
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


splash screen on amd64?

2008-03-24 Thread Omer Faruk Sen
Hi,

Is there a way to use splash screen on amd64 machines? Since whatever I do
it was not possible with 6.3-RELEASE amd64.

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


Re: cvsup will not speak to me :Connection refused

2008-03-24 Thread Lowell Gilbert
Jim Pazarena [EMAIL PROTECTED] writes:

 I have a bank of 8 servers, all which do cvsup regularly for ports.

 I am recently going thru an upgrade to FreeBSD 7.0, and in a cvsup
 with server #5, I get :Connection refused

 I cannot figure out why this machine would be refused, when the other
 4 upgrades to 7.0 work as expected. I use the same routine to do all my 
 cvsuping.

 I thought perhaps the IP # of this machine has been blackballed, so I changed
 it, and I still get refused.

 I run:  cvsup -g -L2 ports-supfile

   I use  cvsup17.us.FreebBSD.org (altho I have tried many incantations 
 cvsup1, 2, etc).

 I receive every time:
 Cannot connect to cvsup17.us.FreeSD.org: Connection refused

 I would appreciate anyone's suggestion on what to try.
 signed: perplexed.

Try netcat or telnet to see what you get when a connections to cvsupd
is initiated...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: instalation problem - unable to find device node

2008-03-24 Thread Lowell Gilbert
Don't top-post, please.

javo [EMAIL PROTECTED] writes:

 of course, I have writen it down and mailed to the conference :)

I asked because there is no such thing as  /dev/x as far as I can
tell.  I thought it might have stood for something else.

 2008/3/22, Lowell Gilbert [EMAIL PROTECTED]:

 javo [EMAIL PROTECTED] writes:

  I'm newbie to FreeBSD, I tried to install it month ago and everything
 was
  OK, freeBSD was the only system running,
 
  later, I've installed windows and gentoo, and I've left space for
 FreBSD,
  now during the instalation I got this error after configuring my disk
  partitions,
 
  unable to find device node for /dev/x in /dev! and instalation won't
  continue


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


Re: splash screen on amd64?

2008-03-24 Thread Pieter de Goeje
On Monday 24 March 2008, Omer Faruk Sen wrote:
 Hi,

 Is there a way to use splash screen on amd64 machines? Since whatever I do
 it was not possible with 6.3-RELEASE amd64.

I believe you need i386 FreeBSD to do that, because options VESA, which 
splash(4) relies on, isn't supported by FreeBSD amd64.

-- 
Pieter de Goeje

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


Re: splash screen on amd64?

2008-03-24 Thread Omer Faruk Sen
Than is there a possibility that we can use to see picture on bootup
(kernel) without using splash (another driver ..) ?

On Mon, Mar 24, 2008 at 4:34 PM, Pieter de Goeje [EMAIL PROTECTED] wrote:

 On Monday 24 March 2008, Omer Faruk Sen wrote:
  Hi,
 
  Is there a way to use splash screen on amd64 machines? Since whatever I
 do
  it was not possible with 6.3-RELEASE amd64.

 I believe you need i386 FreeBSD to do that, because options VESA, which
 splash(4) relies on, isn't supported by FreeBSD amd64.

 --
 Pieter de Goeje


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


Re: make readmes errors

2008-03-24 Thread Lowell Gilbert
fire jotawski [EMAIL PROTECTED] writes:

 my machine is FreeBSD siting.oaep.go.th 7.0-RELEASE FreeBSD 7.0-RELEASE #3:
 Fri Mar  7 03:20:47 ICT 2008
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SITING
 i386
 i try making README.html for all ports but get errors at the last state as

 Creating README.html for all ports
 /usr/ports/Tools/make_readmes : Permission denied
 *** Error code 126

 please help me in makeing readme.html
 thanks in advance for any hints.

Sounds like the user running the command doesn't have permissions to
write into the port directories.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: splash screen on amd64?

2008-03-24 Thread Greg Mars
I could never get this to work either and was wondering if I was doing
something wrong. Thanks for clearing that up.

On Mon, Mar 24, 2008 at 10:50 AM, Omer Faruk Sen [EMAIL PROTECTED] wrote:

 Than is there a possibility that we can use to see picture on bootup
 (kernel) without using splash (another driver ..) ?

 On Mon, Mar 24, 2008 at 4:34 PM, Pieter de Goeje [EMAIL PROTECTED]
 wrote:

  On Monday 24 March 2008, Omer Faruk Sen wrote:
   Hi,
  
   Is there a way to use splash screen on amd64 machines? Since whatever
 I
  do
   it was not possible with 6.3-RELEASE amd64.
 
  I believe you need i386 FreeBSD to do that, because options VESA,
 which
  splash(4) relies on, isn't supported by FreeBSD amd64.
 
  --
  Pieter de Goeje
 
 
 ___
 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]


FreeBSD 7: Xorg Failed to load module neomagic (Module does not exist, 0) No drivers available

2008-03-24 Thread Pedro Alves
Hello

I found this error after making a fresh install of freeBSD7 into my IBM
THINKPAD600 that has a neomagic graphic card. I never had such problems
with FreeBSD 6.3.

Where I find the drivers for the card and how to implement that?

Does this machine is only supported by 6.3?

Thanks

Pedro

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


Re: make readmes errors

2008-03-24 Thread fire jotawski
On Mon, Mar 24, 2008 at 9:58 PM, Lowell Gilbert 
[EMAIL PROTECTED] wrote:

 fire jotawski [EMAIL PROTECTED] writes:

  my machine is FreeBSD siting.oaep.go.th 7.0-RELEASE FreeBSD 7.0-RELEASE#3:
  Fri Mar  7 03:20:47 ICT 2008
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SITING
  i386
  i try making README.html for all ports but get errors at the last state
 as
 
  Creating README.html for all ports
  /usr/ports/Tools/make_readmes : Permission denied
  *** Error code 126
 
  please help me in makeing readme.html
  thanks in advance for any hints.

 Sounds like the user running the command doesn't have permissions to
 write into the port directories.



no sirs, i use root account for running that command.  anywym i try running
again with user root.

thanks for your time

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


Re: I'd like some help

2008-03-24 Thread Jerry McAllister
On Sat, Mar 22, 2008 at 02:58:24PM -0700, Matthew Woodson wrote:

 I've been learning about a bunch of the BSD OSes, and i want to try Free 
 BSD, but i can't figure out how to download it and the instructions don't 
 make sense. I am running Windows XP OS- can you tell me how to download 
 Free BSD with it?

Well, you generally want an ftp client.  Use it to ftp to:
  ftp.freebsd.org

Use 'anonymous' for login id  and your email address for password.

From there cd to pub/FreeBSD/releases   (NOTE that case is significant)

At this point, you need to know the type of machine.  It is most
likely i386  or amd64.   amd64 is for the AMD64 processor.  i386 is for
all of the regular INTEL type processors that regular PCs use and your
most likely choice.

So, cd to i386and thenISO-IMAGES

Then you have to select the version.
I would suggest starting with 7.0

cd cd to  7.0

So that ends you up in:

  pub/FreeBSD/releases/i386/ISO-IMAGES/7.0

Then download the necessary ISOs.


If you have a reasonable internet connection, you can install over
the net.   That is really the best if you can do it.

In that case, you only need the file  7.0-RELEASE-i386-disc1.ISO

If you hav a slow or unreliable network connection, then you may
also need disc2 and even disc3.   They have the ports' source code
on them.

Presuming disc1 is good enough,

burn the file to a cd.   Note that the file is already an ISO and
doesn't need to be converted.   It needs to be burned as a raw file
to the CD.   Some cd burner utilities make this a bit confusing.
Each is a little different.


You now need to decide how to divide the hard disk and if you will be
putting only FreeBSD on the harddisk or sharing one with some other
OS such as something from Microsloth (called dual booting).

In any case, you have to have a slice dedicated to FreeBSD.   
Note that FreeBSD UNIX uses the term slice but Microsloth uses the
term 'primary partition' to refer to a slice.   The UNIX slice and
the MS primary partition are essentially the same and are compatible.

In BSD, a slice is further divided in to 'partitions'.  Microsloth uses 
'extended partitions'.  But those MS extended partitions are completely
different and incompatible with UNIX partitions.

If you are sharing a disk, you will need to use some utility to
shrink the existing disk allocation to make room for FreeBSD.

Only 4 slices/primary partitions (names 1..4) are allowed on a disk in 
current systems.   Typically a major vendor puts some proprietary diagnostic 
and hardware utilities in the first [small] slice and marks it hidden.  
Hidden is only meaningful to Microsloth systems.  It remains visible to UNIX.

Then they put the MS OS (XP or whatever) on slice 2 and make that slice
contain all the rest of the disk, leaving slice 3 and slice 4 empty
and unused.So, to fit FreeBSD on the disk, it becomes necessary to
shrink that slice 2 to free up some space to allocate to another slice - 
most likely slice-3.

I have used a commercial utility called Partition Magic successfully
in the past to manipulate the slices and make room.   That was with
a version 7.0 of PM which was put out by a company called Power Quest.
But, it got sold and the new owner put a version 8.0 which has not
been as successful as far as I can see.  I tried to use it to slice a
USB disk and it would not talk to it, even though its promotional 
literature made a special point of advertising it would.  So, I returned
it for a refund.

In consequence I get a utility called Gparted, made the boot floppy and
was quite successful with using it to manipulate the disk.  Just do a
little search with google and find it and download it.  It works fine.
There are some other freeware utilities out there, but most will not
work with the NTFS type Microsloth filesystem which is common nowdays.
So, check on that.   Gparted seems to handle it OK.

Anyway, lets say you carve out a nice 40 GB of disk for FreeBSD and that
is in slice 3 - a common circumstance.If you have a whole disk to
decicate to FreeBSD the rest of this applies.  You just don't need to
go through the gyrations to make room on a shared disk and the disk name
is slightly different - probably ad1 instead of ad0.

Once you have space on the disk to fit FreeBSD, then boot up the 
FreeBSD install CD.  Choose the appropriate location to do the install.
That will probably be  ad0s1  if you are making FreeBSD the only OS on the
machine or  ad0s3  of a shared drive or  ad1s1  of a dedicated second drive.

Choose that and then divide the slice as needed/desired.   This becomes
almost a religious issue and there are many reasons for doing it many 
different ways.   The main ideas are:   use a single partition, plus swap,
or choose the defauly divisions, or a newer division scheme that takes
in to consideration that sizes have grown in recent years.

Note, the rule of thumb for swap is 2.2 X the RAM size, but some people
use more or less of swap.  There are 

problems with automake110

2008-03-24 Thread Matthias Apitz

Hello,

I want to port some application (Ekiga) directly from their SVN to
FreeBSD 7.0R which is using

$ ./autogen.sh --with-pwlib-dir=/usr/local 

to generate the configure / Makefiles and which fails; the problem seems
to be that 'aclocal' or some of the M4 macros used are not working as
they should:

$ LANG=C aclocal --dry-run
/usr/local/share/aclocal/smpeg.m4:13: warning: underquoted definition of 
AM_PATH_SMPEG
/usr/local/share/aclocal/smpeg.m4:13:   run info '(automake)Extending aclocal'
/usr/local/share/aclocal/smpeg.m4:13:   or see 
http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/local/bin/gm4:/usr/local/share/aclocal/pilot-link.m4:1: ERROR: end of file 
in string
autom4te-2.61: /usr/local/bin/gm4 failed with exit status: 1
aclocal-1.10: autom4te failed with exit status: 1
$

Maybe something is mixed up in the various versions which have been
installed by all the ports:

$ pkg_info | fgrep automake
automake-1.10_3 GNU Standards-compliant Makefile generator (1.10)
automake-1.4.6_4GNU Standards-compliant Makefile generator (1.4)
automake-1.5_4,1GNU Standards-compliant Makefile generator (1.5)
automake-1.6.3  GNU Standards-compliant Makefile generator (1.6)
automake-1.7.9  GNU Standards-compliant Makefile generator (1.7)
automake-1.8.5  GNU Standards-compliant Makefile generator (1.8)
automake-1.9.6_2GNU Standards-compliant Makefile generator (1.9)
automake-wrapper-20071109 Wrapper script for GNU automake
gnome-common-2.20.0 Common automake macros for GNOME and GNOME 2

Could someone pls give me an idea how to solve this? Thx in advance

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mx1.freebsd.org timeout

2008-03-24 Thread Erik Norgaard

Hi:

I have a problem writing to this list from my usual address, my 
server logs a timeout:


Mar 24 17:21:27 mimer postfix/smtp[18002]: connect to 
mx1.freebsd.org[69.147.83.52]: Operation timed out (port 25)
Mar 24 17:21:27 mimer postfix/smtp[18002]: 375051C0847: 
to=freebsd-questions@freebsd.org, relay=none, delay=25112, 
delays=25082/0.14/30/0, dsn=4.4.1, status=deferred (connect to 
mx1.freebsd.org[69.147.83.52]: Operation timed out)


I have no problems recieving mail,  and I have no problem sending 
mail to other addresses. I recall that mail to lists should go to 
mx2.


Can this be a problem caused by ipv6 (which I don't have)? how do 
I solve this? in resolv.conf I have nameserver 127.0.0.1, I run my 
own dns with ipv4 upstream forwarders (ISP).


Thanks, Erik


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


Re: I'd like some help

2008-03-24 Thread Christian Zachariasen
On Windows, I can really recommend the freeware burner program CDBurnerXP:

http://cdburnerxp.se/

Christian Zachariasen

On Mon, Mar 24, 2008 at 5:05 PM, Jerry McAllister [EMAIL PROTECTED] wrote:

 On Sat, Mar 22, 2008 at 02:58:24PM -0700, Matthew Woodson wrote:

  I've been learning about a bunch of the BSD OSes, and i want to try Free
  BSD, but i can't figure out how to download it and the instructions
 don't
  make sense. I am running Windows XP OS- can you tell me how to download
  Free BSD with it?

 Well, you generally want an ftp client.  Use it to ftp to:
  ftp.freebsd.org

 Use 'anonymous' for login id  and your email address for password.

 From there cd to pub/FreeBSD/releases   (NOTE that case is
 significant)

 At this point, you need to know the type of machine.  It is most
 likely i386  or amd64.   amd64 is for the AMD64 processor.  i386 is for
 all of the regular INTEL type processors that regular PCs use and your
 most likely choice.

 So, cd to i386and thenISO-IMAGES

 Then you have to select the version.
 I would suggest starting with 7.0

 cd cd to  7.0

 So that ends you up in:

  pub/FreeBSD/releases/i386/ISO-IMAGES/7.0

 Then download the necessary ISOs.


 If you have a reasonable internet connection, you can install over
 the net.   That is really the best if you can do it.

 In that case, you only need the file  7.0-RELEASE-i386-disc1.ISO

 If you hav a slow or unreliable network connection, then you may
 also need disc2 and even disc3.   They have the ports' source code
 on them.

 Presuming disc1 is good enough,

 burn the file to a cd.   Note that the file is already an ISO and
 doesn't need to be converted.   It needs to be burned as a raw file
 to the CD.   Some cd burner utilities make this a bit confusing.
 Each is a little different.


 You now need to decide how to divide the hard disk and if you will be
 putting only FreeBSD on the harddisk or sharing one with some other
 OS such as something from Microsloth (called dual booting).

 In any case, you have to have a slice dedicated to FreeBSD.
 Note that FreeBSD UNIX uses the term slice but Microsloth uses the
 term 'primary partition' to refer to a slice.   The UNIX slice and
 the MS primary partition are essentially the same and are compatible.

 In BSD, a slice is further divided in to 'partitions'.  Microsloth uses
 'extended partitions'.  But those MS extended partitions are completely
 different and incompatible with UNIX partitions.

 If you are sharing a disk, you will need to use some utility to
 shrink the existing disk allocation to make room for FreeBSD.

 Only 4 slices/primary partitions (names 1..4) are allowed on a disk in
 current systems.   Typically a major vendor puts some proprietary
 diagnostic
 and hardware utilities in the first [small] slice and marks it hidden.
 Hidden is only meaningful to Microsloth systems.  It remains visible to
 UNIX.

 Then they put the MS OS (XP or whatever) on slice 2 and make that slice
 contain all the rest of the disk, leaving slice 3 and slice 4 empty
 and unused.So, to fit FreeBSD on the disk, it becomes necessary to
 shrink that slice 2 to free up some space to allocate to another slice -
 most likely slice-3.

 I have used a commercial utility called Partition Magic successfully
 in the past to manipulate the slices and make room.   That was with
 a version 7.0 of PM which was put out by a company called Power Quest.
 But, it got sold and the new owner put a version 8.0 which has not
 been as successful as far as I can see.  I tried to use it to slice a
 USB disk and it would not talk to it, even though its promotional
 literature made a special point of advertising it would.  So, I returned
 it for a refund.

 In consequence I get a utility called Gparted, made the boot floppy and
 was quite successful with using it to manipulate the disk.  Just do a
 little search with google and find it and download it.  It works fine.
 There are some other freeware utilities out there, but most will not
 work with the NTFS type Microsloth filesystem which is common nowdays.
 So, check on that.   Gparted seems to handle it OK.

 Anyway, lets say you carve out a nice 40 GB of disk for FreeBSD and that
 is in slice 3 - a common circumstance.If you have a whole disk to
 decicate to FreeBSD the rest of this applies.  You just don't need to
 go through the gyrations to make room on a shared disk and the disk name
 is slightly different - probably ad1 instead of ad0.

 Once you have space on the disk to fit FreeBSD, then boot up the
 FreeBSD install CD.  Choose the appropriate location to do the install.
 That will probably be  ad0s1  if you are making FreeBSD the only OS on the
 machine or  ad0s3  of a shared drive or  ad1s1  of a dedicated second
 drive.

 Choose that and then divide the slice as needed/desired.   This becomes
 almost a religious issue and there are many reasons for doing it many
 different ways.   The main ideas are:   use a single 

Daemon Daily News

2008-03-24 Thread Scott T. Hildreth
Anyone know what happened to bsdnews.org?  The site has been down
for several days now.

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


Re: Daemon Daily News

2008-03-24 Thread Scott T. Hildreth

whoops, I meant bsdnews.com and not .org

On Mon, 2008-03-24 at 12:19 -0500, Scott T. Hildreth wrote:
 Anyone know what happened to bsdnews.org?  The site has been down
 for several days now.
 
   Thanks,
  STH
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fault tolerance with FreeBSD for old DOS app

2008-03-24 Thread Ivailo Bonev
I want advice for old DOS app on Windows PC, that I need to make on 2 PC-s 
fault tolerant. Any advice for working solution on FreeBSD?


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


Fw: fault tolerance with FreeBSD for old DOS app

2008-03-24 Thread Ivailo Bonev

Sorry, double posting...

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


Re: fault tolerance with FreeBSD for old DOS app

2008-03-24 Thread Chuck Swiger

On Mar 24, 2008, at 10:40 AM, Ivailo Bonev wrote:
I want advice for old DOS app on Windows PC, that I need to make on  
2 PC-s fault tolerant. Any advice for working solution on FreeBSD?


Sure.  Tell us what the app you want to run does, and we might be able  
to give you advice on fault-tolerant alternatives on FreeBSD.  You  
might find emulators/doscmd port usable for your circumstance, also...


--
-Chuck

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


Re: I'd like some help

2008-03-24 Thread James Harrison
On Mon, 2008-03-24 at 18:03 +0100, Christian Zachariasen wrote:
 On Windows, I can really recommend the freeware burner program CDBurnerXP:
 
 http://cdburnerxp.se/

 Christian Zachariasen
 

On Windows XP, I usuall recommend infrarecorder:

http://infrarecorder.sourceforge.net/

It's a nice FOSS CD burning application.


James
 On Mon, Mar 24, 2008 at 5:05 PM, Jerry McAllister [EMAIL PROTECTED] wrote:
 
  On Sat, Mar 22, 2008 at 02:58:24PM -0700, Matthew Woodson wrote:
 
   I've been learning about a bunch of the BSD OSes, and i want to try Free
   BSD, but i can't figure out how to download it and the instructions
  don't
   make sense. I am running Windows XP OS- can you tell me how to download
   Free BSD with it?
 
  Well, you generally want an ftp client.  Use it to ftp to:
   ftp.freebsd.org
 
  Use 'anonymous' for login id  and your email address for password.
 
  From there cd to pub/FreeBSD/releases   (NOTE that case is
  significant)
 
  At this point, you need to know the type of machine.  It is most
  likely i386  or amd64.   amd64 is for the AMD64 processor.  i386 is for
  all of the regular INTEL type processors that regular PCs use and your
  most likely choice.
 
  So, cd to i386and thenISO-IMAGES
 
  Then you have to select the version.
  I would suggest starting with 7.0
 
  cd cd to  7.0
 
  So that ends you up in:
 
   pub/FreeBSD/releases/i386/ISO-IMAGES/7.0
 
  Then download the necessary ISOs.
 
 
  If you have a reasonable internet connection, you can install over
  the net.   That is really the best if you can do it.
 
  In that case, you only need the file  7.0-RELEASE-i386-disc1.ISO
 
  If you hav a slow or unreliable network connection, then you may
  also need disc2 and even disc3.   They have the ports' source code
  on them.
 
  Presuming disc1 is good enough,
 
  burn the file to a cd.   Note that the file is already an ISO and
  doesn't need to be converted.   It needs to be burned as a raw file
  to the CD.   Some cd burner utilities make this a bit confusing.
  Each is a little different.
 
 
  You now need to decide how to divide the hard disk and if you will be
  putting only FreeBSD on the harddisk or sharing one with some other
  OS such as something from Microsloth (called dual booting).
 
  In any case, you have to have a slice dedicated to FreeBSD.
  Note that FreeBSD UNIX uses the term slice but Microsloth uses the
  term 'primary partition' to refer to a slice.   The UNIX slice and
  the MS primary partition are essentially the same and are compatible.
 
  In BSD, a slice is further divided in to 'partitions'.  Microsloth uses
  'extended partitions'.  But those MS extended partitions are completely
  different and incompatible with UNIX partitions.
 
  If you are sharing a disk, you will need to use some utility to
  shrink the existing disk allocation to make room for FreeBSD.
 
  Only 4 slices/primary partitions (names 1..4) are allowed on a disk in
  current systems.   Typically a major vendor puts some proprietary
  diagnostic
  and hardware utilities in the first [small] slice and marks it hidden.
  Hidden is only meaningful to Microsloth systems.  It remains visible to
  UNIX.
 
  Then they put the MS OS (XP or whatever) on slice 2 and make that slice
  contain all the rest of the disk, leaving slice 3 and slice 4 empty
  and unused.So, to fit FreeBSD on the disk, it becomes necessary to
  shrink that slice 2 to free up some space to allocate to another slice -
  most likely slice-3.
 
  I have used a commercial utility called Partition Magic successfully
  in the past to manipulate the slices and make room.   That was with
  a version 7.0 of PM which was put out by a company called Power Quest.
  But, it got sold and the new owner put a version 8.0 which has not
  been as successful as far as I can see.  I tried to use it to slice a
  USB disk and it would not talk to it, even though its promotional
  literature made a special point of advertising it would.  So, I returned
  it for a refund.
 
  In consequence I get a utility called Gparted, made the boot floppy and
  was quite successful with using it to manipulate the disk.  Just do a
  little search with google and find it and download it.  It works fine.
  There are some other freeware utilities out there, but most will not
  work with the NTFS type Microsloth filesystem which is common nowdays.
  So, check on that.   Gparted seems to handle it OK.
 
  Anyway, lets say you carve out a nice 40 GB of disk for FreeBSD and that
  is in slice 3 - a common circumstance.If you have a whole disk to
  decicate to FreeBSD the rest of this applies.  You just don't need to
  go through the gyrations to make room on a shared disk and the disk name
  is slightly different - probably ad1 instead of ad0.
 
  Once you have space on the disk to fit FreeBSD, then boot up the
  FreeBSD install CD.  Choose the appropriate location to do the install.
  That will probably be  ad0s1  if you are 

Where to rent the best dedicated servers?

2008-03-24 Thread Kyrre Nygård
Sorry, I really don't know where else to ask.

I've been using Staminus for a while now and I've had it with the downtime.

Basically I want a place to host my Ruby on Rails / Git projects, an IRC server 
as well as an internet radio channel.

Simple website / control panel design is ofcourse a plus. None of that cpanel 
bullshit though, I prefer to meddle around with simple text files the way it's 
meant to be done.

So, layeredtech.com? rackspace.com?

And is there a place that reviews dedicated server providers?

Thanks,
Kyrre

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


Re: Where to rent the best dedicated servers?

2008-03-24 Thread Beech Rintoul
On Monday 24 March 2008, Kyrre Nygård said:
 Sorry, I really don't know where else to ask.

 I've been using Staminus for a while now and I've had it with the
 downtime.

 Basically I want a place to host my Ruby on Rails / Git projects,
 an IRC server as well as an internet radio channel.

 Simple website / control panel design is ofcourse a plus. None of
 that cpanel bullshit though, I prefer to meddle around with simple
 text files the way it's meant to be done.

 So, layeredtech.com? rackspace.com?

 And is there a place that reviews dedicated server providers?

 Thanks,
 Kyrre

Check out www.rootbsd.net, they support the FreeBSD project and use 
FreeBSD servers.

Beech


-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/7.0R/announce.html
---



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


Re: Where to rent the best dedicated servers?

2008-03-24 Thread Kyrre Nygård
Nah, actually, the website design (which can be used as a measure for the 
qualities of the rest of its services) kinda put me off.

The environment in which products and services are sold often have a greater 
impact than the products or services themselves. --designcouncil.org.uk

Kyrre

- Original Message -
From: Beech Rintoul [EMAIL PROTECTED]
Date: Tuesday, March 25, 2008 2:26 am
Subject: Re: Where to rent the best dedicated servers?
To: freebsd-questions@freebsd.org
Cc: Kyrre Nygård [EMAIL PROTECTED]

 On Monday 24 March 2008, Kyrre Nygård said:
  Sorry, I really don't know where else to ask.
 
  I've been using Staminus for a while now and I've had it with the
  downtime.
 
  Basically I want a place to host my Ruby on Rails / Git projects,
  an IRC server as well as an internet radio channel.
 
  Simple website / control panel design is ofcourse a plus. None of
  that cpanel bullshit though, I prefer to meddle around with simple
  text files the way it's meant to be done.
 
  So, layeredtech.com? rackspace.com?
 
  And is there a place that reviews dedicated server providers?
 
  Thanks,
  Kyrre
 
 Check out www.rootbsd.net, they support the FreeBSD project and 
 use 
 FreeBSD servers.
 
 Beech
 
 
 -- 
 -
 --
 Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
 /\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
 \ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
  X  - NO Word docs in e-mail | Latest Release:
 / \  - http://www.FreeBSD.org/releases/7.0R/announce.html
 -
 --
 
 
 
 ___
 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: Daemon Daily News

2008-03-24 Thread Mikel King

Scott,

	Yes. There are hardware issues, and it is being addressed. I do  
apologize for any inconvenience, we will have things back online as  
soon as possible.


Cheers,
Mikel King
CEO, Olivent Technologies
Senior Editor, Daemon News
6 Alpine Court
Medford, NY 11763
http://www.olivent.com
http://www.daemonnews.org
skype: mikel.king
+--+
How do you spell cooperation? Pessimists use
each other, but optimists help each other.
Collaboration feeds your spirit, while
competition only stokes your ego. You'll
find the best way to get along.
+--+



On Mar 24, 2008, at 1:23 PM, Scott T. Hildreth wrote:



whoops, I meant bsdnews.com and not .org

On Mon, 2008-03-24 at 12:19 -0500, Scott T. Hildreth wrote:

Anyone know what happened to bsdnews.org?  The site has been down
for several days now.

  Thanks,
 STH

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


e-mail processing in C

2008-03-24 Thread Robert Huff

I need to write a quick and not-too-dirty C program to process
some e-mail.  (Including dealing with mbox files.)
Is there a standard library to do this?
Respectfully,


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: Where to rent the best dedicated servers?

2008-03-24 Thread Kyrre Nygård
This looks professional indeed...

Thanks a lot for the great advice man :)

Kyrre

- Original Message -
From: Patrick C [EMAIL PROTECTED]
Date: Tuesday, March 25, 2008 2:27 am
Subject: Re: Where to rent the best dedicated servers?
To: Kyrre Nygård [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]

 Guys, careful on the reply to all on this message :-)
 
 If you're looking for FreeBSD hosting, I have had very good 
 luck with m5hosting.com. It's a small company but they host 
 in a very nice datacenter with good connectivity, and their 
 support is awesome. The owner (Mike) is very knowledgeable with 
 *BSD and is one of the few hosts to offer FreeBSD, OpenBSD, and 
 Ubuntu dedicated servers. I can highly recommend them.
 
 
 We migrated all our hosting needs from Rackspace to our own 
 equipment at Quality (Globix) and have never looked back. There 
 have been some recent high-profile outages but their reliability 
 is still very good, we just found that it was much cheaper to 
 host ourselves especially when we looked at adding additional 
 equipment for redundancy like load balancers. If you don't 
 need managed hosting I don't see any place for Rackspace.
 
 
 I also have a personal FreeBSD box with The Planet, things have 
 gotten more professional there (ev1) since becoming The Planet 
 and it's a decent host.
 
 -Patrick
 
 On 24/03/2008, Kyrre Nygård [EMAIL PROTECTED] wrote:
 Sorry, I really don't know where else to ask.
 
 I've been using Staminus for a while now and I've had it with the downtime.
 
 Basically I want a place to host my Ruby on Rails / Git projects, an IRC 
 server as well as an internet radio channel.
 
 
 Simple website / control panel design is ofcourse a plus. None of that cpanel 
 bullshit though, I prefer to meddle around with simple text files the way 
 it's meant to be done.
 
 So, layeredtech.com? rackspace.com?
 
 
 And is there a place that reviews dedicated server providers?
 
 Thanks,
 Kyrre
 
 ___
 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: Where to rent the best dedicated servers?

2008-03-24 Thread Catalin Miclaus
I have several FreeBSD machines rented from NTT Verio in London.
I'm accessing them remotely with SSH and there is also a control-panel option 
available.
Check if this is suitable for you.








BR,
 
Catalin Miclaus
Senior Network/Security Administrator
Starcomms Ltd.
www.starcomms.com

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Beech Rintoul
Sent: Monday, March 24, 2008 7:26 PM
To: freebsd-questions@freebsd.org
Cc: Kyrre Nygård
Subject: Re: Where to rent the best dedicated servers?

On Monday 24 March 2008, Kyrre Nygård said:
 Sorry, I really don't know where else to ask.

 I've been using Staminus for a while now and I've had it with the
 downtime.

 Basically I want a place to host my Ruby on Rails / Git projects,
 an IRC server as well as an internet radio channel.

 Simple website / control panel design is ofcourse a plus. None of
 that cpanel bullshit though, I prefer to meddle around with simple
 text files the way it's meant to be done.

 So, layeredtech.com? rackspace.com?

 And is there a place that reviews dedicated server providers?

 Thanks,
 Kyrre

Check out www.rootbsd.net, they support the FreeBSD project and use 
FreeBSD servers.

Beech


-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/7.0R/announce.html
---



___
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: Fork bomb immune to limits for user.

2008-03-24 Thread Michal Garbowski

   Hello,
   Did You start start program via screen -m -d -s ~/kaboom ? This is
   important here.
   And I want ask You, how you can stop screen -m -d -s ~/kaboom via
   ctrl+c ? It's impossible with that bomb. (number of PIDs is going to
   infinity, you can't find that one 'root pid', which will kill all
   children).
   Regards...
   Bill Moran wrote:

Michal Garbowski [1][EMAIL PROTECTED] wrote:


Hello,

I've the question, to the bug report:
[2]http://www.freebsd.org/cgi/query-pr.cgi?pr=121949 .

Is there any limit, (which I didn't wrote in PR), which can stop gives
memory for user (not root) in fBSD ?


Can't help you much here because I can't reproduce the problem.  I compiled
your program and ran it and I was still able to use the system just fine
as it was scrolling numbers past.  I was also able to CTRL-C the program
from the terminal and it stopped without any problems.  Nor did I see
any unusual memory usage.



   --
   Asy i Cieniasy pilkarskiej ekstraklasy
   kliknij  [3]http://link.interia.pl/f1d27

References

   1. mailto:[EMAIL PROTECTED]
   2. http://www.freebsd.org/cgi/query-pr.cgi?pr=121949
   3. http://link.interia.pl/f1d27
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: e-mail processing in C

2008-03-24 Thread Chuck Swiger

On Mar 24, 2008, at 11:32 AM, Robert Huff wrote:

I need to write a quick and not-too-dirty C program to process
some e-mail.  (Including dealing with mbox files.)
Is there a standard library to do this?


You probably want to invoke formail, which is part of the mail/ 
procmail port.


--
-Chuck

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


Re: Where to rent the best dedicated servers?

2008-03-24 Thread Bill Moran
In response to Kyrre Nygård [EMAIL PROTECTED]:

 Sorry, I really don't know where else to ask.
 
 I've been using Staminus for a while now and I've had it with the downtime.
 
 Basically I want a place to host my Ruby on Rails / Git projects, an IRC 
 server as well as an internet radio channel.
 
 Simple website / control panel design is ofcourse a plus. None of that cpanel 
 bullshit though, I prefer to meddle around with simple text files the way 
 it's meant to be done.
 
 So, layeredtech.com? rackspace.com?

pair.com ?

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


Re: Where to rent the best dedicated servers?

2008-03-24 Thread Patrick C
Guys, careful on the reply to all on this message :-)

If you're looking for FreeBSD hosting, I have had very good luck with
m5hosting.com. It's a small company but they host in a very nice datacenter
with good connectivity, and their support is awesome. The owner (Mike) is
very knowledgeable with *BSD and is one of the few hosts to offer FreeBSD,
OpenBSD, and Ubuntu dedicated servers. I can highly recommend them.

We migrated all our hosting needs from Rackspace to our own equipment at
Quality (Globix) and have never looked back. There have been some recent
high-profile outages but their reliability is still very good, we just found
that it was much cheaper to host ourselves especially when we looked at
adding additional equipment for redundancy like load balancers. If you don't
need managed hosting I don't see any place for Rackspace.

I also have a personal FreeBSD box with The Planet, things have gotten more
professional there (ev1) since becoming The Planet and it's a decent host.

-Patrick

On 24/03/2008, Kyrre Nygård [EMAIL PROTECTED] wrote:

 Sorry, I really don't know where else to ask.

 I've been using Staminus for a while now and I've had it with the
 downtime.

 Basically I want a place to host my Ruby on Rails / Git projects, an IRC
 server as well as an internet radio channel.

 Simple website / control panel design is ofcourse a plus. None of that
 cpanel bullshit though, I prefer to meddle around with simple text files the
 way it's meant to be done.

 So, layeredtech.com? rackspace.com?

 And is there a place that reviews dedicated server providers?

 Thanks,
 Kyrre

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


possible bug in mysql-server.sh

2008-03-24 Thread Matias Surdi

Hi.

I've installed from ports mysql-server-5.0.45_1  on FreeBSD 7.0 and see 
what happens:


# /usr/local/etc/rc.d/mysql-server start
Starting mysql.
[EMAIL PROTECTED] ~]$ #I will hit now CTRL+D
[EMAIL PROTECTED] ~]$ exit
[EMAIL PROTECTED] ~]#



So, a shell from the user mysql is started, and boot process Doesn't 
continue till y logout that shell..


¿What's happenning? ¿Any idea?


Thanks a lot.


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


Email processing in Python (was: e-mail processing in C)

2008-03-24 Thread Giorgos Keramidas
On Mon, 24 Mar 2008 14:32:02 -0400, Robert Huff [EMAIL PROTECTED] wrote:
 I need to write a quick and not-too-dirty C program to process some
 e-mail.  (Including dealing with mbox files.)

 Is there a standard library to do this?  Respectfully,

No, there's no library for `email processing' in the C standard.  You
can probably find a lot of non-standard ones, by Googling however :)

It's worth writing that plain C is the wrong language for this sort of
thing, if you ask me.  There are excellent high-level libraries in Perl,
and Python to do this sort of thing.  Email processing is going to
require a log of string processing, and C is notoriously 'tricky' for
this sort of thing.

As an example of the expressiveness of using a higher level language,
you can display the authors of all the messages in a UNIX mailbox with
the following short Python script:

import mailbox
m = mailbox.mbox('/home/keramida/mbox')
for message in m:
author = m['from]
print author

This is not just a `readable pseudo-code-like example'.  It's *real*
Python code, that you can run _now_ in your Python shell.

To perform a similar task in plain C you will need several dozens of
lines of code, and it won't necessarily be as readable.  It _may_ be
faster, in some cases, but it will probably won't be as 'safe'.

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


Re: e-mail processing in C

2008-03-24 Thread Dan Nelson
In the last episode (Mar 24), Robert Huff said:
 
   I need to write a quick and not-too-dirty C program to process
 some e-mail.  (Including dealing with mbox files.)
   Is there a standard library to do this?

You can use the c-client library for this; it's what the pine email
client uses.  

http://www.washington.edu/imap/documentation/internal.txt.html lists
all the functions available, and I believe there are sample programs in
the imap-uw source package that demonstrate how to read and write
messages to mailboxes.

-- 
Dan Nelson
[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: Email processing in Python (was: e-mail processing in C)

2008-03-24 Thread Patrick C
Searching real quick shows the existence of both libmime and libmbox...
don't know if they're maintained. Another option would be to dig out the
associated code in pine, elm, or whatnot. See how they access mail.

-Patrick

On 24/03/2008, Giorgos Keramidas [EMAIL PROTECTED] wrote:

 On Mon, 24 Mar 2008 14:32:02 -0400, Robert Huff [EMAIL PROTECTED]
 wrote:
  I need to write a quick and not-too-dirty C program to process some
  e-mail.  (Including dealing with mbox files.)
 
  Is there a standard library to do this?  Respectfully,

 No, there's no library for `email processing' in the C standard.  You
 can probably find a lot of non-standard ones, by Googling however :)

 It's worth writing that plain C is the wrong language for this sort of
 thing, if you ask me.  There are excellent high-level libraries in Perl,
 and Python to do this sort of thing.  Email processing is going to
 require a log of string processing, and C is notoriously 'tricky' for
 this sort of thing.

 As an example of the expressiveness of using a higher level language,
 you can display the authors of all the messages in a UNIX mailbox with
 the following short Python script:

 import mailbox
 m = mailbox.mbox('/home/keramida/mbox')
 for message in m:
 author = m['from]
 print author

 This is not just a `readable pseudo-code-like example'.  It's *real*
 Python code, that you can run _now_ in your Python shell.

 To perform a similar task in plain C you will need several dozens of
 lines of code, and it won't necessarily be as readable.  It _may_ be
 faster, in some cases, but it will probably won't be as 'safe'.

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


Email processing in Python (was: e-mail processing in C)

2008-03-24 Thread Robert Huff
Giorgos Keramidas writes:

  No, there's no library for `email processing' in the C standard.  You
  can probably find a lot of non-standard ones, by Googling however :)
  
  It's worth writing that plain C is the wrong language for this
  sort of thing, if you ask me.  There are excellent high-level
  libraries in Perl, and Python to do this sort of thing.

On one hand, that's probably true.
On the other hand: I know zero Python and this much   Perl.
I tried Perl, actually, and couldn't find the functions I needed.
(Plus the documemtation was aimed at a more experienced audience.)
I can fumble my way around a decent C packagei less time ad with
less hair-rending.
I do have the advantage I know more-or-less exactly what the
message will look like.


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: Email processing in Python (was: e-mail processing in C)

2008-03-24 Thread Erwan David
Le Mon 24/03/2008, Patrick C disait
 Searching real quick shows the existence of both libmime and libmbox...
 don't know if they're maintained. Another option would be to dig out the
 associated code in pine, elm, or whatnot. See how they access mail.
 
 -Patrick

libPAN (or is it libEtPAN ?) is also a C library for mail processing

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


Re: Email processing in Python

2008-03-24 Thread Giorgos Keramidas
On Mon, 24 Mar 2008 15:12:03 -0400, Robert Huff [EMAIL PROTECTED] wrote:
Giorgos Keramidas writes:
 No, there's no library for `email processing' in the C standard.  You
 can probably find a lot of non-standard ones, by Googling however :)

 It's worth writing that plain C is the wrong language for this
 sort of thing, if you ask me.  There are excellent high-level
 libraries in Perl, and Python to do this sort of thing.

 On one hand, that's probably true.

 On the other hand: I know zero Python and this much   Perl.  I tried
 Perl, actually, and couldn't find the functions I needed.

Heh, fair enough.  It may be a good chance to start learning Python
though.  It's always a lot more fun to have a *real* task to do, instead
of fictional `exercises'.

I have written a few Python scripts to process email myself, so if you
decide to go that route, please feel free to show me what you've done,
describe what you want to do, and I will try to help as much as I can.

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


Re: Email processing in Python

2008-03-24 Thread Bill Campbell
On Mon, Mar 24, 2008, Giorgos Keramidas wrote:
On Mon, 24 Mar 2008 15:12:03 -0400, Robert Huff [EMAIL PROTECTED] wrote:
Giorgos Keramidas writes:
 No, there's no library for `email processing' in the C standard.  You
 can probably find a lot of non-standard ones, by Googling however :)

 It's worth writing that plain C is the wrong language for this
 sort of thing, if you ask me.  There are excellent high-level
 libraries in Perl, and Python to do this sort of thing.

 On one hand, that's probably true.

 On the other hand: I know zero Python and this much   Perl.  I tried
 Perl, actually, and couldn't find the functions I needed.

Heh, fair enough.  It may be a good chance to start learning Python
though.  It's always a lot more fun to have a *real* task to do, instead
of fictional `exercises'.


Python has quite a few routines that handle e-mail which are well
documented in the Python Library Reference:

http://docs.python.org/lib/lib.html

The ``email'' module does much the same as the perl Mail::Internet 
modules (I've written a wrapper for python's email library that
basically implements the perl API to make porting my old perl
routines to python :-).

The ``poplib'' and ``imaplib'' modules make accessing POP and
IMAP servers pretty easy as well.

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

Democracy Is Mob Rule with Income Taxes
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mac osX drivers

2008-03-24 Thread David Kelly
On Mon, Mar 24, 2008 at 02:26:23PM +1000, Da Rock wrote:
 I know I keep asking about drivers, but what about Mac drivers? I
 understand that Mac osX is based fairly well on BSD, so would the
 drivers be portable?

Drivers for doing what?

 This is all on a current project I'm working on...

Go study the available Darwin code from 
http://www.opensource.apple.com/darwinsource/

I believe you will discover many of the drivers in MacOS X came from
FreeBSD. That doesn't mean changes were not needed, it means the
developers thought it easier to make the changes rather than write from
scratch. Many of the key developers came from FreeBSD.

-- 
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: Mac osX drivers

2008-03-24 Thread Chuck Swiger

On Mar 24, 2008, at 1:19 PM, David Kelly wrote:

On Mon, Mar 24, 2008 at 02:26:23PM +1000, Da Rock wrote:

I know I keep asking about drivers, but what about Mac drivers? I
understand that Mac osX is based fairly well on BSD, so would the
drivers be portable?


Drivers for doing what?


This is all on a current project I'm working on...


Go study the available Darwin code from
http://www.opensource.apple.com/darwinsource/


This is good advice, but if you check this link and actually look at  
the OSX drivers under there, you'll discover that they are generally  
written in C++ using something called the I/O Kit, documented here:


http://developer.apple.com/reference/HardwareDrivers/
http://developer.apple.com/documentation/DeviceDrivers/Conceptual/IOKitFundamentals

I believe you will discover many of the drivers in MacOS X came from  
FreeBSD.


Not really, no.  The OS X drivers originated from the Mach project at  
CMU and NeXT Computer back in the early 90's [1], with a significant  
rewrite by Apple after they acquired NeXT circa 1998 to add numerous  
drivers to support Apple's hardware in particular.


--
-Chuck

[1]: NeXT started in the late 80's (1987 or so), but the driver source  
code actually in use in OSX now had some origins back to 1994 or so,  
and almost all of it was updated significantly around 1998-2000 (aka  
Rhapsody through 10.1 or so timeframe), with smaller changes being  
made since...

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


Re: Xorg crashing randomly

2008-03-24 Thread Lowell Gilbert
Ghirai [EMAIL PROTECTED] writes:

 Hello list,

 Lately Xorg (log file says X.Org X Server 1.4.0') seems to crap out randomly,
 sometimes after a few hours, sometimes after a few days.

 I'm running 7.0-RELEASE, custom kernel (ULE scheduler and unneeded drivers 
 removed, everything else is default), and nvidia driver (latest).

 There's nothing in messages, nor in the xorg log file, except:

 ---
 Fatal server error:
 Caught signal 11.  Server aborting
 ---

 I don't know what other info i should give, there isn't much (if anything) in 
 the log files.

 I might add that i've tested the RAM, plus the rest of the system is ok.

 Any ideas are appreciated.

Can you connect the symptoms to anything that happens on the system?  
Does it only happen when the server is in active use?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports fetch timeout

2008-03-24 Thread Lowell Gilbert
Sys Admin [EMAIL PROTECTED] writes:

 I've been trying to install a bunch of packages on a freshly built
 7.0-REL machine.  The ports make install command has been
 consistently failing to download files from ftp servers on Internet.
 I can however ftp to the servers and get the files manually into
 /usr/ports/distfiles directory, and then the port installation is able
 to continue just fine.

 I have no firewall on my network and as seen above, am able to FTP
 files down using the command-line ftp client.

 Is there any fetch related setting that's preventing the downloads?
 Or are there any environment variables to be configured for this to
 work?  Any config for the ports sub-system?

Fetch can be affected by a number of environment variables.  See the
manuals [fetch(1) and fetch(3)] for more information on that.

You may find it informative to use fetch from the command line,
instead of ftp.  If the same problems occur in interactive mode, you
will probably find it much easier to determine why.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fault tolerance with FreeBSD for old DOS app

2008-03-24 Thread B. Bonev
I want advice for old DOS app on Windows PC, that I need to make on 2 PC-s 
fault tolerant. Any advice for working solution on FreeBSD? 



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


Re: List replies

2008-03-24 Thread RW
On Sun, 23 Mar 2008 10:19:11 +0100
Tore Lund [EMAIL PROTECTED] wrote:

 An HTML forum is probably out of the question, but I wish FreeBSD
 would at least consider turning the mailing lists into newsgroups -
 something like news.mozilla.org - unless someone has a better idea.

You can access the FreeBSD mailing lists through the gmane newserver:
news.gmane.org. I find it very useful for lists I only rarely read -
particularly for lists related to ports. Most list will accept posts
through the server.

You still need a valid email address to post though  - the first post
made through the news server needs to be validated by an email reply.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg crashing randomly

2008-03-24 Thread herbert langhans
Maybe try the vesa or vga driver for a while and see what happens? Did you set 
the video ram correct?

Cheers
herbs


On Sun, 23 Mar 2008 22:21:04 +0200
Ghirai [EMAIL PROTECTED] wrote:

 Hello list,
 
 Lately Xorg (log file says X.Org X Server 1.4.0') seems to crap out randomly,
 sometimes after a few hours, sometimes after a few days.
 
 I'm running 7.0-RELEASE, custom kernel (ULE scheduler and unneeded drivers 
 removed, everything else is default), and nvidia driver (latest).
 
 There's nothing in messages, nor in the xorg log file, except:
 
 ---
 Fatal server error:
 Caught signal 11.  Server aborting
 ---
 
 I don't know what other info i should give, there isn't much (if anything) in 
 the log files.
 
 I might add that i've tested the RAM, plus the rest of the system is ok.
 
 Any ideas are appreciated.
 
 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]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[6.3/vi] European characters?

2008-03-24 Thread Gilles
Hello

vi can't display Euopean characters on my 6.3 setup. For instance, it
shows Cr\xe9er instead of Créer.

Am I missing the right font, or is it some wrong setting somewhere?

Thank you.

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


Re: make readmes errors

2008-03-24 Thread Lowell Gilbert
fire jotawski [EMAIL PROTECTED] writes:

 On Mon, Mar 24, 2008 at 9:58 PM, Lowell Gilbert 
 [EMAIL PROTECTED] wrote:

 fire jotawski [EMAIL PROTECTED] writes:

  my machine is FreeBSD siting.oaep.go.th 7.0-RELEASE FreeBSD 7.0-RELEASE#3:
  Fri Mar  7 03:20:47 ICT 2008
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SITING
  i386
  i try making README.html for all ports but get errors at the last state
 as
 
  Creating README.html for all ports
  /usr/ports/Tools/make_readmes : Permission denied
  *** Error code 126
 
  please help me in makeing readme.html
  thanks in advance for any hints.

 Sounds like the user running the command doesn't have permissions to
 write into the port directories.



 no sirs, i use root account for running that command.  anywym i try running
 again with user root.

Even for the root user, there are other possible privilege problems.
You could be running over NFS, with the UID getting remapped.  
There could be file flags set on some of the files you are changing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Build: mtree: line 48: unknown group games

2008-03-24 Thread Lowell Gilbert
Kyrre Nygård [EMAIL PROTECTED] writes:

 mtree: line 48: unknown group games
 *** Error code 1

 Is the games account really that important?

It isn't very important in itself, but having the group and user
present for a gid and uid that are in use is a bad idea.  Having them
there when not in use is relatively innocuous.

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


Re: [6.3/vi] European characters?

2008-03-24 Thread Walker
On Mon, Mar 24, 2008 at 5:33 PM, Gilles [EMAIL PROTECTED] wrote:
 Hello

  vi can't display Euopean characters on my 6.3 setup. For instance, it
  shows Cr\xe9er instead of Créer.

  Am I missing the right font, or is it some wrong setting somewhere?

  Thank you.

It's your locale setting (man locale).  What I have set in bash, for example:

export LANG='en_US.UTF-8'
export LC_COLLATE='C'

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


Re: fault tolerance with FreeBSD for old DOS app

2008-03-24 Thread Brian A. Seklecki

On Mon, 2008-03-24 at 19:36 +0200, B. Bonev wrote:
 I want advice for old DOS app on Windows PC, that I need to make on 2 PC-s 
 fault tolerant. Any advice for working solution on FreeBSD? 

Yep...rewrite the database in SQL with a PHP front end.  Import the data
from the old system.  Use a Radware/F5 Load Balancer for the web and
Slony-I for the database replication.

Welcome to 2008.

~BAS

P.S. In reality you could likely do a HA-VMWare GSX virtual machine with
synchronized failover, but that's off-topic here.




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


Re: Where to rent the best dedicated servers?

2008-03-24 Thread Kyrre Nygård
Excellent choice...

But so far it looks like I'll be going for http://www.m5hosting.com.

Small is the new big, might wanna Google that. Besides, they look so simple!

Kyrre

- Original Message -
From: Bill Moran [EMAIL PROTECTED]
Date: Tuesday, March 25, 2008 4:28 am
Subject: Re: Where to rent the best dedicated servers?
To:  Kyrre Nygård  [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]

 In response to Kyrre Nygård [EMAIL PROTECTED]:
 
  Sorry, I really don't know where else to ask.
  
  I've been using Staminus for a while now and I've had it with 
 the downtime.
  
  Basically I want a place to host my Ruby on Rails / Git 
 projects, an IRC server as well as an internet radio channel.
  
  Simple website / control panel design is ofcourse a plus. None 
 of that cpanel bullshit though, I prefer to meddle around with 
 simple text files the way it's meant to be done.
  
  So, layeredtech.com? rackspace.com?
 
 pair.com ?
 
 -- 
 Bill Moran
 http://www.potentialtech.com
 ___
 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]


A general purpose LDAP solution?

2008-03-24 Thread Jon Theil Nielsen
I asked this on freebsd-net@ but got no replies. So now I ask the same
question here.
 Hi list!
 
   I have speculated a lot about implementation of (Open)LDAP on my
   sever. By I haven't yet found the right (and logical) way to do it.
   I'm running FreeBSD 7.0-Release with some different server applications
   - Samba PDC
   - Virtual mail server (Postfix, MySQL, Courier-IMAP)
   - VPN (currently with mpd4)
   - Apache-2.2.8 web server (with PHP and MySQL)
   I would like to implement LDAP for:
   - authentication of UNIX/login users
   - authentication of Samba users
   - authentication/authorization of virtual mail users
   For the first part, I got useful information from a previsous thread
   
  (http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-02/msg01047.html)
   and for the second part, i guess there is sufficient howtos to make it
   work.
   My biggest question right now is if is possible to combine all three
   things in one data structure. And which in which order I should make
   the different implimentions.
   Excuse my total lack of understanding, but is it possible to have a
   structure with a superior unit such as OU=some organization which
   could contain several virtual domains and the actual doamin for my
   PDC?
 
   --
  Jon Theil Nielsen

Oh, i forgot one more thing: I would also like to be able to
 authenticate VPN users the same way.
 --
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: List replies

2008-03-24 Thread Tore Lund
RW wrote:
 On Sun, 23 Mar 2008 10:19:11 +0100
 Tore Lund [EMAIL PROTECTED] wrote:
 
 An HTML forum is probably out of the question, but I wish FreeBSD
 would at least consider turning the mailing lists into newsgroups -
 something like news.mozilla.org - unless someone has a better idea.
 
 You can access the FreeBSD mailing lists through the gmane newserver:
 news.gmane.org. I find it very useful for lists I only rarely read -
 particularly for lists related to ports. Most list will accept posts
 through the server.
 
 You still need a valid email address to post though  - the first post
 made through the news server needs to be validated by an email reply.

Thank you for this information.  I have monitored some of the lists
through interfaces like muc.lists.freebsd.* and others, but they all
seem to miss some posts.  Hopefully, gmane is better.
-- 
Tore

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


Is this safe? Copying a complete install from one HD to another

2008-03-24 Thread Jim Stapleton
I have a 6.2 machine I just upgraded to 7.0. I did a fresh install on
the second HD. I'm almost to the point where I'm sure the install is
at least as functional as the previous install (i.e. I didn't break
anything). The second HD has always seemed a bit chintzy to me (and
you can hear the drive heads when it is active), so I'd just as soon
get the 7.0 OS off of there, and onto the main drive. I also prefer to
use the main HD, because it's partitioned nicer. I heard you can tar
data from an old drive to a new one, and have it work properly,
provided the MBR is set up to boot that partition, is this correct?

Planned method:
use sysinstall to reformat the old /, /usr, /var and /tmp

mount the old /, /usr, /var, and as /old, /old/usr, /old/var respectively.
(in /old)
$ tar -cf - -exclude /old -exclude /tmp / | tar -xf -

edit /old/etc/fstab appropriately
reboot.


Should this work?

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


Re: A general purpose LDAP solution?

2008-03-24 Thread Tim Judd

Jon Theil Nielsen wrote:

I asked this on freebsd-net@ but got no replies. So now I ask the same
question here.
  

Hi list!


 
   I have speculated a lot about implementation of (Open)LDAP on my
   sever. By I haven't yet found the right (and logical) way to do it.
   I'm running FreeBSD 7.0-Release with some different server applications
   - Samba PDC
   - Virtual mail server (Postfix, MySQL, Courier-IMAP)
   - VPN (currently with mpd4)
   - Apache-2.2.8 web server (with PHP and MySQL)
   I would like to implement LDAP for:
   - authentication of UNIX/login users
   - authentication of Samba users
   - authentication/authorization of virtual mail users
   For the first part, I got useful information from a previsous thread
   
(http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-02/msg01047.html)
   and for the second part, i guess there is sufficient howtos to make it
   work.
   My biggest question right now is if is possible to combine all three
   things in one data structure. And which in which order I should make
   the different implimentions.
   Excuse my total lack of understanding, but is it possible to have a
   structure with a superior unit such as OU=some organization which
   could contain several virtual domains and the actual doamin for my
   PDC?
 
   --
  Jon Theil Nielsen

Oh, i forgot one more thing: I would also like to be able to
 authenticate VPN users the same way.
 --
Jon Theil Nielsen
  


It's easy to find out if LDAP is a global solution for you.  See if LDAP 
is an available option in each port's config.


I just finished setting up a LDAP-based email system.  Samba is capable, 
unix logins are capable.  There's a good chance everything is.


I liked the virtual part of everything, so I stopped after getting email 
working.  I didn't want to open up my system to all sorts of unix/samba 
logins that might exploit or give me problems.


The email system I documented isn't ready for publishing.  I'm having 
some select friends review it and proofread it first.


If there's any interest here, I will provide a 2nd publishing to the 
general public as a draft.  Not to be used exclusively yet.


Jon, you should be able to get most if not all of it working though.

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


Re: A general purpose LDAP solution?

2008-03-24 Thread Patrick C
I'd be interested in a read.

I am currently using NIS/YP with FreeBSD servers and Linux clients... makes
things very interesting. I've been meaning to exploit PAM for a more modern
solution but it hasn't been a huge priority.

Is there any support for built-in redundancy on the server level? I just
need changes replicated, CARP can handle failover.

-Patrick

On 24/03/2008, Tim Judd [EMAIL PROTECTED] wrote:

 Jon Theil Nielsen wrote:
  I asked this on freebsd-net@ but got no replies. So now I ask the same
  question here.
 
  Hi list!
 
   
 I have speculated a lot about implementation of (Open)LDAP on my
 sever. By I haven't yet found the right (and logical) way to do it.
 I'm running FreeBSD 7.0-Release with some different server
 applications
 - Samba PDC
 - Virtual mail server (Postfix, MySQL, Courier-IMAP)
 - VPN (currently with mpd4)
 - Apache-2.2.8 web server (with PHP and MySQL)
 I would like to implement LDAP for:
 - authentication of UNIX/login users
 - authentication of Samba users
 - authentication/authorization of virtual mail users
 For the first part, I got useful information from a previsous thread
 (
 http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-02/msg01047.html
 )
 and for the second part, i guess there is sufficient howtos to make
 it
 work.
 My biggest question right now is if is possible to combine all three
 things in one data structure. And which in which order I should make
 the different implimentions.
 Excuse my total lack of understanding, but is it possible to have a
 structure with a superior unit such as OU=some organization which
 could contain several virtual domains and the actual doamin for my
 PDC?
   
 --
Jon Theil Nielsen
 
  Oh, i forgot one more thing: I would also like to be able to
   authenticate VPN users the same way.
   --
  Jon Theil Nielsen
 


 It's easy to find out if LDAP is a global solution for you.  See if LDAP
 is an available option in each port's config.

 I just finished setting up a LDAP-based email system.  Samba is capable,
 unix logins are capable.  There's a good chance everything is.

 I liked the virtual part of everything, so I stopped after getting email
 working.  I didn't want to open up my system to all sorts of unix/samba
 logins that might exploit or give me problems.

 The email system I documented isn't ready for publishing.  I'm having
 some select friends review it and proofread it first.

 If there's any interest here, I will provide a 2nd publishing to the
 general public as a draft.  Not to be used exclusively yet.

 Jon, you should be able to get most if not all of it working though.


 --Tim

 ___
 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: [6.3/vi] European characters?

2008-03-24 Thread Matthias Apitz
El día Monday, March 24, 2008 a las 10:33:29PM +0100, Gilles escribió:

 Hello
 
 vi can't display Euopean characters on my 6.3 setup. For instance, it
 shows Cr\xe9er instead of Créer.
 
 Am I missing the right font, or is it some wrong setting somewhere?

Hello Gilles,

What will it give you with:

$ LANG=es_ES.ISO8859-1 vi

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Powerpc port

2008-03-24 Thread Bruce Cran

K. Bradford wrote:

I have installed 7.0-RELEASE on an old Mac G4.
I have cvs'ed the latest sources (using the RELENG_7 tag)
in order to track 7.0-STABLE.

The problem:  I can boot only off the FreeBSD install CD,
by breaking into open firmware upon bootup like this:

0  boot mac-io/[EMAIL PROTECTED]/[EMAIL PROTECTED]:,\boot\boot.tbxi

Open firmware loads this boot loader which then automagically
loads and runs the FreeBSD loader.  Then, I interrupt using the
space bar to get to the loader prompt and explicitly set the
root device to be the hard drive partition.

OK  set rootdev=mac-io/[EMAIL PROTECTED]/[EMAIL PROTECTED]:3
(My FreeBSD root partition is 3).

Kernel boots up, mounts / off the hard drive and the system
runs fine.

Can someone advise me how to set up everything correctly
on the hard drive so I don't have to jump through all these hoops?

I'm guessing boot.tbxi is needed somewhere under /boot,
but I don't think open firmware can read a BSD partition anyway.

Documentation on the powerpc port  seems sparse.  Could
someone please point me in the right direction, or provide
brief instructions here.  As always, any help/advice is greatly
appreciated.


Since Open Firmware doesn't understand UFS you have two options - you 
can either use the CD as a first-stage loader, or use an OS X partition 
to boot from.   Since I got rid of my OS X partition when I installed 
FreeBSD on my G4 I use the first option.  The simplest way is to just 
leave the CD in the drive and type:


 boot cd:,\boot\loader hd:3

There are more instructions about booting Macs at 
http://people.freebsd.org/~grehan/iso_install.txt


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


cpu

2008-03-24 Thread Irodatechnika Hajdu
Hi!

I have got a XEON (E5320) based computer. Which version to install? AMD64 or
I386?

Thanks...

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


Re: cpu

2008-03-24 Thread Ivan Voras

Irodatechnika Hajdu wrote:

Hi!

I have got a XEON (E5320) based computer. Which version to install? AMD64 or
I386?


AMD64.



signature.asc
Description: OpenPGP digital signature


Re: USB printer

2008-03-24 Thread B H

Ted Mittelstädt wrote , at 2008-03-19 05:24:


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


Can one use a ppd-file with lpd/lpr?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fault tolerance with FreeBSD for old DOS app

2008-03-24 Thread Wojciech Puchar

I want advice for old DOS app on Windows PC, that I need to make on 2 PC-s
fault tolerant. Any advice for working solution on FreeBSD?


Yep...rewrite the database in SQL with a PHP front end.  Import the data
from the old system.  Use a Radware/F5 Load Balancer for the web and
Slony-I for the database replication.

Welcome to 2008.
and have all modern apps problems and 1000 times higher hardware 
requirements to do the same. my CA-Clipper apps running under DOS 
are still in use after 15 years, because it work well. there is no

better language for such things, there are CA-Clipper ports for
unix, but not very good.

clip (ports/databases/clip) is an exception, except it's 
screen handling is quite a mess.


but will a little of work it's good, i ported few program to clip.
clip is 5-20 times faster on the same machine than CA-Clipper :)

for now - i don't know anything better to write database-processing 
programs than this. no database engines and other strange things -

fortunately.

it uses ancient technology - simply stores tables as flat files, and 
indexes as other files.


there is quite a big chance this old DOS program was written in 
CA-Clipper.


___
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-24 Thread punosevac
 Ted Mittelstädt wrote , at 2008-03-19 05:24:

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

 Can one use a ppd-file with lpd/lpr?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Of course. A sample printcap file

lp|OfficeJet:\
:lp=/dev/ulpt0:\
:af=/etc/foomatic/HP-OfficeJet_4110-hpijs.ppd:\
:if=/usr/local/bin/foomatic-rip:\
:sd=/var/spool/lpd/OfficeJet:\
:sh:

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


Re: cpu

2008-03-24 Thread Nerius Landys
I have a computer with this processor: Intel Xeon Dual-Core 3060 Conroe (
2.4GHz, 4MB, 1066MHz FSB).
I'm running i386.  Is this right?  I had no idea about this AMD64 business.
I'm confused as to why you run an AMD OS on an Intel CPU.

On Mon, Mar 24, 2008 at 4:35 PM, Ivan Voras [EMAIL PROTECTED] wrote:

 Irodatechnika Hajdu wrote:
  Hi!
 
  I have got a XEON (E5320) based computer. Which version to install?
 AMD64 or
  I386?

 AMD64.


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


Re: cpu

2008-03-24 Thread Erik Trulsson
On Mon, Mar 24, 2008 at 05:09:51PM -0700, Nerius Landys wrote:
 I have a computer with this processor: Intel Xeon Dual-Core 3060 Conroe (
 2.4GHz, 4MB, 1066MHz FSB).
 I'm running i386.  Is this right?  I had no idea about this AMD64 business.
 I'm confused as to why you run an AMD OS on an Intel CPU.

For similar reasons as why you can run an Intel OS (i386) on an AMD CPU.

AMD64 (aka x86-64) refers to AMD's 64-bit extension to the x86 architecture.
Most (all?) of Intel's recent x86 CPUs also implement this extension.




 
 On Mon, Mar 24, 2008 at 4:35 PM, Ivan Voras [EMAIL PROTECTED] wrote:
 
  Irodatechnika Hajdu wrote:
   Hi!
  
   I have got a XEON (E5320) based computer. Which version to install?
  AMD64 or
   I386?
 
  AMD64.
 
 



-- 
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]


Re: cpu

2008-03-24 Thread Aryeh M. Friedman

Erik Trulsson wrote:

On Mon, Mar 24, 2008 at 05:09:51PM -0700, Nerius Landys wrote:
  

I have a computer with this processor: Intel Xeon Dual-Core 3060 Conroe (
2.4GHz, 4MB, 1066MHz FSB).
I'm running i386.  Is this right?  I had no idea about this AMD64 business.
I'm confused as to why you run an AMD OS on an Intel CPU.



For similar reasons as why you can run an Intel OS (i386) on an AMD CPU.

AMD64 (aka x86-64) refers to AMD's 64-bit extension to the x86 architecture.
Most (all?) of Intel's recent x86 CPUs also implement this extension.
  


When I first started exploring the issue with my new (about 6 months 
old now) machine (e6850 3GHz dual core intel w/ 4 GB RAM) the rule of 
thumb I learned was if you have 2GB of RAM i386 if more then AMD64.  
Sure you can use PAE on i386 but it is really a workaround.   Now there 
are about 10% of the ports out there that will not run on AMD64 with the 
most important everyday one being the nvidia driver for xorg (note 
though contrary to the man page nv does support the max resolution of 
your card/monitor [well almost I ca get 1400x1050 but not 1600x1050 on 
my 8400GS and 21 wide screen]).




  

On Mon, Mar 24, 2008 at 4:35 PM, Ivan Voras [EMAIL PROTECTED] wrote:



Irodatechnika Hajdu wrote:
  

Hi!

I have got a XEON (E5320) based computer. Which version to install?


AMD64 or
  

I386?


AMD64.


  




  


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


Xorg crashing randomly

2008-03-24 Thread Scott Bennett
 On Sun, 23 Mar 2008 22:21:04 +0200 Ghirai [EMAIL PROTECTED] wrote:
Lately Xorg (log file says X.Org X Server 1.4.0') seems to crap out randomly,

 That's the server in X.org 7.3.

sometimes after a few hours, sometimes after a few days.

I'm running 7.0-RELEASE, custom kernel (ULE scheduler and unneeded drivers 
removed, everything else is default), and nvidia driver (latest).

There's nothing in messages, nor in the xorg log file, except:

---
Fatal server error:
Caught signal 11.  Server aborting
---

I don't know what other info i should give, there isn't much (if anything) in 
the log files.

I might add that i've tested the RAM, plus the rest of the system is ok.

Any ideas are appreciated.

 Are you running xscreensaver?  Many of the various screen saver modules
cause X.org 7.3 crashes with exactly the messages you cited above when they
begin execution in full-screen mode.  The ones I've tried so far do not cause
crashes when they are displayed only in the demo window of the preferences
panel in xscreensaver-demo, but full-screen mode gets a very different result
for some modules.
 If you are using xscreensaver{,-demo}, try setting it to blank screen
only rather than running the modules that produce the pretty patterns on the
screen.
 There may be other applications that cause the same sort of crashes, but
the screen saver routines are the only ones I know do it for certain.  Firefox
2.x under X.org 7.3 gets an impenetrable hang, not a crash.


  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-24 Thread Scott Bennett
 On Wed, 19 Mar 2008 19:01:28 + Mark Ovens [EMAIL PROTECTED]
wrote:
Peter Boosten wrote:
 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?
 
 I'm using WindowMaker (wmaker).  Firefox hangs something in a way that
I can't get any response whatsoever from the keyboard, touchpad, keyboard
pointer thingy that looks like a pencil eraser, or trackball.  Because I have
no other box from which to log in remotely, my only option is to power the
system down, turn it back on, reboot, wait for fsck, etc.  Many xscreensaver
modules cause the *server*, not the window manager, to die on a signal 11.
 
 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.
 

One would expect so, but it would appear not to be the case. I'm having 
the same problem - if I ssh in from another box I see the Xorg process 
sucking 100% CPU and the state is *GIANT

I'm using an ATI card but people are having the same issue with nVidia 
and Matrox cards. My box has run every version of Xorg since it replaced 
XFree86 on FreeBSD and many versions of XFree86 before that without this 
problem.

 Mine is a Mobility Radeon 9800.

Also, the problem seems to come and go for me as I update my ports, i.e. 
the box has the problem, I run ``portmaster -a'' and the problem goes 
away. sometime later I run ``portmaster -a'' again and the problem 
re-appears. Only seems to happen when X-related stuff gets updated.

 I haven't noticed the intermittency you describe here, but that is
likely due to the fact that updating the various parts of X and X applications
takes so long that I try to avoid doing it very often.

The other thing I've noticed is, on my box at least, that the problem 
always starts when I move the mouse (not every time of course) so could 
it be Xorg 7.3 not playing nicely with the mouse driver - or the USB 
driver since my mouse is a USB one? Which may explain why some people 
see the problem and others don't?

 That's a thought.  The Firefox problem always seems to occur when I
make the first button click anywhere in the Firefox window, but maybe I should
try simply moving the cursor into the window and wait a few seconds to see
what happens before pressing a button.

This is really becoming a big PITA.

 I concur.  Since the upgrade--downgrade is more like it--to 7.3 from
6.9, I only have access to a functioning web browser when I shut down FreeBSD
and boot Windows XP, a very sad state of affairs.


  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]


libggi

2008-03-24 Thread Mitja
I tried to compaile a libggi but I got:

===  libggi-2.2.2_2,1 requires unknown xorg module (xsxt).
*** Error code 1

Stop in /usr/ports/graphics/libggi.

Thanks.

-- 
Sailors in ships, sail on!
Even while we died, others rode out the storm.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cpu

2008-03-24 Thread Nerius Landys
Well that is helpful thank you.  I have 2 GB RAM and am running i386 on my
Xeon Dual-Core 3060 Conroe.  So this is probably the right thing to do.
Thanks.

On Mon, Mar 24, 2008 at 5:45 PM, Aryeh M. Friedman [EMAIL PROTECTED]
wrote:

 Erik Trulsson wrote:
  On Mon, Mar 24, 2008 at 05:09:51PM -0700, Nerius Landys wrote:
 
  I have a computer with this processor: Intel Xeon Dual-Core 3060 Conroe
 (
  2.4GHz, 4MB, 1066MHz FSB).
  I'm running i386.  Is this right?  I had no idea about this AMD64
 business.
  I'm confused as to why you run an AMD OS on an Intel CPU.
 
 
  For similar reasons as why you can run an Intel OS (i386) on an AMD
 CPU.
 
  AMD64 (aka x86-64) refers to AMD's 64-bit extension to the x86
 architecture.
  Most (all?) of Intel's recent x86 CPUs also implement this extension.
 

 When I first started exploring the issue with my new (about 6 months
 old now) machine (e6850 3GHz dual core intel w/ 4 GB RAM) the rule of
 thumb I learned was if you have 2GB of RAM i386 if more then AMD64.
 Sure you can use PAE on i386 but it is really a workaround.   Now there
 are about 10% of the ports out there that will not run on AMD64 with the
 most important everyday one being the nvidia driver for xorg (note
 though contrary to the man page nv does support the max resolution of
 your card/monitor [well almost I ca get 1400x1050 but not 1600x1050 on
 my 8400GS and 21 wide screen]).
 
 
 
 
  On Mon, Mar 24, 2008 at 4:35 PM, Ivan Voras [EMAIL PROTECTED] wrote:
 
 
  Irodatechnika Hajdu wrote:
 
  Hi!
 
  I have got a XEON (E5320) based computer. Which version to install?
 
  AMD64 or
 
  I386?
 
  AMD64.
 
 
 
 
 
 
 


___
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-24 Thread Scott Bennett
 On Wed, 19 Mar 2008 20:09:54 +0100 Peter Boosten [EMAIL PROTECTED]
wrote:
Mark Ovens wrote:
 
 The other thing I've noticed is, on my box at least, that the problem 
 always starts when I move the mouse (not every time of course) so could 
 it be Xorg 7.3 not playing nicely with the mouse driver - or the USB 
 driver since my mouse is a USB one? Which may explain why some people 
 see the problem and others don't?

My mouse is on USB, still no problems.

 My trackball is a USB 2.0 device, but the touchpad and pencil eraser
thingy are built into the machine.
 
 This is really becoming a big PITA.
 

So I wonder how we can help the port maintainer to fix the issue. Maybe 
it's an idea to collect some data on installed ports (including 
versions), used hardware and whether or not one has problems?

 Well, here's my info for starters then.
Computer:  Dell Inspiron XPS
CPU:  3.4 GHz P4 w/HTT enabled
RAM:  1 GB
Graphics card:  ATI Radeon JN R420 Mobility M18 (*)
Built-in pointing devices:  Synaptics Touchpad, GlidePoint
eraserhead thingy
External pointing device:  Logitech USB Trackball (**)

(*)  When X is started, the following messages appear in /var/log/message:
info: [drm] Setting GART location based on new memory map
info: [drm] Loading R300 Microcode
info: [drm] writeback test succeeded in 1 usecs

However, near the end of /var/log/Xorg.0.log this is apparently reconsidered:
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialized, using IRQ 16
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0):   MC_FB_LOCATION  was: 0xefffe000 is: 0xefffe000
(WW) RADEON(0):   MC_AGP_LOCATION was: 0xffc0 is: 0xf07ff000
(II) RADEON(0): RADEONRestoreMemMapRegisters() :
(II) RADEON(0):   MC_FB_LOCATION   : 0xefffe000 0xefffe000
(II) RADEON(0):   MC_AGP_LOCATION  : 0xf07ff000
(II) RADEON(0): Direct rendering enabled
(II) RADEON(0): Render acceleration unsupported on Radeon 9500/9700 and 
newer.
(II) RADEON(0): Render acceleration disabled
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
16 512x512 slots
(II) RADEON(0): Acceleration enabled

...and a bit later...
(II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled 
message.
(--) RandR disabled

...and several Initializing  lines later...
(II) Loading sub module GLcore
(II) LoadModule: GLcore
(II) Loading /usr/local/lib/xorg/modules/extensions//libGLcore.so
(II) Module GLcore: vendor=X.Org Foundation
compiled for 1.4.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(II) GLX: Initialized MESA-PROXY GL provider for screen 0

(**) The driver identifies the trackball as having 5 buttons, though in fact,
it only has 4.  This has been the case as long as I've been running FreeBSD
(i.e., since 5.2.1) and is not new to 6.3.

The only problem I'm having since 7.3 btw (I forgot about that, but just 
remembered) is everytime I start nethack-qt (either local or remote) X 
restarts, kicking me out of my session.

 Does it restart by itself?  Or simply crash on a signal 11?


  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]


RAID on HP ML110 G5

2008-03-24 Thread Tom Munro Glass
I would like to run FreeBSD 7 on a HP ML110 G5. I understand from past posts 
to this list that the ML110 series is FreeBSD friendly, but what about RAID 1 
using the on-board SATA controller? Will this work and how do you set this 
up?

Regards

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


Re: How do I add search paths to gcc

2008-03-24 Thread Eduardo Cerejo
On Fri, 21 Mar 2008 18:31:54 -0400
Chuck Robey [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 mdh wrote:
  --- Eduardo Cerejo [EMAIL PROTECTED] wrote:
  
  My gcc is only looking in /usr/lib and /usr/include
  for libraries and hearders and I added the paths
  /usr/local/lib/ and /usr/local/include to my .cshrc
  file:
 
  set path = (/sbin /bin /usr/sbin /usr/bin /usr/games
  /usr/local/sbin /usr/local/bin /usr/local/lib
  /usr/local/include $HOME/bin)
  
  PATH in the environment is where your shell searches
  for programs to run from the command line, system(),
  etc.  This allows you to type, say, `sh` instead of
  having to type out `/bin/sh` or risking having
  `/home/somekiddie/sh` run instead when you type it.  
  
  but I still have to use gcc with -I and -L switch
  for a program to compile or else it will fail.  
 
  I'm using tcsh.
  
  There are two ways to set up alternate places to find
  libraries.  The first is ldconfig, and you can see
  ports run this when you install a port containing
  shared libraries for example.  The other is to use the
  LD_LIBRARY_PATH environment variable to set alternate
  paths at run-time.  
  
 
 Well, that might be taken as confusing, even though your info is technically
 quite correct.  Both those methods WILL get those added dirs searched for
 loading the libraries at run time, BUT it will NOT get your compiler to find 
 the
 new paths, when linking the program during the build.  I'm fairly sure that's
 what the person wanted, don't you think so?
 
 Because, if I'm wrong,  you can delete this email right here and now, read no 
 more.
 
 BUT you were quite correct, there are definitely *at least* two methods to set
 up your *compiler* library search paths.  In fact, I think I can show you 3
 methods right now.
 
 First, you can list the full path of the library on the command line, when you
 use your compiler to link your program.
 ]
 Second, you can (as the person suggested himself) you can use the -l/-L 
 options
 to bring in libraries  paths.  The -L should come first, it adds the path, 
 and
 the -l afterwards adds the specific library.
 
 The 3rd method is the use the variables LDFLAGS and LDADD.  These variables 
 are
 NOT 100% reliable to use, although they are fairly reliable on BSD systems.  
 The
  LDFLAGS is where  you put your -LExtraPath and the LDADD is where you stick
 the -lExtraLibrary, like this (from a Makefile example):
 LDFLAGS+=-L/usr/local
 LDFLAGS+=-lgtk
 
 If you are using the BSD make util, the you use += to add to your variables,
 instead of replacing them, in case they had some values in them to begin with.
 Make automatically adds in the obvious spaces, so your definitions don't 
 have
 a train wreck for you.
 
  The 'ldconfig(1)' man page has more info for you.  
  
  Take care, mdh

After searching quite a bit I found someone looking for same thing running tcsh 
(not freebsd) and the solution was running or adding these lines to .cshrc.

setenv C_INCLUDE_PATH /usr/local/include
setenv LIBRARY_PATH /usr/local/lib

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


Re: RAID on HP ML110 G5

2008-03-24 Thread tomasz dereszynski

Tom Munro Glass wrote:
I would like to run FreeBSD 7 on a HP ML110 G5. I understand from past posts 
to this list that the ML110 series is FreeBSD friendly, but what about RAID 1 
using the on-board SATA controller? Will this work and how do you set this 
up?


Regards

Tom Munro Glass
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
i would recommend to build RAID1 using gmirror instead as then you can 
use smartd to monitor drives what isnt possible (AFAIK) with hardware 
RAID on those boxes.



--
bEsT rEgArDs|   Confidence is what you have before you
tomasz dereszynski  |   understand the problem. -- Woody Allen


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


Re: Email processing in Python (was: e-mail processing in C)

2008-03-24 Thread Jeffrey Goldberg

On Mar 24, 2008, at 2:04 PM, Patrick C wrote:


Another option would be to dig out the
associated code in pine, elm, or whatnot. See how they access mail.


What is used in pine (now alpine) is the c-client libraries already  
mentioned in another post.


-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Re: libggi

2008-03-24 Thread [EMAIL PROTECTED]
On 24/03/2008, Mitja [EMAIL PROTECTED] wrote:
 I tried to compaile a libggi but I got:

  ===  libggi-2.2.2_2,1 requires unknown xorg module (xsxt).
  *** Error code 1

  Stop in /usr/ports/graphics/libggi.


Well, Rosie told me to google it, so I googled
it.  Nothing apropos.

Did it maybe mean textproc/libxslt?

Did you get a transitory ports tree with the dependancies
all mired an' mucked?

 pkg_info -r /var/db/pkg/libggi-2.2.2_2,1/
Information for libggi-2.2.2_2,1:

Depends on:
Dependency: xf86dgaproto-2.0.3
Dependency: xextproto-7.0.2
Dependency: kbproto-1.0.3
Dependency: inputproto-1.4.2.1
Dependency: svgalib-1.4.3_5
Dependency: pkg-config-0.22_1
Dependency: xtrans-1.0.4
Dependency: xproto-7.0.10_1
Dependency: libXdmcp-1.0.2_1
Dependency: libXau-1.0.3_2
Dependency: libX11-1.1.3_1,1
Dependency: libXext-1.0.3,1
Dependency: libXxf86dga-1.0.2
Dependency: aalib-1.4.r5_4
Dependency: libgii-1.0.2_2

is all I gots, hombre.

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


Re: Is this safe? Copying a complete install from one HD to another

2008-03-24 Thread Norberto Meijome
On Mon, 24 Mar 2008 18:59:34 -0400
Jim Stapleton [EMAIL PROTECTED] wrote:

 I have a 6.2 machine I just upgraded to 7.0. I did a fresh install on
 the second HD. I'm almost to the point where I'm sure the install is
 at least as functional as the previous install (i.e. I didn't break
 anything). The second HD has always seemed a bit chintzy to me (and
 you can hear the drive heads when it is active), so I'd just as soon
 get the 7.0 OS off of there, and onto the main drive. I also prefer to
 use the main HD, because it's partitioned nicer. I heard you can tar
 data from an old drive to a new one, and have it work properly,
 provided the MBR is set up to boot that partition, is this correct?

yup, this has been discussed several times in the list. I've used it countless 
times to replicate my laptop to a separate disk before a major upgrade.

tar or dump | restore , etc... as long as the different file types (normal, 
links, sockets,etc) are transferred correctly. the same for user permissions.

B

_
{Beto|Norberto|Numard} Meijome

Gravity cannot be blamed for people falling in love.
  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: Replacing Windows with FreeBSD (was: my brother is making me learn FreeBSD...)

2008-03-24 Thread Norberto Meijome
On Mon, 24 Mar 2008 08:33:30 -0400
Robert Huff [EMAIL PROTECTED] wrote:

   Respectfully, the list of things WINE will not - by its own
 documentation - run and has no expectation of running in the
 foreseeable future is immense.  Seasonal example for Americans:
 TurboTax. 

sure. and neither does our Australian Tax office software. which I run on a 
win32 box or a win32 VM under qemu. 

but wine has come a huge way from when I started to track it, back in '98 or so.

anyway, choice is the key word here , i think :)

cheers,
B
_
{Beto|Norberto|Numard} Meijome

A tree as big around as you can reach starts with a small seed; a 
thousand-mile journey starts with one step.
  Lao-tse

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-24 Thread Peter Boosten

Scott Bennett wrote:

 On Wed, 19 Mar 2008 20:09:54 +0100 Peter Boosten [EMAIL PROTECTED]
wrote:
The only problem I'm having since 7.3 btw (I forgot about that, but just 
remembered) is everytime I start nethack-qt (either local or remote) X 
restarts, kicking me out of my session.



 Does it restart by itself?  Or simply crash on a signal 11?



It just restarted, I had to logon again, but it has already been solved: 
I removed all the 'Acceleration' stuff from the conf file. Apparently my 
hardware didn't like that.


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

2008-03-24 Thread Predrag Punosevac

Bernt Hansson wrote:

[EMAIL PROTECTED] skrev:

Ted Mittelstädt wrote , at 2008-03-19 05:24:


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



Can one use a ppd-file with lpd/lpr?



Of course. A sample printcap file

lp|OfficeJet:\
:lp=/dev/ulpt0:\
:af=/etc/foomatic/HP-OfficeJet_4110-hpijs.ppd:\
:if=/usr/local/bin/foomatic-rip:\
:sd=/var/spool/lpd/OfficeJet:\
:sh:


I'm not using foomatic but the ppd-file from HP for LJ2100, 2200, 4050 
and 8000 is that still possible? They all speak postscript.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
Well if you want to use your printers in PostScript mode you can just 
send row .ps file and it should print i.e.

you can remove the af and if lines from the printcap and should work.

Now what about other file types?

Lets have a second look for instance at LJ2100.

According to Linux Printing Database (which is the one
we also use in BSD world)

http://openprinting.org/show_printer.cgi?recnum=HP-LaserJet_2100

the recommended way of using for instance LJ2100 is via Printer Command 
Language 5 or 6
i.e. you need a driver. The recommended driver for LJ2100 is  pxlmono 
which is build in  Ghostscript.
If you use printer with Apsfilter you can just select the driver. Files 
of any type should be printed no question asked.


If you use PPD file and fomatic-rip filter as
in the above printcap example the jobs would be passed through pxlmono 
driver.
You may send to printer ps or non ps files (pdf, dvi, gif, html) and 
everything should work no question asked.



The printer will work eight other drivers.

Now the final question is probably that there is custom PPD vile for 
PostScript mode according to the same

Database.
I think that that one is only relevant for CUPS as PPD files are used 
via IPP (only spoken by CUPS) to fake real communication with the  
device and show things like printer status. I am not 100% sure but I 
think that PPD file is
what one would call CUPS-PPD file. If you send let say .pdf file that 
PPD file probably will tell CUPS how to
pass pdf file through GhostScript and create ps version and then print 
it. I am not sure if it going to be useful with
LPD. Of course in the case you do not have any filters in your printcap 
you can send only ps files to printer.


You can play on the following way. Remove the if (input filter line from 
your printcap file) and keep af but put
that particular custom PPD file which is used for PostScript mode. Try 
to send ps and pdf file. If it prints only ps
file that means that PPD  does nothing for LPD if it can print pdf files 
that means that is usable with LPD.


I personally use most printers in PCL mode just because I have lots of 
different mish-mash printer non of which speaks

full PostScript language.

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


Serial access to a Extreme Nwtworks Switch

2008-03-24 Thread Sam Fourman Jr.
hello,

 I am Running FreeBSD 7.0, I am trying to gain console access to my
Extreme Networks Switch, the command cu -l /dev/cuad0 -s 9600 , Says
Connected and then does nothing What am I doing Wrong?
I have a Straight through serial cable connected to com1, Does someone
know a quick way to do this From FreeBSD?

the machine is a Dell 1650 if that matters


Thank you in advance for any help

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


Mysql 51 Server port patch

2008-03-24 Thread Christopher Sean Hilton
I submitted a PR on this. In short the problem that I'm having is that  
mysqld becomes a daemon and returns control the rcorder subsystem  
before it has established it unix domain listening socket. On my  
system the next daemon to run is jabberd. Jabberd (from the jabberd2  
port) has a component sm which depends on mysql for it's data storage.  
Since it takes a second on my system for mysqld to establish it's  
listening socket sm fails which takes down all of jabberd I  
patched the mysql-server startup script to wait for up to 15 seconds  
before termination. This fixes the problem on my side. According to  
the email I just got this went in as PR ports/122063


-- Chris

PR follows

Problem:
The rc.d script shipped with the port of mysql server exits  
immediately after mysqld starts. This normally wouldn't be a problem  
but the mysql daemon exits about a second before it has established  
it's unix domain listening socket: /tmp/mysql. The problem here is  
that the rc startup system can queue the next daemon to start before / 
tmp/mysql is available. If the next daemon needs mysql it will fail  
and exit. On my system rcorder starts mysql-server and then  
immediately follows up with jabberd. Since mysql doesn't appear ready  
for about a  second jabberd fails and exits.


I've attached a patch which waits for up to 15 seconds for the /tmp/ 
mysql socket to appear in the filesystem and exits as soon as it's  
available. This allows the next daemon in line to startup properly if  
it needs mysql. Note that I have had this problem with postfix up  
until I removed my mail information from mysql.


Repeat:
Build a system that uses mysql and jabber or postfix. Ensure that  
jabberd starts after mysql by hacking /usr/local/etc/rc.d/jabberd's ##  
REQUIRES line. Assuming you're not on some hot rod of a machine check  
your logs for jabberd2's failure line in the service manager.


Fix:
This may not adhere to the strictest rules of the rcorder system but  
my solution is to hack the provider's (mysql-server) startup script.  
The goal was to prevent the script from exiting until either the  
listening socket is established or a 15 second timeout has passed.


A better solution would be for mysqld to establish the listening  
socket first (even if it ignores incoming connections for a little  
bit) but that's much higher effort.


Patch:
--- mysql-server.sh.in  2008-03-25 00:10:14.0 -0400
+++ mysql-server.sh.in.orig 2008-03-25 00:02:58.0 -0400
@@ -18,8 +18,6 @@
 #  Base database directory.
 # mysql_args (str):Custom additional arguments to be passed
 #  to mysqld_safe (default empty).
-# mysql_conn_socket (str): Defaults to /tmp/mysql.sock
-#  The unix domain socket the daemon listens  
on.

 #

 . %%RC_SUBR%%
@@ -32,17 +30,15 @@
 : ${mysql_enable=NO}
 : ${mysql_limits=NO}
 : ${mysql_dbdir=/var/db/mysql}
-: ${mysql_conn_socket=/tmp/mysql.sock}
 : ${mysql_args=}

 mysql_user=mysql
 mysql_limits_args=-e -U ${mysql_user}
 pidfile=${mysql_dbdir}/`/bin/hostname`.pid
 command=%%PREFIX%%/bin/mysqld_safe
-command_args=--defaults-extra-file=${mysql_dbdir}/my.cnf --user=$ 
{mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} $ 
{mysql_args}
+command_args=--defaults-extra-file=${mysql_dbdir}/my.cnf --user=$ 
{mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} $ 
{mysql_args}  /dev/null 

 procname=%%PREFIX%%/libexec/mysqld
 start_precmd=${name}_prestart
-start_cmd=${name}_start
 mysql_install_db=%%PREFIX%%/bin/mysql_install_db
 mysql_install_db_args=--ldata=${mysql_dbdir}

@@ -64,19 +60,4 @@
fi
 }

-mysql_start()
-{
-   local timeout=15
-
-   echo Starting ${name}
-
-   ${command} ${command_args}  /dev/null  /dev/null 21 
-   while [ ! -S ${mysql_conn_socket} -a ${timeout} -gt 0 ]; do
-   timeout=$(( timeout - 1 ))
-   sleep 1
-   done
-
-   return 0
-}
-
 run_rc_command $1

___
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-24 Thread Scott Bennett
 Sorry about the delay in my response.  I got tied up in lots of unrelated
matters for several days.
 On Wed, 19 Mar 2008 21:55:43 +0100 Dominic Fandrey [EMAIL PROTECTED]
wrote:
Scott Bennett wrote:
  Now that I've upgraded to X.org 7.3, I'm wishing that I hadn't done it.
 ...
  I'm still discovering more and more broken stuff in 7.3 each day.  It's
 only partially usable. ...

Did you check the integrity of your libraries? Are you maybe using portupgrade 
that keeps copies of old libraries in /usr/local/lib/compat/pkg ? Maybe some 
things are still linked against these, this can lead to a load of trouble.

You can install sysutils/bsdadminscripts and run pkg_libchk to check the 
integrity of your system.

 Thank you for that suggestion.  I tried running it, and it did produce
some messages like 

diablo-jre-1.5.0.07.01_3: /usr/local/diablo-jre1.5.0/lib/i386/libdcpr.so misses 
libjvm.so

However, xscreensaver{,-demo} did not appear in the output, nor did firefox.
The only package with a name beginning xorg- that appeared got this message:

xorg-printserver-6.9.0_2: /usr/X11R6/bin/Xprt misses libXdmcp.so.0

I'm not sure what to do about these or the others that were listed, but in any
case, the bsdadminscripts package of scripts appears to deal only with packages
and not with ports installed as ports rather than packages.  Because the X.org
upgrade process builds essentially all of the X.org core software from ports,
the scripts have limited applicability to the current situation.


  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: problems with automake110

2008-03-24 Thread Matthias Apitz
El día Monday, March 24, 2008 a las 05:49:49PM +0100, Matthias Apitz escribió:

 
 Hello,
 
 I want to port some application (Ekiga) directly from their SVN to
 FreeBSD 7.0R which is using
 
 $ ./autogen.sh --with-pwlib-dir=/usr/local 
 
 to generate the configure / Makefiles and which fails; the problem seems
 to be that 'aclocal' or some of the M4 macros used are not working as
 they should:
 
 $ LANG=C aclocal --dry-run
 /usr/local/share/aclocal/smpeg.m4:13: warning: underquoted definition of 
 AM_PATH_SMPEG
 /usr/local/share/aclocal/smpeg.m4:13:   run info '(automake)Extending aclocal'
 /usr/local/share/aclocal/smpeg.m4:13:   or see 
 http://sources.redhat.com/automake/automake.html#Extending-aclocal
 /usr/local/bin/gm4:/usr/local/share/aclocal/pilot-link.m4:1: ERROR: end of 
 file in string
 autom4te-2.61: /usr/local/bin/gm4 failed with exit status: 1
 aclocal-1.10: autom4te failed with exit status: 1
 $

the problem concerning '/usr/local/share/aclocal/pilot-link.m4' goes
away by deleting the port /usr/ports/palm/pilot-link
(maintainer Cc'ed);

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >