Re: Total crash in gdb!.. something is broken!.. Was: Re: FreeBSD with a Gigabyte GA-K8NSC?

2006-09-25 Thread Jiawei Ye

On 9/25/06, Johan Ström [EMAIL PROTECTED] wrote:

Fcking great.. Waking up and noting that the box has rebooted it self
during the night... Yay!!... No kernel dumps, nothing in message
log.. Nada... (this was on the first box, that is the one first in
this thread)

What exactly does

kernel dumps on /dev/mirror/gm0s1b

mean? Not that it saves any kernel dumps at least.. But otoh I have
no clue why it crashed at all and if it even did try to dump kernel
or if it just blacked out as when i tried to debug clamd...

--
Johan

It means that the system died and released the sphincter when it did.
If you have dumpdev='AUTO'
dumpdir='/var/crash'
in your rc.conf, then you can find the crash dump in ${dumpdir}, then
you can use kgdb to retrieve the backtrace from the dump.

Jiawei

--
If it looks like a duck, walks like a duck, and quacks like a duck,
then to the end user it's a duck, and end users have made it pretty
clear they want a duck; whether the duck drinks hot chocolate or
coffee is irrelevant.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Polling and em0

2006-09-16 Thread Jiawei Ye

On 9/17/06, Bill Blue [EMAIL PROTECTED] wrote:

polling(4) says that supported devices include em(4) and that polling support 
is turned on and off with ifconfig's 'polling' option.  But ifconfig doesn't 
seem to recognize that option either as a standalone request or with the 
initial em0 setup at boot.

This is after a source cvsup (releng=6 for the frozen for 6.2 sources) 
yesterday and buildworld + buildkernel.  em support is compiled in the kernel 
rather than loaded.  Mobo is a Supermicro P4SCT-0 with Intel 875 chipset.

Is this a known issue that I haven't found references to, or perhaps something 
related to my specific configuration?


You need polling support in the kernel, you can look at NOTES for
POLLING option.

Cheers,

Jiawei Ye
--
If it looks like a duck, walks like a duck, and quacks like a duck,
then to the end user it's a duck, and end users have made it pretty
clear they want a duck; whether the duck drinks hot chocolate or
coffee is irrelevant.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: linux-oracle-instantclient-sqlplus-10.2.0.2.20060331

2006-08-29 Thread Jiawei Ye

On 8/29/06, Stefan Lambrev [EMAIL PROTECTED] wrote:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/compat/linux/usr/lib/oracle/10.2.0.2.20060331/client/lib

/compat/linux/usr/lib/oracle/10.2.0.2.20060331/client/bin/sqlplus /nolog

I am running it off a -current system with the following command:
LD_LIBRARY_PATH=/compat/linux/usr/lib/oracle/10.2.0.2.20060331/client/lib
/compat/linux/usr/bin/sqlplus


but it just freezes. Friend of mine told me that he have no problems
with FreeBSD 5.4(i386)

P.S. oracle instant client does not depend on any linux_base, which was
little strange for me, but just for info
I have installed latest linux_base_fc4.

Thanks in advance.

--
Best Wishes,
Stefan Lambrev

--
Without the userland, the kernel is useless.
  --inspired by The Tao of Programming
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TOP shows above 100% WCPU usage

2006-08-23 Thread Jiawei Ye

On 8/23/06, Kip Macy [EMAIL PROTECTED] wrote:

I've seen with libthr. What libraries are you using?

  -Kip

libthr :)

Jiawei
--
Without the userland, the kernel is useless.
  --inspired by The Tao of Programming
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TOP shows above 100% WCPU usage

2006-08-21 Thread Jiawei Ye

On 8/16/06, Dan Nelson [EMAIL PROTECTED] wrote:

 How can mysql use 160%? Is this a reporting bug in top because mysql is
 threaded?

You have multiple CPUs, so a threaded process can theoretically reach
100*ncpus cpu usage.

--
Dan Nelson
[EMAIL PROTECTED]

I am seeing this on a UP system too.

last pid: 35355;  load averages:  0.36,  0.08,  0.03up 1+12:11:39  12:20:56
205 processes: 3 running, 202 sleeping
CPU states: 97.8% user,  0.0% nice,  1.5% system,  0.0% interrupt,  0.7% idle
Mem: 122M Active, 52M Inact, 59M Wired, 7808K Cache, 34M Buf, 524K Free
Swap: 1024M Total, 40M Used, 984M Free, 3% Inuse

 PID USERNAME  THR PRI NICE   SIZERES STATETIME   WCPU COMMAND
35343 www22   40   275M 64620K accept   0:21 271.92% java
 767 jabber  1  910  8836K  1284K select   7:07  0.00% perl5.8.8
 875 pgsql   1  910 19880K  1748K select   0:20  0.00% postgres
 840 vscan   1   40 22892K 18304K accept   0:17  0.00% clamd
4733 www27   40 17428K  3268K kqread   0:10  0.00% httpd

--
Without the userland, the kernel is useless.
  --inspired by The Tao of Programming
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Monitoring temperature with acpi (sysctls)

2006-07-26 Thread Jiawei Ye

On 7/27/06, Mike Jakubik [EMAIL PROTECTED] wrote:

I don't want to spend $50 extra per system, just so i can read the
temperature, and not even use any of the IPMI functions. I need a simple
and scriptable way to get the values, acpi sysctls are ideal for this.

What about using SMBus? Is it available on your system? xmbmon reads
temperatures off the SMBus IIRC.

Jiawei Ye

--
Without the userland, the kernel is useless.
  --inspired by The Tao of Programming
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HEADS UP! 6.0-RELEASE coming

2005-10-30 Thread Jiawei Ye
On 10/30/05, Bryan Fullerton [EMAIL PROTECTED] wrote:
  I have raised this issue in the past, but no one responded.

 Did you submit a PR?

 Bryan
No I didn't. There was no response so I figured maybe I was the only
one affected.

Jiawei

--
Without the userland, the kernel is useless.
   --inspired by The Tao of Programming
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HEADS UP! 6.0-RELEASE coming

2005-10-29 Thread Jiawei Ye
On 10/29/05, Jung-uk Kim [EMAIL PROTECTED] wrote:
  Was that working X11 X.Org or XFree86? Older releases contains
  XFree86 and 6.0 contains X.Org. You can find both as a FreeBSD port
  under x11-servers category. Give XFree86 a try, maybe it is better
  for You.

 Or xorg-server-snap, maybe...

 Jung-uk Kim
The problem is in sis.ko. Delete this file (disabling dri/drm only in
xorg.conf is not useful), and Xorg will work again.
I have raised this issue in the past, but no one responded.

Jiawei

--
Without the userland, the kernel is useless.
   --inspired by The Tao of Programming
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone has a 5.4-RELEASE SMP SCHED_ULE in production ?

2005-09-14 Thread Jiawei Ye
On 9/15/05, Mariano Benedettini [EMAIL PROTECTED] wrote:
 I have a dual Xeon running 5.3-RELEASE SMP, which I plan to upgrade to
 5.4, enabling SCHED_ULE.
 Who's running a 5.4 SMP in a production environment, using SCHED_ULE ?
 Is the performance significant better ?
 
 Thanks in advance,
 Mariano.
I suggest you wait for 6.0 RELEASE and upgrade to that version. Some
problems wrt ule+libpthread+smp were fixed in 6.0, but I am not sure
if the changes were merged to 5.4.

Jiawei
-- 
Without the userland, the kernel is useless.
   --inspired by The Tao of Programming
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: smbfs

2005-06-29 Thread Jiawei Ye
On 6/29/05, Maxim Kizik [EMAIL PROTECTED] wrote:
 Good Afternoon.
 
 
 After upgrading my system from FreeBSD 4.10 to FreeBSD 5.3, I found
 mount_smbfs -N broken. The error message is mount_smbfs: unable to
 open connection: syserr = Authentication error.
 However, the keyboard interactive password works normally.
 
 The problem still persists in 5.4p2.
 I need this feature strongly because of running automatic backup procedures.
 Is there any solution?
 
 
 
 --
 Maxim Kizik
Could you please try /usr/sbin/mount_smbfs -N and if that works, you
need to remove the old mount_smbfs binary from your system.

Cheers,

Jiawei

-- 
Without the userland, the kernel is useless.
   --inspired by The Tao of Programming
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portinstall .vs. make install clean

2005-06-26 Thread Jiawei Ye
On 6/27/05, Dominic Marks [EMAIL PROTECTED] wrote:
 On Sunday 26 June 2005 19:32, Sergey Spivak wrote:
  Hi!
 
   portinstall is a ruby program which comes with portupgrade
 
  portinstall = portupgrade -N
 
 Oh. Makes me wonder why 'portinstall' exists at all.
 
 --
 Dominic
It is a bit more intuitive than portupgrade -N IMO.

Jiawei Ye
-- 
Without the userland, the kernel is useless.
   --inspired by The Tao of Programming
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD MySQL still WAY slower than Linux

2005-06-11 Thread Jiawei Ye
On 6/11/05, Robert Watson [EMAIL PROTECTED] wrote:
   I think there's a compile-time option to make libpthread use system scope
   threads but the details ellude me.  The Linuxthreads library may well
   provide a substantial improvement -- not as good for MySQL as the 6.x
   libthr, but perhaps much more appropriate than libpthread.
It is a sysctl in -current kern.threads.thr_scope, it had a
different name under 5-stable but does the same thing I think.

Jiawei
-- 
Without the userland, the kernel is useless.
   --inspired by The Tao of Programming
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: man 4 ar on 5.4

2005-06-10 Thread Jiawei Ye
On 6/10/05, Artem Kuchin [EMAIL PROTECTED] wrote:
 See
 
 man 4 ar
 
 I think it is fully outdated, bease ar is an RAID storage
 device, as i see when i use Promise TX2000
 
 Artem
ATA(4) FreeBSD Kernel Interfaces Manual ATA(4)

NAME
 ata, ar, acd, ad, afd, ast -- generic ATA/ATAPI disk controller driver


Nevertheless I think it is indeed confusing to have duplicate names
for different devices.

Jiawei
-- 
Without the userland, the kernel is useless.
   --inspired by The Tao of Programming
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What to use to get remote display from a amd64 machine?

2005-06-06 Thread Jiawei Ye
On 6/7/05, Daniel O'Connor [EMAIL PROTECTED] wrote:
 That works here.
 
 I tried net/vnc but starting up give..
 [foo64 2:25] /usr/ports/net/vnc Xvnc :1
 Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
 Getting interface configuration (4): Device not configured
--SNIP--
 failed to set default font path
 '/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/'
 Fatal server error:
 could not open default font 'fixed'
 
 And I don't know why since Xorg works fine..
 
 Personally I'd use X forwarding to run X apps on such a machine though.
 
 --
 Daniel O'Connor software and network engineer
VNC has it's own startup script and hard coded fontpath. You need to
manually edit them. It does not read Xorg/XFree86 config files :(

Jiawei
-- 
Without the userland, the kernel is useless.
   --inspired by The Tao of Programming
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]