Re: My computer keeps crashing

2005-01-21 Thread cali
- Original Message - 
From: Chris [EMAIL PROTECTED]
To: cali [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Friday, January 21, 2005 12:14 AM
Subject: Re: My computer keeps crashing


cali wrote:
If this is the wrong mailing list, I apologise, suggestions to a more
appropriate mailing list will be appreciated.
Reasonably recently I upgraded my hardware to the following:
Soltek SL-NV400-64 Purple
Ray (Socket A) Motherboard
AMD Athlon Barton XP3200+
400FSB (Socket A) CPU - OEM
Asus DRW-0402P DVD-R/RW -
Retail
Adata 512MB DDR PC3200 CAS 2.5
Adata 512MB DDR PC3200 CAS 2.5
Zalman Flower CNPS6000-Cu
Silent Socket A CPU Cooler -
Antec Sonata Piano Black
Quiet Case - 380W TruePower
Silent PSU
Hyundai ImageQuest Q995 19''
Perfectly Flat CRT Monitor -
Black/Silver
Geforce FX 5200 graphics card
IBM 60GB HD
Western Digital 160GB HD
Sometimes when I run CPU intensive applications  the system will
crash at seemingly unpredictable times, I have to hard reset the machine 
as it
is completely unresponsive, I was running an experiment in console mode 
and it showed me the kernel panic:

kernel trap 9 with interrupts disabled
kernel trap 9 with interrupts disabled
Fatal trap 9: general protection fault while in kernel mode
instruction pointer = 0xed7c:0x0
stack pointer   = 0x10:0xe529ed88
frame pointer   = 0x10:0x0
code segment= base 0xcc084, limit 0xaaec, type 0x0
   = DPL 0, pres 0, def32 0, gran 0
processor eflags= IOPL = 0
current process = 533 (maximumcut)
trap number = 9
panic: general protection fault
Uptime: 5m27s
and another time:
kernel trap 9 with interrupts disabled
kernel trap 9 with interrupts disabled
Fatal trap 9: general protection fault while in kernel mode
instruction pointer = 0x9d7c:0x0
stack pointer= 0x10:0xe7509d88
frame pointer   = 0x10:0x0
code segment  = base 0x8c084, limit 0x74ec, type 0x0
  = DPL 0, pres 0, def 32 0, gran 0
processor eflags  = IOPL = 0
currrentprocess   = 593 (maximumcut)
trap number = 9
panic: general protection fault
Uptime: 16m7s
I copied this manually so hopefully I copied it correctly.
I think the problem might be due to my bios settings running the CPU to 
fast although I do not think I am overclocking it. This might explain the 
strange timing of the problem, maybe the motherboard is unstable.

here is my dmesg:
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-STABLE #5: Thu Jan 13 12:34:13 GMT 2005
   XX:/usr/obj/usr/src/sys/GENERIC
mptable_probe: MP Config Table has bad signature: Mous
ACPI APIC Table: Nvidia AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 3200+ (2205.01-MHz 686-class CPU)
 Origin = AuthenticAMD  Id = 0x6a0  Stepping = 0
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE 
AMD Features=0xc040AMIE,DSP,3DNow!
real memory  = 1073676288 (1023 MB)
avail memory = 1036918784 (988 MB)
ioapic0 Version 1.1 irqs 0-23 on motherboard
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: Nvidia AWRDACPI on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
acpi_tz0: Thermal Zone on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: memory, RAM at device 0.1 (no driver attached)
pci0: memory, RAM at device 0.2 (no driver attached)
pci0: memory, RAM at device 0.3 (no driver attached)
pci0: memory, RAM at device 0.4 (no driver attached)
pci0: memory, RAM at device 0.5 (no driver attached)
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 1.1 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xdb002000-0xdb002fff irq 22 
at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: OHCI (generic) USB controller mem 0xdb003000-0xdb003fff irq 21 
at device 2.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: OHCI (generic) USB controller on ohci1
usb1: USB revision 1.0
uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci0: serial bus, USB at device 2.2 (no driver attached)
pci0: multimedia, audio at device 6.0 (no driver attached)
pcib1: ACPI PCI-PCI bridge at device 8.0 on pci0
pci1: ACPI PCI bus on pcib1

RE: Strange problem with DSL modem.

2005-01-21 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Jason Osgerby
 Sent: Friday, January 21, 2005 12:00 AM
 To: FreeBSD Questions
 Subject: RE: Strange problem with DSL modem.


 Hi Ted,

 I enjoyed reading your email. Made me laugh, aside from
 realizing that I have a shitty DSL modem! Ah well.

 You wrote: You haven't said exactly how your DSL connection
 is setup. Is this PPPoA or what? Nor how your DSL modem is
 configured. We need to know that before helping.

 It was initially set to PPPoA after the auto setup process was
 run. Later, when I was playing around with it trying to make
 it work with FreeBSD, I changed it over to PPPoE. But it
 didn't make any difference, not that I really expected it to.
 I was just grabbing at straws. How is it configured? Well,
 what exact information do you need? I will be MORE than happy
 to provide any details that I can. Right now it is simply
 connected to the computer through the ethernet card. I haven't
 changed any of the settings from the default, apart from
 making the machine's IP the DMZ box to get around the
 firewall. Even that didn't make any difference. It is still
 timing out the fetch requests--which seems to be attempting to
 operate over HTTP--although it has no problems pinging
 anybody. This is a very bizarre problem. The DSL modem is
 already running the latest firmware, because I upgraded it as
 soon as I got the DSL up and running.


OK, here's what I would advise you to do.

First of all, don't use the NAT in the DSL modem.  It's not a
very good NAT and there's several advantages to having a public
IP address on your FreeBSD system.

To do this you need to set the DSL modem into transparent
bridging.  Go to http://192.168.0.1 and click on setup-advanced
setup-begin advanced setup.  The first page is informative,
click next, the next page select Transparent Bridging, click
Next.  Keep clicking Next until you get to DHCP server, set this
OFF, then click next a few more times till you get to NAT, turn
that OFF also (very important!)  Keep clicking Next until you
get to Save and Restart, click that, the modem will reboot and
become a pure bridge.

Don't pick and choose the options in the modem setup on the
left hand side, use the Advanced Setup wizard as detailed above!
click next on ALL the screens even though most of them you won't be
changing setup.  Don't try to get smart and jump ahead by clicking
save and restart on the bottom left before going through all
the screens!

MAKE SURE NAT IS OFF the ActionTec is so stupid that even in
bridged mode if nat is on, it will still try natting the
packets!  Same with dhcp server.

Even in pure bridged mode the actiontec still retains a mac
access and and ip address of 192.168.0.1

You should do all this with Internet Explorer under your XP system
as the ActionTec's internal webserver is unpredictable with
different web browsers.  It is also unpredictable with older
versions of Internet Explorer, it's easy to get into states where
it looks in the browser like you have configured it but when you
click save and restart, the modem configuration doesen't actually
change.

Next, you need to setup PPP on your FreeBSD system per the
following:

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

Qwest.net and MSN use PPPoA which PPPoE for your purposes is essentially
the same thing, the difference being one's over ATM the other's over
Ethernet.

An equivalent under XP would be to setup pppoe on xp, or
winpoet on a lesser windows.

Ted

 Thanks,

 Jason.


 Ted Mittelstaedt [EMAIL PROTECTED] wrote:
 Hi Jason,

 I work for an ISP which is a Qwest Megahost and have dealt
 plenty with these and several other brands of modems on the
 Qwest network. I have dealt with the ActionTec people as
 well, and documented a number of bugs in earlier version of
 firmware for these modems, some of which have been fixed,
 others which haven't.

 You haven't said exactly how your DSL connection is setup.
 Is this PPPoA or what? Nor how your DSL modem is configured.
 We need to know that before helping.

 You should also know that the ISP I work at DOES NOT recommend
 or specify the ActionTec DSL modem for any corporate or business
 customers of ours - in short, not for any customer of ours
 who gives more than a fig about a reliable DSL connection. Frankly
 it is a shame - Qwest has dumped millions of dollars on pretty
 good back-end DSLAMs and such only to crap up their DSL network
 with those CPEs.

 The ActionTec is fine for the typical garden-variety home user
 who is so retarded that they refuse to run antivirus software
 because it's too expensive, and they refuse to regularly update
 their Windows system so it doesen't get stuffed full of viruses,
 and has a chip on their shoulder the size of Manhattan because
 someone dared to tell them they might actually, no God no
 I can barely say it - they might actually have to PAY A SLIGHT
 BIT OF REAL MONEY for a DSL 

Re: My computer keeps crashing

2005-01-21 Thread cali
This sure smells like a hardware problem.
I think the problem might be due to my bios settings running the CPU to 
fast although I do not think I am overclocking it. This might explain the 
strange timing of the problem, maybe the motherboard is unstable.
If you are not explicitly overclocking, the BIOS should be smart enough to 
run the cpu at or below its rated speed.
Time to start checking the hardware. Here is what I would do. Check for 
stability after each step.
1. Wiggle  Giggle: Reseat all cables, cards and RAM. Inspect CPU cooling.
My Zalman cooler has an adjustable speed, at the moment it is on low, so I 
can turn this up to test it, I can also take off the side panel and so on. 
If I can get the CPU temperature monitor working then I can find out 
whereabouts it becomes unstable.

2. Turn off ACPI in BIOS. (someone correct me if I am crazy, I recall ACPI 
being problematic) Look for other weirdo BIOS settings.
I don't think it is ACPI, I've had ACPI problems before but they always 
occurred only when booting from a freebsd installation. But I don't know 
enough about ACPI in FreeBSD to rule it out however.

3. Underclock CPU. (I did once get a bum CPU that was not stable at its 
rated speed and produced similar problems. Unlikely, but possible.)
As mentioned in another reply, I ran the program on underclocked CPU last 
night and it is still running whereas with the CPU on its rated speed 
crashing was happening quite fast. I think the temperature hypothesis seems 
intuitively most reasonable and is the one I will test first. Of course, 
running the CPU at it's rated speed will presumably draw more voltage, this 
could then have compilated affects on other components, or could cause a PSU 
problem to manifest, I don't know but it seems like a reasonable hypothesis.

4. Swap in new RAM or run memtest86
5. Get rid of all peripherals, re-attach one at a time if this clears it 
up

6. Swap in new power supply (with that nice Antec this is unlikely... but 
not impossible... and a bad PSU can cause all KINDS of weirdness.)
I'm going to try temperature first, but if that doesn't work, I'll try as 
many of these other things as I can.

Thanks
cali 

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


300GIG SATA drives

2005-01-21 Thread Justin L. Boss
Is anyone having problems with SATA drives? I keep getting DMA errors that 
lock up the system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 300GIG SATA drives

2005-01-21 Thread Davide D'Amico
Is anyone having problems with SATA drives? I keep getting DMA errors that 
Could u provide more informations?
I have a SATA raid-1 (160gb disks) on a cheap ataraid controller 
(builtin in an asus a7v880 mobo): no problem at all.

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


Re: 300GIG SATA drives

2005-01-21 Thread Peter Risdon
On Fri, 2005-01-21 at 02:42 -0600, Justin L. Boss wrote:
 Is anyone having problems with SATA drives? I keep getting DMA errors that 
 lock up the system.

Assuming you are using FreeBSD 5.x then yes, this is a known problem,
there has been some traffic about this issue on this list in recent
months. I filed a pr about a specific case of this a few weeks ago but
it doesn't seem to have progressed.

I have to say I think it is a major problem. It's becoming increasingly
difficult to build FreeBSD machines with up to date commodity PC
motherboards and large storage drives. SATA drives above about 200GB
often seem to suffer from this bug under 5.x, so you need 4.x, which
doesn't work with all up-to-date motherboards. So what do you do?

Peter.

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


Re: Hardware RAID

2005-01-21 Thread Stijn Hoop
On Thu, Jan 20, 2005 at 05:22:36AM -0800, Sandy Rutherford wrote:
  On Wed, 19 Jan 2005 22:57:21 -0800, 
  Ted Mittelstaedt [EMAIL PROTECTED] said:
 
 This did teach me a lesson that I kind of knew already but
   didn't think too much about.  That is, a software array is no substitute
   for a hardware array.  ...

I respectfully disagree here; it is a substitute in some respects,
especially if you factor in cost.

My vinum volumes allowed me to survive for a long time without backups
(bad idea, don't do that), and for the past years have allowed me to
survive without having to restore my backups. This through about 5
failing ATA disks and multiple upgrades of the storage space.

I'd say it was worth it for me, including reliability.

If you need speed, or have the cash, etc, you can go for hardware
RAID.  But even there I've seen and heard horror stories of
incompatible disks, spontaneously lost configurations or even worse,
silent data corruption due to a bad disk.

I've setup a gvinum mirrored system also, and tried booting it without
one of the disks -- you don't need geom_vinum for that so it *is* self
sufficient in case of failures.

As always, choose the tool that's of best use to you.

--Stijn

-- 
An adult is a child who has more ethics and morals, that's all.
-- Shigeru Miyamoto


pgpb01sgQ9cNh.pgp
Description: PGP signature


Mylex AcceleRAID 352 utilities

2005-01-21 Thread Krok
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello.
Does anybody know, how can I administrate Mylex AcceleRAID 352 from
FreeBSD 5.2.1 ?
I've tried software from lsilogic - linux-gam (sam), but it's fails with
following error :
# ./gam
sh: wine: command not found
even with wine installed
The problem is that RAID-5 container is critical and I don't want to
reboot server...
- --
With best regards,
Krok
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)
iD8DBQFB8Mp/sXuomovtlAARAsadAJ9VAhXlcrQYnnh0MuhaSaL4m4boswCeN3vP
HhJTZ8GRxuhHJQAGB7xnc+s=
=9as1
-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]


courier-imap install from ports *fails*

2005-01-21 Thread Colin J. Raven
Good morning all,

In attempting to install courier-imap 4.0.1,1 from ports it unexpectedly 
failed.

This is after portupgrade attempts from version 3.0.8,1 blew up, so 
after several attempts I gave up and deinstalled it, thinking that 
starting over from scratch might be a better idea.


configure: error: authlib configuration error - /usr/local/sbin/courierlogger 
not found
===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach 
the /usr/ports/mail/courier-imap/work/courier-imap-4.0.1/config.log 
including
the output of the failure of your make command. Also, it might be a good 
idea to provide an overview of all packages installed on your system 
(e.g. an `ls /var/db/pkg`).
*** Error code 1

Clearly there are instructions there as to the next action to take, but 
has anyone else experienced this *and* perhaps knows how to fix the 
issue? (worth a try methinks)

Regards,
-Colin
--
Colin J. Raven
FreeBSD 5.3-RELEASE - http://www.FreeBSD.org - There can be only One
Fri Jan 21 10:24:00 CET 2005
10:24AM  up 23:14, 3 users, load averages: 0.00, 0.00, 0.00
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: My computer keeps crashing

2005-01-21 Thread cali
Sometimes when I run CPU intensive applications  the system will
crash at seemingly unpredictable times, I have to hard reset the  machine 
as it
is completely unresponsive, I was running an experiment in console  mode 
and it showed me the kernel panic:

With those uptimes I would say your heat sink and fan(hsf) is to blame. 
The old idea about amds running hot is kind of crap, any cpu will run  hot 
if not installed correctly or overclocked.  You got that white  stuff 
between the cpu and hsf?
I think I recall putting the white stuff in.
I checked your hsf on the net and in silent mode it does not support  your 
cpu speed, though it does in normal higher speed fan mode.  If you  have 
the fan make sure to keep it in normal mode or it may bake your  cpu! 
http://www.zalman.co.kr/eng/product/view.asp?idx=33code=005009010
Damn! I should have researched this properly when I bought the heatsink. 
Thanks for that information, I'm lucky that you noticed this.

Try this command several times after you boot.  Then after you boot  your 
box do it while under load.

sysctl -a|grep thermal

That will tell you your cpu temp, you'll need acpi on.  If you did not  put 
the hsf on right it will go up and you get problems like after 5  minutes 
or less.  I set my bios heat alarm to go off and set a shutdown  temp too. 
You might want to check that stuff out in your bios too.  Go  to amd.com 
and get that pdf on how to install the hsf, I made a mistake  a month ago 
when I was switching out cpus and that was my problem.

Everything else looks good, but do you have some case fans?
OK, I think I had better invest in some, or some better cooling.
I moved a  120mm fan over near my cpu and my 100% load temp while folding 
droped  about 10C.  I am overclocked and it was maxing out at about 58C or 
less.  Now it hardly hits 50C, usaully 48C but it might go down to 45C  if 
it is cool in my room.  I wonder how it will do in the summer? :)
I used that sysctl command you suggested above and it says 55C-55.5C -- this 
is for when running underclocked.

I rebooted, put the CPU speed back to normal, left the fan on its 
dangerously low setting and then ran the program again, whilst checking the 
cpu temperature every second with:

while [ 1 ]; do sysctl -a | grep thermal; sleep 1; done
I observed the CPU temperature rise from a base of 50C at an approximately 
steady rate (I should have taken periodic readings too then I could have 
made a graph or something). It slowed down at about 57C (having took about 
3-4 minutes to get there) or so but carried on rising, 
58C...58.5C...59C...59.5C... kernel trap 11m33s (unfortunately I was setting 
up another process to run on another console so I never saw the final 
temperature).

This was with CPU thermal throttling enabled and set to 50% in my bios 
(although I'm not sure at which temperature it enables as it doesn't seem to 
say)

I turned the fan up to max, rebooted and ran the program again. The 
temperature seemed to stabilise around 52C.

Given this information I think it is highly likely that the temperature 
hypothesis is correct, and the reason for the crashing.

Thanks
cali 

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


Re: Plugin for onlinestreaming music

2005-01-21 Thread Huynh Van Chung
Hi Nguyen Le Hinh. 

What brower you are using now? 

I use mozilla and i can't hear too. In mplayer_plugin it get no thing, and in 
plugger it get error message below.

Plugger: No appropriate application for type text/html found!

In that page's source code, I see this code. 
object name='hat' width=300 height=70embed  type='application/x-mplayer2' 
pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/'
 controls='controlpanel' width=300 height=70 
src='index.php?act=listenid=625ntaz=EEZXHANETW' autostart='true' 
showstatusbar='true' ShowControls='true' loop='false' name='hat'/embed 
/object

It should have the real wmv file in src tag, just a think.

PS: I run on  FreeBSD5.3-p5(i386) with mozilla 1.7.2 and newest cvsup mplayer, 
plugins. 

On Fri, 21 Jan 2005 14:53:26 +0900
Nguyen Le Hinh [EMAIL PROTECTED] wrote:

  Hi alls,
   Can anyone hear the  online streaming music from this website:
  
 http://www.nhatrangngaynay.net/music/index.php?act=viewcode=songssid=12id=625
  I installed both mplayer plugin and plugger but still not be able to
 hear it.Any ideas for it?
 Thanks,
 Ps :The above address will be ok with windows...
 ___
 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: I do not understand kernel modules

2005-01-21 Thread Ramiro Aceves
Jorn Argelo wrote:
On Thu, 20 Jan 2005 13:38:54 +0100, Ramiro Aceves wrote
Hello friends.
I am a FreeBSD newbie, I am going to ask you a question that I have not
been able to solve reading the manual. I am using 5.3 release. I have
compiled a custom kernel in my old pentium 75 MHz machine to include 
the driver for my sound card. I added the following lines to the kernel
config file

device sound
device snd_es137x
and compiled the kernel perfectly. (long time ;-)  )
But there is something that I do not understand well. When I look at 
the contents of /boot/kernel/ directory, I found that there are 
kernel sound modules *.ko for every sound card the kernel supports. 
Should not there be my sound card module alone? Does It mean that 
you have to compile all the stuff, even if you are going to use only 
one kind of sound card? Am I missing something?

Your sound card has been build into the kernel itself (which is /boot/kernel/
kernel AFAIK). The *.ko are kernel modules, which you can load using the 
kldload command. So in case you get a new sound card, find out what driver it 
supports and you can use kldload yourdriver.ko to get support for your sound 
card without recompiling your kernel.

Yes, I understand now. The problem is that my old pentium machine takes 
very long time to compile all the modules even if I am not going to use 
them. I would like to compile only the modules I use, to reduce 
compiling time. Is that possible?


Thanks


Cheers,
Jorn
___
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: I do not understand kernel modules

2005-01-21 Thread Dominique Goncalves
Hello,

You can use this options :
NO_MODULES=true# do not build modules with the kernel
MODULES_WITH_WORLD=true# do not build modules when building kernel

in your /etc/make.conf, read /usr/share/examples/etc/make.conf for more options.

Regards.

On Fri, 21 Jan 2005 00:55:32 +0100, Ramiro Aceves [EMAIL PROTECTED] wrote:
 Jorn Argelo wrote:
  On Thu, 20 Jan 2005 13:38:54 +0100, Ramiro Aceves wrote
 
 Hello friends.
 
 I am a FreeBSD newbie, I am going to ask you a question that I have not
 been able to solve reading the manual. I am using 5.3 release. I have
 compiled a custom kernel in my old pentium 75 MHz machine to include
 the driver for my sound card. I added the following lines to the kernel
 config file
 
 device sound
 device snd_es137x
 
 and compiled the kernel perfectly. (long time ;-)  )
 
 But there is something that I do not understand well. When I look at
 the contents of /boot/kernel/ directory, I found that there are
 kernel sound modules *.ko for every sound card the kernel supports.
 Should not there be my sound card module alone? Does It mean that
 you have to compile all the stuff, even if you are going to use only
 one kind of sound card? Am I missing something?
 
 
  Your sound card has been build into the kernel itself (which is 
  /boot/kernel/
  kernel AFAIK). The *.ko are kernel modules, which you can load using the
  kldload command. So in case you get a new sound card, find out what driver 
  it
  supports and you can use kldload yourdriver.ko to get support for your 
  sound
  card without recompiling your kernel.
 
 
 Yes, I understand now. The problem is that my old pentium machine takes
 very long time to compile all the modules even if I am not going to use
 them. I would like to compile only the modules I use, to reduce
 compiling time. Is that possible?
 
 Thanks
 
 
 
  Cheers,
 
  Jorn
  ___
  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]
 


-- 
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD I LOVE YOU

2005-01-21 Thread David Gerard
Matthias Buelow ([EMAIL PROTECTED]) [050121 17:21]:
 David Gerard wrote:
 
 So something around 500MHz will happily run Pango and the other
 cutting-edge internationalisation stuff if you fill it with memory.
 
 My experience is that with a 500Mhz Pentium 3 (512K cache, 512mb RAM, 
 Matrox G450 AGP graphics), Gnome (2.6 tested) is unbearably slow.  A 
 large factor here is the Xft font rendering (Ok, you could use xterm 
 instead of gnome-terminal, or switch off antialiasing), which is 
 unaccelerated (at least was then), and _brutally_ slow.  If you run 
 something with copious output in gnome-terminal, it'll more or less lock 
 up the entire machine.  I don't normally use Gnome, but evaluated it on 
 that old machine for some reason that is of no interest here.  KDE is a 
 bit faster, don't know why, but seems to use more RAM.  IMHO you need at 
 least a 2.8 or 3GHz P-IV for that kind of desktop to get things to run 
 well, and, in my experience, raw CPU power here is the dominating 
 factor.


Hrmmm. OK, I was guessing on GNOME.

I have read that pango is grossly CPU-hungry, but that the project is
keenly aware of the problem. (But refuses to do the easy thing of special
optimisation for ISO-8859-1, specifically so that the international stuff
will actually get attention.) And that this is the big problem with Gnome
terminal.


  Of course these machines are still perfectly usable with 
 windowmaker, or fvwm, or similar.


That's why the underpowered Debian laptop uses twm with programs launched
from an xterm ;-)


- d.



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


running from PREFIX directory question

2005-01-21 Thread Michael C. Shultz
Is there a way to get a program located in a PREFIX directory to load 
shared libraries also in a PREFIX directory when the same libraries
exist in /usr/local/lib?

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


Spontaneous reboot problem

2005-01-21 Thread R D L Smith
I have a teramac R310-1U from DNUK running 5.3-RELEASE-p1. It is the  
only server I have running 5.x. ISTR that the SiS chip set prevented me  
loading 4.x.

The uptime of this server is good unless its under heavy load. When  
MySQL (with InnoDB) is being worked hard, the server will reboot after  
a few hours. However, build world will not crash it.

I have added the following to rc.conf:
dumpdev=/dev/ad0s1b
and the following to the kernel configuration file:
makeoptions DEBUG=-g
options KDB
options PANIC_REBOOT_WAIT_TIME=-1
I have also connected a serial console to the serial port and logged in  
as root.

I never get a dump file and I never get a message at the console. I  
don't know what else I can do other than strike this hardware vendor  
off my list and dump the server. This machine has already had its  
motherboard replaced.

Any clue would be appreciated.
Many thanks,
Richard
Output from dmesg follows...
[EMAIL PROTECTED]:~ % dmesg
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights  
reserved.
FreeBSD 5.3-RELEASE-p1 #1: Wed Dec  8 17:39:58 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2813.53-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf25  Stepping = 5
   
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE 
,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 1006567424 (959 MB)
avail memory = 975388672 (930 MB)
ACPI APIC Table: GBTAWRDACPI
ioapic0: Changing APIC ID to 2
ioapic0 Version 1.4 irqs 0-23 on motherboard
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: GBT AWRDACPI on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU (3 Cx states) on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port  
0x1400-0x147f,0x1080-0x10ff,0x1000-0x107f,0x480-0x48f,0xcf8-0xcff on  
acpi0
pci0: ACPI PCI bus on pcib0
agp0: SiS 661 host to AGP bridge mem 0xe800-0xebff at device  
0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 2.0 on pci0
isa0: ISA bus on isab0
atapci0: SiS 962/963 UDMA133 controller port  
0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.5 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
ohci0: SiS 5571 USB controller mem 0xed103000-0xed103fff irq 20 at  
device 3.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SiS 5571 USB controller on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: SiS 5571 USB controller mem 0xed10-0xed100fff irq 21 at  
device 3.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SiS 5571 USB controller on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci0: serial bus, USB at device 3.3 (no driver attached)
rl0: RealTek 8139 10/100BaseTX port 0xec00-0xecff mem  
0xed104000-0xed1040ff irq 16 at device 15.0 on pci0
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0d:61:36:14:cf
fdc0: floppy drive controller port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on  
acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on  
acpi0
sio0: type 16550A
sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: ECP parallel printer port port 0x778-0x77b,0x378-0x37f irq 7  
drq 3 on acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
orm0: ISA Option ROM at iomem 0xc-0xc7fff on isa0
pmtimer0 on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on  
isa0
Timecounter TSC frequency 2813530300 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 117243MB Maxtor 6Y120L0/YAR41BW0 [238209/16/63] at ata0-master  
UDMA133
acd0: CDROM QSI CD-ROM SCR-242/CXAC at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly 

nForce4-SLI, PCIe, ATI X600 supported by FreeBSD 5.3?

2005-01-21 Thread O. Hartmann
Hello.
I would like to know whether this hardware combination is supported by 
FreeBSD 5.3-STABLE:

Mainboard: ASUS A8N-SLI or GigaByte K8NXP-SLI with ATHLON 64/Winchester 
(2.0Ghz)
SATA harddrive
ATI Radeon X600/Pro based PCIe(!) graphics board

Especially the GBit NIC should be supported (
# Marvell 8053 Gigabit Ethernet controller
# CICADA8201 Gigabit LAN PHY chip)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Spontaneous reboot problem

2005-01-21 Thread Colin J. Raven
On Jan 21 at 11:36, R D L Smith asked the panel:

 I have a teramac R310-1U from DNUK running 5.3-RELEASE-p1. It is the only 
 server I have running 5.x. ISTR that the SiS chip set prevented me loading 
 4.x.

 The uptime of this server is good unless its under heavy load. When MySQL 
 (with InnoDB) is being worked hard, the server will reboot after a few hours. 
 However, build world will not crash it.

 I have added the following to rc.conf:

 dumpdev=/dev/ad0s1b

 and the following to the kernel configuration file:

 makeoptions DEBUG=-g
 options KDB
 options PANIC_REBOOT_WAIT_TIME=-1

 I have also connected a serial console to the serial port and logged in as 
 root.

 I never get a dump file and I never get a message at the console. I don't 
 know what else I can do other than strike this hardware vendor off my list 
 and dump the server. This machine has already had its motherboard replaced.

What about the power supply?

There has been quite a lot of traffic of late concerning so-called 
spontaneous reboots and so far - *IIRC* - none of the incidents 
were directly attributed to causes _other than_ balky power spupplies, 
and in one recent case interestingly, a defective UPS!!

I think it's probably worth shoving a new PS in there, these days they 
are far from expensive, in order to see if that eliminates further 
instances of the problem.

I suppose much depends on whether or not you really want to -as you put 
it - 'dump the server'. Should you elect to do so, please feel free to 
ship it across the North Sea to me, I'll be happy to pay for the 
shipping, deal with its little idiosyncracies and give it a second 
life :-)

Regards  HTH,
-Colin
--
Colin J. Raven
FreeBSD 5.3-RELEASE - http://www.FreeBSD.org - There can be only One
Fri Jan 21 12:56:00 CET 2005
12:56PM  up 1 day,  1:46, 5 users, load averages: 2.08, 1.71, 1.06
http://www.kozy-kabin.nl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD I LOVE YOU

2005-01-21 Thread Matthias Buelow
David Gerard wrote:
My experience is that with a 500Mhz Pentium 3 (512K cache, 512mb RAM, 
Matrox G450 AGP graphics), Gnome (2.6 tested) is unbearably slow.  A 
I have read that pango is grossly CPU-hungry, but that the project is
keenly aware of the problem. (But refuses to do the easy thing of special
I never understood why they couldn't use pre-rendered glyphs when the 
background is a uniform white, or sth. like that.  Anyways.  Compare it 
with Quake3, which ran very well on the above hardware.  Just to see in 
what ballpark today's modern desktops are, when apparently they don't 
seem to do much, they do in fact burn CPU cycles like hell.  Of course 
Q3 is hardware accelerated, but still.

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


Re: FreeBSD I LOVE YOU

2005-01-21 Thread Xian
 Overite it with randomness

so dd if=/dev/random of=/dev/drive would do the trick?

-- 
/Xian

Technological progress is like an axe in the hands of a pathological 
criminal.
Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xmms FreeBSD and buzzing or skipping sound

2005-01-21 Thread Grégory Nou
Jason Henson a écrit :
On 01/20/05 20:57:12, Derek wrote:
Collin McClendon wrote:
I've noticed for quite some time (at least on 5.x even before - 
CURRENT) that if I'm unzipping or tarring a file that it is enough  
to make xmms play mp3s with intermittent buzzing. I have a fairly  
fast machine, dual athlon 1.53 Ghz with 1 GB of ram and a fully 
scsi  setup, 4 10K maxtors in a Raid 0 stripe set.

Did you ever find a solution to this Collin?
I've got a 5.3-STABLE SMP machine, with a promise RAID controller,
RAID1, with snd_emu10k1.ko, and I get the same results...  Re-nicing
xmms doesn't help either...
Cheers,
Derek
Could this be a problem of resource hoging on the pci bus?  Are the  
devices on different irqs?

I just tried it without problem, but it was a small file.  I have a  
single 2ghz athlon with builtin audio and a single ide drive.
I have this problem too.
It happens with any mp3 player or listening to an icecast stream, but 
not with mplayer when looking at a divx. I looked at the irqs, and have 
uhci2 and my pcm0 on the same irq. However, this problems occurs only 
after 3 or 4 hours of uptime, generally.
Should I try to change my irqs ? and if positive, how do I do this ? in 
the bios ? (note : I have also uhci1 on the same irq than vr0, and it 
makes my computer crash at the end of the shutdown, when using the GDM 
to shutdown)


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


Ethernet bridge/tunneling with tap/tun

2005-01-21 Thread Andreas Davour
I've been reading the handbook, the man pages and been trying to do some 
inventive maneuvers. I don't work.

So, I have the bridge module loaded, I have the if_tap module loaded. I 
have activated the tap/tun device with 'cat /dev/tap0 |tun0'.

How do I set up the bridge? I've read the manpage for ifconfig and 
tried a few times to bridge from my rl0 interface to some of the tap/tun 
devices. I get some different error messages, but mostly it complains 
that I use the wrong arguments.

I think I have misunderstood how these ethernet bridges work.
Are there anyone out there that have a webpage, or some other 
documentation of a working example of ethernet tunneling? Google finds 
me some linux stuff I don't find applicable.

The big idea with all this is to get my simulated VAX to bridge its
interface to my physical rl0 via tap0. But how?
If nobody have any documentation to suggest, then I guess I'll have to 
do a step by step example of what goes wrong and hope someone can debug 
that.

Thankful for any pointers in the correct direction.
/andreas
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hardware RAID

2005-01-21 Thread Bart Silverstrim
On Jan 21, 2005, at 4:02 AM, Stijn Hoop wrote:
On Thu, Jan 20, 2005 at 05:22:36AM -0800, Sandy Rutherford wrote:
On Wed, 19 Jan 2005 22:57:21 -0800,
Ted Mittelstaedt [EMAIL PROTECTED] said:

  This did teach me a lesson that I kind of knew already but
didn't think too much about.  That is, a software array is no 
substitute
for a hardware array.  ...
I respectfully disagree here; it is a substitute in some respects,
especially if you factor in cost.
My vinum volumes allowed me to survive for a long time without backups
(bad idea, don't do that), and for the past years have allowed me to
survive without having to restore my backups. This through about 5
failing ATA disks and multiple upgrades of the storage space.
I'd say it was worth it for me, including reliability.
If you need speed, or have the cash, etc, you can go for hardware
RAID.  But even there I've seen and heard horror stories of
incompatible disks, spontaneously lost configurations or even worse,
silent data corruption due to a bad disk.
Just to interject such a tale, since we just had to put up with it...
This was with a Windows 2000 server on a Dell with a Perc 3/di RAID 
controller, using four drives in a RAID 5 array.  We came in to find 
that one of the disks had gone bad and the server was blinking red.  
Disk 2 was dead.  Not a problem, with the Dells with a Perc card you 
just call it in, they send a new drive, you remove the bad and insert 
the new and it should start rebuilding!  The wonder of hardware 
RAID...hot swap rebuilding to minimize downtime.

Well...it wouldn't rebuild.  Go around with the tech a couple times, 
and then ran the onboard diagnostics on the RAID controller...disk 2 
was brand new, of course, so it was blank.  Disk 3 kept showing about 
five bad blocks on it.  Turns out that sometimes disks will have bad 
blocks that the array controller can't repair (even though in the 
utilities it would run the repair and not give any indication that the 
repair didn't work), and it didn't warn about the bad blocks either; 
those bad blocks will prevent the controller from rebuilding the array. 
 The only solution?  Make a full backup, replace the other drive as 
well, then rebuild the volume from scratch and restore your data.  But 
hey, who needs a weekend anyway? :-)

Hardware RAID should keep you running for awhile, but in this case, it 
was only a stopgap to buy some time.

Like I said, this just happened to us, so thought I'd share.
-Bart
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Spontaneous reboot problem

2005-01-21 Thread R D L Smith
On 21 Jan, 2005, at 11:56, Colin J. Raven wrote:
On Jan 21 at 11:36, R D L Smith asked the panel:
I have a teramac R310-1U from DNUK running 5.3-RELEASE-p1. It is the 
only
server I have running 5.x. ISTR that the SiS chip set prevented me 
loading
4.x.

The uptime of this server is good unless its under heavy load. When 
MySQL
(with InnoDB) is being worked hard, the server will reboot after a 
few hours.
However, build world will not crash it.

I have added the following to rc.conf:
dumpdev=/dev/ad0s1b
and the following to the kernel configuration file:
makeoptions DEBUG=-g
options KDB
options PANIC_REBOOT_WAIT_TIME=-1
I have also connected a serial console to the serial port and logged 
in as
root.

I never get a dump file and I never get a message at the console. I 
don't
know what else I can do other than strike this hardware vendor off my 
list
and dump the server. This machine has already had its motherboard 
replaced.
What about the power supply?
There has been quite a lot of traffic of late concerning so-called
spontaneous reboots and so far - *IIRC* - none of the incidents
were directly attributed to causes _other than_ balky power spupplies,
and in one recent case interestingly, a defective UPS!!
I think it's probably worth shoving a new PS in there, these days they
are far from expensive, in order to see if that eliminates further
instances of the problem.
I did consider that the previous time I was trying to get to the bottom 
of the problem. The problem is easy to reproduce, simply by starting 
mysqld and getting it to replicate.

I do not normally blame FreeBSD. I have been using it very successfully 
for years in a production environment. This is the first server I have 
had with this particular chip set, and I have read about problems with 
the chip set in the past.

It seems to be disk related - it could certainly be a hardware fault 
(cables or disk drive - as I said before, the motherboard has been 
replaced already) - if anyone out there is successfully using this 
hardware with FreeBSD, I could at least eliminate a device driver 
related problem.

My other concern is that I do not understand why I do not get any 
diagnostics.


I suppose much depends on whether or not you really want to -as you put
it - 'dump the server'. Should you elect to do so, please feel free to
ship it across the North Sea to me, I'll be happy to pay for the
shipping, deal with its little idiosyncracies and give it a second
life :-)
I will keep that in mind ;-)
--
R D L Smith
Network Systems Director
Satamatics Limited
Gloucester Road, Tewkesbury, GL20 5TT, United Kingdom
T: +44 1684 278610
F: +44 1684 278611
E: [EMAIL PROTECTED]

This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

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


Re: My computer keeps crashing

2005-01-21 Thread Jason Henson
On 01/21/05 04:41:45, cali wrote:
Sometimes when I run CPU intensive applications  the system will
crash at seemingly unpredictable times, I have to hard reset the   
machine as it
is completely unresponsive, I was running an experiment in console   
mode and it showed me the kernel panic:

With those uptimes I would say your heat sink and fan(hsf) is to  
blame. The old idea about amds running hot is kind of crap, any cpu  
will run  hot if not installed correctly or overclocked.  You got  
that white  stuff between the cpu and hsf?
I think I recall putting the white stuff in.
I checked your hsf on the net and in silent mode it does not support   
your cpu speed, though it does in normal higher speed fan mode.  If  
you  have the fan make sure to keep it in normal mode or it may bake  
your  cpu!  
http://www.zalman.co.kr/eng/product/view.asp?idx=33code=005009010
Damn! I should have researched this properly when I bought the  
heatsink. Thanks for that information, I'm lucky that you noticed  
this.

Try this command several times after you boot.  Then after you boot   
your box do it while under load.

sysctl -a|grep thermal

That will tell you your cpu temp, you'll need acpi on.  If you did  
not  put the hsf on right it will go up and you get problems like  
after 5  minutes or less.  I set my bios heat alarm to go off and  
set a shutdown  temp too. You might want to check that stuff out in  
your bios too.  Go  to amd.com and get that pdf on how to install  
the hsf, I made a mistake  a month ago when I was switching out cpus  
and that was my problem.

Everything else looks good, but do you have some case fans?
OK, I think I had better invest in some, or some better cooling.
I moved a  120mm fan over near my cpu and my 100% load temp while  
folding droped  about 10C.  I am overclocked and it was maxing out  
at about 58C or less.  Now it hardly hits 50C, usaully 48C but it  
might go down to 45C  if it is cool in my room.  I wonder how it  
will do in the summer? :)
I used that sysctl command you suggested above and it says 55C-55.5C  
-- this is for when running underclocked.

I rebooted, put the CPU speed back to normal, left the fan on its  
dangerously low setting and then ran the program again, whilst  
checking the cpu temperature every second with:

while [ 1 ]; do sysctl -a | grep thermal; sleep 1; done
I observed the CPU temperature rise from a base of 50C at an  
approximately steady rate (I should have taken periodic readings too  
then I could have made a graph or something). It slowed down at about  
57C (having took about 3-4 minutes to get there) or so but carried on  
rising, 58C...58.5C...59C...59.5C... kernel trap 11m33s  
(unfortunately I was setting up another process to run on another  
console so I never saw the final temperature).

This was with CPU thermal throttling enabled and set to 50% in my  
bios (although I'm not sure at which temperature it enables as it  
doesn't seem to say)

I turned the fan up to max, rebooted and ran the program again. The  
temperature seemed to stabilise around 52C.

Given this information I think it is highly likely that the  
temperature hypothesis is correct, and the reason for the crashing.

Thanks
cali


At 60C it is supposed to throttle, but I think it just crashes.  I  
think if you put an air duct next to your cpu that runs to a blow hole  
with a big fan you will get real low temps.  The big fan should be  
sucking air out of the case if you do this.

Make sure the hsf is mounted in the proper direction too, or it won't  
work.

If the air leaving your psu is hot you know you need better case  
cooling.  It should be warm, not hot.

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


port update problem - newbie

2005-01-21 Thread saravanan ganapathy
Hai 

I am using 5.3release and when I try to update ports
collections, I am getting the following error

Release not specified for collection
host=cvsup1.freebsd.org

How to solve this?

Sarav



__ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 

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


Re: Xmms FreeBSD and buzzing or skipping sound

2005-01-21 Thread Jason Henson
On 01/21/05 07:29:43, Grégory Nou wrote:
Jason Henson a écrit :
On 01/20/05 20:57:12, Derek wrote:
Collin McClendon wrote:
I've noticed for quite some time (at least on 5.x even before -  
CURRENT) that if I'm unzipping or tarring a file that it is enough   
to make xmms play mp3s with intermittent buzzing. I have a fairly   
fast machine, dual athlon 1.53 Ghz with 1 GB of ram and a fully  
scsi  setup, 4 10K maxtors in a Raid 0 stripe set.

Did you ever find a solution to this Collin?
I've got a 5.3-STABLE SMP machine, with a promise RAID controller,
RAID1, with snd_emu10k1.ko, and I get the same results...  Re- 
nicing
xmms doesn't help either...

Cheers,
Derek
Could this be a problem of resource hoging on the pci bus?  Are the   
devices on different irqs?

I just tried it without problem, but it was a small file.  I have a   
single 2ghz athlon with builtin audio and a single ide drive.
I have this problem too.
It happens with any mp3 player or listening to an icecast stream, but  
not with mplayer when looking at a divx. I looked at the irqs, and  
have uhci2 and my pcm0 on the same irq. However, this problems occurs  
only after 3 or 4 hours of uptime, generally.
Should I try to change my irqs ? and if positive, how do I do this ?  
in the bios ? (note : I have also uhci1 on the same irq than vr0, and  
it makes my computer crash at the end of the shutdown, when using the  
GDM to shutdown)

Something like hw.acpi.pci.link.0.6.0.irq=16   #irq pcm in / 
boot/loader.conf.  Maybe you could also try changing the pci clock, by  
this I mean the number of tics or cycles a device can control the bus.   
I have mine set to 96.  A number between 96-128 usaully increases  
performance of some pci devices on bench marks I have.  You should  
search for some of them to see if there is a good setting for your pc.

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


Re: port update problem - newbie

2005-01-21 Thread Erik Norgaard
saravanan ganapathy wrote:
Hai 

I am using 5.3release and when I try to update ports
collections, I am getting the following error
Release not specified for collection
host=cvsup1.freebsd.org
How to solve this?
This could be an invalid tag, but please submit your supfile. Normally 
you can take the sample supfile and only change the host - is this what 
you've done?

Cheers Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I do not understand kernel modules

2005-01-21 Thread Gardner Bell
On Fri, Jan 21, 2005 at 12:55:32AM +0100 Ramiro Aceves wrote:
 Jorn Argelo wrote:
 On Thu, 20 Jan 2005 13:38:54 +0100, Ramiro Aceves wrote
 
 Hello friends.
 
 I am a FreeBSD newbie, I am going to ask you a question that I have not
 been able to solve reading the manual. I am using 5.3 release. I have
 compiled a custom kernel in my old pentium 75 MHz machine to include 
 the driver for my sound card. I added the following lines to the kernel
 config file
 
 device sound
 device snd_es137x
 
 and compiled the kernel perfectly. (long time ;-)  )
 
 But there is something that I do not understand well. When I look at 
 the contents of /boot/kernel/ directory, I found that there are 
 kernel sound modules *.ko for every sound card the kernel supports. 
 Should not there be my sound card module alone? Does It mean that 
 you have to compile all the stuff, even if you are going to use only 
 one kind of sound card? Am I missing something?
 
 
 Your sound card has been build into the kernel itself (which is 
 /boot/kernel/
 kernel AFAIK). The *.ko are kernel modules, which you can load using the 
 kldload command. So in case you get a new sound card, find out what driver 
 it supports and you can use kldload yourdriver.ko to get support for 
 your sound card without recompiling your kernel.
 
 
 
 Yes, I understand now. The problem is that my old pentium machine takes 
 very long time to compile all the modules even if I am not going to use 
 them. I would like to compile only the modules I use, to reduce 
 compiling time. Is that possible?
 
Refer to the option MODULES_OVERRIDE in man make.conf(5) if you wish
to only compile certain modules.

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


Re: ntpd problems since upgrading to 5.3 - found the problem!

2005-01-21 Thread Ian Moore
On Wed, 19 Jan 2005 00:54, Lowell Gilbert wrote:
 Ian Moore [EMAIL PROTECTED] writes:
  I've just realised I'm not running a name server at all on my 5.3 system.
  I have 4.9 installed on this computer too  I'd set up the caching server
  on it, I guess I forgot that step when I installed 5.3.
  I'll set it up  see that makes any difference.

 Make sure to switch to using domain names that aren't in use by other
 people...

 [A common convention is to use .lan or .local as the top-level
 domain if you are using non-public domain names.]

Thanks, I hadn't thought of using a non-existant top level domain. I've 
changed the hostname to daemon.foo.lan and now localhost.foo.lan resolves to 
127.0.0.1 as it should.
Unfortunately, I still get the same response form ntpq:
daemon:~ % sudo ntpq -p
ntpq: write to localhost.foo.lan failed: Permission denied
Even with my firewall disabled I get this response.

Cheers,
-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpaXjoKVcfku.pgp
Description: PGP signature


Re: Thread Scheduling

2005-01-21 Thread Gardner Bell
On Thu, Jan 20, 2005 at 09:48:59PM -0800 stheg olloydson wrote:
 it was said:
 
 snip
 
 My question is, will I notice any performance improvement by using the
 new scheduler opposed to the 4.4BSD scheduler on an SMP system and can
 the new scheduler be utilized on a single processor system?  The
 intended use of the SMP system is for MySQL databases only.
 
 snip
 
 Hello,
 
 I asked about the new scheduler on the performance list. Below is
 (posted on list) reply:
 
 FWIW, one of the reasons that there hasn't been as much 
 interest in SCHED_ULE lately is likely that several of the 
 features previously only present in SCHED_ULE are now also 
 present in SCHED_4BSD -- for example, making more effective 
 uses of IPIs in reducing latency during inter-process 
 communication across processors.  While SCHED_ULE does contain 
 a number of interesting things not present in SCHED_4BSD, the 
 4BSD scheduler has hardly gone un-improved in that time.  
 However, Jeff Robserson does seem to have picked up recently 
 on both VFS SMP locking and ULE.  The scheduler tracing and 
 visualization tools he committed a couple of weeks ago are 
 really quite neat tools.
 
 Robert N M Watson
 
 So we'll just have to wait until ULE is fully baked to see which
 scheduler is best for a given application. For a more definitive
 answer, you may want to ask directly on the performance list.
 
Thanks for your reply, I do have more questions regarding this so I'll
ask away on the performance list.

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


Re: FreeBSD I LOVE YOU

2005-01-21 Thread Ian Moore
On Fri, 21 Jan 2005 01:47, Anthony Atkielski wrote:
 Matthew Seaman writes:

 MS If your drive contains or once contained military secrets, then in the
 MS USA and probably anywhere in the West, standard disposal procedure is
 MS that the drive be completely overwritten with specific patterns of
 MS random data several times, and then taken to a secure facility where
 MS the whole thing is literally stamped flat and chewed into small lumps
 MS of scrap.

 Assuming one doesn't have the resources to do this, what might one do to
 secure disk drives before disposal.  I've thought of opening them up and
 scratching the platters or chopping them into pieces (not sure how hard
 this might be to do), or something.  Home incineration isn't very
 practical, nor are machines that can chop metallic platters into
 confetti.

 Also, is there anything like a bulk degausser for disk platters (after
 removal from the drives)?  Come to think of it, I can't remember the
 last time I saw a tape degausser, and I still am not quite sure what to
 do with old backup tapes that are unreadable but still filled with
 backup data.

I open up my old backup tapes  use a cutting blade to cut through the tape 
spool in a couple of places, to you end up with hundreds of pieces of tape, 
no more than a couple of centimetres long. Then I generally throw them in a 
couple of different bins.
Tape de-gaussers usually aren't much good - they were mostly made for erasing 
open reel tape that used ferric oxide particles.
Backup tapes normally use metal particle tapes that need a much stronger 
magnetic field to effectively erase them.

Cheers, 
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpxi3BerQl83.pgp
Description: PGP signature


'nat pass' not working in PF

2005-01-21 Thread Andrew L. Gould
I'm running pf in FreeBSD 5.3 on my laptop.  The filters for the local 
box work fine.  

I'm also working on a pc for a friend; but ran out of ethernet ports in 
my router.  This pc doesn't have a wireless adapter; so I adjusted my 
pf rules to use my laptop as a gateway for the pc.

I want my filters to remain intact for the laptop; but I want nat to let 
all the pc's traffic through.  (It has it's own firewall.) According 
the OpenBSD pf tutorial, adding the word 'pass' after 'nat' in the nat 
command will allow nat traffic to bypass the filter rules.  
Unfortunately, this doesn't seem to work.

If my default 'block log all' rule is left uncommented, I can only ping 
ip addresses (not host names that require nameservers).  No other 
activity passes through.  If I comment it out, all traffic passes; but 
my laptop is left unprotected.

Any advice?

The relevant lines from my pf rules follow:

ifdev = ath0
natdev = fxp0
scrub in all no-df
nat pass on $ifdev from $natdev:network to any - $ifdev
icmp_types = echoreq
block log all
#other filtering rules follow

Thanks,

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


Re: port update problem - newbie

2005-01-21 Thread saravanan ganapathy

--- Erik Norgaard [EMAIL PROTECTED] wrote:

 saravanan ganapathy wrote:
  Hai 
  
  I am using 5.3release and when I try to update
 ports
  collections, I am getting the following error
  
  Release not specified for collection
  host=cvsup1.freebsd.org
  
  How to solve this?
 
 This could be an invalid tag, but please submit your
 supfile. Normally 
 you can take the sample supfile and only change the
 host - is this what 
 you've done?


Yah. I had a mistake and corrected.

My file looks as 

*default host=cvsup10.us.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
ports-all

#ports-base
#ports-accessibility
#ports-arabic
#ports-archivers
#ports-astro
#ports-audio
#ports-benchmarks
#ports-biology
#ports-cad
#
..
..
..
#ports-x11-wm

It takes longtime to update the ports. I am not sure
abt my config. Should I change anything else?


Sarav









__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: permission denied

2005-01-21 Thread Ruben de Groot
On Mon, Jan 17, 2005 at 10:52:46AM +0100, Comox_Support typed:
 Hi,
 
 I'm login as root and trying to start Xserver and Xwindows, how can I go 
 about this ?
 Do I need to install something first ?
 How can I test if all files needed to installed are on my system.

Are you running at an elevated securelevel? (Check with command:

# sysctl kern.securelevel

)

Ruben

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


Re: running restore non-interactive

2005-01-21 Thread Ruben de Groot
On Mon, Jan 17, 2005 at 02:11:34PM +0100, Roger 'Rocky' Vetterberg typed:
 Hi list.
 
   Im trying to setup a machine to mirror its entire drive using 
 dump/restore to a secondary drive.
 The dump works fine, but at the end of each session, restore always 
 asks set owner/mode for '.'?. This makes it impossible to automate 
 the task, which is what I would to accomplish.

What exact commands are you using? I have scripts doing 

cd /mnt/drive2/partitionX
dump 0aLf - /partitionX | restore rf -

without being asked anything.

 I have read the man-page, browsed the internet and searched trough 
 mailinglist archives, but nowhere have I found a way to make restore 
 assume that the answer to the question should be 'yes'. I have come 
 across a few patches floating around that is supposed to fix this, 
 but I would prefer not to use patches against the base system.
 
   I know that there are other utilities available that could 
 probably do this, but Ive been teached that you should always use 
 dump when doing full backups of the root filesystem, and Im also 
 comfortable using dump and restore so I would like to continue to do 
 so if possible.
 
 Any ideas or suggestions?
 
 --
 R
 
 ___
 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: FreeBSD I LOVE YOU

2005-01-21 Thread Greg Barniskis
Ian Moore wrote:
Tape de-gaussers usually aren't much good - they were mostly made for erasing 
open reel tape that used ferric oxide particles.
Backup tapes normally use metal particle tapes that need a much stronger 
magnetic field to effectively erase them.
More powerful degaussers are available, like the one found at
http://www.datalinksales.com/degaussers/hd1.htm
Not cheap (about $5k if memory serves), but seems to do the job on 
both HDs and modern tapes (what the company calls coercive media). 
We have not found it necessary to remove the HD platters from their 
enclosures, although I imagine that might yield more thorough 
results. We just make two passes for better peace of mind.

I also imagine that data on degaussed platters might still be 
available to the kinds of inspection techniques used on platters 
overwritten with random data, but our acceptable cost/reward balance 
tops off somewhere above preventing casual inspection and below 
stopping the NSA. One way that degaussing is more effective than 
random data writing is that the disk's servo tracks are also 
destroyed, meaning you'd probably need to return the device to the 
OEM for factory reconditioning before anyone could usefully attach 
it to another computer. I hope it's true, as that was our primary 
justification for the cost of the degausser.

--
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: Bootstrap question

2005-01-21 Thread Ruben de Groot
On Tue, Jan 18, 2005 at 01:09:36AM -0800, surapong singshinsuk typed:
 Hi,
  
 During the installation process, there are 3 choices to choose what to 
 install on MBR
 
 1. install boot0 as a bootmanager on MBR
 2. install mbr as a standard mbr on MBR
 3. install nothing on MBR

[SNIP]

 2. During the installation process, I choose install standard MBR (no boot 
 manager)
 and I later use boot0cfg -B da0 to install boot0 on MBR. Now I want to get 
 rid of bootmanager.
 
 How can I re-install mbr on MBR ?

fdisk -B da0 should work.

Ruben

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


Re: Mylex AcceleRAID 352 utilities

2005-01-21 Thread Dan Nelson
In the last episode (Jan 21), Krok said:
 Hello.
 
 Does anybody know, how can I administrate Mylex AcceleRAID 352 from
 FreeBSD 5.2.1 ?
 
 I've tried software from lsilogic - linux-gam (sam), but it's fails with
 following error :
 
 # ./gam
 sh: wine: command not found
 
 even with wine installed

Chances are gam is a shell script that launches wine.  Take a look at
it and hardcode the path.

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


Re: port update problem - newbie

2005-01-21 Thread Erik Norgaard
saravanan ganapathy wrote:
Yah. I had a mistake and corrected.
It takes longtime to update the ports. I am not sure
abt my config. Should I change anything else?
How long it takes depends on the number of changes, first time will 
probably take a longer. You can speed up in two ways: instead of 
ports-all specify the parts you want updated. Or, use a refuse file.

The two methods work oposite: with the first you actively select the 
parts you want with refuse file you active select the parts you don't want.

I recommend the latter because some times the ports tree is reorganized 
and you won't get new groups if you use the first method.

Whichever you choose, sometimes you get surprised: I found a nice tool 
for converting chm-files to html in the chinese collection!??

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port update problem - newbie

2005-01-21 Thread saravanan ganapathy

--- Erik Norgaard [EMAIL PROTECTED] wrote:

 saravanan ganapathy wrote:
  
  Yah. I had a mistake and corrected.
  
  It takes longtime to update the ports. I am not
 sure
  abt my config. Should I change anything else?
 
 How long it takes depends on the number of changes,
 first time will 
 probably take a longer. You can speed up in two
 ways: instead of 
 ports-all specify the parts you want updated. Or,
 use a refuse file.
 
 The two methods work oposite: with the first you
 actively select the 
 parts you want with refuse file you active select
 the parts you don't want.
 
 I recommend the latter because some times the ports
 tree is reorganized 
 and you won't get new groups if you use the first
 method.
 
 Whichever you choose, sometimes you get surprised: I
 found a nice tool 
 for converting chm-files to html in the chinese
 collection!??


Since I am very new to freebsd, I am not sure abt the
ports collections which I don't want.

I am trying to use freebsd for web hosting servers.Can
you list the ports which are not useful for servers?

How to use refuse file?

Sarav



__ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: My computer keeps crashing

2005-01-21 Thread Chris
Jason Henson wrote:
On 01/20/05 19:06:22, cali wrote:
If this is the wrong mailing list, I apologise, suggestions to a more
appropriate mailing list will be appreciated.
Reasonably recently I upgraded my hardware to the following:
Soltek SL-NV400-64 Purple
Ray (Socket A) Motherboard
AMD Athlon Barton XP3200+
400FSB (Socket A) CPU - OEM
Asus DRW-0402P DVD-R/RW -
Retail
Adata 512MB DDR PC3200 CAS 2.5
Adata 512MB DDR PC3200 CAS 2.5
Zalman Flower CNPS6000-Cu
Silent Socket A CPU Cooler -
Antec Sonata Piano Black
Quiet Case - 380W TruePower
Silent PSU
Hyundai ImageQuest Q995 19''
Perfectly Flat CRT Monitor -
Black/Silver
Geforce FX 5200 graphics card
IBM 60GB HD
Western Digital 160GB HD
Sometimes when I run CPU intensive applications  the system will
crash at seemingly unpredictable times, I have to hard reset the  
machine as it
is completely unresponsive, I was running an experiment in console  
mode and it showed me the kernel panic:


With those uptimes I would say your heat sink and fan(hsf) is to 
blame.   The old idea about amds running hot is kind of crap, any cpu 
will run  hot if not installed correctly or overclocked.  You got that 
white  stuff between the cpu and hsf?
I disagree (as an owner of one Athlon) The CPU came with it's own fan 
etc. Bios settings (voltage etc) where they should be - but still runs 
hot. In fact so much so that when compiling or make world, freeze 
happens. It's just a known fact that AMD's runs hot. I don't know if 
that's by design or not - nonetheless, I love mine (big old box fan and 
all).

--
Best regards,
Chris
A little ambiguity never hurt anyone.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


workaround: Re: 'nat pass' not working in PF

2005-01-21 Thread Andrew L. Gould
On Friday 21 January 2005 08:20 am, Andrew L. Gould wrote:
 I'm running pf in FreeBSD 5.3 on my laptop.  The filters for the
 local box work fine.

 I'm also working on a pc for a friend; but ran out of ethernet ports
 in my router.  This pc doesn't have a wireless adapter; so I adjusted
 my pf rules to use my laptop as a gateway for the pc.

 I want my filters to remain intact for the laptop; but I want nat to
 let all the pc's traffic through.  (It has it's own firewall.)
 According the OpenBSD pf tutorial, adding the word 'pass' after 'nat'
 in the nat command will allow nat traffic to bypass the filter rules.
 Unfortunately, this doesn't seem to work.

 If my default 'block log all' rule is left uncommented, I can only
 ping ip addresses (not host names that require nameservers).  No
 other activity passes through.  If I comment it out, all traffic
 passes; but my laptop is left unprotected.

 Any advice?

 The relevant lines from my pf rules follow:

 ifdev = ath0
 natdev = fxp0
 scrub in all no-df
 nat pass on $ifdev from $natdev:network to any - $ifdev
 icmp_types = echoreq
 block log all
 #other filtering rules follow

 Thanks,

 Andrew Gould

I added a 'pass in' rule for $natdev; and it seems to work.  Although, I 
dislike it because it's one more line to remember to comment-out when 
I'm not nat-ing.

Thanks,

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


sendmail problem

2005-01-21 Thread Pablo Allietti
hi all, i have a problem with sendmail. smtp

when i start sendmail smtp only accept local connections.

netsat -a 

tcp4   0  0  localhost.smtp *.*
LISTEN


i check the mc file and remove from DaemonOption the 127.0.0.1 and have
this line now

dnl DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl

but nothing sendmail continue accpeting traffic only bu localhost.

any solution?

thanks

Os: freebsd 5.3
Sendmail: 8.13.1 with tls



-- 


Pablo Allietti
LACNIC
--

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


Re: ntpd problems since upgrading to 5.3 - found the problem!

2005-01-21 Thread Lowell Gilbert
Ian Moore [EMAIL PROTECTED] writes:

 On Wed, 19 Jan 2005 00:54, Lowell Gilbert wrote:
  Ian Moore [EMAIL PROTECTED] writes:
   I've just realised I'm not running a name server at all on my 5.3 system.
   I have 4.9 installed on this computer too  I'd set up the caching server
   on it, I guess I forgot that step when I installed 5.3.
   I'll set it up  see that makes any difference.
 
  Make sure to switch to using domain names that aren't in use by other
  people...
 
  [A common convention is to use .lan or .local as the top-level
  domain if you are using non-public domain names.]
 
 Thanks, I hadn't thought of using a non-existant top level domain. I've 
 changed the hostname to daemon.foo.lan and now localhost.foo.lan resolves to 
 127.0.0.1 as it should.
 Unfortunately, I still get the same response form ntpq:
 daemon:~ % sudo ntpq -p
 ntpq: write to localhost.foo.lan failed: Permission denied
 Even with my firewall disabled I get this response.

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


Re: sendmail problem

2005-01-21 Thread Giorgos Keramidas
On 2005-01-21 13:59, Pablo Allietti [EMAIL PROTECTED] wrote:
 hi all, i have a problem with sendmail. smtp

 when i start sendmail smtp only accept local connections.

 netsat -a
 tcp4   0  0  localhost.smtp *.*  LISTEN

This is 'netstat', I suppose.  Please copy/paste the output as you see
it on your screen.  Do *not* copy it manually, as typos and omissions
may make it difficult to see what's going on.

 i check the mc file and remove from DaemonOption the 127.0.0.1 and
 have this line now

What does your `/etc/rc.conf' file start?  Show us the output of:

% grep sendmail /etc/rc.conf

- Giorgos

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


Re: ftp/fetch can not connect to ftp sites.

2005-01-21 Thread Lowell Gilbert
Lucas Holt [EMAIL PROTECTED] writes:

 I am running FreeBSD 5.3 Release p4, upgraded from 5.2.1.  Prior to
 5.3 p4, I was able to use command line ftp and fetch to access ftp
 sites.  Since the upgrade I have not been able to.  I can not connect
 to ftp.freebsd.org (or mirrors), ftp.x.org, etc.  Any port using an
 http server works fine using portupgrade, but with about 30 ports to
 upgrade its kind of annoying to manually fetch files :)
 
 I do have ipfw setup and running.  It is possible that it is a config
 issue with ipfw, but I am doubtful.  The kernel does not have inet6
 (ip6) compiled in and occasionally I see the ftp client resolving ip6
 addresses which I find odd.  It often does this resolving
 ftp.freebsd.org which I think is hosted at ISC.  I've tried ipfw
 disable firewall and kldunload'ing the ipfw extension in the kernel.
 I can connect to ftp sites using firefox in x11 and from Linux 
 windows on the same box with the same ip defined.  My cable modem
 router has this system setup as the dmz.  I looked at the fetch man
 page and it has an environment variable (man 3 fetch)
 FTP_PASSIVE_MODE.  I've toggled this to yes and no in the environment
 with no effect.
 
 Also, I happen to have ip_portrange_first and ip_portrange_last set in
 /etc/rc.conf to 4000 and 8000 respectively.  The system has a custom
 built kernel with SMP enabled as I have a dual xeon w/ htt disabled.
 
 I am at a loss why this is not working.  Since I got the cable modem,
 I've noticed that pasv mode connections are flaky and i usually have
 to switch to port in windows ftp apps especially if the server on the
 other end is behind a firewall.  I've tried toying with command line
 flags to ftp also.  Sometimes -4 -A -a will get me into some ftp
 servers command line.

It sounds like you have a new firewall (intentionally or not) in the
form of your cable modem.  Why do you have the portrange set low?
The fact that you apparently have similar problems under other
operating systems may indicate that FreeBSD can't actually solve this
for you.  If your cable modem is doing firewalling (or, even more
insidious, NAT) without your knowledge, then you will need to
understand just how it is configured before you can make any progress
at all.

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


Re: what release to install

2005-01-21 Thread Lowell Gilbert
Marty Landman [EMAIL PROTECTED] writes:

 I'm used to running fbsd 4.8 release on a sandbox server on my lan,
 from the mini-iso only. But now am looking at installing the full os
 from the two cd set. Is 5.3 release the recommended one to use at this
 time?

That's why it's called the Production Release.

 My plan is to first install this on my xp box which is a year old and
 has dozens of free GB's on 4 windows partitions (one hd) and make it a
 dual bootable machine.
 
 Then I'd like to put it on another box with a p2-233 and about 8 free
 GB's on its three windows partitions.
 
 Is this all reasonable sounding?

Sure, as long as you understand that you can't install FreeBSD on a
Windows partition.  [Not without first making it Not A Windows
Partition, that is.]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error installing print/latex

2005-01-21 Thread Aaron Dalton
When doing a make on print/latex I get the following error:
===   Compressing manual pages for tex-3.14159_2
===   Registering installation for tex-3.14159_2
===   Returning to build of latex2e-2003.12_1
===  Configuring for latex2e-2003.12_1
===  Building for latex2e-2003.12_1
! I can't read tex.pool; bad path?
*** Error code 1
Stop in /usr/ports/print/latex.
I am sure this is some sort of path thing because tex.pool indeed exists
 at /usr/local/share/texmf/web2c/tex.pool; however, I have been unable
to figure out what I need to change where to make it work.
I'm running 5.2.1-RELEASE.  Any help you could provide would be most
appreciated.  Thank you for your time!
Aaron
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: snapshots, soft update inconsistency

2005-01-21 Thread Lowell Gilbert
Jay [EMAIL PROTECTED] writes:

 I've got some filesystem problems on my /usr partition.
 Cause:  power failures caused by TWO exploding transformers
 
 I restarted in single-user mode and fsck'd all of my partitions.
 Everything looked fine.  
 
 I've got a handful of zero-length files that I can't fix.  Bad file
 descriptor.  I've tried `ls -i` to get the inode number so I can delete
 the files via find.  ls doesn't work -- it just returns Bad file
 descriptor.
 
 I then had the bright idea of making a snapshot and running fsck against
 it.  I got a few hundred lines of unexpected soft update
 inconsistency. I didn't have fsck repair anything against the snapshot;
 I just wanted to see what the output was.
 
 Should I:
   a) run fsck against the snapshot and let it fix things
   b) go back to single-user mode and run fsck
   c) do something else
 
 I'm sure that booting into single-user mode is the best idea, however,
 I'd prefer not to do that if possible -- the machine is up and running
 and doing it's thing fairly well at the moment.

I thought you said you had already done that, and that it seemed fine.
Doing it again will only help if new problems have arisen since then.

If the machine is working okay as it is, and the data on its disks is
completely expendable, then feel free to leave it alone and wait for
problems to get worse.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I do not understand kernel modules

2005-01-21 Thread Colin J. Raven
On Jan 21 at 08:42, Gardner Bell wrote:

 On Fri, Jan 21, 2005 at 12:55:32AM +0100 Ramiro Aceves wrote:
 Jorn Argelo wrote:
 On Thu, 20 Jan 2005 13:38:54 +0100, Ramiro Aceves wrote


 Yes, I understand now. The problem is that my old pentium machine takes
 very long time to compile all the modules even if I am not going to use
 them. I would like to compile only the modules I use, to reduce
 compiling time. Is that possible?

 Refer to the option MODULES_OVERRIDE in man make.conf(5) if you wish
 to only compile certain modules.

Thanks for this! I'm approaching a critical  rite of passage today 
conincidentally, by recompiling my kernel and getting rid of stuff I 
don't need.
Doing what you suggest sounds eminently sensible, yet I have to ask a 
followup question...

How do you specify a particular make.conf that should *only* be used for 
recompiling kernels?

Regards  TIA,
-Colin
--
Colin J. Raven
FreeBSD 5.3-RELEASE - http://www.FreeBSD.org - There can be only One
Fri Jan 21 15:57:00 CET 2005
  3:57PM  up 1 day,  4:47, 5 users, load averages: 0.00, 0.00, 0.00
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: running restore non-interactive

2005-01-21 Thread Roger 'Rocky' Vetterberg
Ruben de Groot wrote:
On Mon, Jan 17, 2005 at 02:11:34PM +0100, Roger 'Rocky' Vetterberg typed:
Hi list.
 Im trying to setup a machine to mirror its entire drive using 
dump/restore to a secondary drive.
The dump works fine, but at the end of each session, restore always 
asks set owner/mode for '.'?. This makes it impossible to automate 
the task, which is what I would to accomplish.

What exact commands are you using? I have scripts doing 

cd /mnt/drive2/partitionX
dump 0aLf - /partitionX | restore rf -
without being asked anything.
I was using 'restore xf -', but after reading the manpage again I see 
that using -r like you do is the way to go.
Unbelievable that noone else has noticed this, there are hundreds of 
posts on the internet discussing this very issue.

Many thanks, you just saved me a lot of trouble!
--
R
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Exporting mounted filesystems

2005-01-21 Thread Jan Branbergen
Hi,

i am running FBSD 4.10 and i am trying to export mounted filesystems ( usb 
stick and cdrom )

currently there are 2 subdirs in /mnt: da0 and cdrom.

when i mount_nfs this machine's /mnt on another machine, i see the underlying 
filesystem, not the mounted ones ( ie: da0 is empty, while on the exporting 
machine, da0 is not empty )

what am i doing wrong?

regards,

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


Re: sendmail problem

2005-01-21 Thread Pablo Allietti
On Fri, Jan 21, 2005 at 06:05:25PM +0200, Giorgos Keramidas wrote:
 On 2005-01-21 13:59, Pablo Allietti [EMAIL PROTECTED] wrote:
  hi all, i have a problem with sendmail. smtp
 
  when i start sendmail smtp only accept local connections.


sorry i deinstall and install again and it working now. 

thanks a lot.

 
  netsat -a
  tcp4   0  0  localhost.smtp *.*  LISTEN
 
 This is 'netstat', I suppose.  Please copy/paste the output as you see
 it on your screen.  Do *not* copy it manually, as typos and omissions
 may make it difficult to see what's going on.
 
  i check the mc file and remove from DaemonOption the 127.0.0.1 and
  have this line now
 
 What does your `/etc/rc.conf' file start?  Show us the output of:
 
   % grep sendmail /etc/rc.conf
 
 - Giorgos
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
---end quoted text---

-- 


Pablo Allietti
LACNIC
--

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


Re: Error installing print/latex

2005-01-21 Thread Erik Trulsson
On Fri, Jan 21, 2005 at 09:14:57AM -0700, Aaron Dalton wrote:
 When doing a make on print/latex I get the following error:
 
 ===   Compressing manual pages for tex-3.14159_2
 ===   Registering installation for tex-3.14159_2
 ===   Returning to build of latex2e-2003.12_1
 ===  Configuring for latex2e-2003.12_1
 ===  Building for latex2e-2003.12_1
 ! I can't read tex.pool; bad path?
 *** Error code 1
 Stop in /usr/ports/print/latex.
 
 I am sure this is some sort of path thing because tex.pool indeed exists
  at /usr/local/share/texmf/web2c/tex.pool; however, I have been unable
 to figure out what I need to change where to make it work.
 
 I'm running 5.2.1-RELEASE.  Any help you could provide would be most
 appreciated.  Thank you for your time!

Is there some particular reason why you must use print/latex ?
If there is not I would suggest that you use print/teTeX instead.
It is probably more up to date and is what most people use for
TeX-related stuff.



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


Re: Error installing print/latex

2005-01-21 Thread Aaron Dalton
Erik Trulsson wrote:
On Fri, Jan 21, 2005 at 09:14:57AM -0700, Aaron Dalton wrote:
When doing a make on print/latex I get the following error:
===   Compressing manual pages for tex-3.14159_2
===   Registering installation for tex-3.14159_2
===   Returning to build of latex2e-2003.12_1
===  Configuring for latex2e-2003.12_1
===  Building for latex2e-2003.12_1
! I can't read tex.pool; bad path?
*** Error code 1
Stop in /usr/ports/print/latex.
I am sure this is some sort of path thing because tex.pool indeed exists
at /usr/local/share/texmf/web2c/tex.pool; however, I have been unable
to figure out what I need to change where to make it work.
I'm running 5.2.1-RELEASE.  Any help you could provide would be most
appreciated.  Thank you for your time!

Is there some particular reason why you must use print/latex ?
If there is not I would suggest that you use print/teTeX instead.
It is probably more up to date and is what most people use for
TeX-related stuff.

Well I've only ever used LaTeX.  Perhaps I don't need it, but I'm not 
sure.  I am unfamiliar with the specific differences between plain TeX 
and the LaTeX2e macros.  I use Miktex on my windows box and have always 
used LaTeX reference materials for composing my documents.  LaTeX used 
to be installed on this BSD box and I don't recall having any problems 
back then (it was installed as a part of print/lilypond).  Well, now 
that I look through lilypond's Makefile, it appears that latex is a part 
of print/teTeX?  *is a little confused*  I will try installing that instead.

What are the differences between print/latex and print/teTeX?  Why are 
there two ports?

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


How to get best results from FreeBSD-questions

2005-01-21 Thread Greg Lehey

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

Last update $Date: 2004/09/19 02:40:48 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions, -newbies or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

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

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

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

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

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2005-01-21 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


Re: Error installing print/latex

2005-01-21 Thread Lowell Gilbert
Aaron Dalton [EMAIL PROTECTED] writes:

 What are the differences between print/latex and print/teTeX?  Why are
 there two ports?

Quoting  /usr/ports/print/teTeX-base/pkg-descr:

teTeX is _the_ TeX distribution for UNIX compatible systems.  It
contains the latest versions of TeX  friends and nearly everything
you need for happy TeX'ing.  For more information have a look at
the lengthy FEATURES file of the distribution.

teTeX-base contains various utilities including TeX and dviware themselves.

WWW: http://www.tug.org/tetex/



However, I just built the latex port from scratch on an up-to-date
-STABLE system, and it worked fine.  Do you have up-to-date ports?
Make sure you clean the port directory before trying to build it
again.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[Repost] php log to own syslog file

2005-01-21 Thread Gerard Samuel
Im trying to figure out how to setup FreeBSD 5.3 to log
php events to its own log file via syslog.
In /etc/syslog.conf, I added -
# php logs
!httpd
*.* /var/log/php.log
I created a empty file for the log -
gladiator# touch /var/log/php.log
gladiator# ls -l /var/log/php*
-rw-r--r--  1 root  wheel  0 Jan 20 16:37 /var/log/php.log
Then I HUPped syslogd -
gladiator# ps aux | grep syslogd
root 277  0.0  0.2  1316  908  ??  Is4:14PM   0:00.01
/usr/sbin/syslogd -s
gladiator# kill -HUP 277
In my php script, Im using -
define_syslog_variables();
openlog('TESTING', LOG_NDELAY, LOG_USER);
syslog(LOG_INFO, $message);
closelog();
But nothing is being logged to the file.
Am I doing something wrong on the FreeBSD side of things??
Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: : Mrs. Butterworth vs Vermont Maid

2005-01-21 Thread Daniel Bye
On Wed, Jan 19, 2005 at 10:26:17PM +0100, Hexren wrote:
 
 BT Then don't waste ours, stupid fucktardo spic.
 
 BT Bash.
 
 -
 
 Please refrain from swearing at other list members, it is rude and
 beside that it is not helping. :(

Added to which, the racist content is certainly not called for - let's
just take a minute to think about what's going on here, and realise that
calling people names is really rather childish, and beneath us.  We are
capable of much better.

Mr AOL is annoying, but so are all the non-technical outbursts he has
elicited from other list members.  It's tough, but we should try not to
give him the satisfaction of responding.  If we ignore him, he might
well go away.  If not, just dump him.  We demean only ourselves by
playing along with him.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpJNfDQ0xALr.pgp
Description: PGP signature


Re: 'nat pass' not working in PF

2005-01-21 Thread J65nko BSD
On Fri, 21 Jan 2005 08:20:45 -0600, Andrew L. Gould [EMAIL PROTECTED] wrote:
 I'm running pf in FreeBSD 5.3 on my laptop.  The filters for the local
 box work fine.
 
 I'm also working on a pc for a friend; but ran out of ethernet ports in
 my router.  This pc doesn't have a wireless adapter; so I adjusted my
 pf rules to use my laptop as a gateway for the pc.
 
 I want my filters to remain intact for the laptop; but I want nat to let
 all the pc's traffic through.  (It has it's own firewall.) According
 the OpenBSD pf tutorial, adding the word 'pass' after 'nat' in the nat
 command will allow nat traffic to bypass the filter rules.
 Unfortunately, this doesn't seem to work.
 
 If my default 'block log all' rule is left uncommented, I can only ping
 ip addresses (not host names that require nameservers).  No other
 activity passes through.  If I comment it out, all traffic passes; but
 my laptop is left unprotected.
 
 Any advice?
 
 The relevant lines from my pf rules follow:
 
 ifdev = ath0
 natdev = fxp0
 scrub in all no-df
 nat pass on $ifdev from $natdev:network to any - $ifdev
 icmp_types = echoreq
 block log all
 #other filtering rules follow
 
 Thanks,
 
 Andrew Gould
How about something like this:
EXT_IF = fxp0
INT_IF = xl0

TCP_OUT = { ssh, www, https, smtp, pop3 }
UDP_OUT = { domain }
ICMP_OUT = echoreq

scrub in all no-df

nat on $EXT_IF from $INT_IF:network to any - $EXT_IF

# -- default policy
block log from any to any

# -- LOOPBACK
pass quick on lo0 from any to any

# -- EXTERNAL 

# -- tcp
pass out quick on $EXT_IF inet proto tcp from any to any port $TCP_OUT
flags S/SA keep state

# -- udp
pass out quick on $EXT_IF inet proto udp from any to any port $UDP_OUT
keep state

# -- icmp
pass out quick on $EXT_IF inet proto icmp from any to any icmp-type
$ICMP_OUT keep state

# -- INTERNAL
pass on $INT_IF from any to any

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


Re: I do not understand kernel modules

2005-01-21 Thread Gardner Bell
On Fri, Jan 21, 2005 at 03:57:35PM +0100 Colin J. Raven wrote:
 On Jan 21 at 08:42, Gardner Bell wrote:
 
  On Fri, Jan 21, 2005 at 12:55:32AM +0100 Ramiro Aceves wrote:
  Jorn Argelo wrote:
  On Thu, 20 Jan 2005 13:38:54 +0100, Ramiro Aceves wrote
 
 
  Yes, I understand now. The problem is that my old pentium machine takes
  very long time to compile all the modules even if I am not going to use
  them. I would like to compile only the modules I use, to reduce
  compiling time. Is that possible?
 
  Refer to the option MODULES_OVERRIDE in man make.conf(5) if you wish
  to only compile certain modules.
 
 Thanks for this! I'm approaching a critical  rite of passage today 
 conincidentally, by recompiling my kernel and getting rid of stuff I 
 don't need.
 Doing what you suggest sounds eminently sensible, yet I have to ask a 
 followup question...
 
 How do you specify a particular make.conf that should *only* be used for 
 recompiling kernels?
 
I'm not too sure if one can specify another make.conf file or not.
What are your reasons for wanting to do so?

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


Re: port update problem - newbie

2005-01-21 Thread Erik Norgaard
saravanan ganapathy wrote:
Since I am very new to freebsd, I am not sure abt the
ports collections which I don't want.
I am trying to use freebsd for web hosting servers.Can
you list the ports which are not useful for servers?
This is a tough question, if you now have a fully updated ports tree and 
you have sufficient diskspace then let it be that way. As you get things 
up running you'll get a feel of what you don't want/need.

It is anoying if you have to wait for the update to complete, if you 
have flatrate connection, you may consider a cronjob to update the ports 
tree for you, say once a week or once a month.

If you are newbie, then you might prefer not to update the ports tree so 
often, new ports may require other ports to be updated that are depended 
on by yet other ports. This can be a showblocker first time you stumple 
into it. So, let go with it for a while and get comfy with the OS.

How to use refuse file?
See cvsup man page
Cheers Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Repost] php log to own syslog file

2005-01-21 Thread Kevin Kinsey
Gerard Samuel wrote:
Im trying to figure out how to setup FreeBSD 5.3 to log
php events to its own log file via syslog.
In /etc/syslog.conf, I added -
# php logs
!httpd
*.* /var/log/php.log
I created a empty file for the log -
gladiator# touch /var/log/php.log
gladiator# ls -l /var/log/php*
-rw-r--r--  1 root  wheel  0 Jan 20 16:37 /var/log/php.log
Then I HUPped syslogd -
gladiator# ps aux | grep syslogd
root 277  0.0  0.2  1316  908  ??  Is4:14PM   0:00.01
/usr/sbin/syslogd -s
gladiator# kill -HUP 277
In my php script, Im using -
define_syslog_variables();
openlog('TESTING', LOG_NDELAY, LOG_USER);
syslog(LOG_INFO, $message);
closelog();
But nothing is being logged to the file.
Am I doing something wrong on the FreeBSD side of things??
Thanks

PHP as an Apache module?  IANAE, but wouldn't
you have to change log settings in httpd.conf?
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sound Support

2005-01-21 Thread Alejandro Pulver
Hello:

I had a great multimedia experience with FreeBSD (much better than I
expected). I have read the Handbook and FAQ, and successfully
configured my two sound cards and NVIDIA video card. I enjoyed audio
and video playback, and OpenGL games (gl-117, quake3, etc.). However I
would like to do a final tuning. I have some questions:

--

1) pcm device numbering

   I have two sound cards connected to my machine: an integrated SiS
   7012 (C-Media Electronics CMI9739 AC97 Codec), managed by the
   kernel module snd_ich and a PCI Genius Sound Maker Value 5.1
   (CMedia CMI8738), managed by the kernel module snd_cmi.

   I want to use my second sound card (Genius) as the default (pcm0,
   dsp0, dspr0, mixer0, etc.). If I load the kernel modules manually
   (with kldload) I obtain the desired results. But if I load them at
   boot time (with *_load=YES entries in /boot/loader.conf) the SiS
   card is detected first and used as the first output device (pcm0).

   I think that an rc.d script to do that will be very unprolix. Is
   there a way to specify the pcm device numbering manually (maybe
   with device.hints)?

--

2) MIDI support (sequencer and synthetizer)

   I saw that my Genius card shows a mixer entry called synth (I
   suppose it is the input device to record MIDI, if not, please
   inform me), but it has not a /dev/sequencer device. In my second
   machine I have a Sound Blaster Live! 5.1 (emu10k1) and it also has
   not a sequencer device (and it has not a mixer entry called
   synth). 

   I have read in the page of the emu10kx driver
   (http://chibis.persons.gfk.ru/audigy/) the following:

   WARNING: -CURRENT since 2004/05/31 23:22:59 PDT does not have MIDI
   subsystem!
   NEWMIDI was removed without replacement.

   Will be a MIDI sequencer (and synthetizer for SB Live!) in FreeBSD?

--

3) Sound Blaster Live! 24-bit

   Will be support for this sound cards (24-bit)?

--

I have included the output of the following commands:

1) uname -a

   FreeBSD ale.varnet.bsd 5.3-RELEASE FreeBSD 5.3-RELEASE #10: Sat Nov
   27 16:20:29 ART 2004
   [EMAIL PROTECTED]:/usr/src/sys/i386/compile/ATHLON i386

2) cat /dev/sndstat

   FreeBSD Audio Driver (newpcm) Installed devices:
   pcm0: CMedia CMI8738 at io 0xc800 irq 17 kld snd_cmi (1p/1r/4v
   channels duplex default)
   pcm1: SiS 7012 at io 0xdc00, 0xd800 irq 18 bufsz 16384 kld
   snd_ich (1p/1r/1v channels duplex)

3) kldload snd_cmi (log messages)

   pcm0: CMedia CMI8738 at io 0xc800 irq 17 kld snd_cmi (1p/1r/1v
   channels duplex default)

4) kldload snd_ich (log messages)

   pcm1: SiS 7012 port 0xd800-0xd87f,0xdc00-0xdcff irq 18 at device
   2.7 on pci0
   pcm1: [GIANT-LOCKED]
   pcm1: C-Media Electronics CMI9739 AC97 Codec

5) mixer -f /dev/mixer0

   Mixer vol  is currently set to  75:75
   Mixer bass is currently set to  50:50
   Mixer treble   is currently set to  50:50
   Mixer synthis currently set to  75:75
   Mixer pcm  is currently set to  75:75
   Mixer speaker  is currently set to  75:75
   Mixer line is currently set to  75:75
   Mixer mic  is currently set to   0:0
   Mixer cd   is currently set to  75:75
   Mixer igainis currently set to   0:0
   Mixer ogainis currently set to  50:50
   Mixer monitor  is currently set to  75:75
   Recording source: mic

6) mixer -f /dev/mixer1

   Mixer vol  is currently set to  75:75
   Mixer pcm  is currently set to  75:75
   Mixer speaker  is currently set to  75:75
   Mixer line is currently set to  75:75
   Mixer mic  is currently set to   0:0
   Mixer cd   is currently set to  75:75
   Mixer rec  is currently set to   0:0
   Mixer ogainis currently set to  50:50
   Mixer line1is currently set to  75:75
   Mixer phin is currently set to   0:0
   Mixer phoutis currently set to   0:0
   Mixer videois currently set to  75:75
   Recording source: mic

7) pciconf -v -l

   [EMAIL PROTECTED]:0:0: class=0x06 card=0x07411849 chip=0x07411039
   rev=0x03 hdr=0x00
   vendor   = 'Silicon Integrated Systems (SiS)'
   device   = 'SiS741 CPU to PCI Bridge'
   class= bridge
   subclass = HOST-PCI

   [EMAIL PROTECTED]:1:0: class=0x060400 card=0x chip=0x00031039
   rev=0x00 hdr=0x01
   vendor   = 'Silicon Integrated Systems (SiS)'
   device   = 'SiS648FX Virtual PCI to PCI Bridge (AGP)'
   class= bridge
   subclass = PCI-PCI

   [EMAIL PROTECTED]:2:0: class=0x060100 card=0x chip=0x00081039
   rev=0x25 hdr=0x00
   vendor   = 'Silicon Integrated Systems (SiS)'
   device   = 'SiS PCI to ISA Bridge (LPC Bridge)'
   class= bridge
   subclass = PCI-ISA

   [EMAIL PROTECTED]:2:5: class=0x010180 card=0x55131849 chip=0x55131039
   rev=0x00 

Re: [Repost] php log to own syslog file

2005-01-21 Thread Gerard Samuel
Kevin Kinsey wrote:
Gerard Samuel wrote:
Im trying to figure out how to setup FreeBSD 5.3 to log
php events to its own log file via syslog.
In /etc/syslog.conf, I added -
# php logs
!httpd
*.* /var/log/php.log
I created a empty file for the log -
gladiator# touch /var/log/php.log
gladiator# ls -l /var/log/php*
-rw-r--r--  1 root  wheel  0 Jan 20 16:37 /var/log/php.log
Then I HUPped syslogd -
gladiator# ps aux | grep syslogd
root 277  0.0  0.2  1316  908  ??  Is4:14PM   0:00.01
/usr/sbin/syslogd -s
gladiator# kill -HUP 277
In my php script, Im using -
define_syslog_variables();
openlog('TESTING', LOG_NDELAY, LOG_USER);
syslog(LOG_INFO, $message);
closelog();
But nothing is being logged to the file.
Am I doing something wrong on the FreeBSD side of things??
Thanks

PHP as an Apache module?  IANAE, but wouldn't
you have to change log settings in httpd.conf? 
I dont think so.  These errors, that I want to log, are initiated by
the php function syslog() (look at the example above).
These messages are supposed to go to the syslogd daemon, not to httpd's 
log file.
In the example above, if I change the priority from LOG_INFO to 
LOG_WARNING,
the error messages go to /var/log/messages.
I just need it to start going to its own file.
The ultimate goal, is that I want to have a cluster of webservers,
logging to a central server.

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


Re: Error installing print/latex

2005-01-21 Thread Erik Trulsson
On Fri, Jan 21, 2005 at 09:52:27AM -0700, Aaron Dalton wrote:
 Erik Trulsson wrote:
 On Fri, Jan 21, 2005 at 09:14:57AM -0700, Aaron Dalton wrote:
 
 When doing a make on print/latex I get the following error:
 
 ===   Compressing manual pages for tex-3.14159_2
 ===   Registering installation for tex-3.14159_2
 ===   Returning to build of latex2e-2003.12_1
 ===  Configuring for latex2e-2003.12_1
 ===  Building for latex2e-2003.12_1
 ! I can't read tex.pool; bad path?
 *** Error code 1
 Stop in /usr/ports/print/latex.
 
 I am sure this is some sort of path thing because tex.pool indeed exists
 at /usr/local/share/texmf/web2c/tex.pool; however, I have been unable
 to figure out what I need to change where to make it work.
 
 I'm running 5.2.1-RELEASE.  Any help you could provide would be most
 appreciated.  Thank you for your time!
 
 
 Is there some particular reason why you must use print/latex ?
 If there is not I would suggest that you use print/teTeX instead.
 It is probably more up to date and is what most people use for
 TeX-related stuff.
 
 
 
 Well I've only ever used LaTeX.  Perhaps I don't need it, but I'm not 
 sure.  I am unfamiliar with the specific differences between plain TeX 
 and the LaTeX2e macros.

I have not used plain TeX myself, but I have got the strong impression
that it is PITA. Using the LaTeX macros makes life much easier (which
is why very few people use plain TeX, while many people like LaTeX.)

  I use Miktex on my windows box and have always 
 used LaTeX reference materials for composing my documents.  LaTeX used 
 to be installed on this BSD box and I don't recall having any problems 
 back then (it was installed as a part of print/lilypond).  Well, now 
 that I look through lilypond's Makefile, it appears that latex is a part 
 of print/teTeX?  *is a little confused*  I will try installing that instead.

print/teTeX  does indeed include the LaTeX macros (as well as a whole
bunch of other TeX-stuff.)
I am fairly sure that print/teTeX includes everything useful that
print/latex does and then some.

 
 What are the differences between print/latex and print/teTeX?  Why are 
 there two ports?

It seems to be simply two different ways of package TeX + various macro
packages.

I don't know why both exist. Historical reasons probably.


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


Re: port update problem - newbie

2005-01-21 Thread Lowell Gilbert
saravanan ganapathy [EMAIL PROTECTED] writes:

 Since I am very new to freebsd, I am not sure abt the
 ports collections which I don't want.

Then try keeping them all.  After the first time, it doesn't take that
long to update the collection of makefiles.  

Note that the ports system does not officially support anything *but*
keeping the whole ports tree, so you want to keep the whole thing and
update it all at the same time, unless limited bandwidth or limited
disk space make that impractical.

 I am trying to use freebsd for web hosting servers.Can
 you list the ports which are not useful for servers?

Not really.  And you should have plenty of bandwidth and disk space,
so leaving out some of the ports will cost you more effort than it
saves.  

 How to use refuse file?

The cvsup manual covers this quite well. (man cvsup)
But again, I advise you not to bother.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: Cannot dump. No dump device defined while using sysinstall

2005-01-21 Thread Ben Salem


Ben Salem [EMAIL PROTECTED] wrote:Date: Tue, 18 Jan 2005 19:40:59 -0800 (PST)
From: Ben Salem 
To: [EMAIL PROTECTED]
Subject: Cannot dump. No dump device defined while using sysinstall

After booting w/ floppies, installation with
5.3-RELEASE
fails in /stand/sysinstall when using fdisk, or
anything else besides the sysinstall menu it seems. I
don't think it's specific to fdisk though. Im
installing on an AMD-k6 200mhz(intel mobo w/ award
bios), w/64mb ram, s3-virge pci vid-card, and a
realtek isa ethernet card.

This is the full output of the error message:
-
panic: page fault
Uptime: 1h39m46s
Cannot dump. No dump device defined.
Automatic reboot in 15 seconds - press a key on the
console to abort
-- Press a key on the console to reboot,
-- or switch off the system now.
--
I left the sysinstall menu on the second time for over
an hour to see if it was caused by me doing things or
not. It definetly only does it when Im trying to
continue with the installation (fdisk, label editor,
an actual funtion, not just strolling through the
menu.


Any help at all is greatly appreciated.

Thank you, 
Ben Salem
Wichita, Ks

__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to [EMAIL PROTECTED]



-
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error installing softwares on FreeBSD system

2005-01-21 Thread [EMAIL PROTECTED]

 I completed the BSD 5.3 instllation on my Dell Desktop using the first CD of 
the 4 CD set. I installed all the ports and distributions in the first CD. But 
when I tried to 'make install' emacs from the /usr/ports/editors/emacs20 
directory I get a lot of messages which says 'Attemting to fetch from :ftp 
site name : No address record
And finally an error message which says:
   Couldn't fetch it - please try to retrieve this port manually into 
usr/ports/distfiles and try again
Error code 1
Same is the case with other softwates and utilities.

I don't have FTP configured on my computer. Do I have to get the CVS repository 
installed? If so please give me the instructions or a link. Is it necessary 
that I install the rest of the CDs? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xmms FreeBSD and buzzing or skipping sound

2005-01-21 Thread Derek
Jason Henson wrote:
Something like hw.acpi.pci.link.0.6.0.irq=16   #irq pcm in /
boot/loader.conf.  Maybe you could also try changing the pci clock, by
this I mean the number of tics or cycles a device can control the bus.
I have mine set to 96.  A number between 96-128 usaully increases
performance of some pci devices on bench marks I have.  You should
search for some of them to see if there is a good setting for your pc.
Thanks for your response Jason.  I won't be in a position to test the 
machine until tomorrow, but I'll follow up then.

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


Starting kdm

2005-01-21 Thread stan
Is kdm still run from /etc/ttys? 

The reason I aks is that I have a machine that I use gdm on, and I kow it's
not run from /etc/ttys anymore.

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mrs. Butterworth vs Vermont Maid

2005-01-21 Thread Boris Spirialitious

Colin Raven vomits:

I have nothing but *stellar* regard for the individuals who take such 
immense time and effort to help others on this list. I feel privileged 
to belong to this community, and grateful for a huge amount of guidance 
advice and help I've received here. I wouldn't have a working OS 
without 
the tireless good humored and plain 'ol kind help I've gotten here. I'm 
also wildly enthusiastic about this incredible OS. I can't say enough 
good things about it. Simply put, it's the best (for what I utilize it 
for anyways!!)

You are what we call wimp in Russia. Does your woman beat you also?


-
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


location of kernel modules

2005-01-21 Thread Colin J. Raven
Can anyone please tell me where the kernel modules are located, and 
where are they described? I ask this so that I can figure out which to 
include/exclude in OPTIONS_OVERRIDE in /whatever/make.conf (separate 
post).

I'd hate to *guess* at what to include/exclude, that sounds sort of 
risky..and I'm assuming there must be some method for doing this for 
someone of my (thus far) hopelessly limited experience.

Regards  TIA,
-Colin
--
Colin J. Raven
FreeBSD 5.3-RELEASE - http://www.FreeBSD.org - There can be only One
Fri Jan 21 16:02:00 CET 2005
  4:02PM  up 1 day,  4:52, 5 users, load averages: 0.02, 0.02, 0.00
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Exporting mounted filesystems

2005-01-21 Thread Lars Kristiansen
 Hi,

 i am running FBSD 4.10 and i am trying to export mounted filesystems ( usb
 stick and cdrom )

 currently there are 2 subdirs in /mnt: da0 and cdrom.
From man exports :
... specifies the mount point(s) and export flags within
one local server
 file system for one or more hosts.


 when i mount_nfs this machine's /mnt on another machine, i see the
 underlying filesystem, not the mounted ones ( ie: da0 is empty, while on
 the exporting machine, da0 is not empty )

 what am i doing wrong?

 regards,

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


Sound on Compaq Presario 2500

2005-01-21 Thread Warren Rothberg
Did you ever get an answer on this problem?

I have a Compaq Presario 2500 and although sound OUTPUT is fine in all
respects, I can not get the microphone input to worknot even in Sound
Recorder.

Numerous calls to HP Support have produced no hint of a solution. The
last rep advised me to bring the computer in Radio Shack (right.).

XP SP1 here. 

Warren



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


Re: location of kernel modules

2005-01-21 Thread Gardner Bell
On Fri, Jan 21, 2005 at 04:02:57PM +0100 Colin J. Raven wrote:
 Can anyone please tell me where the kernel modules are located, and 
 where are they described? I ask this so that I can figure out which to 
 include/exclude in OPTIONS_OVERRIDE in /whatever/make.conf (separate 
 post).
 
 I'd hate to *guess* at what to include/exclude, that sounds sort of 
 risky..and I'm assuming there must be some method for doing this for 
 someone of my (thus far) hopelessly limited experience.
 
The kernel modules are located in the /usr/src/sys/modules directory.
I have determined what to use and not use by both reviewing the dmesg
output and doing a whatis on each module.  Running whatis on each
module seems to take forever but it is how I did it.  Maybe someone
else knows of a quicker way.

Here is the list of modules I have included in the MODULES_OVERRIDE
directive.
accf_data accf_http acpi agp aio amd aout bios cam cd9660 cd9660_iconv
cp crypto cryptodev dc dcons dcons_crom fdc fdescfs geom i2c io
libiconv linux lpt mac_biba mac_bsdextended mac_ifoff mac_lomac
mac_mls mac_none mac_partition mac_portacl mac_seeotheruids mac_stub
mac_test mem mii netgraph pccard ppbus ppi pps random rc rc4 re
rndtest safe sem sound speaker splash syscons sysvipc ubsa ufs ugen
uhid unionfs usb vesa vinum zlib

I've probably included more modules than I will ever use, but I think
it gives you an idea.  You will *definitely* want to modify the
modules to your specific hardware.

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


Re: Exporting mounted filesystems

2005-01-21 Thread Jan Branbergen
 Hi,
 
  i am running FBSD 4.10 and i am trying to export mounted
 filesystems ( usb
  stick and cdrom )
 
  currently there are 2 subdirs in /mnt: da0 and cdrom.
 From man exports :
 ... specifies the mount point(s) and export flags
 within
 one local server
  file system for one or more
 hosts.

I will try to clarify:

HOST1:

/etc/exports:
/mnt-network 192.168.1 -mask 255.255.255.0 -maproot=0

my /mnt contains 2 directories: da0 and cdrom

next, on this machine i mount a usb stick:
  mount_msdos /dev/da0s1 /mnt/da0 
or a CD
  mount_cd9660 /dev/acd0c /mnt/cdrom

HOST2:
however, when i mount this exported /mnt on another machine ( mount_nfs 
HOST1:/mnt /mnt ), i do not see the mounted CD or usbstick, just the plain 
empty da0 and cdrom directories. i can see the files on the CD and usbstick on 
the local machine fine.

even if i mount the CDROM directly onto /mnt
   mount_cd9660 /dev/acd0c /mnt

i still see just the underlying filesystem ( with 2 empty dirs: da0 and cdrom )

what am I doing wrong? 

regards,

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


Re: Exporting mounted filesystems

2005-01-21 Thread Sergey Zaharchenko
On Fri, Jan 21, 2005 at 08:27:00PM +0100,
 Jan Branbergen probably wrote:
Content-Description: body
  Hi,
  
   i am running FBSD 4.10 and i am trying to export mounted
  filesystems ( usb
   stick and cdrom )
  
   currently there are 2 subdirs in /mnt: da0 and cdrom.
  From man exports :
  ... specifies the mount point(s) and export flags
  within
  one local server
   file system for one or more
  hosts.
 
 I will try to clarify:
 
 HOST1:
 
 /etc/exports:
 /mnt-network 192.168.1 -mask 255.255.255.0 -maproot=0
 
 my /mnt contains 2 directories: da0 and cdrom
 
 next, on this machine i mount a usb stick:
   mount_msdos /dev/da0s1 /mnt/da0 

You export a filesystem, not a directory with its subdirectories. You
need to export /mnt/da0 etc. explicitly it /etc/exports.

-- 
DoubleF
Always remember that you are unique.  Just like everyone else.


pgpzqNnswrBLh.pgp
Description: PGP signature


Unattended 5.3 install post-configuration problem.

2005-01-21 Thread David Robillard
Hello everyone,

I've setup an unattended automatic FreeBSD-5.3 install server. Clients
boot via PXE and receive the OS in around 15 minutes using a
sysinstall(8) script.

I need to perfom post-install configuration, so I wrote a
post_install.sh shell script which is called at the end of the
sysinstall(8) script.

My problem is that I can't get my post-install script to modify
rc.conf(5) because sysinstall(8) re-writes the file and removes 
my configurations (all lines from rc.conf(5) starts with `#REMOVE' ).

The sysinstall(8) man page only says:

This utility may edit the contents of /etc/rc.conf, /etc/hosts, and
 /etc/resolv.conf as necessary to reflect changes in the network
configuration.

How can I prevent or circumvent this feature of sysinstall???

Any help would be really appreciated.

Here are the files:

# From sysinstall(8) install.cfg:
#
command=/stand/post_install.sh
system


# From /stand/post_install.sh
#
cat - END  /tmp/a
# rc.conf
#
# Please make all changes to this file, not to
/etc/defaults/rc.conf.
# This file now contains just the overrides from
/etc/defaults/rc.conf.
#
# David Robillard, December 13th, 2004

check_quotas=YES  # Check quotas.
hostname=hostname.domain.com  # Hostname.
ifconfig_bge0=inet 192.168.1.1 netmask 255.255.255.0  #
Configure NIC bge0.
keyrate=normal# Set normal keyboard
repeatrate.
nisdomainname=NO  # We don't run NIS.
saver=blank   # Blank screen when idle.
scrnmap=NO# Screen map in
/usr/share/syscons/scrnmaps/*
sshd_enable=YES   # Start sshd(8).
usbd_enable=YES   # Start usbd(8).
tcp_drop_synfin=YES   # Prevent OS finger printing.
sendmail_enable=NO# Bind sendmail(8) to locahost
only.
syslogd_enable=YES# Start syslogd(8).
syslogd_flags=-ss # Receive syslogd(8) from local
machine only.
inetd_enable=NO   # Don't run inetd(8).
icmp_drop_redirect=YES# Drop ICMP redirect.
icmp_log_redirect=YES # Log dropped ICMP redirect.
clear_tmp_enable=YES  # Clear /tmp at startup.
update_motd=NO# Don't update motd(5) at
startup.

# EOF
END

mv /tmp/a /root/rc.conf
cp /root/rc.conf /etc/rc.conf



Cheers,

David

--
David Robillard
UNIX systems administrator
[EMAIL PROTECTED]
+1 514 966 0122



--
David Robillard
UNIX systems administrator
[EMAIL PROTECTED]
+1 514 966 0122

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


Re: ftp/fetch can not connect to ftp sites.

2005-01-21 Thread laffer1

On Fri, 21 Jan 2005, Lowell Gilbert wrote:
It sounds like you have a new firewall (intentionally or not) in the
form of your cable modem.  Why do you have the portrange set low?
The fact that you apparently have similar problems under other
operating systems may indicate that FreeBSD can't actually solve this
for you.  If your cable modem is doing firewalling (or, even more
insidious, NAT) without your knowledge, then you will need to
understand just how it is configured before you can make any progress
at all.
--
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/

Thanks for the reply!  I set the port range low because i was following an 
ipfw tutorial when i set it up. I probably should change that :)

Other operating systems work fine actually.  I found the problem last 
night.  I had changed the /etc/services file a few months ago to try to 
get a friend to connect to the ftp server because he was behind a weird 
firewall.  I forgot about it. So by default fetch and ftp (cli) would use 
port 9000 instead of port 21.  I feel a bit stupid on this one!  I didn't 
realize that fetch and ftp used the value from /etc/services.  After 
fixing that I was able to update some ports.

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


Webmin setup?

2005-01-21 Thread SigmaX
Hey;
I just installed FreeBSD 5.3 on my old Celeron testbed/backup server 
(First-time FreeBSD user here, Linux before).  I did 'pkg_add -r webmin' 
to install webmin, and I added 'webmin_enable=YES' to /etc/rc.conf, 
but haven't a clue what to do now to set it up.
   Any help?
Thanx,
 SigmaX
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Webmin setup?

2005-01-21 Thread albi

 I just installed FreeBSD 5.3 on my old Celeron testbed/backup server
 (First-time FreeBSD user here, Linux before).  I did 'pkg_add -r webmin'
 to install webmin, and I added 'webmin_enable=YES' to /etc/rc.conf,
 but haven't a clue what to do now to set it up.

the /usr/ports/sysutils/webmin/pkg-message says the following :

===

To reconfigure webmin you should
run the following command as root:

  ${LOCALBASE}/lib/webmin/setup.sh

You won't have to perform this step
after every webmin upgrade.

Since 1.150_2, to run webmin from
startup, add webmin_enable=YES
in your /etc/rc.conf.

===


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


1st degree verbal assault and battery hate crime at Applebees

2005-01-21 Thread PC GURU
Hello [EMAIL PROTECTED], 

Happy New Year to you.

Well, I ended 2004 by being called a nigger several times by a white 
terrorist in APPLEBEES on December 30.  The reason I'm posting you is to seek 
your advice as to what rights I have in a violent verbal assault,  and hate 
crime situation like this. What would you do if something this devilish had 
happened to you? 

This is the second time this has happened to me in the same Applebees. The 
first time was about five years ago when I overheard a professional person  
using the N word to a white woman friend of his as they sat across from me at 
the bar. 

She was telling him that she had found a new boyfriend and thought that things 
were going to work out well for her. The fellow looked at her and then said I 
hope he's not a nigger I was astounded that he had said something so lowlife 
in a full club with about 20 people sitting at the bar and the rest of the 
tables nearby full as well. 

The bartender had been living with an African American male for over five years 
at the time. She looked astounded, and turned to me as if she couldn't believe 
her ears. I turned to the white people on each side of me, and asked them if 
they were going to say something to the person. They are always saying that 
they are not prejudiced. so this would have been the perfect time for some of 
them to back up their words with action.

 They did nothing! They just looked at each other in that silly HUH Head look 
that they utilize when they run into an idea that they had never considered 
before on the subject of race. The manager did come out and ask him to leave. 
He did so and to my knowledge he has never gone back. I have seen the fellow in 
other clubs where the clientele is more receptive to his modo di pensare. I did 
nothing official that time. This time I'm trying to determine what the best way 
to proceed would be. Here are most of the facts as to what occurred last 
Thursday, the 30th of December 2004.

I went out to Applebees here in Cape Girardeau, Missouri around 2100. I sat on 
the north end of the bar next to several young white women. One of them was 
named VanMater from the Buick family here. I talked to them about various 
subjects for about 30 minutes and bought them some Frangelico. They had never 
tasted it so I thought I would let them sample something different since they 
were kind enough to talk to me a 58 year young African American. Most whites 
won't.

Then they left and a friend of mine from Birmingham Alabama called me on his 
cell phone. We talked for about fifteen minutes about the state of the world 
and how savage, and inhumane so many Americans are in their thinking when it 
comes to how they view others around the world.

Out of the corner of my right eye, I notice the young blond white woman to my 
right pushing a picture of a cute bi-racial child towards me. I picked it up 
and looked at it. Then I complimented the female on having a little girl that 
was so cute. After a few more minutes of talking to my friend, I hung up and 
started talking to the young blonde white woman, her female friend next to her, 
and her Canadian boyfriend to her right.

The blonde's name was what it is. She said she was a hair stylist at a salon 
here.  I was telling them about how my cousin owned the Harlem Globetrotter 
basketball team, and how there had been a couple of streets named after my 
mothers family around here. I was basically giving them a quick history on some 
black folks who were highly respected in this area.

After about twenty minutes or so this 40ish white ball cap wearing, truck 
driver looking white fellow across the bar asked me when we had graduated from 
high school. I told him when I had graduated, and then N told him when she 
graduated. The white supremacist then said One of you is right, and one of you 
is a fucking nigger

 I picked up my cell phone and called the police as the Applebees manager was 
not on the scene. I had no idea what that piece of white trash would do next. 
After a few minutes Ed, the manager came over to the WS, and told him that he 
had to leave the club.

The fellow got up and slowly walked toward the door selling wolf tickets all 
the way. The policeman arrived and he stood in the vestibule and talked to the 
manager of Applebees. He never came over and asked me anything; nor did he 
advise me of my rights in that situation.

I'm one of the charter members of Applebees here. I have been going there since 
about six months after they opened in 1991, and I've never had a serious 
incident like this one 

So I went back to talking to the three people. Now of course we were talking 
about the white supremacist and his actions. One white 20ish female caught my 
eye, grinned and gave me the thumbs up sign. Apparently she was happy that he 
was gone.

 After about 20 minutes, another young white female stopped behind me and told 
me that the fellow was still in the parking lot in his truck. None of the 

Re: QLogic 2312

2005-01-21 Thread Eduardo Viruena Silva
On Fri, 21 Jan 2005, Jason Henson wrote:

 On 01/20/05 18:33:04, Eduardo Viruena Silva wrote:
 
 
  Hello FreeBSD gurus!
  I have a question for you.
 
  We have a small mounster: HP Proliant BL20
  two Xeon processors, 2Gb RAM, QLogic SCSI
  2312, and some other scary characteristics.
 
  Now, I installed FreeBSD 5.3-RELEASE almost
  accidentally.  I mean, it seemed to me that
  our computer got frozen when it was booting
  with the FreeBSD CDROM, no, it didn't,
  it was just taking 10 minutes to check the
  scsi card.
 
  My kernel boot log says:
 
  Copyright (c) 1992-2004 The FreeBSD Project.
  Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
  1994
  The Regents of the University of California. All rights
  reserved.
  FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 
  ...
 
  isp0: Qlogic ISP 2312 PCI FC-AL Adapter port 0x3000-0x30ff mem
  0xf7dd-0xf7dd0fff irq 11 at device 3.0 on pci1
  isp0: [GIANT-LOCKED]
  isp0: Polled Mailbox Command (0x2) Timeout
  isp0: Polled Mailbox Command (0x8) Timeout
  device_attach: isp0 attach returned 6
  isp1: Qlogic ISP 2312 PCI FC-AL Adapter port 0x3400-0x34ff mem
  0xf7dc-0xf7dc0fff irq 11 at device 3.1 on pci1
  isp1: [GIANT-LOCKED]
  isp1: Polled Mailbox Command (0x2) Timeout
  isp1: Polled Mailbox Command (0x8) Timeout
  device_attach: isp1 attach returned 6
 
  There, in the GIANT-LOCKEDs and timeouts...
 
  Now, my computer boots ok, but the booting process
  takes 20 minutes!!!
 
  I also cvsup-graded my computer, built world, installed it,
  customized my kernel, installed it.  Now the kernel
  reports to be FreeBSD 5.3-RELEASE-p5 but still takes
  20 minutes to boot.
 
  My questions are:
WHY it takes so long?
Can I do something to fix this problem?


 Did a google for isp0: Polled Mailbox Command (0x2) Timeout and the
 3rd item to come up was, I think, your answer.

 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=15842+0+archive/2001/freebsd-scsi/20010729.freebsd-scsi

 It says you need to load the firmware for your scsi from /boot/
 loader.conf to boot.



Effectively, I enabled the ROM of our scsi cards and everything
worked ok.  The only problem was that disc 0 became disc 2...
I do not know why.  It was, in my opinion a simple problem I can live
with, that only took 1 minute to solve by changing my /etc/fstab.

Thanks Jason!

Thanks list.


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


options PREEMPTION: system failure issue?

2005-01-21 Thread O. Hartmann
Hello.
I have a very simple question about the kernel options
options PREEMPTION
options MUTEX_WAKE_ALL
Have they performance penalties, stability issues in FreeBSD 5.3 
(especially SMP
environment but also in UP environment)?

PREEMPTION ist listet in NOTES as a debuggin option but discussed 
prior here as
a performance boost.

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


What Port Installs /usr/local/lib/libiconv.la?

2005-01-21 Thread Drew Tomlinson
I'm attempting to upgrade the libiconv port from 1.9.1 to 1.9.2 but keep 
getting this error:

libtool15: link: cannot find the library `/usr/local/lib/libiconv.la'
A 'ls' of /usr/local/lib confirms this file doesn't exist.  What port 
should I install to get this file?  Seems like it is part of this port, 
as I see several references to it in the build output.  However I don't 
see any error regarding it other than the one above.  My complete build 
output can be viewed here:

http://drew.mykitchentable.net/libiconv.log
Thanks for your help!
Drew
--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!
http://www.alchemistswarehouse.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 1st degree verbal assault and battery hate crime at Applebees

2005-01-21 Thread Paul Schmehl
--On Friday, January 21, 2005 03:27:29 PM -0600 PC GURU 
[EMAIL PROTECTED] wrote:
I would really appreciate it if you would take a few minutes of your time
to think about this and then email me back with your suggestions if you
think there is a fair and just remedy for me here.
1) Why are you posting this to freebsd-questions?  Read the charter.  This 
isn't a self-help group.

2) Before removing the mote in your neighbor's eye, first remove the beam 
from your own.  (white trash?  They?  Most whites?)

3) This is America.  You know, free speech and all that sort of stupid 
stuff.

4) Apparently all the white chicks love you.  So at least half of your 
enemies are your friends.

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


Re: options PREEMPTION: system failure issue?

2005-01-21 Thread Jay
On Fri, Jan 21, 2005 at 10:59:26PM +0100, O. Hartmann wrote:
 Have they performance penalties, stability issues in FreeBSD 5.3 
 (especially SMP
 environment but also in UP environment)?

I would bet a month's salary that they have performance penalties.
There's a lot of overhead associated with most of the for debugging
options in the kernel.

If you don't know why you need one of those options, you probably don't
need them.  (Now, if you're running -CURRENT, it's a different story,
but if you're running -CURRENT, you should know if you need them).


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


FreeBSD 5.3 I/O Performance / Linux 2.6.10

2005-01-21 Thread Nick Pavlica
All,
  I have been evaluating operating systems/filesystems for an upcoming
web application service.  Like most web applications, it will rely
heavily on the database and disk I/O.  We have decided to use
Postgresql  for our database needs, but haven't finalized our OS
choice.  I have been testing the I/O performance of FreeBSD 5.3 and
Fedora C3(XFS,EXT3).  To be sure that I was using up to date versions
of each OS I performed a cvsup and rebuilt the kernel (GENERIC) during
the FBSD setup, and a yum update on the Linux install.

Being fairly new to FreeBSD I was testing it as a matter of due
diligence, however after using it for a few days it really started to
grow on me.  I was generally impressed with my overall experiance. 
However,  after performing a number of I/O and Postgresql tests on
different equipment, the performance proved to be considerably faster
when using Fedora.  Fedora with XFS was the clear performance winner
in every test, followed by Fedora with EXT3, then FreeBSD.  I was
surprised to find such a dramatic difference between Fedora with XFS
and FreeBSD.  In almost every test Fedora(XFS) was  dramatically
faster performing the exact same operations on the same hardware.  My
best guess, is that FreeBSD 5.3 + updates is still in need of some
performance tuning.

Are there any good reasons for such a difference.  Your thoughts are
appreciated.

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


Re: location of kernel modules

2005-01-21 Thread Colin J. Raven
On Jan 21 at 14:27, Gardner Bell launched this into the bitstream:

 On Fri, Jan 21, 2005 at 04:02:57PM +0100 Colin J. Raven wrote:
 Can anyone please tell me where the kernel modules are located, and
 where are they described? I ask this so that I can figure out which to
 include/exclude in OPTIONS_OVERRIDE in /whatever/make.conf (separate
 post).

 I'd hate to *guess* at what to include/exclude, that sounds sort of
 risky..and I'm assuming there must be some method for doing this for
 someone of my (thus far) hopelessly limited experience.

 The kernel modules are located in the /usr/src/sys/modules directory.
 I have determined what to use and not use by both reviewing the dmesg
 output and doing a whatis on each module.  Running whatis on each
 module seems to take forever but it is how I did it.  Maybe someone
 else knows of a quicker way.

a...module_location+dmesg_output+whatis - PERFECT!
That's enough to get rolling - GREAT!!!

 Here is the list of modules I have included in the MODULES_OVERRIDE
 directive.
 accf_data accf_http acpi agp aio amd aout bios cam cd9660 cd9660_iconv
 cp crypto cryptodev dc dcons dcons_crom fdc fdescfs geom i2c io
 libiconv linux lpt mac_biba mac_bsdextended mac_ifoff mac_lomac
 mac_mls mac_none mac_partition mac_portacl mac_seeotheruids mac_stub
 mac_test mem mii netgraph pccard ppbus ppi pps random rc rc4 re
 rndtest safe sem sound speaker splash syscons sysvipc ubsa ufs ugen
 uhid unionfs usb vesa vinum zlib

 I've probably included more modules than I will ever use, but I think
 it gives you an idea.  You will *definitely* want to modify the
 modules to your specific hardware.

Thanks for that!
Unusually the handbook seemed somewhat sparse on such details, but to 
balance that out, there's obviously a finite limit on what they can and 
can't include. My problem was (paraphrased) I've hacked on MYKERNEL 
config file, read up on the traditional vs 'new way kernel 
building/installation *BUT* ...next comes modules, _now what_? and 
you've given me a great shot at understanding the next step, which is 
just as vital as those steps preceding it.

Terrific stuff, tonight is reading|reading|and_more_reading.

Much appreciated,

Regards,
-Colin
--
Colin J. Raven
FreeBSD 5.3-RELEASE - http://www.FreeBSD.org - There can be only One
Fri Jan 21 23:20:00 CET 2005
11:20PM  up 1 day, 12:10, 5 users, load averages: 0.00, 0.00, 0.00
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: 1st degree verbal assault and battery hate crime at Applebees

2005-01-21 Thread Tom Connolly
Paul Schmehl wrote:
 --On Friday, January 21, 2005 03:27:29 PM -0600 PC GURU
 [EMAIL PROTECTED] wrote:
 
 I would really appreciate it if you would take a few minutes of your
 time to think about this and then email me back with your suggestions
 if you think there is a fair and just remedy for me here.
 
 1) Why are you posting this to freebsd-questions?  Read the charter. 
 This 
 isn't a self-help group.
 
 2) Before removing the mote in your neighbor's eye, first remove the
 beam 
 from your own.  (white trash?  They?  Most whites?)
 
 3) This is America.  You know, free speech and all that sort of stupid
 stuff.
 
 4) Apparently all the white chicks love you.  So at least half of your
 enemies are your friends.
 


Well Said!

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


Re: 1st degree verbal assault and battery hate crime at Applebees

2005-01-21 Thread Pablo Allietti
On Fri, Jan 21, 2005 at 04:07:24PM -0600, Paul Schmehl wrote:
 --On Friday, January 21, 2005 03:27:29 PM -0600 PC GURU 
 [EMAIL PROTECTED] wrote:
 

i think this is a SPAM dont worry paul just filter his address.


 I would really appreciate it if you would take a few minutes of your time
 to think about this and then email me back with your suggestions if you
 think there is a fair and just remedy for me here.
 
 1) Why are you posting this to freebsd-questions?  Read the charter.  This 
 isn't a self-help group.
 
 2) Before removing the mote in your neighbor's eye, first remove the beam 
 from your own.  (white trash?  They?  Most whites?)
 
 3) This is America.  You know, free speech and all that sort of stupid 
 stuff.
 
 4) Apparently all the white chicks love you.  So at least half of your 
 enemies are your friends.
 
 Paul Schmehl ([EMAIL PROTECTED])
 Adjunct Information Security Officer
 The University of Texas at Dallas
 AVIEN Founding Member
 http://www.utdallas.edu
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
---end quoted text---

-- 


Pablo Allietti
LACNIC
--

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


Re: 1st degree verbal assault and battery hate crime at Applebees

2005-01-21 Thread Frank Laszlo
Tom Connolly wrote:
Paul Schmehl wrote:
 

--On Friday, January 21, 2005 03:27:29 PM -0600 PC GURU
[EMAIL PROTECTED] wrote:
   

I would really appreciate it if you would take a few minutes of your
time to think about this and then email me back with your suggestions
if you think there is a fair and just remedy for me here.
 

1) Why are you posting this to freebsd-questions?  Read the charter. 
This 
isn't a self-help group.

2) Before removing the mote in your neighbor's eye, first remove the
beam 
from your own.  (white trash?  They?  Most whites?)

3) This is America.  You know, free speech and all that sort of stupid
stuff.
4) Apparently all the white chicks love you.  So at least half of your
enemies are your friends.
   


Well Said!
 

I recived one of these to my personal address. looks like spam maybe.
__
Frank Laszlo
System Administrator
The VonOstin Group
Email:  [EMAIL PROTECTED]
WWW:http://www.vonostingroup.com
Mobile: 248-863-7584
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 1st degree verbal assault and battery hate crime at Applebees

2005-01-21 Thread Chris
Tom Connolly wrote:
Paul Schmehl wrote:
--On Friday, January 21, 2005 03:27:29 PM -0600 PC GURU
[EMAIL PROTECTED] wrote:
I would really appreciate it if you would take a few minutes of your
time to think about this and then email me back with your suggestions
if you think there is a fair and just remedy for me here.
1) Why are you posting this to freebsd-questions?  Read the charter. 
This 
isn't a self-help group.

2) Before removing the mote in your neighbor's eye, first remove the
beam 
from your own.  (white trash?  They?  Most whites?)

3) This is America.  You know, free speech and all that sort of stupid
stuff.
4) Apparently all the white chicks love you.  So at least half of your
enemies are your friends.

Well Said!
Why is there such a huge influx of idiots as of late? Then the next 
million dollar question, why?

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


Re: 1st degree verbal assault and battery hate crime at Applebees

2005-01-21 Thread cali
This is the wierdest spam I have ever seen, maybe it is to solicit responses 
to harvest email addresses for a particular kind of targeted advertising. Or 
maybe a ludicrous attempt at trolling.

cali

Hello [EMAIL PROTECTED],
Happy New Year to you.
Well, I ended 2004 by being called a nigger several times by a white 
terrorist in APPLEBEES on December 30.  The reason I'm posting you is to 
seek your advice as to what rights I have in a violent verbal assault, 
and hate crime situation like this. What would you do if something this 
devilish had happened to you?

This is the second time this has happened to me in the same Applebees. The 
first time was about five years ago when I overheard a professional person 
using the N word to a white woman friend of his as they sat across from 
me at the bar.

She was telling him that she had found a new boyfriend and thought that 
things were going to work out well for her. The fellow looked at her and 
then said I hope he's not a nigger I was astounded that he had said 
something so lowlife in a full club with about 20 people sitting at the 
bar and the rest of the tables nearby full as well.

The bartender had been living with an African American male for over five 
years at the time. She looked astounded, and turned to me as if she 
couldn't believe her ears. I turned to the white people on each side of 
me, and asked them if they were going to say something to the person. They 
are always saying that they are not prejudiced. so this would have been 
the perfect time for some of them to back up their words with action.

They did nothing! They just looked at each other in that silly HUH Head 
look that they utilize when they run into an idea that they had never 
considered before on the subject of race. The manager did come out and ask 
him to leave. He did so and to my knowledge he has never gone back. I have 
seen the fellow in other clubs where the clientele is more receptive to 
his modo di pensare. I did nothing official that time. This time I'm 
trying to determine what the best way to proceed would be. Here are most 
of the facts as to what occurred last Thursday, the 30th of December 2004.

I went out to Applebees here in Cape Girardeau, Missouri around 2100. I 
sat on the north end of the bar next to several young white women. One of 
them was named VanMater from the Buick family here. I talked to them 
about various subjects for about 30 minutes and bought them some 
Frangelico. They had never tasted it so I thought I would let them sample 
something different since they were kind enough to talk to me a 58 year 
young African American. Most whites won't.

Then they left and a friend of mine from Birmingham Alabama called me on 
his cell phone. We talked for about fifteen minutes about the state of the 
world and how savage, and inhumane so many Americans are in their thinking 
when it comes to how they view others around the world.

Out of the corner of my right eye, I notice the young blond white woman to 
my right pushing a picture of a cute bi-racial child towards me. I picked 
it up and looked at it. Then I complimented the female on having a little 
girl that was so cute. After a few more minutes of talking to my friend, I 
hung up and started talking to the young blonde white woman, her female 
friend next to her, and her Canadian boyfriend to her right.

The blonde's name was what it is. She said she was a hair stylist at a 
salon here.  I was telling them about how my cousin owned the Harlem 
Globetrotter basketball team, and how there had been a couple of streets 
named after my mothers family around here. I was basically giving them a 
quick history on some black folks who were highly respected in this area.

After about twenty minutes or so this 40ish white ball cap wearing, truck 
driver looking white fellow across the bar asked me when we had graduated 
from high school. I told him when I had graduated, and then N told him 
when she graduated. The white supremacist then said One of you is right, 
and one of you is a fucking nigger

I picked up my cell phone and called the police as the Applebees manager 
was not on the scene. I had no idea what that piece of white trash would 
do next. After a few minutes Ed, the manager came over to the WS, and told 
him that he had to leave the club.

The fellow got up and slowly walked toward the door selling wolf tickets 
all the way. The policeman arrived and he stood in the vestibule and 
talked to the manager of Applebees. He never came over and asked me 
anything; nor did he advise me of my rights in that situation.

I'm one of the charter members of Applebees here. I have been going there 
since about six months after they opened in 1991, and I've never had a 
serious incident like this one

So I went back to talking to the three people. Now of course we were 
talking about the white supremacist and his actions. One white 20ish 
female caught my eye, grinned and gave me the thumbs up sign. 

RE: 1st degree verbal assault and battery hate crime at Applebees

2005-01-21 Thread Tom Connolly
 
 Well Said!
 
 Why is there such a huge influx of idiots as of late? Then the next
 million dollar question, why?

They're really starting to come out in force as of late aren't they?

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


Re: 1st degree verbal assault and battery hate crime at Applebees

2005-01-21 Thread Paul Schmehl
--On Friday, January 21, 2005 05:41:05 PM -0500 Frank Laszlo 
[EMAIL PROTECTED] wrote:
I recived one of these to my personal address. looks like spam maybe.
Oh great.  So now we're getting spam that serves no purpose at all?
Gotta love the internet
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What Port Installs /usr/local/lib/libiconv.la?

2005-01-21 Thread Michael C. Shultz
On Friday 21 January 2005 02:03 pm, Drew Tomlinson wrote:
 I'm attempting to upgrade the libiconv port from 1.9.1 to 1.9.2 but
 keep getting this error:

 libtool15: link: cannot find the library `/usr/local/lib/libiconv.la'

 A 'ls' of /usr/local/lib confirms this file doesn't exist.  What port
 should I install to get this file?

 Seems like it is part of this 
 port, as I see several references to it in the build output.  However
 I don't see any error regarding it other than the one above.  My
 complete build output can be viewed here:

 http://drew.mykitchentable.net/libiconv.log

 Thanks for your help!

 Drew
yours FreeBSD 4.11???:
if [ ! -d /usr/local/bin ] ; 
then /bin/sh ../autoconf/mkinstalldirs /usr/local/bin ; fi
case freebsd4.11 in  hpux*) cc  `if test -n ''; then  /usr/local/bin; 
fi` iconv.o ../srclib/libicrt.a -L/usr/local/lib -liconv  -o iconv;;  
*) /bin/sh /usr/local/bin/libtool15 --mode=link cc  `if test -n ''; 
then  /usr/local/bin; fi` 
iconv.o ../srclib/libicrt.a /usr/local/lib/libiconv.la  -o iconv;;  
esac

mine FreeBSD 5.3:
if [ ! -d /usr/local/bin ] ; 
then /bin/sh ../autoconf/mkinstalldirs /usr/local/bin ; fi
case freebsd5.3 in  hpux*) cc  `if test -n ''; then  /usr/local/bin; 
fi` iconv.o ../srclib/libicrt.a -L/usr/local/lib -liconv  -o iconv;;  
freebsd*) /bin/sh /usr/local/bin/libtool15 --mode=link cc  `if test -n 
''; then  /usr/local/bin; fi` 
iconv.o ../srclib/libicrt.a ../lib//libiconv.la  -o iconv;;  
*) /bin/sh /usr/local/bin/libtool15 --mode=link cc  `if test -n ''; 
then  /usr/local/bin; fi` 
iconv.o ../srclib/libicrt.a /usr/local/lib/libiconv.la  -o iconv;;  
esac


Your running FreeBSD 4.11 it looks like, it installs fine on FreeBSD 5.3 
Stable. I'm cc'ing th maintainer [EMAIL PROTECTED] for you to let him
know there may be a problem on 4.11 with the port.

-Mike


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


  1   2   >