Re: Shrinking slices to make room for linux

2005-06-15 Thread Dmitry Mityugov
On 6/14/05, Richard Lupton [EMAIL PROTECTED] wrote:
 Hello,
 
 I have just installed FreeBSD 5.4-RELEASE (my first use of FreeBSD)
 onto a Dell Inspiron 5000e laptop, dual booting with Windows. However,
 now I would like to install a Linux distro to see if the ACPI support
 is any different and so on. I have plenty of space on the FreeBSD
 slice, so is there anyway of shrinking the slice without loosing the
 data on it (maybe something like GNU parted)? The only references I
 have found to this sort of thing are to do with  making FreeBSD slices
 bigger...

You probably can also use a Linux Live CD (like Knoppix), without
resising your disks at all.

-- 
Dmitry

We live less by imagination than despite it - Rockwell Kent, N by E
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wine: HEAP_CreateSystemHeap Error

2005-06-15 Thread Dmitry Mityugov
On 6/15/05, Edward West [EMAIL PROTECTED] wrote:
 Whenever I use Wine to run a Windows executable, the following error
 shows up:
 
 err:heap:HEAP_CreateSystemHeap system heap base address 0x8000 not
 available
 
 Some programs will then hang, though others will execute normally.
 
 I am running FreeBSD 5.3 RELEASE.  The Wine version is 20050524.  I
 cvsup'ed my ports tree before building and installing the Wine port, but
 I didn't portupgrade.
 
 Some Linux users have gotten the same error and were able to fix it by
 recompiling their kernels to support processes that need more than 2GB
 of memory.  I didn't think this should be necessary for FreeBSD.
 
 The bug report (which talks about the 2GB issue ) for this error is:
 http://bugs.winehq.org/show_bug.cgi?id=2741
 
 I would be satisfied just to know if there is an earlier version without
 this problem that runs on 5.3.
 
 Thank you for any help you can provide.

Wondering if specifying MAXDSIZ in your kernel and/or limit memoryuse
unlimited may be of any help?

-- 
Dmitry

We live less by imagination than despite it - Rockwell Kent, N by E
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sudden need for a wireless card for 5.3

2005-06-15 Thread Abu Khaled
On 6/15/05, Andrew L. Gould [EMAIL PROTECTED] wrote:
 On Tuesday 14 June 2005 03:58 pm, Mike Meyer wrote:
  I suddenly find myself in need of a wireless card for a 5.3 desktop
  box.
 
  Anyone want to recommend something?
 
Thanks,
mike
 
 How about a Cisco Aironet 350 PCI card.  It's an older, proven model
 (802.11b) with good power output.  It uses the an driver.  It works
 great with FreeBSD and Linux (but is hosed in the latest release of
 NetBSD).
 
 The card costs about $200 retail; but I just got one on eBay for much
 less.
 
 Best of luck,
 
 Andrew Gould
 

How about wireless to ethernet bridges. Has anyone used them.
You can find many by searching goolge for wireless ethernet bridge.

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


Re: Sudden need for a wireless card for 5.3

2005-06-15 Thread Jonathan Chen
On Tue, Jun 14, 2005 at 03:58:42PM -0500, Mike Meyer wrote:
 I suddenly find myself in need of a wireless card for a 5.3 desktop box.
 
 Anyone want to recommend something?

I would suggest a Wirelss to Ethernet bridge, personally.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
The Internet: an empirical test of the idea that a million monkeys
banging on a million keyboards can produce Shakespeare
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: odd disk activity

2005-06-15 Thread D. Goss


On Jun 14, 2005, at 9:37 PM, Juha Saarinen wrote:


On 6/15/05, D. Goss [EMAIL PROTECTED] wrote:


I've got a bit of a general question - sorry if this is vague.

I recently ran some memory tests that were posted in the list earlier
- they are bootable CD images.  Each one hung in it's standard
configuration and I put them aside until later to look into in more
detail.  In the meantime I've noticed that one of my hard drives can
not be found on the SCSI bus...

Normally with this test server the drives are as follows:

da0s1 = 18GB U160 as boot volume with system and all data
da1s1 = 36GB U320 emtpy
da2s1 = 36GB U320 emtpy
da3s1 = 36GB U320 emtpy
da4s1 = 36GB U320 emtpy

The four test drives have been mountable (up until now) -

mount /dev/da1s1 /mnt/misc1
mount /dev/da2s1 /mnt/misc2
etc...

but now I'm getting
# mount /dev/da4d1 /mnt/misc4
mount: /dev/da4d1: No such file or directory




Did you mean to type:

# mount /dev/da4s1 /mnt/misc4

instead?


also...

# camcontrol inquiry da1
pass1: IBM-ESXS ST336753LCFN B855 Fixed Direct Access SCSI-3  
device

pass1: Serial Number 3HX07J9W73XX
pass1: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged  
Queueing Enabled

# camcontrol inquiry da2
pass2: LSILOGIC 1030 IM 1000 Fixed Direct Access SCSI-2 device
pass2: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged  
Queueing Enabled

# camcontrol inquiry da3
pass3: IBM-ESXS MAS3367NC FN C901 Fixed Direct Access SCSI-3  
device

pass3: Serial Number A0F9P4XX
pass3: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged  
Queueing Enabled

# camcontrol inquiry da4
camcontrol: cam_lookup_pass: CAMGETPASSTHRU ioctl failed
cam_lookup_pass: No such file or directory
cam_lookup_pass: either the pass driver isn't in your kernel
cam_lookup_pass: or da4 doesn't exist


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


Re: Xen status

2005-06-15 Thread Andre Guibert de Bruet


On Tue, 14 Jun 2005, Remington L wrote:


Google search finds nothing

I am interested in knowing the present state of Xen on FreeBSD. Is it
supported in 5.4 or just -CURRENT? Are there any setup guides avaliable?


Please don't cross-post.

I would recommend asking xen-related questions on IRC in the official 
channel, #xen on irc.oftc.net.


Andy

/*  Andre Guibert de Bruet  * 6f43 6564 7020 656f 2e74 4220 7469 6a20 */
/*   Code poet / Sysadmin   * 636f 656b 2e79 5320 7379 6461 696d 2e6e */
/*   GSM: +1 734 846 8758   * 5520 494e 2058 6c73 7565 6874 002e  */
/* WWW: siliconlandmark.com *  Tormenting bytes since 1980.   */

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


Re: Card for Xorg dual-head Xinerama? (Matrox G450 problems)

2005-06-15 Thread Wilkinson, Alex
0n Mon, Jun 13, 2005 at 05:17:58PM -0400, Chris Shenton wrote: 

I'm running FreeBSD-5.4 from cvsup and having some Xorg problems with
Xinerama on my Matrox G450 dual-head card.

While Xinerama works fine for local X11 apps, an app started on a
remote machine displaying back to my box fills the fvwm frame with
nothing -- except whatever bitmap was already there.  Moving the
window moves the image of the bitmap around. Killing the app leaves
the fvwm frame; I have to kill the frame in fvwm to make it go away.
If I turn off Xinerama, everything works fine, but obviously I don't
have Xinerama.

Any suggestions for a good dual-head card which works well with Xorg
and Xinerama?  I've got two 21 CRTs so don't have DVI input.  I don't
game so I don't need that kind of speed.  I'd prefer something quiet,
that doesn't require a fan to prevent it from melting.  I'd like to
keep it inexpensive.

Yes, make sure you download and use official linux matrox drivers.

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


Re: Stability issues with FreeBSD + MySQL

2005-06-15 Thread Ken Ebling


On Jun 14, 2005, at 9:14 PM, Thomas Hurst wrote:


The database server is running FreeBSD 4.11 (had all sorts of
problems with MySQL after upgrading to 5.x) with mysql-server
(4.0.24_1, installed from ports, compiled with LinuxThreads)



I'm running MySQL 4.1 on a 5.3-RELEASE dual Opteron (i386), with an
Adaptec 2120S and 4G of memory; it's running most of the queries for
a site several times busier than yours pretty much flawlessly, low
performance for some of the heavier queries notwithstanding.

I'd be interested to hear about your problems with MySQL and  
FreeBSD 5;

are they with performance, or stability, or..?


Thomas,

Thank you for responding with such well thought out (and organized!)  
responses.  I hope I can respond as well as you did.  It's 3:45AM  
here, so I''ll try my hardest! =)


The system seemed to perform fairly well with FreeBSD 5.3/5.4, but  
these errors happened far more frequently than they do when I'm  
running FreeBSD 4.x.


There's also the fact that I never found an answer to whether I  
should be using MySQL+LinuxThreads on FreeBSD 5.4.  Do you use the  
4BSD or ULE scheduler?  Do you use MySQL 4.0.x or 4.1.x?  4.1.x was  
guaranteed to result in hundreds of error emails when I tried it.


The problem I'm having is that a few times a day, a perl script on  
the

web server will fail to connect to the mysql server, and send out an
email letting me know that the connection and whatever query it was
going to execute have failed.

Whenever this happens I check the machines out and everything looks
okay to me, but I am obviously overlooking something.



You're sure it's the mysql_connect that's failing?  With what error?
And nothing in mysql.err?  Maybe you just need a bit of retry logic in
your script...


A perl script on the site are hardcoded to essentially open a  
connection or die with an error and send me (and my client) an email.


Sometimes when these hiccups happen, I receive about 30 messages in  
a 1 minute time span, and other times I receive over 300 in a few  
minutes.


I didn't program any of the web site.  If I did, it would be PHP and  
PostgreSQL, not Perl and MySQL.   =)
I provide co-location and administration.  I suppose retry logic  
would make sense, but I'd have to get the programmer involved to take  
care of that.



/etc/sysctl.conf on database server:
kern.ipc.somaxconn=1024



128 here, but I take it you're not using persistant connections?


I was very liberal with this value on both the web server and the  
database server.  The web server is set at 2048 and I've never seen  
more than 800, which were mostly mysql.  So persistent connections  
look interesting.  I never thought to look at that.  I'm used to PHP  
defaulting to persistent connections for MySQL and PostgreSQL.



netstat -m on web server:
4294928101 mbufs in use



Hurray for counter bugs.


Yeah, I was excited too.  It seems to overflow after a few hours.


netstat -na | grep tcp | wc -l on database server:
34



db0# netstat -na | grep tcp | wc -l
 167

:)


I'll probably need more bandwidth before I can handle the same amount  
as traffic as you. =)



vmstat on database server:
 procs  memory  pagedisks
faults  cpu
r b w avmfre  flt  re  pi  po  fr  sr aa0 md0   in   sy  cs
us sy id
1 0 0  358932 163800   40   0   0   0 309 192   0   0 1660 27525 992
7  8 85



Nothing really out of the ordinary there, although in/sy/cs perhaps  
look
a bit high for an initial sample; I get similar with a vmstat 1  
though.

Your interrupt loads look fine too.



Yeah, I wasn't sure about the high in/sys/cs.  It was lower on some  
of my other machines, but they get a lot less traffic than these  
machines.




The database server is using the default /usr/local/share/mysql/my-
large.cnf config file (my-huge.cnf always makes mysql act buggy) with
binary logging disabled.



my-huge probably requires you to increase MAXDSIZ/DFLDSIZ; the default
per-process limit of 512MB might be too small.  We run with:

  options MAXDSIZ=(1024UL*1024*1024)
  options DFLDSIZ=(1024UL*1024*1024)

Although using more memory for MySQL may not help, it depends; any
unused memory will go towards filesystem caching anyway. YMMV.


I'll reboot with a new kernel in morning or evening and let you know  
if I have any results.



Is there any special tuning or something else I am missing that would
be appropriate for me to try?



I'd suggest some system monitoring; maybe you're hitting MyISAM table
locks occasionally, and blocking new threads from being forked, or
general load spikes are overwhelming its ability to spawn new threads,
in which case persistant connections might help; SQLRelay has a MySQL
client library replacement which you might find useful if you can't
modify your scripts to do this directly.

Not much else comes to mind right now I'm afraid; I've not used  
FreeBSD

4 significantly in a while, and certainly not for any production use,

PF strange problem

2005-06-15 Thread KrzychK2
Hello freebsd-questions!
Hello freebsd-isp!

I have a strange problem with pf on freebsd.

Here it is my config:

ext_if=xl0
int_if=xl1
internal_net=192.168.3.0/24
external_addr=217.153.198.65
icmp_types = echoreq

set optimization normal
set block-policy drop
set fingerprints /etc/pf.os

scrub in all

altq on $ext_if bandwidth 6218Kb cbq queue { OUT_to_net, external }
altq on $int_if bandwidth 11957Kb cbq queue { IN_from_net, internal }

queue external bandwidth 10% cbq(default)
queue internal bandwidth 10% cbq(default)

queue OUT_to_net bandwidth 6218Kb cbq{326_out, 3216_out, 349_out,
320_out, 321_o... }
queue 326_out bandwidth 128Kb cbq(red)
queue 3216_out bandwidth 128Kb cbq(red)
queue 349_out bandwidth 128Kb cbq(red)
queue 320_out bandwidth 384Kb cbq(red)
queue 321_out bandwidth 50Kb cbq(red)
queue 322_out bandwidth 128Kb cbq(red)
queue 323_out bandwidth 128Kb cbq(red)
queue 19866_out bandwidth 256Kb cbq(red)
.
.
.
queue IN_from_net bandwidth 11957Kb cbq{326_in, 3216_in, 349_in,
320_in, 321_in...}
queue 326_in bandwidth 256Kb cbq(red)
queue 3216_in bandwidth 256Kb cbq(red)
queue 349_in bandwidth 256Kb cbq(red)
queue 320_in bandwidth 384Kb cbq(red)
queue 321_in bandwidth 256Kb cbq(red)
queue 322_in bandwidth 265Kb cbq(red)
queue 323_in bandwidth 256Kb cbq(red)
queue 19866_in bandwidth 220Kb cbq(red)
.
.
.
and so on with queues

nat on $ext_if from $internal_net to any - $external_addr


block on {$int_if, $ext_if} all
pass quick on lo0 all

pass in quick on $ext_if proto tcp from any to $ext_if port 22 keep state
pass in quick on $int_if proto tcp from any to $int_if port 22 keep state

pass out on $ext_if proto tcp all modulate state flags S/SA
pass out on $ext_if proto { udp, icmp } all keep state

pass in inet proto icmp all icmp-type $icmp_types keep state

pass in quick on $int_if  from 192.168.3.26 to any queue 326_in
pass out quick on $int_if  from any to 192.168.3.26 queue 326_out
pass in quick on $int_if  from 192.168.3.216 to any queue 3216_in
pass out quick on $int_if  from any to 192.168.3.216 queue 3216_out
pass in quick on $int_if  from 192.168.3.49 to any queue 349_in
pass out quick on $int_if  from any to 192.168.3.49 queue 349_out
pass in quick on $int_if  from 192.168.3.20 to any queue 320_in
pass out quick on $int_if  from any to 192.168.3.20 queue 320_out
pass in quick on $int_if  from 192.168.3.21 to any queue 321_in
pass out quick on $int_if  from any to 192.168.3.21 queue 321_out
pass in quick on $int_if  from 192.168.3.22 to any queue 322_in
pass out quick on $int_if  from any to 192.168.3.22 queue 322_out
pass in quick on $int_if  from 192.168.3.23 to any queue 323_in
pass out quick on $int_if  from any to 192.168.3.23 queue 323_out
pass in quick on $int_if  from 217.153.198.66 to any queue 19866_in
pass out quick on $int_if  from any to 217.153.198.66 queue 19866_out

and so on.

The problem is that pfctl -vsr shows that net traffic is correctly
captured by rules. But (this is good) pfctl -vsq shows something
diffrent, the only queue that have antything inside is the default
queue!!
This config is almost similar to default config and I really don't
know what is going on, or where I've made a mistake.







-- 
Greetings,
 KrzychK2



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


Re: odd disk activity - solved

2005-06-15 Thread D. Goss


On Jun 14, 2005, at 11:35 PM, D. Goss wrote:



On Jun 14, 2005, at 9:37 PM, Juha Saarinen wrote:



On 6/15/05, D. Goss [EMAIL PROTECTED] wrote:



I've got a bit of a general question - sorry if this is vague.

I recently ran some memory tests that were posted in the list  
earlier

- they are bootable CD images.  Each one hung in it's standard
configuration and I put them aside until later to look into in more
detail.  In the meantime I've noticed that one of my hard drives can
not be found on the SCSI bus...

Normally with this test server the drives are as follows:

da0s1 = 18GB U160 as boot volume with system and all data
da1s1 = 36GB U320 emtpy
da2s1 = 36GB U320 emtpy
da3s1 = 36GB U320 emtpy
da4s1 = 36GB U320 emtpy

The four test drives have been mountable (up until now) -

mount /dev/da1s1 /mnt/misc1
mount /dev/da2s1 /mnt/misc2
etc...

but now I'm getting
# mount /dev/da4d1 /mnt/misc4
mount: /dev/da4d1: No such file or directory





Did you mean to type:

# mount /dev/da4s1 /mnt/misc4

instead?



also...

# camcontrol inquiry da1
pass1: IBM-ESXS ST336753LCFN B855 Fixed Direct Access SCSI-3  
device

pass1: Serial Number 3HX07J9W73XX
pass1: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged  
Queueing Enabled

# camcontrol inquiry da2
pass2: LSILOGIC 1030 IM 1000 Fixed Direct Access SCSI-2 device
pass2: 320.000MB/s transfers (160.000MHz, offset 127, 16bit),  
Tagged Queueing Enabled

# camcontrol inquiry da3
pass3: IBM-ESXS MAS3367NC FN C901 Fixed Direct Access SCSI-3  
device

pass3: Serial Number A0F9P4XX
pass3: 320.000MB/s transfers (160.000MHz, offset 127, 16bit),  
Tagged Queueing Enabled

# camcontrol inquiry da4
camcontrol: cam_lookup_pass: CAMGETPASSTHRU ioctl failed
cam_lookup_pass: No such file or directory
cam_lookup_pass: either the pass driver isn't in your kernel
cam_lookup_pass: or da4 doesn't exist


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




This was indeed something at the BIOS - the disk setup utility showed  
that the drive on slot 4 was set to be a mirror of slot 3.  I haven't  
been in this menu and the setup worked before - not sure if memory  
test could have corrupted this setting, seems odd but timing was same.


Anyway, thanks.

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


Very slow printing on 5.4 with cups anh HP LaserJet 4L

2005-06-15 Thread asa

I have a problem with very slow printing after replacing 4.1 instalation
with new 5.4 instalation (clean install, not upgrade). The printer is HP
4L, and i use it with up to date CUPS (all packages + gimp-print). With
both CUPS ang gimp-print drivers and default port settings the dokument
printing speed is about 8k each 1 minute (acording to CUPS web interface).
There are no error messages from the kernel. With hint.ppc.0.falgs=0x20
or 0x80 there is the same effect.

With hint.ppc.0.falgs=0x20, 0x40, 0x48 and 0x88 CUPS web interface
shows taht first 32k are sent instantly. Then 'Interrupt storm detected on
irq5: lpt0; throttling interrupt source' kernel error message apears and
the rest of the document prints slow, as in the first example.

I tried this with several standard and HP bidirectional cables. I also
tried all possible BIOS settings for the port.

The old 4.1 instalation prints without problems.


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


Re: rcNG script problems

2005-06-15 Thread Alex Zbyslaw

Brooks Davis wrote:
[rcorder not being run on /usr/local/etc/rc.d etc]


There are two reasons.  First, we have nearly thirteen-THOUSAND ports
so any change needs to be gradual.  Second, /usr/local is not
generally available when rcorder is run so /etc/rc becomes
more complicated to allow scripts to be reordered after mountcritremote
is run.  That said, we're planning to provide partial rcorder support in
6.0 and hopefully full support in 7.0.  Discussions of this are taking
place on the freebsd-rc list.

 


Good to know -- and time to sub to a new mailing list :-)

I certainly wasn't expecting all the existing ports to be converted!  I 
expected that the existing 'scripts ending in .sh' mechanism would 
continue, either putting them in a different directory or putting some 
logic into /etc/rc to avoid them.  I hadn't considered the not mounted 
problem :-(


Anyway, thanks for the info.  For now I'll keep with putting my own 
scripts into /etc/rc.d and keeping copies elsewhere for easy rebuilding.


--Alex

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


Re: Very slow printing on 5.4 with cups anh HP LaserJet 4L

2005-06-15 Thread Anthony M. Agelastos

[EMAIL PROTECTED] wrote:


I have a problem with very slow printing after replacing 4.1 instalation
with new 5.4 instalation (clean install, not upgrade). The printer is HP
4L, and i use it with up to date CUPS (all packages + gimp-print). With
both CUPS ang gimp-print drivers and default port settings the dokument
printing speed is about 8k each 1 minute (acording to CUPS web interface).
There are no error messages from the kernel. With hint.ppc.0.falgs=0x20
or 0x80 there is the same effect.

With hint.ppc.0.falgs=0x20, 0x40, 0x48 and 0x88 CUPS web interface
shows taht first 32k are sent instantly. Then 'Interrupt storm detected on
irq5: lpt0; throttling interrupt source' kernel error message apears and
the rest of the document prints slow, as in the first example.

I tried this with several standard and HP bidirectional cables. I also
tried all possible BIOS settings for the port.

The old 4.1 instalation prints without problems.


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

 

Hello. I am new to FreeBSD, so if anyone else has better advice on this 
matter, please chime in. The only things I can think of are:


1. hint.ppc.0.falgs= is what you typed above twice. Make sure that this 
is not misspelled in the device.hints file (it should be flags... not 
falgs).

2. Try 0x28.
3. Read a thread from the archives in April 2005 entitled Very slow 
printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C ( 
http://lists.freebsd.org/mailman/htdig/freebsd-questions/2005-April/thread.html#84258 
). In there, they mention having to possibly remove a line and possibly 
adding another one. They also mention some other drivers that might work 
better for you.
4. Try going through lptcontrol. Chapter 9 of the FreeBSD Handbook goes 
over this a bit. 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-intro-setup.html


I hope this helps. And, if anyone else has any ideas, please add 'em. 
Good luck.


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


Re: SMP and networking under FreeBSD 5.3

2005-06-15 Thread Alex Zbyslaw

Joe wrote:

Hey thanks, 


  it seems that ipfw complains during boot with a message:

hostname ``or'' unknown

  which I have no idea where that is coming from yet, but will
look.  

  Then natd doesn't get started.  


  If I run /etc/rc.d/ipfw start then the router is up and natd
gets started.


  For now, I'll probably just add it to rc at the end.  I think
it has something to do with the order things get run.  


  My firewall script is for a dhcp interface.  Since I don't
know the IP, I use ifconfig dc0 | grep -v inet6 | grep inet |
awk ... to get the IP address for some of the rules.  I'm
wondering if this is failing and causing the message above.

  Is there a 'recommended' way to create a rule for ipfw on a
dhcp interface  using its IP address?  

 

You don't need any of your awk/grep palaver.  Your ipfw rules should 
probably be specifying the interface not ip addresses.  Natd with 
-dynamic will do the right thing when dhcp picks up its actual ip address.


from man natd

-dynamicIf the -n or -interface option is used, natd will 
monitor the

routing socket for alterations to the interface passed.  If
the interface's IP address is changed, natd will 
dynamically

alter its concept of the alias address.

I have, for example:

/etc/rc.conf:

   ifconfig_sis0=DHCP# External network

/etc/rc.firewall script

   ipfw add divert natd all from any to any via sis0

and it all works just fine even though natd starts off saying that it 
sees an IP address of 0.0.0.0


Your error message is very likely down to your ifconfig | stuff 
command which may well run when there is no ip address configured.  
It'll work fine when you run it once the ip address is configured, but 
probably not before when the script actually runs.


Why do you think your firewall rules need to know the IP address?  If 
you do need it then ipfw2 (5.X only?) has me.  From man ipfw


me matches any IP address configured on an interface in the system.
The address list is evaluated at the time the packet is 
analyzed.


If you have that after your natd rule, though, it will (I think) just 
match everything so the interface name is good enough.  e.g. from any to 
any via sis0


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


Re: Kernel Core Dumping

2005-06-15 Thread Phil Schulz

Greg 'groggy' Lehey wrote:

On Tuesday, 14 June 2005 at  5:53:58 -0700, J T wrote:


Hi,

For some reason my machine keeps crashing almost every night at around
3:00am with the following test in the messages log file:

Jun 14 03:02:28 taco kernel: pid 7174 (sh), uid 0: exited on signal 11
(core dumped)

...

I decided to rm the file
'/usr/local/etc/cvsup/sup/src-all/checkouts.cvs:RELENG_5_3' just to
see if that fixed it. And it did, but why was it crashing the entire
box?



The message you see there has nothing directly to do with the crash of
the system, though it may be an indication of hardware issues.  To
find out, you'll need to take a processor dump and see what's going
on.  Unfortunately, I can no longer find the instructions in the
online handbook; does anybody else know where they are?


Not first the place a user will look for them but they're still there...

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html

Regards,

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


Re: Grub and NTFS

2005-06-15 Thread Alex Zbyslaw

RdBSD wrote:

Dear all, 



Can I use grub to boot windows 2003 server with ntfs file system ?

 

The FreeBSD boot loader will boot windows/ntfs.  There are lots of 
mentions of grub in the archives so probably it will.  Why not google 
for the grub home page?


--Alex

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


Re: Very slow printing on 5.4 with cups anh HP LaserJet 4L

2005-06-15 Thread Alex Zbyslaw

Anthony M. Agelastos wrote:

Hello. I am new to FreeBSD, so if anyone else has better advice on 
this matter, please chime in. The only things I can think of are:


1. hint.ppc.0.falgs= is what you typed above twice. Make sure that 
this is not misspelled in the device.hints file (it should be flags... 
not falgs).

2. Try 0x28.
3. Read a thread from the archives in April 2005 entitled Very slow 
printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C ( 
http://lists.freebsd.org/mailman/htdig/freebsd-questions/2005-April/thread.html#84258 
). In there, they mention having to possibly remove a line and 
possibly adding another one. They also mention some other drivers that 
might work better for you.
4. Try going through lptcontrol. Chapter 9 of the FreeBSD Handbook 
goes over this a bit. 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-intro-setup.html 



I hope this helps. And, if anyone else has any ideas, please add 'em. 
Good luck.


Looks like a pretty good list to me!

For parallel port printers, I always configure the parallel port in the 
BIOS to be either EPP or ECP (never really found out which is better or 
what difference it makes) and then set flags to 0x20 or ox28.


--Alex

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


Newbie - Configuration File Location?

2005-06-15 Thread Naomi Fernandez
Hi,

I am currently running Gnome on FreeBSD 5.3 with great success.
I can access the Internet and am using a 1024 x 1280 screen resolution.

I am trying to access either my xorg.conf or XF86Config file for
some general tweaking, e.g., adding to the fontpath, configuring for a wheel
mouse, etc.  The problem is that I cannot find either file.  According to
the FreeBSD Handbook, they should be in either /etc/X11 or /etc.  I have
both folders but the file is in neither.  As a matter of fact, my /etc/X11
folder is empty.

As root, I ran “find / -name xorg.conf “ and nothing was found.
When I ran “find / -name XF86Config*” I came up with two files :
XF86Config.98 and XF86Config.eg in /usr/X11R6/lib/X11.  Which, if either, of
these two files is my “XF86Config” file that I modify to add fonts,
configure my mouse, etc.?

I’m probably overlooking something pretty simple, but just can’t
figure it out.  Any advice, suggestions or comments would be greatly
appreciated.

Thank you in advance,
Lawrence


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


Re: Newbie - Configuration File Location?

2005-06-15 Thread Warren Block

On Tue, 14 Jun 2005, Naomi Fernandez wrote:


   I am trying to access either my xorg.conf or XF86Config file for
some general tweaking, e.g., adding to the fontpath, configuring for a wheel
mouse, etc.  The problem is that I cannot find either file.  According to
the FreeBSD Handbook, they should be in either /etc/X11 or /etc.  I have
both folders but the file is in neither.  As a matter of fact, my /etc/X11
folder is empty.


Xorg looks in several locations, but /etc/X11 is the older setup.  New 
is /usr/X11R6/lib/X11/xorg.conf.  If you are still using XFree86 instead 
of Xorg, your XF86Config file should be in the same directory.



   As root, I ran find / -name xorg.conf and nothing was found.


That's odd.  Xorg is pretty good about autoconfiguring, but I didn't 
think it would run without any xorg.conf at all.  If you don't have the 
file, it can be created:


Xorg -configure

That creates xorg.conf.new in your current directory.  Edit as required 
and move to /usr/X11R6/lib/X11/xorg.conf.


-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: Newbie - Configuration File Location?

2005-06-15 Thread Greg Barniskis

Naomi Fernandez wrote:

Hi,

I am currently running Gnome on FreeBSD 5.3 with great success.
I can access the Internet and am using a 1024 x 1280 screen resolution.

I am trying to access either my xorg.conf or XF86Config file for
some general tweaking, e.g., adding to the fontpath, configuring for a wheel
mouse, etc.  The problem is that I cannot find either file.  According to
the FreeBSD Handbook, they should be in either /etc/X11 or /etc.  I have
both folders but the file is in neither.  As a matter of fact, my /etc/X11
folder is empty.

As root, I ran find / -name xorg.conf  and nothing was found.
When I ran find / -name XF86Config* I came up with two files :
XF86Config.98 and XF86Config.eg in /usr/X11R6/lib/X11.  Which, if either, of
these two files is my XF86Config file that I modify to add fonts,
configure my mouse, etc.?


find / -name *xorg.conf*

If you follow the setup directions in the Handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

then (after a couple of hops and skips) you will end up with
/etc/X11/xorg.conf

It's pretty straightforward. Be sure to tune your HorizSync and 
VertRefresh attributes accordingly, and your Screen section. The 
Xorg -config step gets most everything else set to a basic working 
state for you (or at least it has been quite good at it on the last 
4-5 boxes I used it on, all with various video cards -- using 5.4).



--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


disabling ata devices

2005-06-15 Thread JM
i'm not exactly sure how to accomplish this... i'm having problems with 
my cd-rom, which isn't surprising since it's a slim-line without UDMA 
and probably isn't supported... but... it's eating up time when i'm 
booting the system.  i've erased the fstab lines for acd0 but it's still 
probing the hardware when i boot the machine.  how do i completely 
disable probing for this device at startup?  if possible i'd like to 
just remove the device node altogether.  every time i remove /dev/acd0 
it's just recreated each time i restart.  not sure how to permanently 
remove it without physically removing it from the system.  is there 
anyway to remove the node without removing the iso9660 entry from the 
kernel?

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


Re: disabling ata devices

2005-06-15 Thread Dmitry Mityugov
On 6/15/05, JM wrote:
 i'm not exactly sure how to accomplish this... i'm having problems with
 my cd-rom, which isn't surprising since it's a slim-line without UDMA
 and probably isn't supported... but... it's eating up time when i'm
 booting the system.  i've erased the fstab lines for acd0 but it's still
 probing the hardware when i boot the machine.  how do i completely
 disable probing for this device at startup?  if possible i'd like to
 just remove the device node altogether.  every time i remove /dev/acd0
 it's just recreated each time i restart.  not sure how to permanently
 remove it without physically removing it from the system.  is there
 anyway to remove the node without removing the iso9660 entry from the
 kernel?

Is it possible to disable it in BIOS?

-- 
Dmitry

We live less by imagination than despite it - Rockwell Kent, N by E
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disabling ata devices

2005-06-15 Thread JM

Dmitry Mityugov wrote:


On 6/15/05, JM wrote:
 


i'm not exactly sure how to accomplish this... i'm having problems with
my cd-rom, which isn't surprising since it's a slim-line without UDMA
and probably isn't supported... but... it's eating up time when i'm
booting the system.  i've erased the fstab lines for acd0 but it's still
probing the hardware when i boot the machine.  how do i completely
disable probing for this device at startup?  if possible i'd like to
just remove the device node altogether.  every time i remove /dev/acd0
it's just recreated each time i restart.  not sure how to permanently
remove it without physically removing it from the system.  is there
anyway to remove the node without removing the iso9660 entry from the
kernel?
   



Is it possible to disable it in BIOS?

 

i was thinking more along the lines of telling the loader not to probe 
for it...

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


Re: FreeBSD 5.4 X Org Fluebox Keyboard dont respond?

2005-06-15 Thread Bernhard Fischer

 Hey Fisher, did you install the xorg from ports or packages..?

 Good day to all.


I installed from packages.
I'm currently running the make-buildworld-buildkernel...-procedure and will 
report my results afterwards.

Regards,
bh


pgp8QwYO7frF2.pgp
Description: PGP signature


RE: disabling ata devices

2005-06-15 Thread John Brooks
just unplug the cable and/or power to the hardware device

--
John Brooks
[EMAIL PROTECTED]

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Dmitry Mityugov
 Sent: Wednesday, June 15, 2005 8:24 AM
 To: JM
 Cc: freebsd-questions@freebsd.org
 Subject: Re: disabling ata devices


 On 6/15/05, JM wrote:
  i'm not exactly sure how to accomplish this... i'm having problems with
  my cd-rom, which isn't surprising since it's a slim-line without UDMA
  and probably isn't supported... but... it's eating up time when i'm
  booting the system.  i've erased the fstab lines for acd0 but it's still
  probing the hardware when i boot the machine.  how do i completely
  disable probing for this device at startup?  if possible i'd like to
  just remove the device node altogether.  every time i remove /dev/acd0
  it's just recreated each time i restart.  not sure how to permanently
  remove it without physically removing it from the system.  is there
  anyway to remove the node without removing the iso9660 entry from the
  kernel?

 Is it possible to disable it in BIOS?

 --
 Dmitry

 We live less by imagination than despite it - Rockwell Kent, N by E
 ___
 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]


SFTP vs. SCP and transfer rates

2005-06-15 Thread Leonhardt, Daniel (EST)
Hi there Steven, not sure if anybody has posted to your question on xfer
rates between sftp  scp, if so, perhaps you can indulge me.  Also, do you
know which would be better in terms of security?

Thanks in advance.
Dan

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


Re: disabling ata devices

2005-06-15 Thread Björn König

JM wrote:

i'm not exactly sure how to accomplish this... i'm having problems with 
my cd-rom, which isn't surprising since it's a slim-line without UDMA 
and probably isn't supported... but... it's eating up time when i'm 
booting the system.  i've erased the fstab lines for acd0 but it's still 
probing the hardware when i boot the machine.


Please show the point where it takes time. You have a log in 
/var/run/dmesg.boot


how do i completely 
disable probing for this device at startup? 


As far as I know this is not possible (I might be mistaken). Either you 
remove the hardware or the support for this piece of hardware.


if possible i'd like to 
just remove the device node altogether.  every time i remove /dev/acd0 
it's just recreated each time i restart.


devfs provides a kind of virtual file system which will be created in 
respect of the devices that are known to the kernel. Everytime you 
unmount devfs all changes that were directly made to /dev are gone.


not sure how to permanently 
remove it without physically removing it from the system. is there 
anyway to remove the node without removing the iso9660 entry from the 
kernel?


The 'CD9660' option in the kernel configuration is a file system support 
and has nothing necessarily to do with support of hardware devices. I 
guess you mean 'device atapicd'.


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


Re: disabling ata devices

2005-06-15 Thread Dmitry Mityugov
On 6/15/05, JM [EMAIL PROTECTED] wrote:
 Dmitry Mityugov wrote:
 
 On 6/15/05, JM wrote:
 
 
 i'm not exactly sure how to accomplish this... i'm having problems with
 my cd-rom, which isn't surprising since it's a slim-line without UDMA
 and probably isn't supported... but... it's eating up time when i'm
 booting the system.  i've erased the fstab lines for acd0 but it's still
 probing the hardware when i boot the machine.  how do i completely
 disable probing for this device at startup?  if possible i'd like to
 just remove the device node altogether.  every time i remove /dev/acd0
 it's just recreated each time i restart.  not sure how to permanently
 remove it without physically removing it from the system.  is there
 anyway to remove the node without removing the iso9660 entry from the
 kernel?
 
 
 
 Is it possible to disable it in BIOS?
 
 
 
 i was thinking more along the lines of telling the loader not to probe
 for it...

Not sure if this will work but if the CD-ROM device is on a separate
ATA controller, you can try to disable with with corresponding
disabled statement in /boot/device.hints, like

hint.ata.1.disabled=1

-- 
Dmitry

We live less by imagination than despite it - Rockwell Kent, N by E
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SFTP vs. SCP and transfer rates

2005-06-15 Thread Björn König

Leonhardt, Daniel (EST) wrote:


Hi there Steven, not sure if anybody has posted to your question on xfer
rates between sftp  scp, if so, perhaps you can indulge me.  Also, do you
know which would be better in terms of security?


What are you talking about? Please do not send mails to this mailing 
list without any reference.


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


Re: OT: GnuPG

2005-06-15 Thread Christopher Black
On Tue, 2005-06-14 at 16:52 -0500, Brian Henning wrote:
 Greetings:
 
 When I run gnupg using the same rsa key on the same input file I
 noticed that it returns different cipher text files as resuts. Both
 the cipher files decrypt to the same plain text file just fine. Can
 someone explain to my why that is the cipher text is different?
 
 Thanks,
 
 Brian

The way GnuPG works in public key mode (ie: RSA) is by encrypting the
data with a random symmetric session key, then encrypting that session
key with the public key you choose.

The reason for this is that symmetric encryption is much easier to do,
and far more secure than asymmetric (public-key) encryption for any
given key-size.  Also, if you're encrypting a file to 10 different
people, this way you can just encrypt the symmetric keys with 10
separate public keys, and attach them to the actual encrypted file,
instead of having 10 seperate encrypted files.  When the file could be
hundreds of megabytes, this is a huge resource saver.

-- 
Christopher Black
Chief Security Engineer
Secure Crossing
22750 Woodward Suite 304 - Ferndale, MI 48220
Tel (800) 761-4299 | Direct (248) 658-6120
[EMAIL PROTECTED] | www.securecrossing.com


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


Re: Wine: HEAP_CreateSystemHeap Error

2005-06-15 Thread Edward West

Dmitry Mityugov wrote:


On 6/15/05, Edward West [EMAIL PROTECTED] wrote:
 


Whenever I use Wine to run a Windows executable, the following error
shows up:

err:heap:HEAP_CreateSystemHeap system heap base address 0x8000 not
available

Some programs will then hang, though others will execute normally.

I am running FreeBSD 5.3 RELEASE.  The Wine version is 20050524.  I
cvsup'ed my ports tree before building and installing the Wine port, but
I didn't portupgrade.

Some Linux users have gotten the same error and were able to fix it by
recompiling their kernels to support processes that need more than 2GB
of memory.  I didn't think this should be necessary for FreeBSD.

The bug report (which talks about the 2GB issue ) for this error is:
http://bugs.winehq.org/show_bug.cgi?id=2741

I would be satisfied just to know if there is an earlier version without
this problem that runs on 5.3.

Thank you for any help you can provide.
   



Wondering if specifying MAXDSIZ in your kernel and/or limit memoryuse
unlimited may be of any help?

 


I couldn't find any information on those options relating to the 5.3 kernel.
Are they still supported?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disabling ata devices

2005-06-15 Thread JM

Björn König wrote:


JM wrote:

i'm not exactly sure how to accomplish this... i'm having problems 
with my cd-rom, which isn't surprising since it's a slim-line without 
UDMA and probably isn't supported... but... it's eating up time when 
i'm booting the system.  i've erased the fstab lines for acd0 but 
it's still probing the hardware when i boot the machine.



Please show the point where it takes time. You have a log in 
/var/run/dmesg.boot


how do i completely disable probing for this device at startup? 



As far as I know this is not possible (I might be mistaken). Either 
you remove the hardware or the support for this piece of hardware.


if possible i'd like to just remove the device node altogether.  
every time i remove /dev/acd0 it's just recreated each time i restart.



devfs provides a kind of virtual file system which will be created in 
respect of the devices that are known to the kernel. Everytime you 
unmount devfs all changes that were directly made to /dev are gone.


not sure how to permanently remove it without physically removing it 
from the system. is there anyway to remove the node without removing 
the iso9660 entry from the kernel?



The 'CD9660' option in the kernel configuration is a file system 
support and has nothing necessarily to do with support of hardware 
devices. I guess you mean 'device atapicd'.


Björn


from dmesg -a:
...
ad0: 19077MB ST92011A/3.04 [38760/16/63] at ata0-master UDMA33
acd0: CDROM CD-224E/1.7A at ata0-slave UDMA33
Mounting root from ufs:/dev/ad0s1a
...

when probing acd0 the system waits for about 10-20 seconds.  i'd like to 
leave the kernel alone since i'd rather not compile out cdrom support 
altogether.  i'd simply like to tell FreeBSD to not probe this device at 
boot.  this way there will be no device node associated with it, no 
timeouts, no lag on booting, etc.

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


Re: rcNG script problems

2005-06-15 Thread Alex Zbyslaw

Jarrod Martin wrote:

yea i've figured it out.  this really should be better documented 
though... i'll be sending all the info to the documentation mailing 
list.  here's the proper way to do it.  the filename is 
'httpd_start.sh' with 555 mode.  rc scripts, both rcNG and the old 
*.sh styles must have the .sh extension to be recognized (source: 
bsdforums.org).  the script was placed in '/usr/local/etc/rc.d'. 


Just to say that man rc does cover this, but it takes a bit of reading 
-- certainly no harm in a handbook entry for it.  The easiest way to 
figure out patterns for what you can do is (as ever) to read the 
source;  in this case all the myriad scripts in /etc/rc.d (and /etc/rc 
itself), bearing in mind that the ordering stuff at the top won't work.  
However, I would future-proof my scripts and put it all in -- it's easy 
enough.  The apache2.sh script was also quite informative though given 
that your example is an http startup script I guess you didn't install 
apache2 from ports.


--Alex


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


Re: Wine: HEAP_CreateSystemHeap Error

2005-06-15 Thread Tobias Grosser
Hi,

have a look in the freebsd-emulation (or however it is called correctly)
mailinglist history of the last two months. Someone posted a patch for
wine to resolve this issue.

Good Look

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


Re: disabling ata devices

2005-06-15 Thread Titus von Boxberg

JM schrieb:
i'm not exactly sure how to accomplish this... i'm having problems with 
my cd-rom, which isn't surprising since it's a slim-line without UDMA 
and probably isn't supported... but... it's eating up time when i'm 
just remove the device node altogether.  every time i remove /dev/acd0 
it's just recreated each time i restart.  not sure how to permanently 
remove it without physically removing it from the system.  is there 
anyway to remove the node without removing the iso9660 entry from the 
kernel?

Neither iso9660 nor the device entry have to do with the probing of
your CD drive.
Either you make a custom kernel and comment out the appropriate
line for the driver or you can configure the kernel at boot
time via UserConfig not to probe for the device.
The first way is straightforward and documented in the handbook.
The second way is documented in the loader(8) manpage
and e.g. here:
http://www.treefort.org/~rpratt/freebsd/31/userconfig.html
or for different CD-ROM drives mentioned here:
http://www.freebsd.org/relnotes/5-STABLE/installation/i386/trouble.html

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


Re: disabling ata devices

2005-06-15 Thread JM

Dmitry Mityugov wrote:


On 6/15/05, JM [EMAIL PROTECTED] wrote:
 


Dmitry Mityugov wrote:

   


On 6/15/05, JM wrote:


 


i'm not exactly sure how to accomplish this... i'm having problems with
my cd-rom, which isn't surprising since it's a slim-line without UDMA
and probably isn't supported... but... it's eating up time when i'm
booting the system.  i've erased the fstab lines for acd0 but it's still
probing the hardware when i boot the machine.  how do i completely
disable probing for this device at startup?  if possible i'd like to
just remove the device node altogether.  every time i remove /dev/acd0
it's just recreated each time i restart.  not sure how to permanently
remove it without physically removing it from the system.  is there
anyway to remove the node without removing the iso9660 entry from the
kernel?


   


Is it possible to disable it in BIOS?



 


i was thinking more along the lines of telling the loader not to probe
for it...
   



Not sure if this will work but if the CD-ROM device is on a separate
ATA controller, you can try to disable with with corresponding
disabled statement in /boot/device.hints, like

hint.ata.1.disabled=1

 

i thought about this but the ad0 and acd0 are on the same controller... 
i think.  is there some hardware probe i can use to confirm which 
controller each ata device belongs to (corresponding to the device.hints 
entry...)

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


Re: disabling ata devices

2005-06-15 Thread Roland Smith
On Wed, Jun 15, 2005 at 10:08:42AM -0400, JM wrote:
 
 i thought about this but the ad0 and acd0 are on the same controller... 
 i think.  is there some hardware probe i can use to confirm which 
 controller each ata device belongs to (corresponding to the device.hints 
 entry...)

Run atacontrol list as root.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpAALMK9DfEI.pgp
Description: PGP signature


Re: disabling ata devices

2005-06-15 Thread JM

Björn König wrote:


JM wrote:


from dmesg -a:
...
ad0: 19077MB ST92011A/3.04 [38760/16/63] at ata0-master UDMA33
acd0: CDROM CD-224E/1.7A at ata0-slave UDMA33
Mounting root from ufs:/dev/ad0s1a
...

when probing acd0 the system waits for about 10-20 seconds. [...]



Are you really sure that your CD-ROM drive is the originator of the 
problem, i.e. it works fine if you unplug your drive physically?


Björn


yes, there is no pause when it's unplugged..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: commands w who finger

2005-06-15 Thread Lowell Gilbert
Dixit, Viraj [EMAIL PROTECTED] writes:

 Anyone got an idea why any of these commands w who  finger do
 not show who is logged in. I am logged in as a super user and shows
 no one logged in. The commands used to work few days ago now
 nothing. Thanks for the help.

Did you change anything?
How are the various users logged in?  Via ssh?  On the console?  xterms?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.4 X Org Fluebox Keyboard dont respond?

2005-06-15 Thread Bernhard Fischer
On Tuesday 14 June 2005 17:43, perikillo wrote:
  For some problems with my last installation i decide to install again the
 system, freebsd 5.4 Release,
 make the cvsup to update my tree, compile my kernel to add my sound card
 and other things, install my ports and them upgrade my ports:

 test$ cd /usr/ports
 test$ make update

 The system update my ports. Ok this is only information, because i install
 Xorg from packages, the only thing i didnt install was the Print Server
 from the options, them use:

 test$ xorgconfig

 Setup my X system, every thing was right, write my file. I make the test:

 test$ startx

 My X system start, but still any answer from the keyboard, my mouse is
 working good, but the problem is that i cannot shutdown the X system using
 the Ctrl+Atl+Backspace because my Kbd is not working, i try to use the
 mouse menu to shutdown the system but no answer, the last thing to do was
 use the Reset button, is hard to make that decision, but was the only thing
 do. I read again the Xorg log under /var/log/ but i dont see any problems
 with the Kbd or mouse settings.

 After that, i decide to make the buildworld, after some hours i finish the
 installworld, builkernel+installkernel,mergemaster, my upgrade process was
 correct, any problems, them i decide to test again with my X system:

 test$ startx

 Any errors, but the system dont do nothing, any message or errors. Today
 after work i will try what fisher say using the XDM. Any information about
 this issue will be apreciated. In this moment my system dont have any
 Desktop system, only Xorg.

 Hey Fisher, did you install the xorg from ports or packages..?

 Good day to all.

 On 6/13/05, Bernhard Fischer [EMAIL PROTECTED] wrote:
  Hy,
 
  I can confirm your problem for FreeBSD 5.4 amd64-RC3 and I got the same
  problem with a Linux 2.6.8 on an ASUS-Laptop.
 
  Unfortunately I've no good solution but I'm fairly sure that the problem
  is
  related to the X.org http://X.org and not the OS.
  I think there's something wrong in the communication between the keyboard
  driver of the OS and the X server and (on my machines) it always apeared
  only
  when booting directly into X running xdm from inittab or /etc/rc.d.
 
  I figured out that booting to command line and then starting X manually
  (by
  typing xdm on a root shell) will not cause the problem.
 
  Regards,
  bh
 
  On Sunday 12 June 2005 11:24, perikillo wrote:
   Hi all.
   I upgrade my Freebsd 5.3 Release to 5.4 Release using the cvsup system,
   make the buildworld+buildkernel+installkernel, and the others things,
   on that time my system was with the cvsup port only, them upgrade my
   ports, after the upgrade i decide to setup the Xorg server 6.8.2
   Package +
 
  Fluebox
 
   ports. Follow the handbook setup and everything was good.
  
   But went i start fluxbox the system start but my keyboard dosent
   respond
 
  to
 
   any thing, all the keys are disable, if i press many times one key dont
   make any noise, dont respond to Ctrl+Alt+Backspace even to
 
  Ctrl+Alt+Delete.
 
   I read about on google, i make a lot of change on the
   /etc/X11/xorg.conf
 
  in
 
   the keyboard label, change the driver to keyboard to kbd and vice
   versa, use a different type of Option's, us the default config from
   www.x.org http://www.x.orghttp://www.x.orgsite.
  
   I check the /var/log/X?? log file but dont see any error about the
   settings.
  
   I really dont know what more to do, any help and information i will
   apreciate.
  
   My Computer:
   Motherboard P6SBA
   Pentium II
   Mouse USB This is working good
   kbd PS/2
   Freebsd 5.4 Release
  
   Thanks to all.
   ___
   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]


My Upgrade was successful!

I upgraded from 5.4-RC3 to 5.4-STABLE (amd64) using cvsup (the src-all branch) 
and rebuilt the whole system from source.

I did not reinstall or change anything else, neither X.Org nor KDE.
But now the keyboard works, even after directly booting into X (starting kdm 
from /usr/local/etc/rc.d).

I should also mention that I'm using a Keytronic keyboard, not a Fluebox as 
lined out in this thread.

Regards,
bh



pgp3UeCD8JkkF.pgp
Description: PGP signature


RE: commands w who finger

2005-06-15 Thread Dixit, Viraj
No nothing was changed as far as I know. I usually log on as a super user 
through telnet and there are few others that I have also given access to as a 
super user. I have not tried the console yet, but what am I looking for. Thanks,
VJ

 -Original Message-
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]  On Behalf Of Lowell Gilbert
Sent:   Wednesday, June 15, 2005 8:06 AM
To: Dixit, Viraj
Cc: freebsd-questions@freebsd.org
Subject:Re: commands w who  finger

Dixit, Viraj [EMAIL PROTECTED] writes:

 Anyone got an idea why any of these commands w who  finger do
 not show who is logged in. I am logged in as a super user and shows
 no one logged in. The commands used to work few days ago now
 nothing. Thanks for the help.

Did you change anything?
How are the various users logged in?  Via ssh?  On the console?  xterms?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Apache logging?

2005-06-15 Thread Brian McCann
Anyone here know how to get Apache to log in GMT when the system clock
is in local time?  I can't imagine this being impossible...but I
can't seam to find it anywhere.

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


Re: commands w who finger

2005-06-15 Thread Danny
On 6/14/05, Dixit, Viraj [EMAIL PROTECTED] wrote:
 Hi,
 
 Anyone got an idea why any of these commands w who  finger do not show 
 who is
 logged in. I am logged in as a super user and shows no one logged in. The 
 commands used
 to work few days ago now nothing. Thanks for the help.

The binaries could have been modified by anyone permitted (or not
permitted; script kiddie) to do so?

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


RE: commands w who finger

2005-06-15 Thread Dixit, Viraj
What's the solution, do I need to rebuid some process or rebooting might solve 
it. Thanks!!

 -Original Message-
From:   Danny [mailto:[EMAIL PROTECTED] 
Sent:   Wednesday, June 15, 2005 8:31 AM
To: Dixit, Viraj
Cc: freebsd-questions@freebsd.org
Subject:Re: commands w who  finger

On 6/14/05, Dixit, Viraj [EMAIL PROTECTED] wrote:
 Hi,
 
 Anyone got an idea why any of these commands w who  finger do not show 
 who is
 logged in. I am logged in as a super user and shows no one logged in. The 
 commands used
 to work few days ago now nothing. Thanks for the help.

The binaries could have been modified by anyone permitted (or not
permitted; script kiddie) to do so?

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


Re: commands w who finger

2005-06-15 Thread Danny
On 6/15/05, Dixit, Viraj [EMAIL PROTECTED] wrote:
 What's the solution, do I need to rebuid some process or rebooting might 
 solve it. Thanks!!

Assuming I am on the right track (off to a good start - we are!), you
could perform a forensic analysis:

http://www.l0t3k.org/security/tools/forensic/

...and/or copy the binary(ies) from a repair/live FreeBSD CD.

I am not an expert in this, so there will be others with better advice.

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


Re: commands w who finger

2005-06-15 Thread Greg Barniskis

Dixit, Viraj wrote:

No nothing was changed as far as I know. I usually log on as a super user 
through telnet and there are few others that I have also given access to as a 
super user. I have not tried the console yet, but what am I looking for. Thanks,


Urk. squirm

Logging in via telnet exposes your password in cleartext. If it 
wasn't another 'authorized' superuser who changed things, it could 
easily be that you've been cracked six ways from Sunday.


You should definitely reinstall from CD. It is very strongly 
recommended that you *always use SSH* for remote login, and that you 
don't give blanket superuser privileges to others -- give them 
discrete added privileges with sudo, and/or sink their accounts into 
a jail environment.


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie - Configuration File Location?

2005-06-15 Thread Lowell Gilbert
Warren Block [EMAIL PROTECTED] writes:

 That's odd.  Xorg is pretty good about autoconfiguring, but I didn't
 think it would run without any xorg.conf at all.

I think it does; I'm pretty sure that it managed to do so on at least
one of my systems.  [I then created a conf file anyway to tweak the
desired resolution, so I can't double-check my memory at the moment.]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


procmail keeps dieing on freebsd 5.4 with postfix

2005-06-15 Thread Matt Juszczak

Hi all,

We had a mail server running with FreeBSD 5.4, about 3,000 accounts, and 
postfix.  Recently, I turned procmail on in postfix 
(mailbox_command=/usr/procmail) and the machine has been locking up 
weekly ever since.  And when this machines crashes, it crashes hard ... 
and procmail is always on the screen as the error causer when it 
happens.


I know you all want messages, but I never seem to be here and my co 
workers reboot the box on me to fix it.  Both times; however, we've had to 
run fsck from single user mode and also refresh the postfix queue.


Does anyone have any ideas why procmail could be causing my system to 
completely hard lock every other couple of days?  I disabled procmail for 
now and I know (knock on wood) the machine should be fine like it used to 
be ... but all these hard locks could eventually drive the freebsd box 
mad, and I wouldn't want to do a reinstall.


Thanks!

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


Mail server with 3500 active accounts

2005-06-15 Thread Matt Juszczak
We're running a mail server with 3500 active accounts.  Are there any 
kernel variables I should set with sysctl in loader.conf that will make 
the system more efficient, etc.?  Right now I'm just running with the 
defaults.


I found a site online that says if you run hundreds of postfix processes 
then you need to change things.  Our count right now is about 34 when I do 
ps auxw | grep postfix | wc -l ... but of course that includes other 
processes like clean, etc.


Thanks!

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


Autoinstall - install.cfg - scripting with system command

2005-06-15 Thread Chris Huff


Hi

Im having some trouble with the system command in the install.cfg file 
for autoinstalls. THe man page says the system command  command can 
be used at the end of the cfg file but I cant get it to work.


I've tried.

system /full/path/to/prog  \escsomequotes\ 
system /full/path /full/path
system /mnt/script
system /mnt/script
system /full/path /full/path
system /full/path/to/prog

Sysinstall will just say that
'system /sbin/ping blah' failed - rest of script aborted

ALT-F2 Reports the same
DEBUG: Notify : warning : NO such command ping blah


..nothing seems to work. Can someone throw me an example or a hint on 
how to get some commands or scripting going at the end of install.cfg? 
I'm on FreeBSD5.4 on Intel.



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


ADSL PPPoA

2005-06-15 Thread Stephan Weaver

Hello Friendly FreeBSD people.

Let me get straight to the point.

I am implimenting a FreeBSD Based Firewall.

I have an ADSL Speedtouch 5200 Modem/Router, Currently Plugged into my 
Switch.


I want to connect the modem to my FreeBSD Firewall;
So that the FreeBSD Firewall will be creating a PPP connection to my ISP.
Eg, my xl0 interface will have a PUBLIC Internet Address (IF Possible?).

My Isp Uses PPPoA, i used the instructions from the handbook, to setup 
'mpd'.
I put the router in 'bridge' mode and connect the Ethernet cable from the 
Dsl Router/Modem to my FreeBSD Firewall.


But i have little success getting the results i want. [The Firewall dosent 
connect to my ISP]


Anyone willing to give me a clue?



Regards,
Stephan Weaver.

[EMAIL PROTECTED]

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: Grub and NTFS

2005-06-15 Thread RW
On Wednesday 15 June 2005 02:38, RdBSD wrote:
 Can I use grub to boot windows 2003 server with ntfs file system ?

My understanding is that Windows is always installed on  a standard bootable 
primary partition, so the bootmanager doesn't need to understand the 
filesystem or the details of the OS's boot process. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: procmail keeps dieing on freebsd 5.4 with postfix

2005-06-15 Thread Greg Maruszeczka
Matt Juszczak wrote:
 Hi all,
 
 We had a mail server running with FreeBSD 5.4, about 3,000 accounts, and
 postfix.  Recently, I turned procmail on in postfix
 (mailbox_command=/usr/procmail) and the machine has been locking up
 weekly ever since.  And when this machines crashes, it crashes hard ...
 and procmail is always on the screen as the error causer when it happens.


Patient: Doctor, my arm hurts when I do this.
Doctor: Then stop doing that.

Seriously though, you need to provide some more detailed information if
you want anyone here to be able to help you. Start with explaining why
you decided to change MDAs in the first place since I'm sure I'm not the
only one thinking you must be nuts to make such a major change on a
production system with a potential 3000-user lynch mob waiting in the
wings. What were you using for local delivery before this? Was there a
problem with it or were you looking for new features, etc.?


 I know you all want messages, but I never seem to be here and my co
 workers reboot the box on me to fix it.  Both times; however, we've had
 to run fsck from single user mode and also refresh the postfix queue.
 

If you're not around to see the console messages how do you know
procmail is always the error causer? Perhaps this is conveyed to you
by your co-workers but if so, why don't they tell you the complete error
message so you can convey it to us? Leaving that aside, however, what
about the logs? Certainly /var/log/maillog should provide some clues if
the problem is really your MDA (more on this below). Also we'd need to
know something about your configuration (i.e. contents of main.cf and
master.cf for starters) to help you with a MTA/MDA problem.


 Does anyone have any ideas why procmail could be causing my system to
 completely hard lock every other couple of days?  I disabled procmail
 for now and I know (knock on wood) the machine should be fine like it
 used to be ... but all these hard locks could eventually drive the
 freebsd box mad, and I wouldn't want to do a reinstall.
 

FWIW this doesn't sound like a software issue (except maybe a massive
memory leak(??)) but then again, I'm saying this with very little useful
information provided by you. Have you done any basic hardware checks
(e.g. memtest, case and cpu cooling, power supply integrity, etc.)?

You've stated that these lock-ups occur every week at the beginning of
your post then you say later it's every couple of days. Which is it?
Also, please try to precisely define locking up and crashes. It's
unclear to me based on your description and the (possibly misleading)
subject line what portions of the system are affected. Precision matters
IMHO.

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


RE: ADSL PPPoA

2005-06-15 Thread fbsd_user
you could help your cry for help by posting your ppp.conf, ppp.log
and firewall rules

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stephan
Weaver
Sent: Wednesday, June 15, 2005 12:38 PM
To: freebsd-questions@freebsd.org
Subject: ADSL PPPoA


Hello Friendly FreeBSD people.

Let me get straight to the point.

I am implimenting a FreeBSD Based Firewall.

I have an ADSL Speedtouch 5200 Modem/Router, Currently Plugged into
my
Switch.

I want to connect the modem to my FreeBSD Firewall;
So that the FreeBSD Firewall will be creating a PPP connection to my
ISP.
Eg, my xl0 interface will have a PUBLIC Internet Address (IF
Possible?).

My Isp Uses PPPoA, i used the instructions from the handbook, to
setup
'mpd'.
I put the router in 'bridge' mode and connect the Ethernet cable
from the
Dsl Router/Modem to my FreeBSD Firewall.

But i have little success getting the results i want. [The Firewall
dosent
connect to my ISP]

Anyone willing to give me a clue?



Regards,
Stephan Weaver.

[EMAIL PROTECTED]

_
Express yourself instantly with MSN Messenger! Download today it's
FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

___
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: Newbie - Configuration File Location?

2005-06-15 Thread Christopher Black
On Wed, 2005-06-15 at 11:25 -0400, Lowell Gilbert wrote:
 Warren Block [EMAIL PROTECTED] writes:
 
  That's odd.  Xorg is pretty good about autoconfiguring, but I didn't
  think it would run without any xorg.conf at all.
 
 I think it does; I'm pretty sure that it managed to do so on at least
 one of my systems.  [I then created a conf file anyway to tweak the
 desired resolution, so I can't double-check my memory at the moment.]

This has been my experience with many 5.x boxes as well, that Xorg will
generate a temporary config on startup if no config file is found.

-- 
Christopher Black
Chief Security Engineer
Secure Crossing
22750 Woodward Suite 304 - Ferndale, MI 48220
Tel (800) 761-4299 | Direct (248) 658-6120
[EMAIL PROTECTED] | www.securecrossing.com


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


Re: procmail keeps dieing on freebsd 5.4 with postfix

2005-06-15 Thread Matt Juszczak



Appreciate the response :) Here's my message the way it should have been 
originally




Seriously though, you need to provide some more detailed information if
you want anyone here to be able to help you. Start with explaining why
you decided to change MDAs in the first place since I'm sure I'm not the
only one thinking you must be nuts to make such a major change on a
production system with a potential 3000-user lynch mob waiting in the
wings. What were you using for local delivery before this? Was there a
problem with it or were you looking for new features, etc.?



We are currently moving to a new mail server that is FreeBSD-based.  Our 
old mail server is a chrooted slackware box that hasn't been upgraded in 
years because no one even had access to it for a while (the management of 
the company I work for used to stink, its better now).  Our new mail 
server has 3000 accounts on it, that are active, but only about 50 of them 
are actually functioning (one of our virtual domains).  We haven't 
switched the MX record for our main ISP yet, we're waiting to make sure 
the box is stable first.  So to answer your question, there is only about 
a 50-user lynch mob and most of those users are internal to our ISP 
(employees, etc.) I would not make a change on something that had more 
live users, especially paying customers.


Our current mail server supports procmail, and we have about 50 users who 
use it.  Therefore, thats why I was turning it on on the new server. 
We're working on basically mirroring the old server to the new one and 
making sure that our change will be swift and efficient.  I've considered 
using postfix's internal LDA and just calling procmail from inside a 
.forward file for those users who need it/want it ... this might end up 
fixing the problems.





If you're not around to see the console messages how do you know
procmail is always the error causer? Perhaps this is conveyed to you
by your co-workers but if so, why don't they tell you the complete error
message so you can convey it to us? Leaving that aside, however, what
about the logs? Certainly /var/log/maillog should provide some clues if
the problem is really your MDA (more on this below). Also we'd need to
know something about your configuration (i.e. contents of main.cf and
master.cf for starters) to help you with a MTA/MDA problem.



Its happened twice now.  The first time this problem happened was late at 
night, about 2 days after I made the change to the LDA.  The machine would 
not respond to ping, and nagios was alerting us like crazy that the box 
was down.  The machine was non-responsive to the keyboard, and the console 
had a dump on it, about 15 lines long, with procmail written all over 
it.


I turned procmail off after rebooting the machine, running fsck, restoring 
postfix to a functioning state, etc.  Procmail remained disabled for about 
three weeks, in which the box ran fine.  Yesterday afternoon we switched 
the LDA back to procmail, and the machine ran fine over night.  On my way 
into work today, I got paged that the box was down from nagios and called. 
The tech that was here rebooted the machine, but before he did he said, 
in his own words There was a bunch of crap on the screen with procmail 
this and procmail that, and the machine was locked hard..  I've disabled 
procmail again and it seems to be running stable.


As far as logs, nothing the maillog cuts out at 11:14 AM and cuts back 
in at 11:21 AM, with no errors in between.




FWIW this doesn't sound like a software issue (except maybe a massive
memory leak(??)) but then again, I'm saying this with very little useful
information provided by you. Have you done any basic hardware checks
(e.g. memtest, case and cpu cooling, power supply integrity, etc.)?


Yes, the machine has been checked.  We ran memtest on it, etc., with no 
problems.  The machine is about 2 months old; however, so its passed its 
burn in test but could have issues, but I doubt thats the problem.



You've stated that these lock-ups occur every week at the beginning of 
your post then you say later it's every couple of days. Which is it? 
Also, please try to precisely define locking up and crashes. It's 
unclear to me based on your description and the (possibly misleading) 
subject line what portions of the system are affected. Precision matters 
IMHO.


See above.  Its occured twice in a one month span but most of that time 
procmail was not running.  It occurs usually within 24-48 hours of 
switching procmail back on.





Thanks, hope this helps a little more!

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


New 5.4 installation locks up at 'uhcio0'

2005-06-15 Thread Joshua Kampmeier
I just installed FreeBSD 5.4-RELEASE on a Compaq Proliant 1600 Server at work. 
This model is dual-Pentium III 500MHz, 1 GB RAM, 3x9.1 GB Ultra2 SCSI in RAID 5 
array. It is to be used for our new intranet server and perhaps also some Proxy 
functions.

When booting the installation CD, it locked up at:

uhci0: Intel 82371AB/EB (PIIX4) USB controller at device 20.2 on pci0

So I rebooted and choose Safe Mode installation. That worked without a hitch. 
Finished, rebooted, and it locked up at the same point again. I can boot using 
Safe Mode, but obviously that isn't a solution. Please help, this is my 
companies first move away from Microsoft systems and I'd like this to go as 
smoothly as possible. Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: procmail keeps dieing on freebsd 5.4 with postfix

2005-06-15 Thread Matt Juszczak

OK, here's the funny thing.

We did a mail flood test, and our mail server stood up fine, but our LDAP 
server (which was handling all the queries) ended up crashing with a 
similar message ... so now I've got two machines running 5.4 with the same 
behavior.


Here's the message. Remember, this is on the LDAP machine, not the 
Postfix/Procmail machine, but the error we received earlier was similar.



Kernel Trap 12 with interrupts disabled
Fatal trap 12: page fault while in kernel mode
CPUID=1, apic ID=00
fault virtual address = 0x24
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc6644eff
stack pointer = 0x10: 0xdaa86b48
frame pointer = 0x10 :0xdae86b5c
code segment: base 0x0 limit 0xf
type 0x1d, can't read my handwriting here
def32, 1
processes eflags = resume, IOPL=0
current process = 44091 (slapd)
trap number = 12
panic page fault
cpuid = 1



Hope that helps.  I dont think FreeBSD should crash like this because it 
was getting hit hard with queries . but I could be wrong.


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


Re: procmail keeps dieing on freebsd 5.4 with postfix

2005-06-15 Thread Warren Block

On Wed, 15 Jun 2005, Matt Juszczak wrote:

We are currently moving to a new mail server that is FreeBSD-based.  Our old 
mail server is a chrooted slackware box that hasn't been upgraded in years 
because no one even had access to it for a while (the management of the 
company I work for used to stink, its better now).  Our new mail server has 
3000 accounts on it, that are active, but only about 50 of them are actually 
functioning (one of our virtual domains).  We haven't switched the MX record 
for our main ISP yet, we're waiting to make sure the box is stable first.  So 
to answer your question, there is only about a 50-user lynch mob and most of 
those users are internal to our ISP (employees, etc.) I would not make a 
change on something that had more live users, especially paying customers.


Our current mail server supports procmail, and we have about 50 users who use 
it.  Therefore, thats why I was turning it on on the new server. We're 
working on basically mirroring the old server to the new one and making sure 
that our change will be swift and efficient.  I've considered using postfix's 
internal LDA and just calling procmail from inside a .forward file for those 
users who need it/want it ... this might end up fixing the problems.


Did you build procmail from ports or bare?  Just asking because there 
are ten patch files included with the port...


-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: procmail keeps dieing on freebsd 5.4 with postfix

2005-06-15 Thread Matt Juszczak

Ports ... I always use ports.

On Wed, 15 Jun 2005, Warren Block wrote:


On Wed, 15 Jun 2005, Matt Juszczak wrote:

We are currently moving to a new mail server that is FreeBSD-based.  Our 
old mail server is a chrooted slackware box that hasn't been upgraded in 
years because no one even had access to it for a while (the management of 
the company I work for used to stink, its better now).  Our new mail server 
has 3000 accounts on it, that are active, but only about 50 of them are 
actually functioning (one of our virtual domains).  We haven't switched the 
MX record for our main ISP yet, we're waiting to make sure the box is 
stable first.  So to answer your question, there is only about a 50-user 
lynch mob and most of those users are internal to our ISP (employees, 
etc.) I would not make a change on something that had more live users, 
especially paying customers.


Our current mail server supports procmail, and we have about 50 users who 
use it.  Therefore, thats why I was turning it on on the new server. We're 
working on basically mirroring the old server to the new one and making 
sure that our change will be swift and efficient.  I've considered using 
postfix's internal LDA and just calling procmail from inside a .forward 
file for those users who need it/want it ... this might end up fixing the 
problems.


Did you build procmail from ports or bare?  Just asking because there are ten 
patch files included with the port...


-Warren Block * Rapid City, South Dakota USA


!DSPAM:42b076c8956801608011501!


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


Webmail Selection Setup Configuration

2005-06-15 Thread M. Goodell
I am looking at setting up a webmail solution on my server and I would like to 
ask a few  questions:
 
1 - Where is a good starting point to read about configuring a webmail system. 
I have looked into SquirellMail and actually installed it but I had trouble 
with the IMAP server and security portions of it. I was not able to get it 
running very well because need more information on the various parts of the 
complete system.
 
2 - Any highly recommended solutions? Horde / SquirellMail / others?
 
3 - Are there good *detailed* resources available that provide procedures on 
how to set up a webmail system and the required / recommended components.
 
Thank you in advance for any help and direction.
 
- FreeBSDUtah
 
 




-
Discover Yahoo!
 Stay in touch with email, IM, photo sharing  more. Check it out!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ADSL PPPoA

2005-06-15 Thread Stephan Weaver
i used the mpd config exzactly from the freebsd handbook except changing the 
(4) Values needed to change.




From: fbsd_user [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Stephan Weaver 
[EMAIL PROTECTED],freebsd-questions@freebsd.org

Subject: RE: ADSL PPPoA
Date: Wed, 15 Jun 2005 13:36:36 -0400

you could help your cry for help by posting your ppp.conf, ppp.log
and firewall rules

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stephan
Weaver
Sent: Wednesday, June 15, 2005 12:38 PM
To: freebsd-questions@freebsd.org
Subject: ADSL PPPoA


Hello Friendly FreeBSD people.

Let me get straight to the point.

I am implimenting a FreeBSD Based Firewall.

I have an ADSL Speedtouch 5200 Modem/Router, Currently Plugged into
my
Switch.

I want to connect the modem to my FreeBSD Firewall;
So that the FreeBSD Firewall will be creating a PPP connection to my
ISP.
Eg, my xl0 interface will have a PUBLIC Internet Address (IF
Possible?).

My Isp Uses PPPoA, i used the instructions from the handbook, to
setup
'mpd'.
I put the router in 'bridge' mode and connect the Ethernet cable
from the
Dsl Router/Modem to my FreeBSD Firewall.

But i have little success getting the results i want. [The Firewall
dosent
connect to my ISP]

Anyone willing to give me a clue?



Regards,
Stephan Weaver.

[EMAIL PROTECTED]

_
Express yourself instantly with MSN Messenger! Download today it's
FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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



_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/


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


Re: Webmail Selection Setup Configuration

2005-06-15 Thread luke
 1 - Where is a good starting point to read about configuring a webmail 
 system. I have looked into SquirellMail and actually installed it but I had 
 trouble with the IMAP server and security portions of it. I was not able to 
 get it running very well because need more information on the various parts 
 of the complete system.

if IMAP is the issue, sqwebmail does not require imap, it accesses
maildir/'s directly. it is also a stable, useable product

 3 - Are there good *detailed* resources available that provide procedures on 
 how to set up a webmail system and the required / recommended components.

google probably provides tons of resources on just about any webmail
program ever made. don't search for webmail though, pick one and
search for _it_

good luck

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


Re: Apache logging?

2005-06-15 Thread Jeff Wirth
 Anyone here know how to get Apache to log in GMT when the system clock
 is in local time?  I can't imagine this being impossible...but I

you didn't mention what version of apache...

1.3.* - http://httpd.apache.org/docs/logs.html#accesslog

[10/Oct/2000:13:55:36 -0700]  (%t)
The time that the server finished processing the request. The format is:

[day/month/year:hour:minute:second zone]
day = 2*digit
month = 3*letter
year = 4*digit
hour = 2*digit
minute = 2*digit
second = 2*digit
zone = (`+' | `-') 4*digit 

It is possible to have the time displayed in another format by
specifying %{format}t in the log format string, where format is as in
strftime(3) from the C standard library.

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


Re: SMP and networking under FreeBSD 5.3

2005-06-15 Thread Joe
Actually it is not my divert rule that I am using the ip
address. In fact my rc.conf has the 'right stuff' for natd, as
the same ipfw rules worked in 5.2 and 5.1.  Same rc.conf stuff
for natd too.

The ifconfig stuff is for other rules like:

ipfw add allow tcp from $EXT_IPADDR to any out xmit dc0 setup
keep-state

I use ifconfig stuff to get EXT_IPADDR for the above rule.  I
suppose I could use 'me' as I usually am referring to both
interfaces.   I'll probably change to use me and see how that
goes. 

I'm not sure why I get the hostname ``or'' unknown message
though.

Joe

--- Alex Zbyslaw [EMAIL PROTECTED] wrote:

 Joe wrote:
 
 Hey thanks, 
 
it seems that ipfw complains during boot with a message:
 
 hostname ``or'' unknown
 
which I have no idea where that is coming from yet, but
 will
 look.  
 
Then natd doesn't get started.  
 
If I run /etc/rc.d/ipfw start then the router is up and
 natd
 gets started.
 
For now, I'll probably just add it to rc at the end.  I
 think
 it has something to do with the order things get run.  
 
My firewall script is for a dhcp interface.  Since I don't
 know the IP, I use ifconfig dc0 | grep -v inet6 | grep inet |
 awk ... to get the IP address for some of the rules.  I'm
 wondering if this is failing and causing the message above.
 
Is there a 'recommended' way to create a rule for ipfw on
 a
 dhcp interface  using its IP address?  
 
   
 
 You don't need any of your awk/grep palaver.  Your ipfw rules
 should 
 probably be specifying the interface not ip addresses.  Natd
 with 
 -dynamic will do the right thing when dhcp picks up its actual
 ip address.
 
 from man natd
 
  -dynamicIf the -n or -interface option is used, natd
 will 
 monitor the
  routing socket for alterations to the
 interface passed.  If
  the interface's IP address is changed, natd
 will 
 dynamically
  alter its concept of the alias address.
 
 I have, for example:
 
 /etc/rc.conf:
 
 ifconfig_sis0=DHCP# External
 network
 
 /etc/rc.firewall script
 
 ipfw add divert natd all from any to any via sis0
 
 and it all works just fine even though natd starts off saying
 that it 
 sees an IP address of 0.0.0.0
 
 Your error message is very likely down to your ifconfig |
 stuff 
 command which may well run when there is no ip address
 configured.  
 It'll work fine when you run it once the ip address is
 configured, but 
 probably not before when the script actually runs.
 
 Why do you think your firewall rules need to know the IP
 address?  If 
 you do need it then ipfw2 (5.X only?) has me.  From man ipfw
 
  me matches any IP address configured on an interface
 in the system.
  The address list is evaluated at the time the
 packet is 
 analyzed.
 
 If you have that after your natd rule, though, it will (I
 think) just 
 match everything so the interface name is good enough.  e.g.
 from any to 
 any via sis0
 
 --Alex
 




__ 
Discover Yahoo! 
Get on-the-go sports scores, stock quotes, news and more. Check it out! 
http://discover.yahoo.com/mobile.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache logging?

2005-06-15 Thread Brian McCann
On 6/15/05, Jeff Wirth [EMAIL PROTECTED] wrote:
  Anyone here know how to get Apache to log in GMT when the system clock
  is in local time?  I can't imagine this being impossible...but I
 
 you didn't mention what version of apache...
 
 1.3.* - http://httpd.apache.org/docs/logs.html#accesslog
 
 [10/Oct/2000:13:55:36 -0700]  (%t)
 The time that the server finished processing the request. The format is:
 
 [day/month/year:hour:minute:second zone]
 day = 2*digit
 month = 3*letter
 year = 4*digit
 hour = 2*digit
 minute = 2*digit
 second = 2*digit
 zone = (`+' | `-') 4*digit
 
 It is possible to have the time displayed in another format by
 specifying %{format}t in the log format string, where format is as in
 strftime(3) from the C standard library.
 
 -jeff
 

Thanks Jeff!  Just as I got your message I found a work around that
worked for me.  I set the TZ environment variable in the RC script to
me GMT and that did the trick.

Thanks!
--Brian
-- 
_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann
Systems  Network Administrator, K12USA

I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me.
-- Bill Murray, Ghostbusters
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ThinkPad X30 installation problem

2005-06-15 Thread Iavor Raytchev
Hello,

I have some problems installing FreeBSD 5.4 on
ThinkPad X30.

I boot from floppy and install from a DOS partition.

The problem is somewhere around the drive geometry.

FreeBSD says that the geometry 77520/16/63 does not
seem right and that more likely 4864/255/63 will be
used. The manual says I should use the BIOS geometry,
but on X30 I could not find it anywhere in the BIOS.
So I used the geometry which PartitionMagic reports
and which I found also in one other article about
installing FreeBSD on X30 - 5168/240/63. The install
moves on and everything seems fine until I reboot in
Windows XP Pro and start PartitionMagic.

I repeated the installation around dozen times
installing FreeBSD on different places - before and
after Windows XP Pro, within the first 1024, etc. In
all cases the installation moves on successfully but
then PartitionMagic reports between 1 and 3 errors -
different LBA and CHS numbers somewhere, which it
insists on fixing by applying the LBA number. If I
allow PartitionMagic to fix them - the result is
always  different. Sometimes everything is OK,
sometimes it says 'backup all data and reformat the
drive', which required full system reinstall (incl.
Windows) and in some cases first I had to delete the
FreeBSD partition with the DOS FDISK as PartitionMagic
refused to do anything and the IBM system recovery
refused to take off.

Could anybody tell me what am I doing wrong? Is it
wrong to use PartitionMagic in general after FreeBSD
is installed or is it something else?

Thanks,
Iavor



___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


usb2 external drive gets different designations

2005-06-15 Thread dave
Hello,
I've got a working usb2 external IDE hard drive running on a 5.4-stable
box. My problem is sometimes when i connect it it is given a designation of
da0 while other times it is given a designation of da1 or da2. I'd like to
create a fstab entry for this drive so that when it is connected it is
mounted and when disconnected it is unmounted cleanly. I was wondering if
this was possible or if not if there was a way of giving it da0 or da1
everytime the drive was connected?
Thanks.
Dave.

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


OT: Procmail crashing with FreeBSD

2005-06-15 Thread Matt Juszczak
Did my previous post with the actual error message post?  It never came 
through to me and I dont see it in my outgoing mailbox can anyone 
confirm it came through to the list?  Thanks,


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


Re: Very slow printing on 5.4 with cups anh HP LaserJet 4L

2005-06-15 Thread Paul Schmehl

--On Wednesday, June 15, 2005 12:56:19 +0300 [EMAIL PROTECTED] wrote:


I have a problem with very slow printing after replacing 4.1 instalation
with new 5.4 instalation (clean install, not upgrade). The printer is HP
4L, and i use it with up to date CUPS (all packages + gimp-print). With
both CUPS ang gimp-print drivers and default port settings the dokument
printing speed is about 8k each 1 minute (acording to CUPS web interface).
There are no error messages from the kernel. With hint.ppc.0.falgs=0x20
or 0x80 there is the same effect.

With hint.ppc.0.falgs=0x20, 0x40, 0x48 and 0x88 CUPS web interface
shows taht first 32k are sent instantly. Then 'Interrupt storm detected on
irq5: lpt0; throttling interrupt source' kernel error message apears and
the rest of the document prints slow, as in the first example.

I tried this with several standard and HP bidirectional cables. I also
tried all possible BIOS settings for the port.

The old 4.1 instalation prints without problems.

I had the exact same problem, except with a Deskjet 932C.  Someone on the 
list said man lptcontrol and set your printer to poll.


I used this command:
% lptcontrol -p -d /dev/lpt0
and it fixed my problem.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


df: root partition at 108% capacity! Can't find why...

2005-06-15 Thread SteveW

Hi All,

df: root partition at 108% capacity! Can't find why...

After searching google freebsd.org I am no nearing to figuring this 
out, other than this is a known problem. Either I or the system 
managed to get the root partition back to under 100% but only just... I 
have looked for any large files that might be taking up space but have 
yet to locate anything over 3meg.


Any suggestions, ideas, thoughts gratefully received.

Thanks,


Steve



INFO:
FreeBSD 4.7-RELEASE-p10 / 80gig drive

df was: /dev/ad0s1a   252M   250M -18.5M   108%

df now:
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad0s1a   252M   230M   1.8M99%/
/dev/ad0s1g29G   2.3G24G 9%/home
/dev/ad0s1f   3.0G   1.7G   1.0G62%/usr
/dev/ad0s1e   3.9G75M   3.5G 2%/var
procfs4.0K   4.0K 0B   100%/proc

After the cras dmesg was filled with this:
pid 8967 (cp), uid 0 on /: file system full
pid 8967 (cp), uid 0 on /: file system full



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


Re: df: root partition at 108% capacity! Can't find why...

2005-06-15 Thread Jorn Argelo

SteveW wrote:


Hi All,

df: root partition at 108% capacity! Can't find why...

After searching google freebsd.org I am no nearing to figuring this 
out, other than this is a known problem. Either I or the system 
managed to get the root partition back to under 100% but only just... 
I have looked for any large files that might be taking up space but 
have yet to locate anything over 3meg.


Any suggestions, ideas, thoughts gratefully received.

Thanks,


Steve



INFO:
FreeBSD 4.7-RELEASE-p10 / 80gig drive

df was: /dev/ad0s1a   252M   250M -18.5M   108%



There is always 5% of disk space on the root partition reserved for the 
super user (root). Which is why it shows up as 108% full when the 5% has 
been filled as well.


Cheers,

Jorn



df now:
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad0s1a   252M   230M   1.8M99%/
/dev/ad0s1g29G   2.3G24G 9%/home
/dev/ad0s1f   3.0G   1.7G   1.0G62%/usr
/dev/ad0s1e   3.9G75M   3.5G 2%/var
procfs4.0K   4.0K 0B   100%/proc

After the cras dmesg was filled with this:
pid 8967 (cp), uid 0 on /: file system full
pid 8967 (cp), uid 0 on /: file system full



___
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: df: root partition at 108% capacity! Can't find why...

2005-06-15 Thread Aaron Gibson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

SteveW wrote:
 Hi All,
 
 df: root partition at 108% capacity! Can't find why...
 
 After searching google freebsd.org I am no nearing to figuring this out,
 other than this is a known problem. Either I or the system managed to
 get the root partition back to under 100% but only just... I have looked
 for any large files that might be taking up space but have yet to locate
 anything over 3meg.
 
 Any suggestions, ideas, thoughts gratefully received.
 
 Thanks,
 
 
 Steve
 
 
 
 INFO:
 FreeBSD 4.7-RELEASE-p10 / 80gig drive
 
 df was: /dev/ad0s1a   252M   250M -18.5M   108%
 
 df now:
 FilesystemSize   Used  Avail Capacity  Mounted on
 /dev/ad0s1a   252M   230M   1.8M99%/
 /dev/ad0s1g29G   2.3G24G 9%/home
 /dev/ad0s1f   3.0G   1.7G   1.0G62%/usr
 /dev/ad0s1e   3.9G75M   3.5G 2%/var
 procfs4.0K   4.0K 0B   100%/proc
 
 After the cras dmesg was filled with this:
 pid 8967 (cp), uid 0 on /: file system full
 pid 8967 (cp), uid 0 on /: file system full
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

The filesystem reserves blocks for the superuser (consult manpage for newfs)

 -m free-space

The percentage of space reserved from normal users; the minimum free
space threshold.  The default value used is defined by MINFREE from
ufs/ffs/fs.h, currently 8%.  See tunefs(8) for more details on how to
set this option.


- --Aaron
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCsJ3pm1yLNDpKjl4RAkkYAKCEj6sFAv43mOPOd7sYnHnR2Dc5YACg8vu9
foObxS/qd6RHhTz5IijKyAo=
=xZDl
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: df: root partition at 108% capacity! Can't find why...

2005-06-15 Thread Matt Juszczak

df: root partition at 108% capacity! Can't find why...

After searching google freebsd.org I am no nearing to figuring this out,
other than this is a known problem. Either I or the system managed to
get the root partition back to under 100% but only just... I have looked
for any large files that might be taking up space but have yet to locate
anything over 3meg.

Any suggestions, ideas, thoughts gratefully received.



My understanding is that you want to know what is taking up the 108%, not 
why its at 108%


Have you tried utilizing du?  Maybe something in /root ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: df: root partition at 108% capacity! Can't find why...

2005-06-15 Thread John Brooks
check /tmp for files

run:

# cd /
# du -h -d2 | grep M

this will show the total amount of disk usage in MB for files in
directories 2 deep. you should be able to find the big ones from
that (you may have to drill down a tad)

--
John Brooks
[EMAIL PROTECTED]

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Aaron Gibson
 Sent: Wednesday, June 15, 2005 4:30 PM
 To: SteveW
 Cc: freebsd-questions@freebsd.org
 Subject: Re: df: root partition at 108% capacity! Can't find why...


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 SteveW wrote:
  Hi All,
 
  df: root partition at 108% capacity! Can't find why...
 
  After searching google freebsd.org I am no nearing to figuring this out,
  other than this is a known problem. Either I or the system managed to
  get the root partition back to under 100% but only just... I have looked
  for any large files that might be taking up space but have yet to locate
  anything over 3meg.
 
  Any suggestions, ideas, thoughts gratefully received.
 
  Thanks,
 
 
  Steve
 
 
 
  INFO:
  FreeBSD 4.7-RELEASE-p10 / 80gig drive
 
  df was: /dev/ad0s1a   252M   250M -18.5M   108%
 
  df now:
  FilesystemSize   Used  Avail Capacity  Mounted on
  /dev/ad0s1a   252M   230M   1.8M99%/
  /dev/ad0s1g29G   2.3G24G 9%/home
  /dev/ad0s1f   3.0G   1.7G   1.0G62%/usr
  /dev/ad0s1e   3.9G75M   3.5G 2%/var
  procfs4.0K   4.0K 0B   100%/proc
 
  After the cras dmesg was filled with this:
  pid 8967 (cp), uid 0 on /: file system full
  pid 8967 (cp), uid 0 on /: file system full
 
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 The filesystem reserves blocks for the superuser (consult manpage
 for newfs)

  -m free-space

 The percentage of space reserved from normal users; the minimum free
 space threshold.  The default value used is defined by MINFREE from
 ufs/ffs/fs.h, currently 8%.  See tunefs(8) for more details on how to
 set this option.


 - --Aaron
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.1 (MingW32)
 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

 iD8DBQFCsJ3pm1yLNDpKjl4RAkkYAKCEj6sFAv43mOPOd7sYnHnR2Dc5YACg8vu9
 foObxS/qd6RHhTz5IijKyAo=
 =xZDl
 -END PGP SIGNATURE-
 ___
 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: df: root partition at 108% capacity! Can't find why...

2005-06-15 Thread Philip Hallstrom

Hi All,

df: root partition at 108% capacity! Can't find why...

After searching google freebsd.org I am no nearing to figuring this out, 
other than this is a known problem. Either I or the system managed to get 
the root partition back to under 100% but only just... I have looked for any 
large files that might be taking up space but have yet to locate anything 
over 3meg.


Any suggestions, ideas, thoughts gratefully received.


cd /
du -hsx *

-h  Human-readable output.  Use unit suffixes: Byte, Kilobyte,
 Megabyte, Gigabyte, Terabyte and Petabyte

-s  Display an entry for each specified file.  (Equivalent to -d 0)

-x  File system mount points are not traversed.

Look for the largest directly, cd into that and repeat until you get down 
far enough to find the offender.


Works for me...

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


Re: Webmail Selection Setup Configuration

2005-06-15 Thread Bob Bomar
On Wed, Jun 15, 2005 at 12:06:07PM -0700, M. Goodell wrote:
 I am looking at setting up a webmail solution on my server and I would like 
 to ask a few  questions:
  
 1 - Where is a good starting point to read about configuring a webmail 
 system. I have looked into SquirellMail and actually installed it but I had 
 trouble with the IMAP server and security portions of it. I was not able to 
 get it running very well because need more information on the various parts 
 of the complete system.

Google is a great place to start.

  
 2 - Any highly recommended solutions? Horde / SquirellMail / others?

I use postfix, cyrus-imap, horde/IMP, and SpamAssassin, and it works
great.

  
 3 - Are there good *detailed* resources available that provide procedures on 
 how to set up a webmail system and the required / recommended components.

Google is the best start.  

This is pretty good:
http://www.bsdguides.org/guides/freebsd/mailserver/imp.php


-- 
Bob Bomar
[EMAIL PROTECTED]
-
FreeBSD: The Power to Serve
http://www.freebsd.org



pgp118XswCNIc.pgp
Description: PGP signature


Re: ThinkPad X30 installation problem

2005-06-15 Thread Bob Bomar
On Wed, Jun 15, 2005 at 09:24:30PM +0100, Iavor Raytchev wrote:
 I repeated the installation around dozen times
 installing FreeBSD on different places - before and
 after Windows XP Pro, within the first 1024, etc. In
 all cases the installation moves on successfully but
 then PartitionMagic reports between 1 and 3 errors -
 different LBA and CHS numbers somewhere, which it
 insists on fixing by applying the LBA number. If I
 allow PartitionMagic to fix them - the result is
 always  different. Sometimes everything is OK,
 sometimes it says 'backup all data and reformat the
 drive', which required full system reinstall (incl.
 Windows) and in some cases first I had to delete the
 FreeBSD partition with the DOS FDISK as PartitionMagic
 refused to do anything and the IBM system recovery
 refused to take off.
 
 Could anybody tell me what am I doing wrong? Is it
 wrong to use PartitionMagic in general after FreeBSD
 is installed or is it something else?

What is the purpose of using PartitionMagic after the
install?  Are you able to boot into FreeBSD and Windows?
If so, then I fail to see the problem, if not, then
what errors are you getting.

-- 
Bob Bomar
[EMAIL PROTECTED]
-
FreeBSD: The Power to Serve
http://www.freebsd.org



pgpoT8EMe4XwY.pgp
Description: PGP signature


RE: Buildworld problem?

2005-06-15 Thread Java Weenie





 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Java Weenie
 Sent: Tuesday, June 14, 2005 11:38 AM
 To: [EMAIL PROTECTED]
 Subject: Buildworld problem?


 I had a 4gig drive laying around that I wanted to use for a router, so I
 installed the latest (from about 1.5 weeks ago) from the 5.x
 distrubutions.
 I added ipfw/natd/dummynet to the kernel file and did a full buildworld,
 buildkernel.  I rebooted after install kernel, everything seemed
 normal, did
 install world/mergemaster, rebooted.  Right now, I have an 'ok'
 prompt, it
 appears after the 'Press enter to start booting immediately, or hit any
 other key to do something else' option and it states it cannot
 find kernel
 or kernel.old.

 My guesses are that either I got a really bad batch of sources, I
 performed
 a buildworld wrong (though I did double check my steps with the handbook
 first), or my hard drive picked a really unusual place to die.

 It is a new clean install so it wouldn't be a huge issue to
 reinstall, but
 if it is hardware, I will need to replace the drive before doing
 this again.

 Any thoughts on how to determine the problem?




From: John Brooks [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Java Weenie [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: Buildworld problem?
Date: Tue, 14 Jun 2005 12:17:15 -0500

run the hard drive diagnostics software of your hard drive manufacturer
to test the condition of your hard drive. it should be available from
their website. this should always be done on used drives being put back
into service.

--
John Brooks
[EMAIL PROTECTED]


After running the diagnostics, the drive reports no problems, though it 
still won't boot.  Playing around with sysinstall on a 5.4 cd, the partition 
editor shows my partitions, but the mount points are listed as *, not / and 
/usr.  Is there a way to reassign the mount points without wiping the drive?



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


RE: Buildworld problem? -Solved

2005-06-15 Thread Java Weenie


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Java Weenie
 Sent: Tuesday, June 14, 2005 11:38 AM
 To: [EMAIL PROTECTED]
 Subject: Buildworld problem?


 I had a 4gig drive laying around that I wanted to use for a router, so I
 installed the latest (from about 1.5 weeks ago) from the 5.x
 distrubutions.
 I added ipfw/natd/dummynet to the kernel file and did a full buildworld,
 buildkernel.  I rebooted after install kernel, everything seemed
 normal, did
 install world/mergemaster, rebooted.  Right now, I have an 'ok'
 prompt, it
 appears after the 'Press enter to start booting immediately, or hit any
 other key to do something else' option and it states it cannot
 find kernel
 or kernel.old.

 My guesses are that either I got a really bad batch of sources, I
 performed
 a buildworld wrong (though I did double check my steps with the handbook
 first), or my hard drive picked a really unusual place to die.

 It is a new clean install so it wouldn't be a huge issue to
 reinstall, but
 if it is hardware, I will need to replace the drive before doing
 this again.

 Any thoughts on how to determine the problem?



Using sysinstall's label editor, I was able to get my file system back.  I 
also found the source of the problem (I think): my cvsup file was set to 
grab RELENG_4, this is from a 5.x install cd.  I will be doing a new build 
world after a fresh cvsup.



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


Re: ThinkPad X30 installation problem

2005-06-15 Thread Iavor Raytchev
 What is the purpose of using PartitionMagic after
 the
 install?  Are you able to boot into FreeBSD and
 Windows?
 If so, then I fail to see the problem, if not, then
 what errors are you getting.

Hi Bob, thank you for your note.

There is no FreeBSD related purpose to use
PartitionMagic. I am in process of making FreeBSD the
primarily operating system to use, and as I should
keep Windows for certain cases, I am still trying to
figure out how much HDD will be needed for what. I
have no problem if I should not use PartitionMagic
after FreeBSD has been installed, I just need to know
if this is the case.

Yes, I can boot into both FreeBSD and Windows.

I can't recall the errors completely but the essence
of all of them is that certain sector (?) has
different LBA and CHS and that PartitionMagic has
determined that the LBA value is correct, so it wants
to fix it.

I can understand if PartitionMagic does not understand
FreeBSD partitions and this causes the problem. I can
assume that there might be something with that as
PartitionMagic can deal for example with ext2 and ext3
partitions, but not with FreeBSD partitions.

Is the rule of thumb on dual boot Windows XP/FreeBSD
systems - 'do not touch the partitions anymore' or?

Iavor





___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


XFree86 port broke for Matrox G550

2005-06-15 Thread Steve Friedrich
I just cvsupped and used portupgrade for XFree86.  I portupgraded imake first, 
then went thru each XFree86 component.

I've been using a XFConfig file, but when I got this error, I tried startx 
-autoconfig

When I startx, I get:

(EE) Failed to load module fbdev (module does not exist, 0)
Required symbol MGASetDisplayStart from module /usr/X11R6/lib/modules/drivers/mg
a_drv.o is unresolved!
Required symbol MGASetDisplayStart from module /usr/X11R6/lib/modules/drivers/mg
a_drv.o is unresolved!
Fatal server error:
Some required symbols were unresolved


Here's the context...

XFree86 Version 4.5.0
Release Date: 16 March 2005
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 4.11 i386 [ELF]
Current Operating System: FreeBSD lightning.StevenFriedrich.org 4.11-STABLE Free
BSD 4.11-STABLE #115: Wed J i386
Build Date: 15 June 2005
Changelog Date: 17 March 2005
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Command line: /usr/X11R6/bin/XFree86 :0 -nolisten tcp
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (EE) error, (WW) warning,
(II) informational, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/XFree86.0.log, Time: Wed Jun 15 18:52:18 2005
(EE) Unable to locate/open config file.
getconfig.pl: Version 1.0.
getconfig.pl: XFree86 Version: 4.5.0.0.
getconfig.pl: 24 built-in rules.
getconfig.pl: rules file '/usr/X11R6/lib/X11/getconfig/xfree86.cfg' has version
1.0.
getconfig.pl: 1 rule added from file '/usr/X11R6/lib/X11/getconfig/xfree86.cfg'.
getconfig.pl: Evaluated 25 rules with 0 errors.
getconfig.pl: Weight of result is 500.
(==) Using default built-in configuration (54 lines)
(EE) Failed to load module fbdev (module does not exist, 0)
Required symbol MGASetDisplayStart from module /usr/X11R6/lib/modules/drivers/mg
a_drv.o is unresolved!
Required symbol MGASetDisplayStart from module /usr/X11R6/lib/modules/drivers/mg
a_drv.o is unresolved!
Fatal server error:
Some required symbols were unresolved
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file /var/log/XFree86.0.log.
Please report problems to [EMAIL PROTECTED]
X connection to :0.0 broken (explicit kill or server shutdown).




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


GnuPG in the enterprise

2005-06-15 Thread Tony Shadwick
Are there any good documents out there on managing GnuPG in the 
enterprise?


There are basic issues I need to be able to address, such as a situation 
when an employee leaves a company.  The admin needs to have the rights to 
revoke that user's public key, and be able decrypt any old messages to 
that user, and be able to decrypt messages sent to that user that are now 
being redirected to someone else for handling.


Are there established mechanisms for handling centralized key management 
in a company to where the Administrator has access to everything required?

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


Re: SMP and networking under FreeBSD 5.3

2005-06-15 Thread Kris Kennaway
On Tue, Jun 14, 2005 at 09:15:01AM -0700, Joe wrote:
 Hello, 
 
 Not sure if this is the place to ask this.  But this is a
 freebsd question.
 
 I've been running FreeBSD since about 4.6.  I have 2
 machines running FreeBSD.  One is used as a router, its an SMP
 machine, and the other is used to build the source code.  
 
 I'm having a problem with the SMP machine.  When the machine
 boots, dmesg shows two messages, that the UP does not show.
 
 WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
 WARNING: MPSAFE network stack disabled, expect reduced
 performance.
 
In v52a I did not get these messages.  After doing some
 research, I understand that this has to do with the kernel
 locking.  
 
It seems that now my networking is not working on the SMP
 machine.  I know others have asked about this, and saw the
 release notes, about setting debug.mpsafenet=0, but my
 networking is still not working right.  

This does not indicate a bug.  Rather, the situation is *exactly the
same as it was in every previous version of FreeBSD* -- there was just
not point in mentioning the condition specifically because it applied
to every system.  If you remove IPSEC from your kernel (e.g. use
FAST_IPSEC instead), you will be able to benefit from improved SMP
performance relative to previous versions (actually, you should
upgrade to 5.4 which has much better performance than 5.3).

Also /dev/kmem and /dev/mem are missing so netstat -ar does
 not work either.  

You probably omitted them from your kernel.

Kris



pgpa0QcRQudz8.pgp
Description: PGP signature


Re: Webmail Selection Setup Configuration

2005-06-15 Thread Iavor Raytchev
 I am looking at setting up a webmail solution on
 my server and I would like to ask a few  questions:

...

 2 - Any highly recommended solutions? Horde /
 SquirellMail / others?

We use Squirrelmail for 2-3 years for 50+ domains and
500+ e-mail accounts and it behaves very well. There
are quite interesting plug-ins for Squirrelmail.

 3 - Are there good *detailed* resources available
 that provide procedures on how to set up a webmail
 system and the required / recommended components.

Squirrelmail has very nice IRC where you can ask
questions - see on the web site www.squirrelmail.org -
irc.freenode... and then #squirrelmail.

Iavor





___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ethernet driver underruns

2005-06-15 Thread Steve Friedrich
Sometimes I get:

dc0: TX underrun -- increasing TX threshold

Can I discover what it set the threshold to and configure it accordingly?




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


Re: Sudden need for a wireless card for 5.3

2005-06-15 Thread Nikolas Britton
On 6/14/05, Mike Meyer [EMAIL PROTECTED] wrote:
 I suddenly find myself in need of a wireless card for a 5.3 desktop box.
 
 Anyone want to recommend something?

PLANET WL-8310, $30:
http://www.newegg.com/Product/Product.asp?Item=N82E16833322201
http://www.planet.com.tw/news/productnews/WL-8310.htm

IIRC this was the cheapest WLAN card I could find that supported
FreeBSD's hostap mode. It's listed as having an Atheros chipset in the
Linux hostap WLAN list and IIRC I did some fact checking (think maybe
it was the FCC report) and it DID have a FreeBSD supported atheros
chipset. I was going to buy this card and test it but haven't got
around to it yet, this was back in the late fall of last year.

Otherwise you could look for a Prism2/2.5/3 chipset based card. Check
out the following man pages; ath, wi, and wlan.

If you want a grep'able' copy of the Linux wlan list (76K, ASCII text)
email me. I had to pull it in HTML form off the website (I can't
remember which site though?) and manually format it. it lists 5
things; company name, what wifi it supports i.g. 802.11b or 802.11a
etc., model number, interface type i.g. PC-Card, CardBus, PCI,
Mini-PCI, etc., and what chipset it uses.

I can post it here if you want but like I said earlier, it's 76KB's of
plain text.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sudden need for a wireless card for 5.3

2005-06-15 Thread Nikolas Britton
On 6/15/05, Nikolas Britton [EMAIL PROTECTED] wrote:
  
 If you want a grep'able' copy of the Linux wlan list (76K, ASCII text)
 email me. I had to pull it in HTML form off the website (I can't
 remember which site though?) and manually format it. it lists 5
 things; company name, what wifi it supports i.g. 802.11b or 802.11a
 etc., model number, interface type i.g. PC-Card, CardBus, PCI,
 Mini-PCI, etc., and what chipset it uses.
 
 I can post it here if you want but like I said earlier, it's 76KB's of
 plain text.
 

Sorry that was the wrong list. Also I uploaded the right one to my
website, it has 1379 entries:
http://www.nbritton.org/uploads/wlanlist_master
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ethernet driver underruns

2005-06-15 Thread Erik Trulsson
On Wed, Jun 15, 2005 at 07:32:08PM -0400, Steve Friedrich wrote:
 Sometimes I get:
 
 dc0: TX underrun -- increasing TX threshold
 
 Can I discover what it set the threshold to and configure it accordingly?

Only by looking at the sourcecode - and to change the default values
you will need to recompile the kernel.

Doing that is probably not worth the trouble, but if you really want to
do it see below.


The relevant constants are defined in /sys/pci/if_dcreg.h as follows:

#define DC_TXTHRESH_MIN 0x
#define DC_TXTHRESH_INC 0x4000
#define DC_TXTHRESH_MAX 0xC000


DC_TXTHRESH_MIN is the starting value for the threshold.
DC_TXTHRESH_INC is how much the threshold is increased each time you
see the message you quote, and DC_TXTHRESH_MAX is the maximum value the
threshold will be set to - after that the driver will use
store-and-forward mode instead.  A quick bit of arithmetic shows that
the threshold will be increased at most three times.  If a fourth
underrun occurs it goes directly to store-and-forward mode.

What all this actually means in practice is explained in the
Diagnostics section of the dc(4) manpage as follows:

   dc%d: TX underrun -- increasing TX threshold  The device generated a
   transmit underrun error while attempting to DMA and transmit a packet.
   This happens if the host is not able to DMA the packet data into the
   NIC's FIFO fast enough.  The driver will dynamically increase the trans-
   mit start threshold so that more data must be DMAed into the FIFO before
   the NIC will start transmitting it onto the wire.

   dc%d: TX underrun -- using store and forward mode  The device continued
   to generate transmit underruns even after all possible transmit start
   threshold settings had been tried, so the driver programmed the chip for
   store and forward mode.  In this mode, the NIC will not begin transmis-
   sion until the entire packet has been transfered into its FIFO memory.





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


jabberd

2005-06-15 Thread Doug Hardie
Has anyone succeeded in making mu-conference work with jabberd v2 on  
FreeBSD 5.x?  I can get jabberd working fine but it never seems to  
route anything to mu-conference.

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


pci slots and device drivers

2005-06-15 Thread Midnight Oil



Hello,


Is there a way to manually assign device drivers to PCI cards on an
x86 system with FreeBSD 4.11? I want to assign fxp0 to the nic card in the
first PCI slot, fxp1 to the second PCI slot, fxp2 to the third, etc.


 Is there any way to accomplish this?

 Thanks!


- Jamie







The Moon is Waxing Gibbous (61% of Full)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The perennial vfs.usermount query

2005-06-15 Thread Joe Altman
1)If this:

$: more /etc/sysctl.conf

# $FreeBSD: src/etc/sysctl.conf,v 1.8 2003/03/13 18:43:50 mux Exp $
#
#  This file is read when going to multi-user and its contents piped
# thru ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for
# details.
#
# Uncomment this to prevent users from seeing information about
#processes that are being run under another UID.
#security.bsd.see_other_uids=0

vfs.usermount=1

2)  And, -- after a reboot --, this:

$: sysctl -a | grep vfs.usermount
vfs.usermount: 0

Ergo, I get this:

cd9660: /dev/acd0: Operation not permitted 

When trying this:

mount -t cd9660 /dev/acd0 /usr/home/joe/mountpoint/

Then my question is: wtfoobar am I doing wrong?

Additional info:

$: more /etc/devfs.conf
snip
permacd00660
linkacd0cdrom

Speculating, I assume that the BUGS section of sysctl.conf(5) applies,
somehow.

NB: the page covering this in the FAQ at freebsd.org says run this:

sysctl -w vfs.usermount=1

The man page for sysctl on 5.4 says this:

COMPATIBILITY
 The -w option has been deprecated and is silently ignored.

Is the -w flag only for 4.x installations?

I'm pretty sure I'm going to see the answer to this as soon as I hit
send.

-- 
I don't care what you think. This is not a stylishly insouciant stroll
out of the jungle, here. It's more like we've fallen out of our trees
and rolled, butt-naked before the entire galaxy, downhill. That, and
we seem to have a teensy problem lifting ourselves off the ground.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GnuPG in the enterprise

2005-06-15 Thread Dan Nelson
In the last episode (Jun 15), Tony Shadwick said:
 Are there any good documents out there on managing GnuPG in the
 enterprise?
 
 There are basic issues I need to be able to address, such as a
 situation when an employee leaves a company.  The admin needs to have
 the rights to revoke that user's public key, and be able decrypt any
 old messages to that user, and be able to decrypt messages sent to
 that user that are now being redirected to someone else for handling.
 
 Are there established mechanisms for handling centralized key
 management in a company to where the Administrator has access to
 everything required?

One solution is to make a copy of all keys (with known passphrases)
when they are created, and put the copy in a secure location.  If an
employee leaves suddenly, you can retrieve the key to decrypt leftover
files and revoke the key.  Pgp.com's Windows PGP software uses special
Revoker keys and Additional Decryption keys that get added when files
are signed, so files are always encrypted to multiple recipients and
keys are always revokable even if the original key no longer exists. 
gpg doesn't recognize ADKs, though.

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


Fwd: KNop_Xconf

2005-06-15 Thread Everett Batey
Frustrated a week and a half later .. Mobo MSI KM3M-V KM266 most web
wisdom says it is really a KM400 or should be a KM333 and commonly called
a unichrome video device (PCI 1:0:0) ..

On FreeBSD 5.4 which comes with X.org http://X.org 6.8.2 .. using Device 
vga at least 
does not exit .. though NOT READABLE.

KNOPPIX 3.4 which creates the below XF86Config file works perfectly but no
Device section resembling ANY of the entries in FreeBSD's or FreeSBIE's 1.1
/usr/X11R6/.../Card file (Knoppix only device is fbdev) ..

The box runs fine in in Win2K Pro and Knoppix and X bombs with FreeBSD or
FreeSBIE .. Any way to use this mobo? / builtin video? / has anyone made it
work? Am I just plain hosed?

20 years of Berkeley Unix .. any hope to continue with this mobo?

Knoppix_3.4 / XFree86_4--- 

Section ServerLayout
Identifier XFree86 Configured
Screen 0 Screen0 0 0
InputDevice Keyboard0 CoreKeyboard
InputDevice PS/2 Mouse CorePointer
# Serial Mouse not detected
# USB Mouse not detected
EndSection

Section ServerFlags
Option AllowMouseOpenFail true

EndSection

Section Files
RgbPath /usr/X11R6/lib/X11/rgb
ModulePath /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/misc:unscaled
FontPath /usr/X11R6/lib/X11/fonts/misc
FontPath /usr/X11R6/lib/X11/fonts/75dpi:unscaled
FontPath /usr/X11R6/lib/X11/fonts/75dpi
FontPath /usr/X11R6/lib/X11/fonts/100dpi:unscaled
FontPath /usr/X11R6/lib/X11/fonts/100dpi
FontPath /usr/X11R6/lib/X11/fonts/Speedo
FontPath /usr/X11R6/lib/X11/fonts/PEX
# Additional fonts: Locale, Gimp, TTF...
FontPath /usr/X11R6/lib/X11/fonts/cyrillic
# FontPath /usr/X11R6/lib/X11/fonts/latin2/75dpi
# FontPath /usr/X11R6/lib/X11/fonts/latin2/100dpi
# True type and type1 fonts are also handled via xftlib, see 
/etc/X11/XftConfig!
FontPath /usr/X11R6/lib/X11/fonts/Type1
FontPath /usr/share/fonts/ttf/western
FontPath /usr/share/fonts/ttf/decoratives
FontPath /usr/share/fonts/truetype
FontPath /usr/share/fonts/truetype/openoffice
FontPath /usr/share/fonts/truetype/ttf-bitstream-vera
FontPath /usr/share/fonts/latex-ttf-fonts
FontPath /usr/X11R6/lib/X11/fonts/defoma/CID
FontPath /usr/X11R6/lib/X11/fonts/defoma/TrueType
EndSection

Section Module
Load ddc # ddc probing of monitor
Load GLcore
Load dbe
Load dri
Load extmod
Load glx
Load bitmap # bitmap-fonts
Load speedo
Load type1
Load freetype
Load record
EndSection

Section InputDevice
Identifier Keyboard0
Driver keyboard
Option CoreKeyboard
Option XkbRules xfree86
Option XkbModel pc105
Option XkbLayout us

EndSection

Section InputDevice
Identifier Serial Mouse
Driver mouse
Option Protocol Microsoft
Option Device /dev/ttyS0
Option Emulate3Buttons true
Option Emulate3Timeout 70
Option SendCoreEvents true
EndSection

Section InputDevice
Identifier PS/2 Mouse
Driver mouse
Option Protocol auto
Option ZAxisMapping 4 5
Option Device /dev/psaux
Option Emulate3Buttons true
Option Emulate3Timeout 70
Option SendCoreEvents true
EndSection

Section InputDevice
Identifier USB Mouse
Driver mouse
Option Device /dev/input/mice
Option SendCoreEvents true
Option Protocol IMPS/2
Option ZAxisMapping 4 5
Option Buttons 5
EndSection

# Auto-generated by KNOPPIX mkxf86config

Section Monitor
Identifier Monitor0
Option DPMS true
# HorizSync 28.0 - 78.0 # Warning: This may fry very old Monitors
HorizSync 28.0 - 96.0 # Warning: This may fry old Monitors
VertRefresh 50.0 - 75.0 # Very conservative. May flicker.
# VertRefresh 50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
# These are the DDC-probed settings reported by your monitor.
# 1280x1024, 75.0Hz; hfreq=79.98, vfreq=75.03
ModeLine 1280x1024 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync 
+vsync
# 1024x768, 75.0Hz; hfreq=60.02, vfreq=75.03
ModeLine 1024x768 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
# 1024x768, 70.0Hz; hfreq=56.48, vfreq=70.07
ModeLine 1024x768 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
# 1024x768, 60.0Hz; hfreq=48.36, vfreq=60.00
ModeLine 1024x768 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
# 800x600, 75.0Hz; hfreq=46.88, vfreq=75.00
ModeLine 800x600 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync
# 800x600, 72.0Hz; hfreq=48.08, vfreq=72.19
ModeLine 800x600 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync
# 800x600, 60.0Hz; hfreq=37.88, vfreq=60.32
ModeLine 800x600 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
# 800x600, 56.0Hz; hfreq=35.16, vfreq=56.25
ModeLine 800x600 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync
# 640x480, 75.0Hz; hfreq=37.50, vfreq=75.00
ModeLine 640x480 31.50 640 656 720 840 480 481 484 500 -hsync -vsync
# 640x480, 72.0Hz; hfreq=37.86, vfreq=72.81
ModeLine 640x480 31.50 640 656 696 816 480 481 484 504 -hsync -vsync
# 640x480, 60.0Hz; hfreq=31.47, vfreq=59.94
ModeLine 640x480 25.17 640 648 744 784 480 482 484 509 -hsync -vsync
# Extended modelines with GTF timings
# 640x480 @ 100.00 Hz (GTF) hsync: 50.90 kHz; pclk: 43.16 MHz
ModeLine 640x480 43.16 640 680 744 848 480 481 484 509 -HSync +Vsync
# 768x576 @