Re: Having some problems with a FreeBSD mail server (SMTP)

2008-07-31 Thread Patrick Lamaizière
Le Wed, 30 Jul 2008 18:35:17 -0600,
Andrew Falanga [EMAIL PROTECTED] a écrit :

 Hi,
 
 I run a mail server for my church.  Today I was called that folks are
 able to receive, but not send their mail.  They are all currently
 configured for POP3 (I use dovecot).
 
 At home I tried to send mail to two different e-mail accounts of mine
 using the church e-mail server and was successful.  I used KMail for
 this.
 
 As I look through /var/log/maillog I do not even see
 authid=their_user_ids in the mail log (I'm using TLS with
 sendmail).  One of the pastor's told me the error he's seeing is
 timeout.  They are using Outlook, I'm not sure of the version.
 What problems do people here usually encounter with Outlook mail
 clients and their SMTP servers?
 
 At this point, I'd just like to have some leads.  Any ideas what
 might be keeping them from sending?  They can all log in and receive
 e-mail POP3.

May be their ISPs filter the port 25 now?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: seen in ports and used but dont remember the name ;)

2008-07-31 Thread Chad Perrin
On Thu, Jul 31, 2008 at 12:22:36AM +1000, andrew clarke wrote:
 On Wed 2008-07-30 09:31:13 UTC-, DSA - JCR ([EMAIL PROTECTED]) wrote:
 
  I have used in the past year an utility for terminal that permit me to
  split the terminal in several sesions vertically/horizontally and also
  save and restore the sesion, letting it doing some commands.
  
  I installed from ports, but I dont remember its name. ;-)
 
 You are probably describing sysutils/screen, although recently I've
 switched to misc/tmux, which works in a similar way.

Yeah, probably Screen -- but, like you, I also prefer tmux.

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
Larry Wall: Perl is, in intent, a cleaned up and summarized version of
that wonderful semi-natural language known as 'Unix'.


pgpU8r6vRMVDD.pgp
Description: PGP signature


Handling of daily and weekly mails

2008-07-31 Thread Maximillian Dornseif

I administer about a dozen FreeBSD Servers. This results in me getting about
100 mails a week from the PERIODIC(8) scripts.  Obviously this is to much to
read with care.

I wonder what the canonical approach is to handling hundreds of status mails
like the ons generated by periodic.

Any Hints?

--md
-- 
View this message in context: 
http://www.nabble.com/Handling-of-daily-and-weekly-mails-tp18748908p18748908.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: Having some problems with a FreeBSD mail server (SMTP)

2008-07-31 Thread Jonathan McKeown
On Thursday 31 July 2008 02:35, Andrew Falanga wrote:
 Hi,

 I run a mail server for my church.  Today I was called that folks are able
 to receive, but not send their mail.  They are all currently configured for
 POP3 (I use dovecot).

 At home I tried to send mail to two different e-mail accounts of mine using
 the church e-mail server and was successful.  I used KMail for this.

 As I look through /var/log/maillog I do not even see
 authid=their_user_ids in the mail log (I'm using TLS with sendmail).  One
 of the pastor's told me the error he's seeing is timeout.  They are using
 Outlook, I'm not sure of the version.  What problems do people here usually
 encounter with Outlook mail clients and their SMTP servers?

 At this point, I'd just like to have some leads.  Any ideas what might be
 keeping them from sending?  They can all log in and receive e-mail POP3.

I'm using TLS and SMTP AUTH with sendmail - all my users are on Microsoft 
Outlook 2003 (bar one on Thunderbird and me on KMail).

Outlook didn't do TLS properly until Outlook 2003 Service Pack 2 or 3 - the 
symptom was repeated timeouts on trying to send mail. Even after upgrading 
all the users to SP3, we still occasionally have a similar problem. A user 
will try to send mail, the TLS negotiation will time out, and from that point 
on mail will just accumulate in the outbox. Outlook has to be closed down and 
restarted before it will correctly try the TLS connection again.

We also encountered another issue, which may or may not be related to using a 
Windows AD domain, which was that Outlook will reuse message-IDs - generally 
by copying the message-ID of an original message and using it as the 
message-ID for the reply. This one bit me twice: once when a user (quite 
correctly) complained that she was losing email. On investigation, it turned 
out that her manager had sent three or four different messages in reply to 
messages of hers, and Cyrus imapd had binned them all as duplicates based on 
the copied message-ID. I had to switch off duplicate suppression in imapd.

The second time - which I haven't found a solution for - is in Mailman. The 
HTML pages for archives are built using the assumption that message-IDs are 
unique: the result is that when two messages have the same message-ID, only 
one of them will appear in the archive. (Which one is random, so I suspect 
Mailman is using the message ID as a hash key internally).

I get the feeling that Microsoft pay lip-service to the standards, but don't 
really carry out proper testing against anything other than Microsoft 
Exchange (after all, why would you use anything else?!). Outlook doesn't 
support IMAP well.

Worst, from my point of view, I have regular complaints that people using POP3 
are losing email. By using telemetry in Cyrus imapd, I've been able to 
establish that there's no problem server-side: Outlook is downloading the 
mail, and then throwing it away. Try telling a user that Microsoft stuffed 
up, though.

(Sorry - this turned into an Outlook rant. I hope you find some benefit in the 
early paragraphs, before I started frothing at the mouth and throwing my 
toys).

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


Re: Handling of daily and weekly mails

2008-07-31 Thread Jonathan McKeown
On Thursday 31 July 2008 09:03, Maximillian Dornseif wrote:
 I administer about a dozen FreeBSD Servers. This results in me getting
 about 100 mails a week from the PERIODIC(8) scripts.  Obviously this is to
 much to read with care.

 I wonder what the canonical approach is to handling hundreds of status
 mails like the ons generated by periodic.

Depends how much you want to read them.

man periodic.conf

You can have the results put in a log file rather than emailed to you, if you 
prefer. You can also control the verbosity of the reports, so if you're very 
interested in some stats and not at all in others, you can suppress the 
boring ones.

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


Re: setting the other end's TCP segment size

2008-07-31 Thread Nikos Vassiliadis
On Thursday 31 July 2008 01:21:25 Giorgos Keramidas wrote:
 On Wed, 30 Jul 2008 16:20:06 -0500, Derek Ragona 
[EMAIL PROTECTED] wrote:
  At 11:04 PM 7/29/2008, [EMAIL PROTECTED] wrote:
   [TCP] splits traffic to 'segments' using its own logic ...
 
  Is there a simple way for a FreeBSD system to cause its peer to use a
  transmit segment size of, say, 640 bytes -- so that the peer will
  never try to send a packet larger than that?
 
  I'm trying to get around a network packet-size problem.  In case it
  matters, the other end is SunOS 4.1.1 on a sun3, and I've been unable
  to find a way to limit its packet size directly.
 
  Just as an FYI, you might want to do:
  man setsockopt
  ro
  man getsockopt
 
  Each tcp conversation can have it's own size set along with a bunch of
  other params.

 Good point.  The TCP_MAXSEG can reduce the maximum segment size for a
 single TCP connection to something smaller than the interface MTU :)

Just adding that MTU can be set per destination with the help of
route(8) and the -mtu modifier.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Group Limits

2008-07-31 Thread Ruben de Groot
On Thu, Jul 31, 2008 at 01:24:02AM +0200, Roland Smith typed:
 On Thu, Jul 31, 2008 at 07:32:23AM +1000, Michael Christie wrote:

  Can any one advise me how to expand the number of groups allow on
  freebsd I think my default it is 16, I need to make it 50 to 100
 
 The number 16 is from /usr/include/sys/syslimits.h. But my /etc/group
 has 37 groups without problems.

That's not the point.
The limit is not on the total number of groups, but on the number of
groups a user can be a member of.

Ruben

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


Re: setting the other end's TCP segment size

2008-07-31 Thread perryh
 You can edit `/etc/hostname.foo0' in the Sun too, and add
 something like:

 192.168.1.10/24 mtu 640

[getting OT for FreeBSD]

Are you sure that works as far back as SunOS 4.1.1?

/etc/hostname.le0 currently consists of the single word

  pluto

and it looks as if this causes /etc/rc.boot to do

  ifconfig le0 pluto netmask + -trailers up

(where the name pluto resolves to 192.168.200.1 via /etc/hosts).
If I were to change /etc/hostname.le0 to

  pluto mtu 640

I think the ifconfig command would become

  ifconfig le0 pluto mtu 640 netmask + -trailers up

and it doesn't look as if ifconfig recognizes mtu as a keyword
(at least while running -- granted I haven't tried actually
editing /etc/hostname.le0 and rebooting):

  # ifconfig le0 pluto mtu 640
  ifconfig: mtu: bad address
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Having some problems with a FreeBSD mail server (SMTP)

2008-07-31 Thread Andrew D

Andrew Falanga wrote:

Hi,

I run a mail server for my church.  Today I was called that folks are able to 
receive, but not send their mail.  They are all currently configured for POP3 
(I use dovecot).


At home I tried to send mail to two different e-mail accounts of mine using 
the church e-mail server and was successful.  I used KMail for this.


As I look through /var/log/maillog I do not even see authid=their_user_ids 
in the mail log (I'm using TLS with sendmail).  One of the pastor's told me 
the error he's seeing is timeout.  They are using Outlook, I'm not sure of 
the version.  What problems do people here usually encounter with Outlook 
mail clients and their SMTP servers?




Have you even tried to get them to telnet to port 25, 465(for tls/ssl) 
to see what happens?


If their ISP is blocking port 25 then you can get them to send their 
mail using port 465 (with TLS/SSL) or using the SMTP submission port 
which is on port 587.


HTH
cya
Andrew

At this point, I'd just like to have some leads.  Any ideas what might be 
keeping them from sending?  They can all log in and receive e-mail POP3.


Thanks,
Andy
___
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: Having some problems with a FreeBSD mail server (SMTP)

2008-07-31 Thread Barry Byrne
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Andrew Falanga

 I run a mail server for my church.  Today I was called that 
 folks are able to 
 receive, but not send their mail.  They are all currently 
 configured for POP3 
 (I use dovecot).
 
 At home I tried to send mail to two different e-mail accounts 
 of mine using 
 the church e-mail server and was successful.  I used KMail for this.
 
 As I look through /var/log/maillog I do not even see 
 authid=their_user_ids 
 in the mail log (I'm using TLS with sendmail).  One of the 
 pastor's told me 
 the error he's seeing is timeout.  They are using Outlook, 
 I'm not sure of 
 the version.  What problems do people here usually encounter 
 with Outlook 
 mail clients and their SMTP servers?
[EMAIL PROTECTED]

Andrew:

I've seen a similar problem from time to time with Outlook 2003 clients. For
seemingly no reason whatsoever, they give a timeout sending mail. Googling
the error code throws up many with the same error and no solution that I've
found. Telneting to port 25 or even running the Outlook test mail account
feature still work, while Outlook comlains it can't send. 

The workaround is to quit Outlook and start again. By quitting Outlook, the
user must choose 'exit' from the 'file' menu. Simply closing the close box
still leaves Outlook in memory and the problem remains. The problem seems to
happen perhaps once or twice a month for some users. 

Regards,

Barry

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


Re: Building a FreeBSD based mail server

2008-07-31 Thread Peter N. M. Hansteen
Jack Raats [EMAIL PROTECTED] writes:

 I should add postgrey and clamsmtp.
 Postgrey is a very good greylisting filter for postfix and clamsmtp I use

Actually, doing the greylisting via spamd (the one that comes with PF)
might be a better option (and it earns you the opportunity to do
greytrapping for added bonus)

- P
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SCSI RAID on FreeBSD 7.0, where is the array?

2008-07-31 Thread [EMAIL PROTECTED]

Hello again,

I apologise for not posting dmesg earlier. You will see I am booting 
off the RAID5 array for now, while I try to sort this out.


Turns out aacd0 is not listed either :(


Are there any clues here that I am not seeing?


Thanks for all your help so far
Dan


Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU E4600  @ 2.40GHz (2407.31-MHz 
K8-class CPU)

 Origin = GenuineIntel  Id = 0x6fd  Stepping = 13
 
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=0xe39dSSE3,RSVD2,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM
 AMD Features=0x20100800SYSCALL,NX,LM
 AMD Features2=0x1LAHF
 Cores per package: 2
usable memory = 4280705024 (4082 MB)
avail memory  = 4079972352 (3890 MB)
ACPI APIC Table: MSTEST OEMAPIC 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18)
acpi0: MSTEST OEMXSDT on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 7ff0 (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on 
acpi0

Timecounter HPET frequency 14318180 Hz quality 900
cpu0: ACPI CPU on acpi0
ACPI Warning (tbutils-0243): Incorrect checksum in table [OEMB] -  DC, 
should be CF [20070320]

est0: Enhanced SpeedStep Frequency Control on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr c280c2806000c28
device_attach: est0 attach returned 6
p4tcc0: CPU Frequency Thermal Control on cpu0
cpu1: ACPI CPU on acpi0
est1: Enhanced SpeedStep Frequency Control on cpu1
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr c280c2806000c28
device_attach: est1 attach returned 6
p4tcc1: CPU Frequency Thermal Control on cpu1
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge irq 16 at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
vgapci0: VGA-compatible display mem 
0xfd00-0xfdff,0xc000-0xcfff,0xfc00-0xfcff irq 16 
at device 0.0 on pci1
uhci0: UHCI (generic) USB controller port 0xe000-0xe01f irq 16 at 
device 26.0 on pci0

uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: UHCI (generic) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: UHCI (generic) USB controller port 0xe080-0xe09f irq 17 at 
device 26.1 on pci0

uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: UHCI (generic) USB controller on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
uhub1: 2 ports with 2 removable, self powered
ehci0: EHCI (generic) USB 2.0 controller mem 0xfebff400-0xfebff7ff irq 
18 at device 26.7 on pci0

ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: EHCI (generic) USB 2.0 controller on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb2
uhub2: 4 ports with 4 removable, self powered
pcib2: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0
pci4: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge irq 19 at device 28.3 on pci0
pci3: ACPI PCI bus on pcib3
pci3: network, ethernet at device 0.0 (no driver attached)
pcib4: ACPI PCI-PCI bridge irq 16 at device 28.4 on pci0
pci2: ACPI PCI bus on pcib4
atapci0: JMicron JMB363 SATA300 controller port 
0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f 
mem 0xfe6fe000-0xfe6f irq 16 at device 0.0 on pci2

atapci0: [ITHREAD]
atapci0: AHCI called from vendor specific driver
atapci0: AHCI Version 01.00 controller with 2 ports detected
ata2: ATA channel 0 on atapci0
ata2: [ITHREAD]
ata3: ATA channel 1 on atapci0
ata3: [ITHREAD]
ata4: ATA channel 2 on atapci0
ata4: [ITHREAD]
uhci2: UHCI (generic) USB controller port 0xd800-0xd81f irq 23 at 
device 29.0 on pci0

uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb3: UHCI (generic) USB controller on uhci2
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb3
uhub3: 2 ports with 2 removable, self powered
uhci3: UHCI (generic) USB 

Re: Group Limits

2008-07-31 Thread Michael Christie

Ruben de Groot wrote:

On Thu, Jul 31, 2008 at 01:24:02AM +0200, Roland Smith typed:
  

On Thu, Jul 31, 2008 at 07:32:23AM +1000, Michael Christie wrote:



  

Can any one advise me how to expand the number of groups allow on
freebsd I think my default it is 16, I need to make it 50 to 100
  

The number 16 is from /usr/include/sys/syslimits.h. But my /etc/group
has 37 groups without problems.



That's not the point.
The limit is not on the total number of groups, but on the number of
groups a user can be a member of.

Ruben

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


  
well if this is the case , is there a way of changing the number of 
groups a user can be a member of ? what i need is some advice on a work 
around for this, I have Google  and there in not much. see below


http://readlist.com/lists/lists.sourceforge.net/webadmin-list/1/7087.html

Ok have do some hours of work since my last post and have discovered 
the following. When a virtual domain is created using virtualmin it 
creates a user and a group with the same name ie user name king1 and 
group king1. Then it adds the newly created group king1 to the www group 
which is fine see below. This is fine for awhile until to many groups 
are members of the www group and apache complains and will not start 
also see below. 


Michael




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


Re: own OS-Name

2008-07-31 Thread Bill Moran
In response to Markus Mueller [EMAIL PROTECTED]:

 I will create my own *BSD OS based on FreeBSD.
 How can I change the Name of this OS ?
 I mean, that in Logfiles, for example, of servers, which I connect by
 sufing in the web and in application which locate the OS instead
 FREEBSD an another OS-Name MyOS-Name will be displayed.

In addition to Giorgos' answer, there are tools, such as nmap, that
identify the OS by it's behaviour and not by any string that appears
anywhere.  In order to convince those tools that your OS is not
FreeBSD, you'll have to alter the IP code to cause it to behave in
a manner that is unique.  Good luck doing _that_ without breaking
things.

-- 
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: own OS-Name

2008-07-31 Thread OutBackDingo
Take this advice very seriously from someone who has already 
done this effectively, you wount be able to accomplish this 
yourself, it will take months, and more then just a few good c  
coders to accomplish. its really a bad idea for what little you 
gain versus the amount of work involved.

On Thursday 31 July 2008 18:55:15 Bill Moran wrote:
 In response to Markus Mueller [EMAIL PROTECTED]:
  I will create my own *BSD OS based on FreeBSD.
  How can I change the Name of this OS ?
  I mean, that in Logfiles, for example, of servers, which I 
connect by
  sufing in the web and in application which locate the OS 
instead
  FREEBSD an another OS-Name MyOS-Name will be 
displayed.

 In addition to Giorgos' answer, there are tools, such as 
nmap, that
 identify the OS by it's behaviour and not by any string that 
appears
 anywhere.  In order to convince those tools that your OS is 
not
 FreeBSD, you'll have to alter the IP code to cause it to 
behave in
 a manner that is unique.  Good luck doing _that_ without 
breaking
 things.

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


Jails with multiple IPs?

2008-07-31 Thread Kyrre Nygård
greetings!
 i have a freebsd server (mother.naoshige.net) running two 
jails (camel.naoshige.net and box.naoshige.net):
 http://pastie.org/244706
 my question is, how do i give box.naoshige.net access to the remaining ipsof 
mother.naoshige.net (well, most of them)? do i just move theifconfig aliases 
from mother's rc.conf to box's?
 thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: When gcc43 is expected to be in base?

2008-07-31 Thread Jakub Lach

I'm now wondering why CPUTYPE=core2 is supposed to work in -current.

http://www.nabble.com/Re%3A-CPUTYPE-p10783746.html

http://www.nabble.com/Re%3A-CPUTYPE-p10787174.html

http://www.nabble.com/Re%3A-GSoC2007%3A-cnst-sensors.2007-08-20.patch-p12334133.html

I'm particular interested in Penryn instructions support.


Jakub Lach wrote:
 
 
 
 Kris Kennaway-3 wrote:
 
 Jakub Lach wrote:
 
 
 Kris Kennaway-3 wrote:
 Jakub Lach wrote:
 I'm eager to have core2 march, but don't want to mess system forcing
 gcc43 as
 base.
 I don't think it is planned to update to gcc 4.3 since it is covered by 
 the GPLv3.
 
 Thanks for fast answer, is there any chance that licensing stuff is
 going to
 be omitted?
 
 There is basically no chance the GCC developers will reconsider their 
 decision to relicense GCC 4.3 to GPLv3.
 
 If not, will then FreeBSD move to another compiler?
 
 The existing gcc 4.2 will be supported for some time by the gcc 
 developers.  In the meantime hopefully llvm/clang will mature enough to 
 provide an alternative.  It is already quite far along and has 
 significant resources behind it (apple, etc).
 
 Kris
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 
 
 Thank you very much for all answers.
 
 

-- 
View this message in context: 
http://www.nabble.com/When-gcc43-is-expected-to-be-in-base--tp18736784p18753406.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: setting the other end's TCP segment size

2008-07-31 Thread Giorgos Keramidas
On Thu, 31 Jul 2008 01:43:11 -0700, [EMAIL PROTECTED] wrote:
 You can edit `/etc/hostname.foo0' in the Sun too, and add
 something like:

 192.168.1.10/24 mtu 640

 [getting OT for FreeBSD]

 Are you sure that works as far back as SunOS 4.1.1?

Ah!  That will not work, you are right.  When I saw 'Sun' I assumed a
relatively recent Solaris version.  I didn't know you had SunOS 4.1.1
still around! :)

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


Re: own OS-Name

2008-07-31 Thread Markus Mueller

Bill Moran schrieb:

In response to Markus Mueller [EMAIL PROTECTED]:

  

I will create my own *BSD OS based on FreeBSD.
How can I change the Name of this OS ?
I mean, that in Logfiles, for example, of servers, which I connect by
sufing in the web and in application which locate the OS instead
FREEBSD an another OS-Name MyOS-Name will be displayed.



In addition to Giorgos' answer, there are tools, such as nmap, that
identify the OS by it's behaviour and not by any string that appears
anywhere.  In order to convince those tools that your OS is not
FreeBSD, you'll have to alter the IP code to cause it to behave in
a manner that is unique.  Good luck doing _that_ without breaking
things.

  

the command  uname must get these information from a file.
in which file are these informations ?
i can editing this file simply with my own informations and my OS 
based on FREEBSD.

this can be the solution of my problem.




___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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


no toe capability on...

2008-07-31 Thread Ewald Jenisch
Hi,

Today I updated kernel  system on one of my machines (FreeBSD
7.0). After the update which ran absolutely smooth I'm seeing spurious
messages both on the console and in /var/log/messages like the
following:

no toe capability on 0xc2e66400


Grep-ing through the sources I found the above message to come from
/usr/src/sys/netinet/tcp_offload.c. As far as I understand this has
something to do with TcpOffloadEngine.

Please note that this is a box several years old (2GHz P4) with three
Intel FXP FastEthernet-cards.

So here are my questions:

o) Has anybody else seen the above messages? 

o) Can they safely be ignored?

o) If not - what can I do to get rid of them?

Thanks much in advance for any clue,
-ewald

PS: I'm enclosing the output of dmesg below

--  Cut here  --

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 #5: Thu Jul 31 12:49:30 CEST 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/OeKB-SNIFF
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (1994.12-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf27  Stepping = 7
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x4400CNXT-ID,xTPR
real memory  = 528416768 (503 MB)
avail memory = 50318 (479 MB)
ACPI APIC Table: COMPAQ BROOKDG 
ioapic0: Changing APIC ID to 8
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: COMPAQ CPQ0050 on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 1f70 (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0xf808-0xf80b on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
vgapci0: VGA-compatible display mem 
0xf000-0xf7ff,0xfc70-0xfc77 irq 16 at device 2.0 on pci0
agp0: Intel 82845M (845M GMCH) SVGA controller on vgapci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0x2440-0x245f irq 16 at 
device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0x2460-0x247f irq 19 at 
device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
uhub1: 2 ports with 2 removable, self powered
ehci0: Intel 82801DB/L/M (ICH4) USB 2.0 controller mem 0xfc78-0xfc7803ff 
irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: wrong number of companions (3 != 2)
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: Intel 82801DB/L/M (ICH4) USB 2.0 controller on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb2
uhub2: 6 ports with 6 removable, self powered
pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0
pci5: ACPI PCI bus on pcib1
fxp0: Intel 82558 Pro/100 Ethernet port 0x1040-0x105f mem 
0xfcc0-0xfcc00fff,0xfc40-0xfc4f irq 16 at device 4.0 on pci5
miibus0: MII bus on fxp0
inphy0: i82555 10/100 media interface PHY 1 on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:a0:c9:9f:20:57
fxp0: [ITHREAD]
fxp1: Intel 82801DB (ICH4) Pro/100 VM Ethernet port 0x1000-0x103f mem 
0xfc60-0xfc600fff irq 20 at device 8.0 on pci5
miibus1: MII bus on fxp1
inphy1: i82562EM 10/100 media interface PHY 1 on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:0b:cd:21:c6:c7
fxp1: [ITHREAD]
fxp2: Intel 82557 Pro/100 Ethernet port 0x1060-0x107f mem 
0xfcc01000-0xfcc01fff,0xfc50-0xfc5f irq 18 at device 9.0 on pci5
miibus2: MII bus on fxp2
inphy2: i82555 10/100 media interface PHY 1 on miibus2
inphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp2: Ethernet address: 00:a0:c9:b2:e9:bc
fxp2: [ITHREAD]
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH4 UDMA100 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x24a0-0x24af irq 18 at device 31.1 on pci0
ata0: ATA channel 0 on atapci0
ata0: [ITHREAD]
ata1: ATA channel 1 on atapci0
ata1: [ITHREAD]
pcm0: Intel ICH4 (82801DB) port 0x2000-0x20ff,0x2400-0x243f mem 

250GB hd: Can FreeBSD use 137GB (bios) as Linux or Windows do?

2008-07-31 Thread me
Yesterday, I wrote about CANNOT READ BLK from my new hd that I 
filled via firewire: 
http://lists.freebsd.org/pipermail/freebsd-questions/2008-July/179646.html 
The response suggested to check for faulty hardware, which I am still 
trying to do.

I found FreeBSD reporting the drive to have 128GB instead of 232GB as 
FreeBSD did when the drive was connected via firewire. Searching the 
web, I found one reference of someone else having problems with 
128/137GB using the same (latest) bios on this five year old 
(Centrino) laptop (Acer TM800).

From Western Digital, I got Lifeguard, which installed ddo (dynamic 
drive overlay). With ddo, FreeBSD can access the full drive. 
Unfortunately, I need to dual boot Windows XP, which seems to be 
impossible with the ddo MBR.

Anyhow, both Linux (Knoppix, 2.6.24) and Windows XP (SP3) can access 
the whole drive without ddo. With Linux, I checked that I can indeed 
write and read high sectors. Thus, it is only the bios, not the 
controller that is limiting lba48 access. (At least with the geometry 
the disk reports.)

Is there any way to have FreeBSD access the whole drive without ddo, 
too?

If that is not possible, can you think of any way to load ddo only for 
FreeBSD, but have Windows XP started with a regular MBR?

I am not sure, why the ddo MBR does not boot Windows XP, but since 
Windows XP does not need it and ddo is not supported in dual boot 
environments, I guess I cannot complain.

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


Re: Very very weak sound from the speaker

2008-07-31 Thread WATANABE Kazuhiro
Hello.

At Wed, 30 Jul 2008 19:50:50 +0800,
Rommel Martinez wrote:
 I'm wondering why is it that no matter what I do, I can't seem to make
 my laptop emit sound lounder than a whisper.  The laptop is an ECS
 Elitegroup W330 (Arima W330-UCX) and this is the website of the
 laptop: http://www.arimacorp.com/ViewProduct.asp?View=145
 
 I thought at first there was no sound coming out at all, so what I did was I
 plugged an external speaker to it and maxed out the volume via the
 volume knob and set my mixer settings all to 100, then I was able to
 hear sound from the speaker, but it's too weak to be of any good use.
 
 The following is my configuration:
 
 $ cat /boot/loader.conf | grep snd_
 snd_ich_load=YES
 
 $ kldstat | grep snd_
  31 0xc0d3 6f88 snd_ich.ko
 
 $ kldstat | grep sound
  42 0xc0d37000 4a5acsound.ko
 
 $ cat /var/run/dmesg.boot | grep pcm
 pcm0: Intel ICH6 (82801FB) port 0x5000-0x50ff,0x48c0-0x48ff mem
 0xb0040800-0xb00409ff,0xb0040400-0xb00404ff irq 20 at device 30.2 on
 pci0
 pcm0: [ITHREAD]
 pcm0: Avance Logic ALC250 AC97 Codec
 
 $ cat /dev/sndstat
 FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
 Installed devices:
 pcm0: Intel ICH6 (82801FB) at io 0xb0040800, 0xb0040400 irq 20 bufsz
 16384 kld snd_ich [MPSAFE] (1p:1v/1r:1v channels duplex default)
 
 $ mixer
 Mixer vol is currently set to 100:100
 Mixer pcm is currently set to 100:100
 Mixer speaker is currently set to 100:100
 Mixer line is currently set to 100:100
 Mixer mic is currently set to 100:100
 Mixer cd is currently set to 100:100
 Mixer rec is currently set to 100:100
 Mixer igain is currently set to 100:100
 Mixer ogain is currently set to 100:100
 Mixer line1 is currently set to 100:100
 Mixer phin is currently set to 100:100
 Mixer phout is currently set to 100:100
 Recording source: mic
 
 I tried audacious, xmms, and mpg123 but I still get
 the same behaviour.
 
 What's causing this? Can anybody give pointers why
 is this happening?
 
 Thanks.

Can you show me the output of pciconf -lv | grep -A4 ^pcm ?
---
WATANABE Kazuhiro ([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: own OS-Name

2008-07-31 Thread Giorgos Keramidas
On Thu, 31 Jul 2008 14:48:14 +0200, Markus Mueller [EMAIL PROTECTED] wrote:
 Bill Moran schrieb:
 In response to Markus Mueller [EMAIL PROTECTED]:
 I will create my own *BSD OS based on FreeBSD.  How can I change the
 Name of this OS ?  I mean, that in Logfiles, for example, of
 servers, which I connect by sufing in the web and in application
 which locate the OS instead FREEBSD an another OS-Name MyOS-Name
 will be displayed.

 In addition to Giorgos' answer, there are tools, such as nmap, that
 identify the OS by it's behaviour and not by any string that appears
 anywhere.  In order to convince those tools that your OS is not
 FreeBSD, you'll have to alter the IP code to cause it to behave in a
 manner that is unique.  Good luck doing _that_ without breaking
 things.

 the command uname must get these information from a file.  in which
 file are these informations ?  i can editing this file simply with my
 own informations and my OS based on FREEBSD.  this can be the
 solution of my problem.

Hi Markus,

That's slightly touching just the tip of the iceberg.  See what Bill
wrote about 'OS fingerprinting' above.  If you just want to change the
uname output, then all you need is to edit one file:

/usr/src/sys/conf/newvers.sh

The resulting 'OS' is hardly different from 'FreeBSD' though, so you
will soon want to change stuff like the boot loader:

# pwd
/usr/src/sys/boot
# fgrep -ir 'FreeBSD' .
./common/interp_forth.c:ficlSetEnv(bf_sys, FreeBSD_version, 
__FreeBSD_version);
./common/newvers.sh:echo char bootprog_name[] = \FreeBSD/${3} ${2}\;  
vers.c
./i386/libfirewire/firewire.c:  crom_add_simple_text(src, root, 
buf-vendor, FreeBSD Project);
./i386/libfirewire/firewire.c:  crom_add_simple_text(src, buf-unit, 
buf-spec, FreeBSD);
./ia64/ski/efi_stub.c:  LFreeBSD, 0, 0,
./ia64/ski/sal_stub.c:  FreeBSD,
#

the __FreeBSD_version magic in sys/param.h:

# pwd
/usr/src/sys/sys
# fgrep __FreeBSD_version param.h
 * __FreeBSD_version numbers are documented in the Porter's Handbook.
#undef __FreeBSD_version
#define __FreeBSD_version 800040/* Master, propagated to newvers */
#

the system variables in the default make(1) includes:

# pwd
/usr/share/mk
# expand sys.mk | grep 'FreeBSD[ ]*?='
.FreeBSD?=  true
#

and the list goes on for a while.

Even if you _do_ change *all* the strings that say FreeBSD to
something else, you still haven't done anything to change the OS
fingerprint, and you already have a stack of patches that needs
maintenance, or forward porting as FreeBSD releases new patches, new
versions and moves on.

_That_ is what I meant when I wrote that it's non trivial :)

It's certainly possible.  The OpenBSD team did this when they split off
NetBSD.  The Dragonfly BSD folks have done it already when they branched
from FreeBSD 4.X.  So you can definitely do it.  But you should probably
understand a lot about the way the system works before doing that, and
changing just the uname output is not enough.

- Giorgos

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


Re: Group Limits

2008-07-31 Thread Norberto Meijome
On Thu, 31 Jul 2008 07:32:23 +1000
Michael Christie [EMAIL PROTECTED] wrote:

 I am running webmin and virtualmin  on freebsd  7.0,  I have  found when 
 i add a number of domains using virtualmin and restart apachie i get the 
 following error.
  
 [alert] (22)Invalid argument: initgroups: unable to set groups for User 
 www and Group 80...Apachie will not start..
 
 
  it happens when the 'apache' or 'httpd' user is a member of too many groups. 
 By default,
 Virtualmin adds the user Apache runs as to each domain's group, which
 eventually triggers this problem.

so is the dummy spit by apache itself, or a syscall made by apache ? 

u can use ktrace on apache when starting/dying and see what is causing the 
actual problem.

IF the issue really is central to /etc/groups , would moving to a bigger user 
management system (LDAP, NIS ? ) be possible? ( possibly implies changes to 
virtualmin too..)

B

_
{Beto|Norberto|Numard} Meijome

Real Programmers don't comment their code. If it was hard to write, it should 
be hard to understand and even harder to modify.

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: Very very weak sound from the speaker

2008-07-31 Thread nawcom
Perhaps this will help you out with the situation; this is from a 
previous post. I know for sure your audio chip's device/vendor id is 
0x266e8086. This is a fix for someone with FreeBSD-6.2; even though the 
person suggests to grab the compiled modules, he also has the sources 
there. This person had the same issues with volume, and this fixed the 
problem. I hope this helps.


-nawcom

 email removed:30:2:class=0x040100 card=0x099c103c chip=0x266e8086
rev=0x03 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801FB/FR/FW/FRW AC '97 Audio Controller'
class= multimedia
subclass = audio

Ok. Lets make it quick and simple. Grab both (I repeat: BOTH) sound.ko
and snd_ich.ko from http://people.freebsd.org/~ariff/test/ .

Let me guess. mixer phout and ogain control both \
headphone and
speaker separately, while mixer vol seems useless. Prove me wrong.



--
Ariff Abdullah
FreeBSD

-


WATANABE Kazuhiro wrote:

Hello.

At Wed, 30 Jul 2008 19:50:50 +0800,
Rommel Martinez wrote:
  

I'm wondering why is it that no matter what I do, I can't seem to make
my laptop emit sound lounder than a whisper.  The laptop is an ECS
Elitegroup W330 (Arima W330-UCX) and this is the website of the
laptop: http://www.arimacorp.com/ViewProduct.asp?View=145

I thought at first there was no sound coming out at all, so what I did was I
plugged an external speaker to it and maxed out the volume via the
volume knob and set my mixer settings all to 100, then I was able to
hear sound from the speaker, but it's too weak to be of any good use.

The following is my configuration:

$ cat /boot/loader.conf | grep snd_
snd_ich_load=YES

$ kldstat | grep snd_
 31 0xc0d3 6f88 snd_ich.ko

$ kldstat | grep sound
 42 0xc0d37000 4a5acsound.ko

$ cat /var/run/dmesg.boot | grep pcm
pcm0: Intel ICH6 (82801FB) port 0x5000-0x50ff,0x48c0-0x48ff mem
0xb0040800-0xb00409ff,0xb0040400-0xb00404ff irq 20 at device 30.2 on
pci0
pcm0: [ITHREAD]
pcm0: Avance Logic ALC250 AC97 Codec

$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: Intel ICH6 (82801FB) at io 0xb0040800, 0xb0040400 irq 20 bufsz
16384 kld snd_ich [MPSAFE] (1p:1v/1r:1v channels duplex default)

$ mixer
Mixer vol is currently set to 100:100
Mixer pcm is currently set to 100:100
Mixer speaker is currently set to 100:100
Mixer line is currently set to 100:100
Mixer mic is currently set to 100:100
Mixer cd is currently set to 100:100
Mixer rec is currently set to 100:100
Mixer igain is currently set to 100:100
Mixer ogain is currently set to 100:100
Mixer line1 is currently set to 100:100
Mixer phin is currently set to 100:100
Mixer phout is currently set to 100:100
Recording source: mic

I tried audacious, xmms, and mpg123 but I still get
the same behaviour.

What's causing this? Can anybody give pointers why
is this happening?

Thanks.



Can you show me the output of pciconf -lv | grep -A4 ^pcm ?
---
WATANABE Kazuhiro ([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-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: valgrind

2008-07-31 Thread Andrea Venturoli

Roland Smith wrote:

Read http://valgrind.org/info/platforms.html, especially 'Porting Plans'. 


I had read this, but it dates back to Feb 2007; I just hoped it was 
obsolete :-(




Or remove the line 'ONLY_FOR_ARCHS= i386' from the port Makefile, try it 
 and see where it breaks. :-) I'm guessing it need some support code in 
 the OS. 


That was more my question. There must be some OS support which FreeBSD 
i386 has and FreeBSD amd64 has not. It was just curiosity, though.




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


(math related) fonts in www/firefox-2.0.0.14_1,1

2008-07-31 Thread Joey Mingrone
Hi,

I'm having some trouble getting firefox to display certain (math
related) fonts.

For example, the page for the Poisson distribution at Wikipedia
(http://en.wikipedia.org/wiki/Poisson_distribution) uses, what I
believe is, a lambba character (sentence with the pmf), but it shows
up like this for me: http://jrm.ath.cx/misc/firefox_math_fonts.png.
I've installed x11-fonts/mathfonts-4.1_5 and it seems to be working
well based on my results at http://www.w3.org/Math/testsuite/.  Is
there anything else I'm missing?

Thanks for any tips,

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


Re: valgrind

2008-07-31 Thread Heiko Wundram
Am Donnerstag, 31. Juli 2008 16:19:16 schrieb Andrea Venturoli:
  Or remove the line 'ONLY_FOR_ARCHS= i386' from the port Makefile, try it
   and see where it breaks. :-) I'm guessing it need some support code in
   the OS.

 That was more my question. There must be some OS support which FreeBSD
 i386 has and FreeBSD amd64 has not. It was just curiosity, though.

AFAIK it's not about OS-support for valgrind being required (but there is a 
module for freebsd which speeds up valgrind considerably), but about 
syscall-support. valgrind has/requires wrappers for all _possible_ syscalls 
to be able to implement it's memory-checker and some other functionality, and 
that table of callbacks and the callbacks themselves simply aren't 
implemented for amd64 (which has different syscalls/syscall parameters than 
i386).

A porting effort is under way, as far as I recall a discussion on 
freebsd-hackers I had for a similar reason (the current valgrind that's in 
ports won't run on any 7.x, because the syscalls changed/were extended 
somewhat from the 6.x-series, and the table hasn't been adapted 
correspondingly), but the last time I pulled that porting effort (which is 
now about two months ago) and compiled it, valgrind was pretty much useless 
for me (even though it runs), because it couldn't deal with threads (i.e., 
the syscalls responsible for thread creation/management).

Just check in the archives of freebsd-hackers, possibly what's currently 
present (someone did a tarball) is enough for your purposes. But, YMMV.

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


Very very weak sound from the speaker

2008-07-31 Thread Rommel Martinez
 Perhaps this will help you out with the situation; this is from a
 previous post. I know for sure your audio chip's device/vendor id is
 0x266e8086. This is a fix for someone with FreeBSD-6.2; even though the
 person suggests to grab the compiled modules, he also has the sources
 there. This person had the same issues with volume, and this fixed the
 problem. I hope this helps.

 -nawcom

  email removed:30:2:class=0x040100 card=0x099c103c chip=0x266e8086
  rev=0x03 hdr=0x00
  vendor   = 'Intel Corporation'
  device   = '82801FB/FR/FW/FRW AC '97 Audio Controller'
  class= multimedia
  subclass = audio

 Ok. Lets make it quick and simple. Grab both (I repeat: BOTH) sound.ko
 and snd_ich.ko from http://people.freebsd.org/~ariff/test/ .

 Let me guess. mixer phout and ogain control both \
 headphone and
 speaker separately, while mixer vol seems useless. Prove me wrong.



 --
 Ariff Abdullah
 FreeBSD


I did that and I got a kernel panic. With the following on the console:


KLD file sound.ko - could not finalize loading

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xf00de2cf
fault code  = supervisor write, page not present
instruction pointer = 0x20:0xc0741063
stack pointer   = 0x28:0xc1020d20
frame pointer   = 0x28:0xc1020d6c
code segment= base 0x0, limit 0xf, type 0x13
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, 10PL = 0
current process = 0 ()
trap number = 12
panic: page fault
cpuid = 0


I restored the original sound.ko snd_ich.ko to be able to use the system.

-- 
Rommel M. Martinez [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: Very very weak sound from the speaker

2008-07-31 Thread Rommel Martinez
On Thu, Jul 31, 2008 at 10:59 PM, Paul Schmehl [EMAIL PROTECTED] wrote:
 What tool did you use to capture that panic?

Pen and paper.

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


upgrade from MySQL 41 to MySQL 51 problems

2008-07-31 Thread Jim Pazarena

I de-installed mysql41-client / scripts / server from my FreeBSD 7.0 system, and
attempted to make and install MySQL51, and I have encountered the following 
error.

It appears that an empty field has defined mysql-client EVEN THO I have 
installed
mysql51-client without mishap.

Is there a fix for this?
Thanks!

Script started on Thu Jul 31 07:50:28 2008
server1# make
Unknown suffix '@' used for variable 'port' (value '@MYSQL_TCP_PORT@')
/usr/local/bin/mysql: Error while setting value '@MYSQL_TCP_PORT@' to 'port'
===  mysql-scripts-5.1.26 cannot install: MySQL versions mismatch: 
mysql-client is installed and wanted version is mysql51-client.
*** Error code 1

Stop in /usr/ports/databases/mysql51-scripts.
Script done on Thu Jul 31 07:50:33 2008
--
Jim Pazarena  [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.0 Hardware Requirement.

2008-07-31 Thread ketan tada
Hello

I've tried to find hardware requirement for FreeBSC 7.0
but I couldn't found that. Can you please send me the hardware requirement?
I have laptop(celeron 1.4, 256 ram) so Can you suggest me which verson is
suitable for my hardware.

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


RE: FreeBSD 7.0 Hardware Requirement.

2008-07-31 Thread Sean Cavanaugh

 Date: Thu, 31 Jul 2008 07:43:07 -0700
 From: [EMAIL PROTECTED]
 To: freebsd-questions@FreeBSD.org
 CC: 
 Subject: FreeBSD 7.0 Hardware Requirement.
 
 Hello
 
 I've tried to find hardware requirement for FreeBSC 7.0
 but I couldn't found that. Can you please send me the hardware requirement?
 I have laptop(celeron 1.4, 256 ram) so Can you suggest me which verson is
 suitable for my hardware.
 
 Thanks and Regards,
 Ketan.
 ___


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


Re: no toe capability on...

2008-07-31 Thread Warren Block

On Thu, 31 Jul 2008, Ewald Jenisch wrote:


Today I updated kernel  system on one of my machines (FreeBSD
7.0). After the update which ran absolutely smooth I'm seeing spurious
messages both on the console and in /var/log/messages like the
following:

no toe capability on 0xc2e66400


Grep-ing through the sources I found the above message to come from
/usr/src/sys/netinet/tcp_offload.c. As far as I understand this has
something to do with TcpOffloadEngine.

Please note that this is a box several years old (2GHz P4) with three
Intel FXP FastEthernet-cards.

So here are my questions:

o) Has anybody else seen the above messages?


Yes, same here on a VIA motherboard with a vr interface.


o) Can they safely be ignored?


Looks like it.  They're debug messages that shouldn't still be in there. 
They were removed in version 1.2 but then reappeared in 1.4.2.1:


http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/tcp_offload.c
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/tcp_offload.c.diff?r1=1.1;r2=1.2
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/tcp_offload.c.diff?r1=1.4;r2=1.4.2.1

Thanks for locating the source of the problem.  I entered a PR (#126138) 
but forgot to put in a pointer to your message--and now can't, since the 
PR database claims #126138 doesn't exist.  I'll try again later.


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


Re: FreeBSD 7.0 Hardware Requirement.

2008-07-31 Thread Manolis Kiagias

ketan tada wrote:

Hello

I've tried to find hardware requirement for FreeBSC 7.0
but I couldn't found that. Can you please send me the hardware requirement?
I have laptop(celeron 1.4, 256 ram) so Can you suggest me which verson is
suitable for my hardware.

Thanks and Regards,
Ketan.
  



You need the i386 version.
The hardware notes are here:

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


Re: Very very weak sound from the speaker

2008-07-31 Thread WATANABE Kazuhiro
At Thu, 31 Jul 2008 22:55:51 +0800,
Rommel Martinez wrote:
 [EMAIL PROTECTED]:0:30:2: class=0x040100 card=0x2047161f chip=0x266e8086
 rev=0x04 hdr=0x00
 vendor = 'Intel Corporation'
 device = 'Intel Corporation  82830M/MG SDRAM Controller / Ho
 AC '97 Audio Controller/ Sigmatel (SoundMAX Integrated Digital Audio)'
 class  = multimedia
 subclass   = audio

OK.  How about this patch?

--- sys/dev/sound/pci/ich.c.releng702007-12-15 13:06:52.0 +0900
+++ sys/dev/sound/pci/ich.c 2008-08-01 00:10:04.0 +0900
@@ -1009,6 +1009,7 @@ ich_pci_attach(device_t dev)
switch (subdev) {
case 0x202f161f:/* Gateway 7326GZ */
case 0x203a161f:/* Gateway 4028GZ */
+   case 0x2047161f:/* Arima W330-UCX */
case 0x204c161f:/* Kvazar-Micro Senator 3592XT */
case 0x8144104d:/* Sony VAIO PCG-TR* */
case 0x8197104d:/* Sony S1XP */

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


Re: FreeBSD 7.0 Hardware Requirement.

2008-07-31 Thread Daniel de Oliveira
Im using 7.0 on my Dell Latitude C400 and works very fine (Pentium3
1.2, 256 ram). Sure, because I'm sometimes paranoic about performane
even with slow machines, I'm using xfce.

On Thu, Jul 31, 2008 at 11:43, ketan tada [EMAIL PROTECTED] wrote:
 Hello

 I've tried to find hardware requirement for FreeBSC 7.0
 but I couldn't found that. Can you please send me the hardware requirement?
 I have laptop(celeron 1.4, 256 ram) so Can you suggest me which verson is
 suitable for my hardware.

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




-- 
Daniel de Oliveira

Network and System Analyst
Security Specialist
IBM RISC Specialist
IBM Storage Specialist
Linux/Unix Specialist
Linux User #: 405334
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Very very weak sound from the speaker

2008-07-31 Thread Rommel Martinez
On Thu, Jul 31, 2008 at 11:35 PM, WATANABE Kazuhiro
[EMAIL PROTECTED] wrote:
 At Thu, 31 Jul 2008 22:55:51 +0800,
 Rommel Martinez wrote:
 [EMAIL PROTECTED]:0:30:2: class=0x040100 card=0x2047161f chip=0x266e8086
 rev=0x04 hdr=0x00
 vendor = 'Intel Corporation'
 device = 'Intel Corporation  82830M/MG SDRAM Controller / Ho
 AC '97 Audio Controller/ Sigmatel (SoundMAX Integrated Digital Audio)'
 class  = multimedia
 subclass   = audio

 OK.  How about this patch?

 --- sys/dev/sound/pci/ich.c.releng702007-12-15 13:06:52.0 +0900
 +++ sys/dev/sound/pci/ich.c 2008-08-01 00:10:04.0 +0900
 @@ -1009,6 +1009,7 @@ ich_pci_attach(device_t dev)
switch (subdev) {
case 0x202f161f:/* Gateway 7326GZ */
case 0x203a161f:/* Gateway 4028GZ */
 +   case 0x2047161f:/* Arima W330-UCX */
case 0x204c161f:/* Kvazar-Micro Senator 3592XT */
case 0x8144104d:/* Sony VAIO PCG-TR* */
case 0x8197104d:/* Sony S1XP */

 ---
 WATANABE Kazuhiro ([EMAIL PROTECTED])


OK. Is there a way to make those changes to my system without having to
rebuild world or I really need to?

-- 
Rommel M. Martinez [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: 250GB hd: Can FreeBSD use 137GB (bios) as Linux or Windows do?

2008-07-31 Thread Bob Johnson
On 7/31/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Yesterday, I wrote about CANNOT READ BLK from my new hd that I
 filled via firewire:
 http://lists.freebsd.org/pipermail/freebsd-questions/2008-July/179646.html
 The response suggested to check for faulty hardware, which I am still
 trying to do.

 I found FreeBSD reporting the drive to have 128GB instead of 232GB as
 FreeBSD did when the drive was connected via firewire. Searching the
 web, I found one reference of someone else having problems with
128/137GB using the same (latest) bios on this five year old
 (Centrino) laptop (Acer TM800).

FreeBSD has no such limit, at least not in recent versions (I'm using
a 200 GB drive at this moment, and at home I have a system with a 500
GB and a 750 GB drive). Your problem is caused either by the BIOS
lying to it (which is unlikely, because FreeBSD uses the BIOS value
only for initial booting), or the hard drive itself lying. Does your
drive have a jumper that causes it to report its capacity as 128GB for
compatibility with older BIOSes? If so, remove the jumper and try
again.

-- Bob Johnson
   [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: Very very weak sound from the speaker

2008-07-31 Thread WATANABE Kazuhiro
At Thu, 31 Jul 2008 23:39:47 +0800,
Rommel Martinez wrote:
 On Thu, Jul 31, 2008 at 11:35 PM, WATANABE Kazuhiro
 [EMAIL PROTECTED] wrote:
  At Thu, 31 Jul 2008 22:55:51 +0800,
  Rommel Martinez wrote:
  [EMAIL PROTECTED]:0:30:2: class=0x040100 card=0x2047161f 
  chip=0x266e8086
  rev=0x04 hdr=0x00
  vendor = 'Intel Corporation'
  device = 'Intel Corporation  82830M/MG SDRAM Controller / Ho
  AC '97 Audio Controller/ Sigmatel (SoundMAX Integrated Digital Audio)'
  class  = multimedia
  subclass   = audio
 
  OK.  How about this patch?
 
  --- sys/dev/sound/pci/ich.c.releng702007-12-15 13:06:52.0 +0900
  +++ sys/dev/sound/pci/ich.c 2008-08-01 00:10:04.0 +0900
  @@ -1009,6 +1009,7 @@ ich_pci_attach(device_t dev)
 switch (subdev) {
 case 0x202f161f:/* Gateway 7326GZ */
 case 0x203a161f:/* Gateway 4028GZ */
  +   case 0x2047161f:/* Arima W330-UCX */
 case 0x204c161f:/* Kvazar-Micro Senator 3592XT */
 case 0x8144104d:/* Sony VAIO PCG-TR* */
 case 0x8197104d:/* Sony S1XP */
 
  ---
  WATANABE Kazuhiro ([EMAIL PROTECTED])
 
 
 OK. Is there a way to make those changes to my system without having to
 rebuild world or I really need to?

See the FreeBSD Handbook for details.

 Building and Installing a Custom Kernel
 
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

Before you run make buildkernel, you have to apply the patch like this:

# cd /usr/src
# patch  /path/to/the/patchfile

If you don't want to compile a kernel and modules other than snd_ich,
try this instead of make buildkernel:

# cd /usr/src/sys/modules/sound/driver/ich
# make  make install

---
WATANABE Kazuhiro ([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: Very very weak sound from the speaker

2008-07-31 Thread Rommel Martinez
On Fri, Aug 1, 2008 at 12:07 AM, WATANABE Kazuhiro [EMAIL PROTECTED] wrote:
 At Thu, 31 Jul 2008 23:39:47 +0800,
 Rommel Martinez wrote:
 On Thu, Jul 31, 2008 at 11:35 PM, WATANABE Kazuhiro
 [EMAIL PROTECTED] wrote:
  At Thu, 31 Jul 2008 22:55:51 +0800,
  Rommel Martinez wrote:
  [EMAIL PROTECTED]:0:30:2: class=0x040100 card=0x2047161f 
  chip=0x266e8086
  rev=0x04 hdr=0x00
  vendor = 'Intel Corporation'
  device = 'Intel Corporation  82830M/MG SDRAM Controller / Ho
  AC '97 Audio Controller/ Sigmatel (SoundMAX Integrated Digital Audio)'
  class  = multimedia
  subclass   = audio
 
  OK.  How about this patch?
 
  --- sys/dev/sound/pci/ich.c.releng702007-12-15 13:06:52.0 +0900
  +++ sys/dev/sound/pci/ich.c 2008-08-01 00:10:04.0 +0900
  @@ -1009,6 +1009,7 @@ ich_pci_attach(device_t dev)
 switch (subdev) {
 case 0x202f161f:/* Gateway 7326GZ */
 case 0x203a161f:/* Gateway 4028GZ */
  +   case 0x2047161f:/* Arima W330-UCX */
 case 0x204c161f:/* Kvazar-Micro Senator 3592XT */
 case 0x8144104d:/* Sony VAIO PCG-TR* */
 case 0x8197104d:/* Sony S1XP */
 
  ---
  WATANABE Kazuhiro ([EMAIL PROTECTED])
 

 OK. Is there a way to make those changes to my system without having to
 rebuild world or I really need to?

 See the FreeBSD Handbook for details.

  Building and Installing a Custom Kernel
  
 http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

 Before you run make buildkernel, you have to apply the patch like this:

 # cd /usr/src
 # patch  /path/to/the/patchfile

 If you don't want to compile a kernel and modules other than snd_ich,
 try this instead of make buildkernel:

 # cd /usr/src/sys/modules/sound/driver/ich
 # make  make install

 ---
 WATANABE Kazuhiro ([EMAIL PROTECTED])


Ah. Why was I thinking of the whole userland? Anyway, I'm building a
new kernel now with the patch you gave me. I'll post results asap.


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


magic growisofs

2008-07-31 Thread Wojciech Puchar

i have DVD-sized partition with data.

when i do

growisofs -dvd-compat -speed=1 -Z /dev/cd0=/dev/partition

EVERY DVD gets broken. i get read error somewhere (most often - between 
2-3GB) when checking it with


dd if=/dev/cd0 of=/dev/null bs=256k


BUT - if i copy that whole partition image to file (on other,large 
partition) and record from file - EVERY DVD is OK.


recorder and hard drive are on different ATA busses.

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


Re: 250GB hd: Can FreeBSD use 137GB (bios) as Linux or Windows do?

2008-07-31 Thread Jan Henrik Sylvester
On 7/31/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Yesterday, I wrote about CANNOT READ BLK from my new hd that I
 filled via firewire:
 http://lists.freebsd.org/pipermail/freebsd-questions/2008-July/179646.html
 The response suggested to check for faulty hardware, which I am still
 trying to do.

 I found FreeBSD reporting the drive to have 128GB instead of 232GB as
 FreeBSD did when the drive was connected via firewire. Searching the
 web, I found one reference of someone else having problems with
128/137GB using the same (latest) bios on this five year old
 (Centrino) laptop (Acer TM800).

FreeBSD has no such limit, at least not in recent versions (I'm using
a 200 GB drive at this moment, and at home I have a system with a 500
GB and a 750 GB drive). Your problem is caused either by the BIOS

I never said FreeBSD had a limit. With ddo, it works. (I am on 7.0.)

lying to it (which is unlikely, because FreeBSD uses the BIOS value

Yes, it is the bios. With ddo, the full disk is available; ddo supposingly does 
nothing but change the bios interrupt handlers.

only for initial booting), or the hard drive itself lying. Does your

Are you sure about only for initial booting? If that was the case, I would 
not understand why it shows ad0: 238475MB with ddo and ad0: 131072MB 
without. Moreover, I tried writing to a sector beyond 128GB unsuccessfully 
without ddo and successfully with ddo (using dd).

drive have a jumper that causes it to report its capacity as 128GB for
compatibility with older BIOSes? If so, remove the jumper and try
again.

These is no such jumper. With Linux and Windows seeing the correct size 
(without ddo), the drive must report it somehow correctly.

Either your claim that FreeBSD is not relying on the bios is wrong, or I 
understand even less about the interaction of bios, drive, ddo handler, and os 
than I thought I would. (Please, enlighten me, if you know more.)

Thanks for your input!

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


Re: Very very weak sound from the speaker

2008-07-31 Thread nawcom
Did you compile it from the source files there or try to use the 
precompiled ones? I wouldn't be surprised if the precompiled ones would 
crash it since it was for 6.2 - my guess is you are using a 7-release; 
sorry if you misinterpreted what I was directing you towards. I read up 
on it and this fix should be included in 7-CURRENT. Hopefully Watanabe's 
patch he gave you will do the trick for your specific laptop model.

- nawcom

I did that and I got a kernel panic. With the following on the console:


KLD file sound.ko - could not finalize loading

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xf00de2cf
fault code  = supervisor write, page not present
instruction pointer = 0x20:0xc0741063
stack pointer   = 0x28:0xc1020d20
frame pointer   = 0x28:0xc1020d6c
code segment= base 0x0, limit 0xf, type 0x13
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, 10PL = 0
current process = 0 ()
trap number = 12
panic: page fault
cpuid = 0


I restored the original sound.ko snd_ich.ko to be able to use the system.

  


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


Re: Very very weak sound from the speaker

2008-07-31 Thread Rommel Martinez
On Fri, Aug 1, 2008 at 12:10 AM, Rommel Martinez [EMAIL PROTECTED] wrote:
 On Fri, Aug 1, 2008 at 12:07 AM, WATANABE Kazuhiro [EMAIL PROTECTED] wrote:
 At Thu, 31 Jul 2008 23:39:47 +0800,
 Rommel Martinez wrote:
 On Thu, Jul 31, 2008 at 11:35 PM, WATANABE Kazuhiro
 [EMAIL PROTECTED] wrote:
  At Thu, 31 Jul 2008 22:55:51 +0800,
  Rommel Martinez wrote:
  [EMAIL PROTECTED]:0:30:2: class=0x040100 card=0x2047161f 
  chip=0x266e8086
  rev=0x04 hdr=0x00
  vendor = 'Intel Corporation'
  device = 'Intel Corporation  82830M/MG SDRAM Controller / Ho
  AC '97 Audio Controller/ Sigmatel (SoundMAX Integrated Digital Audio)'
  class  = multimedia
  subclass   = audio
 
  OK.  How about this patch?
 
  --- sys/dev/sound/pci/ich.c.releng702007-12-15 13:06:52.0 
  +0900
  +++ sys/dev/sound/pci/ich.c 2008-08-01 00:10:04.0 +0900
  @@ -1009,6 +1009,7 @@ ich_pci_attach(device_t dev)
 switch (subdev) {
 case 0x202f161f:/* Gateway 7326GZ */
 case 0x203a161f:/* Gateway 4028GZ */
  +   case 0x2047161f:/* Arima W330-UCX */
 case 0x204c161f:/* Kvazar-Micro Senator 3592XT */
 case 0x8144104d:/* Sony VAIO PCG-TR* */
 case 0x8197104d:/* Sony S1XP */
 
  ---
  WATANABE Kazuhiro ([EMAIL PROTECTED])
 

 OK. Is there a way to make those changes to my system without having to
 rebuild world or I really need to?

 See the FreeBSD Handbook for details.

  Building and Installing a Custom Kernel
  
 http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

 Before you run make buildkernel, you have to apply the patch like this:

 # cd /usr/src
 # patch  /path/to/the/patchfile

 If you don't want to compile a kernel and modules other than snd_ich,
 try this instead of make buildkernel:

 # cd /usr/src/sys/modules/sound/driver/ich
 # make  make install

 ---
 WATANABE Kazuhiro ([EMAIL PROTECTED])


 Ah. Why was I thinking of the whole userland? Anyway, I'm building a
 new kernel now with the patch you gave me. I'll post results asap.


 --
 Rommel M. Martinez [EMAIL PROTECTED]


Great! I have normal audio now. Thanks a lot Kazuhiro.
By the way, when I set the volume (mixer vol) to 100, I
would hear a loud, continuous beep, so what I do is I lower
the value to around 90 and the loud beep goes away.
What's causing it? Is the behaviour to be expected?

Thanks a lot. Finally, I can play audio/video without
having to boot to Windows.

-- 
Rommel M. Martinez [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 and fluxbox locales

2008-07-31 Thread kenneth hatteland
I have read all I can google and the handbook trying to make my 
norwegian special keys working along with @ amongst others. so something 
is wrong with my locales.

I have been given many things to try but no luck whatsoever.

this is my.login.conf
:charset=ISO-8859-1:\
:lang=nb_NO.ISO8859-1:

this is .bashrc
export LANG=nb_NO.ISO-8859-1
export LC_ALL=nb.NO.ISO-8859-1

anyone who` s got something else for me to try is very apprecheated :)

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


Re: (math related) fonts in www/firefox-2.0.0.14_1,1

2008-07-31 Thread Chad Perrin
On Thu, Jul 31, 2008 at 11:42:39AM -0300, Joey Mingrone wrote:
 Hi,
 
 I'm having some trouble getting firefox to display certain (math
 related) fonts.
 
 For example, the page for the Poisson distribution at Wikipedia
 (http://en.wikipedia.org/wiki/Poisson_distribution) uses, what I
 believe is, a lambba character (sentence with the pmf), but it shows
 up like this for me: http://jrm.ath.cx/misc/firefox_math_fonts.png.
 I've installed x11-fonts/mathfonts-4.1_5 and it seems to be working
 well based on my results at http://www.w3.org/Math/testsuite/.  Is
 there anything else I'm missing?

Do you have the x11-fonts/webfonts port installed?  That would be my
first guess.  A second might be x11-fonts/xorg-fonts-truetype.

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
Mediocrity corrupts.  Bureaucracy corrupts absolutely.


pgpOy1O7PDcnd.pgp
Description: PGP signature


Re: Imposible to update/upgrade ports....

2008-07-31 Thread Agus
2008/7/30 Gerard [EMAIL PROTECTED]

 On Wed, 30 Jul 2008 12:53:21 -0300
 Agus [EMAIL PROTECTED] wrote:

 Hi guys,
 
 I'v been delaying the installed ports upgrade cause i was testing my
 server and now that it it in production i wanted to upgrade them and
 find it impossible...
 
 I am running
  uname -a
 FreeBSD everest.himalaya.network 6.1-RELEASE FreeBSD 6.1-RELEASE #0:
 Mon May 21 19:48:05 ART 2007
 
 I did a cvsup to update all ports which did it successfully...then
 installed portmanager and portsaudit
 
 did a pkg_version -v and find the outdated ports, like sec, mysql and
 more
 
 Now while trying to update with
 
 portmanager sysutils/rsync -l -ui -f
 #Then also tried without the f
 
 get this errors:
 -
 
 portmanager 0.4.1_9
 
  perl-5.8.8_1/lang/perl5.8
 make Strike 2
 
 it gets like its looping while updating perl
 For what i saw, portmanager seems to try to update all dependencies
 too..and is failing in that
 
 Something similar happened while trying to update apache22
 
 Its my first try updating/upgrading ports...and it was hard to find a
 doc explaining thisi mean..there are lots of docs but each with
 different methods...
 
 Well, hope you can give me a jhand..

 I use portmanager myself occasionally. They this:

 1) Update your ports tree
 2) Run: portmanager -u -l -y -p

 If it fails again, look in the log file (/var/log/portmanager.log) and
 see what it says. You can post the error message back here.


 --
 Gerard
 [EMAIL PROTECTED]

 Convention is the ruler of all.

Pindar



OK...I ll try it.

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


rc.suspend/rc.resume was: resume (hate to even ask)

2008-07-31 Thread Steve Franks
I just realized no one probably replied to my email due to the gross
ambiguity of the english language.  No, I am not looking for a job.
See below ;)

On Wed, Jul 30, 2008 at 3:17 PM, Steve Franks [EMAIL PROTECTED] wrote:
 Ok,

 I have too many systems with varying degrees of working freebsd on
 them, and I can't seem to leave well enough alone.  I hear lots of
 people having sucess with suspend, and I can't get it to work on a
 single system.

 My current strongest desire is to get it running on my hp ze4500
 laptop.  I've played with the stuff in the handbook, but that just
 took me from having a blank screen and no responses from Ctl-Alt-F(x)
 to now the fan comes on for a moment on resume, then the system powers
 offdoesn't seem to matter if X is up or not.

 I've kldunloaded usb, radeon, sound, drm, what else should I try?
 Also, rc.resume has a typo, right?  I'm susposed to change the
 #kldunload usb section to add kldload usb (and friends) right?

 Steve

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


Re: (math related) fonts in www/firefox-2.0.0.14_1,1

2008-07-31 Thread Joey Mingrone
On Thu, Jul 31, 2008 at 3:13 PM, Chad Perrin [EMAIL PROTECTED] wrote:
 On Thu, Jul 31, 2008 at 11:42:39AM -0300, Joey Mingrone wrote:
 Hi,

 I'm having some trouble getting firefox to display certain (math
 related) fonts.

 For example, the page for the Poisson distribution at Wikipedia
 (http://en.wikipedia.org/wiki/Poisson_distribution) uses, what I
 believe is, a lambba character (sentence with the pmf), but it shows
 up like this for me: http://jrm.ath.cx/misc/firefox_math_fonts.png.
 I've installed x11-fonts/mathfonts-4.1_5 and it seems to be working
 well based on my results at http://www.w3.org/Math/testsuite/.  Is
 there anything else I'm missing?

 Do you have the x11-fonts/webfonts port installed?  That would be my
 first guess.  A second might be x11-fonts/xorg-fonts-truetype.


The x11-fonts/webfonts did the trick.  Thanks Chad.

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


CD Won't Boot Properly - External Sony VGP-UDRW1 Drive

2008-07-31 Thread Duane Hill
I have a new Sony Vaio TZ2500 I'm attempting to load FreeBSD 7.0-RELEASE. 
Whenever the CD starts to boot, the screen just starts showing what 
appears to be memory dumps. If you stare at the screen long enough, you 
can tell there are two columns of eight hex pairs. They flash by so fast 
you can't hardly make out what is being displayed.


Does anyone know what might be going on and how to get the CD to boot 
properly?


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


Re: 250GB hd: Can FreeBSD use 137GB (bios) as Linux or Windows do?

2008-07-31 Thread Bob Johnson
On 7/31/08, Jan Henrik Sylvester [EMAIL PROTECTED] wrote:
On 7/31/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Yesterday, I wrote about CANNOT READ BLK from my new hd that I
 filled via firewire:
 http://lists.freebsd.org/pipermail/freebsd-questions/2008-July/179646.html
 The response suggested to check for faulty hardware, which I am still
 trying to do.

 I found FreeBSD reporting the drive to have 128GB instead of 232GB as
 FreeBSD did when the drive was connected via firewire. Searching the
 web, I found one reference of someone else having problems with
128/137GB using the same (latest) bios on this five year old
 (Centrino) laptop (Acer TM800).


I don't know how long ago the ATA-6 specification was adopted, but
prior to that ATA-5 had a 128 GB limit on disk size. I suspect your
BIOS is old enough to have adopted that limit. Perhaps if a BIOS
update for your system is available, it will solve your problem. BUT,
my understanding is that after the initial boot, FreeBSD reads the
size directly from the drive, so it seems strange that you are
encountering this problem if the drive itself is correctly reporting
its size.

Anyway, the fundamental answer to your question is this should not be
happening. The challenge is to figure out where the problem is and
what to do about it.

FreeBSD has no such limit, at least not in recent versions (I'm using
a 200 GB drive at this moment, and at home I have a system with a 500
GB and a 750 GB drive). Your problem is caused either by the BIOS

 I never said FreeBSD had a limit. With ddo, it works. (I am on 7.0.)

lying to it (which is unlikely, because FreeBSD uses the BIOS value

 Yes, it is the bios. With ddo, the full disk is available; ddo supposingly
 does nothing but change the bios interrupt handlers.

only for initial booting), or the hard drive itself lying. Does your

 Are you sure about only for initial booting? If that was the case, I would
 not understand why it shows ad0: 238475MB with ddo and ad0: 131072MB
 without. Moreover, I tried writing to a sector beyond 128GB unsuccessfully
 without ddo and successfully with ddo (using dd).


I am quite certain, although I don't know the details. Like any modern
operating system (and since before some of them), FreeBSD asks the
drive for its size.

drive have a jumper that causes it to report its capacity as 128GB for
compatibility with older BIOSes? If so, remove the jumper and try
again.

 These is no such jumper. With Linux and Windows seeing the correct size
 (without ddo), the drive must report it somehow correctly.

 Either your claim that FreeBSD is not relying on the bios is wrong, or I
 understand even less about the interaction of bios, drive, ddo handler, and
 os than I thought I would. (Please, enlighten me, if you know more.)


I think it would be informative to do as someone suggested after your
first post, and re-install FreeBSD on the partition from scratch, to
see if it that solves the behavior problems. It could be an artifact
of your transfer method, although I don't have a specific theory to
explain it.

By the way, what version of FreeBSD is on the system? Any chance it is
old enough that it didn't support drives larger than 128 GB (I don't
know how old that would have to be)?  That might include a bug in an
IDE driver that has since been fixed, or an obscure default
configuration option that changes FreeBSD's idea of how to address a
drive.

Another thought is that if you aren't using the FreeBSD loader (MBR),
then your problems may be caused by the loader. You could test this by
installing the FreeBSD disk loader (I think that would be boot0cfg -B
ad0, but I might not have that right).

Is there any chance the MS-DOS partition table got changed at some
point to tell FreeBSD the partition is smaller than the BSD label says
it is?

 Thanks for your input!

Good luck.

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


Thread safe library references

2008-07-31 Thread Bob McConnell
Where can I find an authoritative list of libraries and functions that
are thread safe? I am using FreeBSD 7.0 RELEASE, and none of the
documentation I have been able to get my eyes on even mention threads.

Thank you,

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


any volunteers in the Seattle area?

2008-07-31 Thread Gary Kline

hello to any listmember in the seattle metro area,

i can't ask my 72-year-old fellow nerd pal to heft my 
19 CRT, so is there anyone else who will help me swap out this
ancient tube and put in my new LCD display?

(if might be better to reply off-list because this *is* a bit
OT)

thanks,

gary



-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Compile firefox with debug symbols

2008-07-31 Thread Martin Laabs

Hi,

I have some problems with firefox (it just don't
start - as well as openoffice.) I think it is a
broken lib - but though I recompiled all the libs
it still does not work.
Now I'll do it the right way and use gdb but until
now I had no success compiling a binary of firefox
(or regxpcom which also hangs) with debug symbols

I tried  make DEBUG=on LOGGING=on but this produced
also only the stripped binaries.

So - how can I build firefox (form the ports) with
debug symbols?

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


Bypassing Transparent Proxy

2008-07-31 Thread Jay Hall

Ladies and Gentlemen,

A situation has arisen for which I need to bypass my transparent proxy 
server (Squid) for a ceratin IP address range.


Following are the contents of my ipnat.rules file.

map em1 192.d.e.f/24 - 0/32
map em1 from 10.a.b.c/24 to 69.147.83.33/32 - 0/32
rdr em0 0.0.0.0/0 port 80 - 10.x.y.z port 3128 tcp
map em1 10.a.b.c/24 - 0/32

em1 is the external interface on my server.

My thinking with the rules, was adding the map command before the rdr 
would prevent traffic destined for 69.147.83.33 from hitting the proxy 
server.  Unfortunately, it did not work.


Is there an easy way to bypass the proxy server when accessing this one 
address?


Thanks,



Jay

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


Re: Could not find bsd.port.options.mk

2008-07-31 Thread Lowell Gilbert
Kiffin Gish [EMAIL PROTECTED] writes:

 When I run portupgrade I get the following make error:

 Makefile, line 55: Could not find bsd.port.options.mk

 However, this file is located at: /usr/ports/Mk/bsd.port.options.mk

 What's going wrong?

Do you have the one in /usr/share/mk?

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem building openssh-portable with KERBEROS, GSSAPI, KERB_GSSAPI.

2008-07-31 Thread Lowell Gilbert
Valeriu Mutu [EMAIL PROTECTED] writes:

 I am trying to build 'openssh-portable' from ports 
 (security/openssh-portable/) with the following configuration options:

  PAM=on Enable pam(3) support
  TCP_WRAPPERS=on Enable tcp_wrappers support
  LIBEDIT=on Enable readline support to sftp(1)
  KERBEROS=on Enable kerberos (autodetection)
  SUID_SSH=off Enable suid SSH (Recommended off)
  GSSAPI=on Enable GSSAPI support (req: KERBEROS)
  KERB_GSSAPI=on Enable Kerberos/GSSAPI patch (req: GSSAPI)
  OPENSSH_CHROOT=off Enable CHROOT support
  OPENSC=off Enable OpenSC smartcard support
  OPENSCPINPATCH=off Enable OpenSC PIN patch
  HPN=off Enable HPN-SSH patch
  LPK=off Enable LDAP Public Key (LPK) patch
  OVERWRITE_BASE=off OpenSSH overwrite base

 and get the following error on 'make':
 ---
 ...
 if test ! -z ; then  /usr/bin/perl5 ./fixprogs ssh_prng_cmds ;  fi
 (cd openbsd-compat  make)
 cc -o ssh ssh.o readconf.o clientloop.o sshtty.o  sshconnect.o sshconnect1.o 
 sshconnect2.o -L. -Lopenbsd-compat/ -L/usr/local/lib  -rpath=/usr/local/lib 
 -L/lib -lssh -lopenbsd-compat -lcrypto -lutil -lz  -lcrypt -lgssapi -lkrb5 
 -lk5crypto -lcom_err
 ./libssh.a(gss-genr.o)(.text+0xa8c): In function `ssh_gssapi_import_name':
 /usr/ports/security/openssh-portable/work/openssh-5.0p1/gss-genr.c:369: 
 undefined reference to `gss_nt_service_name'
 *** Error code 1

 Stop in /usr/ports/security/openssh-portable/work/openssh-5.0p1.
 *** Error code 1

 Stop in /usr/ports/security/openssh-portable.
 *** Error code 1

 Stop in /usr/ports/security/openssh-portable.

For what it's worth, I can't reproduce the problem on a 6-week-old
version of 7-STABLE, with ports a couple of days old.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd and fluxbox locales

2008-07-31 Thread Roger Olofsson

Hello Kenneth,

I think you need to run xorgconfig and set the appropriate keyboard when 
creating xorg.conf.


For fluxbox there is however a file called keys in the .fluxbox 
directory if there is any special character you would want mapped


(For FreeBSD you set it with sysinstall but that is not the issue here)

/Roger



kenneth hatteland skrev:
I have read all I can google and the handbook trying to make my 
norwegian special keys working along with @ amongst others. so something 
is wrong with my locales.

I have been given many things to try but no luck whatsoever.

this is my.login.conf
:charset=ISO-8859-1:\
:lang=nb_NO.ISO8859-1:

this is .bashrc
export LANG=nb_NO.ISO-8859-1
export LC_ALL=nb.NO.ISO-8859-1

anyone who` s got something else for me to try is very apprecheated :)

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


No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 
270.5.9/1583 - Release Date: 2008-07-31 06:17





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


keyboard!!

2008-07-31 Thread Gary Kline

hi people,

a friend gave me two of his old dell keyboards; one of which has
worked pretty well.  trouble is that is it very large-- std??
travel-time is just that much moresince i am using only my
left hand.  S: i'mm looking for a compact keyboard with
built-in clicky keys. ---flames to /dev/null, guys. (circa 1988
when i joined yet-another-startup and i turned on the Sun
click audio, my co-workers [in the same room] nearly lynched me).---  

i don't watch the screen when i type; i watch my fingers.
still without a solid *thunk*, i can't be certain whether i 
hit a key.  (never took typing in high school; that was only 
for girls:)

is there a newer, more-better, prefferedstandard than the PS/2
essentially: small footprint, key-click [either mechanical or
electronic], std layout.

tia,

gary



-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: 250GB hd: Can FreeBSD use 137GB (bios) as Linux or Windows do?

2008-07-31 Thread Jan Henrik Sylvester
I guess I should have put it more concise as some important details were 
lost in the middle of the background story.


--- The important part: ---

If I boot the FreeBSD 7.0-RELEASE livefs CD, I have my 232GB hd limited 
to 128GB. (According to dmesg and some dd writing tests.)


If I boot the dynamic drive overlay MBR that changes the INT13 bios 
routines and let it boot the livefs CD, FreeBSD can access all 232GB.


These two cases happen with the same MBR and the same content on the drive.

--- (Important part ending) ---

From my limited understanding: This cannot be about the FreeBSD 
installation transfered by firewire, since it is long gone. This cannot 
be about the FreeBSD MBR, since it is not involved. This is not about 
the partition table, since it is the same.


Doing the same with a Linux live CD (Knoppix), I can access the whole 
drive in both cases.


Windows reports 232GB, too, but according to this (German) posting 
http://www.acer-userforum.de/thread.php?postid=40207 writing above 128GB 
will wrap around for the 855GME chipset driver (I have 855PM). The 
posting claims ddo would solve it, which I cannot understand, if the 
Windows driver ignores the bios information. (The posting is about Acer 
Travelmate 661. I got the 800 from the same time.)


My laptop is more than five years old and I have got the latest bios for 
years, apparently without 48bit LBA.


I am kind of lost. I cannot understand the disassembled MBR and even if 
I could, I do not think I would want to create my own boot manager / 
INT13 handler. I guess reading FreeBSD source code would be next... but 
I am not very confident there, either.


The alternative is that my understanding of the problem is totally wrong.

Thanks for more helping to think through this mess of information I got 
during the last day.


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


Re: keyboard!!

2008-07-31 Thread David Gurvich
I know of a company that makes new buckle-spring keyboards of all
sorts, unicomp (uses the name pckeyboards).  That includes custom made
ones. The only issue for me is the price, $99.  The
one I've been wanting is the endurapro with a thinkpad-like stick in the
middle.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: encrypted email using web based application

2008-07-31 Thread Chad Perrin
On Wed, Jul 30, 2008 at 03:14:50PM +0200, Svein Halvor Halvorsen wrote:
 Andrew Gould wrote:
  If I start with Subject line with the word secure using my work's email
  system, the email is sent to a secure, web based application where the
  recipients can view the message securely.  The recipients receive a message
  that a secure email message is waiting for them there.  They have to create
  an account based upon their email address to view the message.  They do not
  have to recreate the accounts for future messages.
  
  This system is easy to use; and we don't have to worry about whether the
  recipients have PGP or GPG.  Is there an open source application that does
  this?
 
 How is this secure? Ok, I can see that if the message is served over
 https, then the network packages themselves cannot be sniffed
 easily. But as long as the recipient did not give you the key to
 use, then this is not secure. Why should the recipient trust the server?
 
 Whether there is an open source solution, I don't know however.

It depends on your definition of secure -- which can vary from one
circumstance to another.  If the emails in question are company
property, there's no reason to consider access to the emails by company
officials a breach of security.  On the other hand, if sensitive company
information is sniffed in plain text on the network, that could be
disastrous.

From the sound of it, the circumstances the OP described refer to such a
situation -- one where strict person-to-person privacy isn't a necessary
goal of relevant security concerns.

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
Scott McNealy: Microsoft is now talking about the digital nervous
system.  I guess I would be nervous if my system was built on their
technology too.


pgpjFykVt5cPR.pgp
Description: PGP signature


Re: keyboard!!

2008-07-31 Thread Roland Smith
On Thu, Jul 31, 2008 at 01:39:17PM -0700, Gary Kline wrote:
 
   hi people,
 
   a friend gave me two of his old dell keyboards; one of which has
   worked pretty well.  trouble is that is it very large-- std??
   travel-time is just that much moresince i am using only my
   left hand.  S: i'mm looking for a compact keyboard with
   built-in clicky keys.

A company named Unicomp now manufactures the IBM Model-M keyboard with
the buckling springs (they acquired the patents from Lenovo);
http://pckeyboards.stores.yahoo.net/

Check out their spacesaver model:
http://pckeyboards.stores.yahoo.net/en104bl.html 

I'm thinking of orderding one myself, because I really liked the solid feel
of those old model-M keyboards.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpDvkC2Iu8af.pgp
Description: PGP signature


Re: Compile firefox with debug symbols

2008-07-31 Thread Roland Smith
On Thu, Jul 31, 2008 at 09:00:53PM +0200, Martin Laabs wrote:
 Hi,
 
 I have some problems with firefox (it just don't
 start - as well as openoffice.) I think it is a
 broken lib - but though I recompiled all the libs
 it still does not work.

It might not be necessary to trot out gdb just yet.

Try starting firefox from a terminal. It will print a message if it cannot
find a library.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpgupg19jul8.pgp
Description: PGP signature


Mounting hfs+ ipod on freebsd i386

2008-07-31 Thread David Gurvich
Does the kernel need to be rebuilt in order to mount an ipod formatted
with apple's hfs+ filesystem?  If yes, what options are needed in the
kernel and if not, what needs to be done?  Other than reformatting to
fat32.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: keyboard!!

2008-07-31 Thread David Gurvich
Hello Roland,

So you have also been lusting after one of these keyboards?  Has anyone
actually ordered and used one of these and what is the opinion on them?

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


Re: Mounting hfs+ ipod on freebsd i386

2008-07-31 Thread John Nielsen
On Thursday 31 July 2008, David Gurvich wrote:
 Does the kernel need to be rebuilt in order to mount an ipod formatted
 with apple's hfs+ filesystem?  If yes, what options are needed in the
 kernel and if not, what needs to be done?  Other than reformatting to
 fat32.

Take a look at emulators/hfs and/or emulators/hfsutils. I haven't used 
either but it looks like they should do the trick. My guess is they run in 
userland and don't require kernel modifications.

JN

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


Controlling read access

2008-07-31 Thread John Almberg
I operate a server on which I am typically the only ssh user, but I  
do provide a small number of users ftp access.


Each user has their own home directory. Currently all home  
directories have read permission set for 'other'. This means if I log  
in as one user, I can read and even download the contents of other  
users home directories.


I want to block this read access. What is the best way to do this?  
Turn off the read bit for 'other'? Or is there some better way?


Thanks: John

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


Re: Controlling read access

2008-07-31 Thread Manolis Kiagias

John Almberg wrote:
I operate a server on which I am typically the only ssh user, but I do 
provide a small number of users ftp access.


Each user has their own home directory. Currently all home directories 
have read permission set for 'other'. This means if I log in as one 
user, I can read and even download the contents of other users home 
directories.


I want to block this read access. What is the best way to do this? 
Turn off the read bit for 'other'? Or is there some better way?


Thanks: John



What ftp server software are you using?

For example, in proftpd, you simply add this line to 
/usr/local/etc/proftpd.conf:


DefaultRoot ~

and everyone is jailed into his own directory.

It also seems the ftp daemon in the base system supports this through 
/etc/ftpchroot.

If you are using it, read the man pages for ftpd(8) and ftpchroot(5)

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


Re: Controlling read access

2008-07-31 Thread Valeriu Mutu
On Thu, Jul 31, 2008 at 05:16:48PM -0400, John Almberg wrote:
 I operate a server on which I am typically the only ssh user, but I  
 do provide a small number of users ftp access.
 
 Each user has their own home directory. Currently all home  
 directories have read permission set for 'other'. This means if I log  
 in as one user, I can read and even download the contents of other  
 users home directories.
 
 I want to block this read access. What is the best way to do this?  
 Turn off the read bit for 'other'? Or is there some better way?
 
 Thanks: John
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Hi John,

If the user logs into their own directory via FTP, there should be a way to 
chroot him/her, so that the home directory appears as the root directory. 
Consult your FTP server manuals for this.

You might also turn off the r,w,x bits for other.

Valeriu

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


Re: keyboard!!

2008-07-31 Thread Chess Griffin

Roland Smith wrote:


I'm thinking of orderding one myself, because I really liked the solid feel
of those old model-M keyboards.



I use an original model M made in the mid 1980's and love it.  You can 
still order used and new original Model M's from 
http://www.clickykeyboards.com/ including the 84-key space saver model.



--
Chess Griffin
GPG Key:  0x0C7558C3
http://www.chessgriffin.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: (math related) fonts in www/firefox-2.0.0.14_1,1

2008-07-31 Thread Chad Perrin
On Thu, Jul 31, 2008 at 03:38:11PM -0300, Joey Mingrone wrote:
 On Thu, Jul 31, 2008 at 3:13 PM, Chad Perrin [EMAIL PROTECTED] wrote:
  On Thu, Jul 31, 2008 at 11:42:39AM -0300, Joey Mingrone wrote:
  Hi,
 
  I'm having some trouble getting firefox to display certain (math
  related) fonts.
 
  For example, the page for the Poisson distribution at Wikipedia
  (http://en.wikipedia.org/wiki/Poisson_distribution) uses, what I
  believe is, a lambba character (sentence with the pmf), but it shows
  up like this for me: http://jrm.ath.cx/misc/firefox_math_fonts.png.
  I've installed x11-fonts/mathfonts-4.1_5 and it seems to be working
  well based on my results at http://www.w3.org/Math/testsuite/.  Is
  there anything else I'm missing?
 
  Do you have the x11-fonts/webfonts port installed?  That would be my
  first guess.  A second might be x11-fonts/xorg-fonts-truetype.
 
 
 The x11-fonts/webfonts did the trick.  Thanks Chad.

Glad to be of help.

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
Peter Norvig: Use the most natural notation available to solve the
problem, and then worry about writing an interpreter for that notation.


pgpWuiCRf5RRs.pgp
Description: PGP signature


Re: Bypassing Transparent Proxy

2008-07-31 Thread Warren Block

On Thu, 31 Jul 2008, Jay Hall wrote:

A situation has arisen for which I need to bypass my transparent proxy server 
(Squid) for a ceratin IP address range.


Following are the contents of my ipnat.rules file.



Is there an easy way to bypass the proxy server when accessing this one 
address?


Instead of in the firewall, you can do that with squid:

http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#head-d82a8d4c42f3600c857cef92d77d76914af54592

In case that URL doesn't work, it's the Can I make Squid go direct for 
some sites? question about the always_direct access list.


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


Re: Mail Heading to dead.letter

2008-07-31 Thread Derek Ragona

At 10:08 PM 7/30/2008, Andy Christianson wrote:


 At 05:45 PM 7/30/2008, Andy Christianson wrote:

 
  Check perms on /var/mail that it is set to 775
 
  -Derek
 

 /var/mail is at 775, so that's not it...

 [EMAIL PROTECTED] ~]$ stat /var/mail
 89 47105 drwxrwxr-x 2 root mail 188185 512 Jul 30 03:01:51 2008 Jul 30
 16:35:18 2008 Jul 30 16:35:18 2008 Feb 24 12:49:40 2008 4096 4 0
 /var/mail



 I would kick up the logging on sendmail to see better what is going on and
 where the failure really is.  You can add:
 -O LogLevel=80
 To your sendmail options in /etc/rc.conf

 Since root can send mail but regular users cannot, it sounds like a
 permission problem somewhere.

 -Derek

It turns out that FreeBSD wasn't happy with its host name. I changed it to a
host name that resolves properly, and sendmail began to work as expected.

Thanks for looking at this.

-Andy


Andy,

Sendmail is VERY dns dependent as you found out.  Glad all is working fine.

-Derek


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

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


Re: 250GB hd: Can FreeBSD use 137GB (bios) as Linux or Windows do?

2008-07-31 Thread Bob Johnson
On 7/31/08, Jan Henrik Sylvester [EMAIL PROTECTED] wrote:
 I guess I should have put it more concise as some important details were
 lost in the middle of the background story.

 --- The important part: ---

 If I boot the FreeBSD 7.0-RELEASE livefs CD, I have my 232GB hd limited
 to 128GB. (According to dmesg and some dd writing tests.)

 If I boot the dynamic drive overlay MBR that changes the INT13 bios
 routines and let it boot the livefs CD, FreeBSD can access all 232GB.

 These two cases happen with the same MBR and the same content on the drive.

 --- (Important part ending) ---

  From my limited understanding: This cannot be about the FreeBSD
 installation transfered by firewire, since it is long gone. This cannot
 be about the FreeBSD MBR, since it is not involved. This is not about
 the partition table, since it is the same.

It CAN be about the partition table, at least in principle, although
I'd think that if the dmesg says the drive is 128 GB that's probably
not what is happening. An invalid partition table can be interpreted
differently by different systems (I know that from painful
experience), and of course, by different releases of FreeBSD. And
Vista in particular seems to like to do strange things to partition
tables, FWIW.


 Doing the same with a Linux live CD (Knoppix), I can access the whole
 drive in both cases.

 Windows reports 232GB, too, but according to this (German) posting
 http://www.acer-userforum.de/thread.php?postid=40207 writing above 128GB
 will wrap around for the 855GME chipset driver (I have 855PM). The
 posting claims ddo would solve it, which I cannot understand, if the
 Windows driver ignores the bios information. (The posting is about Acer
 Travelmate 661. I got the 800 from the same time.)

 My laptop is more than five years old and I have got the latest bios for
 years, apparently without 48bit LBA.

 I am kind of lost. I cannot understand the disassembled MBR and even if
 I could, I do not think I would want to create my own boot manager /
 INT13 handler. I guess reading FreeBSD source code would be next... but
 I am not very confident there, either.

 The alternative is that my understanding of the problem is totally wrong.

 Thanks for more helping to think through this mess of information I got
 during the last day.

FreeBSD has to make some educated guesses about what disk geometry to
assume: it has to try to make assumptions that will be compatible with
what other operating systems are likely to do, so at times it is
possible that it will opt for something safe but not right in order
to balance conflicting information it gets from the BIOS, the
partition table, and the drive itself. That's why you have the option
of changing its assumptions when you do a sysinstall. What the livefs
cd does, I do not know, but the only way you will know what would
happen if you installed FreeBSD on, and boot from, that hard drive
will be to actually install FreeBSD on that hard drive and see what
happens. The one thing I am certain of is that it should have no
problem booting from and using a 232 GB drive.

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


Re: Controlling read access

2008-07-31 Thread Derek Ragona

At 04:16 PM 7/31/2008, John Almberg wrote:

I operate a server on which I am typically the only ssh user, but I
do provide a small number of users ftp access.

Each user has their own home directory. Currently all home
directories have read permission set for 'other'. This means if I log
in as one user, I can read and even download the contents of other
users home directories.

I want to block this read access. What is the best way to do this?
Turn off the read bit for 'other'? Or is there some better way?

Thanks: John


I've used vsftp from the ports.  It is very configurable to the point you 
can even specify which ftp commands to allow.


-Derek


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

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


Re: keyboard!!

2008-07-31 Thread Gary Kline
On Thu, Jul 31, 2008 at 10:57:31PM +0200, Roland Smith wrote:
 On Thu, Jul 31, 2008 at 01:39:17PM -0700, Gary Kline wrote:
  
  hi people,
  
  a friend gave me two of his old dell keyboards; one of which has
  worked pretty well.  trouble is that is it very large-- std??
  travel-time is just that much moresince i am using only my
  left hand.  S: i'mm looking for a compact keyboard with
  built-in clicky keys.
 
 A company named Unicomp now manufactures the IBM Model-M keyboard with
 the buckling springs (they acquired the patents from Lenovo);
 http://pckeyboards.stores.yahoo.net/
 
 Check out their spacesaver model:
 http://pckeyboards.stores.yahoo.net/en104bl.html 
 
 I'm thinking of orderding one myself, because I really liked the solid feel
 of those old model-M keyboards.


thanks forthe url's, roland.  i'll fire up kmail and just-click
on:-)

[[
somebody--was it chess? YES-- mentioned clickykeyvoards.com.
wow. i thought hitler was the most hated thing; i'll bet this
clickykeyboard.com get lots of hate mail.
]]

i'm old enough to remember *before* the ibm-selectric.  i knew
when i hit a key/spaacebar with those monsters!  shook my desk.


thanks to everybody!

gary




 
 Roland
 -- 
 R.F.Smith   http://www.xs4all.nl/~rsmith/
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)



-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: Controlling read access

2008-07-31 Thread John Almberg

What ftp server software are you using?

For example, in proftpd, you simply add this line to /usr/local/etc/ 
proftpd.conf:


DefaultRoot ~

and everyone is jailed into his own directory.

It also seems the ftp daemon in the base system supports this  
through /etc/ftpchroot.

If you are using it, read the man pages for ftpd(8) and ftpchroot(5)



Ah... I knew there had to be a better way.

I am using sftp-server. I'm going to try to find some documentation  
on it right now...


Thanks: John


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


Re: keyboard!!

2008-07-31 Thread Gonzalo Nemmi
On Thursday 31 July 2008 17:57:31 Roland Smith wrote:
 On Thu, Jul 31, 2008 at 01:39:17PM -0700, Gary Kline wrote:
  hi people,
 
  a friend gave me two of his old dell keyboards; one of which has
  worked pretty well.  trouble is that is it very large-- std??
  travel-time is just that much moresince i am using only my
  left hand.  S: i'mm looking for a compact keyboard with
  built-in clicky keys.

 A company named Unicomp now manufactures the IBM Model-M keyboard with
 the buckling springs (they acquired the patents from Lenovo);
 http://pckeyboards.stores.yahoo.net/

 Check out their spacesaver model:
 http://pckeyboards.stores.yahoo.net/en104bl.html

 I'm thinking of orderding one myself, because I really liked the solid feel
 of those old model-M keyboards.

 Roland

Roland .. thanks for the url's in here too !

Have you, by any chance, happen to know where can I find one of those clicky 
keyboards but without the numpad???

I've been trying to get one for ages .. and the only thing I could come up 
with was this:

http://www.fentek-ind.com/minikb.htm#minikb

but to make a long story short, I couldn't buy it 'cause getting it sent over 
here (Argentina) makes the price tag go as up as us$ 199 (SH + Wire transfer 
+ local taxes ( = 50% of the price tag + SH)) ... so .. that kb is out of 
the question for me ...

What I'm _exactly_ looking for is the keyboard you can see in here:

http://www.openbsd.org/images/newrack.jpg

Please, I kindly ask you or anyone in this list, who could provide me with 
information on that keyboard, to throw me a pointer to where can I buy one of 
those keyboards (wether new or used, black or beige, PS2 or USB), model, 
brand or whatever info you might have at the reach of your hands .. I will 
handle the rest (doing the numbers on how much would it cost me to get it 
sent over here).

Regardless of the outcome: thanks for reading and for the links you threw :)

PS: Gary .. take a look at http://www.fentek-ind.com/ .. albeit a little on 
the pricey side, they have quite a nice line up of keyboards to offer. Hope 
you can find the keyboard you are looking for :)

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


Re: SCSI RAID on FreeBSD 7.0, where is the array?

2008-07-31 Thread [EMAIL PROTECTED]

One last post on this topic... Unless I find a miracle.


Justin T. Gibbs, maintainer of the ahd adapter says:

HostRAID arrays are not supported by FreeBSD - it requires a software 
RAID stack in the OS.  XP has that, but we do not.



So while ahd can identify the Adaptec card, and the devices attached, 
FreeBSD cannot utilise the RAID functionality of the card :(


I hate definitive answers like this, but at least I know to stop fiddling.


Thank you all for your help


=^_^=


ps. If there are any magicians out there willing to make HostRAID work 
with FreeBSD I profess my undying love now :p

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


Re: keyboard!!

2008-07-31 Thread Gary Kline
On Thu, Jul 31, 2008 at 05:02:05PM -0400, David Gurvich wrote:
 Hello Roland,
 
 So you have also been lusting after one of these keyboards?  Has anyone
 actually ordered and used one of these and what is the opinion on them?
 
 Thanks
 David

hi david,

i'll report back, either onlist or privately.  a hundred bux is a
Lot of money for something you can us usually get for around $25.
but ifyou figure that you're not only using your hand/writs,
butyourshoulders too, it puts thingsin perspective.  in fact,
in my case, too much typing and mousing wsa what destroyed my 
left shoulder.probably diff if you've got two hands.

maybe i'll waitfor themouse-stick in keyboard, tho...   hm, no,
maybe not!

gary


-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: log size handling

2008-07-31 Thread z.szalbot

Hello,

 The restart process with apache is that all the child processes are
 shutdown -- either straight away (for a plain restart) or once they've
 finished their current bit of work (fora graceful restart). As the child
 process shuts down, it closes all the file descriptors used for logging.

I put two entries in newsyslog.conf. One for rotating all logs at the start
of the month, and the other one specifically for the site which gets many
hits to rotate its log once it grows more than 25MB in size.

/var/log/*-access.log   644  12*$M1D0 GZC 
/var/run/httpd.pid   30
/var/log/example.com-access.log644  10025000* ZC 
/var/run/httpd.pid   30

The log was indeed rotated when it grew larger than the specified size but
it was not rotated at the start of the month. Any idea why? Is it so that
the first entry effectively eliminates the second? If so, how can I make
sure the log does not grow too large and is rotated at the start of the
month?

Many thanks!

Zbigniew Szalbot

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


Static ip wpa_supplicant

2008-07-31 Thread David Gurvich
Hello,

Is there any way using rc.conf and wpa_supplicant.conf that allows a
static ip?  It's starting to look like I need to write a separate
startup script for networking.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: keyboard!!

2008-07-31 Thread Polytropon
On Thu, 31 Jul 2008 17:34:15 -0400, Chess Griffin [EMAIL PROTECTED] wrote:
 I use an original model M made in the mid 1980's and love it.

Same here, too. I'm actually typing this on it (black logo,
detachable HIL cable).


 You can 
 still order used and new original Model M's from 
 http://www.clickykeyboards.com/ including the 84-key space saver model.

If I may ask this at this time the topic came up: Is there a
manufacturer that sells the mainframe terminal keyboards with
the two lines (24) function keys and cross cursor control in
a PC-compatible variant?

I'm talking about something like this:

http://www.affirmtech.net/Affirmative_Thin_Client%20.jpg

I know Cherry (Auerbach, Oberpfalz, Germany) did sell them many
years ago, even other ones with DEC LK250 or POS layout with
re-legendable keys (wow!), but they don't seem to be available
anymore.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Controlling read access

2008-07-31 Thread Catalin Miclaus
Hello John,

If you are providing only FTP services for those users, perhaps you want
to go for an FTP server that handles virtual users.
I'm using pure-ftpd and it works great.
Google will help you find some nice howto's for same.











Best Regards
Catalin Miclaus
Network/Security ISP-Data
Starcomms Ltd.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Almberg
Sent: Thursday, July 31, 2008 10:17 PM
To: freebsd-questions@freebsd.org
Subject: Controlling read access 

I operate a server on which I am typically the only ssh user, but I  
do provide a small number of users ftp access.

Each user has their own home directory. Currently all home  
directories have read permission set for 'other'. This means if I log  
in as one user, I can read and even download the contents of other  
users home directories.

I want to block this read access. What is the best way to do this?  
Turn off the read bit for 'other'? Or is there some better way?

Thanks: John

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


DISCLAIMER: The information contained in this message (including any 
attachments) is confidential and may be privileged. If you have received it by 
mistake please notify the sender by return e-mail and permanently delete this 
message and any attachments from your system. Any form of dissemination, use, 
review, distribution, printing or copying of this message in whole or in part 
is strictly prohibited if you are not the intended recipient of this e-mail. 
Please note that e-mails are susceptible to change. STARCOMMS PLC shall not be 
liable for the improper or incomplete transmission of the information contained 
in this communication nor for any delay in its receipt or damage to your 
system. STARCOMMS PLC does not guarantee that the integrity of this 
communication has been maintained or that this communication is free of 
viruses, interceptions or interferences. STARCOMMS PLC reserves the right to 
monitor all e-mail communications, whether related to the business of STARCOMMS 
or not, through its internal or external networks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: own OS-Name

2008-07-31 Thread Norberto Meijome
On Thu, 31 Jul 2008 16:20:49 +0300
Giorgos Keramidas [EMAIL PROTECTED] wrote:

 It's certainly possible.  The OpenBSD team did this when they split off
 NetBSD.  The Dragonfly BSD folks have done it already when they branched
 from FreeBSD 4.X.  So you can definitely do it.  But you should probably
 understand a lot about the way the system works before doing that, and
 changing just the uname output is not enough.

there is also the other side of the coin, that of user-land apps that parse the
output of uname to handle things in different ways. It may not be the best way
to do things , but it's done quite a bit. Of course, this is be irrelevant if
you plan to have a completely locked up OS 

And there is also all the other software that is bundled in base, openssh, comes
to mind: 

$ nc -v localhost 22
Connection to localhost 22 port [tcp/ssh] succeeded!
SSH-2.0-OpenSSH_4.5p1 FreeBSD-20061110


and man pages, and doc, 

B
_
{Beto|Norberto|Numard} Meijome

Two things have come out of Berkeley, Unix and LSD.
It is uncertain which caused the other.

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: no toe capability on...

2008-07-31 Thread Norberto Meijome
On Thu, 31 Jul 2008 14:09:21 +0200
Ewald Jenisch [EMAIL PROTECTED] wrote:

 Hi,
 
 Today I updated kernel  system on one of my machines (FreeBSD
 7.0). After the update which ran absolutely smooth I'm seeing spurious
 messages both on the console and in /var/log/messages like the
 following:
 
 no toe capability on 0xc2e66400

+1 , different address:

no toe capability on 0xc48e3800

bge0: Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x4101 mem 
0xb020-0xb020 irq 16 at device 0.0 on pci2

 
 
 Grep-ing through the sources I found the above message to come from
 /usr/src/sys/netinet/tcp_offload.c. As far as I understand this has
 something to do with TcpOffloadEngine.

yup

 
 Please note that this is a box several years old (2GHz P4) with three
 Intel FXP FastEthernet-cards.
 
 So here are my questions:
 
 o) Has anybody else seen the above messages? 
 
 o) Can they safely be ignored?
 
 o) If not - what can I do to get rid of them?
 

they seem harmless enough.

B

_
{Beto|Norberto|Numard} Meijome

Unix is user friendly. However, it isn't idiot friendly.

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: Bypassing Transparent Proxy

2008-07-31 Thread RW
On Thu, 31 Jul 2008 15:57:26 -0600 (MDT)
Warren Block [EMAIL PROTECTED] wrote:

 On Thu, 31 Jul 2008, Jay Hall wrote:
 
  Is there an easy way to bypass the proxy server when accessing this
  one address?
 
 Instead of in the firewall, you can do that with squid:
 
 http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#head-d82a8d4c42f3600c857cef92d77d76914af54592
 
 In case that URL doesn't work, it's the Can I make Squid go direct
 for some sites? question about the always_direct access list.

That makes squid itself go direct, bypassing other caches in the
hierarchy, but the access is still going through squid.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PCI Gigabit Ethernet network interface card (NIC) recommendations

2008-07-31 Thread David Christensen
freebsd-questions:

I have a FreeBSD 7.0 RELEASE i386 computer, category 5E cabling, and a Netgear
GS108 Gigabit switch.  The machine currently hosts CVS, and I plan to add FTP
and mirroring eventually.


I would like to add a PCI Gigabit Ethernet network interface card (NIC) to the
computer and was wondering what cards other people are using and how they liked
them.  Any comments and/or recommendations would be appreciated.


TIA,

David

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


Re: PCI Gigabit Ethernet network interface card (NIC) recommendations

2008-07-31 Thread Gonzalo Nemmi
On Thursday 31 July 2008 22:19:21 David Christensen wrote:
 freebsd-questions:

 I have a FreeBSD 7.0 RELEASE i386 computer, category 5E cabling, and a
 Netgear GS108 Gigabit switch.  The machine currently hosts CVS, and I plan
 to add FTP and mirroring eventually.


 I would like to add a PCI Gigabit Ethernet network interface card (NIC) to
 the computer and was wondering what cards other people are using and how
 they liked them.  Any comments and/or recommendations would be appreciated.

re0 in here

[EMAIL PROTECTED]:3:0:0: class=0x02 card=0x81361019 chip=0x813610ec 
rev=0x01 
hdr=0x00

re -- RealTek 8139C+/8169/816xS/811xS/8101E PCI/PCIe Ethernet adapter driver

Works like a charm.
No complains :)

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


Re: PCI Gigabit Ethernet network interface card (NIC) recommendations

2008-07-31 Thread Modulok
 I have a FreeBSD 7.0 RELEASE i386 computer, category 5E cabling, and a
 Netgear GS108 Gigabit switch.  The machine currently hosts CVS, and I plan
 to add FTP and mirroring eventually.

 I would like to add a PCI Gigabit Ethernet network interface card (NIC) to the
 computer and was wondering what cards other people are using and how they
 liked them.  Any comments and/or recommendations would be appreciated.

Intel PWLA8391GTBLK, available on newegg for under $25 (USD). I've been running
 two of these on a FreeBSD 6 machine for about a year now, with zero problems.
 The use the em(4) driver, written by Intel.

On a side note, I did have problems with the Netgear GS108 line of switches,
 where they would completely lock up at random intervals when daisy chained
 together. (This was not caused by the Intel network cards.) When not connected
 to one-another they seem to be stable, as I still two of these with
no problems.

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


Re: Compile firefox with debug symbols

2008-07-31 Thread Matthew Donovan
 Hi,

 I have some problems with firefox (it just don't
 start - as well as openoffice.) I think it is a
 broken lib - but though I recompiled all the libs
 it still does not work.
 Now I'll do it the right way and use gdb but until
 now I had no success compiling a binary of firefox
 (or regxpcom which also hangs) with debug symbols

 I tried  make DEBUG=on LOGGING=on but this produced
 also only the stripped binaries.

 So - how can I build firefox (form the ports) with
 debug symbols?

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

This is how to do it cd /usr/ports/www/firefox2 or 3 and  make config and
select the Debug option

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


Re: Bypassing Transparent Proxy

2008-07-31 Thread Warren Block

On Fri, 1 Aug 2008, RW wrote:


On Thu, 31 Jul 2008 15:57:26 -0600 (MDT)
Warren Block [EMAIL PROTECTED] wrote:


On Thu, 31 Jul 2008, Jay Hall wrote:


Is there an easy way to bypass the proxy server when accessing this

one address?


Instead of in the firewall, you can do that with squid:

http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#head-d82a8d4c42f3600c857cef92d77d76914af54592

In case that URL doesn't work, it's the Can I make Squid go direct
for some sites? question about the always_direct access list.


That makes squid itself go direct, bypassing other caches in the
hierarchy, but the access is still going through squid.


Oh.  Sorry.  All right, I know squid can do it, but can't remember how.

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


Re: Imposible to update/upgrade ports....

2008-07-31 Thread Agus
2008/7/30 Gerard [EMAIL PROTECTED]

 On Wed, 30 Jul 2008 12:53:21 -0300
 Agus [EMAIL PROTECTED] wrote:

 Hi guys,
 
 I'v been delaying the installed ports upgrade cause i was testing my
 server and now that it it in production i wanted to upgrade them and
 find it impossible...
 
 I am running
  uname -a
 FreeBSD everest.himalaya.network 6.1-RELEASE FreeBSD 6.1-RELEASE #0:
 Mon May 21 19:48:05 ART 2007
 
 I did a cvsup to update all ports which did it successfully...then
 installed portmanager and portsaudit
 
 did a pkg_version -v and find the outdated ports, like sec, mysql and
 more
 
 Now while trying to update with
 
 portmanager sysutils/rsync -l -ui -f
 #Then also tried without the f
 
 get this errors:
 -
 
 portmanager 0.4.1_9
 
  perl-5.8.8_1/lang/perl5.8
 make Strike 2
 
 it gets like its looping while updating perl
 For what i saw, portmanager seems to try to update all dependencies
 too..and is failing in that
 
 Something similar happened while trying to update apache22
 
 Its my first try updating/upgrading ports...and it was hard to find a
 doc explaining thisi mean..there are lots of docs but each with
 different methods...
 
 Well, hope you can give me a jhand..

 I use portmanager myself occasionally. They this:

 1) Update your ports tree
 2) Run: portmanager -u -l -y -p

 If it fails again, look in the log file (/var/log/portmanager.log) and
 see what it says. You can post the error message back here.


 --
 Gerard
 [EMAIL PROTECTED]

 Convention is the ruler of all.

Pindar


Hi mate,

I update the ports tree with cvsup ports-file...
all ok
but when i did
portmanager -u -l -y -p

i starts, but then it has to remove some ports and one of that ports is
portmanager itself so it cores.:(
so weird...Its really difficult to update the portsi dont even wanna
know to pass to rel 7

Dunno how to do it really...

Will have to remove all ports installed and then update ports and reinstall
them? what would happen to my confs...?

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


PCI Gigabit Ethernet network interface card (NIC) recommendations

2008-07-31 Thread Robert Huff

David Christensen writes:

  I would like to add a PCI Gigabit Ethernet network interface card
  (NIC) to the computer and was wondering what cards other people
  are using and how they liked them.  Any comments and/or
  recommendations would be appreciated.

Realtek-based cards were mentioned; they seem to do well under
light to moderate loads, but not so well when the going gets tough.
Intel-based cards, on the other hand, have a superior track
record; probably doesn't hurt the driver is maintained by Intel.  I
replaced an re() card with a Pro/1000 dual port, and watched errors
drop from ~1% to _0_ in 11 days of moderate to heavy usage.


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: own OS-Name

2008-07-31 Thread darko gavrilovic
On Thu, Jul 31, 2008 at 8:48 AM, Markus Mueller [EMAIL PROTECTED] wrote:

 the command  uname must get these information from a file.
 in which file are these informations ?
 i can editing this file simply with my own informations and my OS based on
 FREEBSD.
 this can be the solution of my problem.


Compiling a custom kernel I do not believe qualifies as your own BSD
OS. I think you have to branch it like OpenBSD  DragonFlyBSD e.t.c.
It's not that easy to do.



-- 
regards,
dg

..but the more you use clever tricks, the less support you'll get
... -- M.W.Lucas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PCI Gigabit Ethernet network interface card (NIC) recommendations

2008-07-31 Thread Gonzalo Nemmi
On Thursday 31 July 2008 23:59:16 Robert Huff wrote:
 David Christensen writes:
   I would like to add a PCI Gigabit Ethernet network interface card
   (NIC) to the computer and was wondering what cards other people
   are using and how they liked them.  Any comments and/or
   recommendations would be appreciated.

   Realtek-based cards were mentioned; they seem to do well under
 light to moderate loads, but not so well when the going gets tough.
   Intel-based cards, on the other hand, have a superior track
 record; probably doesn't hurt the driver is maintained by Intel.  I
 replaced an re() card with a Pro/1000 dual port, and watched errors
 drop from ~1% to _0_ in 11 days of moderate to heavy usage.

Thanks for that info Robert !
Will take it into consideration next time I buy a NIC :)
You just probably turned me into Pro/1000 ;)

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


Re: carp+openospfd

2008-07-31 Thread Alexandre Biancalana
On 7/30/08, Nikos Vassiliadis [EMAIL PROTECTED] wrote:
 On Wednesday 30 July 2008 16:56:23 Alexandre Biancalana wrote:
   On 7/30/08, Nikos Vassiliadis [EMAIL PROTECTED] wrote:
On Wednesday 30 July 2008 07:51:52 Alexandre Biancalana wrote:
  Hi list,  (I already ask this on -net, but I get no answers)
 
   I have two 100Mbit link (L2L, lan to lan) between the company and
  our datacenter, on each side I have two redudant (pf+carp)
  firewalls.
 
   I configured one vlan for each 100Mbit link and used carp to do
  the failover between machines on each side, the vlan interfaces are
  configured without ip address (with Max's
  carpdev patch), only carp interfaces have ips.
 
   I want to use OpenOSPFD to distribute our internal routes and do
  automatic failover+loadbalance of this two 100Mbit links.
 
   This work ? Someone have a similar setup ? Any hints ?
   
I think using OSPF and CARP on the same interface could have
 unexpected results.
  
   I see some examples


 You get to have two ways to forward packet to a destination.
  One via CARP and one via OSPF. I think it's a possible source
  of errors.


  
 I would use CARP on the lan to lan link to provide redundancy
 and load balancing. Do you have to use OSPF?
 That is, is there an OSPF domain in which you have to be part of?
  
   I use CARP for firewall redundancy on each side. I want to use OSPF to
   easy distribute routes on my networks, the failover and load balance
   of the links are a desirable plus.


 So, there is an OSPF domain besides the four FreeBSD firewalls, right?

Is what I want to configure


  Could you provide your network's topology?
  Is it something like:
  LAN1CLUSTER1CLUSTER2LAN2
  where:
 CLUSTER1 = CARP(FW1, FW2)
 CLUSTER2 = CARP(FW3, FW4)

  Local Network
Datacenter Network

 FW1 (master)FW3(master)
   Link1(100Mbit)
(10.0.0.49/30) carp206  -- carp20 (10.0.0.50/30)
(10.0.0.45/30) carp207  -- carp30 (10.0.0.46/30)
  Link2 (100Mbit)
 FW2 (slave)  FW4(slave)


Yes, in my setup I want to do failover of the firewalls (if FW1 crash
FW2 assume the two links, firewall rules,etc) and loadbalance+failover
of two 100Mbit links (I want to use the two links together (100+100)
and if one of then fail all the traffic be routed to another)

The firewalls failover this is working great with Carp. My
difficulties is to configure OpenOSPFD to distribute routes in this
setup, the links failover+loadbalance comes naturally after ospf
running.

  For example, in the above diagram you cannot load
  balance the traffic, it will always go through the
  same routers:
   FW1 and FW3 or
   FW1 and FW4 or
   FW2 and FW3 or
   FW2 and FW4.

  It will of course failover in case of a FW failure.

Yes. Only one firewall is master on each side.




   I would use CARP on the lan to lan link to provide redundancy
   and load balancing.


 So, my suggestion above is false, at least with the current
  CARP on FreeBSD.

  Please supply more info about your setup,

I hope that you understand, if not I can draw something more detailed.

Thank you for your time.

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


Re: Compile firefox with debug symbols

2008-07-31 Thread Fraser Tweedale
On Thu, Jul 31, 2008 at 09:00:53PM +0200, Martin Laabs wrote:
 Hi,
 
 I have some problems with firefox (it just don't
 start - as well as openoffice.) I think it is a
 broken lib - but though I recompiled all the libs
 it still does not work.
 Now I'll do it the right way and use gdb but until
 now I had no success compiling a binary of firefox
 (or regxpcom which also hangs) with debug symbols
 
 I tried  make DEBUG=on LOGGING=on but this produced
 also only the stripped binaries.
 
 So - how can I build firefox (form the ports) with
 debug symbols?
 
 Thank you,
   Martin L.

WITH_DEBUG is the variable you're interested in.  It must be defined,
so something like:

`make WITH_DEBUG=yes install`

should do the trick.

Cheers,
frase



pgpVn05oOkKwx.pgp
Description: PGP signature


  1   2   >