Re: sound card and freebsd v7.0

2008-09-26 Thread Ian Smith
On Sat, 27 Sep 2008 09:44:07 +1000 jonathan michaels <[EMAIL PROTECTED]> wrote:
 > On Fri, Sep 26, 2008 at 08:52:42AM +0200, Bernt Hansson wrote:
 > > jonathan michaels:
 > > 
 > > > 
 > > > Sep 26 13:26:46 hostid kernel: pci0:  at device 4.3 (no driver 
 > > > attached)
 > > > Sep 26 13:26:46 hostid kernel: csa0: 
 > > >  mem 
 > > > 0xf410-0xf4100fff,0xf400-0xf40f irq 10 at device 6.0 on pci0
 > > > Sep 26 13:26:46 hostid kernel: csa: card is Unknown/invalid SSID (CS4614)
 > > > Sep 26 13:26:46 hostid kernel: csa0: [GIANT-LOCKED]
 > > > Sep 26 13:26:46 hostid kernel: csa0: [ITHREAD]
 > > > Sep 26 13:26:46 hostid kernel: pcm0:  on csa0
 > > > Sep 26 13:26:46 hostid kernel: pcm0: 
 > > > Sep 26 13:26:46 hostid kernel: pcm0: [GIANT-LOCKED]
 > > > Sep 26 13:26:46 hostid kernel: pcm0: [ITHREAD]
 > > > 
 > > > i enabled all teh sound drivers on boot and this is what is in teh
 > > > /var/log/messages said aboutt he sound card.
 > > 
 > > How did you enable the sounddriver?
 > 
 > after the initial install, i created/editied a /boot/loader.conf.local
 > file to enable all teh sound drivers to see which one came up as being
 > the one .. grin.
[..]
 > > What is the output of cat /dev/sndstat?
 > 
 > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
 > Installed devices:
 > pcm0:  at irq 10 kld snd_csa [GIANT] (1p:1v/1r:1v channels 
 > duplex default)

Right, so you should only need snd_csa_load="YES" in /boot/loader.conf, 
assuming you have a GENERIC kernel that already has 'device sound'; if 
not, you may also need sound_load="YES".

If you set 'sysctl hw.snd.verbose=2' manually or have 'hw.snd.verbose=2' 
in /etc/sysctl.conf, you'll get more info out of 'cat /dev/sndstat', 
which someone might need if you're still having problems with sound.

 > > > the drive is a 120 gb hitachi deskstar .. linux (several of teh most
 > > > recent distributions, ubuntu/centos/fedora sees it as a 120 gb, as
 > > > dose solaris v10/v11 but freebsd calls it a 114 gb drive
 > > 
 > > That's quite simple, freebsd calls it for what it is a 114 Gb disk.
[..]

 > i do not understand this .. i mean i do not understant how freebsd can
 > take a drive with the cylinders/heads/sectors that produces xxx million
 > sectors that muitiplied by 512 bytes producs 120 gb (real gb) solaris
 > also identifies this as a 120 gb drive as do several linux distrinutions
 > (centos and ubuntu based).

I think you're perhaps referring to what df tells you about free space? 
Remember that UFS reserves, by default, 8% of a slice for system use or 
overcommitment by root.  So a 120GB drive, all allocated to one slice, 
newfs'd, you'd expect df to show you around 110GB.  If you actually fill 
it up, from a root process, you'd see the oft-dreaded '108% capacity' :)

Assuming for example that your disk is /dev/ad0, show us the output of 
'fdisk -s ad0'.  Then, for any slice/s (X) having FreeBSD type 0xa5, 
show result of 'bsdlabel ad0sX'.  The sector maths should then work out.

 > could this be a "lba" confusion/issue between teh drive/bios/freebsd 
 > interpretation ?? it is a term i recall from earlier, when thes kinds 
 > of drives first appeared and casued significant consternations for 
 > everybody not just freebsd. it is a problems as far as i have several 
 > of thes drives to be putting into several 'server' machines where 
 > this kind of freespace 'loss' would become an issue --- hardware 
 > density, as in drivers per terabyte leading to power consumption/space
 > and heating conciderations in raid arrays (five and ten drive rack)s

>From memory, all disks over ~8GB need LBA addressing.  It's been a long 
while since the LBA vs CHS setup was an issue, which is why on modern 
disks you should always ignore sysinstall's archaic whinging about the 
geometry, and just use what's originally detected, ie leave it alone.

 > this is not a 'real' problem as 95 gb (whats left after install from a
 > 114 gb start point) is more than enough for this boxes task-load. it is
 > that i find this a bit confusing/interesting, esp given that fresbie
 > v1.1 aslo sees this as a 120 gb drive ???  just interested in fiding
 > out what is going on and if this is a pointer to future hardware
 > mis-identification --- i understand the difference between "real"
 > gigabytes and "marketing department" gigabytes

The fdisk and bsdlabel outputs will tell the true story.  If, as you 
suggested earlier, you did enter a different geometry, you might have 
lost some real space, so also show us 'fdisk ad0 | grep cylinders'

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


7.1-PRELEASE sporadically panicking with fatal trap 12

2008-09-26 Thread John L. Templer
I'm running 7.1-PRERELEASE, with /usr/src and /usr/ports last csup-ed 
just a few days ago.  After being up for about a day or so the system 
will panic because of a page fault.  I'm not completely sure, but it 
seems that the system is more stable when gdm and gnome are disabled in 
rc.conf.  At least it stayed up for several days when I did that.


I've run memtest several times, so I'm pretty confident it's not a 
memory problem.  Also the stack trace is always the same, so I'm 
thinking it's not hardware related.


I've attached a stack trace from kgdb, and the output from dmesg.  I'd 
appreciate any help you could give me with this.
/var/crash# kgdb -n 5
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...

Unread portion of the kernel message buffer:
acd1: WARNING - READ_TOC read data overrun 18>12


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x188
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc0782714
stack pointer   = 0x28:0xe52aec00
frame pointer   = 0x28:0xe52aec18
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 18 (swi6: task queue)
trap number = 12
panic: page fault
cpuid = 0
Uptime: 8h10m38s
Physical memory: 1779 MB
Dumping 195 MB: 180 164 148 132 116 100 84 68 52 36 20 4

Reading symbols from /boot/kernel/sound.ko...Reading symbols from 
/boot/kernel/sound.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/sound.ko
Reading symbols from /boot/kernel/snd_cmi.ko...Reading symbols from 
/boot/kernel/snd_cmi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/snd_cmi.ko
Reading symbols from /boot/kernel/acpi.ko...Reading symbols from 
/boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/linux.ko...Reading symbols from 
/boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /usr/local/modules/fuse.ko...done.
Loaded symbols for /usr/local/modules/fuse.ko
Reading symbols from /boot/kernel/mach64.ko...Reading symbols from 
/boot/kernel/mach64.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/mach64.ko
Reading symbols from /boot/kernel/drm.ko...Reading symbols from 
/boot/kernel/drm.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/drm.ko
#0  doadump () at pcpu.h:196
196 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) backtrace
#0  doadump () at pcpu.h:196
#1  0xc078fae7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc078fda9 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:572
#3  0xc0aa174c in trap_fatal (frame=0xe52aebc0, eva=392)
at /usr/src/sys/i386/i386/trap.c:939
#4  0xc0aa19d0 in trap_pfault (frame=0xe52aebc0, usermode=0, eva=392)
at /usr/src/sys/i386/i386/trap.c:852
#5  0xc0aa238c in trap (frame=0xe52aebc0) at /usr/src/sys/i386/i386/trap.c:530
#6  0xc0a8827b in calltrap () at /usr/src/sys/i386/i386/exception.s:159
#7  0xc0782714 in _mtx_lock_sleep (m=0xc4ff804c, tid=3302734576, opts=0, 
file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:339
#8  0xc078ed66 in _sema_post (sema=0xc4ff804c, file=0x0, line=0)
at /usr/src/sys/kern/kern_sema.c:79
#9  0xc0513350 in ata_completed (context=0xc4ff8000, dummy=1)
at /usr/src/sys/dev/ata/ata-queue.c:481
#10 0xc07c2e15 in taskqueue_run (queue=0xc4dbab80)
at /usr/src/sys/kern/subr_taskqueue.c:282
#11 0xc07c3123 in taskqueue_swi_run (dummy=0x0)
at /usr/src/sys/kern/subr_taskqueue.c:324
#12 0xc076f8db in ithread_loop (arg=0xc4dadb30)
at /usr/src/sys/kern/kern_intr.c:1088
#13 0xc076c449 in fork_exit (callout=0xc076f720 , 
arg=0xc4dadb30, frame=0xe52aed38) at /usr/src/sys/kern/kern_fork.c:804
---Type  to continue, or q  to quit---
#14 0xc0a882f0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:264
(kgdb) up 7
#7  0xc0782714 in _mtx_lock_sleep (m=0xc4ff804c, tid=3302734576, opts=0, 
file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:339
339 owner = (struct thread *)(v & ~MTX_FLAGMASK);
(kgdb) list
334  * If the owner is running on another CPU, spin until 
the
335  * owner stops running or the state of the lock changes.
336  */
337 v = m->mtx_lock;
338 if (v != MTX_UNOWNED) {
339 owner = (struct thread *)(v & ~MTX_FLAGMASK);
340 

Re: ethernet statistics

2008-09-26 Thread Ricardo Jesus

Abdullah Ibn Hamad Al-Marri wrote:

- Original Message 

  

From: Ricardo Jesus <[EMAIL PROTECTED]>
To: freebsd-questions@freebsd.org
Sent: Friday, September 26, 2008 10:50:59 PM
Subject: Re: ethernet statistics

Gian Paolo Buono wrote:


Hi,

try systat and  :ifstat

bye

On Thu, Sep 25, 2008 at 5:23 PM, Erik Osterholm <
[EMAIL PROTECTED]> wrote:

 
  

On Thu, Sep 25, 2008 at 04:39:35PM +0200, Vonarburg, David wrote:
   


Hi,
I am using Intel PRO/1000PT Server adaptor with freeBSD 7.0.
How can I read out the statistics of the card from software?
(num bytes received, packets sent and more)

Thanks in advance
David
 
  

Is netstat -i what you're looking for?

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

 
  

Hi,

I'd suggest vnStat.

I've posted a post on my blog a few days ago on how to set it up on 
FreeBSD: 
http://linux-bsd-sharing.blogspot.com/2008/09/howto-monitor-network-traffic-with.html


Best Regards.



I think there is small error with this port.

BB# vnstat -l
Monitoring eth0...(press CTRL-C to stop)

   getting traffic...Error:
Unable to get interface statistics.

Is it made to be used for linux as default?



 Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/


  
___

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

  

Hi Abdullah,

That's why you should specify the interface, like so:

alterran# vnstat -l -i rl0
Monitoring rl0...(press CTRL-C to stop)

  rx:   9.13 kB/s20 p/stx:  21.15 kB/s25 p/s

Best regards.

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


Re: sound card and freebsd v7.0

2008-09-26 Thread jonathan michaels
greetings, bernt,

thank you for the help ..

On Fri, Sep 26, 2008 at 08:52:42AM +0200, Bernt Hansson wrote:
> jonathan michaels:
> 
> > 
> > Sep 26 13:26:46 hostid kernel: pci0:  at device 4.3 (no driver 
> > attached)
> > Sep 26 13:26:46 hostid kernel: csa0:  
> > mem 0xf410-0xf4100fff,0xf400-0xf40f irq 10 at device 6.0 on pci0
> > Sep 26 13:26:46 hostid kernel: csa: card is Unknown/invalid SSID (CS4614)
> > Sep 26 13:26:46 hostid kernel: csa0: [GIANT-LOCKED]
> > Sep 26 13:26:46 hostid kernel: csa0: [ITHREAD]
> > Sep 26 13:26:46 hostid kernel: pcm0:  on csa0
> > Sep 26 13:26:46 hostid kernel: pcm0: 
> > Sep 26 13:26:46 hostid kernel: pcm0: [GIANT-LOCKED]
> > Sep 26 13:26:46 hostid kernel: pcm0: [ITHREAD]
> > 
> > i enabled all teh sound drivers on boot and this is what is in teh
> > /var/log/messages said aboutt he sound card.
> 
> How did you enable the sounddriver?

after the initial install, i created/editied a /boot/loader.conf.local
file to enable all teh sound drivers to see which one came up as being
the one .. grin.

then, i plan to redit teh /boot/loader.conf.local file to reflect teh
changes, after testing .. i am at teh testing stage .. still .

> What is the output of cat /dev/sndstat?

FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0:  at irq 10 kld snd_csa [GIANT] (1p:1v/1r:1v channels 
duplex default)

> What is the output of kldstat?

Id Refs AddressSize Name
 1   39 0xc040 906518   kernel
 2   35 0xc0d07000 4a5acsound.ko
 31 0xc0d52000 3730 snd_driver.ko
 42 0xc0d56000 5014 snd_ad1816.ko
 52 0xc0d5c000 56b0 snd_als4000.ko
 62 0xc0d62000 72f8 snd_atiixp.ko
 72 0xc0d6a000 5858 snd_cmi.ko
 82 0xc0d7 5820 snd_cs4281.ko
 93 0xc0d76000 8aec snd_csa.ko
102 0xc0d7f000 b890 snd_ds1.ko
112 0xc0d8b000 14d04snd_emu10kx.ko
122 0xc0da 90b0 snd_envy24.ko
134 0xc0daa000 2a58 snd_spicds.ko
142 0xc0dad000 80c8 snd_envy24ht.ko
152 0xc0db6000 8a5c snd_es137x.ko
162 0xc0dbf000 5ba4 snd_ess.ko
175 0xc0dc5000 4c44 snd_sbc.ko
182 0xc0dca000 4d60 snd_fm801.ko
193 0xc0dcf000 c330 snd_mss.ko
202 0xc0ddc000 14324snd_hda.ko
212 0xc0df1000 6f88 snd_ich.ko
222 0xc0df8000 9220 snd_maestro.ko
232 0xc0e02000 a3c4 snd_maestro3.ko
242 0xc0e0d000 116a0snd_neomagic.ko
252 0xc0e1f000 532c snd_sb16.ko
262 0xc0e25000 4c88 snd_sb8.ko
272 0xc0e2a000 5ef4 snd_solo.ko
282 0xc0e3 5a74 snd_t4dwave.ko
292 0xc0e36000 7f24 snd_via8233.ko
302 0xc0e3e000 4fa8 snd_via82c686.ko
312 0xc0e43000 5bc0 snd_vibes.ko
321 0xc0e49000 6a32cacpi.ko
331 0xc2486000 22000linux.ko
341 0xc26c7000 2000 warp_saver.ko
 
> > the drive is a 120 gb hitachi deskstar .. linux (several of teh most
> > recent distributions, ubuntu/centos/fedora sees it as a 120 gb, as
> > dose solaris v10/v11 but freebsd calls it a 114 gb drive
> 
> That's quite simple, freebsd calls it for what it is a 114 Gb disk.

sorry, i am a bit nervious with this v7 installation, i had some real
'issues' with the installation of freebsd v6.2 on my hardware and they
seem to being repeated with this v7 .. i am using the basic sysinstall
tool set that provides a basic installation.

i do not understand this .. i mean i do not understant how freebsd can
take a drive with the cylinders/heads/sectors that produces xxx million
sectors that muitiplied by 512 bytes producs 120 gb (real gb) solaris
also identifies this as a 120 gb drive as do several linux distrinutions
(centos and ubuntu based).

one item i forgot to include that freebsd v7 came back with several
different (with several succesive reboots) free space guesses (no
intervention from me just putting in teh dvd and booting .. in several
machines whose bios' all said that this is a 120 (real) gb drive

could this be a "lba" confusion/issue between teh drive/bios/freebsd
interpretation ?? it is a term i recall from earlier, when thes
kinds of drives first appeared and casued significant consternations
for everybody not just freebsd. it is a problems as far as i have
several of thes drives to be putting into several 'server' machines
where this kind of freespace 'loss' would become an issue --- hardware
density, as in drivers per terabyte leading to power consumption/space
and heating conciderations in raid arrays (five and ten drive rack)s

this is not a 'real' problem as 95 gb (whats left after install from a
114 gb start point) is more than enough for this boxes task-load. it is
that i find this a bit confusing/interesting, esp given that fresbie
v1.1 aslo sees this as a 120 gb drive ???  just interested in fiding
out what is going on and if this is a pointer to future hardware
mis-identification --- i understand the difference between "real"
gigabytes and "marketing department" gigabytes

much kind regards and appreciatio

Re: FreeBSD 7.0 installation problems.Please help!

2008-09-26 Thread Jerry McAllister
On Fri, Sep 26, 2008 at 01:58:41PM -0700, Steve Franks wrote:

> > "Write failure on transfer!
> > (wrote -1 bytes of 1425408 bytes)"
> > "Unable to transfer the GENERIC distribution from acd0"
> 
> I'm a bit of a n00b too.  There's a whole host of things that have
> given me that issue - bad cd drive, scratched disk, etc.
> 
> More importantly, I've seen sysinstall never actually format the disk,
> so then it can't write to it.  The way I fixed it is by hitting "w"
> (write) before "q" (quit) in both the fdisk and partition pages of
> sysinstall.  I've seen this behavior on both 6.2 and 7.0, and I've
> never paid enough attention to repeat it or figure out what I did
> wrong - I just use the write command manually and things seem happier.
>  Make sure you see a box pop up on the partition/label page when you
> hit write that mentions something about "doing newfs ", otherwise
> just start over.  I think that's the magic step.

I don't remember the necessary letter just at this moment, but
you must hit the letter to tell it to actually write the stuff
or it won't do it.   That is normal behavior.

jerry


> 
> Hope this helps,
> Steve
> ___
> 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: OpenGL things crash X in FB7-Stable, nVidia Card

2008-09-26 Thread Kemian Dang

Daniel Bye wrote:

On Fri, Sep 26, 2008 at 04:58:10PM +0100, Kemian Dang wrote:

Hi all,

I have a FreeBSD 7 Stable box with a nVidia 6150 Go Graphic Card.
Everything was OK sometime before, but after a series updated on ports, 
( I am not sure about the time, I have not use OpenGL stuff for long 
time) running a program with OpenGL will cause the X crashed.


[ -- snip -- ]


The last crash is when I choose a OpenGL screensaver.

The ports is updated nearly daily, and I think this may happen after 
sometime after I updated the latest nVidia-driver.


Any ideas about this problem?


Try reinstalling the nVidia driver port. It installs its own GL libs,
which may have been replaced by another port, depending on the order in
which your ports were updated. Reinstalling should ensure you have the
correct libs in the correct place...

Dan



Thanks for reply Daniel.

I have re-installed the nvidia-driver and tested OpenGL - Crash again.
So it seems not the case...

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


Re: X server crashes on exit

2008-09-26 Thread Herman Te
In case this helps anybody, I fixed the 2 min startup by adding my machine's
hostname to /etc/hosts, and the crash problem is fixed by installing the
latest xf86-video-savage port. I wonder why the sysinstall doesnt know how
to figure this out when installing and build the prot for me?

Well anyway that was a good introduction to FreeBSD.

On Fri, Sep 26, 2008 at 1:43 AM, Glen Barber <[EMAIL PROTECTED]>wrote:

> No, a 2 minute startup of Xorg is not normal.
>
> What kind of video card?  Do you have the proper drivers for your
> video card installed?  I've noticed on several flavors of Linux with
> my particular card (nVidia Geforce 8600 or something) that if I do not
> have the correct nVidia drivers, exiting X results in a system lockup.
>
> --
> Glen Barber
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 7.0 installation problems.Please help!

2008-09-26 Thread Steve Franks
> "Write failure on transfer!
> (wrote -1 bytes of 1425408 bytes)"
> "Unable to transfer the GENERIC distribution from acd0"

I'm a bit of a n00b too.  There's a whole host of things that have
given me that issue - bad cd drive, scratched disk, etc.

More importantly, I've seen sysinstall never actually format the disk,
so then it can't write to it.  The way I fixed it is by hitting "w"
(write) before "q" (quit) in both the fdisk and partition pages of
sysinstall.  I've seen this behavior on both 6.2 and 7.0, and I've
never paid enough attention to repeat it or figure out what I did
wrong - I just use the write command manually and things seem happier.
 Make sure you see a box pop up on the partition/label page when you
hit write that mentions something about "doing newfs ", otherwise
just start over.  I think that's the magic step.

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


Re: using /dev/random

2008-09-26 Thread RW
On Thu, 25 Sep 2008 20:33:34 +0100
Kris Kennaway <[EMAIL PROTECTED]> wrote:

> RW wrote:
> > On Tue, 23 Sep 2008 11:52:07 -0400

> > kern.random.sys.seeded is just a flag that gets set to 1 on each
> > reseed. IIRC it's also initialized to 1 so it doesn't actually do
> > anything very useful.
> 
> Except tell you that the kernel random number generator has finished 
> seeding ;)

Not if it's initialized to 1. I'm not really sure if this is a bug, or
whether the developers simply gave-up on starting the device blocked -
rc.d/initrandom would unblock it anyway. The checks in rc.d/sshd are
pointless.


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


Re: ethernet statistics

2008-09-26 Thread Abdullah Ibn Hamad Al-Marri
- Original Message 

> From: Ricardo Jesus <[EMAIL PROTECTED]>
> To: freebsd-questions@freebsd.org
> Sent: Friday, September 26, 2008 10:50:59 PM
> Subject: Re: ethernet statistics
> 
> Gian Paolo Buono wrote:
> > Hi,
> >
> > try systat and  :ifstat
> >
> > bye
> >
> > On Thu, Sep 25, 2008 at 5:23 PM, Erik Osterholm <
> > [EMAIL PROTECTED]> wrote:
> >
> >  
> >> On Thu, Sep 25, 2008 at 04:39:35PM +0200, Vonarburg, David wrote:
> >>
> >>> Hi,
> >>> I am using Intel PRO/1000PT Server adaptor with freeBSD 7.0.
> >>> How can I read out the statistics of the card from software?
> >>> (num bytes received, packets sent and more)
> >>>
> >>> Thanks in advance
> >>> David
> >>>  
> >> Is netstat -i what you're looking for?
> >>
> >> Erik
> >> ___
> >> 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]"
> >
> >  
> Hi,
> 
> I'd suggest vnStat.
> 
> I've posted a post on my blog a few days ago on how to set it up on 
> FreeBSD: 
> http://linux-bsd-sharing.blogspot.com/2008/09/howto-monitor-network-traffic-with.html
> 
> Best Regards.

I think there is small error with this port.

BB# vnstat -l
Monitoring eth0...(press CTRL-C to stop)

   getting traffic...Error:
Unable to get interface statistics.

Is it made to be used for linux as default?



 Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/


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


Re: ethernet statistics

2008-09-26 Thread Ricardo Jesus

Gian Paolo Buono wrote:

Hi,

try systat and  :ifstat

bye

On Thu, Sep 25, 2008 at 5:23 PM, Erik Osterholm <
[EMAIL PROTECTED]> wrote:

  

On Thu, Sep 25, 2008 at 04:39:35PM +0200, Vonarburg, David wrote:


Hi,
I am using Intel PRO/1000PT Server adaptor with freeBSD 7.0.
How can I read out the statistics of the card from software?
(num bytes received, packets sent and more)

Thanks in advance
David
  

Is netstat -i what you're looking for?

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

  

Hi,

I'd suggest vnStat.

I've posted a post on my blog a few days ago on how to set it up on 
FreeBSD: 
http://linux-bsd-sharing.blogspot.com/2008/09/howto-monitor-network-traffic-with.html


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


Re: Presenting 'host' command output

2008-09-26 Thread Joseph Olatt
On Fri, Sep 26, 2008 at 06:51:46PM +0200, Jos Chrispijn wrote:
> If I do this on my server1 (BSD 6.4 prerelease)
> 
> server1# host dekiekendief.nl
> 
> I get this, which is good:
> 
> dekiekendief.nl has address 72.36.229.154
> dekiekendief.nl mail is handled by 30 mail.dekiekendief.nl.
> 
> If I do this on my server2 (BSD 7.0 stable)
> 
> server2# host dekiekendief.nl
> 
> I get this, which I think is not the right way to display:
> 
> dekiekendief.nl has address 72.36.229.154
> 154.229.36.72.in-addr.arpa domain name pointer dekiekendief.nl.
> 154.229.36.72.in-addr.arpa domain name pointer dekiekendief.nl.
> 
> Can someone tell me how I can alter server2 display to something similar 
> to server1 display?


Try copying server1:/etc/resolv.conf -> server2:/etc/resolv.conf


Make a backup copy of server2:/etc/resolv.conf before you do so.


See it that helps.

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


Re: OpenGL things crash X in FB7-Stable, nVidia Card

2008-09-26 Thread Daniel Bye
On Fri, Sep 26, 2008 at 04:58:10PM +0100, Kemian Dang wrote:
> Hi all,
> 
> I have a FreeBSD 7 Stable box with a nVidia 6150 Go Graphic Card.
> Everything was OK sometime before, but after a series updated on ports, 
> ( I am not sure about the time, I have not use OpenGL stuff for long 
> time) running a program with OpenGL will cause the X crashed.

[ -- snip -- ]

> The last crash is when I choose a OpenGL screensaver.
> 
> The ports is updated nearly daily, and I think this may happen after 
> sometime after I updated the latest nVidia-driver.
> 
> Any ideas about this problem?

Try reinstalling the nVidia driver port. It installs its own GL libs,
which may have been replaced by another port, depending on the order in
which your ports were updated. Reinstalling should ensure you have the
correct libs in the correct place...

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpl7fI2jxNPv.pgp
Description: PGP signature


Re: Flooded with emails to root -- URGG

2008-09-26 Thread David Southwell
On Thursday 25 September 2008 09:40:34 Chris Pratt wrote:
> On Sep 25, 2008, at 9:34 AM, David Southwell wrote:
> > Hi
> >
> > I am running postfix.
> >
> > Am receiving a flood of  emails that appear to emanate from Servers
> > who have
> > received spam that has masqueraded [EMAIL PROTECTED] as the email source.
> >
> > Could anyone please suggest the best way of dealing with these.
> > Please bear in
> > mind I am not all that familiar with postfix so if anyone feels
> > treating me
> > like an idiot and spoonfeeding the actual command s to use I would
> > be most
> > appreciative 
>
> I have no idea what a command would be to stop receipt. Cutting off the
> original generation of the emails being spoofed is more to the point.
>
> You may want to look at SPF (openspf.org). If your domain is listed
> with an
> spf entry in DNS, you become less tempting as a domain to spoof. Over
> time, it will all but cease. Once you've created an SPF DNS record, many
> servers receiving mail spoofed for your domain will begin to drop it
> rather
> than backscatter emails back to your server.
>
> You should study the information on their site but in a nutshell, you
> create
> a TXT record in DNS that lists your servers IP as the only valid
> machine to
> send mail for your domain. This tells the others to drop emails from
> other
> IPs using your domain. It's relatively effective and painless.
>
Thank you

That really did the trick..

Within two hours the flood of backscatter (about 400 an hour) was virtually 
gone

That was great advice

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


Re: facility for mobile DDR RAM

2008-09-26 Thread Chuck Swiger

On Sep 26, 2008, at 6:51 AM, john seth wrote:
 I want to know whether there is facility for mobile DDR RAM, so  
that we can switch of a bank(s) without loosing the data in other  
bank(s)..


Swapping RAM without taking down the system is feature or capability  
of high-end hardware like Sun Enterprise xx00 and Tandem "non-stop"  
minis.  I don't know of any systems for under a ~6-figure price which  
has that...


Regards,
--
-Chuck

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


Presenting 'host' command output

2008-09-26 Thread Jos Chrispijn

If I do this on my server1 (BSD 6.4 prerelease)

server1# host dekiekendief.nl

I get this, which is good:

dekiekendief.nl has address 72.36.229.154
dekiekendief.nl mail is handled by 30 mail.dekiekendief.nl.

If I do this on my server2 (BSD 7.0 stable)

server2# host dekiekendief.nl

I get this, which I think is not the right way to display:

dekiekendief.nl has address 72.36.229.154
154.229.36.72.in-addr.arpa domain name pointer dekiekendief.nl.
154.229.36.72.in-addr.arpa domain name pointer dekiekendief.nl.

Can someone tell me how I can alter server2 display to something similar 
to server1 display?


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


OpenGL things crash X in FB7-Stable, nVidia Card

2008-09-26 Thread Kemian Dang

Hi all,

I have a FreeBSD 7 Stable box with a nVidia 6150 Go Graphic Card.
Everything was OK sometime before, but after a series updated on ports, 
( I am not sure about the time, I have not use OpenGL stuff for long 
time) running a program with OpenGL will cause the X crashed.


The only errors in Xorg.0.log are listed below, which I think is 
irrelevant to this problem.

(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap

There are also two warnings:
(WW) OS did not count PCI devices, guessing wildly
(WW) NVIDIA: No matching Device section for instance (BusID PCI:0:10:3) 
found


Nothing found in messages.

The last crash is when I choose a OpenGL screensaver.

The ports is updated nearly daily, and I think this may happen after 
sometime after I updated the latest nVidia-driver.


Any ideas about this problem?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


facility for mobile DDR RAM

2008-09-26 Thread john seth
Hi friends,

 I want to know whether there is facility for mobile DDR RAM, so that we 
can switch of a bank(s) without loosing the data in other bank(s)..

Thanks.




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


Re: dmesg smart error

2008-09-26 Thread Lowell Gilbert
Ghirai <[EMAIL PROTECTED]> writes:

> I'm getting this error in dmesg (7 times):
>
> ad2: FAILURE - SMART status=51 error=4
>
> I'm running FreeBSD 6.3-RELEASE, amd64.
> HD is ad2: 152626MB  at ata1-master SATA150
>
> Any ideas? Is the disk going to die?

For a knowledgeable opinion, you'd need to ask someone who knows the
SMART spec.  Just guessing from the message, though, I'd be more prone
to blame the cable first.  

Run the smart tools' disk test, and it will tell you whether you have
anything to worry about.

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


FreeBSD 7.0 installation problems.Please help!

2008-09-26 Thread kjk tttytyty

Good morning!
I was installing FreeBSD 7.0 i368 using the downloaded from ftp.freebsd.org ISO 
images.(I've downloaded 3 main CD's without LiveCD and LifeFS)
While installing it gives me some errors :

"Write failure on transfer!
(wrote -1 bytes of 1425408 bytes)"
"Unable to transfer the GENERIC distribution from acd0"

When I tried to boot the system the loader says:
"Couldn't extract kernels"

I have a bit of experience with Linux systems but I can't understand what I've 
done in a wrong way with FreeBSD

Can You tell me what's the problem with my installation?
How can I successfully install the FreeBSD OS when I have that errors?

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


RE: How to select/choose new NIC under FreeBSD?

2008-09-26 Thread Gavin Spomer

Gavin Spomer
Systems Programmer
Brooks Library
Central Washington University



>>> Johan Hendriks <[EMAIL PROTECTED]> 09/26/08 5:01 AM >>>

>Hello there,

>At my work, I have a Dell PowerEdge2950 running FreeBSD 7.0, Webserver. This
>server has onboard Broadcom NetXtreme II BCM5708 1000Base-T with 2 ports.
>But we have faced watchdog timeouts and after googling and getting help on
>this great forum, we were able to figure out that this is Broadcom
>incompatibilty.
>So, we have bought Intel Pro 1000PT Single Port Gigabit PCIe Cu now. Which >I
>am going to install in the server but before;
>I need some information, where I seek you guys help???

>1. How to tell FreeBSD to which NIC to use?
>2. Where else I should make changes under /etc folder?

>I will aprecaite your help!
>--
>Thanks!

>BR / vj

In the file /etc/rc.conf edit the line that looks like this now
ifconfig_bge0="inet 192.168.1.22  netmask 255.255.255.0"

Change bge0 (could be a different name in your config) to the driver name of 
the intel card, proberly em0 look at dmesg for the real name.

Regards,
Johan Hendriks 

Yes. I think you'll change it to bce. My FreeBSD test server is an HP Proliant 
with a Broadcom in it and that's what I use. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: installing 7.0-release from .isos: endless mfi status msgs on console

2008-09-26 Thread FreeBSD

Jacob Yocom-Piatt a écrit :
am setting up a new fileserver on a poweredge 1950 and installing from 
the freebsd 7.0-release .isos but can't read anything on the console 
since the PERC 5/i or 5/e card(s) are dumping status messages to the 
console non-stop (~1000 lines / minute).


What are exactly those messages? I have the same server with FreeBSD 
7.0-Release too and I don't get any annoying messages. I would be 
tempted to say that there is something wrong...


Martin
is there any way to disable these status messages so that i can get 
freebsd installed? AFAICT there is nothing broken with the battery on 
either of the PERC 5/i or 5/e cards installed.


cheers,
jake


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


Re: Postfix, maildir's, and writing filters

2008-09-26 Thread Da Rock

On Tue, 2008-09-23 at 08:24 -0400, George Fazio wrote:
> Da Rock wrote:
> > On Mon, 2008-09-22 at 20:53 -0400, George Fazio wrote:
> >   
> >> Da Rock wrote:
> >> 
> >>> Howdy. This may seem simple, but I'm completely green on this: I have a
> >>> postfix server with a courier-imap client frontend using maildir's. I'm
> >>> using imap for an internal mta, but I need to setup a system which
> >>> retains copies of sent emails on the network and not on individual
> >>> workstations (which is what happens currently).
> >>>   
> >>>   
> >> When you say courier-imap client, do you mean you're using maildrop to 
> >> deliver the message to the user's maildir or that there is an end-user 
> >> courier-imap client?  I am only familiar with the maildrop piece of 
> >> courier.
> >> 
> >>> I've looked at some of the solutions (bcc and send to a psuedo account
> >>> for each user, bcc to the user and filter the incoming mail on this) but
> >>> it seems like a very roundabout way of doing things. I've read up on
> >>> Postfix, and there is support for custom filters, so:
> >>> 1. what does it take to write one?
> >>> 2. how does one copy email from one folder to another in maildirs? Is it
> >>> possible?
> >>>
> >>>   
> >>>   
> >> This is a classic case of over engineering.  You do not want to bcc back 
> >> to the user, or filter the mta, just move the outgoing messages to the 
> >> sent folder.  You might need bcc for the purposes of journaling all 
> >> email, if you have any legal requirement (sox, hippa, etc.) that require 
> >> it.  But, that it another ball of wax entirely.
> >> 
> >>> This idea I have should filter the outgoing mail and copy the messages
> >>> to the sent folder as well as retaining its place in the queue.
> >>>
> >>>   
> >>>   
> >> If the end-user's client is using imap and configured properly, it 
> >> should do this for you.  Thurderbird, the full version of Outlook (and 
> >> probably Express), and many other clients support this natively - you 
> >> just have to make sure the client is configured to do that.  Typically, 
> >> in the configuration of the client, there is something that says 
> >> something like "save a copy of sent messages to ".  I 
> >> don't know what client you're using.  I use Pine/Alpine, Thunderbird, 
> >> and Outlook (when I have no other choice).
> >>
> >> If the end-user's client is using pop, then you have a problem that may 
> >> require a custom solution like you speak of above.
> >> 
> >>> Any ideas? Maybe a link to some good info? I would like to know how to
> >>> do this myself so I can do more in the future so info and pointers would
> >>> be great (if you have a script you'd like to share then please show me
> >>> how it works :) ).
> >>>
> >>> Cheers
> >>>
> >>>   
> >>>   
> >> My mail system is running postfix (mta) w/ dovecot (for imap or pop 
> >> access from the clients), maildrop (for delivering to a maildir), and 
> >> amavis-new (for spam filtering and virus scanning w/ clamav).  My mail 
> >> clients are configured for imap, and they save copies of sent mail to 
> >> the sent folder as expected.  While I am using dovecot, and not courier, 
> >> for my imap server - I cannot imagine that any other imap server would 
> >> handle things any differently ... it's core functionality that ever imap 
> >> server should have imho.
> >>
> >> -George
> >>
> >> 
> >
> > Me too. It may be possible to save a copy in evolution, but I haven't
> > found it in all clients. Plus my system needs to be suitable for a
> > webmail system, and yes some pop clients.
> >
> > You sound like you know maildrop very well, I was considering using it
> > as a part of the solution. If I wrote a milter script for postfix, is it
> > possible to pass the message to maildrop so that it can take care of the
> > formalities such as filenames and formats and tell it to put it in a
> > sent folder? Something like a shell or perl script that uses this line
> > to run maildrop:
> >
> > maildrop -d $user Maildir/.Sent
> >
> > Obviously the message itself will be piped, and the $user will be
> > obtained by copying the from field in the message.
> >
> > Would something like this work? I've been searching on google but
> > haven't found a clear answer, they only mention using maildrop filters
> > and commands there- not actual usage of the maildrop cli.
> >
> > Cheers
> >
> >   
> If you wrote a filter for postfix, which I have no idea how to do, the 
> maildrop command you sight looks good.
> 
> A friend of mine is using round cube for web mail (I don't have webmail 
> setup on my server), and it will also save a copy to the sent folder.  
> Most of the web clients should provide this functionality.  The pop 
> clients are the ones that are going to be an issue.
> 
> I'm not sure what Google is using for gmail.  But, when I send a message 
> using their smtp service, a copy goes into my account.  So, what you're 
> looking to do is obviously possib

Miro Internet TV

2008-09-26 Thread Mitja
Hi!

My system: FreeBSD 7.0-RELEASE-p4 #1, KDE 3.5.10

I had a Miro Player from first days when I installed FreeBSD7 (almost one 
year) and it worked without problem. About two weeks I installed and ran 
script "lockdown" and after problems I deinstalled "lockdown" and detup the 
system as was before (I hope) but I have problem with Mito Player now:
it start and works if I run it as root but if I run as user the application 
open but nothing happened - it is frozen.

Here is a root miro.log:

2008-09-26 08:50:30,697 INFO Starting up Miro
2008-09-26 08:50:30,698 INFO OS: FreeBSD
2008-09-26 08:50:30,699 INFO Version:1.2.7
2008-09-26 08:50:30,699 INFO Revision:   
https://svn.participatoryculture.org/svn/dtv/tags/Miro-1.2.7/tv/resources - 
7721
2008-09-26 08:50:30,700 INFO Builder:[EMAIL PROTECTED]
2008-09-26 08:50:30,701 INFO Build Time: 1222380516.68
2008-09-26 08:50:30,701 INFO Starting event loop thread
2008-09-26 08:50:30,729 INFO Restoring database...
2008-09-26 08:50:30,731 INFO Connecting to /root/.miro/sqlitedb
2008-09-26 08:50:30,778 INFO Spawning global feed dtv:manualFeed
2008-09-26 08:50:30,799 INFO Spawning global feed dtv:singleFeed
2008-09-26 08:50:30,810 INFO Spawning global feed dtv:search
2008-09-26 08:50:30,822 INFO Spawning global feed dtv:searchDownloads
2008-09-26 08:50:30,830 INFO wbg: setting autodownload stuff initially to 
new
2008-09-26 08:50:30,839 INFO Spawning global feed dtv:directoryfeed
2008-09-26 08:50:30,841 INFO wbg: setting autodownload stuff initially to 
new
2008-09-26 08:50:30,867 INFO Creating channel tab order
2008-09-26 08:50:30,872 INFO Creating playlist tab order
2008-09-26 08:50:30,903 INFO Spawning Miro Guide...
2008-09-26 08:50:30,913 INFO Spawning auto downloader...
2008-09-26 08:50:30,920 TIMING   Icon clear: 0.001
2008-09-26 08:50:30,921 INFO Starting movie data updates
2008-09-26 08:50:30,924 INFO Showing startup dialog...
2008-09-26 08:50:30,925 DEBUGSetting startupTasksDone to True
2008-09-26 08:50:30,927 INFO Adding default feeds
2008-09-26 08:50:30,936 DEBUGadded async callback to create feed 
http://www.getmiro.com/screencasts/windows/win.feed.rss
2008-09-26 08:50:30,951 DEBUGadded async callback to create feed 
http://feeds.miroguide.com/miroguide/featured
2008-09-26 08:50:30,968 DEBUGadded async callback to create feed 
http://feeds.miroguide.com/miroguide/toprated
2008-09-26 08:50:30,976 DEBUGadded async callback to create feed 
http://feeds.miroguide.com/miroguide/new
2008-09-26 08:50:30,985 DEBUGadded async callback to create feed 
http://feeds.miroguide.com/miroguide/popular
2008-09-26 08:50:30,996 DEBUGadded async callback to create feed 
http://feeds.pbs.org/pbs/moyers/journal-video
2008-09-26 08:50:31,008 DEBUGadded async callback to create feed 
http://www.washingtonpost.com/wp-srv/mmedia/hd_podcast.xml
2008-09-26 08:50:31,026 DEBUGadded async callback to create feed 
http://www.fileden.com/files/2008/5/14/1911312/timostrailers.rss
2008-09-26 08:50:33,408 TIMING   idle (Thread Pool Callback (Feedparser 
callback - http://www.getmiro.com/screencasts/windows/win.feed.rss)) too slow 
(0.558 secs)
2008-09-26 08:50:33,540 INFO unknown url type 
http://feeds.miroguide.com/~r/miroguide/toprated/~3/352353241/90, not 
generating enclosure
2008-09-26 08:50:34,216 INFO Checking for updates...
2008-09-26 08:50:35,607 DEBUGSetting runAtStartup to False
2008-09-26 08:50:35,710 TIMING   gtkAsyncMethod:  took too long: 4.624
2008-09-26 08:50:37,508 TIMING   feed update for: 
http://www.washingtonpost.com/wp-srv/mmedia/hd_podcast.xml too slow (2.247 
secs)
2008-09-26 08:50:37,509 TIMING   idle (Thread Pool Callback (Feedparser 
callback - http://www.washingtonpost.com/wp-srv/mmedia/hd_podcast.xml)) too 
slow (2.248 secs)
2008-09-26 08:50:37,511 INFO Displaying main frame...
2008-09-26 08:50:37,580 WARNING  Menu item action "RenameVideo" not 
implemented
2008-09-26 08:50:37,581 WARNING  Menu item action "FastForward" not 
implemented
2008-09-26 08:50:37,581 WARNING  Menu item action "Rewind" not implemented
2008-09-26 08:50:37,582 WARNING  Menu item action "UpVolume" not implemented
2008-09-26 08:50:37,582 WARNING  Menu item action "DownVolume" not implemented
2008-09-26 08:50:37,612 WARNING  Volume changed before videoDisplay created
2008-09-26 08:50:37,620 WARNING  Display updated before video display was 
created
2008-09-26 08:50:37,625 INFO Creating video display...
2008-09-26 08:50:37,627 DEBUGSetting VolumeLevel to 1.0
2008-09-26 08:50:37,629 DEBUGProcessing tablist
2008-09-26 08:50:38,902 INFO loaded renderer 'xinerenderer'
2008-09-26 08:50:38,920 INFO Finished startup sequence
2008-09-26 08:50:38,920 TIMING   gtkAsyncMethod:  took too long: 1.253
2008-09-26 08:50:38,921 TIMING   idle (finishStartup() (using asUrgent)) too 
slow (1.411 secs)
2008-09-26 08:50:39,682 WARNING  Er

Re: gateway NAT settings lost

2008-09-26 Thread Mel
On Friday 26 September 2008 15:14:21 Colin Brace wrote:
> Thanks Mel,  "gateway_enable" was what I was missing.

You're very welcome.


> For totals:
>
> $ sudo du -hc -depth=1 boot cdrom home lib libexec rescue sbin bin
> compat dist etc lib proc root
>  91Mboot
> 2.0Kcdrom
>   0Bhome
> 5.4Mlib
> 170Klibexec
> 3.6Mrescue
> 5.0Msbin
> 986Kbin
>   0Bcompat
> 2.0Kdist
> 2.1Metc
> 5.4Mlib
> 2.0Kproc
>  52Kroot
> 114Mtotal
>
> It looks as though there is 375MB "hidden" somewhere... but where?

The obvious a file in /, possibly a core dump.
The less obvious, an open but deleted file.
Even less obvious, a file in /tmp created in single user mode, without /tmp 
mounted.

My money is on option 2:
fstat -f / |sort -rnk 8|head

will show you the largest open files on the root partition.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gateway NAT settings lost

2008-09-26 Thread Colin Brace

Thanks Mel,  "gateway_enable" was what I was missing.

I usually use sudo for eding system files, but in this particular 
instant I was lazy and had set the permissions so I could edit rc.conf 
without it. :(


As I mentioned, I got into this fix because my root partition is full. 
This is how my 30G drive is partitioned:


$df -h

/dev/ad0s1a496M493M-37M   108%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad0s1e496M3.2M453M 1%/tmp
/dev/ad0s1f 24G6.1G 16G28%/usr
/dev/ad0s1d1.4G659M690M49%/var
fdescfs1.0K1.0K  0B   100%/dev/fd

But for the life of me, I can't figure out what is taking up all the 
space on root. See:


$ sudo du -hs boot cdrom home lib libexec rescue sbin bin compat dist 
etc lib proc root

91Mboot
2.0Kcdrom
 0Bhome
5.4Mlib
170Klibexec
3.6Mrescue
5.0Msbin
986Kbin
 0Bcompat
2.0Kdist
2.1Metc
5.4Mlib
2.0Kproc
52Kroot

For totals:

$ sudo du -hc -depth=1 boot cdrom home lib libexec rescue sbin bin 
compat dist etc lib proc root

91Mboot
2.0Kcdrom
 0Bhome
5.4Mlib
170Klibexec
3.6Mrescue
5.0Msbin
986Kbin
 0Bcompat
2.0Kdist
2.1Metc
5.4Mlib
2.0Kproc
52Kroot
114Mtotal

It looks as though there is 375MB "hidden" somewhere... but where?

--
 Colin Brace
 Amsterdam
 http://www.lim.nl

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


Re: Iterate through directories and search into files

2008-09-26 Thread Steve Bertrand
Mel wrote:
> On Friday 26 September 2008 14:22:27 Steve Bertrand wrote:
>> Steve Bertrand wrote:
>>> Hi everyone,
>>>
>>> I have a list of directories:
>>>
>>> - a..z and 2003..2008
>>>
>>> ...inside of a single directory.
>>>
>>> Can someone advise what the shortest shell pipeline would be to search
>>> for two words (on two separate lines) within all files located only the
>>> alpha directories, and then print the filename to STDOUT?
>> ...what I meant to say was that both patterns will be on the SAME line,
>> as a single instance example, I would do:
>>
>> cat a/file.fil | grep -i comment | grep 355
> 
> find ./[a-z]* -type f -exec grep -il 'comment.*355' {} +

Beautiful, thanks!

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


Re: Iterate through directories and search into files

2008-09-26 Thread Mel
On Friday 26 September 2008 14:22:27 Steve Bertrand wrote:
> Steve Bertrand wrote:
> > Hi everyone,
> >
> > I have a list of directories:
> >
> > - a..z and 2003..2008
> >
> > ...inside of a single directory.
> >
> > Can someone advise what the shortest shell pipeline would be to search
> > for two words (on two separate lines) within all files located only the
> > alpha directories, and then print the filename to STDOUT?
>
> ...what I meant to say was that both patterns will be on the SAME line,
> as a single instance example, I would do:
>
> cat a/file.fil | grep -i comment | grep 355

find ./[a-z]* -type f -exec grep -il 'comment.*355' {} +


-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Iterate through directories and search into files

2008-09-26 Thread Steve Bertrand
Steve Bertrand wrote:
> Hi everyone,
> 
> I have a list of directories:
> 
> - a..z and 2003..2008
> 
> ...inside of a single directory.
> 
> Can someone advise what the shortest shell pipeline would be to search
> for two words (on two separate lines) within all files located only the
> alpha directories, and then print the filename to STDOUT?

...what I meant to say was that both patterns will be on the SAME line,
as a single instance example, I would do:

cat a/file.fil | grep -i comment | grep 355

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


Iterate through directories and search into files

2008-09-26 Thread Steve Bertrand
Hi everyone,

I have a list of directories:

- a..z and 2003..2008

...inside of a single directory.

Can someone advise what the shortest shell pipeline would be to search
for two words (on two separate lines) within all files located only the
alpha directories, and then print the filename to STDOUT?

I know this is very efficient, but since I don't need to do this often,
it will be easier than maintaining but yet another Perl script.

Thanks,

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


RE: How to select/choose new NIC under FreeBSD?

2008-09-26 Thread Robert Huff

>>1. How to tell FreeBSD to which NIC to use?
>>2. Where else I should make changes under /etc folder?
>
>In the file /etc/rc.conf edit the line that looks like this now
>ifconfig_bge0="inet 192.168.1.22  netmask 255.255.255.0"
>
>Change bge0 (could be a different name in your config) to the driver =
>name of the intel card, proberly em0 look at dmesg for the real name.

You may also need to check your firewall rules, if any.


Robert Huff

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


Re: How to select/choose new NIC under FreeBSD?

2008-09-26 Thread Ivailo Tanusheff
Hi mate,

You should install the hardware, then recompile the kernel, if you already 
use a customized one.
Then you should edit /etc/rc.conf and set there to use the new NIC instead 
of the old one. The other option is to use sysinstall program to set this, 
but I preffer the manual interaction.
If you have customized firewall you might also set it in the firewall 
config.

Regards,

Ivailo Tanusheff
Deputy Head of IT Department
ProCredit Bank (Bulgaria) AD




VeeJay <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
26.09.2008 14:51

To
FreeBSD-Questions , VeeJay 
<[EMAIL PROTECTED]>
cc

Subject
How to select/choose new NIC under FreeBSD?






Hello there,

At my work, I have a Dell PowerEdge2950 running FreeBSD 7.0, Webserver. 
This
server has onboard Broadcom NetXtreme II BCM5708 1000Base-T with 2 ports.
But we have faced watchdog timeouts and after googling and getting help on
this great forum, we were able to figure out that this is Broadcom
incompatibilty.
So, we have bought Intel Pro 1000PT Single Port Gigabit PCIe Cu now. Which 
I
am going to install in the server but before;
I need some information, where I seek you guys help???

1. How to tell FreeBSD to which NIC to use?
2. Where else I should make changes under /etc folder?

I will aprecaite your help!
-- 
Thanks!

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

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


RE: How to select/choose new NIC under FreeBSD?

2008-09-26 Thread Johan Hendriks

>Hello there,

>At my work, I have a Dell PowerEdge2950 running FreeBSD 7.0, Webserver. This
>server has onboard Broadcom NetXtreme II BCM5708 1000Base-T with 2 ports.
>But we have faced watchdog timeouts and after googling and getting help on
>this great forum, we were able to figure out that this is Broadcom
>incompatibilty.
>So, we have bought Intel Pro 1000PT Single Port Gigabit PCIe Cu now. Which >I
>am going to install in the server but before;
>I need some information, where I seek you guys help???

>1. How to tell FreeBSD to which NIC to use?
>2. Where else I should make changes under /etc folder?

>I will aprecaite your help!
>-- 
>Thanks!

>BR / vj

In the file /etc/rc.conf edit the line that looks like this now
ifconfig_bge0="inet 192.168.1.22  netmask 255.255.255.0"

Change bge0 (could be a different name in your config) to the driver name of 
the intel card, proberly em0 look at dmesg for the real name.

Regards,
Johan Hendriks


No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.169 / Virus Database: 270.7.3/1691 - Release Date: 25-9-2008 19:23
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to select/choose new NIC under FreeBSD?

2008-09-26 Thread VeeJay
Hello there,

At my work, I have a Dell PowerEdge2950 running FreeBSD 7.0, Webserver. This
server has onboard Broadcom NetXtreme II BCM5708 1000Base-T with 2 ports.
But we have faced watchdog timeouts and after googling and getting help on
this great forum, we were able to figure out that this is Broadcom
incompatibilty.
So, we have bought Intel Pro 1000PT Single Port Gigabit PCIe Cu now. Which I
am going to install in the server but before;
I need some information, where I seek you guys help???

1. How to tell FreeBSD to which NIC to use?
2. Where else I should make changes under /etc folder?

I will aprecaite your help!
-- 
Thanks!

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


Re: Virtual machines hosted on FreeBSD 7

2008-09-26 Thread Uwe Laverenz
On Tue, Sep 23, 2008 at 12:31:19PM -0400, Jeff Wheelhouse wrote:

> - the free license has some major restrictions about what you can do  
> with it.

Sorry, but I have to ask: could you please tell us what restrictions you
mean? AFAIK there aren't any restrictions that keep you from using ESXi
in production.

thanks,
Uwe

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


FreeBSD can not install for Benq S41-HC50 notebook

2008-09-26 Thread ayihu
Benq S41-hc50 notebook Cannot install FreeBSD , but can install Debian Linux 4.0
   
 Installs the FreeBSD 7.0,7.1,8.0 prompt:
  
 RAM parity error,likely hardware failure.
  
 ps:The memory does not have the question
  
 demsg message(for Debian Linux ):
  
 Linux version 2.6.18-6-686 (Debian 2.6.18.dfsg.1-22) ([EMAIL PROTECTED]) (gcc 
version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Tue Jun 17 
21:31:27 UTC 2008
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009f800 (usable)
 BIOS-e820: 0009f800 - 000a (reserved)
 BIOS-e820: 000ce000 - 000d (reserved)
 BIOS-e820: 000e - 0010 (reserved)
 BIOS-e820: 0010 - 7fed (usable)
 BIOS-e820: 7fed - 7fedf000 (ACPI NVS)
 BIOS-e820: 7fedf000 - 8000 (reserved)
 BIOS-e820: e000 - f000 (reserved)
 BIOS-e820: fec0 - fec1 (reserved)
 BIOS-e820: fed0 - fed00400 (reserved)
 BIOS-e820: fed14000 - fed1a000 (reserved)
 BIOS-e820: fed1c000 - fed9 (reserved)
 BIOS-e820: fee0 - fee01000 (reserved)
 BIOS-e820: ff00 - 0001 (reserved)
1150MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000f7ed0
On node 0 totalpages: 523984
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 225280 pages, LIFO batch:31
  HighMem zone: 294608 pages, LIFO batch:31
DMI present.
ACPI: RSDP (v002 PTLTD ) @ 0x000f7ea0
ACPI: XSDT (v001 BenQ   Joybook  0x0604  LTP 0x) @ 0x7fed3702
ACPI: FADT (v003 INTEL  CRESTLNE 0x0604 ALAN 0x0001) @ 0x7fedbbd2
ACPI: MADT (v001 INTEL  CRESTLNE 0x0604 LOHR 0x005a) @ 0x7fedbcc6
ACPI: HPET (v001 INTEL  CRESTLNE 0x0604 LOHR 0x005a) @ 0x7fedbd2e
ACPI: MCFG (v001 INTEL  CRESTLNE 0x0604 LOHR 0x005a) @ 0x7fedbd66
ACPI: TCPA (v001 Intel   CRESTLN 0x0604  0x5a52) @ 0x7fedbda2
ACPI: TMOR (v001 PTLTD   0x0604 PTL  0x0003) @ 0x7fedbdd4
ACPI: MADT (v001 PTLTDAPIC   0x0604  LTP 0x) @ 0x7fedbdfa
ACPI: BOOT (v001 PTLTD  $SBFTBL$ 0x0604  LTP 0x0001) @ 0x7fedbe62
ACPI: SLIC (v001 BenQ   Joybook  0x0604  LTP 0x) @ 0x7fedbe8a
ACPI: SSDT (v001 SataRe  SataPri 0x1000 INTL 0x20050624) @ 0x7fed4f40
ACPI: SSDT (v001 SataRe  SataSec 0x1000 INTL 0x20050624) @ 0x7fed48ae
ACPI: SSDT (v001  PmRef  Cpu0Tst 0x3000 INTL 0x20050624) @ 0x7fed3d22
ACPI: SSDT (v001  PmRef  Cpu1Tst 0x3000 INTL 0x20050624) @ 0x7fed3c7c
ACPI: SSDT (v001  PmRefCpuPm 0x3000 INTL 0x20050624) @ 0x7fed3796
ACPI: DSDT (v002 INTEL  CRESTLNE 0x0604 INTL 0x20050624) @ 0x
ACPI: PM-Timer IO Port: 0x1008
ACPI: Local APIC address 0xfee0
ACPI: 2 duplicate APIC table ignored.
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 6:15 APIC version 20
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 6:15 APIC version 20
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec0] gsi_base[0])
IOAPIC[0]: apic_id 1, version 32, address 0xfec0, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
ACPI: HPET id: 0x8086a201 base: 0xfed0
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 8800 (gap: 8000:6000)
Detected 1828.822 MHz processor.
Built 1 zonelists.  Total pages: 523984
Kernel command line: root=/dev/sda3 ro 
mapped APIC to d000 (fee0)
mapped IOAPIC to c000 (fec0)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2069964k/2095936k available (1541k kernel code, 24672k reserved, 580k 
data, 196k init, 1178432k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
hpet0: at MMIO 0xfed0 (virtual 0xf880), IRQs 2, 8, 0
hpet0: 3 64-bit timers, 14318180 Hz
Using HPET for base-timer
Calibrating delay using timer specific routine.. 3661.49 BogoMIPS (lpj=7322991)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebfbff 2010   e39d 
 0001
CPU: After vendor identify, caps: bfebfbff 2010   e39d 
 0001
monitor/mwait feature present.
using mwait in idle threads.
CPU: L1 I ca

Re: gateway NAT settings lost

2008-09-26 Thread Mel
On Friday 26 September 2008 11:41:41 Colin Brace wrote:

> I recently ran out of diskspace on the root partition of my FreeBSD 7 box,
> which serves as a home server/gateway. As a result, when I went to edit my
> rc.conf file with nano earlier this moth, it couldn't save the changes and
> the file was written zero-length. Alas, my nightly backup subsequently
> archived this, and I've now lost the original.

This is one reason I use sudoedit for configuration files, even if I'm su'd to 
root. Also, incremental backups are a good thing.


> Here is my rc.conf now:
>
> check_quotas="NO"
> cron_enable="YES"
> hostname="venus"
> inetd_enable="NO"
> linux_enable="YES"
> moused_enable="YES"
> sshd_enable="YES"
> usbd_enable="YES"
> lighttpd_enable="YES"
> postfix_enable="YES"
> sendmail_enable="NO"
> sendmail_submit_enable="NO"
> sendmail_outbound_enable="NO"
> sendmail_msp_queue_enable="NO"
> dovecot_enable="YES"
> rpcbind_enable="YES"
> nfs_server_enable="YES"
> mountd_flags="-r"
>
> # WLAN interface
> ifconfig_fxp0="DHCP"
>
> # LAN interface
> ifconfig_rl0="inet 192.168.1.1  netmask 255.255.255.0"
>
> # WIFI interface
> ifconfig_ath0=""
>
> smartd_enable="YES"
> pf_enable="YES"
> pflog_enable="YES"
> dhcpd_enable="YES"
>
> /usr/local/sbin/dnrd -s 208.67.222.222
>
> postgresql_enable="YES"
> obspamd_enable="YES"
> obspamdlog_enable="YES"
> dovecot_enable="YES"
> rsyncd_enable="YES"
> rtadvd_enable="YES"
>
> I am using PF for NAT, and have the following rule:
>
> [...]
> ext_if = "fxp0"
> [...]
> nat on $ext_if from !($ext_if) to any -> ($ext_if)
> [...]
>
> I must be missing something obvious, but what?

gateway_enable="YES" perhaps. Either that or pf is not started, because it 
cannot resolve a hostname in a table.
Setting rc_debug="YES" will show some possibilities.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


gateway NAT settings lost

2008-09-26 Thread Colin Brace

Hi all,

I recently ran out of diskspace on the root partition of my FreeBSD 7 box,
which serves as a home server/gateway. As a result, when I went to edit my
rc.conf file with nano earlier this moth, it couldn't save the changes and
the file was written zero-length. Alas, my nightly backup subsequently
archived this, and I've now lost the original. 

I only realized this when I needed to reboot last night. I have now been
trying to rebuild my rc.conf settings from scratch. Most things work again
now, except I still can't access the web from my LAN clients.

1.) I can get a dhcp lease from the server.

2.) DNS works, ie, $ dig cern.ch returns a DNS record

3.) but $ lynx cern.ch doesn't work.

Here is my rc.conf now:

check_quotas="NO"
cron_enable="YES"
hostname="venus"
inetd_enable="NO"
linux_enable="YES"
moused_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
lighttpd_enable="YES"
postfix_enable="YES"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
dovecot_enable="YES"
rpcbind_enable="YES"
nfs_server_enable="YES"
mountd_flags="-r"

# WLAN interface
ifconfig_fxp0="DHCP"

# LAN interface
ifconfig_rl0="inet 192.168.1.1  netmask 255.255.255.0"

# WIFI interface
ifconfig_ath0=""

smartd_enable="YES"
pf_enable="YES"
pflog_enable="YES"
dhcpd_enable="YES"

/usr/local/sbin/dnrd -s 208.67.222.222

postgresql_enable="YES"
obspamd_enable="YES"
obspamdlog_enable="YES"
dovecot_enable="YES"
rsyncd_enable="YES"
rtadvd_enable="YES"

I am using PF for NAT, and have the following rule:

[...]
ext_if = "fxp0"
[...]
nat on $ext_if from !($ext_if) to any -> ($ext_if)
[...]

I must be missing something obvious, but what?

TIA

-- 
  Colin Brace
  Amsterdam
  http://lim.nl

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


Regina Zempel sent you this invitation to join Hippobay Auctions

2008-09-26 Thread zempel

   [probidlogo.gif]

   Hello you,
   Your friend, Regina Zempel (Username: Suessmaus), has sent you this
   invitation to join Hippobay Auctions
   [1]Click to go to Hippobay Auctions
   Additional comments:
   We introduce the first Online Auction that caters for the whole of
   Southern Africa.: Hippobay Auctions Sell for FREE on HippoBay.com!
   HippoBay.com a viable BidorBuy or eBay alternative! Start auctioning
   off your unwanted goods or catch da beeg bargain! We are currently
   offering the use of HippoBay.com Online Auctions FREE to both our
   sellers and buyers. You will not pay fees to HippoBay.com to sell your
   items. Any money you make on HippoBay.com is yours! HippoBay.co.za -
   Welcome to the new next Generation of Online Auction and Classifieds!
   The BidorBuy alternative! Join us now, list your unwanted Goods!
   Thank you,
   The Hippobay Auctions Staff
   Hippobay Auctions sent this e-mail to you because your Mail
   Preferences and/or Newsletter Subscription Preferences
   indicate that you want to receive information about Special Events &
   Promotions.
   Hippobay Auctions will not request personal data (password, credit
   card/bank numbers) in an e-mail
   You are subscribed as freebsd-questions@FreeBSD.org, registered on
   Hippobay Auctions.
   If you do not wish to receive further communications, sign into
   "Hippobay Auctions" by clicking on the "MEMBERS" link
   found at the top of the Hippobay Auctions home page and change your
   Mail Preferences in Mail Preferences view or Newsletter Subscription
   in Personal Information view
   Please note that it may take up to 10 days to process your request.
   Visit our Privacy Policy and Terms if you have any questions.
   Copyright (c) 2008 Hippobay Auctions. All Rights Reserved.
   Designated trademarks and brands are the property of their respective
   owners.
   Hippobay Auctions and the Hippobay Auctions logo are trademarks of
   Hippobay Auctions.
   Hippobay Auctions is located at Headoffice: Macadam St. 2 - P.O.Box:
   40704 - Windhoek - Namibia

References

   1. http://www.hippobay.com/?nrs2=239
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: X server crashes on exit

2008-09-26 Thread Herman Te
Kevin,

As the problem only occurs after I exit X the log file isn't very helpful as
to what happens after. The last line is

(II) Mouse0: SetupAuto: protocol is SysMouse

However it seems to be cycling through various resolution modes before
starting, but no errors/warnings except for these lines

(II) VESA(0): Total Memory: 495 64KB banks (31680kB)
(II) VESA(0): Monitor0: Using hsync range of 30.00-62.00 kHz
(II) VESA(0): Monitor0: Using vrefresh range of 55.00-75.00 Hz
(II) VESA(0): Monitor0: Using maximum pixel clock of 100.00 MHz
(WW) VESA(0): Unable to estimate virtual size

(II) VESA(0): VESA BIOS detected
(II) VESA(0): VESA VBE Version 3.0
(II) VESA(0): VESA VBE Total Mem: 31680 kB
(II) VESA(0): VESA VBE OEM: S3 Graphics ProSavage DDR Family BIOS
(II) VESA(0): VESA VBE OEM Software Rev: 2.0
(II) VESA(0): VESA VBE OEM Vendor: S3 Garphics Incorporated.
(II) VESA(0): VESA VBE OEM Product: VBE 3.0
(II) VESA(0): VESA VBE OEM Product Rev: Rev 0.0
(WW) VESA(0): Failed to set write-combining range (0xe000,0x1ef)
(II) VESA(0): virtual address = 0x28964000,
physical address = 0xe000, size = 32440320
(==) VESA(0): Write-combining range (0x0,0x1000) was already clear

This last line is repeated about 200 times throughtout the file.

Glen,

It is an onboard graphics, some sort of VIA chipset. scanpci gives this

pci bus 0x cardnum 0x00 function 0x00: vendor 0x1106 device 0x3116
 VIA Technologies, Inc. VT8375 [KM266/KL266] Host Bridge
pci bus 0x cardnum 0x01 function 0x00: vendor 0x1106 device 0xb091
 VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
pci bus 0x cardnum 0x11 function 0x00: vendor 0x1106 device 0x3177
 VIA Technologies, Inc. VT8235 ISA Bridge
pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x5333 device 0x8d04
 S3 Inc. VT8375 [ProSavage8 KM266/KL266]
I use the default install and I don't know what driver to get or how to
build it.. but surely if you have the wrong drivers X will not start rather
than not stop?
Any suggestions?
Herman
On Fri, Sep 26, 2008 at 4:53 AM, Kevin Kinsey <[EMAIL PROTECTED]> wrote:


> Have you looked at the logfiles? (/var/log/Xorg.$n.log)
>
>
> Kevin Kinsey
> --
> Let your conscience be your guide.
>-- Pope
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount_unionfs for jails

2008-09-26 Thread Matthew Seaman

-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Nejc S wrote:
| Hello,
| 
|> Here is what I am trying to do:

|>
|> mount_unionfs -o below /usr/jails/basejail /usr/jail/jail1
|>
|> after I do that I edit /usr/jail/jail1/etc/rc.conf and add the appropriate
|> entries to the host system rc.conf, but when I start the jail it starts
|> using the settings from /usr/jails/basejail.
| 
| I have the same setup and it works for me.
| 
|> Is my mount_unionfs syntax wrong, is this a bug in unionfs (man page says

|> unionfs is broken, but doesn't specify how its broken) or is this expected
|> behavior?
| 
| It shouldn't be wrong. I have this in my fstab:
| 
| /jail/base   /jail/spl/nejcspl   unionfs rw,noatime,below 0   0
| 
| (noatime option is completely optional, of course.)
| 
| But, if I were you, I would update the RELEASE to STABLE. This will also fix

| some bugs in unionfs. However at least some other bugs still aren't fixed in 
7-STABLE
| to this day (most notably the socket bug, which prevents mysql from running 
in a jail
| and writing socket file to /tmp/mysql.sock), so we had to MFC the patch from
| HEAD manually. If you need the patch, let me know.
| 
| However, I don't suggest running jails on top of unionfs where you need

| decent stability (i.e. in production). I am writing thesis at the moment which
| also covers this topic. We also stumbled upon these issues:
| 
| - socket file bug, mentioned before, still present in 7-STABLE, no ideas

|   when it will be MFCed;
| 
| - "mv" bug (see freebsd-fs archives for August 2008, me and my friend posted

|   a few posts there) which causes troubles when moving directories (files
|   would appear as gone and then reappear again) which exist or don't exist
|   on lower and upper levels;
| 
| - another "mv" bug which I discovered yesterday and seems to be very strange

|   and hard to replay - I didn't even mess with the lower level, it seems that
|   also just the upper layer can behave strangely sometimes (erros like
|   "mv: invalid argument" when simply trying to move a big (>10 GB) directory -
|   the error was gone after I restarted the jail (i.e. also remounting the
|   unionfs);
| 
| - strange behaviour of some applications (apache in my case) not "seeing" the

|   lower layer (/etc/hosts most notably) - we had to do "touch" (and then copy
|   to all jails on change) on files we _really_ need to be visible. However,
|   after we "fscked" our partition with unionfs directories, we weren't able
|   to reproduce this error;
| 
| - UFS filesystem would get to inconsistent state (we don't know exactly when)

|   so some commands would behave strangely and fsck (see above) is needed in
|   single user mode;
| 
| - _most notably_: there hasn't been a single reply to our unionfs related

|   problem reports and posts to freebsd-fs list. So I guess that people who
|   are in charge for unionfs in FreeBSD aren't really responsive and that
|   the future of unionfs in FreeBSD isn't really bright. It's a pity, though,
|   since this is a very useful feature, especially for jailed systems. However,
|   hope remains, that things will be fixed at least in 8.0 if not in 7.1.

I think the problem is not so much lack of interest amongst available people,
as lack of available people interested in work on that bit of filesystem code.
Problems with unionfs and generally with VFS related stuff have been around for 
quite some time.


| So, you can see that there are (still) many issues with unionfs on FreeBSD.
| Please let me know if you are able to solve your problem. Or else we can make
| this list a little longer. :)

Having just gone through an attempt to set up a series of jails using unionfs
layering, here's another annoyance.  What I wanted to do was have a 'basejail'
+ unionfs overlay setup, but with various directories (/home, /usr/ports, 
/usr/src,
and so forth) shared (ie. nullfs mounted) between all the jails and the base
system.  However an fstab.jails.jail0 like this:

/jails/basejail /jails/jail0 unionfs 
rw,noatime,below,copymode=transparent,whiteout=whenneeded  0  0
/usr/ports  /jails/jail0/usr/ports  nulls   rw 0  0

fails to work saying 'no such file or directory: /jails/jail0/usr/ports'
irrespective of the existence of that directory in either layer of the unionfs.
Seems it's impossible to have a nullfs mountpoint on top of a unionfs 
filesystem.


At least, that's as far as I got when playing with this: press of time led
me to implement a work around.  If anyone knows how to get such a setup working
as I originally intended I'd be very glad of a pointer to any documentation.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3

~  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
~  Kent, CT11 9PW, UK
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0

Re: sound card and freebsd v7.0

2008-09-26 Thread Michael Powell
jonathan michaels wrote:

> greetings, freebsd-questions,
> 
> i recently got a handme-down box, some sort of hp desktop machine ? not
> sure what it is called, the source was more or less vague about its
> name/configuration ??? i put in a freebsd v7 cd and these bit fell out,
> 
> after pluging some speakers there was no sound, i suppose ?no driver
> attached"  line explains that one ??
[snip] 
> Sep 26 13:26:46 hostid kernel: pci0:  at device 4.3 (no driver
> attached) Sep 26 13:26:46 hostid kernel: csa0:
>  mem
> 0xf410-0xf4100fff,0xf400-0xf40f irq 10 at device 6.0 on pci0
> Sep 26 13:26:46 hostid kernel: csa: card is Unknown/invalid SSID (CS4614)
> Sep 26 13:26:46 hostid kernel: csa0: [GIANT-LOCKED] Sep 26 13:26:46 hostid
> kernel: csa0: [ITHREAD] Sep 26 13:26:46 hostid kernel: pcm0:  Audio> on csa0 Sep 26 13:26:46 hostid kernel: pcm0:  AC97 Codec> Sep 26 13:26:46 hostid kernel: pcm0: [GIANT-LOCKED] Sep 26
> 13:26:46 hostid kernel: pcm0: [ITHREAD]
> 
[snip]

Theoretically placing snd_csa_load="YES" in /boot/loader.conf should enable
this card. If it is loading OK kldstat will show it and you should get
output from cat /dev/sndstat confirming.

[EMAIL PROTECTED]:0:6:0:class=0x040100 card=0x42801013 chip=0x60031013
rev=0x01 hdr=0x00

is matching the #define CS4614_PCI_ID 0x60031013 in the driver code so it
really ought to work. If it doesn't try not loading the acpi module at
boot. But if HP did something really non standard when they wired this up
you could be SOL.

-Mike
 


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


Re: My unqualified host name

2008-09-26 Thread perryh
> If you look for "My unqualified host name" "unknown; sleeping for
> retry" you will get a lot of possible answers; some suggesting to
> add your unqualified host name in /etc/hosts.

That line is already in /etc/hosts, both with and without a trailing
period.  I still get the ~3 messages about a minute apart during boot.

The first 4 lines of /etc/hosts look like:

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