Re: Getting around WRITE_DMA errors

2006-01-14 Thread Markus Trippelsdorf
On Sat, 14 Jan 2006 13:26:11 -0800, Sebastian wrote:
> Hi,
> Installing 6.0-RELEASE on a new machine. (Have tried 5.4 too). Using a 
> PCChips M848ALU motherboard with onboard SiS
> IDE controller, and a Hitachi 160gb disk.
> 
> When my disk is in UDMA6 (133) mode, FreeBSD dies painfully with many 
> errors like:
> 
>  ad0: WARNING -  WRITE_DMA48 UDMA ICRC error (retrying request) 
> LBA=31613
>  ad0: WARNING -  WRITE_DMA48 UDMA ICRC error (retrying request) 
> LBA=31613
>  ad0: FAILURE -  WRITE_DMA48 status=51(READY,DSC,ERROR) 
> error=4(ABORTED) LBA=31613
> 
> It then panics and dumps:
> 
>  panic: initiate_write_inodeblock_ufs2: already started
> 
Are you sure that your hard drive is not dying? 
Run smartctl -a /dev/ad0 and see if any errors were being logged.
(smartctl is part of the smartmontools port)
You should also try another cable.

-- 
Markus

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


Re: runtime error (libm.so.3)

2006-01-10 Thread Markus Trippelsdorf
On Tue, 10 Jan 2006 14:44:33 -0500, Larry wrote:
> 
> 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 31 03:17:27 EST 2005...i386
> 
> When I try to run a certain program that I can compile and link without any
> warnings or errors I get the following error message:
> 
> /libexec/ld-elf.so.1: Shared object "libm.so.3" not found, required by 
> "libGL.so.1"
> 

It looks like your X Server was build and linked under 5.x.
Rebuilding xorg should help...
-- 
Markus

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


Re: Pango port broken

2005-12-21 Thread Markus Trippelsdorf
On 2005-12-22, Laurence Sanford <[EMAIL PROTECTED]> wrote:
> When compiling pango, (/ports/x11-toolkits/pango) I recieve the 
> following error:

> gnome-libtool: link: CURRENT `1001' is not a nonnegative integer
> gnome-libtool: link: `1001:1:1001' is not valid version information
> gmake[4]: *** [libpango-1.0.la] Error 1

> Any recommendations?

portupgrade "libtool-1.5*"

-- 
Markus

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


Re: Patching a port

2005-12-15 Thread Markus Trippelsdorf
On 2005-12-16, Ian Moore <[EMAIL PROTECTED]> wrote:
> I'm having some trouble with the www/sarg port. The writer has sent me a=20
> couple of .patch files to apply and I'm wondering if there's some way to=20
> apply those patches and still use the ports system to build & install the=20
> port.
> I know the source code installs stuff in places that aren't the standard FB=
> SD=20
> locations - I assume they are the norm for Linux. The port fixes that and=20
> puts stuff where we expect it to be.
> It would make life easier if I could apply the patches and then build the p=
> ort=20
make patch 
-apply your patches-
make install clean
-- 
Markus

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


Re: so much clock interrupts?!

2005-11-24 Thread Markus Trippelsdorf
On Thu, Nov 24, 2005 at 03:43:59PM -0500, Kris Kennaway wrote:
> On Thu, Nov 24, 2005 at 07:40:40AM +0000, Markus Trippelsdorf wrote:
> > On 2005-11-24, Wojciech Puchar <[EMAIL PROTECTED]> wrote:
> > > that's what i see in systat with FreeBSD 6.0/i386-SMP
> > >
> > >
> > >540  534   99   pdwak  2000 
> > > cpu0: time
> > >  16825 pdpgs  2000 
> > > cpu1: time
> > >
> > >
> > > on FreeBSD 5.3 live CD i have 100 not 2000 times per second
> > >
> > > isn't it too much?!
> > 
> > Yes it is.
> > That's why I have kern.hz="100" in my /boot/loader.conf .
> 
> Have you been able to measure a performance benefit from reducing it?
> Have you shown that reducing it does not cause your performance to
> *drop*?  It was increased for a reason..it actually increases
> performance on some workloads.
> 
Yes, I guess it increases performance on a high throughput webserver or
router that uses polling. 
But on the Desktop it only increases the overhead without any benefits
at all. 2000 interrupts per second per core for the timer is a 
ridiculous high number and I reduce it simply for aesthetic reasons.
This may be a religious issue and everyone should use what he or she
seems fitting.
-- 
Markus 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: so much clock interrupts?!

2005-11-24 Thread Markus Trippelsdorf
On 2005-11-24, Wojciech Puchar <[EMAIL PROTECTED]> wrote:
>>>
>>> on FreeBSD 5.3 live CD i have 100 not 2000 times per second
>>>
>>> isn't it too much?!
>>
>> Yes it is.
>> That's why I have kern.hz="100" in my /boot/loader.conf .
>> --
>
> do you know why they set it too high in 6.0? there must be a reason!

Check:
http://groups.google.com/group/lucky.freebsd.cvs.all/browse_frm/thread/98c80113071ff35d/c37992b8ceab7de8?tvc=1&q=cvs+commit%3A+src%2Fsys%2Famd64%2Famd64+cpu_switch.S+machdep.c#c37992b8ceab7de8

for a in-depth discussion. 
-- 
Markus

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


Re: so much clock interrupts?!

2005-11-23 Thread Markus Trippelsdorf
On 2005-11-24, Wojciech Puchar <[EMAIL PROTECTED]> wrote:
> that's what i see in systat with FreeBSD 6.0/i386-SMP
>
>
>540  534   99   pdwak  2000 cpu0: 
> time
>  16825 pdpgs  2000 cpu1: 
> time
>
>
> on FreeBSD 5.3 live CD i have 100 not 2000 times per second
>
> isn't it too much?!

Yes it is.
That's why I have kern.hz="100" in my /boot/loader.conf .
-- 
Markus

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


Fan control software

2005-07-24 Thread Markus Trippelsdorf
Is there any software available, that can control the fans of my system,
like the lm-sensors package for Linux? I can read out the fan speeds and
temperatures of my motherboard with consolehm, but what I actually would
like to do is to vary the fan speeds depending on the measured
temperatures.
-- 
Markus
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cups parallel backend hang up

2005-07-21 Thread Markus Trippelsdorf
On Thu, Jul 21, 2005 at 02:51:41PM +0200, Géczi Szabolcs wrote:
> hi there,
> 
> i just recently installed cups, and i've tried to setup the printer.
> but, anytime i start the cups the parallel backend hang up and cups 
> stops startin' up.
> 
> any idea?

You could switch to polled mode:
lptcontrol -p -d /dev/lpt0
--
Markus
___
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 play APE music on freebsd

2005-07-21 Thread Markus Trippelsdorf
On Thu, 21 Jul 2005 15:49:20 +0800, you wrote:

> I use port to install mplayer, but it can not play APE music, who can
> tell me how to play APE music on freebsd 5.4. I really like APE music.
> 
If you search the web you would find a Linux binary called 'mac'. (I will
send you a copy to your gmail address). You can run it in FreeBSD if you
have COMPAT_LINUX32 enabled in your kernel. I use a simple shell script to
listen to APE files:
#!/bin/sh
mac "$1" - -d | waveplay -s

-- 
Markus


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